/* ========================================
   MUYESU MEDICAL CENTRE
   Main Brand Styles
   "We treat, God heals"
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ========================================
   1. ROOT VARIABLES
   ======================================== */

:root {
    /* Brand Colors */
    --navy: #111827;
    --deep-blue: #173B78;
    --medical-blue: #2455A4;
    --blue-light: #EAF2FC;

    --green: #299764;
    --green-dark: #187548;
    --green-light: #EAF7F0;

    --red: #D72F2F;
    --red-dark: #B91C1C;
    --red-light: #FDECEC;

    --cream: #F7F1E5;

    /* Neutrals */
    --white: #FFFFFF;
    --off-white: #F8FAFC;
    --text: #1F2937;
    --text-light: #64748B;
    --border: #E2E8F0;

    /* Layout */
    --container: 1200px;
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 20px;

    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(17, 24, 39, 0.06);
    --shadow: 0 8px 25px rgba(23, 59, 120, 0.10);
    --shadow-lg: 0 15px 40px rgba(17, 24, 39, 0.12);

    /* Transitions */
    --transition: 0.3s ease;
}

/* ========================================
   2. RESET & BASE
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(92%, var(--container));
    margin: 0 auto;
}

/* ========================================
   3. TYPOGRAPHY
   ======================================== */

h1,
h2,
h3,
h4 {
    color: var(--deep-blue);
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.3rem, 5vw, 4.2rem);
}

h2 {
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    margin-bottom: 0.75rem;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

h4 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
}

p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.section-heading {
    max-width: 700px;
    margin: 0 auto 45px;
    text-align: center;
}

.section-heading h2 {
    margin-bottom: 12px;
}

.section-heading p {
    font-size: 1.05rem;
}

.highlight-green {
    color: var(--green);
}

.highlight-blue {
    color: var(--medical-blue);
}

/* ========================================
   4. TOP BAR
   ======================================== */

.top-bar {
    background: var(--deep-blue);
    color: var(--white);
    padding: 8px 0;
    overflow: hidden;
    position: relative;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.top-bar a {
    color: #DCE8FA;
    transition: var(--transition);
}

.top-bar a:hover {
    color: var(--white);
}

.top-bar .emergency-phone {
    color: var(--white);
    font-weight: 600;
}

.top-contact {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.top-hours {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    overflow: hidden;
    flex: 1;
    max-width: 500px;
}

.top-hours i {
    flex-shrink: 0;
    color: #DCE8FA;
}

.marquee-text {
    display: inline-block;
    white-space: nowrap;
    animation: marqueeScroll 12s linear infinite;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.top-hours:hover .marquee-text {
    animation-play-state: paused;
}

/* ========================================
   5. LOGO
   ======================================== */

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img {
    height: 55px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text strong {
    color: var(--deep-blue);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.3px;
    text-transform: uppercase;
}

.logo-text span {
    color: var(--green);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(
        135deg,
        var(--deep-blue),
        var(--medical-blue)
    );
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.6rem;
    box-shadow: 0 4px 12px rgba(23, 59, 120, 0.25);
    flex-shrink: 0;
    transition: var(--transition);
}

.logo:hover .logo-icon {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(23, 59, 120, 0.35);
}

/* ========================================
   6. NAVIGATION
   ======================================== */

.navbar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s ease;
}

.navbar-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.navbar .container {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    color: var(--text);
    font-weight: 500;
    font-size: 0.92rem;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--medical-blue);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--medical-blue);
}

.nav-cta {
    background: var(--green);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--green-dark);
    color: var(--white) !important;
}

.menu-toggle {
    display: none;
    border: none;
    background: transparent;
    color: var(--deep-blue);
    font-size: 1.6rem;
    cursor: pointer;
    padding: 8px;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

/* ========================================
   7. HERO
   ======================================== */

.hero {
    background: linear-gradient(
        135deg,
        var(--blue-light) 0%,
        var(--white) 100%
    );
    padding: 80px 0;
    overflow: hidden;
    position: relative;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 60px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green-light);
    color: var(--green-dark);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.hero h1 {
    margin-bottom: 16px;
}

.hero h1 span {
    color: var(--green);
}

.hero .tagline {
    font-size: 1.25rem;
    color: var(--medical-blue);
    font-weight: 600;
    margin-bottom: 16px;
}

.hero p {
    max-width: 550px;
    font-size: 1.05rem;
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid var(--border);
}

.hero-stats .stat {
    display: flex;
    flex-direction: column;
}

.hero-stats .stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--deep-blue);
}

.hero-stats .stat-label {
    font-size: 0.8rem;
    color: var(--text-light);
}

