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

:root {
    --primary-color: #FF8C00;
    --secondary-color: #00B050;
    --dark-color: #1a1a1a;
    --light-color: #f5f5f5;
    --gray-color: #666666;
    --white-color: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.2);
    --accent-light: #FFF4E6;
    --gradient-primary: linear-gradient(135deg, #FF8C00 0%, #FF6B6B 100%);
    --gradient-secondary: linear-gradient(135deg, #00B050 0%, #00D47F 100%);
    --gradient-light: linear-gradient(135deg, #FFE8D6 0%, #E8F8F5 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a1a 0%, #2b2b2b 60%, #3b3b3b 100%);
    --transition-smooth: all 0.3s ease-out;
    --shadow-xl: 0 15px 50px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
    background: #f8f9fa;
}

html {
    overflow-x: hidden;
    width: 100%;
}

.skip-link {
    position: absolute;
    left: 10px;
    top: -50px;
    background: var(--dark-color);
    color: var(--white-color);
    padding: 10px 14px;
    z-index: 2000;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 10px;
}

.back-to-top-btn {
    position: fixed;
    right: 14px;
    bottom: 16px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white-color);
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 22px rgba(255, 140, 0, 0.35);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
    z-index: 1200;
}

.back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.back-to-top-btn:hover {
    transform: translateY(-2px);
}

@media (min-width: 769px) {
    .back-to-top-btn {
        display: none;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

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

section {
    position: relative;
}

/* Emergency Banner */
.emergency-banner {
    background: var(--gradient-primary);
    color: var(--white-color);
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: auto;
    max-width: 100%;
    z-index: 1050;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
    animation: emergencyBannerSlideDown 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    transition: transform 0.22s ease-out, opacity 0.2s linear;
    will-change: transform, opacity;
    overflow: hidden;
}

.emergency-banner + .navbar {
    top: var(--home-header-offset, 45px);
}

.emergency-ticker {
    overflow: hidden;
    width: 100%;
}

.emergency-track {
    display: flex;
    align-items: center;
    gap: 0;
    width: max-content;
    animation: emergencyTickerScroll 18s linear infinite;
    will-change: transform;
}

.emergency-content {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 15px;
    min-width: max-content;
    padding: 12px 28px;
    box-sizing: border-box;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.emergency-content i {
    font-size: 18px;
    animation: pulse 2s ease-in-out infinite;
}

.emergency-content i:first-child {
    animation: pulse 2s ease-in-out infinite;
}

.emergency-content i:last-child {
    animation: pulse 2s ease-in-out infinite 0.5s;
}

.emergency-text {
    flex: 0 0 auto;
    min-width: max-content;
    text-align: center;
    overflow-wrap: anywhere;
}

.emergency-ticker:hover .emergency-track {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .emergency-banner {
        box-shadow: 0 2px 10px rgba(231, 76, 60, 0.28);
    }

    .emergency-track {
        animation: emergencyTickerScroll 20s linear infinite;
    }

    .emergency-content {
        gap: 8px;
        padding: 9px 12px;
        font-size: 12px;
        letter-spacing: 0.2px;
    }

    .emergency-content i {
        font-size: 13px;
    }

    .emergency-text {
        white-space: nowrap;
        min-width: max-content;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

@keyframes emergencyTickerScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@keyframes emergencyBannerSlideDown {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0px;
    left: 0;
    right: 0;
    width: auto;
    max-width: 100%;
    background: var(--white-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    z-index: 3000;
    padding: 12px 0;
    margin-bottom: 50px;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.98);
    overflow-x: clip;
}
.home-page .navbar {
    position: fixed;
    top: var(--home-header-offset, 45px);
    left: 0;
    right: 0;
    width: auto;
    max-width: 100%;
    background: var(--white-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    z-index: 3000;
    padding: 12px 0;
    margin-bottom: 50px;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.98);
    transform: translateY(0);
    transition: transform 0.22s ease-out, box-shadow 0.3s ease;
    will-change: transform;
    overflow-x: clip;
}

.home-page.banner-hidden .emergency-banner {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.home-page.banner-hidden .navbar {
    transform: translateY(calc(-1 * var(--home-header-offset, 45px)));
}

.diagnostics-page .navbar {
    top: 0 !important;
}

.diagnostics-page .diagnostics-why-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1024px) {
    .diagnostics-page .diagnostics-why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


.navbar:hover {
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.15);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    min-width: 0;
    gap: 12px;
}

body.menu-open {
    overflow: hidden;
}

body.menu-open .navbar,
body.menu-open .navbar * {
    pointer-events: auto;
}

body.no-hero > section:first-of-type {
    padding-top: 160px !important;
    margin-top: 0 !important;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: bold;
    color: var(--dark-color);
    animation: slideInUp 0.6s ease-out;
    min-width: 0;
    flex: 1 1 auto;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    will-change: transform;
    min-width: 0;
}

.logo img {
    height: 70px;
    width: auto;
    transition: var(--transition-smooth);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
    min-width: 0;
    max-width: 100%;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 8px 10px;
    border-bottom: 3px solid transparent;
    position: relative;
    font-size: 15px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: width 0.4s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.btn-login {
    padding: 14px 110px;
    background: var(--gradient-primary);
    color: var(--white-color) !important;
    border: none;
    border-radius: 50px;
    transition: var(--transition-smooth);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    text-decoration: none;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
    white-space: nowrap;
}

.btn-login::before {
    content: '\f007';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 16px;
}

.btn-login::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-login:hover {
    color: var(--white-color) !important;
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(255, 140, 0, 0.6);
}

.btn-login:active::after {
    width: 300px;
    height: 300px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    flex: 0 0 auto;
    margin-left: auto;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    margin-top: 130px;
    position: relative;
    height: 650px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 140, 0, 0.1), transparent 50%);
    z-index: 0;
}

.slider {
    position: relative;
    height: 100%;
    touch-action: pan-y;
}

.slide {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: fadeIn 0.8s ease-in;
}

.slide.active {
    display: flex;
}

.slide-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white-color);
    width: 100%;
    height: 100%;
    z-index: 1;
    animation: slideInUp 0.8s ease-out;
}

.slide-content h1 {
    font-size: 56px;
    margin-bottom: 25px;
    font-weight: 800;
    text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.6);
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.slide-content p {
    font-size: 22px;
    margin-bottom: 35px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
    line-height: 1.6;
    font-weight: 500;
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
}

.prev, .next {
    position: relative;
    pointer-events: all;
    background: rgba(255, 255, 255, 0.3);
    color: var(--white-color);
    border: none;
    font-size: 30px;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.prev:hover, .next:hover {
    background: rgba(255, 255, 255, 0.6);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: var(--white-color);
}

/* Button Styles */
.btn {
    padding: 14px 38px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-weight: 700;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white-color);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(255, 140, 0, 0.6);
}

.btn-small {
    padding: 11px 22px;
    font-size: 13px;
}

/* Quick Links Section */
.quick-links {
    background: var(--gradient-light);
    padding: 70px 0;
    transform: translateY(-40px);
    position: relative;
    z-index: 5;
}

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

.link-card {
    background: var(--white-color);
    padding: 40px 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
    border-top: 5px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.link-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    border-radius: 20px;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.link-card:hover {
    transform: translateY(-18px);
    box-shadow: 0 12px 40px rgba(255, 140, 0, 0.3);
    border-top-color: var(--secondary-color);
}

.link-card:hover::after {
    opacity: 0.08;
}

.link-card i {
    font-size: 60px;
    color: var(--primary-color);
    margin-bottom: 25px;
    display: inline-block;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.link-card:hover i {
    transform: scale(1.25) rotate(15deg);
    color: var(--secondary-color);
}

.link-card h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
    font-size: 22px;
    font-weight: 800;
}

.home-section-intro,
.section-heading,
.contact-section-heading {
    max-width: 780px;
    margin: 0 auto 46px;
    text-align: center;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding: 9px 16px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.08);
    color: var(--secondary-color);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 800;
}

.section-heading h2,
.home-section-title,
.contact-section-heading h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
}

.section-heading p,
.home-section-copy,
.contact-section-heading p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--gray-color);
}

