/* This file has been refactored to a MOBILE-FIRST architecture.
Base styles are for mobile, and min-width media queries add styles for larger screens.
Theme, fonts, and colors are all preserved.
Performance-intensive (commented-out) styles remain commented out for speed.
*/

:root {
    --primary-pink: #F5E6E8; /* Soft blush rose water */
    --secondary-rose: #D9C2D3; /* Soft ash mauve */
    --accent-gold: #C5A880; /* Warm champagne gold */
    --accent-sage: #D2DBCE; /* Ayurvedic sage green */
    --text-dark: #3D2645; /* Comforting deep dark plum */
    --text-light: #FAF6F0; /* Soft warm linen */
    --bg-light: #FCF9F5; /* Nurturing warm cotton */
    --bg-gradient-start: #FAF0E6; /* Creamy linen */
    --bg-gradient-end: #F5EAE6; /* Soft warm terracotta clay */
    --card-bg: rgba(253, 250, 246, 0.88); /* Clean, frosted warm linen */
    --glass-bg: rgba(253, 250, 246, 0.75); 
    --border-radius-soft: 22px;
    --border-radius-main: 36px; /* Organic roundness */
    --glow-color: rgba(245, 230, 232, 0.8);
    --shadow-soft: rgba(61, 38, 69, 0.04); 
    --shadow-medium: rgba(61, 38, 69, 0.08);
    --transition-smooth: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-elastic: all 0.75s cubic-bezier(0.68, -0.6, 0.27, 1.45);
    --font-body: 'Poppins', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --font-script: 'Sacramento', cursive;
    --logo-color: #8E5572; /* Warm amethyst rose */
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.75;
    overflow-x: hidden;
    background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
    background-size: 350% 350%;
    animation: animatedBodyBackground 38s ease infinite alternate;
    position: relative;
    text-rendering: optimizeLegibility;
}
 