.hero-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--white);
}

.hero-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

/* ========================================
   8. QUICK INFO
   ======================================== */

.quick-info {
    margin-top: -40px;
    position: relative;
    z-index: 5;
}

.quick-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.info-item {
    padding: 28px 24px;
    border-right: 1px solid var(--border);
    transition: var(--transition);
}

.info-item:last-child {
    border-right: none;
}

.info-item:hover {
    background: var(--blue-light);
}

.info-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--blue-light);
    color: var(--medical-blue);
    display: grid;
    place-items: center;
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.info-item h4 {
    color: var(--deep-blue);
    font-size: 0.95rem;
}

.info-item p {
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* ========================================
   9. SECTIONS
   ======================================== */

.section {
    padding: 80px 0;
}

.section-light {
    background: var(--off-white);
}

.section-blue {
    background: var(--blue-light);
}

.section-cream {
    background: var(--cream);
}

.section-white {
    background: var(--white);
}

/* ========================================
   10. SERVICES
   ======================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: transparent;
}

.service-card .icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--blue-light);
    color: var(--medical-blue);
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    margin-bottom: 18px;
}

.service-card h3 {
    color: var(--deep-blue);
}

.service-card p {
    font-size: 0.92rem;
}

/* ========================================
   11. EMERGENCY BANNER
   ======================================== */

.emergency-banner {
    background: var(--red);
    color: var(--white);
    padding: 40px 0;
}

.emergency-banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.emergency-banner h2,
.emergency-banner p {
    color: var(--white);
}

.emergency-banner h2 {
    font-size: 1.6rem;
    margin-bottom: 4px;
}

.emergency-banner p {
    opacity: 0.9;
    margin-bottom: 0;
}

/* ========================================
   12. ABOUT
   ======================================== */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: 430px;
    object-fit: cover;
}

.about-content h2 {
    margin-bottom: 16px;
}

.about-content p {
    margin-bottom: 16px;
}

.brand-message {
    border-left: 4px solid var(--green);
    background: var(--green-light);
    padding: 18px 22px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 20px 0;
}

.brand-message strong {
    color: var(--green-dark);
    font-size: 1.1rem;
}

/* ========================================
   13. OPENING HOURS
   ======================================== */

.hours-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 32px;
    max-width: 550px;
    margin: 0 auto;
}

.hours-card h3 {
    text-align: center;
    margin-bottom: 20px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-row .day {
    font-weight: 600;
    color: var(--deep-blue);
}

.hours-row .time {
    color: var(--text-light);
}

.hours-row .time.today {
    color: var(--green);
    font-weight: 600;
}

/* ========================================
   14. CONTACT
   ======================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 32px;
}

.contact-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    min-width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--blue-light);
    color: var(--medical-blue);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 0.9rem;
    color: var(--deep-blue);
    margin-bottom: 2px;
}

.contact-item p,
.contact-item a {
    font-size: 0.9rem;
    color: var(--text-light);
}

.contact-item a:hover {
    color: var(--medical-blue);
}

.map-container {
    overflow: hidden;
    border-radius: var(--radius);
    min-height: 420px;
    background: var(--border);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
}

/* ========================================
   15. FORMS
   ======================================== */

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--text);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--medical-blue);
    box-shadow: 0 0 0 3px rgba(36, 85, 164, 0.10);
}

.form-control::placeholder {
    color: #B0B8C4;
}

.form-control.error {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(215, 47, 47, 0.10);
}

.form-control.success {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(41, 151, 100, 0.10);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748B' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

/* ========================================
   16. GALLERY
   ======================================== */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: var(--white);
    transition: var(--transition);
}

.gallery-item:hover {
    box-shadow: var(--shadow);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item .caption {
    padding: 14px 16px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--deep-blue);
}

/* ========================================
   17. SOCIAL
   ======================================== */

.social-facebook {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--medical-blue);
    font-weight: 600;
    transition: var(--transition);
}

.social-facebook:hover {
    color: var(--deep-blue);
}

/* ========================================
   18. FOOTER
   ======================================== */

.footer {
    background: var(--navy);
    color: var(--white);
    padding: 60px 0 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer h3,
.footer h4 {
    color: var(--white);
    margin-bottom: 16px;
}

.footer h3 {
    font-size: 1.2rem;
}

.footer h4 {
    font-size: 0.95rem;
}

.footer p,
.footer a {
    color: #CBD5E1;
    font-size: 0.9rem;
}

.footer a:hover {
    color: var(--white);
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    transition: var(--transition);
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--green);
    transform: translateY(-2px);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 0.82rem;
    color: #94A3B8;
}

.footer-bottom a {
    color: #94A3B8;
}

