/* PEACE HOMOEOPATHY - DESIGN SYSTEM & BEHANCE LAYOUT */

@font-face {
    font-family: 'SF Pro Display';
    src: url('fonts/SFPRODISPLAYREGULAR.OTF') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('fonts/SFPRODISPLAYMEDIUM.OTF') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('fonts/SFPRODISPLAYBOLD.OTF') format('opentype');
    font-weight: 700;
    font-style: normal;
}

:root {
    /* Brand Color Palette - Modern White & Dark Green & Light Green Font */
    --primary-color: #344E41;      /* Primary Dark Green */
    --secondary-color: #7A9B76;    /* Secondary Light Green */
    --gold-color: #C17F3E;         /* Amber Accent */
    --light-mint: #FFFFFF;         /* Main background: Pure White */
    --bg-cream: #FFFFFF;           /* Panels/Alternative background: Pure White */
    --text-dark: #121F17;          /* Primary Text: Dark Green-Black */
    --text-muted: #588157;         /* Light/Medium Green Font for readability */
    --white: #FFFFFF;
    
    /* Fonts - SF Pro Display */
    --font-heading: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-accent: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Layout & Shape variables */
    --container-width: 1200px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;      /* Behance Rounded Corner Standard */
    --border-radius-xl: 40px;
    --shadow-soft: 0 10px 30px rgba(8, 28, 21, 0.04);
    --shadow-medium: 0 16px 40px rgba(8, 28, 21, 0.08);
    --shadow-hard: 0 24px 60px rgba(8, 28, 21, 0.12);
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

/* Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--light-mint); /* Site-wide background inspired by Behance E2F0F0 */
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

section {
    padding: 120px 0;
    position: relative;
}

.divider {
    width: 50px;
    height: 3px;
    background-color: var(--gold-color);
    margin: 20px auto 0;
    border-radius: 2px;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.sub-title {
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-color);
    display: block;
    margin-bottom: 8px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-top: 15px;
}

/* Typography elements */
h1, h2, h3, h4, h5 {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
    cursor: pointer;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(27, 77, 62, 0.15);
}

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

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(27, 77, 62, 0.1);
}

.btn-block {
    width: 100%;
}

/* Floating Glassmorphic Header (Behance Style) */
.main-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: var(--container-width);
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.85); /* Glass White */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(27, 77, 62, 0.08);
    border-radius: 50px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    border-color: rgba(27, 77, 62, 0.12);
    box-shadow: var(--shadow-medium);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    padding: 0 30px;
    transition: var(--transition-smooth);
}

.main-header.scrolled .header-container {
    height: 70px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

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

.logo-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.1;
    letter-spacing: -0.5px;
    transition: var(--transition-smooth);
}

.logo-subtitle {
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--gold-color);
    margin-top: 2px;
    transition: var(--transition-smooth);
}



.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold-color);
    transition: var(--transition-fast);
}

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

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 50px;
    transition: var(--transition-smooth);
    font-family: var(--font-display);
}

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

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 1.5rem;
}



/* Hero Section (Behance Replica Layout) */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--light-mint);
    position: relative;
    overflow: hidden;
    padding-top: 150px;
    padding-bottom: 40px;
}

/* Vertical Stripes Grid */
.behance-vertical-stripes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 19.9%,
        rgba(27, 77, 62, 0.03) 19.9%,
        rgba(27, 77, 62, 0.03) 20%
    );
    pointer-events: none;
    z-index: 1;
}

.hero-container-behance {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: auto;
    min-height: calc(100vh - 190px);
    position: relative;
    z-index: 2;
}

.hero-centered-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    margin: 40px auto;
    z-index: 2;
}

.hero-watermark-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-family: var(--font-display);
    font-size: clamp(4.5rem, 9vw, 9rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -4px;
    color: rgba(88, 129, 87, 0.04);
    pointer-events: none;
    z-index: 1;
}

.watermark-text-left {
    margin-right: auto;
}

.watermark-text-right {
    margin-left: auto;
}

.eyebrow {
    font-family: var(--font-body);
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    z-index: 2;
}

.eyebrow::before, .eyebrow::after {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--gold-color);
}

h1.thesis {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.12;
    letter-spacing: -0.01em;
    color: var(--text-dark);
    max-width: 800px;
    margin: 0 auto;
    z-index: 2;
}

h1.thesis em {
    font-style: italic;
    color: var(--gold-color);
}

.hero-sub {
    margin-top: 28px;
    font-size: 18px;
    color: var(--text-muted);
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    z-index: 2;
}