@keyframes animatedBodyBackground {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

body::before, body::after {
    content: ''; position: fixed; top: 0; left: 0;
    width: 100%; height: 100%; background-size: 350% 350%;
    z-index: -2; opacity: 0;
    animation: fadeInBackgroundLayers 4s 0.8s ease-out forwards;
    will-change: background-position, opacity;
}
body::before {
    background-image:
        radial-gradient(ellipse at 8% 12%, rgba(255,227,240,0.14) 0%, transparent 60%),
        radial-gradient(ellipse at 92% 85%, rgba(230,212,255,0.14) 0%, transparent 60%);
    animation: flowLinesSlower 60s linear infinite alternate, fadeInBackgroundLayers 4s 0.8s ease-out forwards;
}
body::after {
     background-image:
        radial-gradient(circle at 20% 80%, rgba(248,200,220,0.1) 0%, transparent 45%),
        radial-gradient(circle at 80% 20%, rgba(220,190,250,0.1) 0%, transparent 45%);
    animation: flowLinesFaster 45s linear infinite alternate, fadeInBackgroundLayers 4s 0.8s ease-out forwards;
     z-index: -1;
}
@keyframes flowLinesSlower { 0% { background-position: 0% 0%; } 100% { background-position: 100% 100%; } }
@keyframes flowLinesFaster { 0% { background-position: 100% 100%; } 100% { background-position: 0% 0%; } }
@keyframes fadeInBackgroundLayers { to { opacity: 0.85; } }
 
.container {
    width: 90%; max-width: 1200px; margin: 0 auto;
    padding: 0; position: relative; z-index: 1;
}

.gradient-text-animated {
    background: linear-gradient(70deg, var(--secondary-rose), var(--primary-pink), #B57EDC, var(--accent-gold));
    background-size: 300% 100%; 
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; text-fill-color: transparent;
    display: inline-block; padding-bottom: 3px;
    animation: animateGradientText 8s ease-in-out infinite alternate;
}
@keyframes animateGradientText {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}
h1, h2, h3 {
    font-family: var(--font-heading); margin-bottom: 0.85em;
    color: var(--text-dark); line-height: 1.45; letter-spacing: 0.8px;
    will-change: transform, opacity;
}
h1 { 
    font-size: clamp(2.2rem, 5vw, 3.2rem); 
    font-weight: 700; text-shadow: 1.5px 1.5px 6px rgba(74,35,90,0.2);
}
h1 .credentials {
    font-family: var(--font-body); font-size: 0.48em; font-weight: 500;
    color: var(--text-dark); opacity: 0.9; margin-left: 10px;
    vertical-align: middle; -webkit-text-fill-color: var(--text-dark);
    text-fill-color: var(--text-dark); background: none;
}

/* Mobile-first h2 sizing */
h2 { 
    font-size: clamp(1.5rem, 3.5vw, 1.9rem); 
    border-bottom: 0; display: inline-block; 
    padding-bottom: 0; margin-bottom: 0.5em;
}
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); color: #A06AB4; font-weight: 600; }

/* Mobile-first p sizing */
p { margin-bottom: 1.5em; font-size: 0.98rem; color: #573767; }

a { color: #A06AB4; text-decoration: none; position: relative; transition: var(--transition-smooth); }
a:not(.cta-button):not(.whatsapp-button):not(.logo-main-header) { padding-bottom: 4px; }
a:not(.cta-button):not(.whatsapp-button):not(.logo-main-header)::after {
    content: ''; position: absolute; width: 0; height: 2px;
    display: block; margin-top: 2px; right: 0; 
    background: var(--accent-gold);
    transition: width 0.4s ease, background-color 0.3s ease;
}
a:not(.cta-button):not(.whatsapp-button):not(.logo-main-header):hover::after { width: 100%; left: 0; right: auto; background: var(--primary-pink); }
a:hover { color: var(--accent-gold); transform: translateY(-3.5px); text-shadow: 0 3px 7px rgba(212,175,55,0.3); }


/* Preloader */
#preloader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--bg-light); z-index: 9999; display: flex;
    justify-content: center; align-items: center;
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.8s;
    opacity: 1; visibility: visible;
}
#preloader.loaded { opacity: 0; visibility: hidden; }
.preloader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.preloader-lotus {
    color: var(--accent-gold);
    animation: lotusBreathe 3s ease-in-out infinite;
}
.preloader-text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-top: 20px;
    font-style: italic;
    letter-spacing: 1px;
    opacity: 0.8;
}
@keyframes lotusBreathe {
    0%, 100% { transform: scale(0.9) rotate(0deg); opacity: 0.7; }
    50% { transform: scale(1.1) rotate(5deg); opacity: 1; }
}

/* Wellness Orb Cursor - DISABLED FOR PERFORMANCE. */
/* ... commented out styles ... */


/* --- Navigation Bar - Mobile First --- */
nav {
    position: fixed;
    top: 15px;
    left: 5%;
    width: 90%;
    background: rgba(253, 250, 246, 0.78);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(197, 168, 128, 0.15);
    border-radius: 30px;
    padding: 10px 24px;
    z-index: 1000;
    box-shadow: 0 10px 30px var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
nav.scrolled {
    top: 8px;
    background: rgba(253, 250, 246, 0.94);
    box-shadow: 0 12px 35px var(--shadow-medium);
    border-color: rgba(197, 168, 128, 0.25);
    padding: 8px 24px;
}
.nav-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0;
}
nav .logo-main-header { 
    font-family: var(--font-script);
    font-size: 1.7rem; /* Mobile font size */
    color: var(--logo-color); 
    text-decoration: none;
    margin-bottom: 0; /* Mobile margin */
    transition: color 0.4s ease, transform 0.35s ease;
    display: block; 
    font-weight: 700;
}
nav .logo-main-header:hover { color: var(--accent-gold); transform: scale(1.02); }

/* Mobile menu list (hidden by default) */
nav ul { 
    display: none; 
    list-style: none;
    padding: 0;
    margin: 0;
}
/* Mobile menu dropdown */
nav ul.open { 
    display: flex; 
    flex-direction: column; 
    position: absolute; 
    top: calc(100% + 10px); 
    left: 0; 
    width: 100%; 
    background: rgba(253, 250, 246, 0.98); 
    backdrop-filter: blur(20px); 
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(197, 168, 128, 0.2); 
    border-radius: 24px; 
    padding: 16px; 
    box-shadow: 0 15px 35px rgba(61, 38, 69, 0.1); 
    z-index: 999; 
    justify-content: center; 
    align-items: center;
}

/* Mobile menu items */
nav ul li { 
    margin: 4px 0; 
    width: 100%;
    text-align: center;
}
nav ul li a { 
    display: block;
    padding: 7px 14px; 
    font-size: 0.95rem; 
    font-family: var(--font-body); 
    font-weight: 500; 
    color: var(--text-dark);
    border-radius: 20px;
    transition: all 0.3s ease;
}
nav ul li a:hover, nav ul li a.active { 
    background-color: rgba(245, 230, 232, 0.7); 
    color: var(--logo-color);
}
nav ul li a.active { font-weight: 600; }

/* Mobile menu toggle (hamburger icon) */
.menu-toggle { 
    display: block; /* Show on mobile */
    font-size: 1.6rem; /* Mobile size */
    color: var(--text-dark); 
    cursor: pointer; 
    background: none; 
    border: none; 
    padding: 5px; 
    z-index: 1001; 
}


/* Hero Section */
.hero {
    min-height: 100vh; display: flex; flex-direction: column;
    justify-content: center; align-items: center; text-align: center;
    padding: 150px 20px 70px 20px; position: relative; z-index: 1; overflow: hidden;
}
#constellation-canvas {
    position: absolute; top:0; left:0; width: 100%; height: 100%;
    z-index: 0; opacity: 0.55; 
    pointer-events: none;
}
.hero-content {
    position: relative; z-index: 1; 
    animation: fadeInPerspectiveUp 1.5s 0.5s cubic-bezier(0.19, 1, 0.22, 1) forwards;
    opacity: 0; max-width: 980px; background: var(--glass-bg); 
    padding: 35px 20px; /* Mobile padding */
    border-radius: var(--border-radius-main); 
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 20px 55px rgba(248, 200, 220, 0.45);
    border: 2.5px solid rgba(255,255,255,0.35);
    will-change: transform, opacity;
}
@keyframes fadeInPerspectiveUp {
    0% { opacity: 0; transform: translateY(90px) perspective(1300px) rotateX(-30deg); }
    100% { opacity: 1; transform: translateY(0) perspective(1300px) rotateX(0deg); }
}
.hero .greeting {
    font-family: var(--font-script); font-size: clamp(2.2rem, 5vw, 3rem);
    color: var(--primary-pink); margin-bottom: 0.02em;
    animation: textRevealUp 1.8s 1.1s ease-out forwards; opacity: 0;
    position: relative; display: inline-block; text-shadow: 1.5px 1.5px 4px rgba(0,0,0,0.12);
}
.hero .greeting::after {
    content: ''; position: absolute; width: 0%; height: 3px;
    background-image: linear-gradient(to right, var(--secondary-rose), var(--accent-gold), var(--primary-pink));
    bottom: -6px; left: 0; border-radius: 3px;
    animation: drawLine 1.4s 2s ease-out forwards;
}
@keyframes drawLine { to { width: 100%; } }
.hero h1 {
    animation: textRevealUp 1.8s 1.3s ease-out forwards; opacity: 0; margin-bottom: 0.45em;
}
.hero .subtitle {
    font-size: clamp(1rem, 1.8vw, 1.15rem); color: var(--text-dark); opacity: 0.94;
    margin-bottom: 2em; animation: textRevealUp 1.8s 1.5s ease-out forwards; opacity: 0;
    font-weight: 400; font-family: var(--font-body);
    line-height: 1.7;
}
@keyframes textRevealUp {
    0% { opacity: 0; transform: translateY(30px) scale(0.98); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
 
.cta-button, .whatsapp-button {
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--text-dark); 
    padding: 20px 40px; /* Mobile padding */
    font-size: 1rem; /* Mobile font size */
    border-radius: 50px; font-weight: 600; font-family: var(--font-body);
    text-transform: uppercase; letter-spacing: 1.5px;
    transition: var(--transition-smooth), background-position 0.6s ease, box-shadow 0.45s ease, transform 0.3s ease-out; 
    position: relative; overflow: hidden; border: none;
    background-size: 300% auto; z-index: 1;
}
.cta-button::before, .whatsapp-button::before { 
    content: ''; position: absolute; top: 0; left: -120%; width: 100%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 0; 
}
.cta-button:hover::before, .whatsapp-button:hover::before { left: 120%; }

.cta-button {
    background-image: linear-gradient(45deg, var(--primary-pink), var(--secondary-rose), var(--primary-pink), var(--secondary-rose));
    animation: pulse 3.4s infinite 1.8s, textRevealUp 1s 2.1s ease-out forwards; opacity: 0;
    box-shadow: 0 9px 32px rgba(248, 200, 220, 0.75); margin-top: 30px;
}
.cta-button:hover {
    transform: translateY(-8px) scale(1.08);
    box-shadow: 0 15px 42px rgba(224, 187, 228, 0.85);
    background-position: right center;
}
.cta-button:active, .whatsapp-button:active {
    transform: translateY(-3.5px) scale(0.94);
    box-shadow: 0 6px 24px rgba(224, 187, 228, 0.7), inset 0 3.5px 6px rgba(0,0,0,0.15);
}

/* Animated Section Divider */
.section-divider {
    width: 100px; height: 6px; margin: 0.6em auto 2.5em auto; /* Mobile margin */
    border-radius: 3.5px; position: relative;
    background: linear-gradient(to right, var(--primary-pink) 0%, var(--secondary-rose) 50%, var(--primary-pink) 100%);
    background-size: 250% 100%;
    animation: gradientDividerShine 4.5s ease-in-out infinite;
    transform: scaleX(0);
    transition: transform 1s 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: transform;
}
.section-divider::after { 
    content: ''; width: 12px; height: 12px;
    background-color: var(--accent-gold); border-radius: 50%;
    border: 2px solid var(--bg-light); 
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.7s 0.9s ease;
}
section.visible .section-divider { transform: scaleX(1); }
section.visible .section-divider::after { transform: translate(-50%, -50%) scale(1); }
@keyframes gradientDividerShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Sections Styling - Mobile First */
section {
    padding: 100px 15px 70px 15px; /* Mobile padding */
    opacity: 0; transform: translateY(70px);
    transition: opacity 1.3s ease-out, transform 1.3s ease-out;
    position: relative; z-index: 1;
    will-change: transform, opacity;
}
section.visible { opacity: 1; transform: translateY(0); }
 
.section-card {
    background-color: var(--card-bg); 
    padding: 35px 20px; /* Mobile padding */
    border-radius: var(--border-radius-main);
    box-shadow: 0 22px 55px var(--shadow-soft);
    margin-bottom: 55px; border-left: 0;
    transition: var(--transition-smooth), transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    position: relative; overflow: hidden;
    will-change: transform, box-shadow;
    background-image: var(--card-bg), url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23E0BBE4' fill-opacity='0.03'%3E%3Cpath d='M0 0h40v40H0zM40 40h40v40H40z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-blend-mode: color-burn, normal; 
}
 .section-card::before { 
    content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0;
    z-index: -1; margin: -3.5px; border-radius: inherit; 
    background: linear-gradient(145deg, var(--primary-pink), var(--secondary-rose), var(--accent-gold), var(--primary-pink));
    background-size: 200% 200%; 
    opacity: 0; transition: opacity 0.6s ease, transform 0.6s ease, background-position 1s ease;
    transform: scale(0.93);
    animation: cardBorderGradientShift 10s ease infinite alternate;
}
@keyframes cardBorderGradientShift {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

/* Mobile hover transform */
.section-card:hover {
    transform: translateY(-8px); 
}
.section-card:hover::before { opacity: 1; transform: scale(1); }


.svg-icon { display: inline-block; width: 1em; height: 1em; vertical-align: -0.15em; fill: currentColor; transition: transform 0.4s ease; }
.gynaec-symbol-svg { width: 1.1em; height: 1.1em; vertical-align: -0.14em; margin-right:22px; }
h2:hover .gynaec-symbol-svg { transform: rotate(-20deg) scale(1.18) translateY(-1.5px); }

/* A Personal Note - Mobile First */
#personal-note .section-card::before { background: linear-gradient(145deg, var(--secondary-rose), var(--primary-pink), var(--accent-gold), var(--secondary-rose)); }
#personal-note .note-content { 
    display: flex; 
    flex-direction: column; /* Mobile layout */
    align-items: center; /* Mobile layout */
    text-align: center; /* Mobile layout */
    gap: 0;
}
#personal-note .note-icon {
    font-size: 4.5em; color: var(--primary-pink); opacity: 0.7;
    margin-right: 0; /* Mobile margin */
    margin-bottom: 14px; /* Mobile margin */
    line-height: 1;
    transform: rotate(-6deg);
}
#personal-note blockquote {
    font-family: var(--font-heading); font-size: clamp(1.1rem, 2vw, 1.3rem);
    font-style: italic; font-weight: 400;
    color: var(--text-dark); opacity: 0.97;
    padding: 14px 0 14px 0; /* Mobile padding */
    border-left: 0;
    margin: 0; position: relative; flex-grow: 1;
    line-height: 1.7;
}
#personal-note blockquote p { margin-bottom: 0.8em; }
#personal-note blockquote footer {
    text-align: right; font-family: var(--font-script);
    font-size: 1.8rem; color: var(--secondary-rose); margin-top: 14px;
}

