/* Global Styles */
* {
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}


/* Default font sizes */
h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}
p{
    font-size: 1.1rem;
}

/* Footer */
.footer li,a,p{
    font-size: 0.9rem;
}

.footer-left, .footer-center, .footer-right {
    font-size: 0.9rem !important; 
}


/* Further reduce font sizes for mobile */
@media (max-width: 768px) {
    html {
        font-size: 2vw;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    .about{
        gap: 10px;
    }
    
    .video-container {
        width: 100%;
        height: 50vh; /* Adjust height dynamically */
        overflow: hidden;
        position: relative;
    }

    .video-container video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    .footer a,li,p{
        font-size: 0.9rem;
    }
    .footer-left, .footer-center, .footer-right {
        width: fit-content;
    }
    .about-image img {
        width: auto;
        max-height: 15vh;
        border-radius: 10px;
    }
}

body {
    min-height: 100vh;
    background: white;
    background-size: cover;
    background-position: center;
    padding-top: 30px;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 6rem;
    padding: 40px 50px;
    display: flex;
    align-items: center;
    z-index: 100;
    background: linear-gradient(to bottom, #b3b2b2 0%, #f5f5f5 80%, transparent 100%);

}

/* Logo Styling */
.logo img {
    padding-top: 20px;
    max-width: 28%;
}

/* Navigation Bar */
.navbar {
    padding-top: 20px;
    display: flex;
    gap: 30px; /* Spacing between nav items */
}

.navbar a {
    position: relative;
    color: rgb(0, 0, 0);
    font-weight: 600;
    text-decoration: none;
    margin-left: 40px;
    white-space: nowrap;
}

/* Navigation Hover Effects */
.navbar a:hover {
    filter: drop-shadow(8px 8px 15px rgba(0, 0, 0, 0.6));
}

.navbar a::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 0;
    height: 3px;
    background-color: rgb(0, 0, 0);
    transition: 0.3s;
}

.navbar a:hover::before {
    width: 100%;
}
/* Hide hamburger on larger screens */
.hamburger {
    display: none; /* Hidden by default */
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
    background: none;
    border: none;
    color: rgb(0, 0, 0);
    z-index: 1001;
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease-in-out; /* Smooth rotation */
}

/* Show hamburger only on smaller screens */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .navbar {
        display: none;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.9);
        position: absolute;
        top: 60px;
        right: 20px;
        width: fit-content; /* Adjust width */
        text-align: center;
        border-radius: 10px;
        box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.2);
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
        padding: 15px;
    }

    .navbar.active {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }
    .navbar a {
        position: relative;
        color: rgb(255, 255, 255);
        font-weight: 600;
        text-decoration: none;
        margin-left: 40px;
        white-space: nowrap;
    }
}
/* Rotation effect when active */
.hamburger.active {
    transform: rotate(180deg); /* Rotates 180 degrees when active */
}

/* About Section */
.about {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    max-width: 100%;
    margin-top: 20px;
    padding: 40px;
    padding-bottom: 0;
    text-align: justify;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-weight: bold;
    margin-bottom: 15px;
}

.about-content p {
    color: #555;
    line-height: 1.6;
}

.about-image {
    width: fit-content;
    height: auto;
    flex: 1;
    text-align: center;
}

.about-image img {

    max-width: fit-content;
    height: 45vh;
    border-radius: 10px;
}
/* Styles for About Us Section */
.about-us {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    margin: auto;
    padding: 0px 40px 0px 40px;
    text-align: justify;
}

.content-container {
    flex: 1;
}

.content-container h2 {
    font-weight: 540;
    margin-bottom: 15px;
}

.content-container p {
    color: #555;
    line-height: 1.6;
}

/* Styles for Future Nurture Section */
.future-nuture {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    margin: auto;
    padding: 0 40px;
    text-align: justify;
}

.future-container {
    flex: 1;
}

