/* ========================================= */
/* PREMIUM GENERAL PEDIATRIC CARE STYLES */
/* ========================================= */

/* --- 0. Modern Page Banner --- */
.modern-page-banner {
    position: relative;
    padding: 160px 0 100px;
    background-image: url('images/hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
    text-align: center;
}

.modern-page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(224, 242, 254, 0.88) 100%);
    z-index: 0;
}

.banner-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 1;
}

.circle-1 {
    width: 300px;
    height: 300px;
    background: rgba(13, 148, 136, 0.2);
    top: -50px;
    left: -50px;
}

.circle-2 {
    width: 400px;
    height: 400px;
    background: rgba(37, 99, 235, 0.15);
    bottom: -100px;
    right: 10%;
}

.banner-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.breadcrumb-glass {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 40px;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.breadcrumb-glass a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-glass a:hover {
    color: var(--primary-color);
}

.breadcrumb-glass .divider {
    color: var(--text-light);
    font-size: 0.8rem;
}

.breadcrumb-glass .current {
    color: var(--primary-color);
    font-weight: 600;
}

.page-title-elegant {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
    line-height: 1.1;
}

.banner-subtitle {
    font-size: 1.2rem;
    color: var(--text-color);
    opacity: 0.8;
}

/* --- 1. Split Hero Section --- */
.split-hero {
    position: relative;
    padding: 80px 0 100px;
    background: #ffffff;
    overflow: hidden;
}

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

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: white;
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 30px;
    margin-bottom: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(13, 148, 136, 0.1);
}

.split-hero-content h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.hero-stats-mini {
    display: flex;
    gap: 20px;
}

.stat-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-circle strong {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

.stat-circle span {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Image Collage */
.split-hero-images {
    position: relative;
}

.img-collage {
    position: relative;
    height: 500px;
}

.collage-img {
    position: absolute;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.img-main {
    width: 80%;
    height: 400px;
    top: 0;
    right: 0;
    border: 5px solid white;
}

.img-sub {
    width: 60%;
    height: 300px;
    bottom: 0;
    left: 0;
    border: 5px solid white;
    z-index: 2;
}

.collage-card {
    position: absolute;
    bottom: 50px;
    right: -20px;
    z-index: 3;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-left: 4px solid var(--secondary-color);
    animation: float 4s ease-in-out infinite;
}

.collage-card i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.collage-card div {
    display: flex;
    flex-direction: column;
}

.collage-card strong {
    color: var(--primary-dark);
    font-size: 1.1rem;
}

.collage-card span {
    color: var(--text-light);
    font-size: 0.85rem;
}

.hero-blur-blob {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-light) 0%, rgba(204, 251, 241, 0) 70%);
    top: -50px;
    right: -50px;
    z-index: -1;
    border-radius: 50%;
    filter: blur(40px);
}

.hero-curve {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 2;
}

/* --- 2. Premium Airy Sticky Section --- */
.premium-sticky-section {
    padding: 120px 0;
    background: #f8fafc;
    /* Very soft cool gray/blue */
    position: relative;
    /* Removed overflow: hidden; to allow position: sticky to work */
}

.premium-sticky-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.premium-sticky-container {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 80px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.airy-sidebar {
    position: sticky;
    top: 140px;
}

.badge-pill {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(13, 148, 136, 0.1);
    color: var(--primary-color);
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.massive-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: var(--primary-dark);
    line-height: 1.1;
    margin-bottom: 25px;
}

.airy-subtitle {
    font-size: 1.2rem;
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 40px;
    opacity: 0.8;
}

.airy-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.airy-feature {
    display: flex;
    align-items: center;
    gap: 20px;
}

.af-icon {
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
}

.airy-feature h4 {
    margin: 0 0 5px;
    font-size: 1.1rem;
    color: var(--primary-dark);
}

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

/* Premium Pillar Showcases */
.pillar-showcase {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.pillar-row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 400px;
}

.pillar-row.reverse {
    justify-content: flex-start;
}

.pr-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    z-index: 1;
}

.pillar-row.reverse .pr-image {
    left: auto;
    right: 0;
}

.pr-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.pillar-row:hover .pr-image img {
    transform: scale(1.05);
}

.pr-content {
    position: relative;
    z-index: 2;
    width: 55%;
    padding: 50px 40px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 1);
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(13, 148, 136, 0.08);
    transform: translateY(30px);
}

