/* General Reset & Global Styles */
body, html {
  overflow-x: hidden;
}

@media (max-width: 576px) {
  .logo-img {
    max-height: 80px !important;
  }

  .section-heading::after,
  .booking-section .section-heading::after {
    width: 100%;
    height: 2px;
  }

  .btn-book-now {
    font-size: 1rem;
    padding: 0.5rem 1.5rem;
  }
}

/* Logo */
.logo-img {
  height: auto;
  max-height: 160px;
  width: auto;
  display: block;
}

/* Service Icons */
.service-icon {
  height: 125px;
  width: auto;
  display: inline-block;
}

/* Navbar Hamburger Animation */
.navbar-toggler .navbar-toggler-icon {
  display: none;
}

.navbar-toggler.custom-toggler {
  padding: 0.25rem;
  border: none;
  background: transparent;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  margin-left: 10px;
}

.toggler-icon {
  width: 24px;
  height: 2px;
  background-color: #000;
  transition: all 0.3s ease-in-out;
  border-radius: 1px;
}

.navbar-toggler.collapsed .toggler-icon:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.navbar-toggler.collapsed .toggler-icon:nth-child(2) {
  opacity: 0;
}
.navbar-toggler.collapsed .toggler-icon:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.custom-toggler .navbar-toggler-icon {
  background-image: none;
  width: 25px;
  height: 2px;
  background-color: #000;
  position: relative;
  transition: all 0.3s ease-in-out;
}
.custom-toggler .navbar-toggler-icon::before,
.custom-toggler .navbar-toggler-icon::after {
  content: "";
  position: absolute;
  width: 25px;
  height: 2px;
  background-color: #000;
  transition: all 0.3s ease-in-out;
}
.custom-toggler .navbar-toggler-icon::before {
  transform: translateY(-8px);
}
.custom-toggler .navbar-toggler-icon::after {
  transform: translateY(8px);
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background-color: transparent;
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
  transform: rotate(45deg);
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
  transform: rotate(-45deg);
}

/* Navbar Links + Dropdown */
.navbar-nav .nav-link {
  position: relative;
  color: rgba(0,0,0,0.8);
  transition: color 0.3s ease;
  padding-bottom: 0.25rem;
  text-decoration: none !important;
  font-size: 1.1rem;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #198754;
  transition: width 0.3s ease, left 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}

.navbar-nav .nav-link.active {
  color: #198754 !important;
}

.navbar-nav .dropdown:hover .dropdown-menu {
  display: block;
  opacity: 1;
  visibility: visible;
}

.navbar-nav .dropdown:hover > .nav-link::after {
  width: 100%;
}

.navbar-nav .dropdown-toggle::after {
  display: none !important;
}

/* Section: Welcome */
.welcome-section {
  background-color: #fff;
  padding: 6rem 0;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}
.welcome-section.reveal {
  opacity: 1;
  transform: translateY(0);
}
.welcome-section .container {
  max-width: 900px;
}

.section-heading {
  font-weight: 700;
  position: relative;
  display: inline-block;
  text-align: center;
}
.section-heading::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: 110%;
  height: 4px;
  background-color: #198754;
  transition: transform 1.2s ease 0.6s;
}
.section-heading.animate-underline::after {
  transform: translateX(-50%) scaleX(1);
}

/* Section: Services */
.services-section {
  background-color: #198754;
  color: #fff;
  padding: 6rem 0;
}

.services-section .section-heading::after {
  background-color: #fff;
  transition: transform 1.2s ease 0.5s;
}

.services-section .service-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.services-section .service-hover:hover {
  transform: translateY(-5px);
  background-color: transparent;
  box-shadow: none;
}

