@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

* {
    -webkit-tap-highlight-color: transparent;
}

:root {
    --background: 230 20% 98%;
    --foreground: 212 100% 11%;
    /* Updated to match the navy blue */
    --primary: 212 100% 22%;
    /* Navy Blue */
    --primary-foreground: 60 100% 50%;
    /* Gold Yellow */
    --accent: 0 0% 100%;
    /* White */
    --border: 230 24% 90%;
    --navbar-gradient-start: 255 255 255;
    --navbar-gradient-end: 255 255 255 / 0;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Raleway', sans-serif;
    --radius: 8px;
    --big-shadow: 0px 5px 34px rgba(0, 0, 0, 13%);
}

@media (prefers-color-scheme: dark) {
    :root {
        --background: 230 20% 10%;
        --foreground: 230 20% 90%;
        --primary: 212 70% 60%;
        --primary-foreground: 60 100% 50%;
        --accent: 230 20% 15%;
        --border: 230 24% 20%;
        --navbar-gradient-start: 0 0 0;
        --navbar-gradient-end: 0 0 0 / 0;
        --big-shadow: 0px 5px 34px rgba(0, 0, 0, 34%);
    }

    #assistantButton img {
        border-color: hsl(var(--background));
        box-shadow: 0 3px 13px rgba(0, 0, 0, 0.4);
    }

    .assistantPanelItem {
        background: hsl(var(--accent));
        border-color: hsl(var(--border));
    }

    .assistantPanelItem:hover {
        background: hsl(var(--background));
        box-shadow: 0 5px 21px rgba(0, 0, 0, 0.5);
    }

    #assistantDeck .header img {
        border-color: hsl(var(--background));
        box-shadow: 0 0 13px rgba(0, 0, 0, 0.5);
    }
     .benefit-item {
        background: hsla(var(--accent), 0.8);
    }
    
    .cta-section {
        background: hsla(var(--accent), 0.3);
    }
}

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

#map {
    height: 400px;
    width: 100%;
    max-width: 555px;
    margin: 0 auto;
    border-radius: 21px;
    box-shadow: var(--big-shadow);
    transition: padding-right 0.3s ease;

}

body {
    font-family: var(--font-body);
    background: hsl(var(--background));
    color: hsl(var(--foreground));
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    user-select: none;
    -webkit-user-select: none;
}

/* Helper class for locked state */
.scroll-locked {
    /* Prevent any scroll bounce on iOS */
    position: fixed;
    width: 100%;
    overflow-y: scroll;
}

html {
    scrollbar-gutter: stable;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: hsl(var(--background));
}