.pillar-row.reverse .pr-content {
    transform: translateY(-30px);
}

.pr-num {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 15px;
    opacity: 0.8;
}

.pr-content h3 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.pr-content p {
    font-size: 1.05rem;
    color: var(--text-color);
    line-height: 1.7;
    margin: 0;
}

/* --- 3. Staggered Services Masonry Grid --- */
.staggered-services {
    background: var(--white);
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    grid-auto-flow: dense;
}

.ms-card {
    border-radius: 25px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    color: white;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.ms-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-tall {
    grid-row: span 2;
}

.card-wide {
    grid-column: span 2;
}

/* Gradients for cards */
.gradient-1 {
    background: linear-gradient(135deg, #0f766e, #115e59);
}

/* Teal */
.gradient-2 {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

/* Blue */
.gradient-3 {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

/* Amber */
.gradient-4 {
    background: linear-gradient(135deg, #ec4899, #be185d);
}

/* Pink */

.ms-card .watermark {
    position: absolute;
    right: -20px;
    bottom: -20px;
    font-size: 150px;
    opacity: 0.1;
    transform: rotate(-15deg);
    transition: all 0.5s ease;
}

.ms-card:hover .watermark {
    transform: rotate(0deg) scale(1.1);
    opacity: 0.2;
}

.ms-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ms-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
    backdrop-filter: blur(5px);
}

.ms-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: white;
}

.ms-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.ms-link {
    display: inline-block;
    color: white;
    text-decoration: none;
    font-weight: 600;
    margin-top: auto;
    align-self: flex-start;
}

.ms-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.ms-link:hover i {
    transform: translateX(5px);
}

/* --- 4. Parallax CTA --- */
.parallax-cta {
    position: relative;
    background-image: url('images/hero.jpg');
    /* Reusing an image for parallax */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 150px 0;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(8, 51, 68, 0.9), rgba(13, 148, 136, 0.8));
    z-index: 1;
}

.cta-curve-top {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 2;
}

.cta-glass-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 60px 40px;
    border-radius: 30px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.cta-icon-glow {
    width: 80px;
    height: 80px;
    background: var(--secondary-color);
    color: white;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.5);
    position: relative;
    top: -90px;
    margin-bottom: -70px;
}

.cta-glass-box h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-glass-box p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .split-hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-subtitle {
        margin: 0 auto 40px;
    }

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

    .sticky-sidebar {
        position: relative;
        top: 0;
    }

    .collage-wrapper {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .page-title-elegant {
        font-size: 2.8rem;
    }

    .modern-page-banner {
        padding: 130px 0 60px;
    }

    .massive-title {
        font-size: 2.5rem;
    }

    .float-card {
        padding: 30px;
    }

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

    .hero-actions {
        flex-direction: column;
    }

    .cta-glass-box {
        padding: 40px 20px;
    }

    .cta-glass-box h2 {
        font-size: 2rem;
    }

    .collage-card {
        bottom: 10px;
        right: 10px;
    }

    .pillar-row {
        flex-direction: column;
        justify-content: flex-start;
        height: auto;
        min-height: auto;
        gap: 30px;
    }

    .pr-image {
        position: relative;
        width: 100%;
        height: 300px;
        border-radius: 20px;
    }

    .pr-content {
        width: 100%;
        padding: 30px 20px;
        transform: translateY(0) !important;
    }

    .pillar-row.reverse .pr-image {
        left: 0;
    }
}