/* About - Mobile First */
#about .about-flex { 
    display: flex; 
    flex-direction: column; /* Mobile layout */
    text-align: center; /* Mobile layout */
    align-items: center; 
    gap: 35px; /* Mobile gap */
}
#about .profile-image-container { flex-shrink: 0; position: relative; }
#about .about-text { flex-grow: 1; min-width: 0; } /* Mobile min-width */
#about .focus-areas { margin-top: 30px; }
#about .focus-areas h4 {
    font-family: var(--font-heading); font-size: 1.3rem;
    color: var(--secondary-rose); margin-bottom: 15px;
    font-weight: 600;
}
#about .focus-chip {
    display: inline-block; background-color: rgba(224, 187, 228, 0.2);
    color: var(--text-dark); padding: 8px 18px; border-radius: 20px;
    margin: 0 10px 10px 0; font-size: 0.95rem; font-weight: 500;
    border: 1px solid rgba(224, 187, 228, 0.4); transition: var(--transition-smooth);
}
#about .focus-chip:hover {
    background-color: var(--secondary-rose); color: var(--text-light);
    transform: translateY(-2px) scale(1.03); box-shadow: 0 4px 10px rgba(224,187,228,0.3);
}
#about ul { list-style: none; padding-left: 0; }
#about li { 
    margin-bottom: 14px; font-size: 0.98rem; /* Adjusted font size for mobile */
    display: flex; 
    align-items: flex-start; /* Align icon to top of text */
    text-align: left; /* Keep list text left-aligned even if section is centered */
    transition: color 0.45s ease, transform 0.45s ease;
    line-height: 1.6;
}
#about li:hover { color: var(--secondary-rose); transform: translateX(9px) !important; }

/* --- FIX FOR MOBILE TEXT --- */
#about li strong { 
    color: var(--secondary-rose); 
    min-width: auto; /* Remove min-width for mobile */
    display: inline-block; 
    font-weight: 600; 
    padding-right: 8px; /* Add a small space */
}
/* --- END FIX --- */

#about li .icon { 
    margin-right: 18px; /* Slightly less margin for mobile */
    color: var(--primary-pink); 
    font-size: 1.35em; 
    transition: var(--transition-elastic);
    flex-shrink: 0; /* Prevent icon from shrinking */
    padding-top: 2px; /* Align icon better with text */
}
#about li:hover .icon { transform: scale(1.4) rotate(-14deg) translateY(-3px); }

