/* =========================
           DESIGN TOKENS
        ========================= */
:root {
    /* Colors */
    --primary: #1A365D;
    --primary-dark: #153E75;
    --primary-light: #F7FAFC;
    --secondary: #319795;
    --accent: #319795;
    --accent-light: #E6FFFA;
    --brand-blue: #3b82f6;
    --brand-dark: #0f172a;
    --brand-cyan: #06b6d4;
    --brand-teal: #14b8a6;

    /* Text */
    --text: #1A2B3C;
    --text-light: #5A6C7D;
    --text-muted: #8A98A6;
    --border: #E1E8F0;
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --success: #27AE60;
    --success-light: #E9F7EF;

    /* Shadows */
    --shadow-sm: 0 4px 12px rgba(26, 54, 93, 0.06);
    --shadow-md: 0 8px 24px rgba(26, 54, 93, 0.1);
    --shadow-lg: 0 16px 48px rgba(26, 54, 93, 0.12);
    --shadow-xl: 0 24px 72px rgba(26, 54, 93, 0.15);

    /* Spacing */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-2xl: 64px;
    --space-3xl: 96px;

    /* Borders */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --text-base: 16px;
    --text-lg: 18px;
    --text-xl: 20px;
    --text-2xl: 24px;
    --text-3xl: 30px;
    --text-4xl: 36px;
    --text-5xl: 48px;
}

/* =========================
           BASE STYLES
        ========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--text);
    background: var(--bg-white);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section {
    padding: var(--space-3xl) 0;
}

@media (max-width: 768px) {
    .section {
        padding: var(--space-2xl) 0;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

h1,
h2 {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Poppins', var(--font-sans);
    color: #000;
    letter-spacing: -0.02em;
}

@media (max-width: 768px) {

    h1,
    h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {

    h1,
    h2 {
        font-size: 1.8rem;
    }
}

/* =========================
           BUTTONS
        ========================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: var(--text-base);
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    font-family: var(--font-sans);
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--secondary);
    color: white;
}

.btn-secondary:hover {
    background: #238878;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 32px;
    font-size: var(--text-lg);
    border-radius: var(--radius-lg);
}

.btn-dark {
    background: var(--text);
    color: white;
    border: none;
}

.btn-dark:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* =========================
           MOBILE MENU
        ========================= */
.float-badge {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

#side-menu {
    transition: transform 0.3s ease-in-out;
    will-change: transform;
}

.menu-open {
    transform: translateX(0) !important;
}

.text-brandBlue {
    color: var(--brand-blue);
}

.bg-brandBlue {
    background-color: var(--brand-blue);
}

.hover\:text-brandBlue:hover {
    color: var(--brand-blue);
}

.hover\:bg-sky-500:hover {
    background-color: #0ea5e9;
}

.shadow-sky-200 {
    box-shadow: 0 10px 15px -3px rgba(56, 189, 248, 0.1), 0 4px 6px -2px rgba(56, 189, 248, 0.05);
}



/* =========================
           HEADER / NAVBAR
        ========================= */
.header {
    padding: 10px 5% 10px 5%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: all 0.3s ease;
}

.header .container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0;
}

.header.scrolled {
    background: white !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    padding: 0px 0px 0px 0px;
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 25px;
}

.hamburger {
    font-size: 1.6rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 300;
    color: #000000;
}

.mobile-hamburger {
    display: none;
}

.desktop-hamburger {
    display: flex;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #000000;
    text-decoration: none;
    padding: 0;
    margin: 0;
}

.nav-center {
    display: flex;
    align-items: center;
    gap: 30px;
    font-weight: 500;
    color: #000000;
}

.nav-center a {
    text-decoration: none;
    color: inherit;
}

.nav-center a:hover {
    color: var(--primary);
}

/* Dropdown Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    z-index: 1001;
    top: 100%;
    left: 0;
    padding: 10px 0;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: var(--text);
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-weight: 500;
    transition: 0.2s;
}

.dropdown-content a:hover {
    background-color: var(--bg-light);
    color: var(--primary);
}

/* Language Dropdown */
.header__langs {
    position: relative;
    display: inline-block;
}

.header__langs-current {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: 0.2s;
    color: var(--text);
}

.header__langs-current:hover {
    background-color: #f8fafc;
}

.header__langs-drop {
    position: absolute;
    width: max-content;
    left: -18px;
    top: calc(100% + 8px);
    padding: 16px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0px 15px 30px 0px rgba(22, 37, 42, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    min-width: 200px;
}

.header__langs:hover .header__langs-drop {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header__langs-drop .item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: 0.2s;
    margin-bottom: 4px;
}

.header__langs-drop .item:last-child {
    margin-bottom: 0;
}

.header__langs-drop .item:hover {
    background-color: #f8fafc;
}

.header__langs-drop .item.active {
    background-color: #dbeafe;
}

.header__langs .flag img {
    width: 24px;
    height: 18px;
    border-radius: 3px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 4px;
}

.mobile-call-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--primary);
}

.header .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 1023px) {
    .header {
        padding: 20px 20px 10px 20px;
    }

    .header.scrolled {
        padding: 10px 20px;
    }

    .nav-center,
    .btn-dark.desktop-only {
        display: none;
    }

    .desktop-hamburger {
        display: none !important;
    }

    .mobile-hamburger {
        display: flex !important;
    }

    .mobile-call-btn {
        display: block;
    }

    .nav-left {
        flex: 1;
        justify-content: flex-start;
        align-items: center;
    }

    .nav-right {
        display: flex;
        justify-content: flex-end;
    }
}

/* =========================
           HERO SECTION - MODERN DESIGN
        ========================= */
/* --- Hero Container --- */
.hero-section {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 5% 50px 5%;
    /* Top padding clears Fixed Nav */
    background: linear-gradient(180deg, #e8e5e0 0%, #ffffff 100%);
    overflow: hidden;
}

/* Animated Background Mesh */
.bg-mesh {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: conic-gradient(from 180deg at 50% 50%, #dbeafe 0deg, #eff6ff 180deg, #dbeafe 360deg);
    filter: blur(100px);
    border-radius: 50%;
    opacity: 0.6;
    z-index: 0;
    animation: spinMesh 20s linear infinite;
}

@keyframes spinMesh {
    100% {
        transform: rotate(360deg);
    }
}

/* --- Layout Grid --- */
.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    max-width: 1400px;
    /* Add max-width for proper layout */
    width: 100%;
    margin: 0 auto;
    /* Center the container */
    position: relative;
    z-index: 2;
}

/* --- LEFT: Text Content --- */
.hero-text {
    padding-right: 20px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    margin-bottom: 25px;
    animation: fadeDown 0.8s ease forwards;
}

.badge i {
    color: #f59e0b;
}

.hero-text h1 {
    font-family: 'Poppins', var(--font-sans);
    font-size: clamp(3rem, 5vw, 4.5rem);
    /* Responsive Font Size */
    line-height: 1.1;
    color: var(--primary);
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.2s forwards;
}

.highlight {
    font-style: italic;
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.15rem;
    color: #64748b;
    line-height: 1.6;
    max-width: 550px;
    margin-bottom: 35px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.4s forwards;
}

/* Buttons */
.cta-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.6s forwards;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    box-shadow: 0 10px 25px rgba(44, 62, 80, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.3);
}

.btn-secondary {
    background: #fff;
    color: var(--primary);
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

/* Stats */
.stats-bar {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 0;
    animation: fadeIn 1s ease 0.8s forwards;
}

.stat h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #3b82f6;
    margin-bottom: 0;
    line-height: 1;
}

.stat p {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    margin-top: 5px;
}

