* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
}


/* Overlay background */
.overlay {
  position: fixed;


  top: 8%;
  left: 0;

  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

/* Modal box */
.popup {
  position: relative;
  background: white;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  animation: zoomIn 0.5s ease;
}

.popup img {
  width: 100%;
  height: auto;
  display: block;

}

/* Close button */
.close-btn {
  position: absolute;
  top: 8px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  color: black;
  cursor: pointer;
}

.close-btn:hover {
  color: red;
}

@keyframes zoomIn {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}








.navbar {
  /* background: #0078cc; */
  color: #fff;
  /* padding: 5px; */
  display: flex;
  /* flex-wrap: wrap; */
  align-items: center;
  justify-content: space-between;
  position: relative;
  height: 110px;

}

.navbar h1 {
  color: black;
}

.logo {
  text-align: center;
  font-size: 18px;
  line-height: 1.4;
  color: white;
  display: flex;
  /* gap: 4vh; */
  align-items: center;
  justify-content: space-evenly;
  /* margin: 5px 100px; */


}

.logo img {
  width: 8%;
  height: 8%;
  border-radius: 5px;
}

.logo2 {


  display: flex;

  align-items: center;
  justify-content: space-evenly;

}

.logo2 img {
  display: block;
  width: 70%;
  height: 15%;
  border-radius: 5px;
}

.icon {
  align-items: center;
  /* background-color: red; */

}

.fa-brands {
  margin: 10px;


}

.logo-line1 {
  display: block;
  font-size: 12px;
  letter-spacing: 5px;
}

.logo-line2,
.logo-line3 {
  display: block;
  font-size: 22px;
  letter-spacing: 6px;
}

.logo-subtext {
  display: block;
  font-size: 10px;
  color: #fff;
  letter-spacing: 2px;
  margin-top: 4px;
  text-transform: uppercase;
}


.nav-menu {
  justify-content: space-evenly;

  background-color: #0078cc;
  display: flex;
  align-items: center;

}

.nav-menu ul {
  margin: auto;
  display: flex;
  list-style: none;
  text-align: center;
  gap: 25px;
}

.nav-menu ul li a {
  color: white;
  text-decoration: none;
  letter-spacing: 2px;
  font-size: 13px;
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
  transition: color 0.3s ease;
  justify-content: space-evenly;

}

/* Smooth underline hover + active */

.nav-menu {
  height: 50px;

  padding: 10px 0;
  text-align: center;
  position: relative;
  justify-content: space-evenly;
  position: sticky;
  top: 0;
  overflow: hidden;

}

.nav-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
}

.nav-menu ul li {
  margin: 0 10px;
  position: relative;
}

.Dist h6 {
  color: black;
  font-size: 20px;
}

.nav-menu ul li a {
  text-decoration: none;

  font-size: 1rem;
  position: relative;
  padding: 5px 0;
  font-weight: bolder;
  justify-content: space-evenly;
  margin: 10px 20px;
}

.nav-menu ul li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0%;
  background-color: #d6c393;
  opacity: 0;
  transition: width 0.4s ease, opacity 0.4s ease;
}

.nav-menu ul li a:hover::after,
.nav-menu ul li a.active::after {
  width: 100%;
  opacity: 1;
}

.nav-menu a:hover {
  color: black;
}

.nav-menu ul li a.active {
  color: #d6c393;
}

/* ACTION BUTTONS */
.btn.gold {
  position: relative;
  background-color: #0078cc;
  border: none;
  padding: 3px 12px;
  color: rgb(255, 255, 255);
  letter-spacing: 2px;
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
  transition: color 0.4s ease;
  z-index: 1;
  font-weight: bolder
}

/* Animation layer */
.btn.gold::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0;
  background: black;
  z-index: -1;
  transition: height 0.4s ease;
  border-radius: 10px;
}

/* On hover, reveal the background from bottom to top */
.btn.gold:hover::before {
  height: 100%;
}

/* Optional: Change text color on hover */
.btn.gold:hover {
  color: #f3bd5a;
  /* goldish text color */
}


/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger span {
  width: 20px;
  height: 2px;
  background: #a98b52;
}