.doctor-credentials-centered {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    z-index: 2;
    flex-wrap: wrap;
}

.doctor-credentials-centered .cred-main {
    font-family: var(--font-body);
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.doctor-credentials-centered .cred-sep {
    color: var(--gold-color);
    font-weight: 300;
}

.doctor-credentials-centered .cred-sub {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--secondary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Bottom Row Split */
.hero-bottom-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    width: 100%;
    margin-top: auto;
}

.hero-action-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-btn-behance {
    border-radius: 50px;
    padding: 18px 36px;
    font-size: 1.05rem;
    box-shadow: var(--shadow-medium);
}

.tagline-script {
    font-family: var(--font-accent);
    font-style: italic;
    font-weight: 300;
    font-size: 1.8rem;
    color: var(--gold-color);
    margin-top: 15px;
    line-height: 1;
}

.hero-stats-right {
    display: flex;
    gap: 40px;
}

.behance-stat-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.b-stat-num {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 2.5rem;
    color: var(--primary-color);
    line-height: 1;
}

.b-stat-text {
    font-family: var(--font-display);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 700;
    margin-top: 4px;
}

/* Hidden Stats Banner since stats are in Hero now */
.stats-banner {
    display: none;
}

/* Why Choose Me Section (Behance Single Box Layout) */
.why-choose-section {
    background-color: var(--bg-cream);
}

.why-choose-single-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
}

.why-single-card {
    background-color: var(--white);
    padding: 60px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(27, 77, 62, 0.06);
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
    overflow: hidden;
}

.why-single-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--gold-color);
}

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

.why-single-badge {
    display: flex;
    align-items: center;
    gap: 8px;
}

.badge-num {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--gold-color);
    background-color: rgba(203, 163, 81, 0.1);
    padding: 4px 12px;
    border-radius: 30px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--gold-color);
    border-radius: 50%;
}

.why-single-icon {
    width: 48px;
    height: 48px;
    background-color: var(--light-mint);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
}

.why-single-icon i {
    width: 22px;
    height: 22px;
}

.why-single-content h3 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.why-single-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 35px;
}

.why-single-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    border-top: 1px solid rgba(27, 77, 62, 0.08);
    padding-top: 30px;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.highlight-item i {
    width: 20px;
    height: 20px;
    color: var(--gold-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.highlight-item span {
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--text-muted);
}

/* Specialized Treatments Horizontal Scroll */
.expertise-section {
    background-color: var(--light-mint);
    padding: 50px 0 120px 0;
}

.expertise-scroll-container {
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 20px 0 40px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--gold-color) rgba(27, 77, 62, 0.05);
}

.expertise-scroll-container::-webkit-scrollbar {
    height: 8px;
}

.expertise-scroll-container::-webkit-scrollbar-track {
    background: rgba(27, 77, 62, 0.03);
    border-radius: 10px;
}

.expertise-scroll-container::-webkit-scrollbar-thumb {
    background: var(--gold-color);
    border-radius: 10px;
}

.expertise-scroll-container::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

.expertise-scroll-row {
    display: flex;
    gap: 30px;
    padding: 0 10px;
}

.expertise-scroll-card {
    flex: 0 0 350px;
    scroll-snap-align: start;
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(27, 77, 62, 0.03);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.expertise-scroll-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(27, 77, 62, 0.1);
}

.exp-card-icon {
    width: 50px;
    height: 50px;
    background-color: var(--light-mint);
    color: var(--primary-color);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: var(--transition-fast);
}

.expertise-scroll-card:hover .exp-card-icon {
    background-color: var(--primary-color);
    color: var(--white);
}

.exp-card-icon i {
    width: 24px;
    height: 24px;
}

.expertise-scroll-card h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.exp-card-conditions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.exp-card-conditions span {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: rgba(27, 77, 62, 0.04);
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 20px;
}

.expertise-scroll-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 0;
    flex-grow: 1;
}

.expertise-slider-controls {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-bottom: 25px;
}

