/* ----------------------------------------------------
   BENSALEM NEW - CUSTOM DESIGN SYSTEM & LAYOUT
   Colors: Primary (#088ac7), Secondary (#061c63)
   Typography: Poppins Font Family
   ---------------------------------------------------- */

/* Google Fonts Import in case of absolute local fallback */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
    /* Font Overrides */
    --bs-font-sans-serif: 'Poppins', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --bs-body-font-family: var(--bs-font-sans-serif);
    
    /* Primary Color Overrides (#088ac7) */
    --bs-primary: #088ac7;
    --bs-primary-rgb: 8, 138, 199;
    --bs-primary-hover: #0779af;
    --bs-primary-light: #e6f3fa;

    /* Secondary Color Overrides (#061c63) */
    --bs-secondary: #061c63;
    --bs-secondary-rgb: 6, 28, 99;
    --bs-secondary-hover: #041346;
    
    /* Body & Link Colors */
    --bs-link-color: var(--bs-primary);
    --bs-link-hover-color: var(--bs-secondary);
    
    /* Dark / Light / Neutral themes matching the palette */
    --color-dark-deep: #030d2e;
    --color-light-bg: #f8fafc;
    --color-border: #e2e8f0;
}

/* Base Body Styles */
body {
    font-family: var(--bs-body-font-family);
    background-color: var(--color-light-bg);
    color: #334155;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Headings Typography */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 700;
    color: var(--bs-secondary);
    letter-spacing: -0.02em;
}

/* Custom Scrollbar for Premium Look */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--bs-primary);
}

/* Selection Highlight */
::selection {
    background-color: rgba(8, 138, 199, 0.2);
    color: var(--bs-secondary);
}

/* ----------------------------------------------------
   LAYOUT: Centered 90% Viewport Container
   ---------------------------------------------------- */
.container-90 {
    width: 90% !important;
    max-width: 90% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
    padding-right: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
}

/* ----------------------------------------------------
   PREMIUM UTILITIES (Gradients & Cards)
   ---------------------------------------------------- */
.text-gradient {
    background: linear-gradient(135deg, var(--bs-secondary) 30%, var(--bs-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-custom {
    background: linear-gradient(135deg, var(--bs-secondary) 0%, #0c2b8c 50%, var(--bs-primary) 100%);
}

.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
}

.hover-card-premium {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background-color: #ffffff;
}
.hover-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(6, 28, 99, 0.08);
    border-color: rgba(8, 138, 199, 0.3);
}

/* Button Premium Overrides */
.btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    font-weight: 600;
    padding: 0.6rem 1.8rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: var(--bs-primary-hover) !important;
    border-color: var(--bs-primary-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(8, 138, 199, 0.3);
}

.btn-secondary {
    background-color: var(--bs-secondary);
    border-color: var(--bs-secondary);
    font-weight: 600;
    padding: 0.6rem 1.8rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.btn-secondary:hover, .btn-secondary:focus, .btn-secondary:active {
    background-color: var(--bs-secondary-hover) !important;
    border-color: var(--bs-secondary-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 28, 99, 0.3);
}

/* ----------------------------------------------------
   SCROLL REVEAL ANIMATIONS (Grand & Professional)
   ---------------------------------------------------- */
.reveal {
    opacity: 0;
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

/* Direction presets */
.reveal-fade-up {
    transform: translateY(50px);
}

.reveal-fade-down {
    transform: translateY(-50px);
}

.reveal-slide-left {
    transform: translateX(-50px);
}

.reveal-slide-right {
    transform: translateX(50px);
}

.reveal-zoom-in {
    transform: scale(0.92);
}

.reveal-scale-up {
    transform: scale(0.96) translateY(20px);
}

/* Active State (Triggered by JS when element enters viewport) */
.reveal.active {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Staggered Delay Utilities */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }
.delay-600 { transition-delay: 600ms; }
.delay-700 { transition-delay: 700ms; }
.delay-800 { transition-delay: 800ms; }

/* ----------------------------------------------------
   NAVIGATION & HEADER CUSTOM STYLING
   ---------------------------------------------------- */

/* Helper Font-Size Utilities */
.fs-7 {
    font-size: 0.85rem !important;
}
.fs-8 {
    font-size: 0.725rem !important;
}

/* Header Utilities */
header {
    z-index: 1020;
    transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.header-top {
    font-size: 0.85rem;
    letter-spacing: 0.01em;
}

.header-top a {
    transition: opacity 0.25s ease;
}

.header-top a:hover {
    opacity: 0.85;
}

/* Nav Link Hover Line Animation (Desktop Only) */
@media (min-width: 1200px) {
    .nav-link-custom {
        font-weight: 500;
        color: var(--bs-secondary);
        padding: 0.6rem 0.85rem;
        transition: color 0.3s ease;
        position: relative;
        text-decoration: none;
        display: inline-block;
    }

    .nav-link-custom:hover,
    .nav-link-custom.active {
        color: var(--bs-primary);
    }

    .nav-link-custom::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 0;
        left: 50%;
        background-color: var(--bs-primary);
        transition: width 0.3s ease, left 0.3s ease;
    }

    .nav-link-custom:hover::after,
    .nav-link-custom.active::after {
        width: 80%;
        left: 10%;
    }

    /* Dropdown Hover & Click Transitions */
    .header-nav .dropdown:hover > .dropdown-menu,
    .header-nav .dropdown-menu.show {
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
        pointer-events: auto;
    }

    .header-nav .dropdown-menu {
        display: block !important;
        opacity: 0;
        visibility: hidden;
        transform: translateY(8px);
        pointer-events: none;
        margin-top: 0 !important;
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    }

    /* Transparent bridge fills the gap between nav link and menu so hover isn't lost */
    .header-nav .dropdown-menu::before {
        content: '';
        position: absolute;
        top: -10px;
        left: 0;
        right: 0;
        height: 10px;
    }

    /* Mega Menu Specific Placement */
    .dropdown-mega {
        position: static !important;
    }

    .dropdown-menu-mega {
        width: 90% !important;
        left: 5% !important;
        right: 5% !important;
        margin-top: 0 !important;
        border-radius: 16px !important;
        padding: 2.2rem !important;
        box-shadow: 0 20px 50px rgba(6, 28, 99, 0.15) !important;
    }
}

/* Dropdown Menu Item Styling */
.dropdown-menu .dropdown-item {
    color: #475569;
    font-weight: 500;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.dropdown-menu .dropdown-item:hover {
    color: var(--bs-primary);
    background-color: rgba(8, 138, 199, 0.05);
}

.dropdown-menu .dropdown-item.active {
    color: var(--bs-primary);
    background-color: rgba(8, 138, 199, 0.08);
    font-weight: 700;
    border-left: 3px solid var(--bs-primary);
    padding-left: calc(1rem - 3px);
}

/* Mega Menu Item Lists */
.mega-menu-list a.dropdown-item {
    font-size: 0.9rem;
    border-radius: 6px;
}

.mega-menu-list a.dropdown-item:hover {
    padding-left: 1.25rem !important;
}

/* ----------------------------------------------------
   OFFCANVAS & MOBILE ACCORDION STYLING
   ---------------------------------------------------- */
.offcanvas {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    box-shadow: -10px 0 40px rgba(6, 28, 99, 0.1);
}

.offcanvas-body .accordion-item {
    border: none;
}

.offcanvas-body .accordion-button {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--bs-secondary);
    border-bottom: 1px solid var(--color-border);
}

.offcanvas-body .accordion-button:not(.collapsed) {
    color: var(--bs-primary);
    border-bottom-color: rgba(8, 138, 199, 0.15);
}

.offcanvas-body .accordion-button::after {
    background-size: 1rem;
}

.offcanvas-body .nav-link {
    color: #475569;
    font-weight: 500;
    transition: color 0.2s ease;
}

.offcanvas-body .nav-link:hover {
    color: var(--bs-primary);
}

/* Offcanvas custom scrollbar */
.offcanvas-body::-webkit-scrollbar {
    width: 5px;
}

/* Modal Enhancements */
.modal-content {
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(6, 28, 99, 0.25);
}


/* ----------------------------------------------------
   HOME HERO SLIDER (Swiper)
   ---------------------------------------------------- */
.home-hero-carousel {
    width: 100%;
}

.swiper-container.homeslider {
    width: 100%;
    height: 680px;
}

@media (max-width: 768px) {
    .swiper-container.homeslider {
        height: 520px;
    }
}

@media (max-width: 480px) {
    .swiper-container.homeslider {
        height: 420px;
    }
}

/* Slide base */
.swiper-slide {
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Slide background images */
.slide-01 { background-image: url('../img/slider01.jpg'); }
.slide-02 { background-image: url('../img/slider02.jpg'); }
.slide-03 { background-image: url('../img/slider03.jpg'); }
.slide-04 { background-image: url('../img/slider04.jpg'); }
.slide-05 { background-image: url('../img/slider05.jpg'); }
.slide-06 { background-image: url('../img/slider00.jpg'); }

/* Dark gradient overlay for text readability */
.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(6, 28, 99, 0.82) 0%,
        rgba(6, 28, 99, 0.55) 55%,
        rgba(6, 28, 99, 0.15) 100%
    );
    z-index: 1;
}

/* Slide text content */
.slide-content {
    position: relative;
    z-index: 2;
    padding: 0 8% 0 10%;
    max-width: 680px;
}

/* --- Slide content individual keyframes --- */
@keyframes slideFromTop {
    from { opacity: 0; transform: translateY(-52px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes lineExpand {
    from { width: 0; opacity: 0; }
    to   { width: 64px; opacity: 1; }
}

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

/* Title — drops in from above */
.slide-content.slide-animate .slide-title {
    animation: slideFromTop 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0s both;
}

/* Accent line — expands outward */
.slide-content.slide-animate .slide-line {
    animation: lineExpand 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both;
}

/* Description — rises from below */
.slide-content.slide-animate .slide-desc {
    animation: slideFromBottom 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}

.slide-title {
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.1rem;
}

.slide-line {
    display: block;
    height: 4px;
    width: 0;
    background: linear-gradient(90deg, var(--bs-primary), rgba(8,138,199,0.3));
    border-radius: 4px;
    margin-bottom: 1.2rem;
    opacity: 0;
}

.slide-desc {
    font-size: clamp(0.95rem, 1.5vw, 1.15rem);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 0;
    max-width: 520px;
}

/* Swiper pagination bullets */
.homeslider .swiper-pagination {
    bottom: 24px;
}

.homeslider .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.3s ease;
}

.homeslider .swiper-pagination-bullet-active {
    background: #ffffff;
    width: 28px;
    border-radius: 5px;
}

/* ----------------------------------------------------
   FEATURES SECTION
   ---------------------------------------------------- */
.features {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(135deg, #030d2e 0%, var(--bs-secondary) 50%, #0c2b8c 100%) !important;
}

.feature-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2rem 1.5rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    transition: background 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(8, 138, 199, 0.4);
    transform: translateY(-6px);
}

.feature-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: rgba(8, 138, 199, 0.15);
    color: var(--bs-primary);
    margin-bottom: 1.4rem;
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.feature-card:hover .feature-icon-wrap {
    background: rgba(8, 138, 199, 0.28);
}

.feature-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.feature-desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.75;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.feature-readmore {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--bs-primary);
    text-decoration: none;
    transition: gap 0.25s ease, opacity 0.25s ease;
    margin-top: auto;
}

.feature-readmore:hover {
    gap: 0.7rem;
    opacity: 0.85;
    color: var(--bs-primary);
}

.feature-readmore svg {
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.feature-readmore:hover svg {
    transform: translateX(3px);
}

/* ----------------------------------------------------
   ABOUT SECTION
   ---------------------------------------------------- */
.py-lg-6 { padding-top: 5rem !important; padding-bottom: 5rem !important; }
.mb-lg-7 { margin-bottom: 4.5rem !important; }
.mt-lg-7 { margin-top: 4.5rem !important; }

/* Eyebrow label shared across sections */
.section-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--bs-primary);
    margin-bottom: 1rem;
}

.about-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--bs-secondary);
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin-bottom: 1.25rem;
}

.about-desc {
    font-size: 1rem;
    color: #475569;
    line-height: 1.85;
    margin-bottom: 2rem;
}

.about-btn {
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
}

/* Image wrapper */
.about-img-wrap {
    position: relative;
    border-radius: 20px;
    overflow: visible;
}

.about-img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    border-radius: 20px;
    display: block;
    box-shadow: 0 24px 60px rgba(6, 28, 99, 0.14);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-img-wrap:hover .about-img {
    transform: scale(1.02);
}

/* Floating badge cards on images */
.about-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #ffffff;
    border-radius: 14px;
    padding: 0.9rem 1.2rem;
    box-shadow: 0 10px 30px rgba(6, 28, 99, 0.12);
    white-space: nowrap;
    z-index: 2;
}

