
/* ============================
   Navbar
============================ */
html, body {
  overflow-x: hidden; /* Prevents horizontal scroll from waves/gradients */
  max-width: 100%;
}
.mobile-menu {
  transition: all 0.25s ease-in-out;
  overflow: hidden;
}
.nav-link {
  font-weight: 500;
  color: #334155;
  transition: color 0.2s ease-in-out;
}
.nav-link:hover {
  color: #ec4899;
}
.mobile-link {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.5rem 0.75rem;
  color: #334155;
  border-radius: 0.375rem;
  transition: all 0.2s ease-in-out;
}
.mobile-link:hover {
  background-color: #fdf2f8;
  color: #ec4899;
}
.whatsapp-btn {
  background-color: #16a34a;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
}
.whatsapp-btn:hover {
  background-color: #15803d;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* ============================
   Hero
============================ */
.cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-size: 1.125rem;
  font-weight: 600;
  color: white;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: all 0.3s ease-in-out;
}
.cta-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* ============================
   Empowering Section
============================ */
#rotating-text {
  position: relative;
  display: inline-block;
  min-height: 1.5em;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in {
  opacity: 1;
  transform: translateY(0);
}
.fade-out {
  opacity: 0;
  transform: translateY(-20px);
}
.float-dot-1 {
  animation: float1 3s ease-in-out infinite;
}
.float-dot-2 {
  animation: float2 4s ease-in-out infinite;
}
.float-dot-3 {
  animation: float3 2.5s ease-in-out infinite;
}
@keyframes float1 {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(-20px); opacity: 1; }
}
@keyframes float2 {
  0%, 100% { transform: translate(0,0); opacity: 0.4; }
  50% { transform: translate(10px,-15px); opacity: 0.8; }
}
@keyframes float3 {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.2); opacity: 0.6; }
}

/* ============================
   Services
============================ */
/* Service Card */
/* ============================
   Services
============================ */
/* Toggle Button */
.service-answer {
      overflow: hidden;
      max-height: 0;
      opacity: 0;
      transition: all 0.3s ease;
    }
    .service-answer.open {
      max-height: 500px;
      opacity: 1;
    }

/* ============================
   How We Help
============================ */
.step-card {
  position: relative;
  border-radius: 1rem;
  border: 1px solid rgba(251, 146, 60, 0.3);
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  padding: 1.75rem;
  box-shadow: 0 6px 12px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}
.step-card:hover {
  box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}
.step-number {
  position: absolute;
  top: -0.75rem;
  right: -0.5rem;
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(211, 118, 80, 0.2);
  pointer-events: none;
}
.step-badge {
  padding: 0.25rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 9999px;
  background: rgba(211, 118, 80, 0.1);
  color: #d37650;
  border: 1px solid rgba(211, 118, 80, 0.2);
}
.arrow {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: linear-gradient(to right, #d37650, #f59e0b);
  display: grid;
  place-items: center;
  color: white;
  font-size: 1.25rem;
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* ============================
   About
============================ */
.fade-up.delay-1 {
  transition-delay: 0.2s;
}
.value-card {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(6px);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
  transition: all 0.5s ease;
}
.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.1);
}
.value-card .icon-wrap {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.5rem;
  background: linear-gradient(to right, #d37650, #f59e0b);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}
.value-card .title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #0f172a;
  line-height: 1.4;
}
.value-card .desc {
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.6;
  display: none;
}
@media (min-width: 1024px) {
  .value-card .desc {
    display: block;
  }
}

/* ============================
   Team
============================ */
.perspective {
  perspective: 1200px;
}

.flip-inner {
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(.4,.2,.2,1);
  position: relative; /* ensure stacking context */
}

.flip-front,
.flip-back {
  backface-visibility: hidden;       /* modern browsers */
  -webkit-backface-visibility: hidden; /* Safari/iOS */
  position: absolute; /* stack both faces */
  inset: 0; /* fill parent */
}

.flip-front {
  transform: rotateY(0deg);
  z-index: 2; /* keep front on top by default */
}

.flip-back {
  transform: rotateY(180deg);
  z-index: 1;
}

/* Hover flip (desktop) */
@media (hover: hover) {
  .flip-card:hover .flip-inner {
    transform: rotateY(180deg);
  }
}

/* Tap flip (mobile with peer checkbox) */
.peer:checked ~ .flip-inner {
  transform: rotateY(180deg);
}

.tag {
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
}


/* ============================
   Contact
============================ */
.icon-box {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(to right, #d37650, #f59e0b);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}
.input:focus {
  outline: none;
  border-color: transparent;
  box-shadow: 0 0 0 2px #d37650;
}
.btn {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(to right, #d37650, #f59e0b);
  color: white;
  padding: 1rem;
  border-radius: 0.75rem;
  font-weight: 600;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}
.btn:hover {
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

/* ============================
   FAQ
============================ */
.faq-answer {
      overflow: hidden;
      max-height: 0;
      opacity: 0;
      transition: all 0.3s ease;
    }
    .faq-answer.open {
      max-height: 500px; /* enough for long answers */
      opacity: 1;
    }

/* ============================
   Shared Animations
============================ */
.fade-up,
.fade-left,
.fade-right {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up {
  transform: translateY(30px);
}
.fade-left {
  transform: translateX(-50px);
}
.fade-right {
  transform: translateX(50px);
}
.visible {
  opacity: 1 !important;
  transform: translate(0,0) !important;
}
/* Footer */
.waves {
      position: relative;
      width: 100%;
      height: 150px;
      margin-bottom: -7px; /* smooth bottom */
      min-height: 100px;
      max-height: 200px;
    }

    /* Parallax effect for wave layers */
    .parallax > use {
      animation: move-forever 12s linear infinite;
    }

    .parallax > use:nth-child(1) {
      animation-delay: -2s;
      animation-duration: 7s;
    }
    .parallax > use:nth-child(2) {
      animation-delay: -3s;
      animation-duration: 10s;
    }
    .parallax > use:nth-child(3) {
      animation-delay: -4s;
      animation-duration: 13s;
    }

    /* Keyframes for left-right floating */
    @keyframes move-forever {
      0% { transform: translateX(-90px); }
      50% { transform: translateX(85px); }
      100% { transform: translateX(-90px); }
    }
    /* End footer */