/* MOBILE MENU */
.mobile-menu {
  display: none;
  background: #2c2c2c;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  padding: 20px;
  z-index: 20;
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-menu ul li a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
  transition: color 0.3s ease;
}

/* Smooth underline for mobile links */
.mobile-menu ul li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0%;
  background-color: #d6c393;
  opacity: 0;
  transition: width 0.4s ease, opacity 0.4s ease;
}

.mobile-menu ul li a:hover::after,
.mobile-menu ul li a.active::after {
  width: 100%;
  opacity: 1;
}

.mobile-menu ul li a.active {
  color: #d6c393;
}

.mobile-menu a:hover {
  color: #a98b52;
}



/* footer */
.footer {
  background-color: #000;
  color: white;
  padding-top: 40px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0 30px;
  max-width: 1300px;
  margin: auto;
}

.footer-column {
  flex: 1 1 200px;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
}

.footer-column a {
  margin: 8px 0;
  font-size: 14px;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.footer-column a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 1px;
  background: #ffffff;
  bottom: 0;
  left: 0;
  transition: 0.3s ease;
}

.footer-column a:hover::after {
  width: 100%;
}

.footer-column a:hover {
  color: #a98b52;
  text-decoration: none;
}

.footer-info {
  flex: 1 1 100%;
  margin: 20px 0;
  max-width: 500px;
}

.footer-info p {
  font-size: 14px;
  line-height: 1.6;
}

.footer-info a {
  color: white;
  text-decoration: underline;
  word-break: break-word;
}

.footer-info a:hover {
  color: yellow;
}

.footer-logo {
  width: 80px;
  margin-bottom: 15px;
}

.footer-bottom {
  border-top: 1px solid #ccc;
  margin-top: 20px;
  padding: 15px 30px;
  font-size: 13px;
  background-color: #006494;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  color: white;
}

.footer-bottom a {
  color: white;
  text-decoration: underline;
  transition: 0.3s;
}

.footer-bottom a:hover {
  color: #d0f0ff;
}

.designed-by {
  font-style: italic;
}

.carousel-inner {
  width: 100%;
  height: 80vh;
  /* Or any height you prefer */
  overflow: hidden;
}

.carousel-item {
  height: 100%;
}

.carousel-img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  /* Keeps aspect ratio, fills box, crops if needed */
  object-position: center;
  /* Center the image if cropped */
  display: flex;
}

#img22 {
  width: 100%;
  height: 100%;
  object-fit: fill;
  /* Keeps aspect ratio, fills box, crops if needed */
  object-position: top;
  /* Center the image if cropped */
  display: block;

}






/* index */


.team-section {
  display: flex;
  flex-wrap: wrap;

  justify-content: center;
  padding: 60px 180px;
  background-color: #fff;
  gap: 40px;
}