::-webkit-scrollbar-thumb {
    background: hsl(var(--border));
    border-radius: 4px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.navbar {
    position: sticky;
    top: 0;

    backdrop-filter: blur(8px);
    box-shadow: var(--big-shadow);
    z-index: 50;
    padding: 0.5rem 0;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 6rem;
    transition: padding-right 0.3s ease;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    background: linear-gradient(to right,
            hsl(var(--navbar-gradient-start) / 0.9),
            hsl(var(--navbar-gradient-end) / 0.1));
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

/* In your CSS, update the logo styles: */
.logo {
    width: 6rem;
    /* 96px */
    height: 6rem;
    /* 96px */
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.2s ease;
    object-fit: cover;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    /* Add these properties for crisp rendering */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0) scale(1.0, 1.0);
}



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

.brand-text .main-logo-text {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    line-height: 1.2;
    filter: drop-shadow(0 1px 5px rgba(0, 0, 0, 34%));
}

.faq-container {
    position: relative;
    height: calc(100vh - 200px);

}

.faq-question {
    background: hsl(var(--background));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    margin: 0.5rem 0;
    cursor: pointer;
    transition: all 0.13s ease-out;
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-question:hover {
    /* Make background 5% lighter on hover */
    transform: translateY(-3px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.13);
}

.faq-question span {
    flex: 1;
    font-weight: 500;
    color: hsl(var(--foreground));
}

.faq-question i {
    color: hsl(var(--primary));
    font-size: 0.9rem;
    opacity: 0.7;
}

/* FAQ Answer Panel */
.faq-answer-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: hsl(var(--background));
    transform: translateX(55);
    visibility: hidden;
    display: flex;
    flex-direction: column;
}

.faq-answer-header {
    padding: 1rem;
    border-bottom: 1px solid hsl(var(--border));
    background: hsl(var(--background));
}

.faq-back-button {
    background: none;
    border: none;
    color: hsl(var(--primary));
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.faq-back-button:hover {
    opacity: 0.8;
}

.faq-answer-content {
    padding: 1.25rem;
    overflow-y: auto;
    flex: 1;
    color: hsl(var(--foreground));
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: hsl(var(--foreground));
}

.credentials {
    font-size: 0.69rem;
    color: hsl(var(--foreground));
    line-height: 1.4;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    color: hsl(var(--foreground));
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.contact-button:hover {
    background: hsl(var(--accent));
    color: hsl(var(--primary));
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.burger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: hsl(var(--foreground));
    border-radius: 3px;
}

.main-content {
    padding: 4rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-section h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    text-wrap: balance;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: hsl(var(--foreground));

    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: hsl(var(--foreground));
    text-wrap: balance;
    margin-bottom: 2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.features {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-card {
    background: hsla(var(--background), 0.9);
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0px 5px 13px rgba(0, 0, 0, 13%);
    align-items: center;
    gap: 1rem;
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    background: hsl(var(--accent));
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(var(--primary));
}

.feature-icon i {
    font-size: 1.5rem;
}

.feature-text h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: hsl(var(--foreground));
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.feature-text p {
    font-size: 0.9rem;
    color: hsl(var(--foreground));
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.primary-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: hsl(var(--primary));
    color: hsl(var(--accent));
    border: none;
    border-radius: var(--radius);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    font-size: 1rem;
    width: 100%;
    line-height: 16px;
}

.primary-button:hover {
    opacity: 0.9;
}

.primary-button i,
.secondary-button i {
    font-size: 1.2rem;

}

#mainLogo {}

.whatsapp-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(145deg, #25D366, #128C7E);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1rem;
    width: 100%;
    line-height: 16px;
    box-shadow:
        0 4px 21px rgba(37, 211, 102, 0.3),
        /* Main shadow */
        0 2px 8px rgba(37, 211, 102, 0.2),
        /* Closer shadow for depth */
        inset 0 1px 1px rgba(255, 255, 255, 0.2);
    /* Top highlight */
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;

}

.assistant-contact-container {
    padding: 1rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;

    align-items: center;
    width: 100%;
}

.assistant-email-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: hsl(var(--foreground));
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.5rem;
    transition: color 0.2s ease;
}

.assistant-email-link:hover {
    color: hsl(var(--primary));
}

.assistant-whatsapp-button {
    position: relative;
    top: 5px;
    display: block;
    text-decoration: none;
    overflow: hidden;
    width: 100%;
    border-radius: 8px;
    transition: transform 0.13s ease-out;
}

.assistant-newpatient-button {
    position: relative;
    top: 5px;
    display: block;
    text-decoration: none;
    overflow: hidden;
    width: 100%;
    border-radius: 8px;
    transition: transform 0.13s ease-out;
}

.whatsapp-content {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(145deg, #25D366, #128C7E);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;

}

.newpatient-content {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(-145deg, #2585d3, #128C7E);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;

}

.whatsapp-glow {
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle at center,
            rgba(37, 211, 102, 0.8) 0%,
            rgba(37, 211, 102, 0) 70%);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
}

.assistant-whatsapp-button:hover,
.assistant-newpatient-button:hover {
    transform: translateY(-3px)
}

.assistant-whatsapp-button i {
    font-size: 1.3rem;
}

/* Hover state */
.whatsapp-button:hover {
    transform: translateY(-2px);
    /* background: linear-gradient(145deg, #28E070, #15A892); */
    box-shadow:
        0 6px 28px rgba(37, 211, 102, 0.35),
        0 4px 10px rgba(37, 211, 102, 0.25),
        inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

/* Active state */
.whatsapp-button:active {
    transform: translateY(1px);
    box-shadow:
        0 2px 14px rgba(37, 211, 102, 0.25),
        0 1px 6px rgba(37, 211, 102, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    color: hsl(var(--foreground));
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    font-size: 1rem;
    width: 100%;
}

.secondary-button:hover {
    background: hsl(var(--accent));
    color: hsl(var(--primary));
}

.image-section {
    position: relative;
}

.doctor-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius);

    filter: drop-shadow(0px 8px 13px rgba(0, 0, 0, 34%));
}

.image-card {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    background: linear-gradient(to right,
            hsla(var(--background), 0.89),
            hsla(var(--background), 0.13));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0px 5px 13px rgba(0, 0, 0, 21%);
    backdrop-filter: blur(13px);
}

.image-card-text {
    font-size: 0.875rem;
}

.image-card-text p {
    color: hsl(var(--foreground));
}

.image-card-text p.text-muted {
    color: hsl(var(--foreground));
}

.image-card-badge {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 900;
    cursor: pointer;
    text-align: center;
    line-height: 13px;
}

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

.sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: hsl(var(--background));
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: left 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 100;
}

.sidebar.open {
    left: 0;
}

.directionsButton {
    background: #4a9eca;
    color: white;
    text-transform: uppercase;
    box-shadow: 0px 3px 13px rgb(74 158 202 / 74%);
    text-align: center;
    font-weight: 500;
    letter-spacing: 1px;
    border: solid 1px white;
    border-radius: 21px;
    cursor: pointer;
    text-shadow: 0px 0px 8px rgb(0, 0, 0, 34%);

    padding: 5px 10px;
}

.sidebar a {
    color: hsl(var(--foreground));
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.sidebar a:hover {
    border-color: hsl(var(--foreground));
}

.burger-button {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1000;
}

.burger-button span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: hsl(var(--foreground));
    transition: transform 0.3s ease;
}

.burger-button.open span:first-child {
    transform: translateY(8px) rotate(45deg);
}

.burger-button.open span:nth-child(2) {
    opacity: 0;
}

.burger-button.open span:last-child {
    transform: translateY(-8px) rotate(-45deg);
}

.slide-menu {
    position: fixed;
    top: 0;
    right: 0px;
    width: 300px;
    height: 100vh;
    background: hsl(var(--background));
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 1000;
    padding: 80px 2rem 2rem;
    transform: translateX(100%);
}

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

.menu-nav {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.menu-nav h1 {
    font-size: 1.5rem;
    margin: 0;
}

.menu-nav a {
    color: hsl(var(--foreground));
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.desktop-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.menu-link {
    color: hsl(var(--foreground));
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8rem;
    transition: color 0.2s ease;
    position: relative;
}

.menu-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: hsl(var(--primary));
    transition: width 0.2s ease;
}

.menu-link:hover:after {
    width: 100%;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 999;
    pointer-events: none;
}

.menu-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

@media (max-width: 1024px) {
    .navbar-container {
        padding: 0 2rem;
    }
}


/* Biography Modal Styles */

/* Animation helper classes */
.biography-fade-enter {
    opacity: 0;
    transform: translateY(10px);
}

.biography-fade-enter-active {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.biography-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.89);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    padding: 1.5rem;
}

.biography-card {
    position: relative;
    width: 100%;
    max-width: 700px;
    max-height: 85vh;
    background: hsl(var(--background));
    border-radius: var(--radius);
    box-shadow: var(--big-shadow);
    display: flex;
    flex-direction: column;
    margin: auto;
}

.biography-content {
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
}

.biography-header {
    padding: 2.5rem 2.5rem 1.5rem;
    display: flex;
    gap: 2rem;
    align-items: center;
    background: hsl(var(--background));
    border-radius: var(--radius) var(--radius) 0 0;
}

.biography-close-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    background: hsl(var(--background));
    border: 1px solid hsl(var(--border));
    border-radius: 50%;
    color: hsl(var(--foreground));
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
    box-shadow: var(--big-shadow);
}

.biography-close-button:hover {
    background: hsl(var(--accent));
    transform: scale(1.05);
}

.biography-image {
    width: 120px;
    height: 120px;
    border-radius: 60px;
    object-fit: cover;
    box-shadow: var(--big-shadow);
    transform: rotateY(180deg);
}

.biography-title {
    flex: 1;
}

.biography-title h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: hsl(var(--foreground));
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.biography-credentials {
    font-size: 1.1rem;
    color: hsl(var(--foreground));
    opacity: 0.8;
}

.biography-body {
    padding: 0 2.5rem 2.5rem;
}

.biography-body h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin: 1.5rem 0;
}

.biography-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: hsl(var(--foreground));
}

.biography-text p {
    margin-bottom: 1.5rem;
}

.biography-motto {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-style: italic;
    color: hsl(var(--primary));
    text-align: center;
    margin-top: 2rem;
    padding: 1rem;
    border-top: 1px solid hsl(var(--border));
}

/* Scrollbar Styles */
.biography-content::-webkit-scrollbar {
    width: 8px;
}

.biography-content::-webkit-scrollbar-track {
    background: transparent;
}

.biography-content::-webkit-scrollbar-thumb {
    background-color: hsl(var(--border));
    border-radius: 4px;
    border: 2px solid hsl(var(--background));
}

.biography-content {
    scrollbar-width: thin;
    scrollbar-color: hsl(var(--border)) transparent;
}




/* 
.biography-close-button:hover {
    color: hsl(var(--primary));
}

.biography-close-button span {
    position: absolute;
    width: 100%;
    height: 2px;
    background: hsl(var(--foreground));
    transition: transform 0.3s ease;
}

.biography-close-button span:first-child {
    transform: rotate(45deg);
}

.biography-close-button span:last-child {
    transform: rotate(-45deg);
}

.biography-close-button:hover span {
    background: hsl(var(--primary));
} */

.biography-content {
    padding: 2.5rem;
}

.biography-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.biography-image {
    width: 120px;
    height: 120px;
    border-radius: 60px;
    object-fit: cover;
    box-shadow: var(--big-shadow);
    transform: rotateY(180deg);
}

.biography-title {
    flex: 1;
}

.biography-title h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: hsl(var(--foreground));
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.biography-credentials {
    font-size: 1.1rem;
    color: hsl(var(--foreground));
    opacity: 0.8;
}

.biography-body {
    padding-top: 1rem;
    border-top: 1px solid hsl(var(--border));
}

.biography-body h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-bottom: 1.5rem;
}

