main#index {
    margin-top: 0;
}

/* Hero Section */
#hero {
    min-height: 100vh;
    padding-top: 200px;   /* clears the fixed header (the hero is pulled up 110px below) */
    padding-bottom: 60px;
    background: url("../images/backgroundimage.webp")  bottom / cover;
    margin-top: -110px;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    position: relative;
}

/* Hero slideshow (images come from the "slideshow" folder) */
.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slideshow::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 252, 240, 0.6);
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

/* Visitors who prefer less motion get an instant switch instead of a fade */
@media (prefers-reduced-motion: reduce) {
    .hero-slide {
        transition: none;
    }
}

.hero-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 750px;
    width: 100%;
    margin-top: -80px;
}

.hero-title {
    font-size: clamp(30px, 5.5vw, 60px);
    text-wrap: balance;
    font-weight: 700;
    color: #0B3D18;
    line-height: 1.1;
    letter-spacing: -0.5px;
    margin-bottom: -12px;
}

.hero-subtitle {
    font-size: clamp(13px, 2.5vw, 15px);
    font-weight: 600;
    color: #2f2f2f;
    text-shadow: 0 0 8px rgba(255, 252, 240, 0.9);
    margin: 0 0 36px 0;
    margin-top: 20px;
}

.hero-logo {
    width: clamp(180px, 28vw, 200px);
    height: auto;
    margin-bottom: 20px;
    margin-top: -10px;
}

.button-register {
    display: inline-block;
    background-color: #083D16;
    color: #ffffff;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.button-register:hover {
    background-color: #052a0e;

   
} 

/* Main Content */

/* Introduction */

section#about {
    text-align: center;
}

#logo-main-aboutsection{
    width: 110px;
}



.about-section h1 {
    color:#052a0e;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    line-height: 1.2;
}

.about-description {
    max-width: 650px;
    color: #5B665F;
    font-size: 18px;
    line-height: 1.8;
    margin: 0 auto;
}

.about-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.button {
    display: inline-block;
    padding: 10px 32px;
    border: 2px solid #294F3E;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
}

.button-primary {
    background-color: #294F3E;
    color: #FFFFFF;
}

.button-secondary {
    background-color: transparent;
    color: #294F3E;
}

.button-primary:hover {
    background-color: #1C392B;
    border-color: #1C392B;
}

.button-secondary:hover {
    background-color: #EDF3ED;
}

.button:focus-visible {
    outline: 3px solid #A45431;
    outline-offset: 4px;
}

.mascot-caption {
    margin: 28px 0 0;
    color: #667268;
    font-size: 14px;
    line-height: 1.8;
}

.about-introduction {
    padding-top: 56px;
    padding-bottom: 36px;

}

.introduction-heading {
    margin: 0 0 20px;
    color: #083D16;
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    line-height: 1.4;
}

/* Activities */

#activities{
    background-color: #FFF2DC;
    min-height: 100px;
    margin-bottom: 40px;
    padding: 5px 20px 50px;
}


 #activities h1 {
    font-size: 30px;
    padding: 20px;
    text-align: center;
    font-weight: 700;
    color: #083D16;
    margin-bottom: 0p;
    margin-top: 40px;
}

 #activities h2 {
    font-size: 1.5rem;
}

.activity-card {
    background-color: rgb(255, 255, 255);
    border-radius: 24px;
    padding: 18px;
    width: 220px;
    max-height: 340px;
    box-shadow: 0 4px 8px rgb(207, 206, 199);
}

.activity-card-container {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
}

.activity-card-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 4px 8px rgb(228, 228, 228);
}

/* Media Queries */

/* Less than or equal to 1100px */

/* Activities */

@media (max-width: 1100px) {
/* Activities */

    .activity-card-container {
        flex-wrap: wrap;
    }
}

/* Less than or equal to 800px */
@media (width <= 800px) {

/* Hero Image */

div#hero-image {
    margin-top: 70px;
}

/* Introduction */


    .about-description {
        font-size: 16px;
    }

    .about-buttons {
        flex-direction: column;
        align-items: center;
    }

    .button {
     
        max-width: 280px;
    }

    .about-introduction {
        margin-top: 40px;
        padding-top: 28px;
    }
}
    
/* Less than or equal to 600px */
@media (max-width: 600px) {

/* Activities */


    .activity-card-container {
        flex-direction: column;
        align-items: center;
    }
}
/* Our roots in India (home page intro) */
.about-roots {
    margin: 12px auto 0;
    max-width: 640px;
    font-weight: 700;
    color: var(--t-accent-dark, #8a6418);
}