.future-container h2 {
    font-weight: 540;
    margin-bottom: 15px;
}

.future-container p {
    color: #555;
    line-height: 1.6;
}

/* Styles for Build Future Section */
.build-future {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    margin: auto;
    padding: 0 40px;
    text-align: justify;
}

.build-container {
    flex: 1;
}

.together-img {
    flex: 1;
    text-align: center;
}

.together-img img {
    max-width: 80%; /* Reduce image size */
    height: auto; /* Maintain aspect ratio */
    border-radius: 10px;
}

.build-container h2 {
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center; /* Center align the text */
}

.build-container p {
    color: #555;
    line-height: 1.6;
}

/* Styles for Activities Section */
.activities {
    text-align: center;
    padding: 0 40px;
    padding-bottom: 40px;
}

.activities h2 {
    margin-bottom: 10px;
}

.activity-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

.activity-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 350px;
    height: fit-content;
    text-align: center;
    border: 2px solid #ddd;
    transition: transform 0.3s ease-in-out;
}

.activity-card:hover {
    transform: scale(1.05);
}

.activity-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.activity-content {
    padding: 15px;
}

.activity-content h3 {
    margin-bottom: 10px;
}

.activity-content p {
    color: #555;
}

.video-container {
    width: auto;  /* Set the desired width */
    height: 30dvh; /* Set the desired height */
    overflow: hidden; /* Hide anything outside the container */
    position: relative;
}

.video-container video {
    width: 100%; /* Stretch the video to fill the container */
    height: 100%; /* Stretch the video to fill the container */
    object-fit: cover; /* This ensures the video fills the container, cropping if necessary */
    object-position: center; /* Center the video (optional, change the value if you want a different focus area) */
}

.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}



/** Team Testimonials Section 
.team-testimonials {
    text-align: center;
    padding: 50px 20px; 
}

.team-testimonials h2 {
     2vw;
    margin-bottom: 30px;
}

.testimonial-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.testimonial-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 350px;
    text-align: center;
    border: 2px solid #ddd;
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
}

.testimonial-card:hover {
    transform: scale(1.05); 
}

.testimonial-img {
    width: 100px;
    height: 150px; 
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.testimonial-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

.testimonial-content {
    padding: 10px;
}

.testimonial-content h3 {
     1.3vw;
    margin-bottom: 10px;
}

.testimonial-content p {
     1vw;
    color: #555;
}
**/

/*Animations*/
/* General Hidden State */
.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

/* Fade In for About Section */
.about {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

.about.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Slide from Left for About Us */
.about-us {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

.about-us.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Slide from Right for Academy Section */
.build-future {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

.build-future.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Scale Up for Activities */
.activities {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

.activities.visible {
    opacity: 1;
    transform: scale(1);
}

/*Footer*/
.footer {
    background: #f5f5f5;
    padding: 0px 20px;
    font-family: 'Poppins', sans-serif;
    text-align: center;
}

.footer-container {
    max-width: 100vw;
    margin: 0 auto;
}


/* Bottom Section */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    border-top: 1.5px solid black;
    padding-top: 20px;
}

/* Left Section */
.footer-left {
    text-align: left;
    max-width: 300px;
}

.company-name {
    font-weight: bold;
    margin-bottom: 10px;
}

.social-icons a {
    display: inline-block;
    margin-right: 10px;
}

.social-icons img {
    width: 1.4vw;
    height: auto;
}

.copyright {
    color: #666;
    margin-top: 10px;
}

/* Center Section */
.footer-center ul {
    list-style: none;
    padding: 0;
    padding-top: 16px;
    margin: 0;
}

.footer-center ul li {
    margin-bottom: 5px;
}

.footer-center ul li a {
    text-decoration: none;
    color: black;
}

/* Right Section */
.footer-right {
    text-align: right;
    max-width: 250px;
}

.footer-right a {
    text-decoration: none;
    color: black;
}