.about-badge--top {
    top: -18px;
    right: -18px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.15rem;
    padding: 1rem 1.4rem;
}

.about-badge--bottom {
    bottom: -18px;
    left: -18px;
}

.about-badge__number {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    color: var(--bs-primary);
}

.about-badge__number sup {
    font-size: 1rem;
    font-weight: 700;
}

.about-badge__label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
}

.about-badge--bottom svg {
    color: var(--bs-primary);
    flex-shrink: 0;
}

/* Alt image wrap (Block 2) */
.about-img-wrap--alt .about-img {
    height: 480px;
}

/* Floating card inside image (Block 2) */
.about-floating-card {
    position: absolute;
    bottom: -18px;
    right: -18px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #ffffff;
    border-radius: 14px;
    padding: 1rem 1.25rem;
    box-shadow: 0 10px 30px rgba(6, 28, 99, 0.12);
    z-index: 2;
}

.about-floating-card .text-primary {
    color: var(--bs-primary) !important;
    flex-shrink: 0;
}

/* Divider between blocks */
.about-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border) 30%, var(--color-border) 70%, transparent);
    margin: 1rem 0;
}

/* Offer list (Block 2) */
.about-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.about-list__item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #334155;
    padding: 0.85rem 1.1rem;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    background: #f8fafc;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
    cursor: default;
}

.about-list__item:hover {
    background: var(--bs-primary-light);
    border-color: rgba(8, 138, 199, 0.25);
    transform: translateX(6px);
}

.about-list__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bs-primary);
    color: #ffffff;
    flex-shrink: 0;
}

/* ----------------------------------------------------
   GALLERY SECTION
   ---------------------------------------------------- */
.gallery-section {
    background: var(--color-light-bg);
}

.section-header {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.section-heading {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--bs-secondary);
    letter-spacing: -0.025em;
    margin-bottom: 0.75rem;
}

.section-subheading {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.75;
    margin-bottom: 0;
}

/* 3-column responsive grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 768px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; }
}

/* Individual gallery card */
.gallery-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4 / 3;
    background: #e2e8f0;
    box-shadow: 0 4px 16px rgba(6, 28, 99, 0.07);
    transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(6, 28, 99, 0.14);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
    transform: scale(1.07);
}

/* Zoom overlay icon */
.gallery-item__overlay {
    position: absolute;
    inset: 0;
    background: rgba(6, 28, 99, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item__overlay {
    opacity: 1;
}

.gallery-item__overlay svg {
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
}

/* ----------------------------------------------------
   LIGHTBOX
   ---------------------------------------------------- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(3, 13, 46, 0.96);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.lightbox__stage {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox__img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    display: block;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.lightbox__img.is-loading {
    opacity: 0;
    transform: scale(0.96);
}

/* Close button */
.lightbox__close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
    z-index: 10001;
}

.lightbox__close:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: rotate(90deg);
}

/* Prev / Next buttons */
.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
    z-index: 10001;
}

.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }

.lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.24);
}

.lightbox__nav--prev:hover { transform: translateY(-50%) translateX(-3px); }
.lightbox__nav--next:hover { transform: translateY(-50%) translateX(3px); }

/* Counter */
.lightbox__counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.05em;
    pointer-events: none;
}

/* ----------------------------------------------------
   ADVICE SECTION
   ---------------------------------------------------- */
.advice-section {
    position: relative;
    padding: 6rem 0;
    background-image: url('../img/special-bg-img.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

/* Gradient overlay: deep navy left → primary blue right */
.advice-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(3, 13, 46, 0.92) 0%,
        rgba(6, 28, 99, 0.80) 45%,
        rgba(8, 138, 199, 0.60) 100%
    );
    z-index: 1;
}

/* Eyebrow */
.advice-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--bs-primary);
    background: rgba(8, 138, 199, 0.15);
    border: 1px solid rgba(8, 138, 199, 0.4);
    border-radius: 50px;
    padding: 0.35rem 1.1rem;
    margin-bottom: 1.4rem;
}

/* Title */
.advice-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.18;
    letter-spacing: -0.025em;
    margin-bottom: 1.4rem;
}

/* Description */
.advice-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.85;
    margin-bottom: 2.5rem;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

/* Call CTA button */
.advice-cta {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: #ffffff;
    border-radius: 60px;
    padding: 0.85rem 2rem 0.85rem 0.85rem;
    text-decoration: none;
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advice-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
}

.advice-cta__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bs-secondary), var(--bs-primary));
    color: #ffffff;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.advice-cta:hover .advice-cta__icon {
    transform: rotate(-15deg) scale(1.1);
}

.advice-cta__text {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.2;
}

.advice-cta__label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #64748b;
}

.advice-cta__number {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--bs-secondary);
    letter-spacing: -0.01em;
}

@media (max-width: 576px) {
    .advice-section { padding: 4rem 0; background-attachment: scroll; }
    .advice-cta { padding: 0.75rem 1.5rem 0.75rem 0.75rem; }
    .advice-cta__number { font-size: 1.05rem; }
}

/* ----------------------------------------------------
   3-COLUMN FEATURES SECTION
   ---------------------------------------------------- */
.features3 {
    background: linear-gradient(160deg, #f0f6ff 0%, #ffffff 50%, #f0f9ff 100%);
}

/* Card */
.f3-card {
    position: relative;
    height: 100%;
    padding: 2.2rem 2rem;
    border-radius: 18px;
    border: 1.5px solid var(--color-border);
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(6, 28, 99, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.35s ease;
    overflow: hidden;
}

.f3-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--bs-secondary), var(--bs-primary));
    border-radius: 18px 18px 0 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.f3-card:hover::before,
.f3-card--active::before {
    transform: scaleX(1);
}

.f3-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 50px rgba(6, 28, 99, 0.11);
    border-color: rgba(8, 138, 199, 0.3);
}

/* Active / featured card */
.f3-card--active {
    border-color: rgba(8, 138, 199, 0.35);
    background: linear-gradient(160deg, #f0f8ff 0%, #ffffff 100%);
    box-shadow: 0 12px 40px rgba(8, 138, 199, 0.12);
}

/* Card top row: icon + number */
.f3-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

/* Icon circle */
.f3-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(6,28,99,0.08), rgba(8,138,199,0.12));
    color: var(--bs-primary);
    flex-shrink: 0;
    transition: background 0.3s ease, transform 0.3s ease;
}

.f3-card:hover .f3-icon,
.f3-card--active .f3-icon {
    background: linear-gradient(135deg, var(--bs-secondary), var(--bs-primary));
    color: #ffffff;
    transform: rotate(-6deg) scale(1.08);
}

/* Large background number */
.f3-number {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(6, 28, 99, 0.06);
    letter-spacing: -0.04em;
    user-select: none;
    transition: color 0.3s ease;
}

.f3-card:hover .f3-number {
    color: rgba(8, 138, 199, 0.1);
}

/* Title */
.f3-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--bs-secondary);
    margin-bottom: 0.85rem;
    letter-spacing: -0.015em;
}

/* Description */
.f3-desc {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.8;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

/* Thin divider line */
.f3-divider {
    height: 1px;
    background: var(--color-border);
    margin-bottom: 1.25rem;
    transition: background 0.3s ease;
}

.f3-card:hover .f3-divider {
    background: rgba(8, 138, 199, 0.25);
}

/* Learn More link */
.f3-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.87rem;
    font-weight: 700;
    color: var(--bs-secondary);
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: color 0.25s ease, gap 0.25s ease;
    margin-top: auto;
}

.f3-link:hover {
    color: var(--bs-primary);
    gap: 0.7rem;
}

.f3-link svg {
    transition: transform 0.25s ease;
}

.f3-link:hover svg {
    transform: translateX(3px);
}

/* Services bullet list inside f3-card */
.f3-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    flex-grow: 1;
}

.f3-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.55;
}

.f3-list li svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--bs-primary);
}

/* ----------------------------------------------------
   TESTIMONIALS SECTION
   ---------------------------------------------------- */
