/*** Spinner Start ***/
/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
/* ============================= */
/* Theming: dark/light variables */
/* ============================= */
:root[data-theme="dark"] {
    --gradient-primary: linear-gradient(90deg, #0891b2 0%, #155e75 100%);
    --gradient-secondary: linear-gradient(90deg, #1b2732 0%, #17303B 100%);
    --gradient-surface: linear-gradient(180deg, #181c22 0%, #23272f 100%);
    --gradient-panel: linear-gradient(180deg, #212833 0%, #2a313b 100%);
    --gradient-footer: linear-gradient(180deg, #141a21 0%, #1a2129 100%);
    --gradient-deep: linear-gradient(90deg, #0f1318 0%, #121820 100%);
    --surface-100: #1b2027;
    --surface-200: #232a33;
    --text-100: #f5f5f5;
    --text-200: #e0e0e0;
    --accent-100: #0891b2;
    --border-100: #333a45;
    /* Glass */
    --glass-bg: rgba(24, 28, 34, 0.60);
    --glass-border: rgba(255, 255, 255, 0.08);
}

:root[data-theme="light"] {
    --gradient-primary: linear-gradient(135deg, #0891b2 0%, #0e7490 25%, #155e75 50%, #164e63 75%, #083344 100%);
    --gradient-secondary: linear-gradient(135deg, #ecfeff 0%, #cffafe 50%, #a5f3fc 100%);
    --gradient-surface: linear-gradient(135deg, #cffafe 0%, #a5f3fc 25%, #67e8f9 50%, #22d3ee 75%, #06b6d4 100%);
    --gradient-panel: linear-gradient(135deg, #ffffff 0%, #ecfeff 50%, #cffafe 100%);
    --gradient-footer: linear-gradient(135deg, #22d3ee 0%, #06b6d4 50%, #0891b2 100%);
    --gradient-deep: linear-gradient(135deg, #a5f3fc 0%, #67e8f9 50%, #22d3ee 100%);
    --gradient-green: linear-gradient(135deg, #2dd4bf 0%, #14b8a6 50%, #0891b2 100%);
    --gradient-teal: linear-gradient(135deg, #0891b2 0%, #14b8a6 50%, #2dd4bf 100%);
    --surface-100: #ffffff;
    --surface-200: #212529;
    --text-100: #111111;
    --text-200: #1a1a1a;
    --accent-100: #0891b2;
    --border-100: #67e8f9;
    --icon-green: #22c55e;
    /* Enhanced Glass with blur and backdrop */
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-bg-strong: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(8, 145, 178, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(6, 182, 212, 0.15);
}

html[data-theme="dark"] body { background: var(--gradient-surface); color: var(--text-200); }
html[data-theme="light"] body { 
    background: linear-gradient(135deg, #ecfeff 0%, #cffafe 20%, #a5f3fc 40%, #67e8f9 60%, #22d3ee 80%, #06b6d4 100%);
    background-attachment: fixed;
    min-height: 100vh;
    color: var(--text-200); 
}

/* Global dark overrides for Bootstrap utilities */
html[data-theme="dark"] .bg-primary { background: var(--gradient-primary) !important; }
html[data-theme="dark"] .bg-secondary { background: var(--gradient-secondary) !important; }
html[data-theme="dark"] .bg-light { background: var(--gradient-panel) !important; }
html[data-theme="dark"] .bg-white { background: var(--gradient-panel) !important; }
html[data-theme="dark"] .bg-dark { background: var(--gradient-surface) !important; }
html[data-theme="dark"] .text-dark, html[data-theme="dark"] .text-body { color: var(--text-200) !important; }
html[data-theme="dark"] .text-muted { color: #a9b3bf !important; }
html[data-theme="dark"] .topbar .text-dark, html[data-theme="dark"] .topbar .text-muted { color: var(--text-200) !important; }

/* Topbar gradient for light theme */
html[data-theme="light"] .topbar.bg-light {
    background: linear-gradient(135deg, #22d3ee 0%, #06b6d4 50%, #0891b2 100%) !important;
}
html[data-theme="light"] .topbar * {
    color: #ffffff !important;
}
/* Keep icons green in topbar */
html[data-theme="light"] .topbar i,
html[data-theme="light"] .topbar .fa,
html[data-theme="light"] .topbar .fas,
html[data-theme="light"] .topbar .fab {
    background: none !important;
    background-clip: initial !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    color: inherit !important;
}

/* Sticky navbar visibility fixes */

/* Light theme gradient overrides */
html[data-theme="light"] .bg-primary { background: var(--gradient-primary) !important; }
html[data-theme="light"] .bg-secondary { background: var(--gradient-secondary) !important; }
html[data-theme="light"] .bg-light { background: var(--gradient-panel) !important; }
html[data-theme="light"] .bg-white { background: linear-gradient(135deg, #ffffff 0%, #f5fbff 100%) !important; }
html[data-theme="light"] .bg-dark { background: var(--gradient-deep) !important; }

/* Sticky navbar link visibility per theme */
html[data-theme="dark"] .sticky-top.navbar-light .navbar-nav .nav-link,
html[data-theme="dark"] .sticky-top.navbar-light .navbar-nav .nav-item .nav-link { color: var(--text-200) !important; }
html[data-theme="light"] .sticky-top.navbar-light .navbar-nav .nav-link,
html[data-theme="light"] .sticky-top.navbar-light .navbar-nav .nav-item .nav-link { color: var(--bs-dark) !important; }

/* Enhanced Glass navbar with premium frosted effect */
.sticky-top.navbar-light {
    background: rgba(255, 255, 255, 0.35) !important;
    -webkit-backdrop-filter: saturate(200%) blur(30px);
    backdrop-filter: saturate(200%) blur(30px);
    border-bottom: 2px solid rgba(8,145,178,0.3);
    box-shadow: 0 8px 32px rgba(8, 145, 178, 0.15), 
                0 4px 16px rgba(31, 38, 135, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

/* Stronger glassmorphism when navbar is floating/scrolled */
.sticky-top.navbar-light.sticky {
    background: rgba(255, 255, 255, 0.25) !important;
    -webkit-backdrop-filter: saturate(220%) blur(35px) brightness(1.1);
    backdrop-filter: saturate(220%) blur(35px) brightness(1.1);
    border-bottom: 2px solid rgba(8,145,178,0.4);
    box-shadow: 0 12px 40px rgba(8, 145, 178, 0.25), 
                0 8px 24px rgba(31, 38, 135, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

@media (min-width: 992px) {
    .navbar-light { 
        border-bottom: 2px solid rgba(8,145,178,0.3);
        box-shadow: 0 8px 32px rgba(8, 145, 178, 0.15),
                    0 4px 16px rgba(31, 38, 135, 0.1),
                    inset 0 1px 0 rgba(255, 255, 255, 0.5);
    }
}
.navbar-light {
    background: rgba(255, 255, 255, 0.35) !important;
    -webkit-backdrop-filter: saturate(200%) blur(30px);
    backdrop-filter: saturate(200%) blur(30px);
    border-bottom: 2px solid rgba(8,145,178,0.3);
    box-shadow: 0 8px 32px rgba(8, 145, 178, 0.15),
                0 4px 16px rgba(31, 38, 135, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}
@media (max-width: 991.98px) {
    .navbar-light .navbar-collapse.show,
    .navbar-light .navbar-collapse.collapsing {
        background: rgba(255, 255, 255, 0.4) !important;
        -webkit-backdrop-filter: saturate(200%) blur(25px);
        backdrop-filter: saturate(200%) blur(25px);
        border: 2px solid rgba(8,145,178,0.35);
        border-radius: 12px;
        padding: 12px;
        box-shadow: 0 8px 24px rgba(8, 145, 178, 0.25),
                    inset 0 1px 0 rgba(255, 255, 255, 0.5);
    }
}

/* Smooth scrolling */
html { scroll-behavior: smooth; }

/* Heading color override */
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    color: #0891b2 !important;
}

/* Blue-Green Gradient Loading Spinner */
.spinner-gradient {
    display: inline-block;
    border: none !important;
    width: 3rem; /* can be overridden inline */
    height: 3rem; /* can be overridden inline */
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        #0891b2 0%,
        #14b8a6 25%,
        #2dd4bf 50%,
        #06b6d4 75%,
        #0891b2 100%
    );
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 0.28rem), #000 0);
            mask: radial-gradient(farthest-side, transparent calc(100% - 0.28rem), #000 0);
    animation: spinner-rotate 0.75s linear infinite;
}

@keyframes spinner-rotate {
    to { transform: rotate(360deg); }
}

/* Gradient Text and Icon Effects */
.text-primary,
h1.text-primary,
h2.text-primary,
h3.text-primary,
h4.text-primary,
h5.text-primary,
h6.text-primary {
    color: #0891b2 !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: #0891b2 !important;
    background-clip: initial !important;
    font-weight: 700 !important;
}

/* Gradient icons */
.fas.text-primary,
.fab.text-primary,
.fa.text-primary,
i.text-primary,
[class*="fa-"].text-primary {
    color: #0891b2 !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: #0891b2 !important;
    background-clip: initial !important;
}

/* Global: reset icon styles to default color (no gradients) */
:where(i, .fa, .fas, .fab, .bi, [class*="fa-"], [class*="bi-"]):not(.text-primary):not(.text-white):not(.text-light) {
    background: none !important;
    background-clip: initial !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    color: inherit !important;
}
/* Preserve explicit white/light icons where used */
:where(i, .fa, .fas, .fab, .bi, [class*="fa-"], [class*="bi-"]).text-white,
:where(i, .fa, .fas, .fab, .bi, [class*="fa-"], [class*="bi-"]).text-light {
    -webkit-text-fill-color: #ffffff !important;
    color: #ffffff !important;
}
/* Ensure icons with .text-primary use the primary color (non-gradient) */
i.text-primary,
.fa.text-primary,
.fas.text-primary,
.fab.text-primary,
.bi.text-primary,
[class*="fa-"].text-primary,
[class*="bi-"].text-primary {
    -webkit-text-fill-color: #0891b2 !important;
    color: #0891b2 !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
}

/* Force green icons in navbar and hero as requested */
.navbar i, .navbar .fa, .navbar .fas, .navbar .fab,
.hero-header i, .hero-header .fa, .hero-header .fas, .hero-header .fab {
    background: none !important;
    background-clip: initial !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    color: inherit !important;
}

/* Headings with gradient */
h1, h2, h3, h4, h5, h6 {
    position: relative;
}

.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    background: linear-gradient(135deg, #155e75 0%, #0891b2 50%, #2dd4bf 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

/* Links with gradient on hover */
a:not(.btn):hover {
    background: var(--gradient-teal);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

a.text-primary,
a.text-primary:hover {
    background: var(--gradient-teal) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* Animated gradient effect */
@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.animated-gradient {
    .floating-whatsapp {
        position: fixed;
        right: 18px;
        bottom: 90px; /* sits above back-to-top */
        z-index: 1040;
        width: 52px;
        height: 52px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
        /* floating WhatsApp styles removed */
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
}

/* Icon boxes and feature icons gradient */
.feature-icon,
.service-icon,
.about-icon {
    background: var(--gradient-teal) !important;
}

/* Bootstrap primary color override with gradient */
.bg-primary {
    background: var(--gradient-primary) !important;
}

.text-primary {
    color: #0891b2 !important;
}

/* Section gradient backgrounds for light theme */
html[data-theme="light"] .container-fluid {
    background: transparent;
}
html[data-theme="light"] .header-carousel {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 50%, #90caf9 100%) !important;
}
html[data-theme="light"] .about {
    background: linear-gradient(135deg, #bbdefb 0%, #90caf9 50%, #64b5f6 100%) !important;
}
html[data-theme="light"] .service {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 50%, #90caf9 100%) !important;
}
html[data-theme="light"] .feature {
    background: linear-gradient(135deg, #90caf9 0%, #64b5f6 50%, #42a5f5 100%) !important;
}
html[data-theme="light"] .offer-section {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 50%, #90caf9 100%) !important;
}
html[data-theme="light"] .blog {
    background: linear-gradient(135deg, #64b5f6 0%, #42a5f5 50%, #2196f3 100%) !important;
}
html[data-theme="light"] .faq-section {
    background: linear-gradient(135deg, #bbdefb 0%, #90caf9 50%, #64b5f6 100%) !important;
}
html[data-theme="light"] .team {
    background: linear-gradient(135deg, #90caf9 0%, #64b5f6 50%, #42a5f5 100%) !important;
}
html[data-theme="light"] .testimonial {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 50%, #90caf9 100%) !important;
}
html[data-theme="light"] .footer {
    background: linear-gradient(135deg, #42a5f5 0%, #2196f3 50%, #1976d2 100%) !important;
}
html[data-theme="light"] .copyright {
    background: linear-gradient(135deg, #155e75 0%, #0d47a1 50%, #01579b 100%) !important;
    color: #ffffff !important;
}
html[data-theme="light"] .copyright * {
    color: #ffffff !important;
}

/* Typography contrast */
.about p,
.service p,
.feature p,
.offer-section p,
.blog p,
.team p,
.testimonial p,
.faq-section p,
footer p { color: var(--text-200); }
html[data-theme="light"] .about h1,
html[data-theme="light"] .about h2,
html[data-theme="light"] .about h3,
html[data-theme="light"] .about h4,
html[data-theme="light"] .about p { color: var(--text-200); }

/* WOW animation polish */
.wow { animation-duration: .8s; animation-timing-function: cubic-bezier(0.22,1,0.36,1); }

/* Glass for cards and panels */
.service .service-item,
.feature .feature-item,
.blog .blog-item,
.offer-section .nav a.accordion-link {
    background: var(--glass-bg) !important;
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    backdrop-filter: saturate(140%) blur(10px);
    border: 1px solid var(--glass-border);
}
.feature .feature-item .feature-icon {
    background: var(--glass-bg) !important;
    border: 1px solid var(--glass-border);
}
.team .team-item::before,
.testimonial .testimonial-item::before {
    background: var(--glass-bg) !important;
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    backdrop-filter: saturate(140%) blur(10px);
    border: 1px solid var(--glass-border);
}
/* Light theme: chip hover stays light */
html[data-theme="light"] .team .team-item:hover .team-icon a:hover {
    background: #f1f3f5 !important;
    color: var(--bs-primary) !important;
}

/* Buttons: blue-green gradient background with white text - NO TRANSPARENCY */
html[data-theme="dark"] .btn.btn-primary,
html[data-theme="dark"] .btn.btn-light {
    background: linear-gradient(135deg, #0891b2 0%, #14b8a6 50%, #2dd4bf 100%) !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(8, 145, 178, 0.3);
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    opacity: 1 !important;
}
html[data-theme="light"] .btn.btn-primary,
html[data-theme="light"] .btn.btn-light {
    background: linear-gradient(135deg, #0891b2 0%, #14b8a6 50%, #2dd4bf 100%) !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(8, 145, 178, 0.3);
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    opacity: 1 !important;
}
.btn.btn-primary:hover, .btn.btn-primary:focus,
.btn.btn-light:hover, .btn.btn-light:focus {
    background: linear-gradient(135deg, #2dd4bf 0%, #14b8a6 50%, #0891b2 100%) !important;
    color: #ffffff !important;
    border: none !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(8, 145, 178, 0.5);
    opacity: 1 !important;
}

    visibility: visible;
    opacity: 1;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 99;
    background: linear-gradient(135deg, #0891b2 0%, #14b8a6 50%, #2dd4bf 100%) !important;
    color: #ffffff !important;
    border: none;
    box-shadow: 0 4px 20px rgba(8, 145, 178, 0.4);
}

.back-to-top i {
    color: #ffffff !important;
}

.back-to-top:hover {
    background: linear-gradient(135deg, #2dd4bf 0%, #14b8a6 50%, #0891b2 100%) !important;
    color: #2dd4bf !important;
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(33,123,212,0.5);
    border-color: rgba(43,143,230,0.9);
}

.back-to-top:hover i {
    color: #2dd4bf !important;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-xl-square {
    width: 66px;
    height: 66px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary {
    color: #ffffff !important;
    background: linear-gradient(135deg, #0891b2 0%, #14b8a6 50%, #2dd4bf 100%) !important;
    border: none !important;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(8, 145, 178, 0.3);
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    opacity: 1 !important;
}

.btn.btn-primary:hover {
    background: linear-gradient(135deg, #2dd4bf 0%, #14b8a6 50%, #0891b2 100%) !important;
    color: #ffffff !important;
    border: none !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(8, 145, 178, 0.5);
    opacity: 1 !important;
}

.btn.btn-primary i {
    color: #ffffff;
}

.btn.btn-primary:hover i {
    color: #ffffff;
}

.btn.btn-light {
    color: #ffffff !important;
    background: linear-gradient(135deg, #0891b2 0%, #14b8a6 50%, #2dd4bf 100%) !important;
    border: none !important;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(8, 145, 178, 0.3);
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    opacity: 1 !important;
}

.btn.btn-light:hover {
    color: #ffffff !important;
    background: linear-gradient(135deg, #2dd4bf 0%, #14b8a6 50%, #0891b2 100%) !important;
    border: none !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(8, 145, 178, 0.5);
    opacity: 1 !important;
}

.btn.btn-light i {
    color: #0891b2;
}

.btn.btn-light:hover i {
    color: #2dd4bf;
}

/* Global Icon Gradient Styles */
.fas, .fab, .fa, .bi, [class*="fa-"], [class*="bi-"] {
    transition: all 0.3s ease;
}

/* Bootstrap Icons pseudo-elements */
[class^="bi-"]::before, 
[class*=" bi-"]::before {
    display: inline-block;
    font-family: bootstrap-icons !important;
    font-style: normal;
    font-weight: normal !important;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    vertical-align: -.125em;
    color: #0891b2;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Social media icons with gradient */
.btn-md-square i,
.btn-sm-square i,
.btn-lg-square i {
    color: #ffffff !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: #ffffff !important;
    background-clip: initial !important;
}

.btn-md-square:hover i,
.btn-sm-square:hover i,
.btn-lg-square:hover i {
    color: #2dd4bf !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: #2dd4bf !important;
    background-clip: initial !important;
    transform: scale(1.2) rotate(10deg);
}

/* About section icons */
.about .fas,
.about .fa {
    color: #0891b2 !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: #0891b2 !important;
    background-clip: initial !important;
}

/* Specific Font Awesome icons color override */
.fa-hand-holding-usd:before,
.fa-hand-holding-usd,
.fa-file-alt:before,
.fa-file-alt,
.fa-university:before,
.fa-university,
.fa-chart-line:before,
.fa-chart-line {
    color: #0891b2 !important;
}

/* Service section icons */
.service i {
    transition: all 0.3s ease;
}

.service .service-item:hover i {
    transform: scale(1.1);
}

/* Topbar icons with gradient */
.topbar .fas,
.topbar .fa {
    background: linear-gradient(135deg, #0891b2 0%, #14b8a6 50%, #2dd4bf 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/*** Topbar Start ***/
.topbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
    color: #0891b2;
}

.topbar .dropdown .dropdown-menu a:hover {
    background: linear-gradient(135deg, #0891b2 0%, #14b8a6 50%, #2dd4bf 100%);
    color: #ffffff;
}

.topbar .dropdown .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: #ffffff;
    padding-top: 11px;
    border: 0;
    transition: .5s;
    opacity: 1;
}

/*** Topbar End ***/



/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
    font-family: 'Roboto', sans-serif;
    position: relative;
    margin-right: 25px;
    padding: 35px 0;
    color: #0891b2;
    font-size: 17px;
    font-weight: 400;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link,
.sticky-top.navbar-light .navbar-nav .nav-item .nav-link {
    padding: 20px 0;
    color: #0891b2;
}

.navbar-light .navbar-nav .nav-item .nav-link {
    color: #0891b2;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-item .nav-link:hover,
.navbar-light .navbar-nav .nav-item .nav-link.active  {
    background: linear-gradient(135deg, #0891b2 0%, #14b8a6 50%, #2dd4bf 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.navbar-brand .row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.navbar-brand .column {
    display: flex;
    align-items: center;
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 45px;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
    color: #0891b2;
}

.dropdown .dropdown-menu a {
    color: #0891b2;
    transition: all 0.3s ease;
}

.dropdown .dropdown-menu a:hover {
    background: linear-gradient(135deg, #0891b2 0%, #14b8a6 50%, #2dd4bf 100%);
    color: #ffffff;
}

.dropdown-item {
    color: #0891b2 !important;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, #0891b2 0%, #14b8a6 50%, #2dd4bf 100%) !important;
    color: #ffffff !important;
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(8, 145, 178, 0.15);
    transition: .5s;
    opacity: 1;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: relative;
        background: var(--bs-white);
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 10px 20px;
        border: 1px solid var(--bs-primary);
        color: var(--bs-primary);
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--bs-dark);
    }

    .navbar-light .navbar-nav .nav-item .nav-link {
        color: var(--bs-dark);
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: .5s;
        opacity: 0;
    }

    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
        z-index: 999;
    }
    
    .sticky-top.navbar-light {
        position: fixed;
        background: rgba(255, 255, 255, 0.35);
        backdrop-filter: saturate(200%) blur(30px);
        -webkit-backdrop-filter: saturate(200%) blur(30px);
        border-bottom: 1px solid rgba(8, 145, 178, 0.2);
        box-shadow: 0 8px 32px 0 rgba(8, 145, 178, 0.15),
                    inset 0 1px 0 0 rgba(255, 255, 255, 0.7);
    }

    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: linear-gradient(135deg, #0891b2 0%, #14b8a6 50%, #2dd4bf 100%);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: calc(100% - 2px);
        left: 1px;
    }

    .navbar-light .navbar-nav .nav-link::after {
        position: absolute;
        content: "";
        width: 0;
        height: 0;
        bottom: -1px;
        left: 50%;
        background: linear-gradient(135deg, #0891b2 0%, #14b8a6 50%, #2dd4bf 100%);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::after,
    .navbar-light .navbar-nav .nav-link.active::after {
        width: 2px;
        height: 12px;
    }
}
/*** Navbar End ***/

/*** New Hero Section Start ***/

.hero-header {
    position: relative;
    padding: 100px 0 80px;
    overflow: hidden;
    background: linear-gradient(135deg, #ecfeff 0%, #cffafe 40%, #a5f3fc 80%, #e0f7fa 100%);
}

.hero-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.35);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
    backdrop-filter: saturate(180%) blur(24px);
    border: 1px solid rgba(8, 145, 178, 0.08);
    box-shadow: 0 8px 32px rgba(8, 145, 178, 0.06);
    z-index: 1;
}

/* SVG abstract pattern overlay for hero background */
.hero-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0.13;
    background: url('data:image/svg+xml;utf8,<svg width="100%25" height="100%25" viewBox="0 0 1440 560" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="0" y="0" width="1440" height="560" fill="white" fill-opacity="0.08"/><circle cx="1200" cy="120" r="160" fill="%23a5f3fc" fill-opacity="0.18"/><circle cx="300" cy="80" r="100" fill="%23cffafe" fill-opacity="0.18"/><rect x="200" y="400" width="1040" height="60" rx="30" fill="%23e0f7fa" fill-opacity="0.13"/></svg>');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.hero-header .container {
    position: relative;
    z-index: 1;
}

/* Owl Carousel tap highlight color override */
.owl-carousel, 
.owl-carousel .owl-item {
    -webkit-tap-highlight-color: rgba(8, 145, 178, 0.3) !important;
}

.testimonial-hero-carousel {
    scroll-snap-type: x mandatory;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 32px;
}

/* Hide scrollbar completely */
.testimonial-hero-carousel::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.testimonial-hero-carousel {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}

.testimonial-hero-carousel .owl-stage-outer {
    overflow: visible !important;
}

.testimonial-hero-carousel .owl-stage-outer::-webkit-scrollbar {
    display: none !important;
}

.testimonial-hero-carousel .testimonial-hero-item {
    scroll-snap-align: center;
    margin: 0 12px;
    display: inline-block;
    vertical-align: top;
    min-width: 380px;
    max-width: 400px;
    height: 380px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.90);
    opacity: 0.7;
    position: relative;
}

/* Center focus: scale and bring to front */
.testimonial-hero-carousel .owl-item.center .testimonial-hero-item {
    transform: none;
    opacity: 1;
    z-index: 10;
}

/* Card sizes - all cards same size */
.testimonial-hero-carousel .testimonial-compact,
.testimonial-hero-carousel .testimonial-medium,
.testimonial-hero-carousel .testimonial-large {
    min-width: 380px;
    max-width: 400px;
    height: 380px;
}

/* Text truncation for excerpts */
.testimonial-excerpt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Read More button styling */
.testimonial-hero-item .btn-outline-primary {
    border: 2px solid #0891b2;
    color: #0891b2;
    transition: all 0.3s ease;
}

.testimonial-hero-item .btn-outline-primary:hover {
    background: linear-gradient(135deg, #0891b2 0%, #2dd4bf 100%);
    border-color: #0891b2;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(8, 145, 178, 0.25);
}

.testimonial-hero-item .btn-outline-primary:hover i {
    transform: translateX(4px);
}

.testimonial-hero-item .btn-primary {
    background: linear-gradient(135deg, #0891b2 0%, #2dd4bf 100%);
    border: none;
    transition: all 0.3s ease;
}

.testimonial-hero-item .btn-primary:hover {
    background: linear-gradient(135deg, #2dd4bf 0%, #0891b2 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(8, 145, 178, 0.3);
}

.testimonial-hero-item .btn-primary:hover i {
    transform: translateX(4px);
}

.testimonial-hero-item .btn i {
    transition: transform 0.3s ease;
}

/* Enhanced card styling */
.testimonial-hero-item .card {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.testimonial-hero-carousel .owl-item.center .testimonial-hero-item .card {
    box-shadow: 0 20px 60px rgba(8, 145, 178, 0.3) !important;
}

.testimonial-hero-item .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(8, 145, 178, 0.2) !important;
}

/* Responsive adjustments for uniform card sizes */
@media (max-width: 768px) {
    .testimonial-hero-carousel .testimonial-hero-item,
    .testimonial-hero-carousel .testimonial-compact,
    .testimonial-hero-carousel .testimonial-medium,
    .testimonial-hero-carousel .testimonial-large {
        min-width: 300px;
        max-width: 340px;
        height: auto;
        min-height: 360px;
    }
}

@media (min-width: 769px) and (max-width: 1199px) {
    .testimonial-hero-carousel .testimonial-hero-item,
    .testimonial-hero-carousel .testimonial-compact,
    .testimonial-hero-carousel .testimonial-medium,
    .testimonial-hero-carousel .testimonial-large {
        min-width: 360px;
        max-width: 380px;
        height: 370px;
    }
}

/* Add a floating icon badge to each card */
.testimonial-hero-item .card .testimonial-badge {
    position: absolute;
    top: -22px;
    right: 24px;
    background: linear-gradient(135deg, #2dd4bf 0%, #0891b2 100%);
    color: #fff;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(8,145,178,0.18);
    font-size: 1.5rem;
    z-index: 3;
    border: 3px solid #fff;
}

/* Add a subtle animated gradient border on hover */
.testimonial-hero-item .card:hover {
    border-image: linear-gradient(135deg, #0891b2, #2dd4bf, #14b8a6, #06b6d4) 1;
    animation: border-glow 1.2s linear infinite;
}

@keyframes border-glow {
    0% { box-shadow: 0 0 0 0 rgba(8,145,178,0.12); }
    50% { box-shadow: 0 0 16px 4px rgba(8,145,178,0.18); }
    100% { box-shadow: 0 0 0 0 rgba(8,145,178,0.12); }
}

/* Smoother carousel navigation arrows */
.testimonial-hero-carousel .owl-nav button {
    background: linear-gradient(135deg, #0891b2 0%, #2dd4bf 100%);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 1.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(8,145,178,0.18);
    transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.2s;
    margin: 0 10px;
    outline: none;
    cursor: pointer;
    position: relative;
    z-index: 1;
}
.testimonial-hero-carousel .owl-nav button:hover {
    background: linear-gradient(135deg, #2dd4bf 0%, #0891b2 100%);
    color: #fff;
    box-shadow: 0 8px 32px rgba(8,145,178,0.28);
    transform: scale(1.08);
}
.testimonial-hero-carousel .owl-nav button:active {
    transform: scale(0.96);
}
.testimonial-hero-carousel .owl-nav button i {
    pointer-events: none;
}

/* Place testimonial carousel nav buttons below the carousel, centered */
.testimonial-hero-carousel .owl-nav {
    position: static !important;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 24px;
    z-index: 1002;
    pointer-events: auto;
    padding: 0;
}
.testimonial-hero-carousel .owl-nav button {
    position: relative;
    margin: 0 16px;
    pointer-events: auto;
}

/*** New Hero Section End ***/

/*** Old Carousel Hero Header Start ***/
.header-carousel .header-carousel-item img {
    object-fit: cover;
}

.header-carousel .header-carousel-item,
.header-carousel .header-carousel-item img {
        height: 700px;
}

/* Section Title Gradients */
.about h1,
.service h1,
.feature h1,
.blog h1,
.team h1,
.testimonial h1,
.contact h1,
.faq-section h1 {
    background: linear-gradient(135deg, #155e75 0%, #0891b2 50%, #2dd4bf 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.about h4,
.service h4,
.feature h4,
.blog h4,
.team h4,
.testimonial h4,
.contact h4,
.faq-section h4 {
    color: #0891b2 !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: #0891b2 !important;
    background-clip: initial !important;
    font-weight: 700;
}

/* Card titles with gradient */
.service-item h5,
.feature-item h5,
.blog-item h5,
.team-item h5,
.testimonial-item h5 {
    background: linear-gradient(135deg, #0891b2 0%, #14b8a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.service-item:hover h5,
.feature-item:hover h5,
.blog-item:hover h5,
.team-item:hover h5,
.testimonial-item:hover h5 {
    background: linear-gradient(135deg, #2dd4bf 0%, #0891b2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 60px;
    background: var(--gradient-teal);
    color: var(--bs-white);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    border: 3px solid rgba(255,255,255,0.3);
    box-shadow: 0 4px 16px rgba(8, 145, 178, 0.3);
}

.header-carousel .owl-nav .owl-prev {
    bottom: 30px;
    left: 30px;
    margin-left: 90px;
}
.header-carousel .owl-nav .owl-next {
    bottom: 30px;
    left: 30px;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--gradient-green);
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(8, 145, 178, 0.5);
    color: var(--bs-white);
}


.header-carousel .header-carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    padding-top: 120px;
    background: rgba(0, 0, 0, .7);
    display: flex;
    align-items: center;
}

@media (max-width: 991px) {
    .header-carousel .header-carousel-item .carousel-caption {
        padding-top: 45px;
    }
}

@media (max-width: 767px) {
    .header-carousel .owl-nav .owl-prev {
        left: 50%;
        transform: translateX(-50%);
        margin-left: -45px;
    }


    .header-carousel .owl-nav .owl-next {
        left: 50%;
        transform: translateX(-50%);
        margin-left: 45px;
    }
}


.header-carousel .header-carousel-item img {
    animation-name: image-zoom;
    animation-duration: 10s;
    animation-delay: 1s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    transition: 1s;
}

@keyframes image-zoom {
    0%  {height: 100%; opacity: 0.9;}

    25% {height: 110%; opacity: 0.50;}

    50% {height: 115%; opacity: 1;}

    75% {height: 110%; opacity: 0.50;}

    100% {height: 100%; opacity: 0.9;}
}
/*** Carousel Hero Header End ***/


/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../img/carousel-1.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 140px 0 60px 0;
    transition: 0.5s;
}

@media (min-width: 992px) {
    .bg-breadcrumb {
        padding: 140px 0 60px 0;
    }
}

@media (max-width: 991px) {
    .bg-breadcrumb {
        padding: 60px 0 60px 0;
    }
}

.bg-breadcrumb .breadcrumb {
    position: relative;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
    color: var(--bs-white);
}
/*** Single Page Hero Header End ***/


/*** Service Start ***/
.service .service-item {
    background: var(--glass-bg-strong);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    backdrop-filter: saturate(180%) blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    transition: 0.5s;
    box-shadow: var(--glass-shadow);
}

.service .service-item:hover {
    box-shadow: 0 12px 48px rgba(8, 145, 178, 0.25);
    transform: translateY(-8px);
    border-color: rgba(8, 145, 178, 0.4);
}

.service .service-item .service-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: 0.5s;
}

.service .service-item .service-img img {
    transition: 0.5s;
}

.service .service-item:hover .service-img img {
    transform: scale(1.2);
}

/* Service Category Tabs */
.service-tabs-container {
    position: relative;
}

.service-category-tabs {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(8, 145, 178, 0.15);
    border-radius: 50px;
    padding: 8px;
    display: inline-flex;
    box-shadow: 0 4px 16px rgba(8, 145, 178, 0.1);
}

.service-category-tabs .nav-item {
    margin: 0 4px;
}

.service-category-tabs .nav-link {
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    color: #0891b2;
    background: transparent;
    border: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.service-category-tabs .nav-link:hover {
    background: rgba(8, 145, 178, 0.1);
    color: #0e7490;
    transform: translateY(-2px);
}

.service-category-tabs .nav-link.active {
    background: linear-gradient(135deg, #0891b2 0%, #14b8a6 50%, #2dd4bf 100%);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(8, 145, 178, 0.3);
    transform: translateY(-2px);
}

.service-category-tabs .nav-link i {
    font-size: 16px;
}

/* Tab content animation */
.tab-pane {
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive tabs */
@media (max-width: 768px) {
    .service-category-tabs {
        flex-direction: column;
        border-radius: 15px;
        width: 100%;
    }
    
    .service-category-tabs .nav-item {
        margin: 4px 0;
        width: 100%;
    }
    
    .service-category-tabs .nav-link {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
    }
}

/*** Service End ***/


/*** Features Start ***/
.feature .feature-item {
    text-align: center;
    border-radius: 10px;
    background: var(--glass-bg-strong);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    backdrop-filter: saturate(180%) blur(16px);
    border: 1px solid var(--glass-border);
    transition: 0.5s;
    box-shadow: var(--glass-shadow);
}

.feature .feature-item:hover {
    border: 1px solid var(--accent-100);
    box-shadow: 0 12px 48px rgba(8, 145, 178, 0.25);
    transform: translateY(-8px);
}

.feature .feature-item .feature-icon {
    background: var(--gradient-teal);
    border-radius: 10px;
    display: inline-block;
    box-shadow: 0 4px 16px rgba(8, 145, 178, 0.2);
    transition: 0.5s;
    position: relative;
    overflow: hidden;
}

.feature .feature-item .feature-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: 0.5s;
}

.feature .feature-item:hover .feature-icon::before {
    left: 100%;
}

.feature .feature-item .feature-icon i {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.feature .feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 24px rgba(8, 145, 178, 0.4);
    background: var(--gradient-green);
}
/*** Features End ***/

/*** Offer Start ***/
.offer-section .nav a.accordion-link {
    width: 100%;
    border-radius: 10px;
    display: flex;
    background: var(--glass-bg-strong);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    backdrop-filter: saturate(180%) blur(16px);
    border: 1px solid var(--glass-border);
    transition: 0.5s;
    box-shadow: var(--glass-shadow);
}

.offer-section .nav a.accordion-link.active {
    color: var(--bs-white);
    background: var(--gradient-teal);
    border-color: rgba(8, 145, 178, 0.4);
}

.offer-section .nav a.accordion-link h5 {
    transition: 0.5s;
    color: #0891b2 !important;
}

.offer-section .nav a.accordion-link.active h5 {
    color: var(--bs-white);
}
/*** Offer End ***/

/*** Blog Start ***/
.blog .blog-item {
    border-radius: 10px;
    background: var(--glass-bg-strong);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    backdrop-filter: saturate(180%) blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: 0.5s;
}

.blog .blog-item:hover {
    box-shadow: 0 12px 48px rgba(8, 145, 178, 0.25);
    transform: translateY(-8px);
    border-color: rgba(8, 145, 178, 0.4);
}

.blog .blog-item a {
    transition: 0.5s;
}

.blog .blog-item:hover a:hover {
    color: var(--bs-primary);
}

.blog .blog-item .blog-img {
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.2);
}

.blog .blog-item .blog-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 10px;
    background: rgba(8, 145, 178, 0.1);
    opacity: 0;
    transition: 0.5s;
    z-index: 1;
}

.blog .blog-item:hover .blog-img::after {
    opacity: 1;
}

.blog .blog-item .blog-img .blog-title {
    position: absolute;
    bottom: 25px;
    left: 25px;
    z-index: 5;
}

.blog .blog-item .blog-img .blog-title a {
    color: var(--bs-white);
    background: var(--bs-primary);
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img .blog-title a:hover {
    color: var(--bs-dark);
}

.blog-carousel .owl-stage-outer {
    margin-top: 58px;
}

.blog .owl-nav .owl-prev {
    position: absolute;
    top: -58px;
    left: 0;
    background: linear-gradient(135deg, #0891b2 0%, #14b8a6 50%, #2dd4bf 100%);
    color: var(--bs-white);
    padding: 6px 35px;
    border-radius: 30px;
    transition: 0.5s;
    box-shadow: 0 4px 16px rgba(8, 145, 178, 0.3);
}

.blog .owl-nav .owl-prev:hover {
    background: linear-gradient(135deg, #2dd4bf 0%, #14b8a6 50%, #0891b2 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(8, 145, 178, 0.4);
    color: var(--bs-white);
}

.blog .owl-nav .owl-next {
    position: absolute;
    top: -58px;
    right: 0;
    background: linear-gradient(135deg, #0891b2 0%, #14b8a6 50%, #2dd4bf 100%);
    color: #ffffff;
    padding: 6px 35px;
    border-radius: 30px;
    transition: 0.5s;
    box-shadow: 0 4px 16px rgba(8, 145, 178, 0.3);
}

.blog .owl-nav .owl-next:hover {
    background: linear-gradient(135deg, #2dd4bf 0%, #14b8a6 50%, #0891b2 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(8, 145, 178, 0.4);
    color: #ffffff;
}
/*** Blog End ***/


/*** FAQs Start ***/
.faq-section .accordion .accordion-item {
    background: var(--glass-bg-strong);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    backdrop-filter: saturate(180%) blur(16px);
    border: 1px solid var(--glass-border);
    margin-bottom: 12px;
    border-radius: 8px;
}

.faq-section .accordion .accordion-item .accordion-header .accordion-button {
    color: var(--bs-secondary);
    background: transparent;
}

.faq-section .accordion .accordion-item .accordion-header .accordion-button:not(.collapsed) {
    background: var(--gradient-teal);
    box-shadow: 0 4px 16px rgba(8, 145, 178, 0.2);
}

.faq-section .accordion .accordion-item .accordion-header .accordion-button.collapsed {
    color: var(--bs-dark);
}
/*** FAQs End ***/

/*** Team Start ***/
.team .team-item {
    position: relative;
    padding: 0 25px 25px 25px;
    border-radius: 10px;
    transition: 0.5s;
}

.team .team-item::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    background: var(--glass-bg-strong);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    backdrop-filter: saturate(180%) blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 10px;
    transition: 0.5s;
    z-index: -1;
}

.team .team-item:hover::before {
    height: 0;
}

.team .team-item::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    border-radius: 10px;
    transition: 0.5s;
    z-index: -1;
}

.team .team-item:hover::after {
    height: 100%;
    background: var(--gradient-teal);
    box-shadow: 0 12px 48px rgba(8, 145, 178, 0.3);
}

.team .team-item .team-img {
    width: 100%; 
    height: 100%;
    border-radius: 100%;
    position: relative;
    margin-top: 50%;
    transform: translateY(-50%);
    margin-bottom: -50%;
    display: flex;
    justify-content: center;
    border: 4px solid var(--bs-primary);
    border-style: dotted;
    padding: 4px;
    background: var(--bs-white);
    transition: 0.5s;
}

.team .team-item:hover .team-img {
    border: 4px solid var(--bs-white);
    border-style: dotted;
    background: 0;
}

.team .team-item .team-img img {
    width: 100%;
    height: 100%;
    border-radius: 100%;
    transition: 0.5s;
}

.team .team-item .team-title {
    padding: 25px 0 25px 0;
    text-align: center;
}

.team .team-item .team-title h4,
.team .team-item .team-title p {
    transition: 0.5s;
}

.team .team-item:hover .team-title h4,
.team .team-item:hover .team-title p {
    color: var(--bs-white);
}

.team .team-item .team-icon {
    display: flex;
    justify-content: center;
}

.team .team-item .team-icon a {
    transition: 0.5s;
}

.team .team-item:hover .team-icon a {
    color: var(--bs-dark);
    background: var(--bs-white);
}

.team .team-item:hover .team-icon a:hover {
    color: var(--bs-primary);
    background: var(--bs-dark);
}
/*** Team End ***/

/*** Testimonial Start ***/
.testimonial .testimonial-item {
    position: relative;
    margin-bottom: 30px;
    padding: 0 25px 25px 25px;
}

.testimonial .testimonial-item::before {
    content: "";
    position: absolute;
    width: 100%;
    height: calc(100% - 50px);
    bottom: 0;
    left: 0;
    border-radius: 10px;
    background: var(--glass-bg-strong);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    backdrop-filter: saturate(180%) blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    z-index: -1;
    transition: 0.5s;
}

.testimonial .testimonial-item:hover::before {
    box-shadow: 0 12px 48px rgba(8, 145, 178, 0.25);
    border-color: rgba(8, 145, 178, 0.3);
}

.testimonial .testimonial-item .testimonial-img {
    display: flex;
    justify-content: center;
}

.testimonial .testimonial-item .testimonial-img img {
    width: 100px; 
    height: 100px;
    border-radius: 100px;
    border: 5px solid var(--bs-light);
    border-style: double;
    background: var(--bs-white);
}

.testimonial .testimonial-item .testimonial-text {
    padding: 25px 0;
    text-align: center;
}

.testimonial .testimonial-item .testimonial-title {
    display: flex;
    justify-content: space-between;
}

.testimonial .testimonial-item  .testimonial-quote-left {
    position: absolute;
    width: 60px; 
    height: 60px;
    top: 20px;
    left: 25px;
    border-radius: 60px;
    color: var(--bs-primary);
    background: var(--bs-white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial .testimonial-item  .testimonial-quote-right {
    position: absolute;
    width: 60px; 
    height: 60px;
    bottom: -30px;
    right: 25px;
    margin-top: -5px;
    border-radius: 60px;
    color: var(--bs-primary);
    background: var(--bs-white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-stage-outer {
    margin-top: 58px;
    margin-right: -1px;
}

.testimonial .owl-nav .owl-prev {
    position: absolute;
    top: -58px;
    left: 0;
    background: linear-gradient(135deg, #0891b2 0%, #14b8a6 50%, #2dd4bf 100%);
    color: var(--bs-white);
    padding: 5px 30px;
    border-radius: 30px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-prev:hover {
    background: linear-gradient(135deg, #2dd4bf 0%, #14b8a6 50%, #0891b2 100%);
    color: var(--bs-white);
}

.testimonial .owl-nav .owl-next {
    position: absolute;
    top: -58px;
    right: 0;
    background: linear-gradient(135deg, #0891b2 0%, #14b8a6 50%, #2dd4bf 100%);
    color: var(--bs-white);
    padding: 5px 30px;
    border-radius: 30px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-next:hover {
    background: linear-gradient(135deg, #2dd4bf 0%, #14b8a6 50%, #0891b2 100%);
    color: var(--bs-white);
}

.testimonial-carousel .owl-dots {
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-dots .owl-dot {
    width: 30px;
    height: 30px;
    border-radius: 30px;
    margin: 20px 10px 0 10px;
     background: linear-gradient(135deg, #0891b2 0%, #14b8a6 50%, #2dd4bf 100%);
    transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 30px;
    height: 30px;
    border-radius: 30px;
     background: linear-gradient(135deg, #2dd4bf 0%, #14b8a6 50%, #0891b2 100%);
    transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot span {
    position: relative;
    margin-top: 50%;
    margin-left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.testimonial-carousel .owl-dots .owl-dot.active span::after {
    background: var(--bs-primary);
}

.testimonial-carousel .owl-dots .owl-dot span::after {
    content: "";
    width: 15px;
    height: 15px;
    border-radius: 15px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bs-white);
    transition: 0.5s;
}

/*** Testimonial End ***/

/*** Footer Start ***/
.footer {
    background: var(--bs-secondary);
}

.footer .footer-item {
    display: flex;
    flex-direction: column;
}

.footer .footer-item a {
    line-height: 35px;
    color: var(--bs-body);
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 35px;
}

.footer .footer-item a:hover {
    color: var(--bs-primary);
}

.footer .footer-item .footer-btn a,
.footer .footer-item .footer-btn a i {
    transition: 0.5s;
}

.footer .footer-item .footer-btn a:hover {
    background: var(--bs-white);
}

.footer .footer-item .footer-btn a:hover i {
    color: var(--bs-primary);
}
/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    background: var(--bs-dark);
}
/*** copyright end ***/

.fa-quote-left:before, .fa-quote-left {
    color: #0891b2 !important;
}

.fa-quote-right:before, .fa-quote-right {
    color: #0891b2 !important;
}



/* ============================= */
/* Consultation Modal Styles */
/* ============================= */
#consultationModal .modal-content {
    border-radius: 15px;
    overflow: hidden;
}

#consultationModal .modal-header {
    background: linear-gradient(135deg, #0891b2 0%, #155e75 100%);
    padding: 1.5rem;
}

#consultationModal .modal-title {
    font-weight: 600;
    font-size: 1.25rem;
}

#consultationModal .form-label {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
}

#consultationModal .form-control,
#consultationModal .form-select {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 0.65rem 1rem;
    transition: all 0.3s ease;
}

#consultationModal .form-control:focus,
#consultationModal .form-select:focus {
    border-color: #0891b2;
    box-shadow: 0 0 0 0.2rem rgba(8, 145, 178, 0.15);
}

#consultationModal .btn-primary {
    background: linear-gradient(135deg, #0891b2 0%, #155e75 100%);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

#consultationModal .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(8, 145, 178, 0.3);
}

#consultationModal .form-check-input:checked {
    background-color: #0891b2;
    border-color: #0891b2;
}

/* ============================= */
/* Hero Testimonial Carousel - 3D Curved Effect */
/* ============================= */
.testimonial-hero-carousel {
    position: relative;
    padding: 80px 0;
    perspective: 1200px;
    perspective-origin: 50% 50%;
}

.testimonial-hero-carousel .owl-stage-outer {
    overflow: visible !important;
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
    transform-style: preserve-3d;
}

.testimonial-hero-carousel .owl-stage-outer::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.testimonial-hero-carousel .owl-stage {
    display: flex !important;
    align-items: center;
    transform-style: preserve-3d;
}

/* Hide scrollbar completely */
.testimonial-hero-carousel .owl-stage-outer::-webkit-scrollbar {
    display: none !important;
}

.testimonial-hero-carousel .owl-stage-outer {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}

.testimonial-hero-carousel * {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}

.testimonial-hero-carousel *::-webkit-scrollbar {
    display: none !important;
}

.testimonial-hero-carousel .owl-item {
    opacity: 0.4;
    transform: scale(0.75) rotateY(0deg);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-style: preserve-3d;
}

.testimonial-hero-carousel .owl-item.active {
    opacity: 0.6;
}

/* Left side card - rotated right */
.testimonial-hero-carousel .owl-item.active:not(.center):first-child,
.testimonial-hero-carousel .owl-item.active:has(+ .center) {
    transform: scale(0.85) rotateY(25deg) translateX(-50px) translateZ(-100px);
    opacity: 0.6;
}

/* Center card - front and scaled up */
.testimonial-hero-carousel .owl-item.center {
    opacity: 1;
    transform: scale(1.05) rotateY(0deg) translateY(-30px) translateZ(50px);
    z-index: 10;
}

/* Right side card - rotated left */
.testimonial-hero-carousel .owl-item.active:not(.center):last-child,
.testimonial-hero-carousel .owl-item.center + .owl-item.active {
    transform: scale(0.85) rotateY(-25deg) translateX(50px) translateZ(-100px);
    opacity: 0.6;
}

.testimonial-hero-carousel .owl-item .card {
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    transition: all 0.4s ease;
    border: 2px solid rgba(8, 145, 178, 0.05);
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.testimonial-hero-carousel .owl-item.center .card {
    box-shadow: 0 35px 80px rgba(8, 145, 178, 0.4);
    border-color: rgba(8, 145, 178, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, #f0fdff 100%);
}

.testimonial-hero-carousel .owl-item .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(8, 145, 178, 0.3);
}

.testimonial-hero-carousel .owl-item.center .card:hover {
    transform: translateY(-12px);
    box-shadow: 0 40px 90px rgba(8, 145, 178, 0.5);
}

.testimonial-hero-carousel .owl-nav {
    display: none !important;
}

/* Hide navigation arrows completely */
.testimonial-hero-carousel .owl-nav {
    display: none !important;
}

.testimonial-hero-carousel .owl-dots {
    text-align: center;
    margin-top: 50px;
    position: relative;
    z-index: 20;
}

.testimonial-hero-carousel .owl-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(8, 145, 178, 0.3);
    margin: 0 8px;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border: 2px solid transparent;
}

.testimonial-hero-carousel .owl-dot.active {
    background: #0891b2;
    transform: scale(1.5);
    box-shadow: 0 0 15px rgba(8, 145, 178, 0.7);
    border-color: rgba(8, 145, 178, 0.3);
}

.testimonial-hero-carousel .owl-dot:hover {
    background: rgba(8, 145, 178, 0.6);
    transform: scale(1.3);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .testimonial-hero-carousel {
        padding: 40px 0;
    }
    
    .testimonial-hero-carousel .owl-item.center {
        transform: scale(1.05) translateY(-15px);
    }
    
    .testimonial-hero-carousel .owl-dots {
        margin-top: 35px;
    }
}
/* Position owl nav container (fix orphaned properties) */
.testimonial-hero-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 100;
    padding: 0 20px;
}

.testimonial-hero-carousel .owl-nav button {
    pointer-events: all;
    background: #0891b2 !important;
    color: #fff !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 22px !important;
    transition: all 0.3s ease !important;
    border: none !important;
    box-shadow: 0 5px 20px rgba(8, 145, 178, 0.4);
}

.testimonial-hero-carousel .owl-nav button:hover {
    background: #155e75 !important;
    transform: scale(1.15);
    box-shadow: 0 8px 25px rgba(8, 145, 178, 0.5);
}

.testimonial-hero-carousel .owl-dots {
    text-align: center;
    margin-top: 40px;
}

.testimonial-hero-carousel .owl-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(8, 145, 178, 0.3);
    margin: 0 6px;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
}

.testimonial-hero-carousel .owl-dot.active {
    background: #0891b2;
    transform: scale(1.4);
    box-shadow: 0 0 10px rgba(8, 145, 178, 0.6);
}

.testimonial-hero-carousel .owl-dot:hover {
    background: rgba(8, 145, 178, 0.6);
    transform: scale(1.2);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .testimonial-hero-carousel {
        padding: 40px 0;
    }
    
    .testimonial-hero-carousel .owl-item.center {
        transform: scale(1.05) translateY(-10px);
    }
    
    .testimonial-hero-carousel .owl-nav button {
        width: 40px !important;
        height: 40px !important;
        font-size: 18px !important;
    }
}


#consultationModal textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

/* Three.js Curved Slider Styles */
[class^='mdw-curved-slider'],
[class*=' mdw-curved-slider']{
    height: var(--min-height, 100vh);
    position: relative;
    overflow: hidden;
}

[class^='mdw-curved-slider'] canvas,
[class*=' mdw-curved-slider'] canvas{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Testimonial Cards Overlay */
.testimonial-cards-overlay {
    margin-top: -180px;
    padding: 0 0 80px 0;
    position: relative;
    z-index: 10;
}

.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(8, 145, 178, 0.2);
}

.testimonial-card .testimonial-quote {
    position: absolute;
    top: 20px;
    right: 20px;
    color: rgba(8, 145, 178, 0.1);
    font-size: 60px;
}

.testimonial-card .testimonial-text {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin: 40px 0 20px 0;
    min-height: 120px;
}

.testimonial-card .testimonial-author h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.testimonial-card .testimonial-author span {
    font-size: 14px;
    font-weight: 500;
}

.testimonial-card .testimonial-stars {
    margin-top: 15px;
    color: #ffc107;
}

.testimonial-card .testimonial-stars i {
    margin-right: 3px;
    font-size: 14px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .testimonial-cards-overlay {
        margin-top: -100px;
        padding: 0 0 40px 0;
    }
    
    .testimonial-card {
        padding: 25px;
        margin-bottom: 20px;
    }
    
    .testimonial-card .testimonial-text {
        min-height: auto;
        margin: 30px 0 15px 0;
    }
    
    [class^='mdw-curved-slider'],
    [class*=' mdw-curved-slider']{
        height: 350px !important;
    }
}