/* --- RIGHT: 3D Visuals --- */
.hero-visual {
    position: relative;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Abstract Shape */
.visual-blob {
    position: absolute;
    width: 450px;
    height: 550px;
    background: linear-gradient(180deg, #dbeafe 0%, #ffffff 100%);
    border-radius: 200px 200px 40px 40px;
    /* Arch Shape */
    z-index: 1;
}

/* Main Person Image */
.person-img {
    position: absolute;
    bottom: -150px;
    /* Extend further below the hero section */
    right: 0;
    /* Position to the right to avoid covering text */
    max-height: 812px;
    /* Increased by 25% from original 650px */
    width: auto;
    z-index: 2;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

/* Animated Background Mesh */
.bg-mesh {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: conic-gradient(from 180deg at 50% 50%, #dbeafe 0deg, #eff6ff 180deg, #dbeafe 360deg);
    filter: blur(100px);
    border-radius: 50%;
    opacity: 0.6;
    z-index: 0;
    animation: spinMesh 20s linear infinite;
}

@keyframes spinMesh {
    100% {
        transform: rotate(360deg);
    }
}

/* --- Layout Grid --- */
.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    max-width: 1400px;
    /* Match header width */
    width: 100%;
    position: relative;
    z-index: 2;
    margin: 0 auto;
    /* Center the container */
}

/* --- LEFT: Text Content --- */
.hero-text {
    padding-right: 20px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    margin-bottom: 25px;
    animation: fadeDown 0.8s ease forwards;
}

.badge i {
    color: #f59e0b;
}

.hero-text h1 {
    font-family: 'Poppins', var(--font-sans);
    font-size: clamp(3rem, 5vw, 4.5rem);
    /* Responsive Font Size */
    line-height: 1.1;
    color: var(--primary);
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.2s forwards;
}

.highlight {
    font-style: italic;
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.15rem;
    color: #64748b;
    line-height: 1.6;
    max-width: 550px;
    margin-bottom: 35px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.4s forwards;
}

/* Buttons */
.cta-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.6s forwards;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    box-shadow: 0 10px 25px rgba(44, 62, 80, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.3);
}

.btn-secondary {
    background: #fff;
    color: var(--primary);
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

/* Stats */
.stats-bar {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 0;
    animation: fadeIn 1s ease 0.8s forwards;
}

.stat h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #3b82f6;
    margin-bottom: 0;
    line-height: 1;
}

.stat p {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    margin-top: 5px;
}

/* --- RIGHT: 3D Visuals --- */
.hero-visual {
    position: relative;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
}

/* Abstract Shape */


/* Main Person Image */
.person-img {
    position: absolute;
    bottom: -30px;
    /* Reduce extension to show more of the person */
    right: 50px;
    max-height: 650px;
    /* Slightly smaller to fit better */
    width: auto;
    z-index: 2;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

@keyframes breathe {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Floating Glass Cards */
.float-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 12px 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 5s ease-in-out infinite alternate;
}

.card-left {
    top: 15%;
    left: 10%;
    /* Position around the person/blob area */
    animation-delay: 0s;
}

/* The Skuad-style background blurs */
.glow-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    z-index: -1;
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.1);
}

.text-gradient {
    background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-right {
    top: 25%;
    right: 10%;
    /* Position around the person/blob area */
    animation-delay: 2s;
}

.card-icon {
    width: 36px;
    height: 36px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.card-info h4 {
    font-size: 0.85rem;
    margin: 0;
    color: #0f172a;
}

.card-info span {
    font-size: 0.7rem;
    color: #64748b;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-10px);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 968px) {
    .hero-section {
        height: auto;
        /* Allow content to dictate height */
        min-height: auto;
        padding: 100px 20px 60px 20px;
        /* Space for fixed header */
        background: linear-gradient(180deg, #e8e5e0 0%, #ffffff 100%);
    }

    .hero-container {
        grid-template-columns: 1fr;
        /* Single Column */
        gap: 40px;
        text-align: center;
        /* Center everything */
    }

    .hero-text {
        padding-right: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-desc {
        margin: 0 auto 30px auto;
    }

    .cta-group {
        justify-content: center;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    /* Full width buttons */

    .hero-visual {
        height: 400px;
        /* Constrain height on mobile */
        width: 100%;
        margin-top: 20px;
        margin-bottom: 20px;
        order: -1;
        /* Put image on top */
    }

    /* Fix the Image Crop */
    .person-img {
        position: relative;
        /* Remove absolute positioning */
        height: 100%;
        /* Fit container */
        width: auto;
        object-fit: contain;
        bottom: auto;
    }

    .visual-blob {
        width: 300px;
        height: 300px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        /* Center blob behind image */
        border-radius: 50%;
    }

    /* Adjust Floating Cards for Mobile */
    .card-left {
        top: 10%;
        left: -10px;
        scale: 0.9;
    }

    .card-right {
        bottom: 10%;
        right: -10px;
        scale: 0.9;
    }

    /* Stats on Mobile */
    .stats-bar {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
        border-top: none;
        background: #fff;
        padding: 20px;
        border-radius: 16px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
        width: 100%;
    }

    .stat {
        flex: 1 1 40%;
    }

    /* 2 per row */
}

/* =========================
           TREATMENT CALCULATOR (From gimni.html)
        ========================= */
.treatment-calculator-section {
    background: var(--bg-light);
    padding: var(--space-3xl) 0;
}

.treatment-calculator-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.treatment-calculator-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.treatment-calculator-header p {
    color: #64748b;
    font-size: 1.2rem;
}

/* Responsive font sizes to match section-header */
@media (max-width: 768px) {
    .treatment-calculator-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .treatment-calculator-header h2 {
        font-size: 1.8rem;
    }
}

/* Calculator Container - CSS Grid Layout */
.treatment-calculator-container {
    display: grid;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    /* DESKTOP: 3 Columns. Center column is WIDER for the big head image */
    grid-template-columns: minmax(280px, 1fr) 2fr minmax(280px, 1fr);
    grid-template-areas: "left center right";
    align-items: center;
    position: relative;
    gap: 20px;
    padding: 0 20px;
}

/* Mobile Layout: Image Top, Panels Side-by-Side */
@media (max-width: 1024px) {
    .treatment-calculator-container {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        grid-template-areas:
            "center center"
            "left right";
        gap: 20px;
        align-items: start;
        padding: 0 20px;
    }
}

@media (max-width: 600px) {
    .treatment-calculator-container {
        grid-template-columns: 1fr;
        grid-template-areas:
            "center"
            "left"
            "right";
        gap: 20px;
        padding: 0 15px;
    }
}

/* Grid Area Mapping */
.calc-panel-left {
    grid-area: left;
    z-index: 10;
}

.calc-panel-right {
    grid-area: right;
    z-index: 10;
}

/* Center Visual - Creates the "Background Head" effect */
.calc-visual-center {
    grid-area: center;
    position: relative;
    height: 450px;
    /* Reduced height for better proportions */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    /* Behind panels on desktop if they overlap */
}

@media (max-width: 1024px) {
    .calc-visual-center {
        height: 300px;
        /* Smaller on tablet/mobile */
        margin-bottom: -20px;
        /* Slight overlap to tighten layout */
    }
}

/* Images */
.calc-visual-container {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.calc-layer-img {
    position: absolute;
    max-height: 150%;
    width: auto;
    max-width: 150%;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
    transition: opacity 1s ease-in-out;
}

#calc-layer-1 {
    z-index: 1;
    opacity: 1;
}

#calc-layer-2 {
    z-index: 2;
    opacity: 0;
}

/* Panels (Glass Effect) */
.calc-card-box {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    padding: 25px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

/* Left Panel */
.calc-panel-left h3 {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.calc-treatment-option {
    display: block;
    margin-bottom: 12px;
    cursor: pointer;
    position: relative;
}

.calc-treatment-option input {
    position: absolute;
    opacity: 0;
}

.calc-option-content {
    display: flex;
    align-items: flex-start;
    padding: 14px;
    border: 2px solid transparent;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.7);
    transition: 0.2s;
}

.calc-radio-circle {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--border);
    margin-right: 12px;
    flex-shrink: 0;
    margin-top: 3px;
    position: relative;
    background: white;
}

.calc-treatment-option input:checked~.calc-option-content {
    border-color: var(--primary);
    background: var(--primary-light);
}

.calc-treatment-option input:checked~.calc-option-content .calc-radio-circle {
    border-color: var(--primary);
    background: var(--primary);
    box-shadow: inset 0 0 0 3px white;
}

.calc-option-text strong {
    display: block;
    font-size: 1rem;
    line-height: 1.2;
    color: var(--text);
    margin-bottom: 2px;
}

.calc-option-text span {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.3;
    display: block;
}

/* Right Panel */
.calc-results-box h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calc-result-title {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 12px;
    color: var(--text);
}

.calc-result-description {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.5;
}

.calc-data-point {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.calc-data-point label {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: var(--text);
}

.calc-price-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    letter-spacing: -1px;
}

.calc-price-note,
.calc-days-note {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 5px;
}

.calc-days-value {
    font-size: 1.2rem;
    font-weight: 700;
}

.calc-savings-flags {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.calc-flag-item {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.calc-flag-icon {
    width: 24px;
    margin-right: 8px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.calc-cta-button {
    display: block;
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: white;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 10px 15px -3px rgba(44, 62, 80, 0.4);
    transition: 0.2s;
}

.calc-cta-button:hover {
    transform: translateY(-2px);
    background: var(--primary-dark);
}

/* Mobile Text Scaling */
@media (max-width: 900px) {
    .calc-card-box {
        padding: 15px;
    }

    .calc-panel-left h3 {
        font-size: 0.75rem;
        margin-bottom: 10px;
    }

    .calc-option-content {
        padding: 10px;
    }

    .calc-radio-circle {
        width: 16px;
        height: 16px;
        margin-right: 8px;
    }

    .calc-option-text strong {
        font-size: 0.85rem;
    }

    .calc-option-text span {
        font-size: 0.75rem;
    }

    .calc-result-title {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }

    .calc-result-description {
        font-size: 0.8rem;
        margin-bottom: 15px;
    }

    .calc-price-value {
        font-size: 1.6rem;
    }

    .calc-price-note,
    .calc-days-note {
        font-size: 0.7rem;
    }

    .calc-days-value {
        font-size: 1rem;
    }

    .calc-cta-button {
        padding: 12px;
        font-size: 1rem;
    }

    .calc-savings-flags {
        gap: 8px;
        margin-top: 15px;
        margin-bottom: 15px;
    }

    .calc-flag-item {
        font-size: 0.75rem;
    }
}

/* =========================
           COMPLETE 4-STEP WIZARD
        ========================= */
.wizard-section {
    background: var(--bg-light);
}

.wizard-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.wizard-container {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.wizard-progress {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: var(--space-xl) var(--space-xl) 0;
    background: var(--primary-light);
}

.wizard-progress::before {
    content: '';
    position: absolute;
    top: 56px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: var(--border);
    z-index: 1;
}

.progress-step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.step-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-sm);
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.progress-step.active .step-circle {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 8px 16px rgba(44, 62, 80, 0.2);
}

.progress-step.completed .step-circle {
    background: var(--secondary);
    border-color: var(--secondary);
    color: white;
}

.step-label {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-muted);
}

.progress-step.active .step-label {
    color: var(--primary);
    font-weight: 600;
}

.wizard-content {
    padding: var(--space-2xl);
}

.wizard-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.wizard-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-title {
    font-size: var(--text-2xl);
    color: var(--primary-dark);
    margin-bottom: var(--space-md);
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.option-card {
    background: var(--bg-light);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.option-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.option-card.selected {
    background: var(--primary-light);
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.option-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    color: var(--primary);
    font-size: 20px;
    border: 2px solid var(--border);
}

.option-card.selected .option-icon {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.option-title {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--text);
}

.option-description {
    font-size: var(--text-sm);
    color: var(--text-light);
    line-height: 1.5;
}

.option-check {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
}

.option-card.selected .option-check {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.wizard-actions {
    display: flex;
    justify-content: space-between;
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border);
}

.wizard-note {
    background: var(--accent-light);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin-top: var(--space-lg);
    border-left: 4px solid var(--accent);
}

.wizard-note i {
    color: var(--accent);
    margin-right: var(--space-xs);
}

/* Results Step */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
}

.result-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.treatment-plan {
    background: var(--primary-light);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-top: var(--space-xl);
}

.plan-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.plan-item {
    text-align: center;
}

.plan-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-xs);
}

.plan-label {
    font-size: var(--text-sm);
    color: var(--text-light);
}

/* =========================
           BEFORE/AFTER GALLERY - SIMPLE DRAG SCROLL
        ========================= */
.gallery-section {
    background: #000000;
}

.gallery-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.gallery-header p {
    color: #666666;
    /* Subtle gray like in your image */
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    background: var(--bg-light);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* Full Width Gallery Container */
.results-gallery-container {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: var(--space-lg) 0;
}

.results-gallery {
    display: flex;
    gap: var(--space-md);
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0 var(--space-lg);
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
    cursor: grab;
}

.results-gallery:active {
    cursor: grabbing;
}

.results-gallery::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

/* Clinicana-Style Gallery - Exact CSS */
.results-gallery-container {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: var(--space-lg) 0;
}

/* Clinicana Swiper Styles */
.beforeafter__slider {
    position: relative;
    overflow: hidden;
}

.beforeafter__slider .swiper-wrapper {
    display: flex;
    transition-property: transform;
}

.beforeafter__slider .swiper-slide {
    flex-shrink: 0;
    width: auto;
    height: auto;
    position: relative;
    transition-property: transform;
}

.prev-gallery__item {
    display: block;
    margin-right: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.prev-gallery__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.photo-wrap {
    position: relative;
    width: 364px;
    /* Increased by 30% from 280px */
    height: 416px;
    /* Increased by 30% from 320px */
    overflow: hidden;
}

.photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Navigation Arrows - Clinicana Style */
.beforeafter__slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    transform: translateY(-50%);
}

.beforeafter__slider-prev,
.beforeafter__slider-next {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: all;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    color: var(--primary);
    font-size: 18px;
}

.beforeafter__slider-prev:hover,
.beforeafter__slider-next:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.beforeafter__slider-prev {
    margin-left: 20px;
}

.beforeafter__slider-next {
    margin-right: 20px;
}

/* Pagination Dots */
.swiper-pagination {
    position: relative;
    margin-top: 30px;
    text-align: center;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #ddd;
    border-radius: 50%;
    display: inline-block;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: var(--primary);
    transform: scale(1.2);
}

/* Bottom Button - Clinicana Style */
.bottom-btn-wrap {
    text-align: center;
    margin-top: 40px;
}

.btn.bordered {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn.bordered:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .photo-wrap {
        width: 325px;
        /* Increased by 30% from 250px */
        height: 371px;
        /* Increased by 30% from 285px */
    }

    .beforeafter__slider-prev,
    .beforeafter__slider-next {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .beforeafter__slider-prev {
        margin-left: 10px;
    }

    .beforeafter__slider-next {
        margin-right: 10px;
    }

    /* Global heading responsive sizes */
    h1,
    h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .photo-wrap {
        width: 286px;
        /* Increased by 30% from 220px */
        height: 325px;
        /* Increased by 30% from 250px */
    }

    /* Global heading responsive sizes */
    h1,
    h2 {
        font-size: 1.8rem;
    }
}

/* =========================
           NEW SECTIONS STYLES
        ========================= */

/* 9. CLINIC TOUR & TECHNOLOGY */
.technology-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f0f7ff 100%);
}

.technology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.tech-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.tech-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.tech-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    font-size: 32px;
    color: var(--primary);
}

.virtual-tour {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: var(--space-xl);
    height: 400px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.tour-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 180, 216, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    text-align: center;
    padding: var(--space-xl);
}

.certifications {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
    flex-wrap: wrap;
}

.cert-badge {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: white;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border);
    min-width: 200px;
}

.cert-badge i {
    color: var(--secondary);
    font-size: 24px;
}

/* 10. PATIENT JOURNEY TIMELINE - CONNECTED JOURNEY */
.horizontal-section {
    position: relative;
    height: 200vh;
    /* Shorter length for faster scrolling on desktop */
    background: transparent;
}

/* Sticky Wrapper */
.sticky-wrapper {
    background: transparent;
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    perspective: 1000px;
    /* For 3D effects */
}

/* Animated Background Blobs */
.bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    z-index: 0;
    animation: floatBlob 10s infinite ease-in-out alternate;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: #e0f2fe;
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: #f3e8ff;
    animation-delay: -5s;
}

@keyframes floatBlob {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

/* Header */
#journey .section-header {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
}

#journey .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
    line-height: 1.1;
    font-family: 'Poppins', var(--font-sans);
    letter-spacing: -0.02em;
}

#journey .section-header p {
    color: #64748b;
    font-size: 1.2rem;
    max-width: 500px;
    margin: 0 auto;
}

/* The Moving Track */
.scroll-track {
    display: flex;
    align-items: center;
    /* Center cards vertically on the line */
    gap: 100px;
    /* Space between cards */
    padding-left: 15%;
    padding-right: 200px;
    width: max-content;
    transform: translateX(0);
    will-change: transform;
    position: relative;
    z-index: 2;
    margin-top: 10px;
    /* Push down from header */
}

/* The Connecting Thread Line */
.thread-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #e2e8f0 0%, #3b82f6 50%, #e2e8f0 100%);
    z-index: 0;
    /* Behind cards */
    transform: translateY(-50%);
}

