/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background-color: #f0f8ff; /* Light blue background */
  }
  .logo{
    height: 6vh;
    display: flex;
  }
  /* Navbar */
  nav {
    display: flex;
    justify-content: space-between;
    
    padding: 1rem 2rem;
    background-color: #caf0f8; /* Dark blue */
    color: rgb(14, 4, 4);
    position: relative; /* Add this */
      z-index: 1000;
  }
  
  .logo img {
    height: 6vh;
  }
  
  .menu {
    display: flex;
  
    
  }
  
  .menu a {
    color: rgb(14, 9, 9);
    text-decoration: none;
    padding: 0 1rem;
    font-weight: bold;
   
    background-position-y:0%;
  }
  
  .nav-toggle {
    display: none;
    background: none;
    border: none;
    color: rgb(0, 0, 0);
    font-size: 1.5rem;
  }
  
  /* Hero Section */
  .hero {
    text-align: center;
    padding: 4rem 2rem;
    background-color: #00b4d8; /* Light blue */
    color: white;
  }
  
  .hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
  }
  
  .hero p {
    font-size: 1.2rem;
  }
  
  /* Slideshow */
  .slideshow {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
  }
  
  .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
  }
  
  .slide.active {
    opacity: 1;
  }
  
  .prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 1.5rem;
  }
  
  .prev {
    left: 10px;
  }
  
  .next {
    right: 10px;
  }
  
  /* News Section */
  .news {
    padding: 2rem;
    background-color: #ffffff;
  }
  
  .news-grid {
    display: flex;
  flex-wrap: wrap;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
  }
  
  .news-card {
    background-color: #caf0f8; /* Light blue */
    padding: 1rem;
    width:49%;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .news-card h3 {
    margin-bottom: 0.5rem;
  }
  
  /* Events Section */
  .events {
    padding: 2rem;
    background-color: #f0f8ff;
  }
  
  .events-grid {
    display: flex;
    flex-wrap: wrap;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
  }
  
  .event-card {
    background-color: #caf0f8; /* Light blue */
    padding: 1rem;
    width:46vw;
    min-height: 40vh;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .event-card h3 {
    margin-bottom: 0.5rem;
  }
  
  /* Team Section */
  .team {
    padding: 2rem;
    background-color: #ffffff;
  }
  
  .team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
  }
  
  .team-card {
    background-color: #caf0f8; /* Light blue */
    padding: 1rem;
    border-radius: 10px;
    width:15vw;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
  }
  
  .team-img {
    width: 13vw;
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
  }
  .news-card img{
    height:32vh;
    border-radius: 5px;
  }
  
  .team-info h3 {
    margin-top: 1rem;
  }
  
  /* Contact Section */
  .contact {
    padding: 2rem;
    background-color: #f0f8ff;
  }
  
  .contact-grid {
    display: flex;
    justify-content: center;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
  }
  
  .contact-card {
    
    padding: 1rem;
    width:30vw;
    
     
    text-align: left;
  }
  #con{
    
    display: flex;
    font-size: 15px;
  }
  #con img{
    width:2vw;
    height:2vw;
  }
  .contact-card h3 {
    margin-bottom: 0.5rem;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .slide, .slide.active,.slides,.slideshow {
      
      height: 20vh;
  
    }
    
    .menu {
      display: none;
          flex-direction: column;
          width: 200px; /* Reduced width */
          position: absolute;
          top: 100%; /* Position below the navbar */
          left: 0; /* Align to the left */
          justify-content: left;
          background-color: #f0f8ff; /* Same as navbar */
          z-index: 999; /* Ensure it's below the navbar */
          padding: 0.5rem; /* Reduced padding */
          text-align: left;
          box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
  }
  
  .menu.active {
      display: flex;
  }
  .menu a {
          padding: 0.5rem 1rem; /* Reduced padding */
          text-align: left; /* Align text to the left */
          color: #000000;
          font-family: cursive;
          font-size: 0.9rem; /* Smaller font size */
      }
    .contact-grid{
      display: flex;
      flex-direction: column;
    }
    .contact-card{
      width:100%;
    }
    #con img{
      width: 7vw;
      height: 7vw;
      
    }
    #con{
      font-size: 4vw;;
    }
    .news-card{
      width:100%;
    }
    .news-card img{
      width:70vw;
      height:20vh;
    }
    .logo{
      display: flex;
      justify-content: center;
    }
   
    .logo img{
      height:3vh;
      justify-self: center;
      
    }
    nav {
      height:7vh;
      
    }
    .event-card{
      width:90vw;
    }
    .team-card{
      width: 45%;
    }
    .team-img{
      width:100%;
      height:17vh;
    }
    .menu {
        display: none;
        flex-direction: column;
        width: 100%;
        justify-content: center;
        background-position-y: 0%;
    }
  
    .menu a {
        padding: 1rem;
        text-align: center;
    }
  
    .nav-toggle {
        display: block;
    }
  
    .menu.active {
        display: flex;
    }
  }
  .event{
    background-color: rgb(0, 187, 255);
    border-radius: 5px;
    padding: 5px;
    border: none;

  }
