/* Arise Children Hospital - Professional Corporate Stylesheet */
:root {
    --primary: #1565C0;          /* Strong professional blue */
    --primary-dark: #0D47A1;
    --primary-light: #E3F2FD;
    --secondary: #00897B;        /* Teal */
    --accent: #F57C00;           /* Warm orange accent */
    --pink: #C2185B;
    --dark: #1A237E;
    --text: #37474F;
    --text-light: #607D8B;
    --light: #F5F9FC;
    --white: #ffffff;
    --border: #E0E7EF;
    --shadow: 0 4px 24px rgba(21, 101, 192, 0.08);
    --shadow-hover: 0 12px 40px rgba(21, 101, 192, 0.14);
    --radius: 12px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', 'Segoe UI', system-ui, sans-serif;
    color: var(--text);
    line-height: 1.7;
    background: #FAFBFC;
    font-weight: 400;
    font-size: 16px;
}

h1, h2, h3, h4, h5,
.section-title h2,
.hero-content h2 {
    font-family: 'Poppins', 'Nunito', sans-serif;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.25s;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== TOP BAR ========== */
.top-bar {
    background: var(--dark);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 10px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.top-bar a {
    color: #fff;
    margin-right: 18px;
    opacity: 0.95;
}

.top-bar a:hover {
    opacity: 1;
    color: #90CAF9;
}

/* ========== HEADER ========== */
.header {
    background: #fff;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 56px;
    width: auto;
    max-width: 230px;
    object-fit: contain;
    background: #fff;
    border-radius: 6px;
}

.nav {
    display: flex;
    gap: 6px;
    align-items: center;
}

.nav a {
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    color: var(--text);
    transition: all 0.25s;
}

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

.nav .btn-appointment {
    background: var(--primary) !important;
    color: #fff !important;
    padding: 11px 22px;
    border-radius: 30px;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(21, 101, 192, 0.3);
}

.nav .btn-appointment:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(21, 101, 192, 0.4);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
    padding: 8px;
}

/* ========== HERO ========== */
.hero {
    background: linear-gradient(135deg, #0D47A1 0%, #1565C0 45%, #00897B 100%);
    color: #fff;
    padding: 90px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h2 {
    font-size: 2.75rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.15rem;
    opacity: 0.95;
    margin-bottom: 32px;
    max-width: 520px;
    line-height: 1.7;
}

.hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 30px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    font-size: 0.98rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.2);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.8);
    color: #fff;
}

.btn-outline:hover {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
}

.hero-card {
    background: #fff;
    color: var(--text);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.18);
}

.hero-card h3 {
    color: var(--primary);
    margin-bottom: 22px;
    font-size: 1.25rem;
    font-weight: 700;
}

.hero-card .info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

.hero-card .info-item i {
    color: var(--secondary);
    font-size: 1.2rem;
    margin-top: 3px;
    width: 24px;
}

.hero-card .info-item strong {
    color: var(--dark);
}

/* ========== SECTIONS ========== */
section {
    padding: 90px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 55px;
}

.section-title h2 {
    font-size: 2.3rem;
    color: var(--dark);
    margin-bottom: 14px;
    font-weight: 800;
}

.section-title p {
    color: var(--text-light);
    max-width: 620px;
    margin: 0 auto;
    font-size: 1.08rem;
}

.section-title .line {
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin: 18px auto 0;
    border-radius: 2px;
}

/* ========== ABOUT ========== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    align-items: center;
}

.about-content h3 {
    color: var(--primary);
    margin-bottom: 16px;
    font-size: 1.55rem;
    font-weight: 700;
}

.about-content p {
    margin-bottom: 16px;
    color: var(--text);
    font-size: 1.05rem;
}

.features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 28px;
}

.feature-box {
    background: var(--white);
    padding: 22px;
    border-radius: var(--radius);
    border-left: 4px solid var(--secondary);
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.feature-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.feature-box h4 {
    color: var(--primary);
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.feature-box p {
    font-size: 0.92rem;
    color: var(--text-light);
    margin: 0;
}

.about-image {
    background: linear-gradient(145deg, var(--primary-light), #E0F2F1);
    border-radius: 16px;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5.5rem;
    color: var(--primary);
    box-shadow: var(--shadow);
}

/* ========== SERVICES ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.service-card {
    background: #fff;
    border-radius: 16px;
    padding: 36px 28px;
    box-shadow: var(--shadow);
    transition: all 0.35s;
    border: 1px solid var(--border);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.service-icon {
    width: 76px;
    height: 76px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    color: #fff;
    font-size: 1.9rem;
    box-shadow: 0 8px 24px rgba(21, 101, 192, 0.25);
}

.service-card h3 {
    color: var(--dark);
    margin-bottom: 14px;
    font-size: 1.28rem;
    font-weight: 700;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.98rem;
    line-height: 1.65;
}

/* ========== DOCTOR ========== */
.doctor-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow-hover);
    overflow: hidden;
    max-width: 820px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 300px 1fr;
    border: 1px solid var(--border);
}

