/* ==========================================
   GLOBAL HUB WRAPPER
========================================== */
.programs-analytics-hub {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    background: #fdfeff;
}

    /* Ambient Backdrop Glows */
    .programs-analytics-hub::before,
    .programs-analytics-hub::after {
        content: "";
        position: absolute;
        border-radius: 50%;
        pointer-events: none;
        z-index: 1;
    }

    .programs-analytics-hub::before {
        width: 750px;
        height: 750px;
        right: -250px;
        top: -200px;
        background: rgba(79, 70, 229, 0.05);
        filter: blur(140px);
    }

    .programs-analytics-hub::after {
        width: 650px;
        height: 650px;
        left: -250px;
        bottom: -200px;
        background: rgba(6, 182, 212, 0.04);
        filter: blur(120px);
    }

/* ==========================================
   CREATIVE SECTION HEADER
========================================== */
.header-creative-row {
    position: relative;
    z-index: 5;
    margin-bottom: 70px !important;
}

.hub-tagline {
    display: inline-flex;
    padding: 8px 20px;
    border-radius: 50px;
    background: rgba(79, 70, 229, 0.06);
    color: #4f46e5;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    border: 1px solid rgba(79, 70, 229, 0.12);
}

.page-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-top: 15px;
}

.gradient-text {
    background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 50%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #64748b;
    max-width: 460px;
    margin-left: auto;
}

/* ==========================================
   PREMIUM CARDS CONFIGURATION
========================================== */
.creative-card-grid {
    position: relative;
    z-index: 5;
}

.advanced-program-card {
    position: relative;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.45s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

    /* Intelligent CSS Variable Dual Glow Border */
    .advanced-program-card::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 24px;
        padding: 1.5px;
        background: linear-gradient(135deg, rgba(var(--accent-color), 0.45), transparent 50%, rgba(var(--accent-color), 0.1));
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        opacity: 0.3;
        transition: opacity 0.45s ease;
        pointer-events: none;
    }

    .advanced-program-card:hover {
        transform: translateY(-8px);
        border-color: rgba(var(--accent-color), 0.3);
        box-shadow: 0 24px 50px rgba(var(--accent-color), 0.08), 0 4px 12px rgba(15, 23, 42, 0.02);
    }

        .advanced-program-card:hover::before {
            opacity: 1;
        }

/* ==========================================
   IMAGE FRAME WORK MATRIX
========================================== */
.card-img-container {
    height: 220px;
    overflow: hidden;
    position: relative;
    background: #f1f5f9;
}

    .card-img-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
    }

.advanced-program-card:hover img {
    transform: scale(1.06);
}

.image-overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.4) 0%, transparent 60%);
}

/* ==========================================
   ADVANCED LABELS (BADGES)
========================================== */
.badge-premium {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 10;
    padding: 6px 14px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: rgb(var(--accent-color));
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    border: 1px solid rgba(var(--accent-color), 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* ==========================================
   TEXT AND TYPOGRAPHY CONTENT
========================================== */
.card-title {
    color: #0f172a;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
    padding-bottom: 12px;
}

    .card-title::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 35px;
        height: 3px;
        border-radius: 4px;
        background: rgb(var(--accent-color));
        transition: width 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    }

.advanced-program-card:hover .card-title::after {
    width: 70px;
}

.card-text {
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.65;
}

.text-secondary-dim {
    color: #64748b;
    font-size: 0.85rem;
    line-height: 1.6;
    border-top: 1px dashed #e2e8f0;
    padding-top: 12px;
    margin-top: 12px;
}

.highlight {
    display: inline-block;
    background: rgba(var(--accent-color), 0.06);
    color: rgb(var(--accent-color));
    padding: 1px 6px;
    border-radius: 6px;
    font-weight: 700;
}

/* ==========================================
   RESPONSIVE DESIGN SYSTEM
========================================== */
@media (max-width: 1199px) {
    .page-title {
        font-size: 2.8rem;
    }

    .card-img-container {
        height: 200px;
    }
}

@media (max-width: 991px) {
    .programs-analytics-hub {
        padding: 80px 0;
    }

    .header-creative-row {
        margin-bottom: 50px !important;
    }

    .header-description {
        max-width: 100%;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .programs-analytics-hub {
        padding: 60px 0;
    }

    .page-title {
        font-size: 2.2rem;
        text-align: center;
    }

    .header-description {
        text-align: center;
        margin-top: 12px;
    }

    .hub-tag-wrapper {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .page-title {
        font-size: 1.85rem;
    }

    .card-img-container {
        height: 190px;
    }
}