.footer-bottom a:hover {
    color: var(--white);
}

/* ========================================
   19. BUTTONS
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    padding: 11px 20px;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--medical-blue);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--deep-blue);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--green);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--medical-blue);
    border-color: var(--medical-blue);
}

.btn-outline:hover {
    background: var(--medical-blue);
    color: var(--white);
}

.btn-danger {
    background: var(--red);
    color: var(--white);
}

.btn-danger:hover {
    background: var(--red-dark);
}

.btn-lg {
    padding: 14px 24px;
    font-size: 1rem;
}

.btn-sm {
    padding: 7px 14px;
    font-size: 0.8rem;
}

/* ========================================
   20. BACK TO TOP
   ======================================== */

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 90px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--deep-blue);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    z-index: 998;
    display: none;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    display: flex;
}

.back-to-top:hover {
    background: var(--medical-blue);
    transform: translateY(-3px);
}

/* ========================================
   21. WHATSAPP FLOATING BUTTON
   ======================================== */

.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    color: var(--white);
    display: grid;
    place-items: center;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.35);
    z-index: 999;
    font-size: 1.5rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.45);
}

/* ========================================
   22. LARGE TABLETS
   1024px - 1199px
   ======================================== */

@media (max-width: 1199px) {

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .hero .container {
        gap: 40px;
    }

    .nav-links {
        gap: 20px;
    }
}

/* ========================================
   23. TABLETS
   768px - 1023px
   ======================================== */

