:root {
    --mrc-dark: #1a2b48;
    --mrc-teal: #008080;
    --mrc-light-teal: #e0f2f1;
    --white: #ffffff;
    --grey: #f4f7f6;
}

body {
    background-color: var(--grey);
}

/* Header & Top Bar */
/* Top Bar */
.top-bar {
    background-color: #1a2b48; /* optional: make it stand out */
    color: #ffffff; /* text color */
    padding: 10px 0; /* top and bottom padding */
    font-size: 0.95rem;
}



.top-bar .top-content {
    display: flex;
    justify-content: space-between; /* space between location and contact info */
    align-items: center;
    gap: 20px; /* space between items */
}

.top-bar .info-group {
    display: flex;
    gap: 25px; /* space between phone and emergency */
}

.top-bar .info-item {
    display: flex;
    align-items: center;
    gap: 5px; /* space between icon and text */
}

.top-bar .emergency {
    font-weight: 600; /* make emergency number more prominent */
}

/* Hero Section */
.mrc-hero {
    height: 90vh;
    background: url('https://images.unsplash.com/photo-1579154235602-3c2c2494d17b?auto=format&fit=crop&w=1600') center/cover;
    position: relative;
}

.hero-overlay {
    background: linear-gradient(to right, rgba(26, 43, 72, 0.9), transparent);
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 10%;
}

.hero-text h1 {
    font-size: 3.5rem;
    color: white;
    line-height: 1.2;
}

.hero-text h1 span {
    color: #4db6ac;
}

.badge {
    background: var(--mrc-teal);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* Specialty Cards */
.mrc-specialties {
    padding: 80px 10%;
    text-align: center;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.mrc-card {
    background: white;
    padding: 40px;
    border-top: 5px solid var(--mrc-teal);
    transition: 0.4s;
    border-radius: 8px;
}

.mrc-card.highlight {
    background: var(--mrc-dark);
    color: white;
    border-top: 5px solid #4db6ac;
}

.mrc-card img {
    margin-bottom: 20px;
}
/* --- Root Variables for Branding --- */
:root {
    --primary-blue: #0b3d91;    /* Professional Navy */
    --accent-red: #e63946;     /* Action Red */
    --text-dark: #2d3436;      /* Main Text */
    --text-light: #636e72;     /* Subtext */
    --bg-light: #f8f9fa;       /* Section Background */
    --white: #ffffff;
    --transition: all 0.3s ease;
}

/* --- Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Top Info Bar --- */
.top-bar {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.85rem;
}

.top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-group {
    display: flex;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.emergency {
    font-weight: 700;
    color: #ffcc00; /* Caution Yellow for emergency */
}

/* --- Header & Navbar --- */
.main-header {
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}


.navbar {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-blue);
    letter-spacing: -1px;
}

.logo span {
    color: var(--accent-red);
    font-weight: 400;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.95rem;
}

.nav-links a:hover, 
.nav-links a.active {
    color: var(--accent-red);
}

.nav-cta {
    background: var(--accent-red);
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: 5px;
}

.nav-cta:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
}

/* --- Hero Section --- */
.hero {
    padding: 100px 0;
    background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.8)), 
                url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 650px;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--primary-blue);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-content h1 span {
    color: var(--accent-red);
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 35px;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
    padding: 15px 35px;
    border-radius: 5px;
    font-weight: 700;
}

.btn-primary:hover {
    background: var(--accent-red);
}

.btn-outline {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 13px 35px;
    border-radius: 5px;
    font-weight: 700;
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--white);
}

/* --- Services Section --- */
.services {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header span {
    color: var(--accent-red);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-top: 10px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    border-bottom: 4px solid transparent;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--accent-red);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--primary-blue);
}

/* --- About Section --- */
.about {
    padding: 100px 0;
}