.testimonials-section {
    background: linear-gradient(160deg, #f0f6ff 0%, #ffffff 50%, #f0f9ff 100%);
}

/* Swiper container sizing */
.testimonial-swiper {
    padding-bottom: 3.5rem !important;
    position: relative;
}

/* Card */
.testi-card {
    background: #ffffff;
    border: 1.5px solid var(--color-border);
    border-radius: 18px;
    padding: 2rem 2rem 1.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(6, 28, 99, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testi-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--bs-secondary), var(--bs-primary));
    border-radius: 18px 18px 0 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.swiper-slide-active .testi-card::before {
    transform: scaleX(1);
}

/* Stars */
.testi-stars {
    display: flex;
    gap: 3px;
    color: #f59e0b;
    margin-bottom: 1rem;
}

/* Quote icon */
.testi-quote-icon {
    color: var(--bs-primary);
    opacity: 0.18;
    margin-bottom: 0.75rem;
    display: block;
}

/* Review text — clamped to 4 lines by default */
.testi-text {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.85;
    /* 3 lines: 0.92rem × 1.85 × 3 ≈ 5.11rem */
    max-height: 5.11rem;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    margin-bottom: 0.4rem;
}

.testi-text.is-expanded {
    max-height: 600px;
}

/* Read more / Read less toggle button */
.testi-read-more {
    background: none;
    border: none;
    padding: 0 0 1rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--bs-primary);
    cursor: pointer;
    display: none;
    align-items: center;
    gap: 0.25rem;
    letter-spacing: 0.01em;
    transition: opacity 0.2s ease;
    line-height: 1;
}

.testi-read-more.is-visible {
    display: inline-flex;
}

.testi-read-more:hover {
    opacity: 0.75;
}

.testi-read-more svg {
    transition: transform 0.25s ease;
}

.testi-read-more.is-expanded svg {
    transform: rotate(180deg);
}

/* Author row */
.testi-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--color-border);
}

/* Avatar initials circle */
.testi-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bs-secondary), var(--bs-primary));
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    letter-spacing: 0.03em;
}

.testi-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--bs-secondary);
    margin: 0;
}

.testi-role {
    font-size: 0.78rem;
    color: #94a3b8;
    margin: 0;
}

/* Prev / Next nav buttons */
.testi-nav {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.testi-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid var(--color-border);
    background: #ffffff;
    color: var(--bs-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.testi-btn:hover {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #ffffff;
    transform: scale(1.08);
}

/* Pagination dots */
.testi-pagination {
    bottom: 0 !important;
}

.testi-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #cbd5e1;
    opacity: 1;
    transition: all 0.3s ease;
}

.testi-pagination .swiper-pagination-bullet-active {
    background: var(--bs-primary);
    width: 22px;
    border-radius: 4px;
}

/* ----------------------------------------------------
   INSURANCE PARTNERS SECTION
   ---------------------------------------------------- */
.insurance-section {
    background: #ffffff;
    overflow: hidden;
}

/* Fade-edge mask on both sides */
.ins-marquee-wrap {
    position: relative;
    overflow: hidden;
    padding: 0.5rem 0;
}

.ins-marquee-wrap::before,
.ins-marquee-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.ins-marquee-wrap::before {
    left: 0;
    background: linear-gradient(to right, #ffffff 0%, transparent 100%);
}

.ins-marquee-wrap::after {
    right: 0;
    background: linear-gradient(to left, #ffffff 0%, transparent 100%);
}

/* Scrolling track */
.ins-marquee-track {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    width: max-content;
    animation: insMarquee 32s linear infinite;
}

.ins-marquee-track:hover {
    animation-play-state: paused;
}

@keyframes insMarquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* Individual logo card */
.ins-logo {
    flex-shrink: 0;
    width: 160px;
    height: 90px;
    border-radius: 12px;
    border: 1.5px solid var(--color-border);
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    overflow: hidden;
}

.ins-logo:hover {
    border-color: rgba(8, 138, 199, 0.4);
    box-shadow: 0 6px 20px rgba(8, 138, 199, 0.1);
    transform: translateY(-3px);
}

.ins-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(40%);
    opacity: 0.85;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.ins-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@media (max-width: 576px) {
    .ins-logo { width: 130px; height: 75px; }
}

/* ----------------------------------------------------
   FOOTER
   ---------------------------------------------------- */
.site-footer {
    background: linear-gradient(160deg, #030d2e 0%, var(--bs-secondary) 60%, #0c2b8c 100%);
    color: rgba(255, 255, 255, 0.75);
}

/* Main footer body */
.footer-main {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Logo */
.footer-logo img {
    filter: brightness(1.1);
}

/* Contact items */
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
    font-size: 0.88rem;
    line-height: 1.6;
}

.footer-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(8, 138, 199, 0.18);
    color: var(--bs-primary);
    flex-shrink: 0;
    margin-top: 1px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-link:hover {
    color: #ffffff;
}

/* Social buttons */
.footer-socials {
    display: flex;
    gap: 0.6rem;
}

.footer-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.footer-social-btn:hover {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #ffffff;
    transform: translateY(-3px);
}

/* Column headings */
.footer-heading {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 1.25rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--bs-primary);
    display: inline-block;
}

/* Links list */
.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.footer-links-list li a {
    font-size: 0.87rem;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.25s ease, gap 0.25s ease;
}

.footer-links-list li a::before {
    content: '›';
    font-size: 1.1rem;
    color: var(--bs-primary);
    line-height: 1;
    transition: transform 0.2s ease;
}

.footer-links-list li a:hover {
    color: #ffffff;
    gap: 0.6rem;
}

.footer-links-list li a:hover::before {
    transform: translateX(3px);
}

/* Refer-a-Friend card */
.footer-refer-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem 1.25rem;
}

.footer-refer-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: rgba(8, 138, 199, 0.18);
    color: var(--bs-primary);
    margin-bottom: 1rem;
}

.footer-refer-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.text-primary-light {
    color: #5bc8f0;
}

.footer-refer-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bs-primary);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.6rem 1.3rem;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.footer-refer-btn:hover {
    background: var(--bs-primary-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(8, 138, 199, 0.35);
}

.footer-refer-btn svg {
    transition: transform 0.25s ease;
}

.footer-refer-btn:hover svg {
    transform: translateX(3px);
}

/* Bottom copyright bar */
.footer-bottom {
    padding: 1.25rem 0;
    background: rgba(0, 0, 0, 0.25);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
}

.footer-intro {
    font-size: 0.875rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.60);
    margin-bottom: 1.5rem;
}

.footer-intro-link {
    color: var(--bs-primary);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.footer-intro-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* ====================================================
   PAGE PRELOADER
   ==================================================== */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: linear-gradient(135deg, #030d2e 0%, var(--bs-secondary) 60%, #0c2b8c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.55s ease, visibility 0.55s ease;
}

.preloader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

/* Tooth icon — pulse + float */
.preloader__icon {
    position: relative;
    z-index: 2;
    animation: preloaderFloat 2s ease-in-out infinite;
    filter: drop-shadow(0 8px 24px rgba(8, 138, 199, 0.5));
}

@keyframes preloaderFloat {
    0%, 100% { transform: translateY(0);    }
    50%       { transform: translateY(-10px); }
}

/* Spinning ring around icon */
.preloader__ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 96px;
    height: 96px;
    margin-top: -68px; /* center on icon */
    margin-left: -48px;
    border-radius: 50%;
    border: 2.5px solid transparent;
    border-top-color: var(--bs-primary);
    border-right-color: rgba(8, 138, 199, 0.3);
    animation: preloaderSpin 1s linear infinite;
}

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

/* Brand name */
.preloader__text {
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    animation: preloaderPulse 1.6s ease-in-out infinite;
}

@keyframes preloaderPulse {
    0%, 100% { opacity: 0.5; }
    50%       { opacity: 1;   }
}

/* ====================================================
   FLOATING ACTION BUTTONS
   Back to Top
   ==================================================== */

/* --- Back to Top FAB --- */
.fab-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1050;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--bs-primary);
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(8, 138, 199, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity 0.35s ease,
                visibility 0.35s ease,
                transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.25s ease;
}

.fab-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fab-top:hover {
    background: var(--bs-primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(8, 138, 199, 0.5);
}

/* ====================================================
   CHATBOT WIDGET
   ==================================================== */

.chatbot {
    position: fixed;
    bottom: 88px;
    right: 24px;
    z-index: 1100;
}

/* Toggle button */
.chatbot__toggle {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bs-secondary);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(6, 28, 99, 0.4);
    transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s ease, background 0.25s ease;
}

.chatbot__toggle:hover {
    background: var(--bs-primary);
    transform: scale(1.08);
    box-shadow: 0 10px 32px rgba(8,138,199,0.45);
}

.chatbot__toggle-open,
.chatbot__toggle-close {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.chatbot__toggle-close {
    opacity: 0;
    transform: rotate(-90deg) scale(0.7);
}

.chatbot.is-open .chatbot__toggle-open {
    opacity: 0;
    transform: rotate(90deg) scale(0.7);
}

.chatbot.is-open .chatbot__toggle-close {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* Notification badge */
.chatbot__badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e53e3e;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.chatbot.is-open .chatbot__badge {
    opacity: 0;
    transform: scale(0);
}

/* Chat window */
.chatbot__window {
    position: absolute;
    bottom: 68px;
    right: 0;
    width: 340px;
    max-height: 500px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(6,28,99,0.18), 0 4px 16px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.96);
    transform-origin: bottom right;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s cubic-bezier(0.16,1,0.3,1);
}

.chatbot.is-open .chatbot__window {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Header */
.chatbot__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.1rem;
    background: linear-gradient(135deg, var(--bs-secondary) 0%, var(--bs-primary) 100%);
    color: #fff;
    flex-shrink: 0;
}

.chatbot__header-info {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.chatbot__avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chatbot__name {
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.chatbot__status {
    font-size: 0.73rem;
    margin: 0;
    opacity: 0.85;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 2px;
}

.chatbot__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    display: inline-block;
    flex-shrink: 0;
}

.chatbot__close {
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.chatbot__close:hover { background: rgba(255,255,255,0.3); }

/* Messages */
.chatbot__messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    scroll-behavior: smooth;
    min-height: 120px;
}

.chatbot__messages::-webkit-scrollbar { width: 4px; }
.chatbot__messages::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.12); border-radius: 4px; }

