/* :root {
  --font-family: Arapey;
} */

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

body {
  font-family: "IBM Plex Sans";
  position: relative;
}

.fixed-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 15px;
  width: 40px;
  height: 40px;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100%;
  text-decoration: none;
  font-size: 35px;
  padding: 25px;
  color: #25d366;
  background-color: white;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

nav {
  width: 55%;
  max-width: 736.7px;
  position: fixed;
  padding: 5px 20px;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: white;
  border-radius: 50px;
  z-index: 999;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.nav-hidden {
  opacity: 0;
  pointer-events: none;
}

nav a {
  text-decoration: none;
  color: #000066;
  font-size: 14px;
  transition: transform 0.4s ease;
}

nav a:hover {
  transform: scale(1.1);
  cursor: pointer;
}

.nav-mid {
  display: flex;
  gap: 20px;
}

.nav-right a {
  border: 1px solid #000066;
  padding: 5px 10px;
  color: #000066;
  border-radius: 50px;
  transition: background-color 0.4s ease;
}

.nav-right button {
  color: #000066;
}

.nav-right a:hover {
  background-color: #000066;
  color: white;
}


.menu {
  display: none;
  font-size: 30px;
  border: none;
  background-color: transparent;
  padding: 8px 10px;
  color: #000066;
}


.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: white;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 30px;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.nav-hidden {
  opacity: 0;
  pointer-events: none;
}


.mobile-menu a {
  text-decoration: none;
  font-size: 20px;
  color: #000066;
  transition: transform 0.4s ease;
}

.mobile-menu a:hover {
  cursor: pointer;
  transform: scale(1.1);
}

.mobile-menu .close {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 20px;
  background: transparent;
  border: none;
  color: #000066;
  padding: 10px 15px;
  transition: background-color 0.4s ease, border-radius 0.4s ease, color 0.5s ease;
  cursor: pointer;
}

.mobile-menu .close:hover {
  background-color: #000066;
  color: white;
  border-radius: 50px;
}


.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.text {
  width: 60%;
  margin: 100px auto;
  text-align: center;
}

h1 {
  margin-top: 50px;
  font-weight: 400;
  font-size: 40px;
}

p {
  font-size: 15px;
  margin-top: 20px;
}

.events {
  width: 90%;
  max-width: 1400px;
  margin: 80px auto;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.event1 {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.event1 h2 {
  font-weight: 400;
  font-size: 40px;
  color: #111;
}

.event1 h2 p {
  font-size: 16px;
  max-width: 700px;
  line-height: 1.6;
  margin-top: 8px;
}

.e1-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.e1-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 18px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  transition: transform 0.35s ease, box-shadow 0.35s ease;

}

.e1-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.event1 button {
  align-self: flex-start;
  background-color: #000066;
  color: #fff;
  border-radius: 50px;
  padding: 12px 36px;
  border: none;
  cursor: pointer;
  font-size: 15px;
}

.event1.special {
  padding: 40px;
  border-radius: 25px;
}

#sm1,
.visit-sm,
.aw-sm {
  display: none;
}

.img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  height: 200px;
}

.img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 18px;
  transition: transform 0.35s ease;
}

.img-wrap .img-overlay {
  position: absolute;
  inset: 0;
  padding: 16px;
  display: flex;
  align-items: flex-end;

  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.75),
      rgba(0, 0, 0, 0.1));

  color: #fff;
  font-size: 14px;
  line-height: 1.4;

  opacity: 1;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.img-wrap:hover .img-overlay {
  opacity: 0;
}

.img-wrap:hover img {
  transform: scale(1.05);
}




footer {
  width: 100%;
  margin: 40px auto 0px auto;
  padding: 5px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.foot-left {
  display: flex;
  gap: 5px;
  align-items: center;
}

.foot-left p {
  font-size: 13px;
}

.foot-right {
  display: flex;
  gap: 30px;
}

.foot-right a {
  text-decoration: none;
  color: #000066;
  font-size: 18px;
}

@media screen and (max-width: 768px) {
  nav {
    justify-content: space-between;
    padding: 5px 30px;
    width: 90%;
  }

  .nav-mid {
    display: none;
  }

  .nav-right a {
    display: none;
  }

  .menu {
    display: block;
  }

  .e1-img img {
    width: 500px;
    height: 300px;
  }

  .event1 h2 {
    font-size: 30px;
  }

  .event1 button {
    align-self: center;
  }

  footer {
    padding: 5px 14px;
  }

  .foot-left p {
    display: none;
  }

  .foot-right {
    gap: 20px;
  }

}


@media (min-width: 1200px) {
  .event1 h2 {
    font-size: 42px;
  }

  .e1-grid {
    gap: 24px;
  }

  .e1-grid img {
    height: 220px;
  }
}

@media (min-width: 1500px) {
  .events {
    max-width: 1600px;
  }

  .event1 h2 {
    font-size: 46px;
  }

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

  .e1-grid img {
    height: 240px;
  }
}

@media (min-width: 2000px) {
  .events {
    max-width: 1900px;
  }

  .event1 h2 {
    font-size: 52px;
  }

  .e1-grid {
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
  }

  .e1-grid img {
    height: 280px;
  }
}