.biography-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: hsl(var(--foreground));
}

.biography-text p {
    margin-bottom: 1.5rem;
}

.biography-motto {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-style: italic;
    color: hsl(var(--primary));
    text-align: center;
    margin-top: 2rem;
}


/* Media query for desktop */
@media (min-width: 768px) {




    .primary-button,
    .secondary-button {
        width: auto;
        /* Reset width on desktop */
    }

    .cta-buttons {
        flex-direction: row;
        /* Side by side on desktop */
    }
}

@media (max-width: 768px) {
    .biography-overlay {
        padding: 1rem;
    }

    .brand-text  .main-logo-text{
            line-height: 0.89;
    padding-bottom: 5px;
    }

    .assistant-contact-container {
        padding: 0.5rem;
    }

       .content-section {
        padding: 2rem 0;
    }
    
    .content-section h2 {
        font-size: 1.75rem;
    }
    
    .content-section h3 {
        font-size: 1.5rem;
    }
    
    .content-section p {
        font-size: 1rem;
        text-align: left;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .cta-section {
        padding: 1.5rem;
    }
    
    .cta-buttons-bottom {
        flex-direction: column;
    }
    
    .cta-buttons-bottom .primary-button,
    .cta-buttons-bottom .secondary-button {
        width: 100%;
    }

    .biography-card {
        max-height: 90vh;
    }

    .biography-header {
        flex-direction: column;
        text-align: center;
        padding: 3.5rem 1.5rem 1.5rem;
        gap: 1rem;
    }

    .biography-image {
        width: 100px;
        height: 100px;
    }

    .biography-title h1 {
        font-size: 1.8rem;
    }

    .biography-credentials {
        font-size: 1rem;
    }

    .biography-body {
        padding: 0 1.5rem 1.5rem;
    }

    .biography-body h2 {
        font-size: 1.5rem;
        text-align: center;
    }

    .biography-text {
        font-size: 1rem;
    }

    .biography-motto {
        font-size: 1.1rem;
    }

    .biography-close-button {
        top: 0.75rem;
        right: 0.75rem;
    }

    .main-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-section h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .image-section {
        order: -1;
    }

    .navbar-container {
        height: auto;
        padding: 1rem;
    }

    .contact-button {
        display: none;
    }

    .burger-menu {
        display: flex;
    }

    .desktop-menu {
        display: none;
    }

    .burger-button {
        display: flex;
    }
}

/* Assistant Component Styles */
#assistantButton {
    position: fixed;
    right: 0px;
    bottom: 0px;
    padding: 1rem;
    cursor: pointer;
    z-index: 50;
    transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

#assistantButtonWhatsapp {
    position: relative;
    top: 29px;
    left: 0px;

    display: flex;
    justify-content: center;
    align-items: center;
    height: 25px;
    width: 25px;
    background: linear-gradient(45deg, #1EBEA5, #00E676);
    border-radius: 13px;
    box-shadow: 0px 1px 5px limegreen;
}

#assistantButtonWhatsapp i {
    position: relative;
    bottom: 1px;
    filter: drop-shadow(0px 1px 3px rgba(0, 0, 0, 13%));
    color: white;
}