.link-card p {
    color: var(--gray-color);
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.7;
}

.link-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 800;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 14px;
}

.link-card a:hover {
    color: var(--white-color);
    background: var(--gradient-primary);
    padding: 6px 18px;
    border-radius: 25px;
}

/* Trust Section */
.trust-section {
    padding: 24px 0 82px;
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.95) 0%, rgba(255, 248, 240, 0.82) 100%);
}

.trust-heading {
    margin-bottom: 30px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.trust-card {
    background: var(--white-color);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    padding: 22px 18px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.trust-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(255, 140, 0, 0.14);
    border-color: rgba(255, 140, 0, 0.25);
}

.trust-card i {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 140, 0, 0.12);
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 14px;
}

.trust-card h3 {
    font-size: 18px;
    line-height: 1.3;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.trust-card p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--gray-color);
}

@media (max-width: 1100px) {
    .trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .trust-section {
        padding: 16px 0 60px;
    }

    .trust-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .trust-card {
        padding: 18px 16px;
    }

    .trust-card h3 {
        font-size: 17px;
    }
}

/* Page Hero for About */
.page-hero.about-hero {
    padding: 120px 0 100px 0;
    margin-top: 130px;
    background: linear-gradient(135deg, rgba(242,247,255,1) 0%, rgba(255,248,240,0.98) 100%);
    position: relative;
    overflow: hidden;
}

.page-hero.about-hero::before {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 260px;
    height: 260px;
    background: rgba(255,140,0,0.15);
    border-radius: 50%;
    animation: float 4s ease-in-out infinite;
}

.page-hero.about-hero::after {
    content: "";
    position: absolute;
    bottom: -40px;
    left: -20px;
    width: 180px;
    height: 180px;
    background: rgba(0,176,80,0.12);
    border-radius: 50%;
    animation: float 5s ease-in-out infinite reverse;
}

.page-hero .hero-content {
    display: grid;
    gap: 24px;
    max-width: 700px;
    position: relative;
    z-index: 1;
    animation: slideInUp 0.8s ease-out;
}

.page-hero .section-subtitle {
    display: inline-block;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--secondary-color);
    font-weight: 700;
}

.page-hero.about-hero h1 {
    font-size: 48px;
    line-height: 1.05;
    color: var(--dark-color);
    font-weight: 800;
}

.page-hero.about-hero p {
    max-width: 670px;
    font-size: 18px;
    color: var(--gray-color);
    line-height: 2;
}

/* Professional top heading styling for non-home pages */
body.no-hero section:first-of-type h1 {
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.4px;
    text-align: center;
    margin-bottom: 16px;
    color: var(--dark-color);
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

body.no-hero section:first-of-type h1::after {
    content: '';
    display: block;
    width: 88px;
    height: 4px;
    margin: 16px auto 0;
    border-radius: 4px;
    background: var(--gradient-primary);
}

body.no-hero .page-hero .hero-content {
    margin: 0 auto;
    text-align: center;
    justify-items: center;
}

body.no-hero .page-hero .hero-content p {
    margin: 0 auto;
}

.about {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(255,248,240,0.5) 0%, rgba(240,255,250,0.5) 100%), var(--white-color);
}

.about-card {
    background: rgba(255,255,255,0.99);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    border-top: 5px solid var(--primary-color);
}

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

.about-text h2 {
    font-size: 44px;
    margin-bottom: 24px;
    color: var(--dark-color);
    line-height: 1.1;
    font-weight: 800;
}

.about-text p {
    color: var(--gray-color);
    margin-bottom: 26px;
    font-size: 17px;
    line-height: 1.9;
}

.about-text .btn {
    margin-top: 32px;
}

.about-highlights {
    list-style: none;
    margin-top: 30px;
    margin-bottom: 30px;
}

.about-highlights li {
    padding: 14px 0;
    color: var(--gray-color);
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.about-highlights li:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.about-highlights i {
    color: var(--secondary-color);
    font-size: 22px;
    min-width: 24px;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.about-image img:hover {
    transform: scale(1.02);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    margin-top: 35px;
}

.stat-card {
    background: var(--gradient-light);
    border-radius: 15px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-left: 5px solid var(--primary-color);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(255, 140, 0, 0.25);
}

.stat-card h4 {
    font-size: 38px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 800;
}

.stat-card p {
    color: var(--dark-color);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
}

/* Why Choose Section */
.why-choose {
    background: linear-gradient(135deg, var(--primary-color), #E67E00);
    color: var(--white-color);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.why-choose::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.why-choose::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.why-choose h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.feature-box {
    background: rgba(255, 255, 255, 0.15);
    padding: 35px;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-box:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.feature-box i {
    font-size: 52px;
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.4s ease;
}

.feature-box:hover i {
    transform: scale(1.2) rotate(-15deg);
}

.feature-box h3 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 700;
}

.feature-box p {
    font-size: 14px;
    line-height: 1.7;
    opacity: 0.95;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.services h2,
.doctors h2,
.departments h2,
.contact h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
    color: var(--dark-color);
    font-weight: 800;
    position: relative;
}

.services h2::after,
.doctors h2::after,
.departments h2::after,
.contact h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 20px auto 0;
    border-radius: 2px;
}

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

.service-card {
    display: block;
    background: var(--white-color);
    padding: 40px 35px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition-smooth);
    border-top: 6px solid var(--primary-color);
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    border-radius: 50%;
}

.service-card:hover {
    transform: translateY(-18px);
    box-shadow: 0 15px 45px rgba(255, 140, 0, 0.3);
    border-top-color: var(--secondary-color);
}

.service-card:hover::before {
    opacity: 0.08;
}

.service-card i {
    font-size: 60px;
    color: var(--primary-color);
    margin-bottom: 25px;
    display: inline-block;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card:hover i {
    transform: scale(1.25) rotate(-15deg);
    color: var(--secondary-color);
}

.service-card h3 {
    font-size: 23px;
    margin-bottom: 18px;
    color: var(--dark-color);
    font-weight: 800;
}

.service-card p {
    color: var(--gray-color);
    font-size: 14px;
    line-height: 1.8;
}

/* Doctors Section */
.doctors {
    background: linear-gradient(180deg, rgba(245, 248, 251, 0.9) 0%, rgba(255, 255, 255, 0.96) 100%);
    padding: 100px 0;
}

/* Search and Filter Section */
.search-filter-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 50px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--white-color);
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 14px 18px;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.search-box:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(255, 140, 0, 0.15);
}

.search-box i {
    color: var(--gray-color);
    margin-right: 12px;
    font-size: 18px;
}

.search-box input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 14px;
    font-family: inherit;
    background: transparent;
}

.search-box input::placeholder {
    color: #bbb;
}

.filter-box {
    background: var(--white-color);
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 0;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.filter-box:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(255, 140, 0, 0.15);
}

.filter-box select {
    border: none;
    outline: none;
    width: 100%;
    padding: 14px 18px;
    font-size: 14px;
    cursor: pointer;
    background-color: transparent;
    font-family: inherit;
    color: var(--dark-color);
}

.filter-box select option {
    color: var(--dark-color);
    background: var(--white-color);
}

/* Responsive Search and Filter */
@media (max-width: 768px) {
    .search-filter-section {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px;
    margin-bottom: 60px;
    align-items: stretch;
}

.doctors-swipe-hint {
    display: none;
}

@media (max-width: 1200px) {
    .doctors-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .doctors-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.doctor-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: linear-gradient(180deg, #ffffff 0%, #fdfdfd 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1);
    transition: var(--transition-smooth);
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(15, 23, 42, 0.08);
    text-align: center;
    position: relative;
    padding: 4px 0 8px;
}

.doctor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
}

.doctor-card.hidden {
    display: none !important;
}

.doctor-card.mobile-collapsed {
    display: none !important;
}

.doctor-card.show {
    display: flex !important;
}

.doctor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
    border-color: rgba(255, 140, 0, 0.28);
}