/* Creative Card Design */
.journey-card {
    width: 380px;
    height: 480px;
    background: rgba(255, 255, 255, 0.7);
    /* See-through glass */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 30px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s;
    flex-shrink: 0;
}

.journey-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 30px 60px rgba(44, 62, 80, 0.15);
    /* Neutral shadow */
    background: rgba(255, 255, 255, 0.9);
    z-index: 10;
}

/* The Floating Badge (Week 1, Day 1, etc.) */
.phase-badge {
    position: absolute;
    top: -20px;
    left: 30px;
    background: #0f172a;
    color: #fff;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.2);
    z-index: 2;
}

/* Color Variants for Badges */
.badge-blue {
    background: #3b82f6;
}

.badge-purple {
    background: #8b5cf6;
}

.badge-teal {
    background: #14b8a6;
}

/* Card Content */
.card-icon-wrapper {
    width: 70px;
    height: 70px;
    background: #fff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
    margin-top: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    color: #3b82f6;
    transition: transform 0.3s;
}

.journey-card:hover .card-icon-wrapper {
    transform: rotate(-10deg) scale(1.1);
    color: #0f172a;
}

/* Fix for Journey Section Titles */
#journey .card-title {
    color: #000000 !important;
    /* Force Black */
    text-shadow: none !important;
    /* REMOVE the shadow */
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
}

