/* ================================
   MEDICARE - MAIN STYLESHEET
================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #1f2937;
    background: #f0f8fa;
    line-height: 1.6;
}

/* ================================
   NAVIGATION
================================ */

header {
    width: 100%;
    background: #ffffff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    max-width: 1200px;
    margin: auto;
    min-height: 75px;
    padding: 0 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo {
    font-size: 25px;
    font-weight: bold;
    color: #087f8c;
    white-space: nowrap;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a {
    text-decoration: none;
    color: #374151;
    font-size: 15px;
    font-weight: 600;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #087f8c;
}

.login-btn {
    text-decoration: none;
    background: #087f8c;
    color: white;
    padding: 11px 19px;
    border-radius: 8px;
    font-weight: bold;
    white-space: nowrap;
    transition: 0.3s;
}

.login-btn:hover {
    background: #05636e;
}

/* ================================
   HERO SECTION
================================ */

.hero {
    min-height: 620px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            #eefbfd 0%,
            #f7fcfd 55%,
            #ffffff 100%
        );

    padding: 80px 8%;
}

.hero-content {
    max-width: 650px;
}

.welcome {
    color: #087f8c;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.hero h1 {
    font-size: 64px;
    line-height: 1.1;
    color: #172b3a;
    margin-bottom: 25px;
}

.hero h1 span {
    color: #087f8c;
}

.hero-text {
    max-width: 570px;
    font-size: 18px;
    color: #64748b;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.primary-btn,
.secondary-btn {
    display: inline-block;
    text-decoration: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.3s;
}

.primary-btn {
    background: #087f8c;
    color: white;
}

.primary-btn:hover {
    background: #05636e;
    transform: translateY(-2px);
}

.secondary-btn {
    border: 2px solid #087f8c;
    color: #087f8c;
    background: white;
}

.secondary-btn:hover {
    background: #087f8c;
    color: white;
}

/* ================================
   SERVICES
================================ */

.services {
    padding: 90px 8%;
    background: #ffffff;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title p,
.section-label {
    color: #087f8c;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
}

.section-title h2 {
    font-size: 38px;
    color: #172b3a;
    margin-top: 8px;
}

.service-container {
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-card {
    padding: 30px 25px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: white;

    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.icon {
    font-size: 38px;
    margin-bottom: 15px;
}

.service-card h3 {
    color: #172b3a;
    margin-bottom: 10px;
    font-size: 20px;
}

.service-card p {
    color: #64748b;
    font-size: 15px;
}

/* ================================
   ABOUT
================================ */

.about {
    padding: 100px 8%;
    background: #eefbfd;
}

.about-content {
    max-width: 700px;
}

.about h2 {
    font-size: 42px;
    line-height: 1.2;
    color: #172b3a;
    margin: 12px 0 20px;
}

.about p:not(.section-label) {
    color: #64748b;
    font-size: 17px;
    margin-bottom: 30px;
}

/* ================================
   EMERGENCY
================================ */

.emergency {
    max-width: 1100px;
    margin: 70px auto;
    padding: 35px 45px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;

    border-radius: 15px;
    background: #172b3a;
    color: white;
}

.emergency h2 {
    margin-bottom: 5px;
}

.emergency p {
    color: #cbd5e1;
}

.emergency-btn {
    text-decoration: none;
    background: #e63946;
    color: white;
    padding: 13px 22px;
    border-radius: 8px;
    font-weight: bold;
    white-space: nowrap;
}

/* ================================
   FOOTER
================================ */

footer {
    background: #10212e;
    color: white;
    padding: 60px 8% 20px;
}

.footer-content {
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
}

.footer-content h2,
.footer-content h3 {
    margin-bottom: 15px;
}

.footer-content p {
    color: #cbd5e1;
    margin-bottom: 7px;
}

.copyright {
    text-align: center;
    border-top: 1px solid #334155;
    margin-top: 45px;
    padding-top: 20px;
    color: #94a3b8;
    font-size: 14px;
}

/* ================================
   RESPONSIVE DESIGN
================================ */

@media (max-width: 1000px) {

    .nav-links {
        gap: 12px;
    }

    .service-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 52px;
    }
}

@media (max-width: 750px) {

    .navbar {
        flex-wrap: wrap;
        padding: 15px 20px;
    }

    .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero {
        padding: 70px 25px;
    }

    .hero h1 {
        font-size: 44px;
    }

    .services,
    .about {
        padding: 70px 25px;
    }

    .service-container {
        grid-template-columns: 1fr;
    }

    .emergency {
        margin: 50px 20px;
        padding: 30px;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {

    .hero h1 {
        font-size: 38px;
    }

    .hero-text {
        font-size: 16px;
    }

    .section-title h2 {
        font-size: 30px;
    }

    .about h2 {
        font-size: 34px;
    }
}
/* ================================
   APPOINTMENT FORM
================================ */

.appointment-container {
    max-width: 750px;
    margin: 0 auto;
}

.appointment-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 40px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.07);
}

.appointment-form label {
    font-weight: bold;
    color: #172b3a;
    margin-top: 8px;
}

.appointment-form input,
.appointment-form select,
.appointment-form textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    outline: none;
}

.appointment-form input:focus,
.appointment-form select:focus,
.appointment-form textarea:focus {
    border-color: #087f8c;
    box-shadow: 0 0 0 3px rgba(8, 127, 140, 0.1);
}

.appointment-form textarea {
    resize: vertical;
}

.appointment-submit {
    border: none;
    cursor: pointer;
    margin-top: 15px;
    font-size: 16px;
}
/* Doctor Photos */
.service-card .icon img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 0 auto 15px;
}