.doctor-image {
    width: clamp(108px, 26vw, 138px);
    height: clamp(108px, 26vw, 138px);
    margin: 18px auto 8px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
}

.doctor-image::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(255, 140, 0, 0.2);
    pointer-events: none;
}

.doctor-image img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: inherit;
    object-fit: cover;
    object-position: center 10%;
}

.doctor-card-photo {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: inherit;
    object-fit: cover;
    object-position: center 10%;
}

.doctor-card-photo-asad {
    object-position: center 4%;
    transform: scale(1.12);
    transform-origin: center top;
}

.doctor-card-photo-waheedullah {
    object-position: center 2%;
    transform: scale(1.08);
    transform-origin: center top;
}

.doctor-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.14), rgba(37, 99, 235, 0.1));
    color: #1d4ed8;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.doctor-image-placeholder i {
    font-size: 1.05rem;
}

.doctor-image-placeholder span {
    font-size: 1rem;
}

.doctor-image-placeholder-female {
    background: linear-gradient(135deg, rgba(244, 114, 182, 0.2), rgba(219, 39, 119, 0.12));
    color: #9d174d;
}

.doctor-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 140, 0, 0);
    transition: background 0.4s ease;
    border-radius: 50%;
}

.doctor-card:hover .doctor-image::after {
    background: rgba(255, 140, 0, 0.12);
}

.doctor-card h3 {
    padding: 10px 14px 6px;
    color: var(--dark-color);
    font-size: 1.12rem;
    line-height: 1.3;
    font-weight: 800;
}

.doctor-name-row {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px 4px;
}

.doctor-name-row h3 {
    padding: 0;
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.25;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.doctor-role-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 22px;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid rgba(255, 140, 0, 0.35);
    background: rgba(255, 140, 0, 0.12);
    color: #9f4b00;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
}

.doctor-role-badge-card {
    margin: 6px auto 2px;
    position: relative;
    z-index: 1;
    min-width: 84px;
    padding: 5px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ffb347 0%, #ff8c00 55%, #ff6b6b 100%);
    border: 0;
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(255, 140, 0, 0.22);
    letter-spacing: 0.7px;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.doctor-profile-heading-row {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.doctor-profile-heading-row h1 {
    margin: 0;
}

.doctor-role-badge-profile {
    font-size: 11px;
    min-height: 24px;
    padding: 4px 10px;
}

.doctor-profile-photo {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1 / 1;
    display: block;
    margin: 0 auto;
    border-radius: 22px;
    overflow: hidden;
    clip-path: inset(0 round 22px);
    object-fit: cover;
    object-position: center 18%;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.16);
}

.doctor-profile-photo-asad {
    object-position: center 9%;
    transform: scale(1.16);
    transform-origin: center top;
}

.doctor-profile-photo-white-bg {
    background: transparent;
    object-fit: contain;
    object-position: center;
    mix-blend-mode: multiply;
    filter: contrast(1.04) saturate(1.02);
    padding: 0;
}

.doctor-profile-photo-placeholder {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 auto;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(37, 99, 235, 0.08));
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: #1d4ed8;
    text-align: center;
    padding: 18px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}

.doctor-profile-photo-placeholder i {
    font-size: 2.2rem;
}

.doctor-profile-photo-placeholder span {
    font-weight: 700;
    letter-spacing: 0.4px;
}

.doctor-profile-photo-placeholder small {
    font-size: 12px;
    opacity: 0.82;
}

.doctor-profile-photo-placeholder-female {
    background: linear-gradient(135deg, rgba(244, 114, 182, 0.18), rgba(219, 39, 119, 0.12));
    color: #9d174d;
}

.consultant-profile-page {
    background: linear-gradient(180deg, #f7f8fb 0%, #ffffff 100%);
}

.consultant-profile-hero {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.06), rgba(0, 176, 80, 0.05));
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.consultant-profile-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
    align-items: start;
}

.consultant-profile-copy {
    padding: 10px 4px 4px;
}

.consultant-profile-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 140, 0, 0.1);
    color: #9f4b00;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.consultant-profile-specialty {
    margin-top: 10px;
    color: var(--primary-color);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.consultant-profile-summary {
    margin-top: 18px;
    color: #445063;
    font-size: 16px;
    line-height: 1.8;
    max-width: 62ch;
}

.consultant-profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.consultant-profile-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 14px 22px;
}

.consultant-profile-actions .btn i {
    font-size: 15px;
}

.consultant-profile-actions .btn span {
    line-height: 1;
}

.consultant-profile-timing-strip {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
    padding: 13px 16px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.12), rgba(0, 176, 80, 0.08));
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.consultant-profile-timing-icon {
    color: var(--primary-color);
    font-size: 15px;
}

.consultant-profile-timing-label {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: #9f4b00;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.consultant-profile-timing-value {
    color: var(--dark-color);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.5;
}

.btn.btn-secondary {
    background: #ffffff;
    color: var(--dark-color);
    border: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.04);
}

.btn.btn-secondary:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 140, 0, 0.22);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.consultant-profile-visual {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.consultant-profile-photo-wrap {
    margin: 0;
}

.consultant-profile-overview {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.consultant-profile-section {
    padding: 22px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
    position: relative;
    overflow: hidden;
}

.consultant-profile-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.consultant-profile-section-wide {
    grid-column: span 2;
}

.consultant-profile-section h3 {
    margin-bottom: 14px;
}

.consultant-profile-list {
    margin-top: 0;
}

.consultant-profile-empty {
    max-width: 720px;
    margin: 0 auto;
    padding: 36px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
    text-align: center;
}

.doctor-card .specialty {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 12px;
    padding: 0;
    margin: 0 auto;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.9px;
}

.doctor-card .specialty-sub {
    margin-top: 4px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.2px;
    text-transform: none;
    color: #7b8794;
    max-width: 88%;
    line-height: 1.35;
}

.doctor-card p {
    padding: 8px 14px 0;
    color: var(--gray-color);
    font-size: 12px;
    line-height: 1.55;
    min-height: 0;
}

.doctor-timing {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 6px;
    margin: 8px 14px 2px;
    padding: 7px 12px;
    color: #4b5563;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    background: rgba(255, 140, 0, 0.08);
    border: 1px solid rgba(255, 140, 0, 0.14);
    border-radius: 999px;
    white-space: normal;
}

.doctor-timing i {
    color: var(--primary-color);
    font-size: 11px;
}

.doctor-timing span,
.doctor-profile-timing span {
    font-weight: 800;
    color: var(--dark-color);
}

.doctor-profile-timing {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 140, 0, 0.1);
    color: var(--dark-color);
    font-size: 14px;
    font-weight: 700;
    white-space: normal;
}

.doctor-profile-timing i {
    color: var(--primary-color);
}

.doctor-card .doctor-experience {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    margin-top: 8px;
    margin-left: auto;
    margin-right: auto;
    width: min(152px, calc(100% - 28px));
    padding: 5px 8px;
    border-radius: 999px;
    border: 1px solid rgba(0, 176, 80, 0.28);
    background: rgba(0, 176, 80, 0.08);
    color: #0e7a45;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.3px;
    line-height: 1.25;
    white-space: nowrap;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
}

.doctor-card .doctor-details {
    min-height: 0;
    padding-top: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.doctor-card .btn {
    display: inline-flex;
    width: auto;
    min-width: 132px;
    margin: auto auto 8px;
    text-align: center;
    justify-content: center;
}

.doctor-card-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: calc(100% - 30px);
    margin: 12px 15px 12px;
    padding: 11px 15px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.12), rgba(255, 107, 61, 0.12));
    border: 1px solid rgba(255, 140, 0, 0.22);
    color: #ffffff;
    color: var(--dark-color);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.doctor-card-cta i {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary-color);
    color: #ffffff;
    font-size: 10px;
    transition: transform 0.25s ease;
}

