/* Custom styles that extend Tailwind */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");
:root {
  --primary: #017c39;
  --bg-color: #ffffff;
  --text-color: #4b5563; /* gray-600 equivalent */
  --card-radius: 16px;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 10px 15px rgba(0, 0, 0, 0.15);
}

body {
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
  background-color: white;
  position: relative;
}
header {
  position: sticky;
  top: 0px;
  z-index: 50;
  background: linear-gradient(35deg, #017c39, #017c39);
}
/* Custom scrollbar */

/* Animation classes */
.animate-float {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}
/* Header Style */
.nav-link {
  position: relative;
  font-size: 0.8rem;
}
.nav-link:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: white;
  transition: width 0.3s ease;
}
.nav-link:hover:after {
  width: 100%;
}
.mobile-menu {
  position: relative;
  width: 100%;
  padding: 0px;
}
.menu-option {
  background-color: var(--primary);
  position: absolute;
  top: 0.9rem;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}
.menu-option.open {
  padding: 1rem;
  max-height: 500px;
}
/* Active link style - highlighted with underline */
.nav-link.active {
  font-weight: bold;
  color: #fff !important;
}

.nav-link.active:after {
  width: 100% !important; /* Full underline on active page */
}

/* Optional: Slightly brighter on hover even when active */
.nav-link:hover {
  opacity: 0.9;
}

/* Mobile active item (optional enhancement) */
#mobile-menu a.active {
  background: rgba(255, 255, 255, 0.15) !important;
  border-radius: 8px;
  font-weight: 600;
}
/* Footer */
.footer-link:hover {
  color: white;
  transform: translateX(5px);
}
.social-icon {
  transition: all 0.3s ease;
}
.social-icon:hover {
  transform: translateY(-3px);
  background-color: rgba(255, 255, 255, 0.2);
}

/* ------------------------- */
/*        HERO SECTION       */
/* ------------------------- */
.hero {
  background-image: url("/assets/design-images/top-8-2024-princ.jpg");
  
  .container {
    position: relative;
    height: 100%;
    align-content: center;
  }
}

.hero-section {
  position: relative;
  background: var(--primary);
  background-image: url("/assets/design-images/top-8-2024-princ.jpg");
  text-align: center;
}
.hero,
.hero-section {
  color: white;
  position: relative;
  padding: 9rem 0.5rem; /* Equivalent to py-32 */
  background-size: 180% 100%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.hero-content {
  position: relative;
  max-width: 98%;
  margin: 0 auto;
  z-index: 10;
}

.hero-content h1 {
  font-size: 1.5rem; /* Mobile */
  font-weight: 700;
  margin-bottom: 0rem;
}

.hero-content p {
  font-size: 0.9rem;
}

.hero-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4rem;
  background: #ffffff;
  transform: skewY(-2deg);
  z-index: 10;
}

/* ----- Move Up Button ----- */
.moveup {
  position: fixed; /* floating */
  right: 20px; /* distance from right edge */
  bottom: 20px; /* distance from bottom edge */
  width: 50px;
  height: 50px;
  align-content: center;
  border-radius: 50%;
  display: none;
  place-items: center;
  background: var(--primary);
  color: white;

  i {
    display: flex;
    margin: auto;
  }
}

.moveup:active {
  transform: scale(0.9);
}