/* Mobile profile image */
#about .profile-image { 
    width: 180px; height: 180px; /* Mobile size */
    border-radius: 50%; 
    display: block; border: 11px solid var(--bg-light);
    box-shadow: 0 0 45px var(--glow-color), 0 7px 20px rgba(0,0,0,0.14);
    transition: transform 0.8s ease, box-shadow 0.8s ease, border-color 0.6s ease; 
    position: relative;
    object-fit: cover; 
    object-position: center top; 
}
#about .profile-image-container::before {
    content: ''; position: absolute; top: -7px; left: -7px; right: -7px; bottom: -7px;
    border-radius: 50%; border: 3.5px dashed transparent;
    transition: border-color 0.6s ease, transform 0.6s ease; pointer-events: none;
}
#about .profile-image-container:hover::before {
    border-color: var(--accent-gold); animation: spinBorder 12s linear infinite;
}
@keyframes spinBorder { to { transform: rotate(360deg); } }
#about .profile-image:hover {
    transform: scale(1.13) rotate(3.5deg);
    box-shadow: 0 0 55px var(--primary-pink), 0 0 35px var(--accent-gold), 0 12px 25px rgba(0,0,0,0.2);
    border-color: var(--secondary-rose);
}

/* My Approach */
#approach ul { list-style: none; padding-left: 0; }
#approach li {
    margin-bottom: 18px; padding-left: 35px; /* Adjusted padding */
    position: relative;
    font-size: 0.98rem; /* Adjusted font size */
    transition: color 0.45s ease, transform 0.45s ease;
    line-height: 1.6;
}
#approach li:hover { color: var(--secondary-rose); transform: translateX(9px) !important; }
#approach li::before {
    content: '❖'; position: absolute; left: 0; top: 2px; /* Adjusted top */
    color: var(--primary-pink); font-size: 1.7em;
    transition: transform 0.7s ease, color 0.6s ease;
}
#approach li:hover::before { transform: rotate(360deg) scale(1.3); color: var(--accent-gold); }

/* Services - Mobile First */
#services .service-grid {
    display: grid; 
    grid-template-columns: 1fr; /* Mobile layout */
    gap: 25px; /* Mobile gap */
}
#services .service-item {
    padding: 30px; /* Mobile padding */
    background: rgba(255,255,255,0.35);
    border-radius: var(--border-radius-soft); border-left: 0;
    transition: var(--transition-smooth); word-break: break-word; 
    position: relative; overflow: hidden;
}
#services .service-item::after {
    content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: 9px; height: 0%;
    background: linear-gradient(to bottom, var(--secondary-rose), var(--primary-pink), var(--accent-gold));
    border-radius: 0 4.5px 4.5px 0;
    transition: height 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}
#services .service-item:hover::after { height: 75%; }
#services .service-item:hover {
    transform: translateY(-14px) scale(1.045);
    box-shadow: 0 18px 45px rgba(224, 187, 228, 0.45);
    background: rgba(255,255,255,0.5);
}
#services .service-item h3 { font-size: 1.5rem; margin-bottom: 16px; display: flex; align-items: center; }
#services .service-item p { font-size: 1.05rem; line-height: 1.8; }
.service-icon {
    font-size: 2em; margin-right: 24px; color: var(--primary-pink);
    transition: var(--transition-elastic);
}
#services .service-item:hover .service-icon { 
    animation: blossomIcon 0.8s ease-out forwards;
}
@keyframes blossomIcon {
    0% { transform: scale(1) rotate(0); opacity: 0.8; }
    50% { transform: scale(1.4) rotate(180deg); opacity: 1; }
    100% { transform: scale(1.25) rotateY(360deg) translateX(5px) translateY(-3px) rotateZ(-10deg); opacity: 1; }
}

/* Professional Journey Map - Mobile First */
#professional-journey h3 { margin-bottom: 1.5em; }
.journey-map-container {
    overflow-x: auto; padding: 10px 0; /* Mobile padding */
    margin-bottom: 30px;
    -webkit-overflow-scrolling: touch;
}
.journey-map {
    display: flex; 
    flex-direction: column; /* Mobile layout */
    align-items: center; /* Mobile layout */
    position: relative;
    padding: 20px; /* Mobile padding */
}
/* Hide desktop path on mobile */
.journey-map::before {
    display: none; 
}
@keyframes drawJourneyPath { to { transform: scaleX(1); } }
@keyframes journeyPathShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
.journey-milestone {
    position: relative; display: flex; flex-direction: column;
    align-items: center; text-align: center;
    min-width: 90%; /* Mobile width */
    max-width: 400px;
    margin-right: 0; /* Mobile margin */
    margin-bottom: 40px; /* Mobile margin */
    padding-top: 0; /* Mobile padding */
}
.journey-milestone:last-child { margin-bottom: 0; }