/* Optional: Ensure description text is also clean */
#journey .card-desc {
    color: #555555 !important;
    text-shadow: none !important;
}

.check-list {
    list-style: none;
    margin-top: auto;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: #475569;
    margin-bottom: 10px;
    font-weight: 500;
}

.check-item i {
    color: #3b82f6;
    font-size: 0.9rem;
    background: #eff6ff;
    padding: 5px;
    border-radius: 50%;
}

/* Progress Bar */
.progress-container {
    position: absolute;
    bottom: 60px;
    left: 60px;
    right: 60px;
    height: 6px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 10px;
    transition: width 0.1s linear;
}

.mobile-hint {
    display: none;
}

/* Mobile Styles (Native Swipe) */
@media (max-width: 900px) {
    .horizontal-section {
        height: auto;
        background: transparent;
    }

    .sticky-wrapper {
        position: relative;
        height: auto;
        display: block;
        padding: 40px 0;
        overflow: visible;
    }

    #journey .section-header {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        /* Reset the desktop transform */
        padding: 0 25px;
        margin-bottom: 50px;
        text-align: center;
    }

    #journey .section-header h2 {
        font-size: 2rem;
    }

    .bg-blob {
        display: none;
        /* Hide blobs on mobile for performance */
    }

    /* Hide the desktop thread line on mobile */
    .thread-line {
        display: none;
    }

    /* Transform Track to Swipe */
    .scroll-track {
        width: 100%;
        margin-top: 0;
        padding: 20px 25px 40px 25px;
        /* Bottom padding for shadows */
        gap: 20px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        transform: none !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .scroll-track::-webkit-scrollbar {
        display: none;
    }

    /* Mobile Cards */
    .journey-card {
        scroll-snap-align: center;
        width: 85vw;
        height: auto;
        min-height: 420px;
        background: #fff;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        border: 1px solid #f1f5f9;
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }

    .phase-badge {
        top: -15px;
        left: 20px;
        font-size: 0.8rem;
    }

    .progress-container {
        display: none;
    }

    /* Swipe Hint */
    .mobile-hint {
        text-align: center;
        color: #94a3b8;
        font-size: 0.9rem;
        margin-top: -20px;
        margin-bottom: 40px;
        display: block;
    }
}

@media (max-width: 480px) {
    #journey .section-header h2 {
        font-size: 1.8rem;
    }
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: var(--space-2xl) auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
    transform: translateX(-50%);
}

@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }
}

.timeline-item {
    display: flex;
    margin-bottom: var(--space-2xl);
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

@media (max-width: 768px) {
    .timeline-item {
        flex-direction: row !important;
    }
}

.timeline-content {
    flex: 1;
    padding: var(--space-lg);
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: var(--space-xl);
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: var(--space-xl);
}

@media (max-width: 768px) {
    .timeline-content {
        margin-left: 70px !important;
        margin-right: 0 !important;
    }
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    border: 4px solid white;
    box-shadow: 0 0 0 4px var(--primary-light);
    z-index: 1;
}

@media (max-width: 768px) {
    .timeline-marker {
        left: 30px;
    }
}

.timeline-date {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -30px;
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: var(--text-sm);
    white-space: nowrap;
}

.timeline-item:nth-child(odd) .timeline-date {
    left: calc(50% + 15px);
}

.timeline-item:nth-child(even) .timeline-date {
    left: calc(50% - 15px);
}

@media (max-width: 768px) {
    .timeline-date {
        left: 30px !important;
    }
}

.included-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.included-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--success-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--success);
}

.included-item i {
    color: var(--success);
}

/* =========================
           DOCTORS SECTION - ACCORDION GALLERY
        ========================= */
/* --- Reset & Base --- */

/* =========================
           CLINIC SHOWCASE SECTION
        ========================= */
.clinic-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.clinic-card {
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.clinic-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.clinic-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.clinic-card:hover img {
    transform: scale(1.1);
}

.clinic-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
}

.clinic-content {
    color: white;
    position: relative;
}

.clinic-number {
    position: absolute;
    top: -60px;
    left: 0;
    font-size: 4rem;
    font-weight: bold;
    color: var(--primary);
    opacity: 0.3;
}

.clinic-category {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.875rem;
    margin-bottom: 12px;
}

.clinic-content h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 12px;
    line-height: 1.2;
}

.clinic-content p {
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.9;
}

@media (max-width: 1200px) {
    .clinic-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .clinic-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .clinic-card {
        height: 300px;
    }

    .clinic-overlay {
        padding: 20px;
    }

    .clinic-content h3 {
        font-size: 1.25rem;
    }

    .clinic-content p {
        font-size: 0.8rem;
    }
}

.doi-team-section {
    padding: 90px 0;
    background: #ffffff;
    position: relative;
}

.doi-team-section .section-header {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.doi-team-section .section-header h2 {
    margin: 0 0 14px;
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.05;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.04em;
}

.doi-team-section .section-header p {
    margin: 0 auto;
    max-width: 760px;
    font-size: 1.06rem;
    line-height: 1.7;
    color: #64748b;
    font-weight: 500;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.doi-team-section .gallery-container {
    width: 100%;
    overflow-x: auto;
    padding: 20px 40px 40px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.doi-team-section .gallery-container::-webkit-scrollbar {
    display: none;
}

.doi-team-section .gallery-track {
    display: flex;
    gap: 25px;
    width: max-content;
}

/* Nav Buttons */
.doi-team-section .nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    font-size: 20px;
    color: #0f172a;
    transition: 0.3s;
}

.doi-team-section .nav-btn:hover {
    background: #f8fafc;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.doi-team-section .nav-prev {
    left: 0px;
}

.doi-team-section .nav-next {
    right: 0px;
}

@media(max-width: 1024px) {
    .doi-team-section .nav-btn {
        display: none;
    }

    .doi-team-section .gallery-container {
        padding: 10px 20px 30px;
        scroll-snap-type: x mandatory;
    }

    .doi-team-card {
        width: 300px !important;
        scroll-snap-align: center;
    }
}

/* --- Individual Doctor Card to match screenshots --- */
.doi-team-card {
    width: 340px;
    height: 640px;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid #f1f5f9;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

/* Hover, Cycle, Add is-active style */
.doi-team-card.is-active,
.doi-team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 184, 212, 0.1);
    border-color: rgba(0, 184, 212, 0.3);
}

.doi-team-card .doc-img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.8s ease;
}

