/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #ffffff;

}
.headings {
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.5rem;
  transition: all 0.3s ease;
}
h1,
h2 {
    color: #f28d1f;
    text-align: center;
        font-size: 2.5rem;
}

:root {
    --white: #ffffff;
    --goldish-orange: #f28d1f;
    --dark-bg: #1a1a1a;
    --overlay-dark: rgba(0, 0, 0, 0.7);
}

.accolade p{
    color: #000;
}
/* Navigation Bar - Creative Style */
.hero-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(242, 141, 31, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

.hero-nav.scrolled {
    background: rgba(26, 26, 26, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-logo {
    width: 200px;
    height: auto;
    transition: transform 0.3s ease;
}

.hero-logo:hover {
    transform: scale(1.05);
}

/* Creative Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: rgba(34, 34, 34, 0.8);
    border-radius: 30px;
    padding: 0.8rem 2rem;
    border: 1px solid rgba(242, 141, 31, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
}

.nav-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(242, 141, 31, 0.1), rgba(26, 20, 6, 0.1));
    border-radius: 30px;
    z-index: -1;
}

.nav-menu a {
    position: relative;
    font-size: 1rem;
    font-weight: 500;
    color: var(--white);
    text-decoration: none;
    padding: 0.8rem 1.2rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    z-index: 1;
}

.nav-menu a:hover {
    color: var(--goldish-orange);
    background: rgba(242, 141, 31, 0.1);
    transform: translateY(-2px);
}

/* Dropdown Styles */
.dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.2rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--goldish-orange);
    background: rgba(242, 141, 31, 0.1);
    transform: translateY(-2px);
}

.dropdown-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.8rem;
    margin-left: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.dropdown-toggle:hover {
    background: rgba(242, 141, 31, 0.2);
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 120%;
    left: 0;
    background: rgba(34, 34, 34, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    min-width: 200px;
    border: 1px solid rgba(242, 141, 31, 0.3);
    z-index: 1000;
    flex-direction: column;
    overflow: hidden;
}

.dropdown-menu a {
    color: white;
    padding: 1rem 1.5rem;
    display: block;
    text-align: left;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 0;
}

.dropdown-menu a:hover {
    background: linear-gradient(45deg, rgba(242, 141, 31, 0.2), rgba(26, 20, 6, 0.2));
    color: var(--goldish-orange);
    transform: translateX(5px);
}

.dropdown:hover .dropdown-menu {
    display: flex;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 35px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 4;
    padding: 5px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.hamburger-menu:hover {
    background: rgba(242, 141, 31, 0.1);
}

.hamburger-menu span {
    width: 100%;
    height: 3px;
    background: var(--goldish-orange);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-menu.open span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-menu.open span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.open span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.nav-menu.hidden {
    transform: translateX(100%);
    display: none;
}

.nav-menu.visible {
    transform: translateX(0);
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 20px;
    background: rgba(34, 34, 34, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    padding: 1.5rem;
    gap: 1rem;
    width: 250px;
    border: 1px solid rgba(242, 141, 31, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-nav {
        padding: 1rem;
    }

    .nav-menu {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    .hero-logo {
        width: 160px;
    }

    .dropdown-menu {
        min-width: 180px;
        left: -50px;
    }
}

@media (max-width: 480px) {
    .hero-logo {
        width: 140px;
    }

    .nav-menu.visible {
        width: 220px;
        right: 10px;
    }
}

/* Page content spacing - Add this to ensure content doesn't hide behind fixed nav */
body {
    padding-top: 80px;
    /* Adjust based on your nav height */
}


.history {
    align-items: center;
    padding: 4px;
    margin: 10px;
    text-align: center;
    margin-bottom: 10vh;
}
.history p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #fcfcfc;
}
/* 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);
}