:root {
    --primary-color: #0B4F81;
    /* Dark Blue for buttons/accents */
    --secondary-color: #E6F3FA;
    /* Light Blue for backgrounds */
    --text-dark: #1A1A1A;
    --text-light: #666666;
    --white: #FFFFFF;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

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

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Global Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    /* Adds consistent spacing on sides */
}

.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    background-color: #083d63;
    /* Darker shade */
    transform: translateY(-1px);
}

.card {
    background: var(--white);
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 24px;
}

/* Header & Nav */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-dark);
}

.logo img {
    height: 48px;
    width: 48px;
    object-fit: contain;
    border-radius: 50%;
    /* Make circular if image is square */
}

.desktop-nav ul {
    display: flex;
    gap: 32px;
}

.desktop-nav a {
    font-weight: 500;
    color: var(--text-light);
    font-size: 0.95rem;
    transition: color 0.2s;
}

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

.mobile-menu-btn {
    display: none;
    /* Hidden on desktop */
}

/* Hero Section */
.hero-section {
    padding: 60px 0;
    background-color: #FAFAFA;
    /* Subtle grey bg */
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
}

.image-circle {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

.image-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    /* Focus on face */
}

.hero-content h1 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.hero-content .subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.professional-bg-card {
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 40px;
}

.professional-bg-card h2 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.professional-bg-card p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.professional-bg-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.education-list li {
    margin-bottom: 0.8rem;
    color: var(--text-light);
    padding-left: 1rem;
    position: relative;
}

.education-list li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Areas of Expertise */
.expertise-section {
    padding: 2rem 0 4rem;
    background-color: #FAFAFA;
}

.expertise-section h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    max-width: 800px;
    /* Match card width */
    margin-left: auto;
    margin-right: auto;
    padding-left: 40px;
    /* Match card padding visually if centered? No, let's just align via layout */
    /* Let's align it with the card above */
    text-align: left;
    /* Default */
}

/* Wait, mock shows it aligned left with the card content */
.expertise-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center everything */
}

.expertise-section h3 {
    width: 100%;
    max-width: 800px;
    text-align: left;
}


.expertise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 800px;
    width: 100%;
}

.expertise-card {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    transition: transform 0.2s;
}

.expertise-card:hover {
    transform: translateY(-2px);
}

/* Connect Section */
.connect-section {
    padding: 2rem 0 4rem;
    background-color: #FAFAFA;
    /* Continue bg */
}

.connect-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 40px;
}

.connect-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.connect-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.btn-outline {
    background-color: #F3F4F6;
    border: 1px solid #E5E7EB;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-outline:hover {
    background-color: #E5E7EB;
}

/* Latest in Urology */
.latest-section {
    padding: 60px 0;
    background-color: var(--white);
    text-align: center;
}

.latest-section h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.latest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    text-align: left;
}

.article-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: box-shadow 0.3s;
}

.article-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.tag {
    background-color: #00B4D8;
    /* Cyan-ish */
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    align-self: flex-start;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.article-card h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    line-height: 1.4;
}

.date {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Appointments Section */
.appointment-section {
    padding: 60px 0;
    background-color: #FAFAFA;
    text-align: center;
}

.appointment-section h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.appointment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    text-align: left;
    max-width: 900px;
    margin: 0 auto;
}

.booking-card,
.contact-card {
    height: 100%;
}

.booking-card h3,
.contact-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.btn-full {
    display: flex;
    /* Flex to center content if needed */
    justify-content: center;
    width: 100%;
    margin-bottom: 12px;
    padding: 14px;
}

.btn-whatsapp {
    background-color: #0088CC;
    /* Or WhatsApp green? Mock is Blue */
}

.contact-list li {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.contact-list .icon {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-top: 2px;
}

/* Locations */
.locations-section {
    padding: 60px 0;
    background-color: var(--white);
}

.location-item {
    max-width: 800px;
    margin: 0 auto 40px;
}

.location-item h4 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.location-item p {
    color: var(--text-light);
    margin-left: 28px;
    /* Indent to align with text of h4 */
}

.map-placeholder {
    margin-top: 20px;
    background-color: #E0E7FF;
    height: 200px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        background: none;
        border: none;
        cursor: pointer;
    }

    .mobile-menu-btn span {
        width: 100%;
        height: 3px;
        background-color: var(--primary-color);
        border-radius: 3px;
        transition: 0.3s;
    }

    /* Mobile Menu Active State */
    .desktop-nav.active {
        display: block;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        animation: slideDown 0.3s ease-out;
    }

    .desktop-nav.active ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

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

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


    .expertise-grid {
        grid-template-columns: 1fr;
        /* Stack on mobile */
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .professional-bg-card {
        padding: 24px;
    }

    .appointment-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 40px 0;
    margin-top: auto;
}

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

.footer-logo p {
    color: #9CA3AF;
    font-size: 0.9rem;
    margin-top: 5px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: #E5E7EB;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--white);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}

/* New Landing Page Styles */
.active-link {
    color: var(--primary-color) !important;
    font-weight: 700 !important;
}

.home-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4)), url('assets/hero_bg.png');
    background-size: cover;
    background-position: center;
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 20px;
}

.hero-content-center h1 {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content-center p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 15px 32px;
    font-size: 1.1rem;
    background-color: #00B4D8;
    /* Brighter blue for hero */
}

.btn-large:hover {
    background-color: #0096B4;
}

.btn-large-outline {
    padding: 15px 32px;
    font-size: 1.1rem;
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

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

/* Feature Cards (Index Refinement) */
.features-section {
    padding: 60px 0;
    /* White background or continue gradient if needed, but mock shows white/light */
    background-color: var(--white);
    transform: translateY(-40px);
    /* Overlap hero slightly if desired, or just sit below */
    z-index: 10;
    position: relative;
    /* Removing transform for now to keep it clean, can add back for "pop" effect */
    transform: none;
}

.feature-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 40px;
    /* Moar padding */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #F3F4F6;
    height: 100%;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.feature-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.feature-icon-wrapper {
    width: 50px;
    height: 50px;
    background-color: #E6F3FA;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00B4D8;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 16px;
    font-family: var(--font-heading);
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Nav Cards Section (Bottom of Index) */
.nav-cards-section {
    padding: 60px 0 100px;
    background-color: #F0F9FF;
    /* Very light blue bg as per bottom mock */
}

.nav-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.nav-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.03);
    border: none;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    background-color: var(--white);
    /* Ensure bg is white for shadow to pop */
}

.nav-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.nav-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-family: var(--font-heading);
}

.nav-card p {
    color: var(--text-light);
    margin-bottom: 30px;
    min-height: 50px;
    /* Align buttons */
}

.nav-card .btn-full {
    margin-top: auto;
}

@media (max-width: 768px) {
    .home-hero h1 {
        font-size: 2.5rem;
    }

    .home-hero p {
        font-size: 1.1rem;
    }
}

/* Blog Coming Soon Overlay */
.blog-overlay-wrapper {
    position: relative;
    /* Ensure the container has height so the absolute overlay works */
    min-height: 400px;
}

.blurred-content {
    filter: grayscale(100%) blur(5px);
    pointer-events: none;
    user-select: none;
    opacity: 0.7;
    transition: filter 0.3s ease;
}

.coming-soon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.overlay-content {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    /* Enhance the glassmorphism feel */
    -webkit-backdrop-filter: blur(10px);
    padding: 3rem 4rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
    max-width: 500px;
    width: 90%;
}

.overlay-content h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.overlay-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
}