body {
  font-family: 'Open Sans', sans-serif;
}

.hero {
  background-image: url('./images/img1.jpg');
  background-size: cover;
  background-position: center;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: #1f3a4d;
}

.hero-overlay {
  background: rgba(255, 255, 255, 0.85);
  padding: 3rem;
  border-radius: 12px;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 600;
}

.hero p {
  font-size: 1.25rem;
  margin-top: 1rem;
}

.card h5 {
  color: #00a1a7;
}

footer {
  background-color: #1f3a4d;
  color: white;
  padding: 2rem 0;
}

.navbar-brand {
  font-weight: 600;
  color: #5b6c7d !important;
}

.nav-link {
  color: #5b6c7d !important;
  font-weight: 600;
}

.nav-link:hover {
  color: #00a1a7 !important;
}

.dancing-script {
  font-family: "Dancing Script", cursive;
  font-optical-sizing: auto;
}

.dosis {
  font-family: "Dosis", sans-serif;
  font-optical-sizing: auto;
}

.text-color {
  color: #292934;
}

.object-fit-contain {
  object-fit: contain;
}

.modal-body {
  height: 100vh;
}

.modal-body .carousel-item {
  height: 100%;
}

#gmp-map {
  width: 100%;
  height: 400px;
}

.video-wrapper {
  position: relative;
  display: inline-block;
  max-height: 200px;
  /* adjust height as you like */
  overflow: hidden;
}

.video-thumbnail {
  height: 100%;
  width: auto;
  display: block;
  border-radius: 10px;
}

.play-button-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  /* So clicks pass through to the wrapper */
  user-select: none;
  transition: transform 0.3s ease;
}

.video-wrapper:hover .play-button-overlay {
  transform: translate(-50%, -50%) scale(1.1);
  cursor: pointer;
}

/* .video-wrapper {
  max-width: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
} */

/* .video-wrapper video {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  display: block;
} */

.custom-modal {
  display: none;
  /* start hidden */
  position: fixed;
  z-index: 1050;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);

  /* Remove display: flex from here! */

  justify-content: center;
  align-items: center;
  padding: 1rem;
}

/* When modal is shown, add this class */
.custom-modal.show {
  visibility: visible;
  opacity: 1;
}

.modal-content {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content video {
  width: auto;
  height: auto;
  max-height: 100vh;
  max-width: 100vw;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  background: black;
}

.close-modal {
  position: absolute;
  top: 1rem;
  /* Changed from -20px */
  right: 1rem;
  /* Changed from -20px */
  font-size: 2rem;
  color: white;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.7);
  padding: 8px 12px;
  border-radius: 50%;
  z-index: 1100;
}

.language-button {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.language-button img {
  width: 30px;
  height: auto;
  border-radius: 3px;
}

.hidden {
  display: none !important;
}

.language-button::after {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 5px;
  padding: 5px 10px;
  background-color: #333;
  color: #fff;
  border-radius: 4px;
  font-size: 0.9em;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  pointer-events: none;
}

.language-button:hover::after {
  opacity: 1;
  visibility: visible;
}

.language-button::after {
  content: attr(data-tooltip);
}

/* .carousel-inner {
  height: 60vh;
  background-color: rgba(235, 230, 224, 255);
}

.carousel-inner .carousel-item {
  height: 100%;
  text-align: center;
}

.carousel-inner .carousel-item img {
  max-height: 100%;
  width: auto;
  margin: 0 auto;
  object-fit: contain;
  display: block;
} */
.main-carousel .carousel-inner {
  height: 60vh;
  background-color: rgba(235, 230, 224, 255);
}

.main-carousel .carousel-item {
  height: 100%;
  text-align: center;
}

.main-carousel .carousel-item img {
  max-height: 100%;
  width: auto;
  margin: 0 auto;
  object-fit: contain;
  display: block;
}