#assistantButton:hover {
    transform: scale(1.05);
}

#assistantButton img {
    width: 5.5rem;
    border-radius: 9999px;
    border: 2px solid hsl(var(--background));
    box-shadow: var(--big-shadow);
    transition: all 0.3s ease;
}

#assistantButtonOpenIndicator,
#assistantOpenIndicator {
    position: absolute;
    background: #02b702;
    border-radius: 9999px;
    box-shadow: 0 0 8px rgba(2, 183, 2, 0.5);
    visibility: hidden;
    transition: all 0.3s ease;
}

#assistantButtonOpenIndicator {
    top: 1.75rem;
    right: 1.75rem;
    width: 1rem;
    height: 1rem;
}

#assistantOpenIndicator {
    top: 1.7rem;
    right: 8.8rem;
    width: 0.8rem;
    height: 0.8rem;
}

#assistantSemanticTradingHoursIndicator {
    font-family: var(--font-body);
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    text-align: center;
    border-radius: 21px;
    background: hsla(var(--background), 0.8);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 0.5rem 0;
    transition: color 0.3s ease;
    line-height: 1.4;
}

/* Style adjustments for when we're open */
#assistantSemanticTradingHoursIndicator.open {
    color: #02b702;
    font-weight: 600;
}

#assistantPanel {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    visibility: hidden;
    z-index: 100;
    transition: visibility 0.3s ease;
}

