main {
    max-width: 1300px;
    margin: 0 auto;
}

/* Hero */
.hero {
    background: linear-gradient(rgba(0,0,0,0.33), rgba(0,0,0,0.53)), url('/Images/little-champ.jpg') center/cover no-repeat;
    text-align: center;
    padding: 120px 30px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    isolation: isolate;
}

.hero h1 {
    font-size: clamp(3.2rem, 8vw, 4.8rem);
    color: white;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 12px rgba(0,0,0,0.4);
    animation: fadeInDown 1.2s ease-out;
}

.hero p {
    font-size: clamp(1.6rem, 5vw, 2.4rem);
    color: white;
    max-width: 800px;
    margin: 0 auto 40px;
    animation: fadeInUp 1.2s ease-out 0.4s both;
}

/* About */
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}

.about-text h2 {
    font-size: 2.8rem;
    color: #e74c3c;
    margin-bottom: 25px;
    animation: fadeInLeft 1s ease-out;
    text-align: center;
}

.about-text p {
    font-size: 1.15rem;
    margin-bottom: 20px;
    animation: fadeInLeft 1s ease-out 0.3s both;
    text-align: center;
}

.about-image img {
    width: 100%;
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    transition: transform 0.6s ease;
    animation: fadeInRight 1s ease-out both;
}

.about-image img:hover {
    transform: scale(1.04) rotate(2deg);
}

/*Slideshow*/
.gallery-section {
    width: auto;
    background: white;
}
.container h2{
  font-size: 2.8rem;
    color: #e74c3c;
    margin-bottom: 25px;
    animation: fadeInLeft 1s ease-out;
    text-align: center;
}


.carousel-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    max-height: 320px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
}

.carousel-img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: center;
}

.carousel-caption {
    background: rgba(15,43,74,0.65);
    border-radius: 8px;
    padding: 0.6rem;
    font-size: 1rem;
}
/* Programs */
.programs {
    text-align: center;
    margin-bottom: 100px;
}

.programs h2 {
    font-size: 2.8rem;
    color: #e74c3c;
    margin-bottom: 50px;
    animation: fadeIn 1.2s ease-out;
}

.program-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    justify-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.program-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0,0,0,0.09);
    transition: all 0.4s ease;
    animation: zoomIn 1s ease-out both;
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.program-card:nth-child(2) { animation-delay: 0.2s; }
.program-card:nth-child(3) { animation-delay: 0.4s; }

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 22px 45px rgba(0,0,0,0.15);
}

.program-card img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.program-card .content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 32px 28px 40px;
    text-align: center;
}

.program-card h3 {
    font-size: 1.85rem;
    color: #2c3e50;
    margin-bottom: 16px;
}

.program-card p {
    color: #7f8c8d;
    font-size: 1.1rem;
}

/* Animations */
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-60px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp   { from { opacity: 0; transform: translateY(60px);  } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInLeft { from { opacity: 0; transform: translateX(-80px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeInRight{ from { opacity: 0; transform: translateX(80px);  } to { opacity: 1; transform: translateX(0); } }
@keyframes zoomIn     { from { opacity: 0; transform: scale(0.88); } to { opacity: 1; transform: scale(1); } }
@keyframes fadeIn     { from { opacity: 0; } to { opacity: 1; } }

/* Responsive */
@media (max-width: 900px) {
    .about { grid-template-columns: 1fr; gap: 40px; }
    .hero   { padding: 80px 20px; }
    .hero h1 { font-size: clamp(2.8rem, 10vw, 3.8rem); }
    .hero p  { font-size: clamp(1.4rem, 6vw, 2rem); }
    .program-card img { height: 260px; }
}

@media (max-width: 768px) {
    .mySlides img { height: 360px; }
    .text { font-size: 13px; padding: 8px 12px; }
    .prev, .next { font-size: 16px; padding: 12px; }
    .dot { height: 12px; width: 12px; margin: 0 4px; }
    .program-card { max-width: 100%; }
    .program-card img { height: 240px; }
    .program-card h3 { font-size: 1.65rem; }
}