:root {
    --primary-color: #004a99;
    --primary-light: #e6f0ff;
    --secondary-color: #00bfa5;
    --accent-color: #ff6b6b;
    --text-dark: #1a202c;
    --text-muted: #718096;
    --bg-light: #f7fafc;
    --white: #ffffff;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-padding {
    padding: 100px 0;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #003366;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 74, 153, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* --- LOGO & TOP BAR --- */
.top-bar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.85rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -1px;
    line-height: 1;
}

.logo span {
    color: var(--secondary-color);
}

.logo small {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 2px;
}

/* --- NAVIGATION --- */
header {
    background-color: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-cta {
    margin-left: 30px;
}

.menu-toggle {
    display: none;
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
    overflow: hidden;
}

.hero-content {
    max-width: 650px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.hero h1 span {
    color: var(--primary-color);
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item h3 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
    line-height: 1;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero-image-bg {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    height: 85%;
    background-size: cover;
    background-position: center;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    z-index: 1;
}

/* --- GRIDS & CARDS --- */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card,
.trust-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid #edf2f7;
    height: 100%;
}

.service-card:hover,
.trust-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.read-more {
    font-weight: 700;
    color: var(--primary-color);
    display: inline-block;
    margin-top: 15px;
}

/* --- HOSPITAL FOOTER (Isolated from WordPress) --- */
.hospital-footer {
    background-color: #0d1117;
    color: var(--white);
    padding: 80px 0 30px;
    width: 100%;
}

.hospital-footer-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 40px;
    align-items: start;
}

.hospital-footer-about p {
    color: rgba(255, 255, 255, 0.7) !important;
    max-width: 300px;
}

.hospital-footer-heading {
    color: var(--white) !important;
    margin-bottom: 30px !important;
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    position: relative;
    padding-bottom: 15px;
}

.hospital-footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
}

.hospital-footer-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.hospital-footer-list li {
    margin-bottom: 12px !important;
    list-style: none !important;
}

.hospital-footer-list a {
    color: rgba(255, 255, 255, 0.6) !important;
    transition: var(--transition);
    font-size: 0.95rem !important;
    text-decoration: none !important;
}

.hospital-footer-list a:hover {
    color: var(--secondary-color) !important;
    padding-left: 5px;
}

.hospital-footer-bottom {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hospital-legal-links a {
    color: rgba(255, 255, 255, 0.5) !important;
    text-decoration: none !important;
    transition: var(--transition);
}

.hospital-legal-links a:hover {
    color: var(--white) !important;
}

/* --- RESPONSIVE DESIGN --- */

@media (max-width: 992px) {
    .section-padding {
        padding: 60px 0;
    }

    .container-flex.hero-container {
        flex-direction: column !important;
        text-align: center;
    }

    .hero {
        padding: 40px 0;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-image-bg {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        height: 350px;
        margin-top: 30px;
    }

    .hero-stats {
        justify-content: center;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr !important;
    }

    .hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Handled by modular.css mobile menu */
    }

    .menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .hero-btns .btn {
        width: 100%;
        max-width: 320px;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
}