.slider-arrow {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid rgba(27, 77, 62, 0.1);
    background-color: var(--white);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.slider-arrow:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Services Slider Section (Behance Layout) */
.services-slider-section {
    background-color: var(--bg-cream);
    overflow: hidden;
}

.services-slider-container {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 40px;
    align-items: center;
}

.slider-title-card {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 50px 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slider-title-card .sub-title {
    color: var(--gold-color);
}

.slider-title-card h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.slider-title-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.slider-controls {
    display: flex;
    gap: 15px;
}

.slider-controls button {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.slider-controls button:hover {
    background-color: var(--gold-color);
    color: var(--primary-color);
    border-color: var(--gold-color);
}

.services-carousel {
    display: flex;
    gap: 25px;
    transition: var(--transition-smooth);
    width: 100%;
}

.service-slide-card {
    min-width: calc(50% - 13px);
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(27, 77, 62, 0.03);
    transition: var(--transition-smooth);
    opacity: 0.5;
    transform: scale(0.95);
}

.service-slide-card.active {
    opacity: 1;
    transform: scale(1);
    border-color: rgba(203, 163, 81, 0.25);
    box-shadow: var(--shadow-medium);
}

.s-card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--border-radius-sm);
    background-color: var(--light-mint);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.s-card-icon i {
    width: 26px;
    height: 26px;
}

.service-slide-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.service-slide-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Timeline Section */
.timeline-section {
    background-color: var(--bg-cream);
}

.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0;
    padding: 20px 0;
}

.timeline-line {
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--primary-color);
    opacity: 0.2;
}

.timeline-item {
    position: sticky;
    top: 120px;
    width: 100%;
    padding-left: 70px;
    padding-right: 20px;
    margin-bottom: 50px;
    box-sizing: border-box;
}

/* z-index assignments for correct stacking hierarchy */
.timeline-item:nth-child(1) { z-index: 1; }
.timeline-item:nth-child(2) { z-index: 2; }
.timeline-item:nth-child(3) { z-index: 3; }
.timeline-item:nth-child(4) { z-index: 4; }
.timeline-item:nth-child(5) { z-index: 5; }
.timeline-item:nth-child(6) { z-index: 6; }
.timeline-item:nth-child(7) { z-index: 7; }

.timeline-dot {
    position: absolute;
    left: 22px; /* Center of 18px dot is 22 + 9 = 31px. Line is at 30px, center is 31px. Perfect alignment. */
    top: 38px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--gold-color);
    border: 3px solid var(--primary-color);
    z-index: 10;
    box-sizing: border-box;
}

.timeline-content-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(27, 77, 62, 0.04);
    /* Border-color and box-shadow transitions only, transform/opacity handled scroll-synchronously in JS */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content-card:hover {
    box-shadow: var(--shadow-medium);
    border-color: rgba(203, 163, 81, 0.25);
}

.timeline-badge {
    display: inline-block;
    background-color: rgba(27, 77, 62, 0.05);
    color: var(--primary-color);
    padding: 4px 10px;
    font-size: 0.72rem;
    font-weight: 800;
    border-radius: 4px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--font-display);
}

.timeline-year {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--gold-color);
    display: block;
    margin-bottom: 4px;
}

.timeline-content-card h3 {
    font-family: var(--font-serif);
    font-size: 1.7rem;
    font-weight: 600;
    font-style: italic;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.timeline-content-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Patient Reviews Marquee Section */
.reviews-section {
    background-color: var(--light-mint);
    overflow: hidden;
}

.reviews-marquee-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

/* Gradient Fade Masks on Sides */
.reviews-marquee-container::before,
.reviews-marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 10;
    pointer-events: none;
}

.reviews-marquee-container::before {
    left: 0;
    background: linear-gradient(to right, var(--light-mint) 20%, rgba(230, 246, 239, 0));
}

.reviews-marquee-container::after {
    right: 0;
    background: linear-gradient(to left, var(--light-mint) 20%, rgba(230, 246, 239, 0));
}

.marquee-row {
    display: flex;
    width: max-content;
    overflow: visible;
    padding: 25px 0;
    margin: -25px 0;
    user-select: none;
}

.marquee-content {
    display: flex;
    gap: 25px;
}

.marquee-row.scroll-left .marquee-content {
    animation: marqueeLeft 38s linear infinite;
}

.marquee-row.scroll-right .marquee-content {
    animation: marqueeRight 38s linear infinite;
}

/* Hover-pause effect */
.marquee-row:hover .marquee-content {
    animation-play-state: paused;
}

.marquee-content img {
    height: 220px;
    width: auto;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(27, 77, 62, 0.08);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
    background-color: var(--white);
    display: block;
}

.marquee-content img:hover {
    transform: scale(1.15) translateY(-10px);
    box-shadow: var(--shadow-hard);
    border-color: var(--gold-color);
    z-index: 100;
    position: relative;
}

@keyframes marqueeLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes marqueeRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* Education Section */
.edu-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 60px;
}

