* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f0fdfa;
  padding-top: 0;
}

header {
  background-color: #008080;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.75rem;
  position: sticky;
  top: 0;
  width: 100%;
  min-height: 66px;
  z-index: 1055;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.14);
}

.header-text {
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  font-size: clamp(1.05rem, 1.55vw, 1.38rem);
  font-weight: 800;
  letter-spacing: 0.4px;
  line-height: 1.2;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: clamp(180px, 24vw, 310px);
}

.logo {
  font-size: 1.5rem;
  font-weight: 600;
}

.text-teal {
  color: #008080 !important;
}

.border-teal {
  border-color: #008080 !important;
}

header nav {
  align-items: center;
  flex-wrap: nowrap;
  gap: 1rem !important;
}

header nav a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.93rem;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.25s ease;
}

header nav a:not(.btn):hover {
  color: #ffe082 !important;
}

@media (max-width: 1199px) {
  header {
    padding: 0.75rem 1rem;
  }
  header nav {
    gap: 0.65rem !important;
  }
  header nav a {
    font-size: 0.85rem;
  }
  header nav a.btn {
    padding: 0.28rem 0.55rem !important;
    font-size: 0.8rem !important;
  }
  .header-text {
    max-width: 205px;
    font-size: 1.05rem;
  }
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  z-index: 1060;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background: white;
  border-radius: 5px;
  transition: all 0.3s ease;
  position: absolute;
}

.hamburger span:nth-child(1) {
  top: 6px;
}

.hamburger span:nth-child(2) {
  top: 13px;
}

.hamburger span:nth-child(3) {
  top: 20px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 13px;
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 13px;
}

.btn-teal {
  color: #fff;
  background-color: #20c997;
  border-color: #20c997;
}

.btn-teal:hover {
  color: #fff;
  background-color: #1aa07a;
  border-color: #199371;
}

.side-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(360px, 100%);
  height: 100vh;
  background-color: #006b6b;
  color: white;
  padding: 5.25rem 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: right 0.35s ease;
  z-index: 1050;
  overflow-y: auto; /* Enable vertical scrolling */
  box-sizing: border-box;
  box-shadow: -8px 0 28px rgba(0, 0, 0, 0.28);
}

.side-menu a {
  color: white;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  padding: 0.25rem 0;
}

.side-menu.active {
  right: 0;
}

.carousel,
.carousel-item,
.carousel-slide-bg {
  height: 100vh;
  min-height: 400px;
}

.carousel-slide-bg {
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.custom-caption {
  background: rgba(0, 0, 0, 0.1);
  padding: 30px;
  border-radius: 12px;
  color: white;
  max-width: 700px;
  text-align: center;
}

.custom-caption h2 {
  font-size: 2.5rem;
  font-weight: 600;
}

.custom-caption p {
  font-size: 1.2rem;
  margin-top: 10px;
}

.animate-on-scroll {
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.35s ease-in-out, box-shadow 0.35s ease-in-out, opacity 0.4s ease-in-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease-in-out;
}

@media (max-width: 991px) {
  nav {
	display: none;
  }
  .carousel-caption.custom-caption {
	padding: 20px;
  }
  .custom-caption h2 {
	font-size: 1.5rem;
  }
  .custom-caption p {
	font-size: 1rem;
  }
}

@media (max-width: 991px) {
  .hamburger {
	display: flex;
  }
}

#myAlert, #myAlert1 {
  display: none;
  position: fixed;
  top: 75px;
  right: 30px;
  min-width: 250px;
  z-index: 1050;
}

#contactForm .is-invalid {
  border-color: #e55353;
  background-color: #fff5f5;
}

#contactForm .is-valid {
  border-color: #2eb85c;
  background-color: #f0fff4;
}

@media (min-width: 992px) {
  .side-menu {
	display: none;
  }
}

.popup-overlay {
  display: none;
  position: fixed;
  inset: 0; /* top:0; right:0; bottom:0; left:0 */
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;   /* horizontal center */
  align-items: center;       /* vertical center */
  z-index: 9999;
  padding: 20px; /* prevents touching edges on small screens */
}

.popup-container {
  background: #ffffff;
  width: 420px;
  max-width: 100%;
  padding: 30px;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  animation: popupFade 0.25s ease-out;
}

.popup-container h2 {
  margin-bottom: 20px;
  text-align: center;
}

.popup-container select,
.popup-container input {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.submit-btn {
  width: 100%;
  padding: 12px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.submit-btn:hover {
  background: #0056b3;
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 15px;
  font-size: 22px;
  cursor: pointer;
}

.h1-glass {
	font-family: 'Poppins', sans-serif;
	font-size: 2.5rem;
	font-weight: 600;
	text-align: center;
	padding: 20px 40px;
	width:100%;
	background: linear-gradient(135deg, rgba(20, 184, 166, 0.85), rgba(251, 146, 60, 0.85));
	color: #ffffff;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
	backdrop-filter: blur(8px);
	display: inline-block;
}

.group-heading {
    background: linear-gradient(90deg, #ff6a00, #ff8c1a);
    color: #ffffff;
    padding: 14px 20px;
    border-left: 6px solid #000000;
    border-radius: 6px;
    font-size: 22px;
    font-weight: 600;
    margin: 40px 0 20px 0;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

@keyframes popupFade {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}