/* Programs Hero Section */
.programs-hero {
    position: relative;
    padding: 120px 0 80px;
    background: linear-gradient(180deg, var(--light-blue) 0%, #fff 100%);
    overflow: hidden;
}

.programs-wave {
    position: absolute;
    width: 200%;
    height: 100%;
    background: var(--wave-gradient);
    top: 0;
    left: 0;
}

.wave-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.wave {
    position: absolute;
    width: 200%;
    height: 150px;
    background-repeat: repeat-x;
    transform-origin: center bottom;
    bottom: 0;
    opacity: 0.3;
    z-index: 0;
    left: 0;
}

.wave1 {
    animation: wave1 15s linear infinite;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' opacity='.25' fill='%230066cc'/%3E%3C/svg%3E");
    background-position: 0 bottom;
    background-size: 1200px 150px;
    bottom: 0;
}

.wave2 {
    animation: wave2 20s linear infinite;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' opacity='.25' fill='%23003366'/%3E%3C/svg%3E");
    background-position: 0 bottom;
    background-size: 1200px 150px;
    bottom: 20px;
}

.wave3 {
    animation: wave3 25s linear infinite;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' opacity='.25' fill='%23e6f3ff'/%3E%3C/svg%3E");
    background-position: 0 bottom;
    background-size: 1200px 150px;
    bottom: 40px;
}

.bubbles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 4;
    pointer-events: none;
    overflow: hidden;
}

.bubble {
    position: absolute;
    background: radial-gradient(circle at center, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.2) 100%);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255,255,255,0.5);
    animation: bubble 8s ease-in-out infinite;
}

.bubble:nth-child(1) { width: 40px; height: 40px; left: 10%; animation-delay: 0s; }
.bubble:nth-child(2) { width: 20px; height: 20px; left: 30%; animation-delay: 2s; }
.bubble:nth-child(3) { width: 50px; height: 50px; left: 50%; animation-delay: 4s; }
.bubble:nth-child(4) { width: 30px; height: 30px; left: 70%; animation-delay: 6s; }
.bubble:nth-child(5) { width: 35px; height: 35px; left: 90%; animation-delay: 8s; }

.programs-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.programs-lead {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.programs-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.15);
}

.stat-number {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    color: var(--dark-blue);
    font-weight: 600;
    font-size: 0.9rem;
}

.programs-hero-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 25px 50px rgba(0, 102, 204, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

.programs-hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.programs-hero-image:hover img {
    transform: scale(1.05);
}

.programs-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--gradient-blue);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    animation: floating 3s ease-in-out infinite;
}

.programs-badge i {
    font-size: 1.2rem;
}

.programs-badge span {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Program Cards */
.program-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.15);
}

.program-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.program-card:hover .program-image img {
    transform: scale(1.1);
}

.level-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: white;
    font-weight: 600;
    font-size: 0.8rem;
    z-index: 1;
}

.level-badge.beginner {
    background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
}

.level-badge.intermediate {
    background: linear-gradient(135deg, #FFC107 0%, #FFA000 100%);
}

.level-badge.advanced {
    background: linear-gradient(135deg, #F44336 0%, #D32F2F 100%);
}

.level-badge.special {
    background: linear-gradient(135deg, #9C27B0 0%, #7B1FA2 100%);
}

.program-content {
    padding: 1.5rem;
}

.program-content h3 {
    color: var(--dark-blue);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.program-content p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.program-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.program-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: #555;
}

.program-features li i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

.program-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--light-blue);
    border-radius: 10px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark-blue);
    font-size: 0.9rem;
}

.info-item i {
    color: var(--primary-color);
}

/* Benefits Section */
.benefit-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.15);
}

.benefit-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    color: var(--dark-blue);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

/* CTA Section */
.programs-cta {
    background: var(--gradient-blue);
    color: white;
}

.programs-cta h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.cta-buttons .btn-outline-primary {
    color: white;
    border-color: white;
}

.cta-buttons .btn-outline-primary:hover {
    background: white;
    color: var(--primary-color);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .programs-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .programs-title {
        font-size: 2.5rem;
    }

    .programs-lead {
        font-size: 1.2rem;
    }

    .program-info {
        flex-direction: column;
        gap: 0.5rem;
    }
}
