* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}
body a {
  color:#0000ff;
}


html, body {
    width: 100%;
    overflow-x: hidden;
    background-color: #FFFFFF;
    color: #363435;
}

/* Header Section */
header {
    display: flex;
   padding:0 6rem;
   position: fixed;
   position: fixed;
    justify-content: space-between;
    align-items: center;
    background-color: #FFFFFF;
    width: 100%;
    z-index: 1000;
}

/* Logo */
.logo img {
    height: 140px;
    width: 300px;
}

/* Navigation */
.nav-links {
    list-style: none;
    display: flex;
    gap: 3rem;
}


.nav-links a {
    text-decoration: none;
    color: #363435;
    font-size: 21px;
    font-weight: bold;
    position: relative;
    padding-bottom: 10px;
}

.nav-links a:hover {
    color: #E52C25;
}



/* HERO SECTION */
.hero {
    position: relative;
    width: 100%;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    margin-top: 80px;
    background: url('images/hero.jpg') no-repeat center center;
    background-size: cover;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.99), rgba(14, 142, 65, 0.5));
    z-index: 1; 
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
    text-align: center;
}


.hero-content h1 {
    font-size: 3rem;
    font-weight: bold;
}

.hero-content p {
    font-size: 1.8rem;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .hero {
        height: 60vh;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }
}

.about-section {
    width: 80%;
    margin: 0 auto;
    padding: 50px 0;
  }
  
  
   .about-section h2 {
    color: #E52C25; 
    font-size: 2rem; 
    margin-top: 30px; 
    margin-bottom: 40px; 
    text-align: center;
    position: relative;
  }
  .about-section h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -30px;
  margin-bottom: 10px;
    width: 100%;
    height: 2px;
    background-color: #E52C25; /* Red underline */
  }
  
   .about-section p {
    font-size: 1.2rem;
    color: #000000;
    margin-top: 40px;
    margin-bottom: 40px;
    text-align: justify;
    
  }
  
  .section-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    
  }
  .section-item {
    position: relative;
    width: 48%;
    background-size: cover;
    background-position: center;
    height: 300px;
    padding: 20px;
    color: white;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 20px;
    
  }
  
  .section-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.9;
    border-radius: 8px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.999), rgba(14, 142, 65, 0.59));
    z-index: 2;
  }
  
  .section-item h2 {
    font-size: 1.8rem;
    font-weight: bold;
    color:#FFFFFF;
    z-index: 3;
    margin-top: 40px;
  }
  .section-item h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -30px;
  margin-bottom: 10px;
    width: 100%;
    height: 2px;
    background-color: #ffffff; /* Red underline */
  }
  
  .section-item p, .section-item ul {
    font-size: 1.09rem;
    z-index: 3;
    color: white;
    position: relative;
  }
  
  ul {
    list-style-type: none;
    font-size: 1.rem;
    padding: 0;
  }
  
  ul li {
    margin-bottom: 10px;
  }
  
  .mission {
    background-image: url('images/mission.jpg'); 
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat;
   
  }
  
  .philosophy {
    background-image: url('images/philosophy.jpg');
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat; 
  }
  
  .goals {
    background-image: url('images/goals.jpg'); 
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat; 
  }
  
  .vision {
    background-image: url('images/vision.jpg');
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;
  }
  

/* Event Gallery Section */
.event-gallery {
    text-align: center;
    padding: 50px 0px;
}

.event-gallery h2 {
    text-align: center;
    font-size: 2rem;
    color:#E52C25;
    margin-bottom: 50px;
}

/* Grid Layout */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px;
    justify-content: center;
    align-items: center;
    max-width: 100vw;
    margin: 0 auto;
    padding: 0 20px;
}

/* Gallery Card */
.gallery-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: 0.5s ease-in-out;
}

/* Overlay Effect */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0); 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    opacity: 0;
    transition: 0.5s ease-in-out;
    padding: 20px;
}

.gallery-card:hover .overlay {
    background: rgba(0, 0, 0, 0.1); 
    opacity: 1;
}

.gallery-card:hover .gallery-image {
    transform: scale(1.1); 
}


/* Responsive Design */
@media (max-width: 768px) {
    .gallery-container {
        grid-template-columns: repeat(2, 1fr); 
    }
}

@media (max-width: 480px) {
    .gallery-container {
        grid-template-columns: repeat(1, 1fr); 
    }
}



.contact-section {
    padding: 90px 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.999), rgba(14, 142, 65, 0.7));

 
}

.contact-container {
    display: flex;
    justify-content: center; 
    align-items: center; 
    margin: 50px auto; 
    gap: 30px; 
    flex-wrap: wrap; 
    max-width: 1100px;
}


.contact-section h2 {
    font-size: 2.5rem;
    text-align: center;
    color: #ffffff;
    margin-bottom: 15px;
}


.contact-section p {   
    font-size: 1.2rem;
    text-align: center;
    color: #fff;
    margin-bottom: 10px;
}
.contact-section a{
  color: #FFFFFF;
}