/* Message bubbles */
.chatbot__msg {
    max-width: 84%;
    padding: 0.6rem 0.9rem;
    border-radius: 16px;
    font-size: 0.82rem;
    line-height: 1.6;
    animation: chatMsgIn 0.25s ease;
}

.chatbot__msg a { color: var(--bs-primary); font-weight: 600; }
.chatbot__msg--bot a:hover { text-decoration: underline; }

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

.chatbot__msg--bot {
    background: #f0f4ff;
    color: #1a2744;
    border-bottom-left-radius: 4px;
    align-self: flex-start;
}

.chatbot__msg--user {
    background: var(--bs-primary);
    color: #fff;
    border-bottom-right-radius: 4px;
    align-self: flex-end;
}

/* Typing dots */
.chatbot__typing {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0.6rem 0.9rem;
    background: #f0f4ff;
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    align-self: flex-start;
    width: fit-content;
}

.chatbot__typing span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--bs-primary);
    animation: chatTyping 1.2s ease infinite;
}

.chatbot__typing span:nth-child(2) { animation-delay: 0.2s; }
.chatbot__typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes chatTyping {
    0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
    40%            { opacity: 1;   transform: scale(1.1); }
}

/* Quick replies */
.chatbot__quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0 1rem 0.75rem;
    flex-shrink: 0;
}

.chatbot__qr {
    background: transparent;
    border: 1.5px solid var(--bs-primary);
    color: var(--bs-primary);
    border-radius: 20px;
    padding: 0.28rem 0.72rem;
    font-size: 0.77rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.chatbot__qr:hover {
    background: var(--bs-primary);
    color: #fff;
}

/* Input row */
.chatbot__footer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    border-top: 1px solid rgba(0,0,0,0.07);
    flex-shrink: 0;
}

.chatbot__input {
    flex: 1;
    border: 1.5px solid rgba(0,0,0,0.1);
    border-radius: 20px;
    padding: 0.48rem 0.9rem;
    font-size: 0.82rem;
    outline: none;
    transition: border-color 0.2s ease;
    font-family: inherit;
    background: #fafafa;
}

.chatbot__input:focus { border-color: var(--bs-primary); background: #fff; }

.chatbot__send {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bs-primary);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}

.chatbot__send:hover { background: var(--bs-secondary); transform: scale(1.1); }

@media (max-width: 575.98px) {
    .chatbot { bottom: 80px; right: 16px; }
    .chatbot__window { width: calc(100vw - 32px); right: 0; }
}

/* ====================================================
   RESPONSIVE OVERRIDES
   xs < 576 | sm 576 | md 768 | lg 992 | xl 1200
   ==================================================== */

/* --- Container tighter on phones --- */
@media (max-width: 575.98px) {
    .container-90 {
        width: 95% !important;
        max-width: 95% !important;
    }
}

/* ---- HEADER TOP BAR ---- */
@media (max-width: 575.98px) {
    .header-top {
        padding-top: 0.35rem !important;
        padding-bottom: 0.35rem !important;
    }
    /* Hide address on phones; keep phone number */
    .header-top .me-3 { display: none !important; }
    .header-top .col-12 { font-size: 0.78rem; }
}

/* ---- HERO SLIDER ---- */
@media (max-width: 575.98px) {
    .slide-content {
        padding: 0 5%;
        max-width: 100%;
    }
    .slide-desc { max-width: 100%; }
}

/* ---- 5-COL FEATURES (dark band) ---- */
@media (max-width: 575.98px) {
    .feature-card { padding: 1.5rem 1.2rem; }
    .feature-icon-wrap { width: 52px; height: 52px; }
}

/* Center lone card in last row on sm–lg */
@media (min-width: 576px) and (max-width: 1199.98px) {
    .features .row { justify-content: center; }
}

/* ---- ABOUT SECTION ---- */
/* Tablet: reduce image height, move badges inside image bounds */
@media (max-width: 991.98px) {
    .about-img { height: 340px; }
    .about-img-wrap--alt .about-img { height: 360px; }

    .about-badge--top    { top: 14px;    right: 14px; }
    .about-badge--bottom { bottom: 14px; left: 14px;  }
    .about-floating-card { bottom: 14px; right: 14px; }
}

/* Mobile: shorter image, hide floating badges to avoid clutter */
@media (max-width: 575.98px) {
    .about-img,
    .about-img-wrap--alt .about-img { height: 230px; }

    .about-badge, .about-floating-card { display: none; }

    .about-btn { width: 100%; justify-content: center; }
    .about-desc { font-size: 0.95rem; }
}

/* ---- GALLERY ---- */
/* Already responsive (2-col ≤768, 1-col ≤480) */

/* ---- ADVICE SECTION ---- */
/* Stack call CTA vertically on very small phones */
@media (max-width: 480px) {
    .advice-cta {
        flex-direction: column;
        gap: 0.6rem;
        padding: 1.25rem 1.5rem;
        border-radius: 20px;
        text-align: center;
    }
    .advice-cta__text { align-items: center; }
    .advice-cta__icon { width: 44px; height: 44px; }
}

/* ---- 3-COL FEATURES (light) ---- */
@media (max-width: 575.98px) {
    .f3-card { padding: 1.75rem 1.5rem; }
    .f3-number { font-size: 2.8rem; }
}

/* ---- TESTIMONIALS ---- */
@media (max-width: 575.98px) {
    .testi-card { padding: 1.5rem 1.25rem 1.25rem; }
}

/* ---- FOOTER ---- */
/* Reduce vertical gap between stacked footer columns on mobile */
@media (max-width: 767.98px) {
    .footer-main .row { row-gap: 1.75rem !important; }
}

@media (max-width: 575.98px) {
    .site-footer .py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    .footer-heading { margin-bottom: 0.75rem; }
    .footer-socials { flex-wrap: wrap; }
    .footer-logo img { height: 60px; }
}

/* ---- SECTION HEADINGS & TYPOGRAPHY ---- */
/* Already using clamp() — scaling handled automatically */

/* ---- MODALS ---- */
@media (max-width: 575.98px) {
    .modal-dialog { margin: 0.5rem; }
    .modal-body { padding: 1.25rem; }
    .modal-header { padding: 1rem 1.25rem; }
    .modal-footer { padding: 1rem 1.25rem 1.25rem; }
}

/* ====================================================
   SUB-PAGE HERO (Inner page banner)
   ==================================================== */
.page-hero {
    position: relative;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.page-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(6, 28, 99, 0.88) 0%, rgba(8, 138, 199, 0.65) 100%);
}

/* Brand-colour gradient variant — no photo needed */
.page-hero--branded {
    background: linear-gradient(135deg, #061c63 0%, #0c2b8c 50%, #088ac7 100%);
}

.page-hero--branded .page-hero__overlay {
    background: transparent;
}

.page-hero__content {
    position: relative;
    z-index: 1;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.page-hero__title {
    color: #fff;
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 0.6rem;
    letter-spacing: -0.02em;
}

.page-hero__breadcrumb {
    margin-bottom: 0;
    --bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.45);
    --bs-breadcrumb-item-active-color: #fff;
}

.page-hero__breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.page-hero__breadcrumb .breadcrumb-item a:hover {
    color: #fff;
}

.page-hero__breadcrumb .breadcrumb-item.active {
    color: #fff;
    font-size: 0.875rem;
}

.page-hero__breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.45);
}

/* ====================================================
   WHY CHOOSE US CARDS (About Page)
   ==================================================== */
.why-card {
    padding: 2rem 1.75rem;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--color-border);
    height: 100%;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(6, 28, 99, 0.08);
    border-color: rgba(8, 138, 199, 0.3);
}

.why-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--bs-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--bs-primary);
    flex-shrink: 0;
}

.why-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--bs-secondary);
    margin-bottom: 0.75rem;
}

.why-card__desc {
    font-size: 0.925rem;
    color: #64748b;
    line-height: 1.75;
    margin-bottom: 0;
}

/* ====================================================
   SPECIALS SECTION (About Page)
   ==================================================== */
.specials-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.4rem;
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    box-shadow: 0 2px 12px rgba(6, 28, 99, 0.04);
}

.specials-stat__icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--bs-primary-light);
    color: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.specials-stat__value {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--bs-secondary);
    line-height: 1;
}

.specials-stat__label {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
    margin-top: 2px;
}

/* ====================================================
   ABOUT PAGE — RESPONSIVE
   ==================================================== */

/* --- Stats grid (Section 02) ---
   Desktop (lg+) : single flex column inside col-lg-5
   Tablet (sm–md): 2 × 2 grid
   Mobile (xs)   : single column                        */
.specials-stats-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 576px) and (max-width: 991.98px) {
    .specials-stats-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
}

/* --- Action buttons (Section 02) ---
   Full-width stacked on phones                          */
@media (max-width: 575.98px) {
    .about-action-btns {
        flex-direction: column;
    }
    .about-action-btns .btn {
        width: 100%;
        justify-content: center;
    }
}

/* --- Page hero ---                                     */
@media (max-width: 767.98px) {
    .page-hero { min-height: 240px; }
}

@media (max-width: 575.98px) {
    .page-hero { min-height: 200px; }
    .page-hero__title { font-size: 1.65rem; }
    .page-hero__content { padding-top: 1.5rem; padding-bottom: 1.5rem; }
}

/* --- Why cards ---                                     */
@media (max-width: 575.98px) {
    .why-card { padding: 1.5rem 1.25rem; }
    .why-card__icon { width: 48px; height: 48px; }
}

/* --- Stat cards ---                                    */
@media (max-width: 575.98px) {
    .specials-stat { padding: 0.85rem 1rem; }
    .specials-stat__icon { width: 38px; height: 38px; }
    .specials-stat__value { font-size: 1.2rem; }
    .specials-stat__label { font-size: 0.76rem; }
}

/* --- Section 03 CTA button ---                        */
@media (max-width: 575.98px) {
    .subpage .btn-lg {
        width: 100%;
        justify-content: center;
        font-size: 0.95rem;
        padding: 0.7rem 1.2rem;
    }
}

.subpage{
    min-height:600px;
}

/* ====================================================
   TECH PANEL — Modern Clinic Page
   ==================================================== */