.milestone-icon-container {
    width: 70px; height: 70px; /* Mobile size */
    border-radius: 50%;
    background-color: var(--bg-light); border: 4px solid var(--primary-pink);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 15px; 
    position: static; /* Mobile position */
    transform: none; /* Mobile transform */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition-smooth); z-index: 1;
}
.journey-milestone:hover .milestone-icon-container {
    transform: scale(1.15) rotate(5deg); /* Keep hover */
    border-color: var(--accent-gold); box-shadow: 0 8px 25px rgba(212,175,55,0.3);
}
.milestone-icon { font-size: 2em; color: var(--secondary-rose); transition: color 0.3s ease; }
.journey-milestone:hover .milestone-icon { color: var(--accent-gold); }
.milestone-content {
    background-color: rgba(255,255,255,0.6); padding: 20px;
    border-radius: var(--border-radius-soft); box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-top: 15px; width: 100%;
}
.milestone-content h4 {
    font-family: var(--font-heading); font-size: 1.1rem;
    color: var(--text-dark); margin-bottom: 8px; font-weight: 600;
}
.milestone-content p { font-size: 0.85rem; color: #614670; line-height: 1.6; margin-bottom: 0; }

/* Academic Table - Mobile First */
.academic-table-container { 
    margin-top: 50px;
    overflow-x: auto; 
    margin-top: 40px; 
    margin-bottom: 40px;
    -webkit-overflow-scrolling: touch; 
    border: 2px solid rgba(224, 187, 228, 0.35);
    border-radius: var(--border-radius-soft); 
    padding: 0 5px; /* Mobile padding */
    scrollbar-width: auto; 
    scrollbar-color: var(--secondary-rose) rgba(248, 200, 220, 0.3);
}
.academic-table-container::-webkit-scrollbar { height: 14px; background-color: rgba(248, 200, 220, 0.3); border-radius: 8px; }
.academic-table-container::-webkit-scrollbar-thumb { background-color: var(--secondary-rose); border-radius: 8px; border: 3px solid rgba(248, 200, 220, 0.3); }
.academic-table-container::-webkit-scrollbar-thumb:hover { background-color: var(--primary-pink); }
.academic-table { 
    width: 100%; 
    min-width: auto; /* Mobile min-width */
    border-collapse: separate; 
    border-spacing: 0; 
}
.academic-table th, .academic-table td {
    border-bottom: 2px solid rgba(138, 43, 226, 0.3);
    padding: 15px 12px; /* Mobile padding */
    text-align: left; 
    vertical-align: middle;
    font-size: 0.9rem; /* Mobile font size */
}
.academic-table th {
    background: linear-gradient(45deg, var(--primary-pink), var(--secondary-rose), var(--accent-gold));
    color: var(--text-dark); font-weight: 700; position: sticky; top:0; z-index: 10;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}
.academic-table td { background-color: rgba(255,255,255,0.15); }
.academic-table tr:nth-child(even) td { background-color: rgba(248, 200, 220, 0.22); }
.academic-table tr { transition: background-color 0.4s ease; }
.academic-table tr:hover td { background-color: rgba(224,187,228,0.4); color: var(--text-dark); }
.academic-table td:first-child { font-weight: 600; color: #A06AB4; }
.academic-table tr:hover td:first-child { color: var(--text-dark); }
.academic-table th:first-child { border-top-left-radius: calc(var(--border-radius-soft) - 2px); } 
.academic-table th:last-child { border-top-right-radius: calc(var(--border-radius-soft) - 2px); }
.academic-table tr:last-child td { border-bottom: 0; } 
.academic-table tr:last-child td:first-child { border-bottom-left-radius: calc(var(--border-radius-soft) - 2px); }
.academic-table tr:last-child td:last-child { border-bottom-right-radius: calc(var(--border-radius-soft) - 2px); }

/* Responsive table styling for mobile views */
@media (max-width: 767px) {
    .academic-table, 
    .academic-table thead, 
    .academic-table tbody, 
    .academic-table th, 
    .academic-table td, 
    .academic-table tr { 
        display: block; 
    }
    .academic-table thead tr { 
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    .academic-table tr { 
        border: 1px solid rgba(224, 187, 228, 0.3);
        margin-bottom: 15px;
        border-radius: var(--border-radius-soft);
        background: rgba(255, 255, 255, 0.25);
        padding: 8px;
    }
    .academic-table td { 
        border: none;
        border-bottom: 1px solid rgba(224, 187, 228, 0.15); 
        position: relative;
        padding-left: 45% !important; 
        text-align: right !important;
        white-space: normal;
    }
    .academic-table td:last-child {
        border-bottom: none;
    }
    .academic-table td::before { 
        content: attr(data-label);
        position: absolute;
        top: 50%;
        left: 15px;
        width: 40%; 
        padding-right: 10px; 
        white-space: nowrap;
        text-align: left;
        font-weight: 600;
        color: var(--secondary-rose);
        transform: translateY(-50%);
        font-size: 0.85rem;
    }
    .academic-table td:first-child {
        color: var(--logo-color) !important;
    }
}

/* Testimonials */
#testimonials .testimonial-carousel {
    display: grid; 
    grid-template-columns: 1fr; /* Mobile layout */
    gap: 45px; 
    margin-top: 45px;
}
#testimonials .testimonial-item {
    background: rgba(255,255,255,0.55); padding: 45px; border-radius: var(--border-radius-soft);
    border-left: 9px solid var(--accent-gold);
    box-shadow: 0 11px 30px rgba(0,0,0,0.1);
    transition: var(--transition-smooth); position: relative;
}
#testimonials .testimonial-item::before {
    content: '“'; font-family: var(--font-heading); font-size: 7em; font-style: italic;
    color: var(--accent-gold); opacity: 0.08; position: absolute;
    top: -10px; left: 22px; line-height: 1; z-index: 0;
}
#testimonials .testimonial-item:hover {
    transform: translateY(-9px) scale(1.035);
    box-shadow: 0 18px 45px rgba(212, 175, 55, 0.35);
    border-left-color: var(--primary-pink);
}
#testimonials .testimonial-item p { font-style: italic; margin-bottom: 22px; font-size: 1.1rem; color: var(--text-dark); opacity: 0.95; position: relative; z-index: 1;}
#testimonials .testimonial-item h4 { 
    font-family: var(--font-body); font-weight: 600; color: var(--text-dark);
    font-size: 1.1rem; text-align: right; margin-top: 22px; position: relative; z-index: 1;
}

/* FAQ - Mobile First */
.faq-item {
    margin-bottom: 24px; border: 2.5px solid rgba(224, 187, 228, 0.55);
    border-radius: var(--border-radius-soft); overflow: hidden;
    background-color: rgba(255,255,255,0.22);
    transition: box-shadow 0.45s ease, border-color 0.45s ease, opacity 0.6s ease-out, transform 0.6s ease-out;
}
.faq-item:hover { box-shadow: 0 8px 22px rgba(224, 187, 228, 0.35); border-color: var(--secondary-rose); }
.faq-question {
    background: transparent; border: none; 
    padding: 20px 25px; /* Mobile padding */
    width: 100%; text-align: left; font-family: var(--font-body);
    font-size: 1.1rem; /* Mobile font size */
    font-weight: 500; color: var(--text-dark);
    cursor: pointer; display: flex; justify-content: space-between; align-items: center;
    transition: background-color 0.45s ease; position: relative; overflow: hidden;
}
.faq-question:hover { background-color: rgba(248, 200, 220, 0.45); }
.faq-icon {
    font-size: 1.8rem; color: var(--primary-pink);
    transition: transform 0.8s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}
.faq-answer {
    padding: 0 25px; /* Mobile padding */
    max-height: 0; overflow: hidden;
    transition: max-height 0.8s cubic-bezier(0.25, 0.1, 0.25, 1.0), padding 0.8s cubic-bezier(0.25, 0.1, 0.25, 1.0);
}
.faq-answer p { 
    padding: 14px 0 30px 0; 
    font-size: 1rem; /* Mobile font size */
    line-height: 1.85; 
}
.faq-item.active .faq-answer { max-height: 750px; }
.faq-item.active .faq-question { background-color: rgba(248, 200, 220, 0.35); }
.faq-item.active .faq-icon { transform: rotate(225deg) scale(1.2) translateX(-2.5px); }


