@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@600;700&display=swap');

/* ═══════════════════════════════════════════
   HEALTH CHECK-UP PACKAGES SECTION
═══════════════════════════════════════════ */
.hcp-wrapper {
    position: relative;
    background: #ffffff;
    font-family: 'Inter', -apple-system, sans-serif;
    color: #334155;
    overflow: hidden;
}

/* ── Hero Intro ── */
.hcp-hero {
    position: relative;
    padding: 60px 20px 40px;
    background: linear-gradient(160deg, #f0f7ff 0%, #e8f4fd 30%, #f8fafc 100%);
    text-align: center;
    overflow: hidden;
}

.hcp-bg-blobs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.hcp-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    animation: hcpBlobFloat 8s ease-in-out infinite alternate;
}
.hcp-blob-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, #4fa8d6 0%, #1a6fa8 100%);
    top: -150px; left: -100px;
}
.hcp-blob-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, #7b5ea7 0%, #3b1f6b 100%);
    bottom: -100px; right: -50px;
    animation-delay: -3s;
}

@keyframes hcpBlobFloat {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -30px) scale(1.08); }
}

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

.hcp-eyebrow {
    display: inline-block;
    color: #1a6fa8;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
    background: rgba(26,111,168,0.1);
    padding: 6px 16px;
    border-radius: 100px;
}

.hcp-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
    margin: 0 0 20px;
}
.hcp-highlight {
    background: linear-gradient(135deg, #1a6fa8, #7b5ea7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hcp-hero-desc {
    font-size: 18px;
    font-weight: 500;
    color: #334155;
    margin: 0 0 16px;
}
.hcp-hero-subdesc {
    font-size: 15px;
    line-height: 1.7;
    color: #64748b;
    margin: 0 0 24px;
}

.hcp-hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hcp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none !important;
    transition: all 0.3s ease;
}
.hcp-btn-primary {
    background: linear-gradient(135deg, #1a6fa8, #0d4f82);
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(26,111,168,0.3);
}
.hcp-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(26,111,168,0.4);
}
.hcp-btn-secondary {
    background: #ffffff;
    color: #1a6fa8 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}
.hcp-btn-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

/* ── Features Grid ── */
.hcp-features-container {
    max-width: 1100px;
    margin: -40px auto 60px; /* pull up over hero */
    padding: 0 20px;
    position: relative;
    z-index: 3;
}

.hcp-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    background: #ffffff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    border: 1px solid #f1f5f9;
}

.hcp-feature-box {
    display: flex;
    gap: 16px;
}
.hcp-f-icon {
    flex-shrink: 0;
    width: 48px; height: 48px;
    background: #f0f7ff;
    color: #1a6fa8;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hcp-f-text h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px;
}
.hcp-f-text p {
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}

/* ── Packages Section ── */
.hcp-packages-section {
   padding: 59px 12vw 100px;
}

.hcp-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}
.hcp-section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 16px;
}
.hcp-section-header p {
    font-size: 16px;
    color: #64748b;
    line-height: 1.6;
}

/* ── Filter Box ── */
.hcp-filter-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f8fafc;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 50px;
    border: 1px solid #e2e8f0;
}
.hcp-filter-title {
    text-align: center;
    margin-bottom: 24px;
}
.hcp-filter-title h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 6px;
}
.hcp-filter-title p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.hcp-filter-controls {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}
.hcp-filter-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.hcp-filter-group label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
}
.hcp-toggle-group {
    display: inline-flex;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 100px;
    padding: 4px;
}
.hcp-toggle-btn {
    background: transparent;
    border: none;
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
}
.hcp-toggle-btn.active {
    background: #1a6fa8;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(26,111,168,0.25);
}

/* ── Packages Grid ── */
.pkg-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    position: relative;
    transition: opacity 0.3s ease;
}

.hcp-dynamic-grid.pkg-collapsed .pkg-card:nth-child(n+4) {
    display: none;
}