.doctor-card:hover .doctor-card-cta {
    transform: translateY(-2px);
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.18), rgba(255, 107, 61, 0.16));
    border-color: rgba(255, 140, 0, 0.32);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.doctor-card:hover .doctor-card-cta i {
    transform: translateX(3px);
}

.doctor-card-cta:focus-visible {
    outline: 3px solid rgba(255, 140, 0, 0.28);
    outline-offset: 3px;
}

.view-all {
    text-align: center;
    margin-top: 40px;
}

/* Departments Section */
.departments {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.dept-card {
    display: block;
    text-decoration: none;
    background: var(--white-color);
    color: var(--dark-color);
    padding: 50px 40px;
    border-radius: 18px;
    transition: var(--transition-smooth);
    border-left: 6px solid var(--primary-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.dept-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 140, 0, 0.06));
    transition: right 0.5s ease;
}

.dept-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 45px rgba(255, 140, 0, 0.3);
    border-left-color: var(--secondary-color);
}

.dept-card:hover::before {
    right: 0;
}

.dept-card h3 {
    color: var(--primary-color);
    margin-bottom: 18px;
    font-size: 24px;
    font-weight: 800;
}

.dept-card p {
    color: var(--gray-color);
    opacity: 1;
    line-height: 1.9;
    font-size: 14px;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.8) 0%, rgba(240, 248, 245, 0.8) 100%),
                radial-gradient(circle at 20% 50%, rgba(255, 140, 0, 0.05), transparent 50%);
    padding: 100px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    grid-column: 1;
    min-width: 0;
}

.info-box {
    background: rgba(255, 255, 255, 0.94);
    padding: 40px 35px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.88);
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.info-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.info-box i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 25px;
    display: inline-block;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.info-box:hover i {
    transform: scale(1.2) rotate(15deg);
    color: var(--secondary-color);
}

.info-box h3 {
    margin-bottom: 18px;
    color: var(--dark-color);
    font-size: 22px;
    font-weight: 800;
}

.info-box p {
    color: var(--gray-color);
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.8;
}

.info-box a {
    color: inherit;
    text-decoration: none;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.contact-form {
    background: var(--white-color);
    padding: 50px 45px;
    border-radius: 18px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-top: 6px solid var(--primary-color);
    grid-column: 2;
}

.contact-form h3 {
    margin-bottom: 35px;
    color: var(--dark-color);
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 16px 18px;
    margin-bottom: 22px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    transition: var(--transition-smooth);
    background: #f8f9fa;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white-color);
    box-shadow: 0 0 0 4px rgba(255, 140, 0, 0.15);
}

.contact-form button {
    width: 100%;
}

.inner-page-intro {
    text-align: center;
    color: var(--gray-color);
    max-width: 800px;
    margin: 0 auto 40px;
}

.no-results-box {
    text-align: center;
    padding: 40px;
}

.contact-hero-content {
    max-width: 720px;
}

.contact-page-section {
    padding: 80px 0;
    background: var(--white-color);
}

.contact-response-box {
    margin-top: 30px;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.1), rgba(0, 158, 132, 0.1));
    border-left: 4px solid var(--primary-color);
}

.contact-response-title {
    color: var(--dark-color);
    margin-bottom: 10px;
}

.contact-response-icon {
    color: var(--primary-color);
    margin-right: 8px;
}

.contact-map-section {
    padding: 0 0 80px;
    background: var(--light-color);
}

.contact-map-title {
    margin-bottom: 30px;
    color: var(--dark-color);
    text-align: center;
}

.contact-map-box {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.contact-map-frame {
    display: block;
    border: 0;
}

.about-message-section {
    padding-top: 0;
}

.about-message-signoff {
    margin-top: 24px;
    padding-top: 20px;
}

.about-message-note {
    margin: 0;
    color: var(--gray-color);
}

.about-message-name {
    margin-top: 6px;
    font-size: 1.1rem;
}

.departments-page-section {
    padding: 80px 0;
    background: var(--white-color);
}

.departments-page-cta {
    margin-top: 40px;
}

.login-coming-soon-section {
    padding: 120px 0 80px;
    background: var(--white-color);
    min-height: calc(100vh - 220px);
}

.login-coming-soon-container {
    max-width: 700px;
    text-align: center;
}

.login-coming-soon-copy {
    color: var(--gray-color);
    font-size: 18px;
    margin: 20px auto 30px;
    line-height: 1.8;
}

.login-coming-soon-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

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

/* Homepage mobile polish */
.executive-message-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.executive-message-card {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4f8 100%);
    border-left: 5px solid var(--primary-color);
}

.executive-message-layout {
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: flex-start;
}

.executive-profile {
    text-align: center;
}

.executive-photo {
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 280px;
}

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

.home-contact-section .contact-info {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.footer {
    background: linear-gradient(180deg, #1a1a1a 0%, #2b2b2b 100%);
    color: rgba(255, 255, 255, 0.88);
}

.footer-content {
    gap: 28px;
}

.footer-section {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px 20px;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.16);
}

.footer-section h4 {
    color: var(--white-color);
}

.footer-section p,
.footer-section a,
.footer-bottom p {
    color: rgba(255, 255, 255, 0.74);
}

.footer-section ul li a:hover {
    color: #ffd089;
}

.executive-meta {
    margin-top: 16px;
}

.executive-name {
    display: block;
    color: var(--primary-color);
}

.executive-role {
    color: var(--gray-color);
    font-size: 0.95rem;
}

.executive-role-small {
    font-size: 0.9rem;
}

.executive-title {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.executive-quote,
.executive-copy {
    color: #444;
    line-height: 1.8;
    margin-bottom: 14px;
}

.executive-quote {
    font-style: italic;
}

.executive-signoff {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #cce0f0;
}

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

.home-section-title {
    font-size: 32px;
    margin-bottom: 15px;
}

.home-section-copy {
    font-size: 16px;
    color: var(--gray-color);
    max-width: 600px;
    margin: 0 auto;
}

.home-contact-section .home-section-intro {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 44px;
}

.home-contact-section .home-section-title {
    font-size: clamp(2rem, 3.2vw, 2.6rem);
    font-weight: 800;
    letter-spacing: 0.3px;
    color: var(--dark-color);
}

.home-contact-section .home-section-copy {
    color: #556270;
    line-height: 1.75;
    max-width: 680px;
}

.home-contact-section .contact-wrapper {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
}

.home-contact-section .contact-info {
    grid-column: auto;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.home-contact-section .info-box {
    border-top: 0;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
    position: relative;
    overflow: hidden;
}

.home-contact-section .info-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), #ffb347);
}

.home-contact-section .info-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 38px rgba(255, 140, 0, 0.2);
}

.contact-support-link {
    display: inline-block;
}

.home-contact-card {
    padding: 32px 30px;
}

.home-contact-card h3 {
    margin-bottom: 14px;
}

.home-contact-note {
    color: var(--gray-color);
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.65;
}

/* Emergency Contact Section */
.emergency-contact-section {
    background: var(--primary-color);
    padding: 60px 0;
    color: var(--white-color);
    position: relative;
    overflow: hidden;
}

.emergency-contact-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.emergency-contact-box {
    position: relative;
    z-index: 1;
}

