/* Fade transition */
.slider-img {
  transition: opacity 1.2s ease-in-out;
}
html {
  scroll-behavior: smooth;
}

/* First-image falling animation */
@keyframes slideDown {
  0% { transform: translateY(-70%); opacity: 0; }
  60% { transform: translateY(18%); opacity: 1; }
  100% { transform: translateY(0%); opacity: 1; }
}
/* Rotate warning overlay */
#rotate-warning {
  position: fixed;
  inset: 0;
  background: #0f172a;
  color: white;
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 99999;
}

.rotate-box {
  font-size: 18px;
  line-height: 1.6;
  font-weight: 600;
  opacity: 0.9;
}

/* MOBILE LANDSCAPE ONLY */
@media screen and (max-width: 768px) and (orientation: landscape) {
  body > *:not(#rotate-warning) {
    display: none !important;
  }
/* Hide infinity in mobile landscape (CSS attempt) */
@media screen and (orientation: landscape) and (max-height: 500px) {
  .infinity-section {
    display: none !important;
  }
}



  #rotate-warning {
    display: flex;
  }

  body {
    overflow: hidden;
  }
}

.animate-slideDown {
  animation: slideDown 1.4s ease-out forwards;
}

/* TYPING EFFECT */
.premium-typed-text {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  background: linear-gradient(to right, #000f04, #010b36);
  -webkit-background-clip: text;
  color: transparent;
  max-width: 600px;
  word-break: break-word;
}

/* Fade animation */
.fade-up {
  animation: fadeUp 1s ease-out forwards;
}
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(18px); }
  100% { opacity: 1; transform: translateY(0); }
}

#scrollFish {
  transition: opacity 0.5s ease-out;
}

.floating {
  animation: floatY 3s ease-in-out infinite alternate;
}

@keyframes floatY {
  from { transform: translateY(0); }
  to   { transform: translateY(-12px); }
}

/* DO NOT RESET ALL SECTIONS — FIXED */
html, body {
  margin: 0;
  padding: 0;
}

/* OPTIONAL — navbar only */
nav {
  margin: 0 !important;
  padding: 0 !important;
}

/* Aqua gradient BG */
.aqua-glow-bg {
  background: 
    radial-gradient(circle at 20% 10%, rgba(62,149,255,0.25), transparent 60%),
    radial-gradient(circle at 80% 20%, rgba(95,129,255,0.25), transparent 60%);
}
html, body {
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
}

* {
  box-sizing: border-box;
}
/* Component styles and easy theme control */
:root {
  --bg: #f3f4f8;
}

@media (max-width: 768px) {

  /* Create safe gap under heading */
  .main-heading {
    margin-bottom: 32px !important;
    position: relative;
    z-index: 5;
  }

  /* Push infinity downward */
  .infinity-container {
    margin-top: 24px;
  }

  /* Force infinity BELOW heading */
  .infinity-overlay {
    top: 0;
    position: relative;
  }
}
@media (max-width: 768px) {

  .main-heading {
    margin-bottom: 28px !important;
    z-index: 10;
    position: relative;
  }

  .infinity-wrap {
    padding-top: 58px;   /* instead of negative margin */
  }
}

.core-heading {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  color: #0b3a7e; /* matches your gradient tones */
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.zoom-video {
  transform: scale(1.3);        /* zoom in until full height is covered */
  transform-origin: center;     /* keep zoom centered */
}
@media (max-width: 768px) {
  .zoom-video {
    transform: scale(1);     /* extra zoom for mobile */
  }
}
.hero-section {
  height: 100vh; /* default full screen */
}

@media (max-width: 768px) {
  .hero-section {
    height: 50vh; /* half screen on mobile */
  }
}

.main-heading {
  text-align: center;
  font-size: clamp(22px, 5vw, 38px);
  font-weight: 700;
  margin: 0 0 24px;
  background: linear-gradient(90deg, #0e6fb3, #24c4d6, #0fb6b2);
  -webkit-background-clip: text;
  color: transparent;
}


@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.animate-scroll {
  animation: scroll 20s linear infinite;
}


.category-click {
  position: absolute;
  width: 520px;
  height: 350px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;        /* ABOVE everything */
  background: transparent;
}

/* Match EXACT positions of video-slot */
.category-click.fish-click {
  top: 87%;
  left: 27%;
  transform: translate(-50%, -120%);
}

.category-click.shrimp-click {
  top: 46%;
  left: 73%;
  transform: translate(-50%, -50%);
}
@keyframes featuredScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.animate-featured {
  animation: featuredScroll 28s linear infinite;
}
.who-eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: #2dd4bf; /* teal-400 */
}

.who-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
}
.who-text {
  font-size: 15.5px;
  line-height: 1.8;
  color: #cbd5e1; /* slate-300 */
  font-weight: 400;
}
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}