.pkg-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: #f8fafc;
    border-radius: 16px;
    color: #64748b;
    font-weight: 500;
}

/* ── Single Card (Reused from previous) ── */
.pkg-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.55s ease var(--delay, 0ms),
                transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) var(--delay, 0ms);
}
.pkg-card.pkg-visible {
    opacity: 1;
    transform: translateY(0);
}

.pkg-card-inner {
    position: relative;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
    cursor: default;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pkg-card-inner:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(26, 111, 168, 0.12);
}
.pkg-card-inner:hover .pkg-card-img { transform: scale(1.05); }

/* Card Header (Icon & Title) */
.pkg-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 24px 20px;
}
.pkg-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f7ff, #e0f2fe);
    border-radius: 12px;
    border: 1px solid #e0f2fe;
    box-shadow: 0 4px 12px rgba(186, 230, 253, 0.5), inset 0 2px 4px rgba(255,255,255,0.8);
    flex-shrink: 0;
}
.pkg-card-top-title {
    font-size: 20px;
    font-weight: 700;
    color: #0d1f3c;
    margin: 0;
}

/* Badge */
.pkg-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 100px;
    box-shadow: 0 4px 12px rgba(239,68,68,0.35);
}

/* Image */
.pkg-card-image-wrap {
    position: relative;
    height: 180px;
    padding: 0 24px;
    background: transparent;
    overflow: hidden;
}
.pkg-card-img {
    width: 100%; height: 100%; object-fit: cover;
    border-radius: 12px;
    transition: transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.pkg-card-img-placeholder {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #a0b4c8;
    background: #f1f5f9;
    border-radius: 12px;
}

/* Card body */
.pkg-card-body {
    padding: 24px 28px 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.pkg-card-subtitle {
    font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #1a6fa8; margin: 0 0 6px;
}
.pkg-card-title {
    font-family: 'Playfair Display', Georgia, serif; font-size: 22px; font-weight: 700; color: #0d1f3c; margin: 0 0 12px; line-height: 1.25;
}
.pkg-card-desc {
    font-size: 14px; color: #5a7a96; line-height: 1.7; margin: 0 0 20px; flex-grow: 1;
}

/* Card Tags for Age/Gender */
.pkg-card-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.pkg-tag {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    background: #f1f5f9;
    color: #475569;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

/* Learn more button */
.pkg-learn-more-btn {
    display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #1a6fa8, #0d4f82); color: #fff !important; font-size: 14px; font-weight: 600; padding: 12px 24px; border-radius: 100px; text-decoration: none !important; transition: all 0.3s ease; box-shadow: 0 4px 14px rgba(26,111,168,0.35); position: relative; overflow: hidden; align-self: flex-start;
}
.pkg-learn-more-btn::before {
    content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent); opacity: 0; transition: opacity 0.3s;
}
.pkg-learn-more-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,111,168,0.45); }
.pkg-learn-more-btn:hover::before { opacity: 1; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 768px) {
    .hcp-features-container { margin-top: -20px; padding: 0 16px; }
    .hcp-features-grid { padding: 24px; grid-template-columns: 1fr; }
    .hcp-filter-controls { flex-direction: column; gap: 20px; }
    .pkg-cards-grid { gap: 20px; }
    .pkg-card-body { padding: 20px; }
}
@media (min-width: 900px) {
    .hcp-features-grid { grid-template-columns: repeat(4, 1fr); }
    .pkg-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1200px) {
    .pkg-cards-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ═══════════════════════════════════════════
   ABOUT US SECTION
═══════════════════════════════════════════ */
.hcp-about-wrapper {
    background: #ffffff;
    font-family: 'Inter', -apple-system, sans-serif;
    color: #334155;
    overflow: hidden;
}

/* Base Headings & Text */
.hcp-about-wrapper h1, .hcp-about-wrapper h2 {
    font-family: 'Playfair Display', serif;
    color: #0f172a;
    font-weight: 700;
    margin-top: 0;
}
.hcp-about-wrapper h1 { font-size: clamp(36px, 5vw, 52px); margin-bottom: 12px; }
.hcp-about-wrapper h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 24px; }
.hcp-about-subheading { font-size: 18px; font-weight: 600; color: #1a6fa8; margin-bottom: 30px; }
.hcp-about-body p { font-size: 16px; line-height: 1.8; color: #475569; margin-bottom: 20px; }
.hcp-about-body p:last-child { margin-bottom: 0; }

/* Flex Sections (Hero & Founder) */
.hcp-about-hero, .hcp-about-founder {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    padding: 80px 5%;
    max-width: 1300px;
    margin: 0 auto;
}
.hcp-about-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}
.hcp-about-founder {
    flex-direction: row-reverse;
}
.hcp-about-hero-content, .hcp-about-founder-content {
    flex: 1 1 500px;
}
.hcp-about-hero-image, .hcp-about-founder-image {
    flex: 1 1 500px;
}

/* Image Wrappers with Micro-animations */
.hcp-about-hero-img-inner, .hcp-about-founder-img-inner {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    transform: translateY(0);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}
.hcp-about-hero-img-inner:hover, .hcp-about-founder-img-inner:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(26,111,168,0.15);
}
.hcp-about-hero-img-inner img, .hcp-about-founder-img-inner img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    aspect-ratio: 4/3;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.hcp-about-hero-img-inner:hover img, .hcp-about-founder-img-inner:hover img {
    transform: scale(1.05);
}

