/* Reset and Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
}

/* Navbar Styles */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(248, 248, 248, 0.258); /* Semi-transparent background */
    position: fixed; /* Fix the navbar at the top */
    top: 0;
    left: 0; /* Add left position */
    right: 0; /* Add right position */
    z-index: 1000; /* Ensure it sits above other content */
    padding: 1rem 2rem; /* Add padding for better spacing */
    transition: background-color 0.3s ease; /* Smooth transition */
}

.navbar.scrolled {
    background-color: #388fb1; /* Change to white when scrolled */
}

.logo img {
    width: 150px;
    height: auto; /* Maintain aspect ratio */
    transition: transform 0.3s ease, opacity 0.3s ease; /* Smooth transition for both scale and opacity */
}

.logo img:hover {
    transform: scale(1.1); /* Slightly enlarge the logo */
    opacity: 0.8; /* Slightly decrease opacity for hover effect */
}


.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem; /* Space between links */
}

.nav-links a {
    text-decoration: none;
    color: #FAF9F6; /* Off-White */
    font-family: sans-serif;
    font:bold ;
    font-size: 20px;
    padding: 0.5rem 1rem; /* Add padding for better clickability */
    border-radius: 5px; /* Add slight rounding */
    transition: background-color 0.3s ease, color 0.3s ease; /* Add transitions for hover effects */
}
.nav-links a:hover {
  color: black; 
  text-decoration: underline; /* Add underline on hover */
}



/* Burger Menu for Mobile */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.burger-menu div {
    width: 28px;
    height: 3px;
    background-color: #FAF9F6; /* Off-White */
    margin: 4px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 60%;
       
        background-color:#333; /* Fresh Green */
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        padding-top: 5rem; /* Add padding to accommodate for logo and potential overlap */
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .burger-menu {
        display: flex; /* Show burger menu on mobile */
    }

    /* Burger Menu Animation */
    .burger-menu.active .line1 {
        transform: rotate(-45deg) translate(-5px, 5px);
    }

    .burger-menu.active .line2 {
        opacity: 0;
    }

    .burger-menu.active .line3 {
        transform: rotate(45deg) translate(-5px, -5px);
    }
}

/* Hero Section Styles */
.hero {
    position: relative;
    height: 100vh; 
    background-image: url('../images/j6.jpg'); /* Replace with your image path */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color:  white; /* Off-White for text */
    margin-top: -0%; /* Adjust this value to match the navbar height */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay for contrast */
    display: flex;
    align-items: center;
    justify-content: center;
}


.hero-content {
    text-align: center;
    padding: 2rem;
    z-index: 1; /* Ensure content is above the overlay */
}





.hero h1 {
    font-size: 3.5rem; /* Increased size for prominence */
    margin-bottom: 1rem;
    font-family: sans-serif;
    font:bold ;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* Adds a shadow */
    opacity: 0; /* Initial state: hidden */
    transform: translateY(20px); /* Slight downward shift */
    animation: fadeInUp 1s ease forwards; /* Apply animation */
    animation-delay: 0.5s; /* Delay for h1 */
}

.hero p {
    font-size: 1.3rem; /* Slightly larger for readability */
    margin-bottom: 2rem;
    line-height: 1.6; /* Increased line height for better readability */
    max-width: 600px; /* Limit width for better text alignment */
    margin-left: auto; /* Center text alignment */
    margin-right: auto; /* Center text alignment */
    font-weight: bold; /* Make the heading bold */
    opacity: 0; /* Initial state: hidden */
    transform: translateY(20px); /* Slight downward shift */
    animation: fadeInUp 1s ease forwards; /* Apply animation */
    animation-delay: 1.5s; /* Delay for p */
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem; /* Adjust font size for smaller screens */
    }

    .hero p {
        font-size: 1rem; /* Adjust font size for smaller screens */
        padding: 0 1rem; /* Add some horizontal padding */
    }

  
}

.button-group {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px; /* Space between buttons */
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1.2rem;
    font-weight: bold;
    color: black;
    text-decoration: none;
    border-radius: 5px;
  
}

.btn-primary {
    background: #388fb1;
}

.btn-primary:hover {
    background: whitesmoke;
}

.btn:hover {
    background:#333;
}

/* Media Query for Responsive Design */
@media (max-width: 600px) {
    .btn {
      width: 100%; /* Make buttons full-width on smaller devices */
      text-align: center; /* Center-align text for full-width buttons */
      font-size: 1rem; /* Adjust font size for smaller screens */
    }
  
    .button-group {
      gap: 10px; /* Reduce gap for smaller screens */
    }
  }




.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.about-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 40px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.content-section h1{ font-family: sans-serif;
  font:bold ;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* Adds a shadow */}

.image-section {
    width: 100%;
    max-width: 600px;
}



.content-section {
    width: 100%;
    max-width: 600px;
    text-align: center;
}

.title {
    color: black;
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 20px;
}