.emergency-header {
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.emergency-header i {
    font-size: 36px;
    animation: pulse 2s ease-in-out infinite;
}

.emergency-header h3 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.emergency-contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.emergency-contact-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.emergency-contact-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.emergency-contact-item i {
    font-size: 32px;
    margin-bottom: 15px;
    display: block;
}

.emergency-contact-item h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.emergency-contact-item p {
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.5;
}

.emergency-contact-item p a {
    color: var(--white-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.emergency-contact-item p a:hover {
    text-decoration: underline;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.available-24x7 {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-top: 8px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--dark-color) 0%, #0d0d0d 50%, #1a1a1a 100%);
    color: var(--white-color);
    padding: 70px 0 25px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: rgba(255, 140, 0, 0.08);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.footer::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 400px;
    height: 400px;
    background: rgba(0, 176, 80, 0.05);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.footer-section h4 {
    margin-bottom: 25px;
    font-size: 18px;
    font-weight: 800;
    color: var(--white-color);
}

.footer-section p {
    color: #aaa;
    font-size: 14px;
    line-height: 1.9;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #aaa;
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 140, 0, 0.2);
    padding-top: 30px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    color: #aaa;
    font-size: 14px;
}

/* Insurance Partners Section */
.insurance-partners {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.05) 0%, rgba(0, 176, 80, 0.05) 100%);
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 30px;
    border-left: 5px solid var(--primary-color);
}

.insurance-partners h4 {
    color: var(--white-color);
    margin-bottom: 10px;
    font-size: 20px;
}

.insurance-partners > p:first-of-type {
    color: var(--gray-color);
    margin-bottom: 20px;
    font-size: 14px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin: 25px 0;
}

.partner-item {
    background: var(--white-color);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(255, 140, 0, 0.2);
    background: linear-gradient(135deg, #fff9f5 0%, #f5fef9 100%);
}

.partner-item i {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 10px;
    display: block;
}

.partner-item span {
    color: var(--dark-color);
    font-size: 13px;
    font-weight: 600;
    display: block;
}

.insurance-note {
    color: var(--gray-color);
    font-size: 13px;
    text-align: center;
    padding-top: 15px;

    border-top: 1px solid rgba(255, 140, 0, 0.1);
}

/* Accreditations & Certifications */
.accreditations {
    background: linear-gradient(135deg, rgba(0, 176, 80, 0.05) 0%, rgba(255, 140, 0, 0.05) 100%);
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 30px;
    border-left: 5px solid var(--secondary-color);
}

.accreditations h4 {
    color: var(--white-color);
    margin-bottom: 25px;
    font-size: 20px;
    text-align: center;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.cert-item {
    background: var(--white-color);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.cert-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 176, 80, 0.2);
    background: linear-gradient(135deg, #f5fef9 0%, #fff9f5 100%);
}

.cert-item i {
    color: var(--secondary-color);
    font-size: 32px;
}

.cert-item span {
    color: var(--dark-color);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

/* Service Card Detailed */
.service-card-detailed {
    background: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
    border-top: 4px solid var(--primary-color);
}

.service-card-detailed:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(255, 140, 0, 0.2);
}

.service-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.1) 0%, rgba(0, 176, 80, 0.1) 100%);
    border-radius: 10px;
    margin-left: auto;
    margin-right: auto;
}

.service-card-detailed h4 {
    color: var(--dark-color);
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 700;
}

.service-card-detailed p {
    color: var(--gray-color);
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 14px;
}

.service-features {
    list-style: none;
    text-align: left;
    color: var(--dark-color);
    font-size: 13px;
}

.service-features li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: var(--gray-color);
}

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

/* Procedures Grid */
.procedures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.procedure-card {
    background: var(--white-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 5px solid var(--primary-color);
}

.procedure-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(255, 140, 0, 0.2);
}

.procedure-header {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.1) 0%, rgba(0, 176, 80, 0.1) 100%);
    padding: 25px;
    text-align: center;
    border-bottom: 2px solid rgba(255, 140, 0, 0.2);
}

.procedure-header i {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 12px;
    display: block;
}

.procedure-header h4 {
    color: var(--dark-color);
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.procedure-card > p {
    padding: 20px 25px;
    color: var(--gray-color);
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.procedure-details {
    padding: 20px 25px;
}

.procedure-details h5 {
    color: var(--dark-color);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.procedure-details ul {
    list-style: none;
    margin: 0 0 15px 0;
    padding: 0;
}

.procedure-details li {
    color: var(--gray-color);
    font-size: 13px;
    padding: 6px 0 6px 20px;
    position: relative;
}

.procedure-details li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.benefit-tag {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.2) 0%, rgba(0, 176, 80, 0.2) 100%);
    color: var(--dark-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(255, 140, 0, 0.3);
}

/* Policy and Careers Pages */
.legal-section {
    padding: 90px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.legal-wrapper {
    max-width: 980px;
    margin: 0 auto;
}

.legal-card {
    background: var(--white-color);
    border-radius: 18px;
    padding: 40px;
    box-shadow: 0 5px 24px rgba(0, 0, 0, 0.08);
    border-top: 6px solid var(--primary-color);
}

.legal-lead {
    color: var(--gray-color);
    font-size: 17px;
    line-height: 1.9;
    margin-bottom: 28px;
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.legal-block {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.06) 0%, rgba(0, 176, 80, 0.06) 100%);
    border-left: 4px solid var(--secondary-color);
    border-radius: 14px;
    padding: 20px;
}

.legal-block h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.legal-block p {
    color: var(--gray-color);
    font-size: 14px;
    line-height: 1.8;
}

.legal-note {
    margin-top: 24px;
    padding: 16px 18px;
    border-radius: 12px;
    background: rgba(255, 140, 0, 0.08);
    border: 1px solid rgba(255, 140, 0, 0.2);
    color: var(--dark-color);
    font-size: 14px;
}

.legal-note a {
    color: var(--primary-color);
    font-weight: 700;
}

.career-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 28px;
}

.career-item {
    background: var(--white-color);
    border-radius: 14px;
    padding: 24px;
    text-align: left;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
    border-top: 5px solid var(--primary-color);
}

.career-item h3 {
    margin-bottom: 10px;
    color: var(--dark-color);
    font-size: 20px;
}

.career-item p {
    color: var(--gray-color);
    font-size: 14px;
    line-height: 1.8;
}

.hiring-section {
    padding: 90px 0;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.06) 0%, rgba(0, 176, 80, 0.06) 100%);
}

.hiring-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 28px;
    align-items: start;
}

.hiring-info,
.hiring-form {
    background: var(--white-color);
    border-radius: 18px;
    box-shadow: 0 5px 24px rgba(0, 0, 0, 0.08);
    border-top: 6px solid var(--primary-color);
}

.hiring-info {
    padding: 30px;
}

.hiring-info h3 {
    font-size: 26px;
    margin-bottom: 16px;
    color: var(--dark-color);
}

.hiring-info p {
    color: var(--gray-color);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.hiring-info ul {
    list-style: none;
}

.hiring-info li {
    color: var(--dark-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hiring-info li::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--secondary-color);
    flex-shrink: 0;
}

.hiring-form {
    padding: 30px;
}

.hiring-form h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.hiring-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.hiring-form input,
.hiring-form select,
.hiring-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    background: #f8f9fa;
    margin-bottom: 14px;
    transition: var(--transition-smooth);
}

.hiring-form input:focus,
.hiring-form select:focus,
.hiring-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white-color);
    box-shadow: 0 0 0 4px rgba(255, 140, 0, 0.15);
}

.hiring-form .full-width {
    grid-column: 1 / -1;
}

.hiring-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--gray-color);
    font-size: 13px;
}

.hiring-checkbox input {
    width: auto;
    margin: 3px 0 0;
}

.hiring-form .btn {
    width: 100%;
}

.hiring-message {
    display: none;
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
}

.hiring-message.success {
    background: rgba(0, 176, 80, 0.14);
    color: #0b6d37;
    border: 1px solid rgba(0, 176, 80, 0.3);
}