#assistantDeck {
    height: 100%;
    width: 21rem;
    background: hsl(var(--background));
    padding: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: var(--big-shadow);
    overflow-y: scroll;
    overflow-x: hidden;
}

#assistantDeck.open {
    transform: translateX(0);
}

#assistantCloseButton {
    position: absolute;
    top: 0;
    right: 0;
    padding: 1rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    font-style: normal;
    color: hsl(var(--foreground));
    transition: color 0.2s ease;
}

#assistantCloseButton:hover {
    color: hsl(var(--primary));
}

.assistantPanelItems {
    display: flex;
    flex-direction: column;
    padding-top: 1rem;
    gap: 0.5rem;
}

.assistantPanelItem {
    padding: 1rem;
    margin: 0.3rem;
    border-radius: var(--radius);
    background: hsl(var(--accent));
    border: 1px solid hsl(var(--border));
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    font-size: 0.89rem;
    transition: all 0.2s ease;
}

.assistantPanelItem:hover {
    transform: translateY(-2px);
    box-shadow: var(--big-shadow);
    background: hsl(var(--background));
}

#assistantDeck .header {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;

    color: hsl(var(--foreground));
}

#assistantDeck .header div:first-of-type {
    padding: 1.5rem 1rem 1rem;
}

#assistantDeck .header img {
    width: 3.5rem;
    border-radius: 9999px;
    border: 2px solid hsl(var(--background));
    box-shadow: var(--big-shadow);
    transition: transform 0.3s ease;
}

#assistantDeck .header img:hover {
    transform: scale(1.1);
}

#footer {
    position: static;
    bottom: 0px;
    width: 100%;
    text-align: center;
    left: 0px;
    font-size: 0.8em;
    padding: 8px;
}














/* New SEO Content Styles */
.content-section {
    padding: 3rem 0;
    border-top: 1px solid hsl(var(--border));
}

.content-section h2 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    color: hsl(var(--foreground));
    margin-bottom: 1.5rem;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.content-section h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin: 2rem 0 1rem;
    line-height: 1.4;
}