.doctor-photo {
    background: linear-gradient(160deg, #1565C0, #00897B);
    overflow: hidden;
    min-height: 360px;
}

.doctor-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.doctor-info {
    padding: 40px;
}

.doctor-info h3 {
    font-size: 1.7rem;
    color: var(--dark);
    margin-bottom: 6px;
    font-weight: 800;
}

.doctor-info .specialty {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 14px;
}

.doctor-info .exp {
    background: linear-gradient(90deg, #E8F5E9, #E3F2FD);
    color: #2E7D32;
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.doctor-info p {
    color: var(--text);
    margin-bottom: 18px;
    font-size: 1.02rem;
}

.doctor-info ul {
    list-style: none;
    margin-bottom: 28px;
}

.doctor-info ul li {
    padding: 7px 0;
    color: var(--text);
    position: relative;
    padding-left: 26px;
    font-weight: 500;
}

.doctor-info ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 800;
}

/* ========== TIMINGS ========== */
.timings-section {
    background: var(--light);
}

.timings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 28px;
}

.timing-card {
    background: #fff;
    border-radius: 16px;
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.timing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.timing-card i {
    font-size: 2.6rem;
    color: var(--primary);
    margin-bottom: 18px;
}

.timing-card h3 {
    margin-bottom: 12px;
    color: var(--dark);
    font-size: 1.25rem;
}

.timing-card p {
    color: var(--text);
    font-size: 1.05rem;
}

.timing-card .highlight {
    color: var(--accent);
    font-weight: 800;
    font-size: 1.15rem;
}

/* ========== CONTACT ========== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
}

.contact-info h3 {
    color: var(--primary);
    margin-bottom: 24px;
    font-size: 1.45rem;
    font-weight: 700;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 26px;
}

.contact-item i {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.contact-item h4 {
    margin-bottom: 4px;
    color: var(--dark);
    font-weight: 700;
}

.contact-item p,
.contact-item a {
    color: var(--text);
}

.contact-item a:hover {
    color: var(--primary);
}

.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-hover);
    border: 1px solid var(--border);
}

.contact-form h3 {
    margin-bottom: 12px;
    color: var(--dark);
    font-size: 1.4rem;
}

.btn-submit {
    background: var(--primary);
    color: #fff;
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s;
    display: block;
    text-align: center;
}

.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ========== INSURANCE ========== */
.insurance-section {
    background: #fff;
}

.insurance-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)) !important;
    gap: 14px !important;
    margin-top: 30px;
}

.insurance-item {
    background: var(--light) !important;
    border-radius: 10px !important;
    padding: 18px 12px !important;
    text-align: center !important;
    box-shadow: none !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    color: var(--dark) !important;
    border: 1px solid var(--border) !important;
    font-family: 'Poppins', sans-serif !important;
    transition: all 0.25s;
}

.insurance-item:hover {
    background: #fff !important;
    border-color: var(--primary) !important;
    box-shadow: var(--shadow) !important;
    transform: translateY(-3px);
}

.insurance-highlight {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: center;
    align-items: center;
    margin: 35px 0;
}

.insurance-highlight img {
    max-height: 120px;
    max-width: 280px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: var(--shadow);
    background: #fff;
    padding: 12px;
    border: 1px solid var(--border);
}

/* ========== HOSPITAL GALLERY ========== */
.hospital-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 22px;
    margin-top: 30px;
}

.hospital-gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: var(--shadow);
    transition: transform 0.35s;
}

.hospital-gallery img:hover {
    transform: scale(1.02);
}