/* ===== PREMIUM TESTIMONIAL SLIDER ===== */

/* ===============================
   PREMIUM TESTIMONIALS (FINAL)
   =============================== */

#testimonialSlider {
  position: relative;
  display: flex;
  gap: 40px;
  will-change: transform;
}

#testimonialSlider::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    60% 40% at center,
    rgba(250,204,21,0.12),
    transparent 70%
  );
  pointer-events: none;
}

#testimonialSlider .testimonial-card {
  min-width: 360px;
  padding: 32px;
  border-radius: 28px;

  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);

  box-shadow:
    0 25px 50px rgba(0,0,0,0.1),
    inset 0 1px 0 rgba(255,255,255,0.8);

  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.6s ease,
              box-shadow 0.6s ease,
              filter 0.6s ease;

  opacity: 0.35;
  transform: scale(0.82);
  filter: blur(0.6px);
}

#testimonialSlider .testimonial-card.active {
  opacity: 1;
  transform: scale(1.18);
  filter: blur(0);

  box-shadow:
    0 50px 110px rgba(0,0,0,0.22),
    0 0 0 2px rgba(250,204,21,0.4);

  z-index: 10;
}

/* GOLD STARS */
#testimonialSlider .stars {
  font-size: 20px;
  letter-spacing: 3px;
  margin-bottom: 14px;

  background: linear-gradient(90deg, #facc15, #f59e0b);
  -webkit-background-clip: text;
  color: transparent;
}

/* TEXT */
#testimonialSlider .message {
  font-size: 16px;
  line-height: 1.85;
  color: #334155;
  margin-bottom: 22px;
}

#testimonialSlider .author strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

#testimonialSlider .author span {
  font-size: 13px;
  color: #64748b;
}

/* Mobile */
@media (max-width: 768px) {
  #testimonialSlider .testimonial-card {
    min-width: 85vw;
  }
}
@media (max-width: 768px) {
  #testimonialSlider .testimonial-card {
    min-width: 88vw;
    margin: 0 auto;
    transform: scale(1);
    opacity: 1;
    filter: none;
  }


  #testimonialSlider .testimonial-card.active {
    transform: scale(1);
  }
}
@media (max-width: 640px) {
  section {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }
}
/* SLIDER */
.farm-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 24px;
  -webkit-overflow-scrolling: touch;
}

.farm-slide {
  min-width: 100%;
  scroll-snap-align: center;
  flex-shrink: 0;
}

/* Hide scrollbar */
.farm-slider::-webkit-scrollbar {
  display: none;
}

/* DOTS */
.farm-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.farm-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cbd5e1;
  transition: all 0.3s ease;
}

.farm-dots span.active {
  background: #14b8a6;
  transform: scale(1.3);
}
/* WHATSAPP FLOAT BUTTON */
.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, #25d366, #1ebe5d);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
  z-index: 9999;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 18px 40px rgba(37, 211, 102, 0.6);
}

/* Mobile tweak */
@media (max-width: 640px) {
  .whatsapp-float {
    width: 48px;
    height: 48px;
    bottom: 18px;
    right: 18px;
  }
}

@media (max-width: 640px) {
  #chatbot-box {
    transform: translateY(-380px) !important;
  }
}
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;

  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