.doi-team-card.is-active .doc-img,
.doi-team-card:hover .doc-img {
    transform: scale(1.05);
}

/* --- Glossy Animation --- */
.doi-team-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-25deg);
    transition: 0.7s;
    pointer-events: none;
    z-index: 2;
}

.doi-team-card.is-active::after,
.doi-team-card:hover::after {
    left: 150%;
    transition: 0.7s ease-in-out;
}

/* --- Content Layout --- */
.doc-info-box {
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: #ffffff;
    z-index: 3;
}

.doc-role-pill {
    display: inline-block;
    background: #e0f2fe;
    color: #0284c7;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 12px;
    width: fit-content;
}

.doc-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}

.doc-desc {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: auto;
    /* Push stats to bottom */
}

/* Stats Grid */
.stats-grid {
    margin-top: 16px;
    display: flex;
    gap: 10px;
}

.stat-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-box strong {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
    display: block;
    margin-bottom: 2px;
}

.stat-box span {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
    display: block;
    line-height: 1.2;
}







/* 11. INTERNATIONAL PATIENT TESTIMONIALS - WATERFALL STYLE */
.waterfall-section {
    position: relative;
    width: 100%;
    height: 100vh;
    /* Full screen height */
    min-height: 800px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f9f8f8;
}

/* Background Blob */
.bg-blob {
    position: absolute;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(74, 122, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* Center Header */
.overlay-header {
    position: absolute;
    z-index: 10;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    padding: 40px 60px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
    max-width: 500px;
}

.overlay-header h2 {
    font-size: 2.8rem;
    margin: 0 0 10px 0;
    background: linear-gradient(135deg, #1e293b 0%, #4a7aff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Poppins', var(--font-sans);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.overlay-header p {
    color: #64748b;
    font-size: 1.1rem;
    margin: 0;
}

/* Grid Layout */
.waterfall-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
    max-width: 1400px;
    height: 140%;
    position: relative;
    z-index: 2;
    transform: rotate(-2deg) scale(1.1);
    padding: 0 40px;
}

/* Columns */
.column {
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: flex-start;
}

/* Animations */
.flow-up {
    animation: scrollUp 60s linear infinite;
}

.flow-down {
    animation: scrollDown 60s linear infinite;
}

/* Pause on Hover */
.waterfall-grid:hover .column {
    animation-play-state: paused;
}

@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

@keyframes scrollDown {
    0% {
        transform: translateY(-50%);
    }

    100% {
        transform: translateY(0);
    }
}

/* Card Styles */
.review-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    padding: 24px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 40px rgba(74, 122, 255, 0.12);
    background: #fff;
    z-index: 5;
    border-color: #fff;
}

/* Card Header */
.card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.user-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.user-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #0f172a;
}

.user-location {
    font-size: 0.75rem;
    color: #94a3b8;
}

/* Icons */
.icon-google {
    color: #4285F4;
}

.icon-trust {
    color: var(--secondary);
}

.icon-proven {
    color: var(--accent);
}

/* Stars */
.stars {
    color: #fbbf24;
    font-size: 0.8rem;
    margin-bottom: 12px;
    display: flex;
    gap: 2px;
}

.review-text {
    font-size: 0.9rem;
    line-height: 1.55;
    color: #475569;
}

/* Special Card: Score Highlight */
.card-highlight {
    background: linear-gradient(135deg, #fffcf5 0%, #fff 100%);
    border: 1px solid #fceeb5;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
}

.highlight-score {
    font-size: 3.5rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1;
    margin: 10px 0;
}

/* Fade Masks */
.waterfall-section::before,
.waterfall-section::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 200px;
    z-index: 5;
    pointer-events: none;
}

.waterfall-section::before {
    top: 0;
    background: linear-gradient(to bottom, #f9f8f8 10%, transparent 100%);
}

.waterfall-section::after {
    bottom: 0;
    background: linear-gradient(to top, #f9f8f8 10%, transparent 100%);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .waterfall-grid {
        grid-template-columns: 1fr;
        transform: rotate(0deg) scale(1);
        padding: 0 20px;
    }

    .column:nth-child(2),
    .column:nth-child(3) {
        display: none;
    }

    .overlay-header {
        width: 85%;
        padding: 30px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .overlay-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .overlay-header h2 {
        font-size: 1.8rem;
    }
}

.testimonials-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.testimonial-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.patient-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--bg-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
}

.patient-info h4 {
    margin-bottom: 4px;
}

.patient-country {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--text-light);
    font-size: var(--text-sm);
}

.patient-treatment {
    color: var(--secondary);
    font-weight: 500;
    font-size: var(--text-sm);
}

.testimonial-rating {
    color: var(--accent);
    margin: var(--space-sm) 0;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-light);
    position: relative;
    padding-left: var(--space-md);
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 48px;
    color: var(--primary-light);
    font-family: serif;
}

.countries-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
    flex-wrap: wrap;
}

.country-flag {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}

.country-flag:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.country-flag i {
    font-size: 24px;
}

/* 12. TRAVEL & ACCOMMODATION - REMOVED AS REQUESTED */

/* 13. FAQ SECTION - INTERACTIVE */
.faq-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Header Area --- */
.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Poppins', var(--font-sans);
    color: #000;
    letter-spacing: -0.02em;
    margin-bottom: 15px;
}

.faq-header p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 30px;
}

/* Search Bar */
.search-wrapper {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
    font-size: 1rem;
    outline: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s;
    font-family: inherit;
}

.search-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.15);
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

/* --- Category Filters --- */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 24px;
    border-radius: 50px;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #64748b;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.tab-btn:hover {
    background: #f1f5f9;
}

.tab-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.2);
}