/* Contact - Mobile First */
#contact .contact-info p { 
    font-size: 1.1rem; /* Mobile font size */
    margin-bottom: 26px; 
    display: flex; 
    align-items: flex-start; /* Align icon to top */
}
#contact .contact-info .icon {
    font-size: 1.55em; margin-right: 20px; /* Adjusted margin */
    color: var(--primary-pink);
    width: 35px; /* Adjusted width */
    text-align: center;
    flex-shrink: 0;
    padding-top: 3px;
}
.whatsapp-button {
    background-image: linear-gradient(45deg, #25D366, #128C7E, #25D366, #128C7E);
    color: white; 
    padding: 20px 40px; /* Mobile padding */
    font-size: 1.1rem; /* Mobile font size */
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.6); background-size: 300% auto;
}
.whatsapp-button:hover {
    transform: translateY(-7px) scale(1.045);
    box-shadow: 0 11px 32px rgba(37, 211, 102, 0.7);
    background-position: right center;
}
.whatsapp-button .icon { margin-right: 18px; font-size: 1.65em; }
 
/* Ripple */
.ripple {
    position: absolute; border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.75);
    transform: scale(0); animation: ripple-animation 0.85s linear;
    pointer-events: none;
}
@keyframes ripple-animation { to { transform: scale(5.2); opacity: 0; } }

/* Scroll to Top - Mobile First */
#scrollToTopBtn {
    display: none; position: fixed; 
    bottom: 30px; right: 20px; /* Mobile position */
    z-index: 998; border: none; outline: none;
    background-color: var(--primary-pink); color: var(--text-dark);
    cursor: pointer; 
    width: 55px; height: 55px; /* Mobile size */
    border-radius: 50%;
    font-size: 1.5rem; /* Mobile size */
    box-shadow: 0 6px 20px rgba(74,35,90,0.3);
    transition: var(--transition-smooth); opacity: 0; transform: translateY(30px) scale(0.85);
}
#scrollToTopBtn.visible { display: flex; align-items: center; justify-content: center; opacity: 1; transform: translateY(0) scale(1); }
#scrollToTopBtn:hover {
    background-color: var(--secondary-rose);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(74,35,90,0.4);
}

/* Footer */
footer {
    text-align: center; padding: 65px 20px; background-color: #fdeff7;
    border-top: 7px solid var(--primary-pink); position: relative; z-index: 1;
}
footer p { margin-bottom: 15px; color: var(--text-dark); opacity: 0.95; font-size: 1.1rem; }
footer .signature { font-family: var(--font-script); font-size: 2.3rem; color: var(--secondary-rose); margin-top: 22px; }
 
/* Ambient background glow bubbles */
.ambient-glows {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -3;
    overflow: hidden;
    pointer-events: none;
}
.glow-bubble {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.25;
    will-change: transform;
    animation: floatGlow 25s infinite alternate ease-in-out;
}
.bubble-1 {
    width: 45vw; height: 45vw;
    background: var(--primary-pink);
    top: -15vw; left: -15vw;
    animation-duration: 22s;
}
.bubble-2 {
    width: 55vw; height: 55vw;
    background: var(--accent-sage);
    bottom: -20vw; right: -20vw;
    animation-duration: 28s;
}
.bubble-3 {
    width: 38vw; height: 38vw;
    background: var(--secondary-rose);
    top: 35vh; left: 45vw;
    animation-duration: 18s;
    animation-delay: -4s;
}
@keyframes floatGlow {
    0% { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }
    50% { transform: translate3d(6vw, 4vh, 0) scale(1.08) rotate(180deg); }
    100% { transform: translate3d(-4vw, -3vh, 0) scale(0.94) rotate(360deg); }
}

/* Decorative floating botanicals */
.floating-botanicals {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
    opacity: 0.12;
}
.botanical {
    position: absolute;
    color: var(--accent-gold);
    will-change: transform;
    animation: floatBotanical 20s infinite alternate ease-in-out;
}
.leaf-1 {
    top: 15vh; right: 5vw;
    transform: rotate(25deg);
    animation-duration: 18s;
    --rot: 25deg;
}
.leaf-2 {
    bottom: 10vh; left: 3vw;
    transform: rotate(-15deg);
    animation-duration: 24s;
    --rot: -15deg;
}
@keyframes floatBotanical {
    0% { transform: translate(0, 0) rotate(var(--rot, 0deg)); }
    50% { transform: translate(12px, -18px) rotate(calc(var(--rot, 0deg) + 6deg)) scale(1.03); }
    100% { transform: translate(-8px, 12px) rotate(calc(var(--rot, 0deg) - 4deg)) scale(0.98); }
}