.tech-panel {
    background: linear-gradient(135deg, #061c63 0%, #0c2b8c 55%, #088ac7 100%);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    height: 100%;
}

/* Decorative circles */
.tech-panel::before,
.tech-panel::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.tech-panel::before {
    width: 220px;
    height: 220px;
    background: rgba(255, 255, 255, 0.05);
    top: -60px;
    right: -60px;
}

.tech-panel::after {
    width: 160px;
    height: 160px;
    background: rgba(255, 255, 255, 0.04);
    bottom: -50px;
    left: -40px;
}

.tech-panel__icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.tech-panel__label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 0.4rem;
    position: relative;
    z-index: 1;
}

.tech-panel__heading {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.6rem;
    line-height: 1.3;
    position: relative;
    z-index: 1;
}

.tech-panel__sub {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.65;
    margin-bottom: 1.75rem;
    position: relative;
    z-index: 1;
}

.tech-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
}

.tech-stat {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 0.9rem 1rem;
}

.tech-stat__value {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 4px;
}

.tech-stat__label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.68);
    font-weight: 500;
    line-height: 1.3;
}

/* Feature pill list */
.tech-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.tech-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.925rem;
    color: #475569;
    line-height: 1.5;
}

.tech-features li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.tech-features__icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bs-primary-light);
    color: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Section divider line */
.section-rule {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border) 20%, var(--color-border) 80%, transparent);
    margin: 0;
    border: none;
}

/* ---- Tech panel responsive ---- */
@media (max-width: 991.98px) {
    .tech-panel { padding: 2rem 1.75rem; }
    .tech-panel__heading { font-size: 1.15rem; }
}

@media (max-width: 575.98px) {
    .tech-panel { padding: 1.75rem 1.4rem; border-radius: 14px; }
    .tech-stats { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
    .tech-stat__value { font-size: 1.15rem; }
    .tech-panel__icon { width: 52px; height: 52px; border-radius: 12px; }
}

/* ====================================================
   DOCTORS PAGE
   ==================================================== */

/* Intro strip */
.crew-intro {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: #64748b;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Photo wrapper */
.doctor-photo-wrap {
    position: relative;
}

.doctor-img-clip {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 56px rgba(6, 28, 99, 0.13);
}

.doctor-img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.5s ease;
}

.doctor-photo-wrap:hover .doctor-img {
    transform: scale(1.03);
}

/* Floating name tag */
.doctor-tag {
    position: absolute;
    bottom: -20px;
    left: 20px;
    background: #fff;
    border-radius: 14px;
    padding: 0.85rem 1.2rem;
    box-shadow: 0 10px 30px rgba(6, 28, 99, 0.12);
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 230px;
    z-index: 2;
}

.doctor-tag__avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #061c63, #088ac7);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.825rem;
    font-weight: 800;
    flex-shrink: 0;
    letter-spacing: 0.02em;
}

.doctor-tag__name {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--bs-secondary);
    line-height: 1.2;
}

.doctor-tag__role {
    font-size: 0.72rem;
    color: var(--bs-primary);
    font-weight: 600;
    margin-top: 2px;
}

/* Bio text */
.doctor-title {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 800;
    color: var(--bs-secondary);
    line-height: 1.25;
    margin-bottom: 0.35rem;
}

.doctor-role {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--bs-primary);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.doctor-role::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 2px;
    background: var(--bs-primary);
    border-radius: 2px;
}

/* Credential pills */
.doctor-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.doctor-credential {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.32rem 0.85rem;
    background: var(--bs-primary-light);
    color: var(--bs-primary);
    border-radius: 50px;
    font-size: 0.775rem;
    font-weight: 600;
    border: 1px solid rgba(8, 138, 199, 0.18);
}

.doctor-credential svg {
    flex-shrink: 0;
}

/* Section separator */
.doctor-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border) 20%, var(--color-border) 80%, transparent);
    margin: 0;
    border: none;
}

/* Responsive */
@media (max-width: 991.98px) {
    .doctor-img { height: 400px; }
    .doctor-tag { bottom: 14px; left: 14px; min-width: 200px; }
}

@media (max-width: 575.98px) {
    .doctor-img { height: 300px; }
    .doctor-tag { display: none; }
    .doctor-img-clip { border-radius: 14px; }
}

/* ====================================================
   FAIR PRICES PAGE
   ==================================================== */

/* Intro value pill */
.price-value-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--color-border);
}

.price-value-item__icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--bs-primary-light);
    color: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.price-value-item__title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--bs-secondary);
    margin-bottom: 2px;
}

.price-value-item__sub {
    font-size: 0.78rem;
    color: #64748b;
}

/* Base price card */
.price-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    height: 100%;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(6, 28, 99, 0.08);
    border-color: rgba(8, 138, 199, 0.3);
}

/* Featured (gradient) variant */
.price-card--featured {
    background: linear-gradient(135deg, #061c63 0%, #0c2b8c 55%, #088ac7 100%);
    border-color: transparent;
}

.price-card--featured:hover {
    box-shadow: 0 20px 40px rgba(6, 28, 99, 0.25);
    border-color: transparent;
}

/* Free / highlight variant */
.price-card--free {
    border-color: rgba(22, 163, 74, 0.3);
    background: rgba(22, 163, 74, 0.03);
}

/* Amount display */
.price-card__amount {
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 800;
    color: var(--bs-secondary);
    line-height: 1;
    margin-bottom: 0.15rem;
}

.price-card--featured .price-card__amount { color: #fff; }
.price-card--free .price-card__amount { color: #16a34a; }

.price-card__period {
    font-size: 0.78rem;
    color: #94a3b8;
    font-weight: 500;
}

.price-card--featured .price-card__period { color: rgba(255,255,255,0.6); }

/* Title & desc */
.price-card__title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--bs-secondary);
    margin-bottom: 0.35rem;
    margin-top: 0.75rem;
}

.price-card--featured .price-card__title { color: #fff; }
.price-card--free .price-card__title { color: #15803d; }

.price-card__desc {
    font-size: 0.845rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 0;
}

.price-card--featured .price-card__desc { color: rgba(255,255,255,0.75); }

/* Feature list inside card */
.price-card__list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.5rem;
}

.price-card__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.4rem 0;
    font-size: 0.845rem;
    color: #475569;
    border-bottom: 1px solid var(--color-border);
}

.price-card__list li:last-child { border-bottom: none; padding-bottom: 0; }

.price-card--featured .price-card__list li {
    color: rgba(255,255,255,0.85);
    border-bottom-color: rgba(255,255,255,0.12);
}

.price-card__list-icon {
    color: var(--bs-primary);
    flex-shrink: 0;
    margin-top: 1px;
}

.price-card--featured .price-card__list-icon { color: rgba(255,255,255,0.8); }

/* Top badge ribbon */
.price-card__badge {
    display: inline-block;
    padding: 0.25rem 0.85rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
}

.price-card__badge--free   { background: rgba(22,163,74,0.1);  color: #16a34a; border: 1px solid rgba(22,163,74,0.2); }
.price-card__badge--pop    { background: var(--bs-primary);    color: #fff; }
.price-card__badge--light  { background: rgba(8,138,199,0.1); color: var(--bs-primary); border: 1px solid rgba(8,138,199,0.2); }
.price-card__badge--off    { background: rgba(239,68,68,0.1);  color: #dc2626; border: 1px solid rgba(239,68,68,0.2); }
.price-card__badge--cbct   { background: var(--bs-secondary);  color: #fff; }

/* Section sub-heading */
.offers-heading {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 800;
    color: var(--bs-secondary);
    margin-bottom: 0.35rem;
}

/* Wide CBCT card */
.cbct-card {
    background: linear-gradient(135deg, #061c63 0%, #0c2b8c 55%, #088ac7 100%);
    border-radius: 16px;
    padding: 2rem 2.25rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cbct-card__amount {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    white-space: nowrap;
}

.cbct-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.3rem;
}

.cbct-card__desc {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 0;
}

/* Price value item aliases */
.price-value-item__label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--bs-secondary);
    margin-bottom: 2px;
}

.price-value-item__desc {
    font-size: 0.78rem;
    color: #64748b;
}

/* Small icon circle inside card header */
.price-card__icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--bs-primary-light);
    color: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Light blue badge variant (for use on white cards) */
.price-card__badge--light {
    background: rgba(8, 138, 199, 0.1);
    color: var(--bs-primary);
    border: 1px solid rgba(8, 138, 199, 0.2);
}

/* CBCT card inner layout */
.cbct-card__icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.cbct-card__body {
    flex: 1;
    min-width: 220px;
}

.cbct-card__eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 0.3rem;
}

.cbct-card__note {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.3rem;
}

.cbct-card__pricing {
    text-align: center;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 575.98px) {
    .price-card { padding: 1.4rem 1.2rem; }
    .price-card__amount { font-size: 1.9rem; }
    .cbct-card { flex-direction: column; gap: 1rem; text-align: center; }
    .cbct-card__amount { font-size: 2.2rem; }
    .cbct-card__body { min-width: unset; }
    .cbct-card__icon { margin: 0 auto; }
}

/* ====================================================
   NEW TECHNOLOGY PAGE · Section Images
   ==================================================== */
.newtec-img-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 56px rgba(6, 28, 99, 0.14);
}

.newtec-img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s ease;
}

.newtec-img-wrap:hover .newtec-img {
    transform: scale(1.04);
}

.newtec-img-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 1.75rem;
    background: linear-gradient(to top, rgba(6, 28, 99, 0.82) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
}

.newtec-img-caption__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.newtec-img-caption__label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 0.2rem;
}

.newtec-img-caption__title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

@media (max-width: 991.98px) {
    .newtec-img { height: 360px; }
}

@media (max-width: 575.98px) {
    .newtec-img { height: 260px; border-radius: 14px; }
}

/* ====================================================
   PREVENTIVE DENTISTRY PAGE
   ==================================================== */
.prevdent-service-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--bs-primary-light);
    color: var(--bs-primary);
    font-size: 1.1rem;
    font-weight: 800;
}

.prevdent-service-badge--kids {
    background: rgba(22, 163, 74, 0.1);
    color: #16a34a;
}

.prevdent-service-title {
    font-size: clamp(1.3rem, 2.5vw, 1.7rem);
    font-weight: 800;
    color: var(--bs-secondary);
    margin-bottom: 1rem;
}

.prevdent-kids-tips {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    overflow: hidden;
}

.prevdent-kids-tips__header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.25rem;
    background: rgba(22, 163, 74, 0.07);
    color: #15803d;
    font-size: 0.875rem;
    font-weight: 700;
    border-bottom: 1px solid rgba(22, 163, 74, 0.15);
}

