:root {
    /* Primary Palette */
    --primary-brown: #4A2C1D;
    --sandalwood-beige: #F2E8D8;
    --earth-cream: #EFE6D8;

    /* Accent Palette */
    --accent-gold: #C8A24D;
    --herbal-green: #6B8E23;
    --copper-bronze: #B87333;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Shadows & Radius */
    --shadow-soft: 0 4px 20px rgba(74, 44, 29, 0.08);
    --radius-md: 12px;
    --radius-lg: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--earth-cream);
    color: var(--primary-brown);
    line-height: 1.6;
    overflow-x: hidden;
}

h1 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-brown);
    font-size: clamp(2rem, 5vw, 3.5rem);
    /* Responsive H1 */
    line-height: 1.2;
}

h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-brown);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    /* Responsive H2 */
    line-height: 1.3;
}

h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-brown);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    /* Responsive H3 */
    line-height: 1.4;
}

p,
li {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    /* Responsive Body Text */
    line-height: 1.6;
    color: #5a4a42;
    /* Soften black text */
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Typography Utilities */
.text-center {
    text-align: center;
}

.text-gold {
    color: var(--accent-gold);
}

.text-green {
    color: var(--herbal-green);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
    background-color: var(--primary-brown);
    color: var(--sandalwood-beige);
}

.btn-primary:hover {
    background-color: var(--accent-bronze);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-brown);
    color: var(--primary-brown);
}

.btn-secondary:hover {
    background-color: var(--primary-brown);
    color: var(--sandalwood-beige);
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
}


/* Header / Navbar */
.navbar {
    background-color: rgba(239, 230, 216, 0.95);
    /* Earth cream with opacity */
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    /* Ensure no underline */
}

.logo-img {
    height: 60px;
    /* Adjust based on preference */
    width: auto;
    object-fit: contain;
}

.logo span {
    color: var(--herbal-green);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-gold);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-brown);
}

/* Sticky Buttons */
.sticky-buttons {
    position: fixed;
    bottom: 20px;
    width: 100%;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
    /* Let clicks pass through empty space */
}

.sticky-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    pointer-events: auto;
    /* Re-enable pointer events for buttons */
    transition: transform 0.3s;
}

.sticky-btn:hover {
    transform: scale(1.1);
}

.sticky-whatsapp {
    background-color: #25D366;
    margin-left: auto;
    /* Push to right if alone, generic positioning */
}

.sticky-call {
    background-color: var(--primary-brown);
}


/* Footer */
footer {
    background-color: var(--primary-brown);
    color: white;
    /* Brightest contrast */
    padding: var(--spacing-lg) 0 var(--spacing-md);
    margin-top: var(--spacing-lg);
}

/* Force white text in footer to override global p/li color */
footer p,
footer li,
footer a {
    color: white !important;
    opacity: 1;
    /* Remove all opacity reduction */
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.footer-col h3 {
    color: var(--sandalwood-beige);
    /* Gold/Beige for headers */
    margin-bottom: 1.5rem;
    /* Increased spacing */
    font-size: 1.25rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
    /* More breathing room */
    opacity: 0.9;
    /* Slight softness ok here */
}

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
    /* Hover effect hint */
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    /* Defined separator */
    padding-top: var(--spacing-md);
    text-align: center;
    font-size: 0.95rem;
    /* Slightly larger */
    opacity: 1;
    /* Full visibility */
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--earth-cream);
        padding: 2rem;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

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

    .sticky-buttons {
        bottom: 15px;
        padding: 0 15px;
    }
}

/* Doctor Section Layout */
.doctor-layout {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

@media (min-width: 768px) {
    .doctor-layout {
        flex-direction: row;
    }
}

/* Hero Section Responsive Styles */
.hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Mobile First: Smaller height */
    height: 50vh;
    background: linear-gradient(rgba(74, 44, 29, 0.6), rgba(74, 44, 29, 0.4)), url('../assets/images/hero-mobile.png');
    background-size: cover;
    background-position: center;
    text-align: center;
    color: white;
    margin-top: 70px;
}

@media (min-width: 768px) {
    .hero-section {
        height: 90vh;
        background: linear-gradient(rgba(74, 44, 29, 0.6), rgba(74, 44, 29, 0.4)), url('../assets/images/hero-desktop.png');
        background-size: cover;
        background-position: center;
    }
}