.content-section h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-bottom: 0.5rem;
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: hsl(var(--foreground));
    margin-bottom: 1.25rem;
    text-align: justify;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.benefit-item {
    background: hsla(var(--background), 0.8);
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--big-shadow);
}

.benefit-item h4 {
    color: hsl(var(--primary));
    margin-bottom: 0.75rem;
}

.benefit-item p {
    font-size: 1rem;
    margin-bottom: 0;
}

.cta-section {
    background: hsla(var(--accent), 0.5);
    border-radius: var(--radius);
    padding: 2rem;
    margin-top: 2rem;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.cta-text {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    text-align: center;
    color: hsl(var(--foreground));
}

.cta-buttons-bottom {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons-bottom .primary-button,
.cta-buttons-bottom .secondary-button {
    width: auto;
    min-width: 200px;
}


 /*New homepage addition June 2025 : Recommendations based on Weather*/

#eyeCareUpdatesJohannesburg {
            position: fixed;
            bottom: 21px;
            left: 21px;
            cursor: pointer;
            width: 280px;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: 21px;
            padding: 18px 20px;
            box-shadow: 
                0 8px 32px rgba(0, 0, 0, 0.12),
                0 2px 8px rgba(0, 0, 0, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.5);
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            overflow: hidden;
            color: #2d3748;
                transform: scale(0.89);
        } 

         #eyeCareUpdatesJohannesburg::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, #f093fb 0%, #f5576c 50%, #4facfe 100%);
            border-radius: 21px 21px 0 0;
        }

        #eyeCareUpdatesJohannesburg:hover {
            transform: scale(0.89)  translateY(3px);
            box-shadow: 
                0 12px 40px rgba(0, 0, 0, 0.18),
                0 4px 12px rgba(0, 0, 0, 0.12),
                inset 0 1px 0 rgba(255, 255, 255, 0.6);
        }

         #UVIndex:before {
     content:"UV";
     position:absolute;
     left:-22px;
     color:darkslateblue;
 }

        .widget-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 12px;
            padding-bottom: 8px;
            border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        }

        .widget-title {
            font-family: var(--font-heading);
            font-size: 0.9rem;
            font-weight: 600;
            color: #4a5568;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .eye-icon {
            font-size: 1rem;
            color: #3182ce;
        }

        #UVIndex {
            left: 23px;
    top: -6px;
    position: relative;
            display: inline-flex;
            align-items: center;
            gap: 4px;
            background: linear-gradient(135deg, #ff6b6b, #ee5a24);
            color: white;
            font-size: 0.7rem;
            font-weight: 700;
            padding: 4px 10px;
            border-radius: 12px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            box-shadow: 0 2px 8px rgba(238, 90, 36, 0.3);
        }

        .main-content {
            display: grid;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }

        .temp-section {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }

        #temperatureHigh {
            font-family: var(--font-heading);
            font-size: 2.2rem;
            font-weight: 700;
            padding: 3px 0px 10px 0px;
            color: #2d3748;
            line-height: 1;
            text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        }

        .weather-icon {
            font-size: 2.5rem;
            color: #f6ad55;
            filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
            animation: float 3s ease-in-out infinite;
        }

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

        #weatherSummary {
            font-size: 0.8rem;
            line-height: 1.4;
            color: #4a5568;
            margin-bottom: 8px;
            font-weight: 500;
        }

        #dateAndTimeInJohannesburg {
            font-size: 0.65rem;
            color: #718096;
            font-weight: 500;
            opacity: 0.8;
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .update-icon {
            font-size: 0.6rem;
            animation: spin 2s linear infinite;
        }

        @keyframes spin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        .pulse-dot {
            width: 6px;
            height: 6px;
            background: #48bb78;
            border-radius: 50%;
            display: inline-block;
            margin-right: 4px;
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% { opacity: 1; transform: scale(1); }
            50% { opacity: 0.5; transform: scale(1.2); }
            100% { opacity: 1; transform: scale(1); }
        }

        @media (max-width: 480px) {
            #eyeCareUpdatesJohannesburg {
                width: 260px;
                left: 16px;
                bottom: 16px;
                padding: 16px 18px;
            }
            
            #temperatureHigh {
                font-size: 2rem;
            }
            
            .weather-icon {
                font-size: 2.2rem;
            }
        }