/* Timeline Section */
.hcp-about-why {
    background: #f0f7ff;
    padding: 80px 5%;
    text-align: center;
}
.hcp-about-why-header {
    max-width: 700px;
    margin: 0 auto 60px;
}
.hcp-about-why-header p {
    font-size: 16px; color: #64748b; line-height: 1.6;
}

/* Timeline specific styles */
.hcp-timeline {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}
.hcp-timeline-items {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    position: relative;
    z-index: 2;
}
.hcp-timeline-line {
    position: absolute;
    top: 35px; /* align with dots */
    left: 5%;
    right: 5%;
    height: 2px;
    background: #cbd5e1;
    z-index: 1;
}
.hcp-timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 0 10px;
    opacity: 0.9;
    transition: opacity 0.3s, transform 0.3s;
}
.hcp-timeline-item:hover {
    opacity: 1;
    transform: translateY(-5px);
}
.hcp-timeline-dot {
    width: 70px;
    height: 70px;
    background: #ffffff;
    border: 4px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #1a6fa8;
    z-index: 2;
    position: relative;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: border-color 0.3s, background 0.3s;
}
.hcp-timeline-item:hover .hcp-timeline-dot {
    border-color: #1a6fa8;
    background: #f8fafc;
}
.hcp-timeline-item h3 {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
    line-height: 1.4;
}
.hcp-timeline-item p {
    font-size: 12px;
    color: #64748b;
    line-height: 1.5;
}

/* Bottom Cards */
.hcp-about-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1100px;
    margin: 80px auto;
    padding: 0 5%;
}
.hcp-about-card {
    background: #e8f4fd;
    border-radius: 24px;
    padding: 50px 40px;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hcp-about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(26,111,168,0.1);
}
.hcp-card-mission {
    background: linear-gradient(145deg, #f0f7ff, #e2e8f0);
}
.hcp-card-journey {
    background: linear-gradient(145deg, #e8f4fd, #cfe5f8);
}
.hcp-about-card h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .hcp-timeline-items {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 50px;
    }
    .hcp-timeline-line { display: none; } /* hide line on wrap */
}
@media (max-width: 768px) {
    .hcp-about-hero, .hcp-about-founder {
        padding: 60px 5%;
        flex-direction: column;
        text-align: center;
    }
    .hcp-about-bottom {
        grid-template-columns: 1fr;
    }
    .hcp-timeline-items {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 480px) {
    .hcp-timeline-items {
        grid-template-columns: 1fr;
    }
}
