/* Global Reset and Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0077b6;
    --secondary-color: #00b4d8;
    --dark-color: #03045e;
    --light-bg: #f8f9fa;
    --text-color: #2b2d42;
    --white: #ffffff;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Header & Navbar */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 2.4rem;
    color: var(--dark-color);
}

.logo-text {
    color: var(--primary-color);
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.95rem;
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(3, 4, 94, 0.7), rgba(3, 4, 94, 0.7)), 
                url('https://unsplash.com') no-repeat center center/cover;
    height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

.hero-content {
    max-width: 900px; 
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 700;
    white-space: nowrap;
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    margin: 5px;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--dark-color);
}

/* Welcome Intro Section */
.welcome-intro {
    background-color: var(--white);
    padding: 60px 0;
}

.welcome-box {
    /* Set to 80% width of the available page space, matching the blue container scale */
    width: 80%;
    max-width: 1000px; 
    background-color: #e6f7ff; /* Clean, very light medical blue */
    padding: 40px;
    border-radius: 10px;
    border-left: 5px solid var(--primary-color);
    margin: 0 auto;
}

.intro-paragraph {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 25px;
    font-weight: 600;
}

.bullet-services {
    list-style: none;
    display: grid;
    /* Arranges the items in columns so a wide box doesn't look empty */
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); 
    gap: 15px;
    margin-bottom: 35px;
}

.bullet-services li {
    font-size: 0.95rem;
    color: #4a4a4a;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bullet-icon {
    font-size: 1.2rem;
}

.badge-notice {
    display: inline-block;
    background-color: var(--dark-color);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Section Common Styles */
section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.section-header p {
    color: #6c757d;
    font-size: 1.1rem;
}

/* Doctors Section */
.about {
    background-color: var(--light-bg);
}

.doctor-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.doctor-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    width: 320px;
}

.doc-avatar {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.doctor-card h3 {
    color: var(--dark-color);
    margin-bottom: 5px;
}

.doctor-card .specialty {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.service-box {
    text-align: center;
    padding: 30px 20px;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: var(--secondary-color);
}

.service-box .icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
}

.service-box h3 {
    font-size: 1.2rem;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.service-box p {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Locations Section */
.locations {
    background-color: var(--light-bg);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.location-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
}

.location-card h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
}

.location-card .address {
    color: #4a4a4a;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.location-card .phone {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.btn-directions {
    background-color: var(--dark-color);
    color: var(--white);
    font-size: 0.9rem;
    padding: 10px 20px;
    border-radius: 5px;
    display: block;
    width: 100%;
}

.btn-directions:hover {
    background-color: var(--secondary-color);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--white);
    text-align: center;
    padding: 40px 0;
}

.footer-content p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-content .disclaimer {
    margin-top: 10px;
    font-size: 0.8rem;
    color: #ffb703;
}

/* Responsive Breakdown */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        text-align: center;
    }
    nav ul {
        margin-top: 20px;
    }
    nav ul li {
        margin: 0 10px;
    }
    .logo {
        font-size: 1.8rem;
    }
    .hero h1 {
        font-size: 1.4rem;
        white-space: normal;
    }
    .welcome-box {
        width: 95%; /* Expands to fill screen nicely on mobile devices */
    }
}
