/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #000;
    
}

h1, h2 {
    color: #f28d1f;
    text-align: center;
}


/* Hero Section */
.hero-section {
    position: relative;
    height: 30vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero-section video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content .section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--goldish-orange);
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--goldish-orange);
}
.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin: 0 auto;
}


.history{
    align-items: center;
    padding:4px;
    margin: 10px;
    text-align: center; 
    margin-bottom: 10vh;
}

/* Mission & Vision Section */
.mission-vision-container {
    margin-bottom: 10vh;
    display: flex;
    justify-content: space-around;
    gap: 2rem; /* Space between the cards */
    flex-wrap: wrap; /* Wrap cards on smaller screens */
}

.mission-vision-container .card {
    flex: 0 1 calc(30% - 2rem);
    background: #f28d1f;
    color: white;
    padding: 2.5rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-height: 300px;
    transform: translateX(-50%); 
    opacity: 0;
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}

.mission-vision-container .card.visible {
    transform: translateX(0); /* Bring the card into view */
    opacity: 1;
}


.mission-vision-container .card.visible {
    transform: translateX(0); /* Slide to position */
    opacity: 1; /* Fully visible */
}


.card h3 {
    margin-bottom: 1rem;
   
}


/* Team Section */
.team-container {
    display: flex;
    justify-content: center; /* Center all cards */
    gap: 2rem; /* Space between cards */
    flex-wrap: wrap; /* Wrap cards to the next row */
    margin-bottom: 10vh;
}

.team-card {
    flex: 1 1 calc(25% - 4rem); /* 4 cards per row on desktop */
    max-width: calc(25% - 4rem); /* Ensure consistent max-width */

    text-align: center;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: transform 0.3s, opacity 0.5s;
    position: relative;
    overflow: hidden; /* Clip bio on hover */
    opacity: 0; /* Hidden initially for animation */
    transform: translateY(50px); /* Slide-in initial state */
}

.team-card.visible {
    opacity: 1; /* Fully visible */
    transform: translateY(0); /* Slide to position */
}

.team-card img {
    width: 160px; /* Smaller size for mobile */
    height: 160px;
    border-radius: 50%;
    margin-bottom: 1rem;
    object-fit: contain; /* Ensure proper cropping */
    border: 3px solid var(--goldish-orange); /* Add a consistent border */
}

.team-card .bio {
    position: absolute;
    bottom: -150%; /* Push further down */
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 1rem;
    text-align: center;
    transition: bottom 0.4s ease;
    font-size: 0.8rem;
    line-height: 1.4;
    z-index: 10;
}

.team-card:hover .bio {
    bottom: 0;
}

.team-card:hover .bio {
    bottom: 0; /* Reveal bio on hover */
}







/* Mobile Screens */

/* Mission & Vision */
@media (max-width: 768px) {
    .mission-vision-container {
        flex-direction: column; /* Stack cards vertically */
        align-items: stretch; /* Ensure cards take up full width of the container */
        margin: 0 auto; /* Center the container itself */
        width: 100%; /* Make the container take up full width */
    }

    .mission-vision-container .card {
        flex: 1 1 auto; /* Allow the card to grow and shrink naturally */
        width: 80%; /* Use a percentage for the card width */
        max-width: 500px; /* Optional: Set a max-width for large screens */
        margin: 0 auto 1rem; /* Center each card and add spacing below */
        transform: translateX(0); /* Remove horizontal offset for mobile */
        opacity: 1; /* Ensure visibility */
    }
}


/* Team */
@media (max-width: 768px) {
    .team-card {
        flex: 1 1 calc(50% - 2rem); /* 2 cards per row */
        max-width: calc(50% - 2rem);
    }
    .team-card img {
        width: 160px; /* Adjust image size */
        height: 160px;
        object-fit: contain;
    }
    .team-card .bio {
        font-size: 0.85rem; /* Smaller bio text */
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .team-card {
        flex: 1 1 calc(100% - 2rem); /* 1 card per row */
        max-width: calc(100% - 2rem);
    }
    .team-card img {
        width: 80px;
        height: 80px;
    }
}

/* Awards(Accolades) */
/* General Styles */
.accolades-section {
    text-align: center;
    padding: 40px 20px;
    background: #f9f9f9;
}

.accolades-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

/* Carousel Container */
.carousel-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
}

/* Carousel Track */
.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

/* Individual Accolade */
.accolade {
    min-width: 100%;
    background: white;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    text-align: center;
    position: relative;
    transition: height 0.3s ease-in-out;
    margin: 0 auto;
}

.accolade img {
    width: 320px;
    max-width: 100%;
    height: auto;
    margin: 0 auto -50px auto;
    display: block;
}

/* Award Titles */
.accolade h3 {
    font-size: 1.2rem;
    margin: 10px 0;
    color: #333;
}

.accolade h4 {
    font-size: 1rem;
    color: #777;
}
@media screen and (max-width: 768px) {
    .accolade {
        margin: 0 auto;
        width: 90%; /* Adjust width for mobile */
    }
    
    .accolade img {
        width: 80%; /* Make image smaller on mobile */
        max-width: 280px; /* Set maximum width */
    }
}
/* Extra Text - Hidden by Default, Expands Down */
.extra-text {
    display: none;
    overflow: hidden;
    font-size: 0.9rem;
    color: #444;
    margin-top: 10px;
    transition: max-height 0.5s ease-in-out;
    max-height: 0;
}

/* Read More Button */
.read-more-btn {
    background: #ff9800;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s;
    display: inline-block;
}

.read-more-btn:hover {
    background: #e68900;
}

/* Navigation Buttons */
.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    padding: 10px;
    font-size: 1.5rem;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
}

.prev-btn { left: 10px; }
.next-btn { right: 10px; }

.prev-btn:hover, .next-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}
