/* Hero Section */
.hero {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern.svg');
    opacity: 0.1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.2;
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Programs Section */
.program-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: var(--gold);
}

.program-icon {
    width: 64px;
    height: 64px;
    background: var(--gold);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.program-thumbnail {
    width: 100%;
    height: 250px;           /* reasonable card height */
    border-radius: 16px;
    overflow: hidden;        /* crop overflow */
    margin-bottom: 1.5rem;
    background: #f8f6f2;     /* light neutral background if no image */
    display: flex;
    align-items: center;
    justify-content: center;
}

.program-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: fill;       /* fills area without distortion */
    border-radius: 16px;     /* match parent radius */
}



.program-icon i {
    font-size: 2rem;
    color: var(--black);
}

.program-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.program-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: var(--gray-700);
}

.program-features li i {
    color: var(--gold);
    margin-right: 0.5rem;
}

/* Stats Section */
.stat-item {
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--gray-400);
}

/* Call to Action */
.cta {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--black);
    position: relative;
}

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

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

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .hero {
        padding: 4rem 0;
    }
    
    .hero-image {
        margin-top: 3rem;
    }
}

@media (max-width: 767.98px) {
    .stat-item {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}