.hahnemann-box {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-hard);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.badge-gold {
    background-color: var(--gold-color);
    color: var(--primary-color);
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hahnemann-box h2 {
    color: var(--white);
    font-size: 2.8rem;
    margin-bottom: 5px;
}

.hahnemann-title {
    color: var(--secondary-color);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 30px;
}

.hahnemann-quote {
    background-color: rgba(255, 255, 255, 0.05);
    border-left: 3px solid var(--gold-color);
    padding: 20px;
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    margin-bottom: 30px;
}

.hahnemann-quote p {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-style: italic;
    color: var(--white);
    margin-bottom: 8px;
    font-weight: 500;
}

.hahnemann-quote span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    display: block;
}

.hahnemann-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin-bottom: 40px;
}

.global-stats {
    display: flex;
    gap: 40px;
}

.g-stat span {
    font-family: var(--font-body);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--gold-color);
    line-height: 1;
    display: block;
    margin-bottom: 5px;
}

.g-stat p {
    font-size: 0.8rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
}

/* Myths vs Facts Cards */
.myths-facts-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.myths-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.flip-card {
    background-color: transparent;
    width: 100%;
    height: 180px;
    perspective: 1000px;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: var(--border-radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(27, 77, 62, 0.03);
}

.flip-card-front {
    background-color: var(--white);
    color: var(--primary-color);
}

.flip-card-back {
    background-color: var(--primary-color);
    color: var(--white);
    transform: rotateY(180deg);
}

.card-tag {
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 1px;
    padding: 4px 8px;
    border-radius: 4px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.myth-tag {
    background-color: #FCE8E6;
    color: #C5221F;
}

.fact-tag {
    background-color: var(--gold-color);
    color: var(--primary-color);
}

.flip-card-front h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.3;
}

.flip-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
}

.flip-hint i {
    width: 12px;
    height: 12px;
}

.flip-card-back p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* FAQ Accordion Section */
.faqs-section {
    background-color: var(--bg-cream);
}

.faq-container {
    max-width: 800px;
}

.faq-accordion {
    display: grid;
    gap: 15px;
}

.faq-item {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(27, 77, 62, 0.03);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
}

.faq-question span {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.3;
}

.faq-icon {
    color: var(--gold-color);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.faq-item.active {
    border-color: rgba(203, 163, 81, 0.25);
    box-shadow: var(--shadow-medium);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer p {
    padding: 0 30px 24px;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Split Layout Contact & Booking Form (Behance Layout) */
.contact-booking-section {
    background-color: var(--light-mint);
}

.contact-booking-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 60px;
    align-items: center;
}

.booking-contacts-list {
    margin-top: 35px;
    display: grid;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-item i {
    width: 44px;
    height: 44px;
    padding: 10px;
    border-radius: var(--border-radius-sm);
    background-color: var(--white);
    color: var(--gold-color);
    box-shadow: var(--shadow-soft);
}

.contact-item h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 2px;
}

.contact-item a {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

.contact-item a:hover {
    color: var(--gold-color);
}

.booking-branches-list {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    border-top: 1px solid rgba(27, 77, 62, 0.1);
    padding-top: 30px;
}

.branch-detail h5 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.branch-detail p {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.booking-hours-list {
    margin-top: 30px;
    background-color: rgba(27, 77, 62, 0.03);
    padding: 20px;
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(27, 77, 62, 0.05);
}

.hours-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.hours-header i {
    width: 18px;
    height: 18px;
    color: var(--gold-color);
}

.hours-header h5 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 0;
    color: var(--primary-color);
}

.hours-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.hours-day {
    font-weight: 700;
}

.hours-time {
    color: var(--text-muted);
}

.hours-item.closed .hours-time {
    color: #c94a4a;
    font-weight: 700;
}

.easy-aspataal-badge {
    margin-top: 40px;
    background-color: var(--white);
    padding: 16px 20px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(27, 77, 62, 0.03);
}

.easy-aspataal-badge i {
    width: 28px;
    height: 28px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.easy-aspataal-badge strong {
    font-size: 0.95rem;
    display: block;
    color: var(--primary-color);
}

.easy-aspataal-badge p {
    font-size: 0.8rem;
    margin-bottom: 0;
}

/* Booking Card Form */
.booking-card-wrapper {
    background-color: var(--white);
    padding: 50px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(27, 77, 62, 0.03);
}

.booking-card-wrapper h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.booking-card-wrapper h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--gold-color);
}

.appointment-form {
    display: grid;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary-color);
}

.form-group input, .form-group select, .form-group textarea {
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 14px 18px;
    border: 1px solid rgba(27, 77, 62, 0.15);
    border-radius: var(--border-radius-sm);
    background-color: var(--bg-cream);
    color: var(--text-dark);
    outline: none;
    transition: var(--transition-fast);
}

.form-group input::placeholder, .form-group textarea::placeholder {
    color: rgba(8, 28, 21, 0.35);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--gold-color);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(203, 163, 81, 0.12);
}