/* Wellness Compass Widget Styling */
#wellness-compass {
    margin-top: 40px;
    margin-bottom: 40px;
}
.compass-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-main);
    border: 1.5px solid rgba(197, 168, 128, 0.2);
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(61, 38, 69, 0.05);
}
.compass-subtitle {
    text-align: center;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
    color: #6a5073;
    opacity: 0.9;
}
.compass-widget {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.compass-step {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: center;
}
.compass-step.active {
    display: flex;
}
.step-indicator {
    font-size: 0.85rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 600;
    margin-bottom: 12px;
}
.compass-step h3 {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    color: var(--text-dark);
    margin-bottom: 25px;
    text-align: center;
}
.compass-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
    max-width: 900px;
}
@media (min-width: 600px) {
    .compass-options {
        grid-template-columns: repeat(2, 1fr);
    }
}
.compass-option-btn {
    background: rgba(255, 255, 255, 0.45);
    border: 1.5px solid rgba(197, 168, 128, 0.15);
    border-radius: var(--border-radius-soft);
    padding: 22px 26px;
    text-align: left;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    gap: 6px;
    outline: none;
    position: relative;
    overflow: hidden;
}
.compass-option-btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(245, 230, 232, 0.2), rgba(210, 219, 206, 0.2));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}
.compass-option-btn:hover {
    transform: translateY(-4px);
    border-color: var(--accent-gold);
    box-shadow: 0 10px 25px rgba(197, 168, 128, 0.12);
    background: rgba(255, 255, 255, 0.85);
}
.compass-option-btn:hover::before {
    opacity: 1;
}
.compass-option-btn:active {
    transform: translateY(-1px);
}
.option-icon {
    font-size: 1.8rem;
    z-index: 1;
    display: inline-block;
    transition: transform 0.4s ease;
}
.compass-option-btn:hover .option-icon {
    transform: scale(1.18) rotate(6deg);
}
.option-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 600;
    z-index: 1;
}
.option-desc {
    font-size: 0.9rem;
    color: #6a5073;
    line-height: 1.45;
    z-index: 1;
}
.compass-nav {
    margin-top: 30px;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    max-width: 900px;
}
.back-btn {
    background: transparent;
    border: none;
    color: #6a5073;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 16px;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 6px;
}
.back-btn:hover {
    color: var(--accent-gold);
    transform: translateX(-4px);
}
.compass-result {
    background: rgba(255, 255, 255, 0.65);
    border-radius: var(--border-radius-soft);
    padding: 40px 30px;
    border: 1.5px solid rgba(197, 168, 128, 0.18);
    box-shadow: 0 15px 40px rgba(61, 38, 69, 0.03);
    width: 100%;
    max-width: 800px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.result-flower {
    font-size: 3rem;
    margin-bottom: 15px;
}
.compass-result h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 14px;
}
.compass-result p {
    font-size: 0.98rem;
    line-height: 1.7;
    color: #513b57;
    margin-bottom: 24px;
    max-width: 680px;
}
.result-footer {
    border-top: 1px solid rgba(197, 168, 128, 0.15);
    padding-top: 25px;
    width: 100%;
}
.result-disclaimer {
    font-size: 0.8rem !important;
    color: #8c7394 !important;
    margin-bottom: 22px !important;
    font-style: italic;
    line-height: 1.4 !important;
}
.result-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    justify-content: center;
}
.compass-cta {
    margin-top: 0 !important;
    padding: 16px 36px !important;
    font-size: 0.9rem !important;
}
.restart-btn {
    background: transparent;
    border: 1.5px solid rgba(197, 168, 128, 0.35);
    color: var(--text-dark);
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.restart-btn:hover {
    background: rgba(255, 255, 255, 0.7);
    border-color: var(--accent-gold);
    transform: translateY(-2px);
}

/* Dinacharya Daily Rhythms Section */
#dinacharya {
    margin-top: 40px;
    margin-bottom: 40px;
}
.dinacharya-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-main);
    border: 1.5px solid rgba(197, 168, 128, 0.2);
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(61, 38, 69, 0.05);
}
.dinacharya-subtitle {
    text-align: center;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
    color: #6a5073;
    opacity: 0.9;
}
.dinacharya-widget {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}
.dinacharya-tabs {
    display: flex;
    justify-content: space-between;
    background: rgba(245, 230, 232, 0.4);
    border-radius: 40px;
    padding: 6px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    width: 100%;
    max-width: 600px;
    margin: 0 auto 10px auto;
    border: 1px solid rgba(197, 168, 128, 0.1);
}
.dinacharya-tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 8px 4px;
    border-radius: 35px;
    font-family: var(--font-body);
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.78rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    z-index: 2;
}
.dinacharya-tab-btn.active {
    color: #8E5572;
    font-weight: 600;
}
.tab-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}
.dinacharya-tab-btn:hover .tab-icon {
    transform: scale(1.15) translateY(-2px);
}
.tab-indicator-pill {
    position: absolute;
    top: 6px;
    left: 6px;
    height: calc(100% - 12px);
    width: calc(25% - 9px);
    background: var(--card-bg);
    border-radius: 35px;
    box-shadow: 0 4px 15px rgba(61, 38, 69, 0.06);
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(197, 168, 128, 0.15);
}
.dinacharya-content-container {
    position: relative;
    min-height: 380px;
    width: 100%;
}
.dinacharya-panel {
    display: none;
    width: 100%;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.dinacharya-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}
.panel-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: var(--border-radius-soft);
    padding: 30px 20px;
    border: 1px solid rgba(197, 168, 128, 0.15);
    box-shadow: 0 10px 30px rgba(61, 38, 69, 0.02);
}
.panel-info {
    flex: 1;
}
.panel-info h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.time-tag {
    display: inline-block;
    background: rgba(197, 168, 128, 0.18);
    color: #8E5572;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 18px;
    border: 1px solid rgba(197, 168, 128, 0.25);
    letter-spacing: 0.5px;
}
.panel-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #6a5073;
    margin-bottom: 20px;
}
.practice-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.practice-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-dark);
}
.practice-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    top: 0px;
    color: var(--accent-gold);
    font-size: 1.1rem;
}
.panel-graphic {
    flex: 0 0 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: center;
}
.rhythm-circle {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border: 3px solid transparent;
    box-shadow: 0 10px 25px rgba(61, 38, 69, 0.05);
    transition: all 0.4s ease;
}
.rhythm-circle:hover {
    transform: scale(1.08) rotate(5deg);
}
.rhythm-svg {
    position: absolute;
    top: -5px;
    left: -5px;
    width: 120px;
    height: 120px;
    color: var(--accent-gold);
    pointer-events: none;
}
.center-emoji {
    font-size: 2.2rem;
    position: relative;
    z-index: 2;
}
.doctor-tip {
    font-size: 0.85rem !important;
    line-height: 1.5;
    color: #614670;
    font-style: italic;
    background: rgba(245, 230, 232, 0.35);
    padding: 12px 18px;
    border-radius: 18px;
    border-left: 4px solid var(--accent-gold);
    margin-bottom: 0;
    max-width: 280px;
}