.services-section .service-hover img {
  transition: transform 0.3s ease;
}
.services-section .service-hover:hover img {
  transform: scale(1.15);
}
.services-section img {
  border: none !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Section: Book Now */
.booking-section {
  background-color: #198754;
  color: #fff;
  padding: 6rem 0;
  text-align: center;
}
.booking-section .container {
  max-width: 700px;
  padding: 4rem;
  margin: 0 auto;
}
.booking-section .section-heading {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}
.booking-section .section-heading::after {
  background-color: #fff;
}
.booking-section .section-heading.animate-underline::after {
  transform: translateX(-50%) scaleX(1);
}

.btn-book-now {
  background-color: #fff;
  color: #198754;
  border: 2px solid #fff;
  padding: 0.75rem 2rem;
  font-size: 1.25rem;
  font-weight: 600;
  border-radius: 50px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  margin-top: 1rem;
}
.btn-book-now:hover {
  background-color: #f8f9fa;
  color: #145c32;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  transform: scale(1.05);
}

/* enable transforms on the book-now button */
.btn-book-now {
  display: inline-block;     /* allow transforms/animations */
  transition: transform 0.2s ease;  /* smooth return */
}

/* trigger the jump on hover */
.btn-book-now:hover {
  animation: jump 0.4s ease;
}

/* already defined jump keyframes (you can reuse these) */
@keyframes jump {
  0%, 100%   { transform: translateY(0); }
  50%        { transform: translateY(-8px); }
}


/* Animation Utilities */
.fade-in-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-section.reveal {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-button {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease 0.6s, transform 0.8s ease 0.6s;
}
.reveal .fade-in-button {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-service {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 0.6s ease forwards;
  animation-play-state: paused;
}
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Team Section */
.team-section {
  background-color: #fff;
  padding: 6rem 0;
}

.team-section .container {
  max-width: 1100px;
}

/* Cards (rows) */
.team-section .team-card {
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Typography */
.team-section h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.team-section p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

/* Links */
.team-section a {
  font-weight: 500;
  transition: color 0.3s ease;
}

.team-section a:hover {
  color: #145c32;
  text-decoration: underline;
}

/* Image Styling */
.team-section img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive Fixes */
@media (max-width: 767.98px) {
  .team-section .team-card {
    padding: 1.5rem;
  }

  .team-section h3 {
    font-size: 1.5rem;
  }
}
/* Global link color override */
a {
  color: #198754;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

a:hover,
a:focus {
  color: #145c32;
  text-decoration: underline;
}

/* make the FB icon “jump” on hover */
.social-icons img {
  display: inline-block;           /* enable transforms */
  transition: transform 0.2s ease;  /* smooth return */
}
.social-icons img:hover {
  animation: jump 0.4s ease;       /* run our keyframe */
}

/* keyframes for the jump */
@keyframes jump {
  0%, 100%   { transform: translateY(0); }
  50%        { transform: translateY(-8px); }
}

/* remove underline on hover/focus for all links */
a:hover,
a:focus {
  text-decoration: none;
}

.fade-in-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-section.reveal {
  opacity: 1;
  transform: translateY(0);
}

/* === Dropdown active/highlight override === */
.dropdown-menu .dropdown-item.active,
.dropdown-menu .dropdown-item:active,
.dropdown-menu .dropdown-item:focus {
  background-color: var(--primary) !important;    /* your green */
  color: #fff !important;
}

/* also make hover in the menu use your hover-green */
.dropdown-menu .dropdown-item:hover {
  background-color: var(--primary-hover) !important;

  color: #fff !important;
}

/* make Book Now look like a CTA button */
.navbar-nav .book-now-btn {
  background-color: var(--primary);
  color: #fff !important;
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  margin-left: 1rem;
  transition: background-color 0.2s, transform 0.2s;
}


/* ==================================================
   “Book Now” button special styling
   ================================================== */
.nav-booking-btn {
  padding: 0.5rem 1.25rem;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.nav-booking-btn:hover,
.nav-booking-btn:focus {
  background-color: #145c32 !important; /* darker green */
  transform: translateY(-3px);
  text-decoration: none !important;
}

/* keep dropdown caret white */
.nav-booking-btn.dropdown-toggle::after {
  border-top-color: #fff;
}

/* ensure active state stays green */
.nav-booking-btn.active {
  background-color: #145c32 !important;
}


/* ——————————————————————————————————————
   Dropdown-item hover: only transition bg,
   force instant white text so it never vanishes
   —————————————————————————————————————— */
.navbar-nav .dropdown-menu .dropdown-item {
  transition: background-color 0.2s ease !important;
}

.navbar-nav .dropdown-menu .dropdown-item:hover,
.navbar-nav .dropdown-menu .dropdown-item:focus {
  background-color: var(--primary-hover) !important;
  color: #145c32 !important;
  text-decoration: none !important;
}
