/* ✅ Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body, html {
  overflow-x: hidden;
  background: #f4f4f4;
  min-height: 100vh;
}

/* ✅ Navbar */
.navbar {
  width: 100%;
  background: #0d1b2a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 40px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
  height: 70px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 17px;
  position: relative;
  transition: 0.3s;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: -5px;
  background: #ffcc00;
  transition: 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

/* ✅ Right icons */
.right-icons a {
  color: #fff;
  font-size: 22px;
  margin-left: 15px;
  transition: 0.3s;
}

.right-icons a:hover {
  color: #ffcc00;
}

/* ✅ Dropdown */
.dropdown {
  position: relative;
}
.dropdown-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #0c0b0b;
  min-width: 200px;
  border-radius: 6px;
  z-index: 1000;
  flex-direction: column;
}
.dropdown-menu a {
  padding: 10px 15px;
  color: #eee;
  text-decoration: none;
  display: block;
}
.dropdown-menu a:hover {
  background: #201d1d;
}
@media (min-width: 768px) {
  .dropdown:hover .dropdown-menu {
    display: block;
  }
}

/* ✅ Mobile Navbar */
@media (max-width: 992px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    background: #0d1b2a;
    flex-direction: column;
    width: 100%;
    padding: 15px 0;
    z-index: 10000;
  }
  .nav-links.show {
    display: flex;
  }
  .menu-toggle {
    display: block;
    font-size: 22px;
    cursor: pointer;
    margin-right: auto;
    order: -1;
  }
  .right-icons {
    margin-left: auto;
  }
}
@media (min-width: 993px) {
  .menu-toggle {
    display: none;
  }
}

/* ✅ Content spacing */
.content {
  margin-top: 80px;
  padding: 40px;
  text-align: center;
}



   /*---------------------------------------------- first page------------------------------- */
   .gopal-gallery-section {
    padding: 30px;
    font-family:Georgia, 'Times New Roman', Times, serif;
    background-color: #f9f9f9;
    text-align: center;
    margin-top: 70px;
    max-width: 1800px;
  }
  
  .gallery-header h2 {
    font-size: 30px;
    color: #222;
    font-family: Georgia, 'Times New Roman', Times, serif;
  }
  
  .gallery-header p {
    font-size: 18px;
    color: #a93737;
    margin-top: 5px;
    font-family: Georgia, 'Times New Roman', Times, serif;
  }
  
  .black-line {
    border: none;
    border-top: 2px solid black;
    margin: 15px auto 25px;
    width: 60%;
  }
  
 
  .gallery-navigation {
    display: flex;
    justify-content: center;
    gap: 500px;              /* ✅ space between both buttons */
    margin-bottom: 20px;
    flex-wrap: wrap;        /* ✅ wrap on small screens */
  }
  
  /* ✅ Button Styling */
  .nav-btn {
    padding: 10px 20px;
    background-color: rgb(61, 43, 140);
    color: white;
    border: none;
    font-size: 18px;
    cursor: pointer;
    border-radius: 8px;
    min-width: 150px;
    transition: background 0.3s;
  }
  
  .nav-btn:hover {
    background-color: rgb(45, 30, 110);
  }
  
  /* ✅ Responsive for small screens */
  @media (max-width: 600px) {
    .nav-btn {
      min-width: 120px;
      font-size: 16px;
      padding: 10px 14px;
    }
  
    .gallery-navigation {
      gap: 20px;  /* Slightly reduce gap on smaller screens */
    }
  }
  
  
  
  
  
  .image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
  }
  
  .image-grid img {
    width: 100%;
    height: auto;
    border: 2px solid #313030;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  /* 🔍 Hover Effect */
  .image-grid img:hover {
    transform: scale(1.05); /* slight zoom */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* soft shadow */
    border-color: black;
  }


    /*--------------------------------------- section 2----------------------------------------------------- */
    .convener-section {
      padding: 40px 20px;
      background-color: #f8f8f8;
      text-align: center;
      
    }
    
    .convener-heading {
      font-size: 30px;
      color: rgb(61, 43, 140);
     margin-top: 50px;
     font-family: Georgia, 'Times New Roman', Times, serif;
    }
    
    .convener-content {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 50px;
      max-width: 1000px;
      margin: auto;
      flex-wrap: nowrap; /* ✅ Keeps left-right layout */
      text-align: left;
      
     
    }
    
    .convener-image {
      flex-shrink: 0;
      text-align: center;
    }
    
    .convener-image img {
      width: 300px;
      max-width: 100%;
      border-radius: 10px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    .convener-name {
      margin-top: 10px;
      font-size: 18px;
      font-weight: bold;
      color: #19181c;
      font-family: Georgia, 'Times New Roman', Times, serif;
    }
    
    .convener-text {
      flex: 1;
      font-size: 18px;
      line-height: 1.6;
      color: #333;
      margin-bottom: 100px;
      font-family: Georgia, 'Times New Roman', Times, serif;
    }
    
    /* ✅ Responsive for small screens */
    @media (max-width: 768px) {
      .convener-content {
        flex-direction: column;
        text-align: center;
      }
    
      .convener-text {
        text-align: center;
        padding: 0 10px;
      }
    }

      /*-------------------------------- images section--------------------------------------------------- */
      .members-section {
        padding: 60px 20px;
        background-color: #ffffff;
        text-align: center;
      }
      
      .members-heading {
        font-size: 30px;
        color: rgb(61, 43, 140);
        margin-bottom: 40px;
        line-height: 1.4;
        font-family: Georgia, 'Times New Roman', Times, serif;
      }
      
      .members-heading small {
        font-size: 18px;
        color: #8e0d0d;
        font-family: Georgia, 'Times New Roman', Times, serif;
      }
      
      .members-grid {
        display: flex;
        flex-direction: column;
        gap: 40px;
        align-items: center;
      }
      
      .members-row {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
      }
      
      .member-card {
        width: 150px;
        animation: fadeInUp 1s ease both;
      }
      
      .member-card img {
        width: 100%;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        transition: transform 0.3s ease;
      }
      
      .member-card img:hover {
        transform: scale(1.05);
      }
      
      .member-card p {
        margin-top: 10px;
        font-size: 18px;
        font-weight: 500;
        color: #333;
        font-family: Georgia, 'Times New Roman', Times, serif;
      }
      
      /* Responsive */
      @media (max-width: 768px) {
        .member-card {
          width: 45%;
        }
      }
      @media (max-width: 480px) {
        .member-card {
          width: 90%;
        }
      }

      .member-card {
        opacity: 0;
        transform: translateY(-40px); /* Slide from top */
        transition: opacity 0.6s ease, transform 0.6s ease;
        will-change: transform, opacity;
      }
      
      .member-card.animate {
        opacity: 1;
        transform: translateY(0);
      }
      /*------------------------------------------------Footer section--------------------------------------*/
.footer-section {
  width: 100%;
  background: #eaeaea;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 10%;
  font-family: "Roboto", "Open Sans", sans-serif;
  font-size: 16px;
  color: #333;
}

.footer-section a {
  text-decoration: none;
  color: #007bff;
  font-weight: 500;
}

@media (max-width: 768px) {
  .footer-section {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    padding: 15px;
  }
}