.form-group input[readonly] {
    background-color: var(--light-mint);
    border-color: rgba(27, 77, 62, 0.1);
    color: var(--primary-color);
    font-weight: 700;
    cursor: default;
}

/* Footer */
.main-footer {
    background-color: #F4FAF7;
    color: var(--text-dark);
    padding: 80px 0 0;
    border-top: 1.5px solid #C1DDD2;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-footer.appear {
    opacity: 1;
    transform: translateY(0);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(88, 129, 87, 0.12);
}

.footer-brand,
.footer-links,
.footer-branches {
    max-width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-footer.appear .footer-brand,
.main-footer.appear .footer-links,
.main-footer.appear .footer-branches {
    opacity: 1;
    transform: translateY(0);
}

.main-footer.appear .footer-brand { transition-delay: 0.1s; }
.main-footer.appear .footer-links { transition-delay: 0.2s; }
.main-footer.appear .footer-branches { transition-delay: 0.3s; }

.footer-brand {
    max-width: 320px;
}

.logo-area-footer {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.logo-title-footer {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--primary-color);
    line-height: 1;
}

.logo-sub-footer {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--gold-color);
    margin-top: 5px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    color: var(--white);
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-icons a svg {
    width: 26px;
    height: 26px;
}

.social-icons a[aria-label="Instagram"] {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-icons a[aria-label="YouTube"] {
    background-color: #FF0000;
}

.social-icons a:hover {
    transform: translateY(-3px) scale(1.05);
    filter: brightness(1.1);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links h4, .footer-branches h4 {
    font-size: 1.15rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.footer-links a {
    color: var(--text-dark);
    opacity: 0.85;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.footer-links a:hover {
    color: var(--gold-color);
    padding-left: 8px;
    transform: translateX(3px);
    opacity: 1;
}

.footer-branches {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-branches p {
    color: var(--text-dark);
    opacity: 0.85;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.footer-branches strong {
    color: var(--primary-color);
}

.footer-bottom {
    background-color: rgba(52, 78, 65, 0.03);
    border-top: 1px solid rgba(88, 129, 87, 0.06);
    padding: 30px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0;
}

.footer-bottom a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--gold-color);
}


/* Privacy Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    background-color: rgba(8, 28, 21, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-hard);
    width: 90%;
    max-width: 550px;
    overflow: hidden;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.modal-overlay.open .modal-card {
    transform: translateY(0);
}

.modal-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 0;
}

.modal-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.modal-body {
    padding: 30px;
    display: grid;
    gap: 20px;
}

.modal-body p {
    font-size: 0.95rem;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(27, 77, 62, 0.08);
    padding-bottom: 15px;
}

.modal-body p:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.modal-body strong {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 4px;
    color: var(--gold-color);
}

/* Animations */
@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulseHalo {
    0% { transform: scale(0.9); opacity: 0.8; }
    100% { transform: scale(1.3); opacity: 0; }
}

@keyframes floatSlow {
    0% { transform: translateY(0) rotate(-5deg); }
    100% { transform: translateY(-8px) rotate(5deg); }
}

@keyframes bounceUpDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

@keyframes slideInInfo {
    from { opacity: 0; transform: translateX(15px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Scroll Animations */
.js-enabled .fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.js-enabled .fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Load Stagger Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-centered-content .eyebrow {
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-centered-content h1.thesis {
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}
.hero-centered-content .hero-sub {
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}
.hero-centered-content .doctor-credentials-centered {
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}
.hero-bottom-row {
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ===== OUR APPROACH METHODOLOGY FRAMES ===== */
.approach-section {
    background-color: var(--white);
    padding: 120px 0 50px;
    position: relative;
    overflow: hidden;
}

.clinical-flowchart-timeline {
    position: relative;
    width: 100%;
    margin-top: 60px;
    padding-left: 0;
}

/* Vertical timeline spine line */
.timeline-spine {
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--secondary-color), var(--primary-color));
    z-index: 1;
    transform-origin: top;
    transform: scaleY(0);
    transition: transform 2s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-spine.appear {
    transform: scaleY(1);
}

.timeline-phase {
    position: relative;
    padding-left: 80px;
    padding-bottom: 100px;
}

.timeline-phase:last-child {
    padding-bottom: 40px;
}

/* Spine dot styles removed to prevent overlapping - timeline spine animated instead */

.phase-header {
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(45px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-phase.active-phase .phase-header {
    opacity: 1;
    transform: translateY(0);
}

.phase-title-meta {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 10px;
}

.phase-title {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    color: var(--primary-color);
    line-height: 1.25;
    font-weight: 600;
    margin-bottom: 16px;
}

.phase-subtitle {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--text-dark);
    opacity: 0.85;
    max-width: 720px;
    line-height: 1.6;
}

.phase-flow-area {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

/* Card Styling */
.flow-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: #FFFFFF !important;
    border-radius: var(--border-radius-md);
    padding: 20px 24px;
    width: 100%;
    max-width: 440px;
    border: 1.5px solid #C1DDD2;
    box-shadow: 0 4px 20px rgba(52, 78, 65, 0.02);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.flow-card:hover {
    transform: translateY(-6px) scale(1.02);
}

.flow-card-num {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    flex-shrink: 0;
}

.flow-card-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.flow-card-title {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.2;
}

.flow-card-desc {
    font-family: var(--font-body);
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.45;
}

/* Phase-specific flowchart card theme overrides (white backgrounds with mood accents) */
.flow-card.p1-card {
    border-color: #C1DDD2;
}
.flow-card.p1-card .flow-card-num,
.flow-card.p1-card .flow-card-title {
    color: #344E41;
}
.flow-card.p1-card .flow-card-desc {
    color: #588157;
}
.flow-card.p1-card:hover {
    border-color: #344E41;
    box-shadow: 0 12px 30px rgba(52, 78, 65, 0.08);
}

#phase-02 .phase-title,
#phase-02 .phase-subtitle {
    color: #A8503F;
}

.flow-card.p2-card {
    border-color: #ECC5BA;
}
.flow-card.p2-card .flow-card-num,
.flow-card.p2-card .flow-card-title {
    color: #A8503F;
}
.flow-card.p2-card .flow-card-desc {
    color: #BC6C5C;
}
.flow-card.p2-card:hover {
    border-color: #A8503F;
    box-shadow: 0 12px 30px rgba(168, 80, 63, 0.08);
}

#phase-03 .phase-title,
#phase-03 .phase-subtitle {
    color: #5C55C4;
}

.flow-card.p3-purple-card {
    border-color: #D2D2FC;
}
.flow-card.p3-purple-card .flow-card-num,
.flow-card.p3-purple-card .flow-card-title {
    color: #5C55C4;
}
.flow-card.p3-purple-card .flow-card-desc {
    color: #7C75DC;
}
.flow-card.p3-purple-card:hover {
    border-color: #5C55C4;
    box-shadow: 0 12px 30px rgba(92, 85, 196, 0.08);
}

.flow-card.p3-green-card {
    border-color: #C1DDD2;
}
.flow-card.p3-green-card .flow-card-num,
.flow-card.p3-green-card .flow-card-title {
    color: #2D8F7B;
}
.flow-card.p3-green-card .flow-card-desc {
    color: #588157;
}
.flow-card.p3-green-card:hover {
    border-color: #2D8F7B;
    box-shadow: 0 12px 30px rgba(45, 143, 123, 0.08);
}

.flow-card.p4-card {
    border-color: #CCDEC6;
}
.flow-card.p4-card .flow-card-num,
.flow-card.p4-card .flow-card-title {
    color: #588157;
}
.flow-card.p4-card .flow-card-desc {
    color: #7A9B76;
}
.flow-card.p4-card:hover {
    border-color: #588157;
    box-shadow: 0 12px 30px rgba(88, 129, 87, 0.08);
}

/* Flowchart arrow connectors matching phase mood */
.flow-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0 10px 48px;
    color: var(--secondary-color);
    width: 24px;
    height: 24px;
    transition: var(--transition-smooth);
}

#phase-01 .flow-arrow { color: #7A9B76; }
#phase-02 .flow-arrow { color: #BC6C5C; }
#phase-03 .flow-arrow { color: #7C75DC; }
#phase-04 .flow-arrow { color: #7A9B76; }

.arrow-svg-v {
    width: 20px;
    height: 20px;
    stroke-width: 2.5px;
}

/* Splitting pathways and grids */
.flow-row-split {
    display: flex;
    gap: 24px;
    width: 100%;
    max-width: 500px;
}

.flow-row-split.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    width: 100%;
    max-width: 500px;
}

.flow-row-split.pathway-split {
    max-width: 900px;
    grid-template-columns: 1.25fr 1fr;
    gap: 40px;
}

.pathway-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.pathway-column .flow-arrow {
    margin-left: 48px;
}

.pathway-column .flow-card {
    max-width: 100%;
}

.inner-split {
    width: 100%;
}

/* Layer list in Phase 4 */
.health-layers-list {
    width: 100%;
    max-width: 500px;
    background-color: #FFFFFF;
    border-radius: var(--border-radius-md);
    border: 1.5px solid #C1DDD2;
    padding: 8px 0;
    box-shadow: 0 4px 20px rgba(52, 78, 65, 0.03);
}

.layer-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 28px;
    border-bottom: 1px solid #E2F0EB;
    transition: all 0.3s ease;
}

.layer-item:last-child {
    border-bottom: none;
}

.layer-item:hover {
    background-color: #F7FAF8;
}

.layer-name {
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.05rem;
}

.layer-desc {
    font-family: var(--font-body);
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Footer Tagline */
.flowchart-footer-tagline {
    margin-top: 30px;
    text-align: left;
    width: 100%;
}

.flowchart-footer-tagline p {
    font-family: var(--font-accent);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--primary-color);
    opacity: 0.9;
    line-height: 1.3;
}

/* Reveal transition animations on scroll */
.reveal-card {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    transition: opacity 1.1s cubic-bezier(0.175, 0.885, 0.32, 1.15), transform 1.1s cubic-bezier(0.175, 0.885, 0.32, 1.15);
}

.reveal-card.appear {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.reveal-arrow {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.15);
}

.reveal-arrow.appear {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .clinical-flowchart-timeline {
        padding-left: 0;
    }
    
    .timeline-spine {
        left: 15px;
    }
    
    .timeline-phase {
        padding-left: 45px;
        padding-bottom: 60px;
    }
    
    .flow-arrow {
        margin-left: 24px;
    }
    
    .pathway-column .flow-arrow {
        margin-left: 24px;
    }
    
    .flow-card {
        padding: 16px 20px;
        max-width: 100%;
    }
    
    .flow-row-split.two-columns {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .flow-row-split.pathway-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Responsive Media Queries */
@media (max-width: 1200px) {
    .hero-title-left, .hero-title-right {
        font-size: 5.5rem;
    }
    .hero-center-visual {
        width: 200px;
        height: 200px;
    }
    .visual-circle-bg {
        width: 140px;
        height: 140px;
    }
    .ring-1 {
        width: 170px;
        height: 170px;
    }
    .ring-2 {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 1024px) {
    .hero-section {
        padding-top: 130px;
        min-height: auto;
    }
    .hero-container-behance {
        height: auto;
        gap: 40px;
    }
    .hero-split-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .hero-title-left, .hero-title-right {
        font-size: 5rem;
        letter-spacing: -1px;
        margin: 0;
    }
    .hero-credentials-row {
        justify-content: center;
        padding-right: 0;
        margin-bottom: 30px;
    }
    .doctor-credentials {
        text-align: center;
    }
    .hero-bottom-row {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        text-align: center;
    }
    .hero-action-left {
        align-items: center;
    }
    .hero-stats-right {
        justify-content: center;
        width: 100%;
    }
    .why-choose-grid, .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .services-slider-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .fees-grid, .tree-grid, .contact-booking-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .fee-card.featured {
        transform: none;
    }
    .fee-card.featured:hover {
        transform: translateY(-10px);
    }
    .tree-visual-container {
        max-width: 500px;
        margin: 0 auto;
    }
    .myths-grid {
        grid-template-columns: 1fr;
    }
    /* Why choose single card 1024px override */
    .why-single-card {
        padding: 40px;
    }
    .why-single-content h3 {
        font-size: 2rem;
    }
    .why-single-highlights {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    section { padding: 80px 0; }
    .section-title { font-size: 2.2rem; }
    
    /* Header layout for mobile */
    .main-header {
        top: 10px;
        width: calc(100% - 20px);
        border-radius: 20px;
    }
    .header-container {
        height: 70px;
        padding: 0 20px;
    }
    .mobile-toggle {
        display: block;
    }
    .nav-menu {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        border-radius: var(--border-radius-lg);
        border: 1px solid rgba(27, 77, 62, 0.08);
        flex-direction: column;
        padding: 30px;
        box-shadow: var(--shadow-medium);
        gap: 20px;
        transform: translateY(-150%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-smooth);
    }
    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    .nav-link {
        color: var(--primary-color) !important;
        font-size: 1.1rem;
    }
    .nav-btn {
        width: 100%;
        text-align: center;
    }
    
    .hero-title-left, .hero-title-right {
        font-size: clamp(2.1rem, 9vw, 3.5rem);
    }
    .hero-stats-right {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .behance-stat-box {
        align-items: center;
    }
    .why-choose-grid, .expertise-grid {
        grid-template-columns: 1fr;
    }
    .service-slide-card {
        min-width: 100%;
    }

    .edu-grid {
        grid-template-columns: 1fr;
    }
    .hahnemann-box {
        padding: 40px 24px;
    }
    .booking-branches-list {
        grid-template-columns: 1fr;
    }
    .booking-card-wrapper {
        padding: 30px 20px;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-brand {
        max-width: 100%;
    }
    .reviews-marquee-container {
        padding: 35px 0;
        gap: 15px;
    }
    .marquee-content img {
        height: 100px;
    }
    .marquee-content {
        gap: 15px;
    }
    /* Mobile overrides for Why Choose single card and Treatments scroll */
    .why-single-card {
        padding: 30px 20px;
        gap: 20px;
    }
    .why-single-content h3 {
        font-size: 1.6rem;
    }
    .why-single-content p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    .why-single-highlights {
        grid-template-columns: 1fr;
        gap: 15px;
        padding-top: 20px;
    }
    .expertise-scroll-card {
        flex: 0 0 290px;
        padding: 30px 20px;
    }
    .expertise-scroll-row {
        gap: 20px;
    }
}


/* SVG global text styling to enforce sans-serif SF Pro Display */
.svg-canvas text, 
.svg-canvas tspan,
.svg-flowchart text,
.svg-tree text,
.svg-curve text,
.svg-cell-chain text {
    font-family: var(--font-heading) !important;
}

.root-label {
    font-family: var(--font-heading) !important;
    font-weight: 700;
    fill: #588157; /* Match Screenshot 1's green label color */
}

.canopy-title {
    font-family: var(--font-heading) !important;
    font-weight: 700;
}

.canopy-desc {
    font-family: var(--font-body) !important;
    font-weight: 500;
}

.trunk-text {
    font-family: var(--font-heading) !important;
    font-weight: 700;
    letter-spacing: 1px;
}

.axis-label {
    font-family: var(--font-heading) !important;
    font-weight: 700;
}

.node-label {
    font-family: var(--font-heading) !important;
    font-weight: 700;
}

/* Widescreen Video Section */
.intro-video-section {
    background-color: var(--white);
    padding: 80px 0 50px 0;
    position: relative;
    overflow: hidden;
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 40px auto 60px;
    aspect-ratio: 16 / 9;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-hard);
    border: 1.5px solid #C1DDD2;
    background-color: #000000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}


body.subpage-body {
    background-color: #F7FAF8;
}

/* Privacy Policy Page Content Styling */
.privacy-page-content {
    max-width: 800px;
    margin: 160px auto 80px;
    padding: 60px;
    background-color: #FFFFFF;
    font-family: var(--font-body);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 15px 40px rgba(52, 78, 65, 0.05);
    border: 1px solid #E2F0EB;
}

.privacy-page-content h1 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.privacy-page-content .last-updated {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 40px;
    display: block;
    font-style: italic;
}

.privacy-page-content h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-top: 35px;
    margin-bottom: 15px;
    font-weight: 700;
    border-left: 3px solid var(--secondary-color);
    padding-left: 12px;
}

.privacy-page-content h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--primary-color);
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.privacy-page-content p {
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 20px;
    opacity: 0.9;
}

.privacy-page-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
    list-style-type: square;
}

.privacy-page-content li {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 10px;
    opacity: 0.9;
}

.privacy-page-content address {
    font-style: normal;
    background-color: rgba(52, 78, 65, 0.03);
    padding: 20px;
    border-radius: var(--border-radius-md);
    border: 1px solid #C1DDD2;
    margin-top: 20px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .privacy-page-content {
        margin: 120px 20px 60px;
        padding: 30px 20px;
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #FFFFFF;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    color: #FFFFFF;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

/* Booking Guide Box for Google Meet Integration */
.booking-guide-box {
    background-color: rgba(52, 78, 65, 0.03);
    border: 1px solid #C1DDD2;
    border-radius: var(--border-radius-md);
    padding: 20px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.guide-header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1.05rem;
}

.booking-guide-box p {
    margin: 0 !important;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-dark);
    opacity: 0.9;
}

#heroCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}



@media (max-width: 480px) {
    section {
        padding: 60px 0;
    }
    .section-title {
        font-size: 1.85rem;
    }
    .thesis {
        font-size: 1.35rem;
        line-height: 1.4;
    }
    .watermark-text-left,
    .watermark-text-right {
        font-size: 12vw;
    }
    .logo-title-footer {
        font-size: 1.5rem;
    }
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}

