* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Quicksand', sans-serif;
}
html,
body {
  height: 100vh;
  width: 100vw;
  overflow-x: hidden;
}

.main {
  height: 100vh;
  width: 100vw;
}

section {
  height: 51%;
  background-image: url(/image/download.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-color: transparent;
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.nav {
  height: 12vh;
  width: 1300px;
  background-color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 2rem;
  margin-top: 2rem;
  padding: 0 2rem;
}

.nav a {
  text-decoration: none;
  color: black;
  font-size: 1.2rem;
  font-family: "Quicksand", sans-serif;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-links > a,
.nav-links .dropdown > a {
  color: black;
  text-decoration: none;
  font-size: 1.2rem;
}

/* Dropdown - default hidden */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  min-width: 150px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 100;
  border-radius: 0.5rem;
  padding: 0.5rem 0;
  flex-direction: column;
}

.dropdown-content a {
  padding: 0.5rem 1rem;
  color: black;
  font-size: 0.95rem;
  white-space: nowrap;
}

.dropdown-content a:hover {
  background-color: #f0f0f0;
  border-radius: 0.25rem;
}

/* Toggle Button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: black;
}

/* Responsive Mobile View */
@media (max-width: 1080px) {
  .menu-toggle {
    display: block;
    font-size: 2.5rem;
    margin-left: auto;
    color: black;
  }

  .nav {
    flex-direction: row;
    justify-content: space-between;
    height: auto;
    padding: 1rem;
    width: 100%;
    border-radius: 0;
    background-color: white;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #2b174d; /* match image bg */
    flex-direction: column;
    padding: 1rem 0;
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a,
  .dropdown-header a {
    font-size: 1rem;
    color: white;
    padding: 1rem;
    width: 100%;
    border-bottom: 1px solid #56416d;
  }

  .dropdown {
    width: 100%;
  }

  .dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 1rem;
  }

  .dropdown-toggle-btn {
    background: white;
    border: none;
    padding: 0.3rem 0.8rem;
    font-size: 1rem;
    border-radius: 0.25rem;
    cursor: pointer;
  }

  .dropdown-content {
    position: static;
    display: none;
    background-color: #775ca7;
    padding-left: 2rem;
  }

  .dropdown.open .dropdown-content {
    display: flex;
    flex-direction: column;
  }

  .dropdown-content a {
    color: rgb(5, 5, 5);
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-bottom: none;
  }

  /* img {
    max-width: 130px;
    height: auto;
  } */
}

/* Desktop Hover Dropdown */
@media (min-width: 1081px) {
  .dropdown:hover .dropdown-content {
    display: flex;
    flex-direction: column;
  }
}

.home {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 80px;
  padding: 0 1rem;
  box-sizing: border-box;
}

.sub_home {
  width: 100%;
  max-width: 1300px;
  display: flex;
  align-items: center;
  justify-content: start;
  flex-wrap: wrap;
}

/* Left text + buttons */
.button_div {
  width: 50%;
  padding: 1rem;
  box-sizing: border-box;
}

.button_div h2 {
  color: #291549;
  font-size: 3rem;
  margin: 1rem 0;
  font-family: "Quicksand", sans-serif;
}

.button_div span {
  font-size: 2rem;
  font-weight: 200;
  margin-bottom: 0.5rem;
  font-family: "Quicksand", sans-serif;
}

.button_div span a {
  text-decoration: none;
  color: black;
}

/* Tablets */
@media (max-width: 1024px) {
  .button_div h2 {
    font-size: 2.5rem;
  }
  .button_div span {
    font-size: 1.5rem;
  }
}

@media (max-width: 1080px) {
  .home {
    height: auto;
    margin-top: 40px;
    padding: 1rem;
  }

  .sub_home {
    flex-direction: column;
    width: 100%;
  }

  .button_div {
    width: 100%;
  }

  .button_div {
    text-align: center;
  }

  .button_div h2 {
    font-size: 2.2rem;
    margin-top: 1rem;
  }

  .button_div span {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .home {
    padding: 0.5rem;
  }

  .sub_home {
    flex-direction: column;
    gap: 1rem;
  }

  .button_div {
    width: 100%;
    padding: 0;
  }

  .button_div h2 {
    font-size: 1.8rem;
  }

  .button_div span {
    font-size: 1.2rem;
  }
}

/* Main gallery section */
.gallrey_sec {
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
  box-sizing: border-box;
}

/* Container for all gallery sets */
.sub_gallrey_div {
  width: 100%;
  max-width: 1300px;
  padding: 0 20px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Navigation buttons */
.board_nav {
  text-align: center;
  margin-bottom: 20px;
}

.board_nav button {
  padding: 15px 28px;
  margin: 0 6px;
  cursor: pointer;
  background-color: #291549;
  color: white;
  font-size: 1.3rem;
  border: 1px solid #333;
  border-radius: 5px;
  transition: background 0.3s;
}

.board_nav button:hover {
  background-color: #432b7a;
}

/* Image sets (initially hidden) */
.board_sets {
  width: 100%;
}

.board_grid {
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}


.board_grid.active {
  display: grid;
}

/* Individual images */
.board_member img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  transition: transform 0.3s;
  cursor: pointer;
}

.board_member img:hover {
  transform: scale(1.03);
}

/* Lightbox overlay */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 15, 15, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.lightbox.active {
  display: flex;
}

/* Lightbox inner container */
.lightbox-inner {
  width: auto;
  max-width: 90vw;
  max-height: 90vh;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
}

/* Lightbox image */
.lightbox-inner img {
  max-width: 80vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}

/* Close icon */
.close-lightbox {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 2.5rem;
  color: white;
  cursor: pointer;
  z-index: 999;
}

/* Swiper controls */
.swiper-button-next,
.swiper-button-prev {
  color: white;
}

/* Ensure Swiper slides are centered */
.lightbox-swiper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-swiper .swiper-wrapper {
  height: 100%;
  display: flex;
  align-items: center;
}

.lightbox-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
  .board_nav button {
    font-size: 1rem;
    padding: 10px 18px;
    margin-bottom: 5px;
  }

  .lightbox-inner img {
    max-width: 95vw;
    max-height: 80vh;
  }
}

@media (max-width: 480px) {
  .board_nav button {
    font-size: 0.9rem;
    padding: 8px 12px;
  }

  .gallrey_sec {
    padding: 20px 0;
  }
}





.footer {
  height: 60vh;
  width: 100vw;
  background-color: #291549;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sub_footer {
  height: 100%;
  width: 1300px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.footer_con-one {
  height: 80%;
  width: 30%;
}

.footer_con-one img {
  margin-top: 30px;
}

.footer_con-one p {
  margin-top: 30px;
  font-size: 1.3rem;
  line-height: 1.9rem;
  color: white;
  font-family: "Quicksand", sans-serif;
}

.media {
  margin-top: 40px;
  height: 5vh;
  display: flex;
  align-items: center;
  gap: 15px;
}

.media a {
  color: white;
  font-size: 2rem;
  text-decoration: none;
}

.footer_con-two {
  height: 80%;
  width: 30%;
  display: flex;
  align-items: start;
  justify-content: center;
  flex-direction: column;
}

.footer_con-two h3 {
  color: white;
  font-size: 2rem;
  margin-bottom: 20px;
  font-family: "Quicksand", sans-serif;
}

.footer_con-two a {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 25px;
  text-decoration: none;
  font-family: "Quicksand", sans-serif;
}

.footer_con-three {
  height: 80%;
  width: 30%;
}

.footer_con-three h3 {
  color: white;
  font-size: 2rem;
  margin-bottom: 20px;
  font-family: "Quicksand", sans-serif;
}

/* Contact Sections */
.add_div_one,
.add_div_two,
.add_div_three,
.add_div_four {
  margin-bottom: 15px;
}

.add_div_one i,
.add_div_two i,
.add_div_three i,
.add_div_four i {
  font-size: 1.5rem;
  color: white;
}

.add_div_one a,
.add_div_two a,
.add_div_three a,
.add_div_four a {
  font-size: 1.8rem;
  color: white;
  text-decoration: none;
  font-family: "Quicksand", sans-serif;
  display: flex;
  align-items: center;
  gap: 10px;
}

.add_sub_div {
  margin-left: 40px;
  margin-right: 40px;
}

.add_sub_div p {
  font-size: 1.2rem;
  color: white;
  margin-top: 5px;
  font-family: "Quicksand", sans-serif;
}

.add_sub_div p a {
  font-size: 1.3rem;
  color: white;
  text-decoration: underline;
}

/* Footer Responsive Styles */
@media (max-width: 1300px) {
  .sub_footer {
    width: 95%;
  }
}

@media (max-width: 992px) {
  .sub_footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    padding: 2rem 1rem;
    height: auto;
  }

  .footer {
    height: auto;
    padding: 2rem 0;
  }

  .footer_con-one,
  .footer_con-two,
  .footer_con-three {
    width: 100%;
  }

  .footer_con-one img {
    width: 160px;
  }

  .footer_con-one p,
  .footer_con-two a,
  .footer_con-two h3,
  .footer_con-three h3,
  .add_sub_div p,
  .add_div_one a,
  .add_div_two a,
  .add_div_three a,
  .add_div_four a {
    font-size: 1.1rem;
  }

  .media a {
    font-size: 1.5rem;
  }

  .add_sub_div {
    margin-left: 20px;
    margin-right: 20px;
  }

  .footer_con-three {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .footer_con-three a {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .add_sub_div p {
    margin-top: 5px;
  }
}

@media (max-width: 576px) {
  .footer_con-one p,
  .footer_con-two a,
  .footer_con-two h3,
  .footer_con-three h3,
  .add_sub_div p,
  .add_div_one a,
  .add_div_two a,
  .add_div_three a,
  .add_div_four a {
    font-size: 1rem;
  }

  .add_sub_div {
    margin-left: 10px;
    margin-right: 10px;
  }

  .media {
    gap: 10px;
  }

  .media a {
    font-size: 1.3rem;
  }

  .footer_con-one img {
    width: 140px;
  }

  .add_sub_div p a {
    font-size: 1rem;
  }
}

.copy {
  background-color: #291549;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: "Quicksand", sans-serif;
  font-size: 1.2rem;
  height: auto;
  padding: 1rem 0.5rem;
  text-align: center;
  flex-wrap: wrap;
  line-height: 1.5;
}

/* Medium devices (tablets, 768px - 992px) */
@media (max-width: 992px) {
  .copy {
    font-size: 1.1rem;
    padding: 0.8rem 1rem;
  }
}

/* Small devices (phones, < 768px) */
@media (max-width: 768px) {
  .copy {
    font-size: 1rem;
    padding: 0.8rem 1rem;
  }
}

/* Extra small phones (iPhone SE, 375px and down) */
@media (max-width: 480px) {
  .copy {
    font-size: 0.9rem;
    padding: 0.6rem 0.5rem;
  }
}