.hiring-message.error {
    background: rgba(220, 53, 69, 0.12);
    color: #9f1f2d;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

@media (max-width: 900px) {
    .legal-grid,
    .career-cards {
        grid-template-columns: 1fr;
    }

    .hiring-layout,
    .hiring-grid {
        grid-template-columns: 1fr;
    }

    .legal-card {
        padding: 26px;
    }
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #aaa;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.footer-section a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 140, 0, 0.15);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    color: var(--primary-color);
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-6px) scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 140, 0, 0.2);
    color: #aaa;
    font-size: 14px;
    position: relative;
    z-index: 1;
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 140, 0, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(255, 140, 0, 0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.service-card,
.doctor-card,
.dept-card,
.info-box,
.link-card {
    animation: slideInUp 0.6s ease-out;
}

.services h2,
.doctors h2,
.departments h2,
.contact h2 {
    animation: slideInDown 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar,
    .home-page .navbar {
        overflow: visible;
    }

    .doctors-swipe-hint {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        margin: 0 0 16px;
        padding: 10px 14px;
        border-radius: 999px;
        background: rgba(255, 140, 0, 0.08);
        color: var(--primary-color);
        font-size: 13px;
        font-weight: 700;
    }

    #doctor-list .doctors-grid {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(84%, 290px);
        grid-template-columns: none !important;
        gap: 16px;
        overflow-x: auto;
        overflow-y: visible;
        padding: 4px 6px 18px;
        margin: 0 -6px 40px;
        scroll-snap-type: x proximity;
        scroll-padding-left: 6px;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
    }

    #doctor-list .doctors-grid::-webkit-scrollbar {
        height: 6px;
    }

    #doctor-list .doctors-grid::-webkit-scrollbar-thumb {
        background: rgba(255, 140, 0, 0.35);
        border-radius: 999px;
    }

    #doctor-list .doctor-card {
        scroll-snap-align: start;
        min-height: 100%;
    }

    .navbar .container {
        position: relative;
    }

    .hamburger {
        display: flex;
        width: 36px;
        height: 36px;
        align-items: center;
        justify-content: center;
        gap: 4px;
        border: 1px solid rgba(15, 23, 42, 0.12);
        border-radius: 12px;
        background: #ffffff;
        box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
        padding: 0;
        transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
    }

    .hamburger span {
        width: 16px;
        height: 2px;
        margin: 0;
        border-radius: 999px;
        background: #1f2937;
        transition: transform 0.25s ease, opacity 0.2s ease, background 0.2s ease;
    }

    .hamburger[aria-expanded="true"] {
        background: rgba(255, 140, 0, 0.1);
        border-color: rgba(255, 140, 0, 0.35);
    }

    .hamburger[aria-expanded="true"] span {
        background: var(--primary-color);
    }

    .hamburger[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .hamburger[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .hamburger[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        top: var(--mobile-nav-top, 76px);
        left: 12px;
        right: 12px;
        display: flex;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px);
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 10px;
        gap: 0;
        max-width: 100%;
        overflow-y: auto;
        overflow-x: hidden;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        border-radius: 16px;
        border: 1px solid rgba(15, 23, 42, 0.08);
        box-shadow: 0 16px 34px rgba(15, 23, 42, 0.16);
        transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
        z-index: 3001;
        pointer-events: none;
        max-height: calc(100vh - var(--mobile-nav-top, 76px) - 12px);
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
        transition: opacity 0.22s ease, transform 0.22s ease;
    }

    .nav-menu.active a,
    .nav-menu.active .btn-login,
    .nav-menu.active li {
        pointer-events: auto;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu li + li {
        border-top: 1px solid rgba(15, 23, 42, 0.08);
    }

    .nav-menu a {
        display: block;
        width: 100%;
        padding: 12px 12px;
        border-radius: 10px;
        border-bottom: 0;
        font-size: 14px;
        font-weight: 600;
    }

    .nav-menu a::after {
        display: none;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        background: rgba(255, 140, 0, 0.08);
        color: var(--primary-color);
    }

    .nav-menu .btn-login {
        display: flex;
        width: 100%;
        margin-top: 10px;
        padding: 11px 14px;
        min-height: 40px;
        border-radius: 12px;
        justify-content: center;
    }

    .slide-content h1 {
        font-size: 32px;
    }

    .slide-content p {
        font-size: 16px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .contact-info {
        grid-template-columns: 1fr;
        grid-column: auto;
    }

    .contact-form {
        grid-column: auto;
    }

    .services h2,
    .doctors h2,
    .departments h2,
    .contact h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .logo span {
        display: none;
    }

    .quick-links .container {
        grid-template-columns: 1fr;
    }

    .slide-content h1 {
        font-size: 24px;
    }

    .slide-content p {
        font-size: 14px;
    }

    .feature-box i {
        font-size: 36px;
    }

    .services-grid,
    .doctors-grid,
    .departments-grid {
        grid-template-columns: 1fr;
    }
}

/* Global responsive foundation */
img,
video,
iframe,
svg {
    max-width: 100%;
    height: auto;
}

main,
section,
article,
aside,
header,
footer {
    width: 100%;
}

@media (min-width: 1600px) {
    .container {
        max-width: 1320px;
    }
}

@media (max-width: 1200px) {
    .container {
        padding: 0 24px;
    }

    .hero {
        height: 680px;
    }

    .hero-highlights {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        bottom: 24px;
    }

    .home-contact-section .contact-info {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }

    .logo img {
        height: 58px;
    }

    .nav-menu {
        gap: 14px;
    }

    .nav-menu a {
        font-size: 14px;
        padding: 6px 8px;
    }

    .btn-login {
        padding: 9px 16px;
        font-size: 12px;
    }

    .hero {
        height: 560px;
    }

    .slide-content h1 {
        font-size: clamp(2rem, 4vw, 3rem);
    }

    .slide-content p {
        font-size: clamp(1rem, 2.2vw, 1.2rem);
    }

    .page-hero.about-hero {
        padding: 100px 0 80px 0;
    }

    .page-hero.about-hero h1 {
        font-size: clamp(2rem, 4.4vw, 2.8rem);
    }

    .page-hero.about-hero p {
        font-size: 16px;
        line-height: 1.7;
    }
}

@media (max-width: 768px) {
    .diagnostics-page .diagnostics-why-choose {
        padding: 28px 20px !important;
    }

    .diagnostics-page .diagnostics-why-grid {
        grid-template-columns: 1fr;
        gap: 22px !important;
    }

    .diagnostics-page .services .about-text .btn {
        display: flex !important;
        width: fit-content;
        margin: 18px auto 0 !important;
    }

    .about-content {
        grid-template-columns: 1fr !important;
        gap: 26px !important;
    }

    .about-content > .about-image {
        order: 1;
        margin: 0 auto 10px;
        width: min(100%, 430px);
    }

    .about-content > .about-image img {
        display: block;
        margin: 0 auto;
    }

    .about-content > .about-text {
        order: 2;
    }

    .executive-message-layout {
        gap: 22px;
    }

    .about-content[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }

    .services > .container > .about-content + div[style*="margin-top: 40px"],
    .related-services[style*="margin-top: 40px"] {
        margin-top: 28px !important;
    }

    .services h3[style*="margin: 60px 0 40px"] {
        margin: 36px 0 24px !important;
    }

    .services > .container > div[style*="background: var(--light-color)"] {
        padding: 28px 22px !important;
        margin-top: 36px !important;
    }

    .services > .container > div[style*="background: var(--light-color)"] > div[style*="display: grid"] {
        grid-template-columns: 1fr 1fr !important;
        gap: 18px !important;
    }

    .services .btn[style*="display: inline-block"] {
        max-width: 320px;
        width: auto;
        display: inline-flex;
        justify-content: center;
        text-align: center;
    }

    .departments-grid,
    .procedures-grid {
        grid-template-columns: 1fr;
    }

    .departments-grid {
        max-width: 460px;
        margin-left: auto;
        margin-right: auto;
    }

    .emergency-banner {
        padding: 8px 0;
    }

    .emergency-content {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
        gap: 8px;
        padding: 0 12px;
        font-size: 12px;
        line-height: 1.35;
    }

    .emergency-content i {
        font-size: 14px;
        flex-shrink: 0;
    }

    .emergency-text {
        flex: initial;
        min-width: 0;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .home-page .navbar,
    .emergency-banner + .navbar {
        top: var(--home-header-offset, 40px);
    }

    .home-page.banner-hidden .navbar {
        top: 0;
        transform: none;
    }

    body.no-hero > section:first-of-type {
        padding-top: 130px !important;
    }

    .navbar {
        padding: 8px 0;
    }

    .navbar .container {
        min-height: 56px;
        flex-wrap: nowrap;
    }

    .logo img {
        height: 46px;
    }

    .nav-menu {
        top: var(--mobile-nav-top, 76px);
        max-height: min(70vh, 420px);
        overflow-y: auto;
        box-shadow: 0 16px 34px rgba(15, 23, 42, 0.16);
        border: 1px solid rgba(15, 23, 42, 0.08);
    }

    .hero {
        margin-top: 112px;
        height: auto;
        min-height: 0;
        padding-bottom: 28px;
        border-radius: 0 0 28px 28px;
        overflow: visible;
    }

    .slide,
    .slide.active {
        position: relative;
        min-height: 420px;
    }

    .slide-content {
        padding: 48px 18px 36px;
    }

    .hero-badge {
        font-size: 11px;
        letter-spacing: 0.1em;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-highlights {
        position: relative;
        left: auto;
        bottom: auto;
        transform: none;
        width: 100%;
        grid-template-columns: 1fr 1fr;
        margin-top: 18px;
        padding: 0 16px 0;
    }

    .hero-highlight-card {
        padding: 18px;
        text-align: center;
    }

    .page-hero.about-hero {
        margin-top: 92px;
        padding: 76px 0 62px 0;
    }

    .page-hero.about-hero::before,
    .page-hero.about-hero::after {
        display: none;
    }

    .slider-controls {
        padding: 0 10px;
    }

    .prev,
    .next {
        font-size: 22px;
        padding: 10px 14px;
    }

    .quick-links {
        transform: none;
        padding: 56px 0 50px;
    }

    .about-card,
    .link-card,
    .service-card,
    .dept-card,
    .contact-form,
    .service-card-detailed,
    .feature-box,
    .emergency-contact-item {
        padding: 28px 22px;
    }

    .doctor-image {
        width: clamp(112px, 32vw, 132px);
        height: clamp(112px, 32vw, 132px);
    }

    .btn,
    .btn-login {
        white-space: normal;
        text-align: center;
        line-height: 1.35;
    }

    .btn,
    .btn-small,
    .btn-login,
    button,
    input[type="submit"],
    input[type="button"] {
        min-height: 38px;
        padding: 9px 13px;
        font-size: 13px;
        justify-content: center;
        align-items: center;
    }

    .btn,
    .btn-small,
    .btn-login,
    .view-all .btn,
    .contact-support-link,
    .action-strip .btn,
    .login-coming-soon-actions .btn {
        width: fit-content;
        max-width: 260px;
        margin-left: auto;
        margin-right: auto;
        display: flex;
    }

    .btn-login {
        width: auto;
        max-width: 180px;
        margin: 6px auto 0;
        padding: 10px 14px;
    }

    .footer::before,
    .footer::after {
        display: none;
    }

    .quick-links .container,
    .about-content,
    .contact-wrapper,
    .contact-info,
    .footer-content,
    .search-filter-section,
    .legal-grid,
    .career-cards,
    .hiring-layout,
    .hiring-grid,
    .appointment-benefits,
    .soon-grid {
        grid-template-columns: 1fr !important;
    }

    .services,
    .doctors,
    .departments,
    .contact,
    .about {
        padding: 56px 0;
    }

    .about,
    .services,
    .doctors,
    .departments,
    .contact,
    .why-choose,
    .page-hero,
    .about-text,
    .service-card,
    .dept-card,
    .doctor-card,
    .info-box,
    .feature-box,
    .home-section-intro,
    .inner-page-intro {
        text-align: center;
    }

    .footer,
    .footer-content,
    .footer-section,
    .footer-bottom,
    .footer-bottom p {
        text-align: center;
    }

    .about-highlights {
        justify-items: center;
    }

    .about-highlights li {
        justify-content: center;
        text-align: center;
    }

    .section-subtitle {
        font-size: 12px;
        letter-spacing: 1.4px;
    }

    .footer {
        padding: 60px 0 25px;
    }

    .executive-message-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .executive-meta,
    .executive-title,
    .executive-signoff,
    .about .about-card > .about-content > .about-text h2 {
        text-align: center;
    }

    .home-section-intro {
        margin-bottom: 32px;
    }

    .contact-form-trust {
        justify-content: center;
    }


@media (max-width: 640px) {
    .hero-highlights,
    .home-contact-section .contact-info {
        grid-template-columns: 1fr;
    }

    .contact-insight-list {
        text-align: center;
    }

    .contact-insight-list li {
        padding-left: 0;
    }

    .contact-insight-list li::before {
        display: none;
    }
}
    .home-section-title {
        font-size: 28px;
        line-height: 1.2;
    }

    .dept-card,
    .procedure-card {
        width: 100%;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }

    .inner-page-intro {
        margin-bottom: 28px;
        font-size: 0.98rem;
    }

    .search-filter-section {
        gap: 14px;
        margin-bottom: 32px;
    }

    .no-results-box {
        padding: 24px 16px;
    }

    .contact-map-frame {
        height: 340px;
    }

    .contact-info {
        gap: 18px;
    }

    .home-contact-card {
        display: none;
    }

    .home-contact-card {
        padding: 22px 18px;
    }

    .home-contact-card h3 {
        margin-bottom: 10px;
        font-size: 1.35rem;
    }

    .home-contact-note {
        margin-bottom: 12px;
        line-height: 1.55;
    }

    .login-coming-soon-section {
        padding: 110px 0 64px;
        min-height: auto;
    }

    /* Service and doctor profile pages mobile polish */
    body.no-hero .services > .container {
        max-width: 760px;
    }

    body.no-hero .services > .container > .about-content[style*="grid-template-columns"] {
        gap: 20px !important;
        align-items: start;
    }

    body.no-hero .services .about-image {
        order: 1;
        width: min(100%, 420px);
        margin: 0 auto;
    }

    body.no-hero .services .about-image img {
        width: 100%;
        aspect-ratio: 4 / 3;
        object-fit: cover;
        border-radius: 18px;
        box-shadow: 0 10px 26px rgba(15, 23, 42, 0.14);
    }

    body.no-hero .services .about-text {
        order: 2;
        text-align: left;
    }

    body.no-hero .services .about-text h1 {
        text-align: center;
        font-size: clamp(1.9rem, 5.8vw, 2.4rem);
        margin-bottom: 14px;
    }

    body.no-hero .services .about-text h1::after {
        margin-left: auto;
        margin-right: auto;
    }

    body.no-hero .services .about-text p {
        font-size: 15px;
        line-height: 1.75;
        margin-bottom: 16px;
    }

    body.no-hero .services .about-highlights {
        margin-top: 16px;
        margin-bottom: 18px;
    }

    body.no-hero .services .about-highlights li {
        justify-content: flex-start;
        text-align: left;
        gap: 10px;
        padding: 10px 0;
    }

    body.no-hero .services .about-highlights i {
        font-size: 18px;
        min-width: 20px;
    }

    body.no-hero .services .about-text .btn,
    body.no-hero .services > .container > div[style*="margin-top: 40px"] .btn {
        margin-left: auto;
        margin-right: auto;
        max-width: none;
    }

    body.no-hero .services > .container > div[style*="margin-top: 40px"] {
        text-align: left !important;
        margin-top: 24px !important;
        padding: 20px 18px;
        border-radius: 16px;
        border: 1px solid rgba(15, 23, 42, 0.08);
        background: #fff;
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    }

    body.no-hero .services > .container > div[style*="margin-top: 40px"] h3 {
        margin-top: 0 !important;
        margin-bottom: 10px;
        font-size: 1.25rem;
    }

    body.no-hero .services > .container > div[style*="margin-top: 40px"] p,
    body.no-hero .services > .container > div[style*="margin-top: 40px"] li {
        text-align: left;
        line-height: 1.7;
    }

    .consultant-profile-grid,
    .consultant-profile-overview {
        grid-template-columns: 1fr;
    }

    .consultant-profile-section-wide {
        grid-column: auto;
    }

    .consultant-profile-hero {
        padding: 20px;
        border-radius: 22px;
    }

    .consultant-profile-summary {
        font-size: 15px;
    }

    .consultant-profile-actions {
        flex-direction: column;
    }

    .consultant-profile-actions .btn {
        width: 100%;
    }

    .consultant-profile-timing-strip {
        width: 100%;
        justify-content: flex-start;
        padding: 12px 14px;
    }

    .consultant-profile-section,
    .consultant-profile-sidecard,
    .consultant-profile-empty {
        padding: 18px;
    }
}

@media (max-width: 576px) {
    .about-content > .about-image {
        width: 100%;
        margin-bottom: 8px;
    }

    .about-content > .about-image img {
        border-radius: 14px;
    }

    .emergency-banner {
        padding: 7px 0;
    }

    .emergency-content {
        grid-template-columns: 1fr;
        font-size: 11px;
        gap: 6px;
        padding: 0 10px;
        text-align: center;
    }

    .emergency-content i {
        display: none;
    }

    .home-page .navbar,
    .emergency-banner + .navbar {
        top: var(--home-header-offset, 40px);
    }

    .home-page.banner-hidden .navbar {
        top: 0;
        transform: none;
    }

    .container {
        padding: 0 16px;
    }

    body.no-hero > section:first-of-type {
        padding-top: 118px !important;
    }

    .hero {
        margin-top: 104px;
        height: clamp(260px, 50vh, 360px);
        min-height: 260px;
    }

    .page-hero.about-hero {
        margin-top: 86px;
        padding: 64px 0 52px 0;
    }

    .page-hero.about-hero h1 {
        font-size: clamp(1.7rem, 8vw, 2.2rem);
        line-height: 1.2;
    }

    .page-hero.about-hero p {
        font-size: 15px;
    }

    .slide-content {
        padding: 0 14px;
    }

    .slide-content h1 {
        font-size: 1.9rem;
        margin-bottom: 16px;
    }

    .slide-content p {
        font-size: 0.95rem;
        margin-bottom: 22px;
    }

    .slider-controls {
        display: flex;
        padding: 0 8px;
    }

    .prev,
    .next {
        font-size: 18px;
        padding: 8px 10px;
        border-radius: 8px;
    }

    .slider-dots {
        bottom: 14px;
        gap: 8px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .about-card,
    .link-card,
    .service-card,
    .dept-card,
    .contact-form,
    .service-card-detailed,
    .feature-box,
    .emergency-contact-item,
    .legal-card,
    .career-card,
    .hiring-card,
    .hiring-form {
        padding: 22px 16px;
        border-radius: 16px;
    }

    .about-text h2,
    .services h2,
    .doctors h2,
    .departments h2,
    .contact h2 {
        font-size: 1.9rem;
        line-height: 1.2;
    }

    .executive-message-section {
        padding-top: 36px;
        padding-bottom: 36px;
    }

    .executive-photo {
        max-width: 220px;
    }

    .executive-title,
    .home-section-title {
        font-size: 1.7rem;
    }

    .executive-quote,
    .executive-copy,
    .home-section-copy {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .contact-support-link {
        width: auto;
        max-width: 220px;
        margin-left: auto;
        margin-right: auto;
    }

    .home-contact-card {
        padding: 16px 14px;
    }

    .home-contact-card h3 {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }

    .home-contact-note {
        font-size: 0.92rem;
        margin-bottom: 10px;
    }

    body.no-hero .services .about-image {
        width: 100%;
    }

    body.no-hero .services .about-image img {
        border-radius: 14px;
        aspect-ratio: 16 / 11;
    }

    body.no-hero .services .about-text h1 {
        font-size: clamp(1.6rem, 7vw, 2rem);
    }

    body.no-hero .services > .container > div[style*="margin-top: 40px"] {
        padding: 16px 14px;
    }

    .inner-page-intro {
        margin-bottom: 24px;
        font-size: 0.94rem;
    }

    .search-box,
    .filter-box select {
        padding: 12px 14px;
    }

    .departments-grid,
    .procedures-grid,
    .services-grid,
    .doctors-grid,
    .features-grid,
    .footer-content,
    .contact-info,
    .about-stats,
    .partners-grid,
    .certifications-grid,
    .career-cards,
    .legal-grid,
    .hiring-grid,
    .soon-grid {
        grid-template-columns: 1fr !important;
    }

    .search-box input,
    .filter-box select {
        font-size: 16px;
    }

    .departments-grid {
        max-width: 340px;
    }

    .dept-card {
        max-width: 340px;
    }

    .services > .container > div[style*="background: var(--light-color)"] {
        padding: 22px 16px !important;
    }

    .services > .container > div[style*="background: var(--light-color)"] > div[style*="display: grid"] {
        grid-template-columns: 1fr !important;
    }

    .services h3[style*="margin-top: 30px"] {
        margin-top: 22px !important;
    }

    .services h3[style*="margin: 60px 0 40px"] {
        font-size: 1.45rem !important;
    }

    .login-coming-soon-section {
        padding: 104px 0 56px;
    }

    .login-coming-soon-copy {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 24px;
    }

    .login-coming-soon-actions {
        flex-direction: column;
        gap: 12px;
    }

    .login-coming-soon-actions .btn {
        width: auto;
        min-width: 170px;
    }

    .departments-page-section {
        padding: 56px 0;
    }

    .departments-page-cta {
        margin-top: 28px;
    }

    .doctor-card h3,
    .service-card h3,
    .dept-card h3,
    .info-box h3 {
        font-size: 1.1rem;
    }

    .contact-form h3 {
        font-size: 1.45rem;
        margin-bottom: 20px;
    }

    .contact-page-section {
        padding: 56px 0;
    }

    .contact-map-section {
        padding: 0 0 56px;
    }

    .contact-map-title {
        margin-bottom: 22px;
    }

    .contact-map-box {
        border-radius: 14px;
    }

    .contact-map-frame {
        height: 260px;
    }

    .departments,
    .doctors,
    .services,
    .about,
    .contact,
    .why-choose,
    .emergency-contact-section {
        overflow-x: clip;
    }

    .link-card i,
    .feature-box i,
    .service-card i {
        font-size: 2.25rem;
        margin-bottom: 16px;
    }

    .footer-content {
        gap: 24px;
        margin-bottom: 30px;
    }

    body.no-hero section:first-of-type h1::after {
        width: 68px;
    }

    .btn,
    .btn-login {
        min-height: 36px;
    }

    .btn,
    .btn-small,
    .btn-login,
    button,
    input[type="submit"],
    input[type="button"] {
        min-height: 36px;
        font-size: 12.5px;
        padding: 8px 12px;
        width: fit-content;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .contact-support-link,
    .view-all .btn,
    .action-strip .btn,
    .login-coming-soon-actions .btn {
        width: fit-content;
        max-width: 220px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 400px) {
    .container {
        padding: 0 12px;
    }

    .emergency-content {
        font-size: 10px;
    }

    .home-page .navbar,
    .emergency-banner + .navbar {
        top: var(--home-header-offset, 40px);
    }

    .home-page.banner-hidden .navbar {
        top: 0;
        transform: none;
    }

    .logo img {
        height: 46px;
    }

    .nav-menu {
        top: var(--mobile-nav-top, 76px);
        max-height: min(68vh, 380px);
    }

    .hero {
        margin-top: 98px;
        height: clamp(240px, 47vh, 320px);
        min-height: 240px;
    }

    .slide-content h1 {
        font-size: 1.55rem;
    }

    .slide-content p {
        font-size: 13px;
    }

    .btn,
    .btn-login {
        width: fit-content;
        max-width: 220px;
        min-height: 34px;
        padding: 7px 11px;
        font-size: 12px;
        margin-left: auto;
        margin-right: auto;
        display: flex;
    }

    .footer-bottom {
        padding-top: 20px;
    }
}