.prevdent-kids-tips__list {
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
}

.prevdent-kids-tips__list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 1.25rem;
    font-size: 0.875rem;
    color: #475569;
    border-bottom: 1px solid var(--color-border);
}

.prevdent-kids-tips__list li:last-child { border-bottom: none; }

.prevdent-kids-tips__list li::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #16a34a;
    flex-shrink: 0;
}

/* ====================================================
   PEDIATRIC DENTISTRY PAGE
   ==================================================== */

/* Service Cards */
.pedi-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.pedi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(6, 28, 99, 0.08);
    border-color: rgba(8, 138, 199, 0.3);
}

.pedi-card--highlight {
    background: linear-gradient(135deg, #061c63 0%, #0c2b8c 55%, #088ac7 100%);
    border-color: transparent;
}

.pedi-card--highlight:hover {
    box-shadow: 0 20px 40px rgba(6, 28, 99, 0.25);
    border-color: transparent;
}

.pedi-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--bs-primary-light);
    color: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.pedi-card__icon--light {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.pedi-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--bs-secondary);
    margin-bottom: 0.5rem;
}

.pedi-card__desc {
    font-size: 0.86rem;
    color: #64748b;
    line-height: 1.65;
    margin: 0;
}

/* Stats grid inside Why section */
.pedi-stat {
    background: var(--color-light-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1rem 1.1rem;
    text-align: center;
}

.pedi-stat__value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--bs-primary);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.pedi-stat__label {
    font-size: 0.775rem;
    color: #64748b;
    font-weight: 500;
}

/* Age guide cards */
.pedi-age-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 1.5rem 1.25rem;
    height: 100%;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pedi-age-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(6, 28, 99, 0.08);
}

.pedi-age-card__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #061c63 0%, #088ac7 100%);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 800;
    margin: 0 auto 1rem;
}

.pedi-age-card__title {
    font-size: 0.975rem;
    font-weight: 700;
    color: var(--bs-secondary);
    margin-bottom: 0.5rem;
}

.pedi-age-card__desc {
    font-size: 0.84rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 575.98px) {
    .pedi-card { padding: 1.4rem 1.2rem; }
    .pedi-age-card { padding: 1.25rem 1rem; }
}

/* ====================================================
   ROOT CANAL TREATMENT PAGE
   ==================================================== */

/* Benefit cards */
.rct-benefit-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    height: 100%;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.rct-benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(6, 28, 99, 0.08);
    border-color: rgba(8, 138, 199, 0.3);
}

.rct-benefit-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--bs-primary-light);
    color: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.rct-benefit-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--bs-secondary);
    margin-bottom: 0.5rem;
}

.rct-benefit-card__desc {
    font-size: 0.86rem;
    color: #64748b;
    line-height: 1.65;
    margin: 0;
}

/* FAQ cards */
.rct-faq-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 2rem 1.75rem;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.rct-faq-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--bs-secondary) 0%, var(--bs-primary) 100%);
}

.rct-faq-card__number {
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(8, 138, 199, 0.12);
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -2px;
}

.rct-faq-card__title {
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    font-weight: 700;
    color: var(--bs-secondary);
    margin-bottom: 0.75rem;
}

.rct-faq-card__text {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Symptoms list */
.rct-symptoms {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

.rct-symptom {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.9rem 1.25rem;
    border-bottom: 1px solid var(--color-border);
    transition: background 0.2s ease;
}

.rct-symptom:last-child { border-bottom: none; }

.rct-symptom:hover { background: rgba(8, 138, 199, 0.03); }

.rct-symptom__icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(239, 68, 68, 0.08);
    color: #dc2626;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.rct-symptom__title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--bs-secondary);
    margin-bottom: 0.15rem;
}

.rct-symptom__desc {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.5;
}

/* Cost pills */
.rct-cost-pill {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 1rem;
    background: var(--color-light-bg);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--bs-secondary);
}

.rct-cost-pill svg {
    color: var(--bs-primary);
    flex-shrink: 0;
}

@media (max-width: 575.98px) {
    .rct-benefit-card { padding: 1.4rem 1.2rem; }
    .rct-faq-card { padding: 1.5rem 1.25rem; }
    .rct-faq-card__number { font-size: 2rem; }
    .rct-symptom { padding: 0.75rem 1rem; }
}

/* =============================================
   COMPLETE & PARTIAL DENTURES PAGE
   ============================================= */

/* Type overview cards */
.dent-type-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 2rem 1.5rem 1.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    position: relative;
    overflow: hidden;
}

.dent-type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--bs-primary);
    border-radius: 16px 16px 0 0;
}

.dent-type-card--partial::before {
    background: var(--bs-secondary);
}

.dent-type-card--precision::before {
    background: linear-gradient(90deg, var(--bs-secondary), var(--bs-primary));
}

.dent-type-card:hover {
    box-shadow: 0 12px 36px rgba(6, 28, 99, 0.1);
    transform: translateY(-4px);
}

.dent-type-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(8, 138, 199, 0.1);
    color: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dent-type-card--partial .dent-type-card__icon {
    background: rgba(6, 28, 99, 0.08);
    color: var(--bs-secondary);
}

.dent-type-card--precision .dent-type-card__icon {
    background: linear-gradient(135deg, rgba(6,28,99,0.08), rgba(8,138,199,0.12));
    color: var(--bs-primary);
}

.dent-type-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--bs-secondary);
    margin: 0;
}

.dent-type-card__desc {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.65;
    margin: 0;
    flex: 1;
}

.dent-type-card__tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    background: rgba(8, 138, 199, 0.1);
    color: var(--bs-primary);
    align-self: flex-start;
    margin-top: 0.25rem;
}

.dent-type-card--partial .dent-type-card__tag {
    background: rgba(6, 28, 99, 0.08);
    color: var(--bs-secondary);
}

.dent-type-card--precision .dent-type-card__tag {
    background: linear-gradient(90deg, var(--bs-secondary), var(--bs-primary));
    color: #fff;
}

/* Comparison cards (Traditional vs Immediate) */
.dent-compare-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(6, 28, 99, 0.05);
    transition: box-shadow 0.25s ease;
}

.dent-compare-card:hover {
    box-shadow: 0 10px 32px rgba(6, 28, 99, 0.12);
}

.dent-compare-card__header {
    padding: 1.5rem 1.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.dent-compare-card__header--traditional {
    background: linear-gradient(135deg, #061c63 0%, #0c2b8c 100%);
    color: #fff;
}

.dent-compare-card__header--immediate {
    background: linear-gradient(135deg, #087ab8 0%, #088ac7 100%);
    color: #fff;
}

.dent-compare-card__header-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dent-compare-card__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.dent-compare-card__badge--immediate {
    background: rgba(255, 255, 255, 0.25);
}

.dent-compare-card__body {
    padding: 1.5rem 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.dent-compare-card__title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--bs-primary);
    margin: 0 0 0.25rem;
}

.dent-compare-card__text {
    font-size: 0.875rem;
    color: #334155;
    line-height: 1.65;
    margin: 0;
}

.dent-compare-card__note {
    margin-top: auto;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.8rem;
    color: #475569;
    background: var(--color-light-bg);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.dent-compare-card__note--warning {
    background: rgba(8, 138, 199, 0.05);
    border-color: rgba(8, 138, 199, 0.2);
    color: #0369a1;
}

/* Partial denture options (A / B / C) */
.dent-partial-option {
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
    padding: 1.1rem 1.25rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    transition: box-shadow 0.2s ease;
}

.dent-partial-option:hover {
    box-shadow: 0 6px 20px rgba(6, 28, 99, 0.08);
}

.dent-partial-option__num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bs-secondary), var(--bs-primary));
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dent-partial-option__title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--bs-secondary);
    margin: 0 0 0.2rem;
}

.dent-partial-option__desc {
    font-size: 0.845rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 575.98px) {
    .dent-type-card { padding: 1.5rem 1.2rem 1.4rem; }
    .dent-compare-card__header { padding: 1.2rem 1.25rem; }
    .dent-compare-card__body { padding: 1.25rem; }
    .dent-partial-option { padding: 0.9rem 1rem; }
}

/* =============================================
   COSMETIC DENTISTRY PAGE
   ============================================= */

/* Intro check pills */
.cosm-intro-pill {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 1rem;
    background: rgba(8, 138, 199, 0.06);
    border: 1px solid rgba(8, 138, 199, 0.18);
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--bs-secondary);
}

.cosm-intro-pill svg {
    color: var(--bs-primary);
    flex-shrink: 0;
}

/* Service cards */
.cosm-service-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 2rem 1.6rem 1.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    position: relative;
    overflow: hidden;
}

.cosm-service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--bs-primary);
    border-radius: 0 0 16px 16px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.cosm-service-card:hover {
    box-shadow: 0 12px 36px rgba(6, 28, 99, 0.1);
    transform: translateY(-4px);
}

.cosm-service-card:hover::after { opacity: 1; }

.cosm-service-card--accent {
    background: linear-gradient(160deg, rgba(6, 28, 99, 0.03) 0%, rgba(8, 138, 199, 0.04) 100%);
    border-color: rgba(8, 138, 199, 0.2);
}

.cosm-service-card__icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: rgba(8, 138, 199, 0.1);
    color: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cosm-service-card__icon--accent {
    background: rgba(6, 28, 99, 0.08);
    color: var(--bs-secondary);
}

.cosm-service-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--bs-secondary);
    margin: 0.25rem 0 0;
}

.cosm-service-card__desc {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.65;
    margin: 0;
    flex: 1;
}

.cosm-service-card__footer { margin-top: 0.5rem; }

.cosm-service-card__tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.28rem 0.7rem;
    border-radius: 50px;
    background: rgba(8, 138, 199, 0.1);
    color: var(--bs-primary);
}

.cosm-service-card__tag--accent {
    background: rgba(6, 28, 99, 0.08);
    color: var(--bs-secondary);
}

/* 3-step process section */
.cosm-process-section {
    background: var(--color-light-bg);
}

.cosm-step {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    padding: 2.25rem 1.75rem 2rem;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.cosm-step:hover {
    box-shadow: 0 10px 32px rgba(6, 28, 99, 0.1);
    transform: translateY(-4px);
}

.cosm-step--featured {
    background: linear-gradient(160deg, var(--bs-secondary) 0%, #0c2b8c 60%, #088ac7 100%);
    border-color: transparent;
    color: #fff;
}

/* Connector lines between steps */
.cosm-step__connector {
    position: absolute;
    top: 50px;
    width: 50%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-border), rgba(8, 138, 199, 0.3));
    z-index: 0;
}

