.top-bar {
  background: #111827;
  /* Dark Header */
  color: #fff;
  padding: 8px 0;
  font-size: 14px;
  text-align: center;
  position: absolute;
  /* Overlay */
  top: 0;
  width: 100%;
  z-index: 60;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* ================================
   NAVBAR
================================ */
.navbar {
  background: linear-gradient(135deg, #34d399 0%, #059669 100%);
  /* Green Gradient */
  border-bottom: none;
  display: flex;
  justify-content: center;
  padding: 10px 0;
  position: absolute;
  /* Overlay */
  top: 36px;
  /* Below top-bar */
  width: 100%;
  z-index: 50;
  overflow: visible;
  /* Waves moved to hero */
}


.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

.logo-img {
  height: 80px;
  width: 80px;
  /* Ensure strictly square for perfect circle */
  object-fit: contain;
  /* Or cover, depending on the image content, but contain is safer for logos */
  border-radius: 50%;
  /* Make it round */
}

/* NAV LINKS */
.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  font-size: 16px;
  font-weight: 600;
  transition: max-height 0.3s ease;
  align-items: center;
}

.nav-links li {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-links li a {
  color: #fff;
  /* White Text */
  text-decoration: none;
  transition: color 0.3s, transform 0.3s ease, text-shadow 0.3s ease;
  /* Added transform and shadow transitions */
  padding: 5px 0;
  display: inline-block;
  opacity: 0.9;
  position: relative;
  /* Added for pseudo-element positioning */
}

.nav-links li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: #A7F3D0;
  /* Smooth Green color for underline */
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.nav-links li a:hover {
  color: #fff;
  opacity: 1;
  transform: translateY(-3px);
  /* 3D Lift effect */
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  /* Subtle shadow for 3D depth */
}

.nav-links li a:hover::after {
  width: 100%;
}

.nav-links li.dropdown>a {
  display: flex;
  align-items: center;
  gap: 4px;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 160px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  list-style: none;
  padding: 5px 0;
  z-index: 10;
  border-top: 3px solid #059669;
}

.dropdown:hover>.dropdown-menu,
.dropdown-menu:hover,
.dropdown:focus-within>.dropdown-menu {
  display: block;
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 15px;
  color: #374151;
  text-decoration: none;
  transition: background 0.3s;
}

.dropdown-menu li a:hover {
  background: #A7F3D0;
  color: #374151;
  /* Keep it grey/dark for visibility */
  transform: none;
  /* No 3D lift for dropdown items */
  text-shadow: none;
  /* No shadow for dropdown items */
}

/* Also ensure the underline doesn't appear for dropdown items */
.dropdown-menu li a::after {
  display: none;
}

/* Call button */
.call-btn {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  background: #fff;
  /* White button */
  color: #059669;
  /* Green text */
  border: none;
  padding: 10px 18px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 14px;
  transition: background 0.3s ease, color 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.call-btn:hover {
  background: #f0f0f0;
  color: #047857;
}

/* HAMBURGER ICON */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background: #fff;
  /* White Hamburger */
  border-radius: 2px;
}

/* ======================
   MOBILE MODAL (Side Drawer)
====================== */
.mobile-modal {
  display: block;
  /* Always block, but hidden via visibility/opacity for transition */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  /* Modern frosted glass effect */
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Open State for Overlay */
.mobile-modal.active {
  opacity: 1;
  visibility: visible;
}

.mobile-modal-content {
  position: fixed;
  top: 0;
  right: 0;
  /* Slide from Right */
  width: 85%;
  max-width: 320px;
  height: 100%;
  background: #fff;
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
  padding: 80px 30px 40px;
  /* Top padding for clear area */
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  border-radius: 20px 0 0 20px;
  /* Rounded left corners */
}

/* Open State for Drawer */
.mobile-modal.active .mobile-modal-content {
  transform: translateX(0);
}

.close-modal {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 40px;
  height: 40px;
  background: #F3F4F6;
  color: #374151;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.close-modal:hover {
  background: #fee2e2;
  color: #ef4444;
  transform: rotate(90deg);
}

.mobile-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
  /* Push bottom info down */
}

.mobile-nav-links li {
  margin: 15px 0;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Staggered Animation for Items */
/* Staggered Animation for Items */
.mobile-modal.active .mobile-nav-links li:nth-child(1) {
  transition-delay: 0.1s;
  opacity: 1;
  transform: translateX(0);
}

.mobile-modal.active .mobile-nav-links li:nth-child(2) {
  transition-delay: 0.2s;
  opacity: 1;
  transform: translateX(0);
}

.mobile-modal.active .mobile-nav-links li:nth-child(3) {
  transition-delay: 0.3s;
  opacity: 1;
  transform: translateX(0);
}

.mobile-modal.active .mobile-nav-links li:nth-child(4) {
  transition-delay: 0.4s;
  opacity: 1;
  transform: translateX(0);
}

.mobile-modal.active .mobile-nav-links li:nth-child(5) {
  transition-delay: 0.5s;
  opacity: 1;
  transform: translateX(0);
}

.mobile-nav-links li a {
  text-decoration: none;
  color: #374151;
  font-size: 20px;
  font-weight: 600;
  display: block;
  transition: color 0.2s;
}

.mobile-nav-links li a:hover {
  color: #059669;
  padding-left: 10px;
  /* Slight slide on hover */
}

/* Dropdown in Mobile */
.mobile-dropdown-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-dropdown-menu {
  display: none;
  list-style: none;
  background: #ecfdf5;
  /* Light green tint */
  padding: 10px 15px;
  margin-top: 10px;
  border-radius: 12px;
}

.mobile-dropdown-menu li {
  margin: 8px 0;
  opacity: 1 !important;
  /* Reset animation for inner items */
  transform: none !important;
}

.mobile-dropdown-menu li a {
  font-size: 16px;
  color: #047857;
}

.mobile-modal .call-btn {
  display: block;
  width: 100%;
  margin-top: auto;
  /* Push to bottom */
  text-align: center;
  text-decoration: none;
  background: #059669;
  color: #fff;
  border-radius: 12px;
  padding: 16px 0;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mobile-modal .call-btn:hover {
  background: #047857;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(5, 150, 105, 0.4);
}



/* ================================
   FOOTER
================================ */
.site-footer {
  background: #111827;
  /* Dark Graphite */
  color: #f3f4f6;
  padding: 80px 0 30px 0;
  border-top: 4px solid #059669;
  /* Emerald accent */
  font-family: 'Poppins', sans-serif;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand .footer-logo {
  height: 60px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
  /* Make logo white for dark theme */
}

.footer-brand p:first-of-type {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-brand p:first-of-type span {
  color: #059669;
}

.footer-brand p:last-of-type {
  color: #9ca3af;
  line-height: 1.6;
  font-size: 15px;
}

.site-footer h4 {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 25px;
  position: relative;
  text-align: left;
}

.site-footer h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 30px;
  height: 2px;
  background: #059669;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  color: #9ca3af;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 15px;
}

.footer-links ul li a:hover {
  color: #059669;
  padding-left: 5px;
}

.footer-contact p {
  color: #9ca3af;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icons a {
  background: rgba(255, 255, 255, 0.05);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-icons a img {
  width: 18px;
  filter: brightness(0) invert(1);
}

.social-icons a:hover {
  background: #059669;
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(5, 150, 105, 0.4);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
}

.footer-bottom p {
  color: #6b7280;
  font-size: 14px;
}

/* ================================
   HEADER & FOOTER RESPONSIVE
================================ */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links,
  .call-btn {
    display: none;
  }

  .top-bar {
    font-size: 11px;
    padding: 6px 0;
  }

  .top-bar .container {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .navbar {
    top: 40px;
  }

  .site-footer {
    padding: 50px 0 20px 0;
    text-align: left;
  }

  .footer-top {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-brand,
  .footer-links,
  .footer-contact,
  .footer-trust-final,
  .footer-trustpilot,
  .footer-badges {
    text-align: left;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 30px;
  }

  .footer-brand p {
    text-align: left;
  }

  .site-footer h4::after {
    left: 0;
    transform: none;
  }

  .footer-links ul {
    text-align: left;
  }

  .social-icons {
    justify-content: flex-start;
  }
}

/* ================================
   FOOTER TRUST IMAGES (HORIZONTAL)
================================ */
.footer-trust-row {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 40px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.trust-badge,
.payment-methods {
  height: 45px;
  /* Slightly larger */
  width: auto;
  object-fit: contain;
  transition: all 0.3s ease;
  opacity: 0.9;
  display: block;
}

.trust-badge:hover,
.payment-methods:hover {
  opacity: 1;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .footer-trust-row {
    gap: 20px;
  }

  .trust-badge,
  .payment-methods {
    height: 35px;
  }
}

/* ================================
   FOOTER TRUSTPILOT WIDGET
================================ */
.footer-trustpilot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.footer-trustpilot h4 {
  text-align: left;
  width: 100%;
}

.footer-trustpilot .trustpilot-widget {
  text-align: left;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  margin-left: -55px;
  /* Offset the internal padding of the Trustpilot iframe to perfectly align with text */
}