/* Global Styles */
:root {
    --primary-color: #00a8cc;
    /* Teal/Blue - Medical & Clean */
    --secondary-color: #0c4a6e;
    /* Darker Blue */
    --accent-color: #f0f9ff;
    /* Very Light Blue Background */
    --text-color: #334155;
    /* Slate Gray */
    --light-text: #64748b;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s ease;
    --font-main: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

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

ul {
    list-style: none;
}

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

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

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

.btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    margin-left: 10px;
}

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

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.underline {
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0 auto;
    border-radius: 2px;
}

/* Navbar */
.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
}

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

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--secondary-color);
    transition: var(--transition);
}

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

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #e0f2fe 0%, #ffffff 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-bottom: 30px;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.doctor-img {
    width: 400px;
    height: 500px;
    border: 5px solid var(--white);
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--white);
}

.doctor-card {
    background-color: var(--accent-color);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: var(--shadow);
}

.doctor-card h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.degree {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.experience {
    font-style: italic;
    color: var(--light-text);
    margin-bottom: 20px;
}

/* Services Section */
.services {
    padding: 80px 0;
}

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

.service-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

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

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--secondary-color);
    color: var(--white);
}

.contact .section-header h2 {
    color: var(--white);
}

.contact .underline {
    background-color: var(--primary-color);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-item p,
.info-item a {
    color: #cbd5e1;
    transition: var(--transition);
}

.info-item a:hover {
    color: var(--primary-color);
}

.contact-extra {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    height: 100%;
}

.map-placeholder {
    width: 130%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    min-height: 400px;
}

.small-text {
    font-size: 0.8rem;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #e0f2fe 0%, #ffffff 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-bottom: 30px;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.doctor-img {
    width: 400px;
    height: 500px;
    border: 5px solid var(--white);
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--white);
}

.doctor-card {
    background-color: var(--accent-color);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: var(--shadow);
}

.doctor-card h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.degree {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.experience {
    font-style: italic;
    color: var(--light-text);
    margin-bottom: 20px;
}

/* Services Section */
.services {
    padding: 80px 0;
}

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

.service-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

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

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--secondary-color);
    color: var(--white);
}

.contact .section-header h2 {
    color: var(--white);
}

.contact .underline {
    background-color: var(--primary-color);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-item p,
.info-item a {
    color: #cbd5e1;
    transition: var(--transition);
}

.info-item a:hover {
    color: var(--primary-color);
}

.contact-extra {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    height: 100%;
}

.map-placeholder {
    width: 130%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    min-height: 400px;
}

.small-text {
    font-size: 0.8rem;
    margin-top: 5px;
    color: #94a3b8;
    text-align: center;
}

/* Footer */
footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .nav-links {
        position: fixed;
        right: 0px;
        height: 92vh;
        top: 8vh;
        background-color: var(--white);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        box-shadow: -2px 0px 5px rgba(0, 0, 0, 0.1);
        padding-top: 60px;
        z-index: 999;
    }

    .nav-links li {
        opacity: 0;
    }

    .hamburger {
        display: block;
    }

    .nav-active {
        transform: translateX(0%);
    }

    @keyframes navLinkFade {
        from {
            opacity: 0;
            transform: translateX(50px);
        }

        to {
            opacity: 1;
            transform: translateX(0px);
        }
    }

    .nav-active li {
        animation: navLinkFade 0.5s ease forwards 0.3s;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

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

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        order: -1;
        /* Image on top for mobile */
    }

    .doctor-img {
        width: 100%;
        max-width: 350px;
        height: auto;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .map-placeholder {
        width: 100%;
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

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

    .doctor-card {
        padding: 20px;
    }

    .nav-links {
        width: 100%;
    }
}