.cosm-step__connector--right { right: -25%; }
.cosm-step__connector--left  { left: -25%; }

.cosm-step--featured .cosm-step__connector {
    background: linear-gradient(90deg, rgba(8,138,199,0.4), rgba(8,138,199,0.1));
}

.cosm-step__num {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--bs-primary);
    background: rgba(8, 138, 199, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    margin-bottom: 0.25rem;
}

.cosm-step--featured .cosm-step__num {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.cosm-step__icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: rgba(8, 138, 199, 0.08);
    color: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cosm-step__icon--featured {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.cosm-step__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--bs-secondary);
    margin: 0;
}

.cosm-step--featured .cosm-step__title { color: #fff; }

.cosm-step__desc {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.65;
    margin: 0;
}

.cosm-step--featured .cosm-step__desc { color: rgba(255, 255, 255, 0.82); }

@media (max-width: 767.98px) {
    .cosm-step { padding: 1.75rem 1.4rem 1.6rem; }
    .cosm-step__connector { display: none !important; }
}

@media (max-width: 575.98px) {
    .cosm-service-card { padding: 1.6rem 1.25rem 1.5rem; }
    .cosm-intro-pill { font-size: 0.825rem; }
}

/* =============================================
   DENTAL FILLINGS PAGE
   ============================================= */

.fill-card {
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 1.6rem 1.5rem;
    height: 100%;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.fill-card:hover {
    box-shadow: 0 10px 30px rgba(6, 28, 99, 0.09);
    transform: translateY(-3px);
}

.fill-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fill-card__icon--gold     { background: rgba(202, 155, 36, 0.12); color: #b8870d; }
.fill-card__icon--silver   { background: rgba(100, 116, 139, 0.12); color: #64748b; }
.fill-card__icon--composite{ background: rgba(8, 138, 199, 0.10); color: var(--bs-primary); }
.fill-card__icon--porcelain{ background: rgba(6, 28, 99, 0.08); color: var(--bs-secondary); }

.fill-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--bs-secondary);
    margin: 0 0 0.35rem;
}

.fill-card__desc {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 575.98px) {
    .fill-card { padding: 1.25rem 1.1rem; }
}

/* =============================================
   INVISALIGN PAGE
   ============================================= */

.invis-stat {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 2.25rem 1.5rem 2rem;
    text-align: center;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.invis-stat:hover {
    box-shadow: 0 10px 32px rgba(6, 28, 99, 0.1);
    transform: translateY(-4px);
}

.invis-stat--featured {
    background: linear-gradient(160deg, var(--bs-secondary) 0%, #0c2b8c 55%, #088ac7 100%);
    border-color: transparent;
}

.invis-stat__value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--bs-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.invis-stat__value span {
    font-size: 1.75rem;
    font-weight: 700;
}

.invis-stat--featured .invis-stat__value {
    color: #fff;
}

.invis-stat__label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
}

.invis-stat--featured .invis-stat__label {
    color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 575.98px) {
    .invis-stat { padding: 1.75rem 1.25rem 1.5rem; }
    .invis-stat__value { font-size: 2.5rem; }
}

/* =============================================
   3D CBCT PAGE
   ============================================= */

/* Machine image container (white-bg product photo) */
.cbct-machine-wrap {
    position: relative;
    background: #f8fafc;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    overflow: hidden;
    padding: 2.5rem 2rem 0;
    text-align: center;
}

.btn{
    line-height: 200%;
}

.cbct-machine-img {   
    transition: transform 0.4s ease;
}

.cbct-machine-wrap:hover .cbct-machine-img {
    transform: scale(1.04);
}

/* Use-case cards (icon + text) */
.cbct-use-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 1.4rem 1.25rem;
    height: 100%;
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.cbct-use-card:hover {
    box-shadow: 0 8px 24px rgba(6, 28, 99, 0.09);
    transform: translateY(-3px);
}

.cbct-use-card__icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: rgba(8, 138, 199, 0.1);
    color: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cbct-use-card__text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--bs-secondary);
    line-height: 1.55;
    margin: 0;
    padding-top: 0.2rem;
}

@media (max-width: 575.98px) {
    .cbct-machine-wrap { padding: 1.75rem 1.25rem 0; }
    .cbct-use-card { padding: 1.1rem 1rem; }
}

/* ── Nitrous Oxide Sedation · Highlight Callout ── */
.nos-highlight {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(8, 138, 199, 0.07);
    border-left: 4px solid var(--bs-primary);
    border-radius: 0 12px 12px 0;
    padding: 1.25rem 1.25rem 1.25rem 1rem;
    margin-top: 1.5rem;
}

.nos-highlight__icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bs-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nos-highlight__text {
    font-size: 0.95rem;
    color: var(--bs-secondary);
    line-height: 1.65;
    margin: 0;
    padding-top: 0.2rem;
}

/* ── Same Day Crowns · Step Cards ── */
.sdc-step-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 1.25rem 1.1rem;
    height: 100%;
    transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.sdc-step-card:hover {
    box-shadow: 0 8px 28px rgba(6, 28, 99, 0.1);
    transform: translateY(-3px);
}

.sdc-step-card__num {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--bs-primary);
    opacity: 0.18;
    line-height: 1;
    min-width: 2.2rem;
    flex-shrink: 0;
}

.sdc-step-card__title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--bs-secondary);
    margin-bottom: 0.35rem;
}

.sdc-step-card__desc {
    font-size: 0.875rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.6;
}

/* ── Same Day Crowns · Benefit Cards ── */
.sdc-benefit-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--color-light-bg);
    border-radius: 14px;
    padding: 1.25rem 1.1rem;
    height: 100%;
    transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.sdc-benefit-card--full {
    background: rgba(8, 138, 199, 0.06);
    border: 1px solid rgba(8, 138, 199, 0.18);
}

.sdc-benefit-card:hover {
    box-shadow: 0 8px 28px rgba(6, 28, 99, 0.09);
    transform: translateY(-3px);
}

.sdc-benefit-card__icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--bs-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sdc-benefit-card__title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--bs-secondary);
    margin-bottom: 0.3rem;
}

.sdc-benefit-card__desc {
    font-size: 0.875rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.6;
}

/* ── Waterlase · Badge Cards ── */
.wl-badge-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    background: var(--color-light-bg);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 1.1rem 0.75rem;
    text-align: center;
    transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.wl-badge-card:hover {
    box-shadow: 0 6px 20px rgba(6, 28, 99, 0.1);
    transform: translateY(-3px);
}

.wl-badge-card__icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--bs-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wl-badge-card__label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--bs-secondary);
    letter-spacing: 0.02em;
}

/* ── Glidewell Clear Aligners · Image Wrap & Pills ── */
.gca-img-wrap {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(6, 28, 99, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gca-img-wrap:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(6, 28, 99, 0.14);
}

.gca-img {
    width: 100%;
    height: auto;
    display: block;
}

.gca-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(8, 138, 199, 0.08);
    color: var(--bs-primary);
    border: 1px solid rgba(8, 138, 199, 0.22);
    border-radius: 50px;
    padding: 0.35rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ── Laser Hair Removal · Before/After Frame ── */
.lhr-before-after {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 44px rgba(6, 28, 99, 0.13);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lhr-before-after:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 56px rgba(6, 28, 99, 0.17);
}

.lhr-before-after__img {
    width: 100%;
    height: auto;
    display: block;
}

.lhr-before-after__label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(6,28,99,0.75) 0%, transparent 100%);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 1.5rem 1.25rem 0.85rem;
}

/* ── Laser Hair Removal · Benefit Cards ── */
.lhr-benefit-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 1.1rem 1.1rem;
    transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.lhr-benefit-card--accent {
    background: rgba(8, 138, 199, 0.05);
    border-color: rgba(8, 138, 199, 0.2);
}

.lhr-benefit-card:hover {
    box-shadow: 0 8px 24px rgba(6, 28, 99, 0.09);
    transform: translateY(-3px);
}

.lhr-benefit-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--bs-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lhr-benefit-card__title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--bs-secondary);
    margin-bottom: 0.25rem;
}

.lhr-benefit-card__desc {
    font-size: 0.875rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.6;
}

/* ── V30 Skin Treatments · Service Cards ── */
.v30-service-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1rem 1.1rem;
    transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}

.v30-service-card:hover {
    box-shadow: 0 6px 22px rgba(6, 28, 99, 0.1);
    transform: translateY(-3px);
    border-color: rgba(8, 138, 199, 0.3);
}

.v30-service-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(8, 138, 199, 0.1);
    color: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.v30-service-card__label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--bs-secondary);
    line-height: 1.4;
}

/* ── Préime DermaFacial · Technology Cards ── */
.derma-tech-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 0.9rem 1.1rem;
    transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}

.derma-tech-card:hover {
    box-shadow: 0 6px 22px rgba(6, 28, 99, 0.1);
    transform: translateY(-2px);
    border-color: rgba(8, 138, 199, 0.3);
}

.derma-tech-card__badge {
    flex-shrink: 0;
    background: var(--bs-primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    border-radius: 6px;
    padding: 0.3rem 0.7rem;
    white-space: nowrap;
    margin-top: 0.1rem;
}

.derma-tech-card__desc {
    font-size: 0.875rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.6;
}

/* ── Post Care · Video Cards ── */
.postcare-video-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
    padding: 0;
    text-align: left;
    cursor: pointer;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.postcare-video-card:hover {
    box-shadow: 0 12px 36px rgba(6, 28, 99, 0.13);
    transform: translateY(-4px);
}

.postcare-video-card__thumb {
    position: relative;
    overflow: hidden;
}

.postcare-video-card__img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.postcare-video-card:hover .postcare-video-card__img {
    transform: scale(1.04);
}

.postcare-video-card__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(6, 28, 99, 0.35);
    color: #fff;
    transition: background 0.25s ease;
}

.postcare-video-card:hover .postcare-video-card__play {
    background: rgba(8, 138, 199, 0.55);
}

.postcare-video-card__play svg {
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
    width: 52px;
    height: 52px;
}

.postcare-video-card__body {
    padding: 0.9rem 1.1rem;
}