@media (max-width: 1023px) {

    .container {
        width: 94%;
    }

    .section {
        padding: 60px 0;
    }

    /* Hero */

    .hero {
        padding: 60px 0;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image img {
        height: 340px;
        max-width: 600px;
        margin: 0 auto;
    }

    /* Quick Info */

    .quick-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-item:nth-child(2) {
        border-right: none;
    }

    .info-item:nth-child(-n + 2) {
        border-bottom: 1px solid var(--border);
    }

    /* About */

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image img {
        height: 340px;
    }

    /* Contact */

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .map-container,
    .map-container iframe {
        min-height: 320px;
    }

    /* Emergency */

    .emergency-banner .container {
        flex-direction: column;
        text-align: center;
    }

    /* Top Bar */

    .top-bar .container {
        justify-content: center;
        text-align: center;
        flex-wrap: wrap;
    }
}

/* ========================================
   24. MOBILE
   max-width: 767px
   ======================================== */

@media (max-width: 767px) {

    /* Typography */

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    .section-heading {
        margin-bottom: 30px;
    }

    .section-heading p {
        font-size: 0.95rem;
    }

    /* Layout */

    .section {
        padding: 50px 0;
    }

    .container {
        width: 92%;
    }

    /* Top Bar */

    .top-bar {
        font-size: 0.75rem;
        padding: 6px 0;
    }

    .top-bar .container {
        flex-direction: column;
        gap: 4px;
    }

    .top-contact {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .top-hours {
        max-width: 100%;
        justify-content: center;
        font-size: 0.85rem;
    }

    .marquee-text {
        font-size: 0.85rem;
        animation-duration: 10s;
    }

    .top-bar .top-email {
        display: none;
    }

    /* Navbar */

    .navbar .container {
        min-height: 68px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;

        width: 100%;

        background: var(--white);

        flex-direction: column;
        align-items: stretch;

        padding: 0 5%;
        gap: 0;

        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);

        display: none;

        max-height: 0;
        overflow: hidden;

        transition:
            max-height 0.4s ease,
            padding 0.3s ease;

        z-index: 999;
    }

    .nav-links.active {
        display: flex;
        max-height: 500px;
        padding: 16px 5%;
        overflow-y: auto;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid var(--border);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        width: 100%;
        padding: 14px 0;

        font-size: 1rem;
        font-weight: 500;

        color: var(--text);

        border-bottom: none !important;
    }

    .nav-links a::after {
        display: none !important;
    }

    .nav-links a:hover,
    .nav-links a.active {
        color: var(--medical-blue);
        background: none;
    }

    .nav-cta {
        text-align: center;
        margin-top: 8px;
        margin-bottom: 4px;

        background: var(--green);
        color: var(--white) !important;

        padding: 12px 20px;
        border-radius: var(--radius-sm);
        font-weight: 600;
    }

    .nav-cta:hover {
        background: var(--green-dark);
    }

    /* Logo */

    .logo-img {
        height: 45px;
    }

    .logo-text strong {
        font-size: 1.2rem;
        letter-spacing: -0.2px;
    }

    .logo-text span {
        font-size: 0.65rem;
        letter-spacing: 0.3px;
    }

    .logo-icon {
        width: 42px;
        height: 42px;
        font-size: 1.3rem;
        border-radius: 10px;
    }

    /* Hero */

    .hero {
        padding: 40px 0;
    }

    .hero .container {
        gap: 30px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero .tagline {
        font-size: 1.05rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 4px 12px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 16px;
        padding-top: 16px;
    }

    .hero-stats .stat-number {
        font-size: 1.2rem;
    }

    .hero-image img {
        height: 240px;
    }

    /* Quick Info */

    .quick-info {
        margin-top: -10px;
    }

    .quick-info-grid {
        grid-template-columns: 1fr;
        border-radius: var(--radius-sm);
    }

    .info-item {
        padding: 18px 20px;
        border-right: none;
        border-bottom: 1px solid var(--border);
        text-align: center;
    }

    .info-item:last-child {
        border-bottom: none;
    }

    .info-icon {
        margin: 0 auto 10px;
        width: 44px;
        height: 44px;
    }

    .info-item h4 {
        font-size: 0.9rem;
    }

    .info-item p {
        font-size: 0.8rem;
    }

    /* Services */

    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-card {
        padding: 22px 18px;
    }

    .service-card .icon {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }

    .service-card h3 {
        font-size: 1rem;
    }

    .service-card p {
        font-size: 0.85rem;
    }

    /* About */

    .about-grid {
        gap: 30px;
    }

    .about-image img {
        height: 240px;
    }

    .about-content h2 {
        font-size: 1.6rem;
    }

    .brand-message {
        padding: 14px 16px;
    }

    .brand-message strong {
        font-size: 1rem;
    }

    /* Emergency */

    .emergency-banner {
        padding: 30px 0;
    }

    .emergency-banner h2 {
        font-size: 1.3rem;
    }

    .emergency-banner p {
        font-size: 0.9rem;
    }

    /* Opening Hours */

    .hours-card {
        padding: 22px 18px;
    }

    .hours-row {
        padding: 10px 0;
        font-size: 0.9rem;
    }

    /* Contact */

    .contact-card {
        padding: 22px 18px;
    }

    .contact-item {
        gap: 12px;
    }

    .contact-icon {
        min-width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }

    .contact-item h4 {
        font-size: 0.85rem;
    }

    .contact-item p,
    .contact-item a {
        font-size: 0.85rem;
    }

    .map-container,
    .map-container iframe {
        min-height: 260px;
    }

    /* Gallery */

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .gallery-item img {
        height: 180px;
    }

    .gallery-item .caption {
        padding: 10px 12px;
        font-size: 0.78rem;
    }

    /* Forms */

    .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .form-control {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .form-group {
        margin-bottom: 14px;
    }

    /* Footer */

    .footer {
        padding: 40px 0 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }

    .footer h3 {
        font-size: 1.1rem;
    }

    .footer h4 {
        font-size: 0.9rem;
    }

    .footer p,
    .footer a {
        font-size: 0.85rem;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-social a {
        width: 36px;
        height: 36px;
    }

    .footer-bottom {
        font-size: 0.75rem;
    }

    /* Buttons */

    .btn {
        padding: 11px 20px;
        font-size: 0.9rem;
    }

    .btn-lg {
        padding: 14px 24px;
        font-size: 0.95rem;
    }

    .btn-sm {
        padding: 7px 14px;
        font-size: 0.78rem;
    }

    /* Cards */

    .card {
        padding: 20px 16px;
    }

    /* WhatsApp */

    .whatsapp-float {
        width: 50px;
        height: 50px;
        right: 16px;
        bottom: 16px;
        font-size: 1.3rem;
    }

    /* Back to Top */

    .back-to-top {
        right: 16px;
        bottom: 76px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    /* Breadcrumb */

    .breadcrumb {
        font-size: 0.78rem;
        padding: 8px 0;
        gap: 6px;
    }
}

/* ========================================
   25. SMALL PHONES
   max-width: 479px
   ======================================== */

@media (max-width: 479px) {

    h1 {
        font-size: 1.7rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    .section-heading h2 {
        font-size: 1.4rem;
    }

    .section {
        padding: 36px 0;
    }

    .container {
        width: 94%;
    }

    /* Navigation */

    .navbar .container {
        min-height: 60px;
    }

    .logo-img {
        height: 38px;
    }

    .logo-text strong {
        font-size: 1rem;
        letter-spacing: -0.1px;
    }

    .logo-text span {
        font-size: 0.55rem;
        letter-spacing: 0.2px;
    }

    .menu-toggle {
        font-size: 1.3rem;
    }

    /* Top Bar */

    .top-bar {
        padding: 6px 0;
    }

    .top-hours {
        font-size: 0.78rem;
    }

    .marquee-text {
        font-size: 0.78rem;
        animation-duration: 8s;
    }

    .top-contact a {
        font-size: 0.78rem;
    }

    /* Hero */

    .hero {
        padding: 30px 0;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .hero .tagline {
        font-size: 0.95rem;
    }

    .hero p {
        font-size: 0.88rem;
    }

    .hero-image img {
        height: 180px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }

    /* Quick Info */

    .info-item {
        padding: 14px 16px;
    }

    .info-icon {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }

    .info-item h4 {
        font-size: 0.85rem;
    }

    /* Services */

    .service-card {
        padding: 18px 14px;
    }

    .service-card .icon {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    .service-card h3 {
        font-size: 0.95rem;
    }

    /* Gallery */

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .gallery-item img {
        height: 200px;
    }

    /* Contact */

    .contact-card {
        padding: 18px 14px;
    }

    .contact-item {
        gap: 10px;
    }

    .contact-icon {
        min-width: 34px;
        height: 34px;
        font-size: 0.8rem;
    }

    .map-container,
    .map-container iframe {
        min-height: 200px;
    }

    /* Hours */

    .hours-card {
        padding: 18px 14px;
    }

    .hours-row {
        font-size: 0.82rem;
        padding: 8px 0;
    }

    /* Footer */

    .footer {
        padding: 30px 0 16px;
    }

    .footer-grid {
        gap: 18px;
    }

    .footer h3 {
        font-size: 1rem;
    }

    .footer h4 {
        font-size: 0.85rem;
    }

    .footer p,
    .footer a {
        font-size: 0.8rem;
    }

    .footer-social a {
        width: 32px;
        height: 32px;
    }

    .footer-bottom {
        font-size: 0.7rem;
    }

    /* Buttons */

    .btn {
        padding: 10px 16px;
        font-size: 0.85rem;
        border-width: 1.5px;
    }

    .btn-lg {
        padding: 12px 18px;
        font-size: 0.9rem;
    }

    /* WhatsApp */

    .whatsapp-float {
        width: 44px;
        height: 44px;
        right: 12px;
        bottom: 12px;
        font-size: 1.1rem;
    }

    /* Back to Top */

    .back-to-top {
        right: 12px;
        bottom: 66px;
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }

    /* Modal */

    .modal {
        padding: 18px 16px;
        margin: 8px;
    }

    .modal-header h3 {
        font-size: 1.1rem;
    }

    /* Alerts */

    .alert {
        padding: 10px 14px;
        font-size: 0.85rem;
    }
}

/* ========================================
   26. LANDSCAPE PHONES
   ======================================== */

@media (max-height: 500px) and (orientation: landscape) {

    .hero {
        padding: 20px 0;
        min-height: auto;
    }

    .hero-image img {
        height: 160px;
    }

    .hero .container {
        gap: 20px;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .quick-info {
        margin-top: 0;
    }

    .quick-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-item {
        padding: 12px 16px;
    }

    .section {
        padding: 30px 0;
    }

    .navbar .container {
        min-height: 56px;
    }

    .logo-img {
        height: 36px;
    }

    .logo-text strong {
        font-size: 0.9rem;
    }

    .logo-text span {
        font-size: 0.5rem;
    }
}

/* ========================================
   27. PRINT STYLES
   ======================================== */

@media print {

    .navbar,
    .top-bar,
    .footer,
    .whatsapp-float,
    .back-to-top,
    .emergency-banner {
        display: none !important;
    }

    .container {
        width: 100% !important;
        padding: 0 !important;
    }

    body {
        font-size: 12px !important;
        color: #000 !important;
    }

    h1,
    h2,
    h3,
    h4 {
        color: #000 !important;
    }

    .section {
        padding: 20px 0 !important;
        page-break-inside: avoid;
    }

    .hero {
        background: #fff !important;
        padding: 20px 0 !important;
    }

    .hero-image img {
        height: 200px !important;
    }

    .service-card {
        border: 1px solid #ddd !important;
        box-shadow: none !important;
        transform: none !important;
    }

    .quick-info-grid {
        border: 1px solid #ddd !important;
    }

    .info-item {
        border: 1px solid #ddd !important;
    }

    .btn {
        border: 1px solid #000 !important;
        background: #fff !important;
        color: #000 !important;
        padding: 6px 14px !important;
    }

    .map-container {
        min-height: 200px !important;
    }

    .map-container iframe {
        min-height: 200px !important;
    }

    .hours-card {
        border: 1px solid #ddd !important;
        box-shadow: none !important;
    }
}