.description {
    color: black;
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
}

#map {
  position: sticky; /* Makes the element sticky */
  top: 70px; /* Distance from top when sticking */
  height: 400px; /* Map height */
  width: 100%; /* Full width */
  border: 1px solid #ccc; /* Border styling */
  z-index: 10; /* Lower z-index so it stays below other content */
  margin-top: 0; /* Removed margin-top since we're using top property */


}


/* Media Query for Responsive Design */
@media (max-width: 768px) {
    .about-section {
      padding: 20px; /* Reduce padding for smaller screens */
      gap: 20px; /* Reduce spacing between elements */
    }
  
    .title {
      font-size: 2em; /* Adjust title size */
    }
  
    .description {
      font-size: 1em; /* Adjust description size */
    }
  
    .image-section, .content-section {
      max-width: 100%; /* Allow sections to take full width */
    }
  
    #map {
      height: 300px; /* Adjust map height for smaller screens */
    }
  }
  
  @media (max-width: 480px) {
    .title {
      font-size: 1.8em; /* Further reduce title size */
    }
  
    .description {
      font-size: 0.9em; /* Adjust font size for very small screens */
    }
  
    #map {
      height: 250px; /* Adjust map height for very small screens */
    }
  }
/* Vision and Mission Section */
.vision-mission {
    padding: 50px 20px;
    background: #f9f9f9;
    text-align: center;
}

.vision-mission h2 {
    margin-bottom: 30px;
    color: #333;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* Adds a shadow */
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.card {
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden; /* Ensures image fits within the card */
  padding: 20px;
  width: 400px; /* Adjust width as needed */
  text-align: left;
  position: relative;
  box-shadow: 0 4px 10px rgba(29, 93, 122, 0.8);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

/* Hover effect */
.card:hover {
  transform: translateY(-10px); /* Slight lift on hover */
  box-shadow: 0 6px 15px rgba(29, 93, 122, 1); /* Deeper shadow */
  background-color: #f7faff; /* Light blue background on hover */
}
.card-img {
    width: 100%;
    height: auto;
    box-shadow: 0 4px 10px rgba(29, 93, 122, 0.8);
    margin-bottom: 15px;
    object-fit: cover; 
}

.card h3 {
    color: black; 
    margin-bottom: 10px;
    
}

.card p {
    color: #555;
    line-height: 1.6;
    
}

/* Media Queries for Responsive Design */
@media (max-width: 1024px) {
    .card {
      width: 300px; /* Reduce card width for tablets */
    }
  
    .vision-mission h2 {
      font-size: 1.8rem; /* Adjust heading size */
    }
  }
  
  @media (max-width: 768px) {
    .vision-mission {
      padding: 30px 15px; /* Reduce padding for smaller screens */
    }
  
    .card {
      width: 100%; /* Allow cards to take full width */
      padding: 15px; /* Adjust padding */
    }
  
    .vision-mission h2 {
      font-size: 1.6rem; /* Further adjust heading size */
    }
  }
  
  @media (max-width: 480px) {
    .vision-mission h2 {
      font-size: 1.4rem; /* Smaller font size for small screens */
      margin-bottom: 20px;
    }
  
    .card-container {
      gap: 15px; /* Reduce gap between cards */
    }
  
    .card {
      padding: 10px; /* Adjust padding */
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Reduce shadow for a simpler look */
    }
  
    .card h3 {
      font-size: 1.2rem; /* Smaller heading size in cards */
    }
  
    .card p {
      font-size: 0.9rem; /* Adjust paragraph font size */
    }
  }
/*Footer*/
footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    font-family: Arial, sans-serif;
    font-size: 14px;
  }
  
  .footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .footer-section {
    flex: 1;
    min-width: 200px;
    margin: 10px;
  }
  
  .footer-section p {
    margin: 5px 0;
  }
  
  .footer-section h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #f2f2f2;
    text-transform: uppercase;
  }
  
  .footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer-section ul li {
    margin: 5px 0;
  }
  
  .footer-section ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .footer-section ul li a:hover {
    color: #388fb1;
    cursor: pointer;
  }
  
  .social-icons {
    display: flex;
    gap: 10px;
  }
  
  .social-icons a {
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .social-icons a:hover {
    color: black;
  }
  
  .footer-bottom {
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid #444;
    padding-top: 10px;
    font-size: 12px;
  }
  
  /* Media Query for Small Screens */
@media (max-width: 768px) {
    .footer-container {
      flex-direction: column; /* Stack footer sections vertically */
      align-items: center; /* Center align content */
    }
  
    .footer-section {
      margin: 15px 0; /* Add more spacing between sections */
      text-align: center; /* Center align text */
    }
  
    .social-icons {
      justify-content: center; /* Center align social icons */
      gap: 15px; /* Increase space between icons */
    }
  
    .footer-bottom {
      font-size: 10px; /* Adjust text size for smaller screens */
    }
  }