/* Glow effects for daily rhythms */
.morning-glow { border-color: #ffd8a8; box-shadow: 0 0 20px rgba(255, 216, 168, 0.4); }
.midday-glow { border-color: #ffe066; box-shadow: 0 0 20px rgba(255, 224, 102, 0.4); }
.evening-glow { border-color: #ffc9c9; box-shadow: 0 0 20px rgba(255, 201, 201, 0.4); }
.night-glow { border-color: #dec2f0; box-shadow: 0 0 20px rgba(222, 194, 240, 0.4); }

/* Stagger child base styles */
.stagger-child { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
section.visible .stagger-child { opacity: 1; transform: translateY(0); }
 

/* --- Tablet & Small Desktop Breakpoint --- */
@media (min-width: 768px) {
    p { 
        font-size: 1.02rem; /* Larger p */
    }
    h2 {
        font-size: clamp(1.7rem, 4vw, 2.2rem); /* Larger h2 */
    }

    /* --- Navigation --- */
    nav { 
        top: 25px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 1100px;
        padding: 12px 35px;
    }
    nav.scrolled {
        top: 12px;
        padding: 8px 35px;
    }
    .nav-header-container { 
        flex-direction: row; /* Desktop layout */
        justify-content: space-between;
        align-items: center;
        padding: 0;
    }
    nav .logo-main-header { 
        font-size: 2rem; /* Desktop size */
        margin-bottom: 0; /* Desktop margin */
    }
    .menu-toggle { 
        display: none; /* Hide hamburger */
    }
    /* Show desktop nav list */
    nav ul { 
        display: flex; 
        flex-direction: row;
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        backdrop-filter: none;
        border: none;
        box-shadow: none;
        padding: 0;
        transform: none;
        opacity: 1;
        pointer-events: auto;
        justify-content: flex-end;
        flex-wrap: nowrap;
        animation: none;
        border-radius: 0;
    }
    nav ul li { 
        margin: 0 5px; /* Desktop margin */
        width: auto;
    }
    nav ul li a {
        font-size: 0.95rem; /* Desktop size */
        padding: 8px 16px; /* Desktop padding */
        border-radius: 30px;
    }
    nav ul li a:hover {
        background: rgba(245, 230, 232, 0.4);
        color: var(--logo-color);
    }
    nav ul li a.active {
        background: rgba(245, 230, 232, 0.75);
        color: var(--logo-color);
        font-weight: 600;
    }

    /* --- Sections --- */
    section {
        padding: 100px 15px 70px 15px; 
    }
    .section-card { 
        padding: 45px 40px; /* Tablet padding */
    }
    .section-card:hover {
        transform: translateY(-15px) perspective(1400px) rotateX(3deg) scale(1.03);
        box-shadow: 0 28px 70px var(--shadow-medium), 0 0 45px var(--glow-color);
    }
    .section-divider {
        margin-bottom: 3em; /* Desktop margin */
    }

    /* --- Hero --- */
    .hero-content { 
        padding: 55px; /* Desktop padding */
    }
    .cta-button, .whatsapp-button {
        padding: 24px 55px; /* Desktop padding */
        font-size: 1.1rem; /* Desktop font size */
    }
    .whatsapp-button {
        font-size: 1.25rem;
    }
    
    /* --- Personal Note --- */
    #personal-note .note-content { 
        flex-direction: row; /* Desktop layout */
        align-items: flex-start; 
        text-align: left;
        gap: 40px;
    }
    #personal-note .note-icon {
        margin-right: -18px; 
        margin-bottom: 0;
    }
    #personal-note blockquote {
        padding: 14px 0 14px 25px; /* Desktop padding */
    }

    /* --- About --- */
    #about .about-flex { 
        flex-direction: row; /* Desktop layout */
        text-align: left; 
        gap: 50px;
        align-items: flex-start; /* Photo is aligned to the top */
    }
    #about .profile-image-container { 
        margin-bottom: 0; 
    }
    #about .profile-image { 
        width: 200px; height: 200px; /* Tablet size */
    }
    #about li {
        font-size: 1.05rem; /* Restore desktop font size */
        align-items: center; /* Restore desktop alignment */
    }
    #about li .icon {
        margin-right: 18px; /* Restore desktop margin */
        padding-top: 0; /* Restore desktop padding */
    }
    /* --- FIX: Restore min-width for desktop --- */
    #about li strong {
        min-width: 135px;
        padding-right: 0; /* Reset padding */
    }
    /* --- END FIX --- */


    /* --- My Approach --- */
    #approach li {
        font-size: 1.05rem; /* Restore desktop font size */
        padding-left: 45px; /* Restore desktop padding */
    }
    #approach li::before {
        top: 3px; /* Restore desktop position */
    }
    
    /* --- Dinacharya Widget Desktop --- */
    .dinacharya-tab-btn {
        flex-direction: row;
        padding: 14px 20px;
        font-size: 0.98rem;
        gap: 8px;
    }
    .panel-layout {
        flex-direction: row;
        padding: 40px 45px;
        gap: 40px;
        align-items: center;
    }
    .panel-info h3 {
        font-size: 1.6rem;
    }
    .rhythm-circle {
        width: 130px;
        height: 130px;
    }
    .rhythm-svg {
        width: 140px;
        height: 140px;
    }
    .center-emoji {
        font-size: 2.6rem;
    }
    .doctor-tip {
        max-width: 320px;
        font-size: 0.88rem !important;
    }


    /* --- Services --- */
    #services .service-grid {
        grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); /* Desktop grid */
        gap: 40px; /* Desktop gap */
    }
    #services .service-item {
        padding: 45px; /* Desktop padding */
    }

    /* --- Journey --- */
    .journey-map-container { 
        padding: 20px 0; 
    }
    .journey-map {
        flex-direction: row; /* Desktop layout */
        align-items: flex-start; 
        min-width: auto; 
        padding: 40px 20px;
    }
    .journey-map::before {
        content: ''; position: absolute; top: 70px; left: 0;
        width: 100%; height: 6px; 
        background: linear-gradient(90deg, var(--primary-pink), var(--secondary-rose), var(--primary-pink));
        background-size: 200% 100%; border-radius: 3px;
        animation: journeyPathShine 6s ease-in-out infinite, drawJourneyPath 2s 0.5s ease-out forwards;
        transform-origin: left; transform: scaleX(0);
        display: block; /* Show desktop path */
    }
    .journey-milestone {
        min-width: 180px; /* Tablet min-width */
        margin-right: 20px; 
        margin-bottom: 0;
        padding-top: 40px; /* Desktop padding */
    }
    .milestone-icon-container {
        width: 70px; height: 70px;
        position: absolute; /* Desktop position */
        top: -5px; 
        left: 50%; 
        transform: translateX(-50%);
        margin-bottom: 20px; 
    }
    .milestone-icon { font-size: 2.2em; }
    
    /* --- Academic Table --- */
    .academic-table { 
        min-width: 750px; /* Desktop min-width */
    }
    .academic-table th, .academic-table td {
        padding: 18px 22px; /* Desktop padding */
        font-size: 1rem; /* Desktop font size */
    }
    .academic-table-container { padding: 12px; }

    /* --- Testimonials --- */
    #testimonials .testimonial-carousel {
        grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); /* Desktop grid */
    }
    
    /* --- FAQ --- */
    .faq-question {
        padding: 25px 32px; /* Desktop padding */
        font-size: 1.25rem; /* Desktop font size */
    }
    .faq-answer {
        padding: 0 32px; /* Desktop padding */
    }
    .faq-answer p {
        font-size: 1.1rem; /* Desktop font size */
    }

    /* --- Contact --- */
    #contact .contact-info p {
        font-size: 1.1rem; /* Desktop font size */
        align-items: center; /* Restore desktop alignment */
    }
    #contact .contact-info .icon {
        margin-right: 22px; /* Restore desktop margin */
        width: 42px; /* Restore desktop width */
        padding-top: 0;
    }

    /* --- ScrollToTop --- */
    #scrollToTopBtn {
        bottom: 40px; right: 40px; /* Desktop position */
        width: 60px; height: 60px; /* Desktop size */
        font-size: 1.8rem; /* Desktop size */
    }
}

/* --- Medium Desktop Breakpoint --- */
@media (min-width: 992px) {
    .section-card { 
        padding: 55px 60px; /* Desktop padding */
    }

    #about .profile-image { 
        width: 250px; height: 250px; /* Desktop size */
    }

    .journey-map { 
        min-width: 800px; 
    }
    .milestone-icon-container {
        width: 80px; height: 80px;
        top: -10px;
    }
}

/* --- Large Desktop Breakpoint --- */
@media (min-width: 1200px) { 
    .journey-map { 
        min-width: 1200px; 
    }
    .journey-milestone { 
        min-width: 220px; 
        margin-right: 50px; 
    }
}