/* Smooth message animation */
.chat-anim {
  animation: slideUp 0.25s ease-out;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Typing indicator */
.typing {
  display: flex;
  gap: 4px;
  padding: 8px 12px;
  background: #e5e7eb;
  border-radius: 12px;
  width: fit-content;
}

.typing span {
  width: 6px;
  height: 6px;
  background: #6b7280;
  border-radius: 50%;
  animation: blink 1.4s infinite both;
}

.typing span:nth-child(2) { animation-delay: .2s; }
.typing span:nth-child(3) { animation-delay: .4s; }

@keyframes blink {
  0% { opacity: .2; }
  20% { opacity: 1; }
  100% { opacity: .2; }
}

/* SECTION */
.swap-section {
  max-width: 1000px;
  height: 100vh;
  margin: 0 auto;
  padding: 0 40px;

  display: flex;
  align-items: center;        /* 🔥 vertical centering */
  justify-content: space-between;
}
.swap-text {
  max-width: 420px;
}

.swap-title {
  font-size: 38px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
}

.swap-subtitle {
  font-size: 16px;
  color: #64748b;
  line-height: 1.6;
}


.swap-title {
  text-align: center;
  font-size: clamp(22px, 5vw, 38px);
  font-weight: 700;
  margin: 0 0 24px;
  background: linear-gradient(90deg, #0e6fb3, #24c4d6, #0fb6b2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}




/* STACK CONTAINER */
.stack {
  position: relative;
  width: 360px;
  height: 420px;
}




/* CARD BASE */
.card {
  position: absolute;
  top: 0;
  right: 0;

  width: 360px;
  height: 420px;

  background: #ffffff;
  border-radius: 22px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);

  overflow: hidden;

  /* 🔥 KEY FIX */
  display: flex;
  flex-direction: column;
    transition:
    transform 0.7s cubic-bezier(0.4,0,0.2,1),
    opacity 0.6s ease;
}




.card:nth-child(1) {
  z-index: 3;
  transform: translate(0, 0) scale(1);
}

.card:nth-child(2) {
  z-index: 2;
  transform: translate(-22px, 22px) scale(0.96);
  opacity: 0.9;
}

.card:nth-child(3) {
  z-index: 1;
  transform: translate(-44px, 44px) scale(0.92);
  opacity: 0.75;
}


.card img {
  width: 100%;
  height: 65%;          /* 🔥 covers most of card */
  object-fit: cover;   /* 🔥 fill card nicely */
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
}



.card h3,
.card p {
  text-align: center;
}

/* CARD TITLE — SAME GRADIENT AS swap-title */
.card h3 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 6px;

  background: linear-gradient(90deg, #0e6fb3, #24c4d6, #0fb6b2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* CARD DESCRIPTION — SOFT NEUTRAL */
.card p {
  font-size: 15px;
  line-height: 1.6;
  color: #475569;
}

/* CENTER TEXT BLOCK IN REMAINING SPACE */
.card h3,
.card p {
  margin-left: auto;
  margin-right: auto;
}

.card h3 {
  margin-top: auto;
}

.card p {
  margin-bottom: auto;
}

.card-link {
  text-decoration: none;
  color: inherit;
}
.card-link:hover {
  cursor: pointer;
}
.card-link:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 4px;
}
/* ===============================
   MOBILE RESPONSIVE (PREMIUM)
   =============================== */

/* Tablets & below */
@media (max-width: 1024px) {
  .swap-section {
    height: auto;
    padding: 80px 24px;
  }
}

/* Mobile */
@media (max-width: 768px) {

  /* SECTION LAYOUT */
  .swap-section {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 60px 20px;
  }

  /* TEXT BLOCK */
  .swap-text {
    max-width: 100%;
    text-align: center;
  }

  .swap-subtitle {
    font-size: 15px;
  }

  /* STACK CENTERED */
  .stack {
    width: 300px;
    height: 380px;
  }

  /* CARD SIZE */
  .card {
    width: 300px;
    height: 380px;
  }

  /* STACK OFFSETS (REDUCED FOR MOBILE) */
  .card:nth-child(2) {
    transform: translate(-16px, 16px) scale(0.96);
  }

  .card:nth-child(3) {
    transform: translate(-32px, 32px) scale(0.92);
  }

  /* IMAGE */
  .card img {
    height: 65%;
  }

  /* TEXT */
  .card h3 {
    font-size: 30px;
  }

  .card p {
    font-size: 14px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {

  .stack {
    width: 260px;
    height: 350px;
  }

  .card {
    width: 260px;
    height: 350px;
  }

  .card img {
    height: 64%;
  }

  .card h3 {
    font-size: 24px;
  }

  .swap-title {
    font-size: 26px;
  }
}
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.animate-marquee {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}
/* 🔥 HARD FIX FOR MOBILE CHATBOT HEIGHT */
@media (max-width: 768px) {
  #chatbot-box {
    height: 40vh !important;   /* lock height */
    max-height: 65vh !important;
    top: auto !important;
    bottom: 60px !important;
  }
}