.postcare-video-card__title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--bs-secondary);
    margin: 0;
    line-height: 1.5;
}

/* ── Special Offers · Offer Cards ── */
.offer-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    padding: 2rem 1.75rem 1.75rem;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.offer-card:hover {
    box-shadow: 0 12px 36px rgba(6, 28, 99, 0.1);
    transform: translateY(-3px);
}

.offer-card--featured {
    background: linear-gradient(145deg, #061c63 0%, #0c2b8c 60%, #088ac7 100%);
    border-color: transparent;
    color: #fff;
}

.offer-card--featured .offer-card__price,
.offer-card--featured .offer-card__title {
    color: #fff;
}

.offer-card--featured .offer-card__desc {
    color: rgba(255, 255, 255, 0.82);
}

.offer-card--featured .btn-primary {
    background: #fff;
    border-color: #fff;
    color: var(--bs-secondary);
}

.offer-card--featured .btn-primary:hover {
    background: #e8f4fd;
    border-color: #e8f4fd;
}

.offer-card--discount {
    background: rgba(8, 138, 199, 0.05);
    border-color: rgba(8, 138, 199, 0.25);
}

.offer-card__badge {
    display: inline-block;
    background: var(--bs-primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 50px;
    padding: 0.25rem 0.8rem;
    margin-bottom: 1rem;
}

.offer-card--featured .offer-card__badge {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.offer-card__price {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--bs-secondary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.offer-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--bs-secondary);
    margin-bottom: 0.5rem;
}

.offer-card__desc {
    font-size: 0.875rem;
    color: #6c757d;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 1.25rem;
}

/* ── Special Offers · Plan Cards ── */
.plan-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 2rem 1.75rem 1.75rem;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.plan-card:hover {
    box-shadow: 0 14px 40px rgba(6, 28, 99, 0.1);
    transform: translateY(-3px);
}

.plan-card--featured {
    background: linear-gradient(145deg, #061c63 0%, #0c2b8c 60%, #088ac7 100%);
    border-color: transparent;
    transform: scale(1.03);
    box-shadow: 0 18px 52px rgba(6, 28, 99, 0.22);
}

.plan-card--featured:hover {
    transform: scale(1.03) translateY(-3px);
    box-shadow: 0 22px 60px rgba(6, 28, 99, 0.28);
}

.plan-card--featured .plan-card__price,
.plan-card--featured .plan-card__name {
    color: #fff;
}

.plan-card--featured .plan-card__features li {
    color: rgba(255, 255, 255, 0.88);
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

.plan-card--featured .plan-card__features li::before {
    color: #7dd3fc;
}

.plan-card__badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 50px;
    padding: 0.25rem 0.8rem;
    margin-bottom: 1.25rem;
}

.plan-card__price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--bs-secondary);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.plan-card__price span {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.65;
}

.plan-card__name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--bs-secondary);
    margin-bottom: 1.25rem;
}

.plan-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    flex-grow: 1;
}

.plan-card__features li {
    font-size: 0.875rem;
    color: #495057;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.plan-card__features li::before {
    content: "✓";
    color: var(--bs-primary);
    font-weight: 700;
    flex-shrink: 0;
}

.plan-card__features li:last-child {
    border-bottom: none;
}

/* ── Contact Page ── */
.contact-form__label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--bs-secondary);
    margin-bottom: 0.5rem;
}

.contact-form__input {
    border: 1.5px solid var(--color-border);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    color: var(--bs-secondary);
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form__input:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 3px rgba(8, 138, 199, 0.12);
    outline: none;
}

.contact-form__textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form__submit {
    min-width: 180px;
    transition: opacity 0.2s ease;
}

.contact-form__submit:disabled {
    opacity: 0.75;
    cursor: not-allowed;
}

/* Success alert */
.contact-success {
    background: #ecfdf5;
    border: 1.5px solid #6ee7b7;
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    color: #065f46;
    margin-bottom: 2rem;
}

.contact-success__icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #6ee7b7;
    color: #065f46;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Contact Info Cards */
.contact-info-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 2.25rem 1.75rem 1.75rem;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.contact-info-card:hover {
    box-shadow: 0 12px 36px rgba(6, 28, 99, 0.1);
    transform: translateY(-4px);
}

.contact-info-card__icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(8, 138, 199, 0.12) 0%, rgba(6, 28, 99, 0.08) 100%);
    color: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}

.contact-info-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--bs-secondary);
    margin-bottom: 0.6rem;
}

.contact-info-card__text {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.contact-info-card__phone {
    color: var(--bs-secondary);
    font-weight: 600;
    text-decoration: none;
}

.contact-info-card__phone:hover {
    color: var(--bs-primary);
}

.contact-info-card__link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--bs-primary);
    text-decoration: none;
    margin-top: auto;
}

.contact-info-card__link:hover {
    text-decoration: underline;
}

/* ── Downloads Table ── */
.downloads-table-wrap {
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(6, 28, 99, 0.07);
}

.downloads-table thead {
    background: linear-gradient(135deg, #061c63 0%, #0c2b8c 60%, #088ac7 100%);
}

.downloads-table__th {
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 1rem 1.25rem;
    border: none;
}

.downloads-table__row {
    transition: background 0.18s ease;
}

.downloads-table__row:nth-child(even) {
    background: rgba(8, 138, 199, 0.03);
}

.downloads-table__row:hover {
    background: rgba(8, 138, 199, 0.07);
}

.downloads-table__row td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.9rem;
}

.downloads-table__row:last-child td {
    border-bottom: none;
}

.downloads-table__sno {
    font-weight: 700;
    color: var(--bs-primary);
    font-size: 0.95rem !important;
}

.downloads-table__name {
    font-weight: 600;
    color: var(--bs-secondary);
}

.downloads-table__icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(8, 138, 199, 0.1);
    color: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.downloads-table__btn {
    background: rgba(8, 138, 199, 0.08);
    color: var(--bs-primary);
    border: 1.5px solid rgba(8, 138, 199, 0.25);
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 0.85rem;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.downloads-table__btn:hover {
    background: var(--bs-primary);
    color: #fff;
    border-color: var(--bs-primary);
}

/* ── FAQ Page ── */
.faq-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.faq-tab {
    background: #fff;
    border: 1.5px solid var(--color-border);
    border-radius: 50px;
    color: var(--bs-secondary);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.4rem 1.1rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.faq-tab:hover {
    border-color: var(--bs-primary);
    color: var(--bs-primary);
}

.faq-tab.active {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #fff;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: #fff;
    border: 1.5px solid var(--color-border);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:has(.faq-item__btn:not(.collapsed)) {
    border-color: var(--bs-primary);
    box-shadow: 0 4px 20px rgba(8, 138, 199, 0.1);
}

.faq-item__heading {
    margin: 0;
}

.faq-item__btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    background: none;
    border: none;
    padding: 1.1rem 1.25rem;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease;
}

.faq-item__btn:hover {
    background: rgba(8, 138, 199, 0.04);
}

.faq-item__btn:not(.collapsed) {
    background: rgba(8, 138, 199, 0.05);
}

.faq-item__num {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--bs-primary);
    opacity: 0.5;
    flex-shrink: 0;
    min-width: 24px;
}

.faq-item__q {
    flex-grow: 1;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--bs-secondary);
    line-height: 1.5;
}

.faq-item__badge {
    display: none;
    flex-shrink: 0;
    font-size: 0.68rem;
    font-weight: 700;
    background: rgba(8, 138, 199, 0.08);
    color: var(--bs-primary);
    border: 1px solid rgba(8, 138, 199, 0.2);
    border-radius: 50px;
    padding: 0.2rem 0.65rem;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .faq-item__badge {
        display: inline-block;
    }
}

.faq-item__icon {
    flex-shrink: 0;
    color: var(--bs-primary);
    transition: transform 0.25s ease;
    display: flex;
    align-items: center;
}

.faq-item__btn:not(.collapsed) .faq-item__icon {
    transform: rotate(180deg);
}

.faq-item__body {
    padding: 0 1.25rem 1.25rem 1.25rem;
    padding-left: calc(1.25rem + 24px + 1rem);
    font-size: 0.9rem;
    color: #495057;
    line-height: 1.75;
    border-top: 1px solid var(--color-border);
}

.faq-link {
    color: var(--bs-primary);
    font-weight: 600;
    text-decoration: none;
}

.faq-link:hover {
    text-decoration: underline;
}

@media (max-width: 575px) {
    .faq-item__btn {
        padding: 0.9rem 1rem;
        gap: 0.75rem;
    }

    .faq-item__q {
        font-size: 0.875rem;
    }

    .faq-item__body {
        padding: 0.85rem 1rem 1rem;
    }
}

/* ── Refer a Friend Page ── */
.raf-offer-card {
    background: linear-gradient(145deg, #061c63 0%, #0c2b8c 60%, #088ac7 100%);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    color: #fff;
    text-align: center;
    box-shadow: 0 20px 60px rgba(6, 28, 99, 0.25);
    position: relative;
    overflow: hidden;
}

.raf-offer-card::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.raf-offer-card__badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 50px;
    padding: 0.3rem 1rem;
    margin-bottom: 1.25rem;
}

.raf-offer-card__amount {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1;
    color: #fff;
    margin-bottom: 0.5rem;
}

.raf-offer-card__amount span {
    font-size: 2rem;
    font-weight: 700;
    opacity: 0.85;
}

.raf-offer-card__tagline {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.raf-offer-card__divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 auto 1.5rem;
    width: 60%;
}

.raf-offer-card__perks {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.raf-offer-card__perks li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
    padding: 0.4rem 0;
}

.raf-offer-card__perks li svg {
    flex-shrink: 0;
    color: #7dd3fc;
    margin-top: 2px;
}

/* How-it-works steps */
.raf-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 1rem 1.25rem;
    transition: box-shadow 0.2s ease;
}

.raf-step:hover {
    box-shadow: 0 6px 24px rgba(6, 28, 99, 0.08);
}

.raf-step__num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #061c63, #088ac7);
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.raf-step__title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--bs-secondary);
    margin: 0 0 0.2rem;
}

.raf-step__desc {
    font-size: 0.82rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
}

/* Form section divider */
.raf-form-section {
    background: var(--color-light-bg);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 1.5rem 1.5rem 1.75rem;
    margin-bottom: 1.5rem;
}

.raf-form-section__label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--bs-primary);
    margin-bottom: 1.25rem;
}