/* ========== REVIEWS ========== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 26px;
}

.review-card {
    background: #fff;
    border-radius: 14px;
    padding: 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    border-top: 4px solid var(--accent);
    transition: all 0.3s;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.review-card .stars {
    color: #FFB300;
    font-size: 1.15rem;
    margin-bottom: 14px;
    letter-spacing: 2px;
}

.review-card p {
    color: var(--text);
    font-style: italic;
    margin-bottom: 18px;
    line-height: 1.7;
    font-size: 1rem;
}

.review-card .reviewer {
    font-weight: 700;
    color: var(--dark);
    font-size: 0.95rem;
    font-family: 'Poppins', sans-serif;
}

.review-card .reviewer span {
    font-weight: 500;
    color: var(--text-light);
    font-size: 0.85rem;
}

/* ========== WHATSAPP PROMO ========== */
.whatsapp-promo {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    border-radius: 16px;
    padding: 45px 40px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.25);
}

.whatsapp-promo h3 {
    font-size: 1.6rem;
    margin-bottom: 14px;
    color: #fff;
    font-weight: 800;
}

.whatsapp-promo p {
    opacity: 0.95;
    margin-bottom: 24px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.08rem;
}

.whatsapp-promo .btn {
    background: #fff;
    color: #128C7E;
    font-weight: 800;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.whatsapp-promo .btn:hover {
    transform: translateY(-3px);
}

/* ========== MAP ========== */
.map-container {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: 0;
    display: block;
}

/* ========== FOOTER ========== */
.footer {
    background: #0D1B2A;
    color: #B0BEC5;
    padding: 70px 0 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.6fr;
    gap: 45px;
    margin-bottom: 45px;
}

.footer h4 {
    color: #fff;
    margin-bottom: 22px;
    font-size: 1.15rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

.footer p {
    margin-bottom: 12px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer a {
    color: #B0BEC5;
    transition: color 0.25s;
}

.footer a:hover {
    color: #90CAF9;
}

.footer-links a {
    display: block;
    margin-bottom: 11px;
    font-weight: 500;
}

.footer-bottom {
    border-top: 1px solid #1B2838;
    padding-top: 22px;
    text-align: center;
    font-size: 0.9rem;
}

/* ========== FLOATING BUTTONS ========== */
.emergency-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.emergency-float a {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.45rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.28);
    transition: transform 0.3s, box-shadow 0.3s;
}

.emergency-float a:hover {
    transform: scale(1.12);
    box-shadow: 0 8px 28px rgba(0,0,0,0.35);
}

.float-call {
    background: #E53935;
}

.float-whatsapp {
    background: #25D366;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .hero .container,
    .about-grid,
    .contact-grid,
    .doctor-card {
        grid-template-columns: 1fr;
    }

    .hero-content h2 {
        font-size: 2.3rem;
    }

    .doctor-photo {
        min-height: 280px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero {
        padding: 70px 0 80px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 16px;
        box-shadow: 0 12px 30px rgba(0,0,0,0.12);
        gap: 4px;
        border-top: 1px solid var(--border);
    }

    .nav.active {
        display: flex;
    }

    .nav a {
        width: 100%;
        text-align: center;
        padding: 14px;
        font-size: 1.05rem;
    }

    .logo img {
        height: 46px;
        max-width: 180px;
    }

    .header .container {
        padding: 12px 18px;
    }

    .hero {
        padding: 50px 0 60px;
    }

    .hero-content h2 {
        font-size: 1.85rem;
    }

    .hero-card {
        padding: 26px;
    }

    section {
        padding: 60px 0;
    }

    .section-title h2 {
        font-size: 1.85rem;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .top-bar .container {
        justify-content: center;
        text-align: center;
    }

    .insurance-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .hospital-gallery img {
        height: 210px;
    }

    .whatsapp-promo {
        padding: 35px 22px;
    }

    .emergency-float a {
        width: 52px;
        height: 52px;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .hero-btns {
        flex-direction: column;
    }

    .btn {
        text-align: center;
        width: 100%;
    }

    .logo img {
        height: 42px;
        max-width: 155px;
    }

    .section-title h2 {
        font-size: 1.65rem;
    }

    .doctor-info {
        padding: 28px 22px;
    }
}