.about-flex {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image, .about-text {
    flex: 1;
}

.about-image img {
    border-radius: 20px;
    box-shadow: 25px 25px 0px var(--bg-light);
}

.about-text span {
    color: var(--accent-red);
    font-weight: 700;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin: 10px 0 20px;
}

.check-list {
    margin: 25px 0;
}

.check-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.check-list li::before {
    content: '✔';
    color: var(--accent-red);
    font-weight: 900;
}

.btn-text {
    color: var(--primary-blue);
    font-weight: 700;
    border-bottom: 2px solid var(--accent-red);
    padding-bottom: 5px;
}

/* --- Mobile Menu & Responsive --- */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--primary-blue);
    transition: var(--transition);
}

@media (max-width: 992px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 80px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        height: calc(100vh - 80px);
        text-align: center;
        padding: 40px 0;
        transition: 0.4s;
        box-shadow: 0 10px 10px rgba(0,0,0,0.05);
    }

    .nav-links.nav-active {
        right: 0;
    }

    .about-flex {
        flex-direction: column;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}
/* Doctors Section */
.doctors {
    padding: 60px 0;
    background: #f9fafb;
}

.doctors .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.doctor-cards {
    display: flex;
    gap: 30px;
    justify-content: center; /* center cards horizontally */
    flex-wrap: wrap; /* wrap on smaller screens */
}

/* Individual Doctor Card */
.doctor-card {
    display: flex;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    padding: 20px 25px;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 300px; /* fixed card width */
}

.doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

/* Doctor Image */
.doctor-img {
    flex: 0 0 150px;       /* increase width */
    width: 150px;          /* increase width */
    height: 150px;         /* increase height */
    border-radius: 50%;    /* keep circular */
    overflow: hidden;
    border: 3px solid #1a2b48;
}

/* Individual Doctor Card */
.doctor-card {
    display: flex;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    padding: 25px 30px;      /* slightly more padding */
    align-items: center;
    gap: 25px;               /* more gap for bigger image */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 350px;            /* increase card width */
}

.doctor-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Doctor Info */
.doctor-info {
    text-align: left;
}

.doctor-info h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #1a2b48;
    margin-bottom: 5px;
}

.subtitle {
    font-size: 0.95rem;
    color: #475569;
}

/* Responsive */
@media (max-width: 768px) {
    .doctor-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .doctor-info {
        text-align: center;
    }
}
/* Contact Section */
.contact {
    padding: 80px 0;
    background: #f9fafb;
}

.contact-wrapper {
    display: flex;
    gap: 40px;
    margin-top: 50px;
}

/* Contact Info */
.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 1.7rem;
    color: #1a2b48;
    margin-bottom: 10px;
}

.contact-info p {
    color: #64748b;
    margin-bottom: 25px;
}

.contact-box {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #e5e7eb;
}

.contact-box span {
    font-size: 1.5rem;
}

.contact-box strong {
    color: #1a2b48;
}

.contact-box p {
    margin: 2px 0;
}

.contact-box.emergency strong {
    color: #dc2626;
}

/* Appointment Form */
.appointment-form {
    flex: 1;
    background: #ffffff;
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.appointment-form h3 {
    color: #1a2b48;
    margin-bottom: 5px;
}

.appointment-form p {
    color: #64748b;
    margin-bottom: 25px;
}

.appointment-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.appointment-form input,
.appointment-form textarea,
.appointment-form select {
    padding: 13px 15px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
}

.appointment-form input:focus,
.appointment-form textarea:focus,
.appointment-form select:focus {
    outline: none;
    border-color: #1a2b48;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column;
    }
}

.contact-social {
    text-align: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}

.contact-social h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
}

.social-links-small {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.social-icon-small {
    width: 22px;  /* smaller size */
    height: 22px;
    object-fit: contain;
    transition: transform 0.3s;
}

.social-icon-small:hover {
    transform: scale(1.2);
}
.btn-appointment {
    background-color: red;    /* Red background */
    color: white;             /* White text */
    padding: 8px 16px;        /* Some space inside */
    border-radius: 5px;       /* Rounded corners */
    text-decoration: none;    /* Remove underline */
    font-weight: bold;        /* Make text bold */
    transition: background 0.3s;
}

.btn-appointment:hover {
    background-color: darkred; /* Darker red when hovered */
}