.team-member {
  background: #ffffff;
  text-align: center;
  max-width: 200px;
  width: 100%;
  height: 45vh;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-member img {
  background-color: #9ad2fa;
  padding: 10px;
  width: 100%;
  height: 70%;
  /* display: block; */
  object-fit: initial;
}

.team-member h3 {
  margin: 15px 0 5px;
  font-size: 18px;
  color: #0077cc;
  text-transform: uppercase;
}

.team-member p {
  font-size: 14px;
  padding: 0 10px 15px;
  color: #555;
}




.bottom-text {
  font-size: 18px;
  line-height: 1.6;
  color: #1d1d5f;
}

.bottom-text .emoji {
  font-size: 22px;
  margin-left: 5px;
}




.committee-title {
  text-align: center;
  padding: 40px 10px 20px;
}

.committee-title h1 {
  font-size: 36px;
  color: #1daee3;
}

.member {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 40px auto;
  max-width: 1100px;
  padding: 20px;
  gap: 30px;
  animation: fadeInUp 1s ease;
}

.member.reverse {
  flex-direction: row-reverse;
}

.image img {
  width: 280px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.info {
  max-width: 600px;
}

.info h2 {
  color: #0078cc;
  font-size: 26px;
}

.info h4 {
  color: #333;
  font-size: 18px;
  margin-top: 4px;
}

.info p {
  margin: 12px 0;
  color: #555;
  line-height: 1.5;
}

.info a {
  color: deeppink;
  text-decoration: none;
  font-weight: bold;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.excommitee-container {
  max-width: 1200px;
  margin: 0 auto;
  background: #f8f5f0;
  padding: 40px 20px;
  border-radius: 25px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

/* Profile Section */
.profile-section {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 40px 5%;
  line-height: 1.7;
  animation: fadeIn 1.2s ease;
}

/* Text Area */
.profile-text {
  flex: 1 1 600px;
}

.profile-text h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0073ce;
  margin-bottom: 10px;
}

.profile-text h1 small {
  font-size: 1.2rem;
  color: #00b0f0;
  font-weight: 500;
  margin-left: 10px;
}

.profile-text h2 {
  font-size: 1.5rem;
  color: #1a237e;
  font-weight: 600;
  margin-bottom: 20px;
}

.profile-text p {
  font-size: 1rem;
  margin-bottom: 15px;
  text-align: justify;
}

/* Image Area */
.profile-image {
  flex: 1 1 350px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-image img {
  width: 100%;
  max-width: 350px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* chair */

.iw-section {
  /* padding: 40px 20px; */
  background-color: #f6f6f6;
  color: #333;
}

.iw-wrapper {
  display: flex;
  flex-wrap: wrap;
  background-color: #f0f2f5;
  border-radius: 12px;
  padding: 30px;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.iw-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

/* Card Styles */
.iw-card {
  flex: 1 1 300px;
  padding: 10px;
  max-width: 400px;
}

.iw-left-card {
  text-align: left;
}

.iw-right-card {
  text-align: left;
}

.iw-name {
  color: #0074c1;
  font-size: 24px;
  margin-bottom: 4px;
}

.iw-position {
  font-size: 20px;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 8px;
}

.iw-left-card p {
  text-align: justify;
}

.iw-right-card p {
  text-align: justify;
}

.iw-theme {
  color: green;
  font-style: italic;
  font-weight: bold;
}

.iw-highlight {
  color: #0074c1;
  font-weight: bold;
}

/* Image Box */
.iw-image-container {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.iw-image {
  max-width: 250px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Links */
.iw-links {
  margin-top: 15px;
}

.iw-links a {
  text-decoration: none;
  color: #002b5c;
  font-weight: bold;
  margin: 0 4px;
  position: relative;
  display: inline-block;
}

.iw-links a:hover::after {
  width: 100%;
}

.iw-links a::after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: #0074c1;
  transition: width 0.3s;
}

/* Margarette Golding */

.hero-section {
  padding: 40px 20px;
  background-color: rgb(234, 233, 233);
  border-radius: 25px;
}

.hero-content {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.text-content {
  flex: 1;
  min-width: 300px;
  padding-right: 20px;
}

.text-content h1 span {
  color: #007cc3;
  font-size: 2.5rem;
  font-weight: 700;
}

.text-content h2 {
  font-size: 1.5rem;
  color: #0c0d3b;
  font-weight: 600;
  margin: 10px 0;
}

.text-content p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.7;
}

.image-content {
  flex: 1;
  min-width: 250px;
  text-align: center;
}

.image-content img {
  width: 50%;
  max-width: 150px;
  height: auto;
  filter: brightness(90%) contrast(110%);
}

/* Events */

.gallery-section {
  padding: 40px 20px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.gallery-item {
  background: white;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.caption {
  background: #d6c393;
  color: #222;
  font-weight: bold;
  text-align: center;
  padding: 15px 10px;
  font-size: 1.1rem;
}

/* contact */


.mts-contact-section {
  padding: 20px 20px;
  text-align: center;
  margin: 0;
  background-color: #fcf5f6;
  color: #1f1f1f;
}

.mts-heading {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.mts-subheading {
  font-size: 20px;
  font-weight: 600;
  color: #1d3b35;
  line-height: 1;
  /* margin-bottom: 40px; */
}

.mts-contact-wrapper {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1300px;
  margin: auto;
}

.mts-map,
.mts-image {
  flex: 1 1 550px;
  max-width: 100%;
  height: 420px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mts-image img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
  border: 6px solid #fff;
  border-radius: 12px;
  transition: transform 0.4s ease;
}

.mts-image:hover img {
  transform: scale(1.10);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Animation (on scroll) */
.mts-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.mts-animate.animated {
  opacity: 1;
  transform: translateY(0);
}