/* --- Main Content Grid --- */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Left: Question List */
.questions-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.question-item {
    background: #fff;
    padding: 20px 25px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.question-item:hover {
    border-color: #cbd5e1;
    transform: translateX(5px);
}

.question-item.active {
    border-color: #3b82f6;
    background: #eff6ff;
    color: #1d4ed8;
}

.q-text {
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1.4;
}

.q-icon {
    color: #94a3b8;
    transition: transform 0.3s;
}

.question-item.active .q-icon {
    color: #3b82f6;
}

/* Right: Sticky Answer Card (Desktop) */
.answer-panel {
    position: sticky;
    top: 40px;
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.answer-icon {
    width: 60px;
    height: 60px;
    background: #eff6ff;
    color: #3b82f6;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.answer-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 15px;
    line-height: 1.3;
}

.answer-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #475569;
}

/* Mobile Answer (Hidden on Desktop) */
.mobile-answer {
    display: none;
    padding: 15px 25px 25px 25px;
    color: #475569;
    line-height: 1.6;
    border-top: 1px solid #e2e8f0;
    margin-top: 10px;
    font-size: 0.95rem;
}

/* --- Responsive Design --- */
@media (max-width: 900px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .answer-panel {
        display: none;
        /* Hide sticky panel on mobile */
    }

    .question-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .q-header {
        display: flex;
        justify-content: space-between;
        width: 100%;
        align-items: center;
    }

    .question-item.active .mobile-answer {
        display: block;
        /* Show accordion content */
        animation: slideDown 0.3s ease;
    }

    .question-item.active .q-icon {
        transform: rotate(180deg);
    }

    .question-item:hover {
        transform: none;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
           FOOTER - MIDNIGHT DESIGN
        ========================= */
/* --- THE FOOTER CONTAINER --- */
.midnight-footer {
    background: var(--primary);
    /* Deep Navy/Charcoal */
    color: #fff;
    position: relative;
    overflow: hidden;
    padding: 100px 5% 40px 5%;
}

/* --- 1. THE BACKGROUND MARQUEE (Creative Layer) --- */
.footer-marquee {
    position: absolute;
    top: 10%;
    left: 0;
    width: 100%;
    white-space: nowrap;
    opacity: 0.03;
    /* Very subtle */
    font-family: 'Playfair Display', serif;
    font-size: 15vw;
    /* Massive text */
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
    user-select: none;
    animation: scrollText 40s linear infinite;
}

@keyframes scrollText {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* --- 2. MAIN GRID LAYOUT --- */
.footer-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.2fr;
    /* Brand | Links | Form */
    gap: 60px;
    align-items: start;
}

/* --- COL 1: BRAND & STATUS --- */
.brand-col h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.brand-desc {
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 400px;
}

/* Live Time Widget */
.time-widget {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: 12px;
}

.clock-icon {
    font-size: 1.2rem;
    color: #3b82f6;
    animation: pulse 2s infinite;
}

.time-info span {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.time-info strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}

@keyframes pulse {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.6;
    }
}

/* --- COL 2: QUICK LINKS & CONTACT --- */
.links-col {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.link-group h4 {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 600;
}

.link-list {
    list-style: none;
    padding: 0;
}

.link-list li {
    margin-bottom: 12px;
}

.link-list a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
}

.link-list a:hover {
    color: #3b82f6;
    transform: translateX(5px);
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: #cbd5e1;
}

.contact-row i {
    color: #3b82f6;
    width: 20px;
}

/* --- COL 3: THE ACTION CARD (Glass) --- */
.action-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 24px;
}

.action-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.action-card p {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.dark-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 12px;
    color: #fff;
    margin-bottom: 15px;
    outline: none;
    transition: border-color 0.3s;
}

.dark-input:focus {
    border-color: #3b82f6;
}

.glow-btn {
    width: 100%;
    padding: 16px;
    background: #3b82f6;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.glow-btn:hover {
    background: #fff;
    color: #3b82f6;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

/* --- BOTTOM BAR --- */
.footer-bottom {
    margin-top: 80px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    font-size: 0.85rem;
    position: relative;
    z-index: 2;
}

.socials {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
}

.social-link:hover {
    background: #3b82f6;
    transform: translateY(-3px);
}

/* --- MOBILE --- */
@media (max-width: 900px) {
    .midnight-footer {
        padding: 60px 20px 30px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .footer-marquee {
        font-size: 25vw;
        top: 5%;
    }

    /* Bigger text on mobile bg */

    .brand-col,
    .links-col {
        text-align: center;
        align-items: center;
    }

    .brand-desc {
        margin: 0 auto 30px auto;
    }

    .time-widget {
        margin: 0 auto;
    }

    .contact-row {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}


/* =========================
           UTILITY CLASSES
        ========================= */
.mt-1 {
    margin-top: var(--space-xs);
}

.mt-2 {
    margin-top: var(--space-sm);
}

.mt-3 {
    margin-top: var(--space-md);
}

.mt-4 {
    margin-top: var(--space-lg);
}

.mt-5 {
    margin-top: var(--space-xl);
}

.mb-1 {
    margin-bottom: var(--space-xs);
}

.mb-2 {
    margin-bottom: var(--space-sm);
}

.mb-3 {
    margin-bottom: var(--space-md);
}

.mb-4 {
    margin-bottom: var(--space-lg);
}

.mb-5 {
    margin-bottom: var(--space-xl);
}

.flex {
    display: flex;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.grid {
    display: grid;
}

.hidden {
    display: none !important;
}

/* Additional styles for new hero section */
.animate-bounce {
    animation: bounce 1s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(-25%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }

    50% {
        transform: none;
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

/* =========================
   MEGA MENU STYLES (ADD THIS)
   ========================= */
.dropdown.mega-menu-parent:hover .mega-menu-grid {
    display: grid;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-grid {
    display: none;
    position: absolute;
    top: 100%;
    left: -100px;
    /* Centers relative to menu item */
    width: 600px;
    /* Wider container */
    background: #fff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    z-index: 1100;
    grid-template-columns: 1fr 1fr;
    /* 2 Columns */
    gap: 30px;
    padding: 30px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.mega-col h4 {
    font-size: 0.85rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
}

.mega-col a {
    display: block;
    padding: 8px 0;
    color: #4b5563;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s, transform 0.2s;
}

.mega-col a:hover {
    color: var(--brand-blue);
    transform: translateX(5px);
    background: transparent !important;
}

/* Hide desktop CTA on mobile */
@media (max-width: 1024px) {
    .nav-right .btn-primary {
        display: none;
    }
}

/* =========================
   FIXED RESPONSIVE MENU CSS
========================= */

/* 1. HIDE ON MOBILE (Critical Fix) */
@media (max-width: 1024px) {
    .nav-center {
        display: none !important;
    }
}

/* 2. SHOW ON DESKTOP */
@media (min-width: 1025px) {
    .nav-center {
        display: flex !important;
        align-items: center;
        height: 100%;
    }
}



/* 3. MENU STYLING (Only applies when visible) */
.wp-menu {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.wp-menu>li {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.wp-menu>li>a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 1rem;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.wp-menu>li>a:hover {
    color: var(--primary);
}

/* Dropdown Arrow */
.wp-menu>li.menu-item-has-children>a::after {
    content: "\f078";
    /* FontAwesome Chevron Down */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.7rem;
    margin-top: 2px;
}

/* 4. SUB-MENU / DROPDOWN STYLES */
.wp-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 240px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    padding: 10px 0;

    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    z-index: 9999;
    display: block;
    list-style: none;
}

/* Hover Effect */
.wp-menu li:hover>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.wp-menu .sub-menu li {
    display: block;
    width: 100%;
}

.wp-menu .sub-menu li a {
    display: block;
    padding: 12px 25px;
    color: var(--text-light);
    font-size: 0.95rem;
    text-decoration: none;
    border-left: 3px solid transparent;
}

.wp-menu .sub-menu li a:hover {
    background: var(--bg-light);
    color: var(--primary);
    border-left-color: var(--primary);
    padding-left: 30px;
}


/* Mega Menu for WordPress */
.wp-mega-menu {
    width: 600px;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 30px;
}

.wp-mega-menu .mega-col h4 {
    font-size: 0.85rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
}

.wp-mega-menu .mega-col a {
    display: block;
    padding: 8px 0;
    color: #4b5563;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s, transform 0.2s;
}

.wp-mega-menu .mega-col a:hover {
    color: var(--brand-blue);
    transform: translateX(5px);
}


/* New Footer Styles */

/* The Skuad-style Rainbow Line */
.rainbow-border {
    background: linear-gradient(90deg, #FF4D4D 0%, #F9CB28 25%, #7928CA 50%, #4DFF91 100%);
    height: 4px;
    width: 100%;
}

/* Vibrant Background Glows */
.glow-purple {
    background: radial-gradient(circle, rgba(121, 40, 202, 0.25) 0%, rgba(0, 0, 0, 0) 70%);
}

.glow-green {
    background: radial-gradient(circle, rgba(77, 255, 145, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
}

/* Ensure no white space below footer */
html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Make footer stick to bottom */
footer {
    margin-top: auto;
}

/* Ensure main content takes available space */
main,
.main-content {
    flex: 1;
}

/* --- NEW: RESULTS PREVIEW STRIP --- */
.results-preview-strip {
    margin-top: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.preview-faces {
    display: flex;
    align-items: center;
    justify-content: center;
}

.face-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Creates the overlapping "cluster" effect */
}

.face-circle:not(:first-child) {
    margin-left: -12px;
}

.preview-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 8px;
    /* Spacing between faces and text */
}


/* Hero Section Styles */

body {
    background-color: #ffffff;
    overflow-x: hidden;
}

/* The Skuad-style background blurs */
.glow-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    z-index: -1;
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.1);
}

.text-gradient {
    background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =========================
       FINAL RESPONSIVE MENU FIX
    ========================= */

/* 1. FORCE HIDE ON MOBILE (Screens smaller than 1024px) */
@media (max-width: 1024px) {
    .nav-center {
        display: none !important;
    }
}

/* 2. SHOW ONLY ON DESKTOP (Screens larger than 1025px) */
@media (min-width: 1025px) {
    .nav-center {
        display: flex !important;
        align-items: center;
        gap: 30px;
        height: 100%;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* show the hamburger icon on desktop since we have the full menu */
    .desktop-hamburger {
        display: flex !important;
    }
}

/* 3. MENU LIST STYLING (Applies only when .nav-center is visible) */
.wp-menu {
    display: flex !important;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 25px;
    align-items: center;
}

.wp-menu>li {
    position: relative;
    display: inline-block;
    height: 100%;
}

.wp-menu a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    padding: 10px 0;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.wp-menu a:hover {
    color: var(--primary);
}

/* 4. DROPDOWN SUB-MENU STYLING */
/* Only show dropdown content when hovering the parent li */
.wp-menu li:hover>.sub-menu,
.wp-menu li:hover>.dropdown-content {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.wp-menu .sub-menu,
.wp-menu .dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid #f1f5f9;
    border-radius: 8px;
    z-index: 1001;
    padding: 10px 0;

    /* Hidden by default with animation setup */
    display: block;
    /* We control viz with opacity to allow transition */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease-in-out;
}

.wp-menu .sub-menu li,
.wp-menu .dropdown-content a {
    display: block;
    width: 100%;
}

.wp-menu .sub-menu a,
.wp-menu .dropdown-content a {
    padding: 12px 20px;
    display: block;
    color: var(--text);
    white-space: nowrap;
    font-size: 0.95rem;
}

.wp-menu .sub-menu a:hover,
.wp-menu .dropdown-content a:hover {
    background: var(--bg-light);
    color: var(--primary);
    padding-left: 25px;
    /* Slide effect */
}

/* =========================
   FORCE RAINBOW FOOTER LINE (FINAL ROBUST VERSION)
========================= */

/* 1. Ensure the footer is a positioning anchor and allows overlap */
footer,
.midnight-footer {
    position: relative !important;
    overflow: visible !important;
    /* Critical: prevents the line from being clipped */
}

/* 2. Draw the line - Simple and Strong */
footer::before,
.midnight-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100% !important;
    height: 4px !important;

    /* The Skuad-style Gradient */
    background: linear-gradient(90deg, #FF4D4D 0%, #F9CB28 25%, #7928CA 50%, #4DFF91 100%) !important;

    z-index: 99999 !important;
    /* Maximum visibility */
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: none;
    /* Allows clicking through the line if needed */
}

/* =========================================
   NEW CUSTOMIZER CSS (Appended)
   ========================================= */

/* --- PREMIUM BLOG POST DESIGN (WIDER & CLEANER) --- */

/* 1. GLOBAL LAYOUT */
.blog-main-wrapper {
    width: 100%;
    overflow-x: hidden;
    background: #fff;
    font-family: 'Manrope', sans-serif;
    color: #334155;
}

/* 2. HERO HEADER */
.blog-hero-header {
    background: #F8FAFC;
    padding: 80px 20px;
    text-align: center;
    border-bottom: 1px solid #E2E8F0;
    margin-bottom: 60px;
}

.hero-inner {
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: #0F172A;
    line-height: 1.15;
    margin: 20px 0;
    letter-spacing: -1px;
}

.hero-cat {
    background: #DBEAFE;
    color: #1E40AF;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-meta {
    color: #64748B;
    font-size: 1rem;
    font-weight: 500;
}

/* 3. GRID SYSTEM (Wider) */
.blog-container {
    max-width: 1300px;
    /* INCREASED WIDTH */
    margin: 0 auto;
    padding: 0 20px 100px;
}

.blog-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    /* Content gets more space */
    gap: 80px;
    /* More breathing room between article and sidebar */
    align-items: start;
}

/* 4. ARTICLE TYPOGRAPHY (The most important part) */
.article-featured-img img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    margin-bottom: 50px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.article-text-body {
    font-size: 1.15rem;
    /* Larger text is easier to read */
    line-height: 1.8;
    color: #334155;
}

/* Headings inside the article */
.article-text-body h2 {
    font-size: 2.2rem;
    color: #0F172A;
    font-weight: 800;
    margin-top: 60px;
    margin-bottom: 25px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.article-text-body h3 {
    font-size: 1.6rem;
    color: #1E3A8A;
    /* Navy Blue */
    font-weight: 700;
    margin-top: 45px;
    margin-bottom: 20px;
}

/* Paragraphs & Links */
.article-text-body p {
    margin-bottom: 25px;
}

.article-text-body a {
    color: #3B82F6;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid #DBEAFE;
    transition: 0.2s;
}

.article-text-body a:hover {
    background: #DBEAFE;
    border-bottom-color: #3B82F6;
}

.article-text-body strong {
    color: #0F172A;
    font-weight: 800;
}

/* Lists (Bullet points) */
.article-text-body ul,
.article-text-body ol {
    margin-bottom: 35px;
    padding-left: 20px;
}

.article-text-body li {
    margin-bottom: 12px;
    padding-left: 10px;
    position: relative;
}

.article-text-body ul li::marker {
    color: #3B82F6;
    font-size: 1.2rem;
}

/* 5. SIDEBAR STYLES (Keep existing) */
.sidebar-card {
    background: #fff;
    border: 1px solid #E2E8F0;
    padding: 35px;
    border-radius: 20px;
    margin-bottom: 30px;
}

.form-card {
    background: #0F172A;
    color: white;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
}

.form-card h3 {
    color: white;
    margin-top: 0;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.form-card p {
    color: #CBD5E1;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.safe-input {
    display: block;
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 15px;
    border-radius: 10px;
    border: 2px solid transparent;
    background-color: #ffffff !important;
    color: #0F172A !important;
    font-size: 1rem;
    box-sizing: border-box;
}

.safe-btn {
    width: 100%;
    padding: 16px;
    background: #3B82F6;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    font-size: 1.05rem;
    transition: 0.2s;
}

.safe-btn:hover {
    background: #2563EB;
    transform: translateY(-2px);
}

.privacy-text {
    text-align: center;
    font-size: 0.8rem;
    color: #64748B;
    margin-top: 15px;
}

/* Recent Posts */
.recent-card h4 {
    margin: 0 0 25px 0;
    color: #0F172A;
    font-weight: 800;
    font-size: 1.2rem;
}

.recent-row {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: #334155;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.4;
    font-size: 1rem;
}

.recent-img {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    object-fit: cover;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .blog-container {
        max-width: 100%;
    }

    .blog-grid {
        gap: 40px;
    }
}

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

    .hero-title {
        font-size: 2.2rem;
    }
}

/* =========================================
   GLOBAL PREMIUM BUTTON STYLE (Skuad Style)
   ========================================= */

/* Target all primary buttons, header CTA, and form submit buttons */
.btn-primary,
.doi-cta,
.wp-block-button__link,
input[type="submit"],
button[type="submit"] {
    background-color: #0f172a !important;
    /* The Premium Dark Navy */
    color: #ffffff !important;
    border-radius: 12px !important;
    /* Smooth modern corners */
    padding: 14px 32px !important;
    /* Comfortable size */
    font-weight: 700 !important;
    /* Bold text */
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    /* Subtle glass border */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
    transition: all 0.2s ease-in-out !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

/* Hover Effect - Slight lift and glow */
.btn-primary:hover,
.doi-cta:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover,
button[type="submit"]:hover {
    background-color: #1e293b !important;
    /* Slightly lighter navy */
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
}

/* Specific Fix for the Header "Get Free Treatment Plan" button */
.header .btn-primary,
.header .doi-cta {
    padding: 12px 24px !important;
    /* Slightly smaller for header to fit well */
    font-size: 0.95rem !important;
}

/* --- FORCE REMOVE RAINBOW LINE --- */
.rainbow-border {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    position: static !important;
    z-index: -9999 !important;
}

/* Additional fix for new footer line style */
footer::before,
.midnight-footer::before {
    display: none !important;
}

/* --- ENSURE MENU IS ALWAYS ON TOP --- */
#side-menu,
.mobile-menu-container {
    z-index: 999999 !important;
}

/* --- HIDE HEADER CTA BUTTON ON MOBILE (SAFER VERSION) --- */
@media (max-width: 768px) {

    /* Target ONLY the specific button classes */
    .header .btn-primary,
    .header .doi-cta,
    .site-header .btn-primary,
    .site-header .doi-cta,
    a.wp-block-button__link {
        display: none !important;
    }
}

@media (max-width: 767px) {

    /* Prevent horizontal scrolling/white space */
    html,
    body {
        overflow-x: hidden;
        position: relative;
    }

    /* Force transformation cards to stay within screen width */
    .patient-transformations-section,
    .transformation-card {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box;
    }

    /* Ensure the "Dental Implants" badge doesn't push the width */
    .transformation-badge {
        max-width: 90vw;
    }
}

/* --- MODERN CART PAGE REDESIGN --- */

/* 1. Main Wrapper & Fonts */
.woocommerce-cart .woocommerce {
    max-width: 1100px;
    margin: 40px auto;
    font-family: 'Manrope', sans-serif;
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

/* 2. Table Header (Hide Ugly Borders) */
.woocommerce-cart table.shop_table {
    border: none !important;
    border-radius: 0 !important;
}

.woocommerce-cart table.shop_table th {
    background: #f8fafc;
    color: #64748b;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px;
    border: none;
}

/* 3. Product Row Styling */
.woocommerce-cart table.shop_table td {
    padding: 20px 10px;
    border-top: 1px solid #f1f5f9;
    border-bottom: none !important;
    vertical-align: middle;
}

/* Product Name */
.woocommerce-cart table.shop_table td.product-name a {
    color: #0f172a;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
}

/* Price */
.woocommerce-cart table.shop_table td.product-price,
.woocommerce-cart table.shop_table td.product-subtotal {
    color: #0f172a;
    font-weight: 800;
    font-size: 16px;
}

/* 4. Remove Button (Make it a clean red trash icon) */
.woocommerce-cart table.shop_table td.product-remove a.remove {
    color: #ef4444 !important;
    background: #fee2e2 !important;
    width: 30px;
    height: 30px;
    line-height: 28px;
    border-radius: 50%;
    font-size: 18px;
    font-weight: bold;
    transition: 0.2s;
}

.woocommerce-cart table.shop_table td.product-remove a.remove:hover {
    background: #ef4444 !important;
    color: white !important;
}

/* 5. "Update Cart" & Coupon Section */
.woocommerce-cart table.shop_table td.actions {
    padding: 30px 0 0 0;
    border-top: 1px solid #e2e8f0;
}

/* Coupon Input */
.woocommerce-cart .coupon input.input-text {
    padding: 12px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    width: 200px !important;
    margin-right: 10px;
}

/* Apply Coupon Button */
.woocommerce-cart .coupon button.button {
    background: #fff !important;
    color: #0f172a !important;
    border: 1px solid #cbd5e1 !important;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
}

/* Update Cart Button (Disabled look until needed) */
.woocommerce-cart button[name="update_cart"] {
    background: #f1f5f9 !important;
    color: #64748b !important;
    border-radius: 8px;
    font-weight: 600;
}

/* 6. CART TOTALS BOX (Right Side) */
.cart-collaterals .cart_totals {
    background: #f8fafc;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    width: 100% !important;
    /* Force full width or adjust */
    margin-top: 40px;
}

.cart-collaterals h2 {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    text-transform: none;
    margin-bottom: 20px;
}

/* Total Rows */
.cart_totals table.shop_table th {
    background: transparent;
    color: #64748b;
    font-weight: 600;
    padding: 15px 0;
}

.cart_totals table.shop_table td {
    text-align: right;
    padding: 15px 0;
}

/* Final Total Price */
.cart_totals .order-total .woocommerce-Price-amount {
    font-size: 24px;
    font-weight: 800;
    color: #3b82f6;
}

/* 7. "PROCEED TO CHECKOUT" BUTTON (The most important one) */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    background-color: #0f172a !important;
    /* Dark Navy */
    color: white !important;
    font-size: 18px;
    font-weight: 700;
    padding: 18px 30px;
    border-radius: 12px;
    transition: 0.3s;
    margin-top: 20px;
    display: block;
    width: 100%;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    background-color: #1e293b !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.2);
}

/* Responsive Fix */
@media (max-width: 768px) {
    .woocommerce-cart .woocommerce {
        padding: 20px;
    }

    .woocommerce-cart table.shop_table td.actions {
        flex-direction: column;
        gap: 10px;
    }

    .woocommerce-cart .coupon {
        width: 100%;
        display: flex;
        gap: 10px;
    }
}

/* --- HIDE COUPON SECTION IN CART --- */
.woocommerce-cart .coupon {
    display: none !important;
}

/* --- PREMIUM CHECKOUT PAGE DESIGN --- */

/* 1. Main Layout & Fonts */
.woocommerce-checkout {
    font-family: 'Manrope', sans-serif;
    background: #f8fafc;
    /* Light Grey Background */
    padding: 40px 20px;
}

.woocommerce-checkout .col2-set,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
    max-width: 1100px;
    margin: 0 auto;
}

/* 2. Left Column: Billing Details */
.woocommerce-checkout .woocommerce-billing-fields {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    margin-bottom: 30px;
}

.woocommerce-checkout h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0F172A;
    /* Dark Navy */
    margin-bottom: 25px;
}

/* 3. Form Inputs (Make them look nice) */
.woocommerce-checkout form .form-row input.input-text,
.woocommerce-checkout form .form-row textarea,
.woocommerce-checkout form .form-row select {
    padding: 14px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 15px;
    color: #334155;
    background: #f8fafc;
    transition: 0.3s;
    width: 100%;
}

.woocommerce-checkout form .form-row input.input-text:focus,
.woocommerce-checkout form .form-row textarea:focus,
.woocommerce-checkout form .form-row select:focus {
    background: #ffffff;
    border-color: #3b82f6;
    /* Blue Focus */
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Labels */
.woocommerce-checkout form .form-row label {
    font-weight: 700;
    color: #475569;
    font-size: 0.9rem;
    margin-bottom: 6px;
    display: block;
}

/* 4. Right Column: Your Order & Payment */
.woocommerce-checkout-review-order {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

/* Order Table */
.woocommerce-checkout table.shop_table {
    border: none;
    margin-bottom: 30px;
}

.woocommerce-checkout table.shop_table th {
    color: #64748b;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    border-bottom: 2px solid #f1f5f9;
    padding: 15px 0;
}

.woocommerce-checkout table.shop_table td {
    border-bottom: 1px solid #f1f5f9;
    padding: 15px 0;
    color: #0f172a;
    font-weight: 600;
}

.woocommerce-checkout table.shop_table tfoot th {
    border-top: none;
}

/* Total Price */
.woocommerce-checkout .order-total th,
.woocommerce-checkout .order-total td {
    border-top: 2px solid #e2e8f0;
    font-size: 1.2rem;
    color: #0F172A;
    font-weight: 800;
}

/* 5. Payment Box Styling */
#payment {
    background: #f8fafc !important;
    border-radius: 12px;
    padding: 20px !important;
}

#payment ul.payment_methods {
    border-bottom: 1px solid #e2e8f0 !important;
    padding-bottom: 20px;
}

/* 6. "PLACE ORDER" BUTTON (Big & Blue) */
#place_order {
    background-color: #0F172A !important;
    color: white !important;
    font-size: 18px;
    font-weight: 700;
    padding: 20px;
    border-radius: 12px;
    width: 100%;
    margin-top: 20px;
    transition: 0.3s;
}

#place_order:hover {
    background-color: #1e293b !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(15, 23, 42, 0.2);
}

/* 7. Hide Coupon Toggle (Optional - since you removed it from cart) */
.woocommerce-form-coupon-toggle {
    display: none !important;
}

/* --- FIX FOOTER WIDTH --- */
/* This forces the footer to ignore the checkout page padding */
.woocommerce-checkout .elementor-location-footer,
.woocommerce-checkout footer,
.woocommerce-checkout #footer {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}