﻿/* ==========================================================
   PREMIUM PROGRAM DETAILS (SINGLE COLUMN, FULLY RESPONSIVE)
   ========================================================== */
.prg-wrapper {
    background-color: #f4f7f9;
    font-family: 'Poppins', sans-serif;
    padding-bottom: 80px;
}

.prg-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Constrains the main content so it is easy to read on big screens */
.prg-content-centered {
    max-width: 900px;
    margin: 0 auto;
}

/* --- Premium Hero --- */
.prg-hero {
    min-height: 55vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Subtle parallax effect */
    color: var(--white);
    padding-bottom: 60px; /* Leave space for overlap */
}

.prg-hero-content {
    max-width: 800px;
    animation: slideUpFade 0.8s ease-out forwards;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.prg-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(184, 134, 11, 0.2);
    border: 1px solid var(--secondary);
    color: var(--secondary);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    backdrop-filter: blur(4px);
}

.prg-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--white);
    margin-bottom: 15px;
    line-height: 1.1;
    text-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.prg-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 650px;
}

/* --- Floating Stats Overlap --- */
.prg-stats-overlap {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 40px;
    margin-top: -60px; /* Pulls it up into the hero */
    position: relative;
    z-index: 10;
}

.prg-stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    padding: 0 20px;
}

.prg-stat-icon {
    width: 55px;
    height: 55px;
    background: rgba(26, 54, 93, 0.06);
    color: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    transition: transform 0.3s ease;
}

.prg-stat-item:hover .prg-stat-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--secondary);
    color: var(--white);
}

.prg-stat-info {
    display: flex;
    flex-direction: column;
}

.prg-stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.prg-stat-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
}

.prg-stat-divider {
    width: 2px;
    height: 50px;
    background: #eef2f6;
}

/* --- Main Content Area --- */
.prg-body {
    padding-top: 60px;
}

.prg-section-block {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    margin-bottom: 30px;
}

    .prg-section-block h2 {
        font-size: 2rem;
        color: var(--primary);
        margin-bottom: 20px;
        position: relative;
        padding-bottom: 15px;
    }

        .prg-section-block h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 4px;
            background: var(--secondary);
            border-radius: 2px;
        }

.prg-lead-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
}

/* --- Modern Skill Chips --- */
.prg-skill-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}

.prg-chip {
    background: #f0f4f8;
    color: var(--primary);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

    .prg-chip:hover {
        background: var(--white);
        border-color: var(--secondary);
        color: var(--secondary);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(184, 134, 11, 0.1);
    }

/* --- Career Cards --- */
.prg-careers-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.prg-career-card {
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

    .prg-career-card:hover {
        background: var(--white);
        box-shadow: 0 15px 30px rgba(0,0,0,0.06);
        transform: translateY(-5px);
        border-color: var(--secondary);
    }

.prg-career-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--secondary);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.prg-career-card h4 {
    color: var(--primary);
    font-size: 1.1rem;
    margin: 0;
}

/* --- Perfect Mobile Responsiveness --- */
@media (max-width: 992px) {
    .prg-stats-overlap {
        flex-direction: column;
        padding: 30px 20px;
        gap: 20px;
    }

    .prg-stat-item {
        width: 100%;
        justify-content: flex-start;
        padding: 0;
    }
    /* Turns the vertical dividers into horizontal lines for mobile */
    .prg-stat-divider {
        width: 100%;
        height: 1px;
        margin: 5px 0;
    }
        
    .prg-hero {
        min-height: 45vh;
    }
}

@media (max-width: 768px) {
    .prg-section-block {
        padding: 30px 20px;
    }

    .prg-lead-text {
        font-size: 1rem;
    }

    .prg-chip {
        font-size: 0.85rem;
        padding: 8px 16px;
    }
}
