/* ========================================
   ENHANCED TROPICAL THEME
   Vibrant Beach Paradise Colors
   ======================================== */

:root {
  /* ✨ Vibrant Tropical Colors */
  --tropical-teal: #00a896;
  --tropical-cyan: #00d4db;
  --tropical-coral: #ff6b54;
  --tropical-gold: #ffc857;
  --tropical-pink: #ff5a7e;
  --tropical-green: #2faf5f;
  --tropical-purple: #8b3a92;
  --tropical-orange: #ff9f1c;
  --tropical-lime: #ccff00;
  --tropical-sky: #00cfcf;

  /* Gradual Backgrounds */
  --grad-tropical-main: linear-gradient(
    135deg,
    #00a896 0%,
    #00d4db 50%,
    #00cfcf 100%
  );
  --grad-sunset: linear-gradient(135deg, #d8cec0 100%);
  --grad-vibrant: linear-gradient(
    135deg,
    #00d4db 0%,
    #2faf5f 50%,
    #ccff00 100%
  );
  --grad-neon: linear-gradient(135deg, #d8cec0 100%);
  --grad-magic: linear-gradient(135deg, #d8cec0 100%);

  /* Light Backgrounds */
  --light-bg-teal: #e8f8f7;
  --light-bg-coral: #fff5f3;
  --light-bg-gold: #fff9e6;
  --light-bg-tropical: #f0fffe;
}

/* ========================================
   ENHANCED TYPOGRAPHY
   ======================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  background: linear-gradient(
    135deg,
    var(--tropical-teal),
    var(--tropical-cyan)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  letter-spacing: -0.5px;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
}
h2 {
  font-size: clamp(2rem, 6vw, 3.5rem);
}
h3 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
}

/* ========================================
   ENHANCED BUTTONS
   ======================================== */

.btn {
  position: relative;
  overflow: hidden;
  border: none;
  border-radius: 50px;
  padding: 14px 36px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.95rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  transition: left 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: -1;
}

.btn:hover::before {
  left: 100%;
}

/* Primary Button - Tropical Teal */
.btn-primary {
  background: var(--grad-tropical-main);
  color: white;
  box-shadow: 0 12px 30px rgba(0, 168, 150, 0.4);
}

.btn-primary:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 18px 45px rgba(0, 168, 150, 0.6);
  filter: brightness(1.15);
}

/* Secondary Button - Coral */
.btn-secondary {
  background: var(--grad-sunset);
  color: white;
  box-shadow: 0 12px 30px rgba(255, 107, 84, 0.4);
}

.btn-secondary:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 18px 45px rgba(255, 107, 84, 0.6);
  filter: brightness(1.15);
}

/* Success Button - Green */
.btn-success {
  background: linear-gradient(135deg, #2faf5f, #4cce7c);
  color: white;
  box-shadow: 0 12px 30px rgba(47, 175, 95, 0.4);
}

.btn-success:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 18px 45px rgba(47, 175, 95, 0.6);
}

/* Accent Button - Gold */
.btn-accent {
  background: linear-gradient(135deg, #ffc857, #ffdb6d);
  color: #333;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(255, 200, 87, 0.4);
}

.btn-accent:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 18px 45px rgba(255, 200, 87, 0.6);
  filter: brightness(1.1);
}

/* Magic Button - Purple to Pink */
.btn-magic {
  background: var(--grad-magic);
  color: white;
  box-shadow: 0 12px 30px rgba(139, 58, 146, 0.4);
}

.btn-magic:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 18px 45px rgba(139, 58, 146, 0.6);
}

/* Large Button */
.btn-lg {
  padding: 20px 50px;
  font-size: 1.15rem;
  border-radius: 60px;
}

/* Small Button */
.btn-sm {
  padding: 10px 24px;
  font-size: 0.85rem;
  border-radius: 40px;
}

/* ========================================
   HERO SECTION - ENHANCED
   ======================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--grad-tropical-main);
}

.hero-bg-animated {
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background: radial-gradient(
    circle at 20% 50%,
    rgba(255, 107, 84, 0.3) 0%,
    rgba(0, 212, 219, 0.2) 50%,
    rgba(0, 168, 150, 0.3) 100%
  );
  animation: bounceFlow 20s ease-in-out infinite;
  z-index: 1;
}

@keyframes bounceFlow {
  0%,
  100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(50px, -30px);
  }
  50% {
    transform: translate(-30px, 40px);
  }
  75% {
    transform: translate(40px, 30px);
  }
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  animation: fadeInUp 1.2s ease-out;
}

.hero-title {
  font-size: clamp(2.5rem, 9vw, 5rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
  text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.4);
  animation: slideInDown 1s ease-out;
  color: white;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 3vw, 1.8rem);
  margin-bottom: 3rem;
  opacity: 0.95;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  animation: slideInUp 1s ease-out 0.2s both;
  color: rgba(255, 255, 255, 0.95);
}

/* ========================================
   CARDS - ENHANCED TROPICAL
   ======================================== */

.card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 2px solid transparent;
  position: relative;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad-tropical-main);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: 10;
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 168, 150, 0.3);
  border-color: var(--tropical-cyan);
}

/* Card with Icon */
.card-icon {
  width: 100px;
  height: 100px;
  background: var(--grad-tropical-main);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 48px;
  color: white;
  box-shadow: 0 10px 30px rgba(0, 168, 150, 0.3);
  animation: float 3s ease-in-out infinite;
}

.card:hover .card-icon {
  animation: rotateInPlace 0.6s ease-out;
}

@keyframes rotateInPlace {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ========================================
   SECTION STYLING
   ======================================== */

section {
  padding: 100px 0;
  position: relative;
}

section.light-bg {
  background: linear-gradient(180deg, #f0fffe 0%, #e8f8f7 100%);
}

section.coral-bg {
  background: linear-gradient(180deg, #fff5f3 0%, #ffe8e3 100%);
}

.section-title-box {
  text-align: center;
  margin-bottom: 80px;
  animation: fadeInUp 0.8s ease-out;
}

.section-title {
  font-size: clamp(2rem, 6vw, 3.5rem);
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 30px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background: var(--grad-tropical-main);
  border-radius: 3px;
  animation: expandWidth 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes expandWidth {
  from {
    width: 0;
  }
  to {
    width: 100px;
  }
}

.section-desc {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ========================================
   CTA BANNER - ENHANCED
   ======================================== */

.cta-banner {
  background: var(--grad-magic);
  padding: 120px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 80px 0;
  border-radius: 20px;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      circle at 20% 50%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    );
  animation: gradientMove 15s ease infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes gradientMove {
  0%,
  100% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 100% 100%;
  }
}

.cta-content {
  position: relative;
  z-index: 2;
  color: white;
  animation: zoomIn 0.8s ease-out;
}

.cta-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
  text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.3);
}

.cta-desc {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  opacity: 0.95;
  line-height: 1.6;
}

/* ========================================
   FLOATING ELEMENTS
   ======================================== */

.float-btn {
  position: fixed;
  z-index: 999;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  cursor: pointer;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: float 3s ease-in-out infinite;
}

/* WhatsApp Float - Green */
.whatsapp-float {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  bottom: 30px;
  right: 30px;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.2) translateY(-10px);
  box-shadow: 0 18px 50px rgba(37, 211, 102, 0.5);
  filter: brightness(1.2);
}

/* Chatbot Toggle - Tropical Teal */
.chatbot-toggle {
  background: var(--grad-tropical-main);
  color: white;
  bottom: 120px;
  right: 30px;
}

.chatbot-toggle:hover {
  transform: scale(1.2) translateY(-10px) rotateZ(180deg);
  box-shadow: 0 18px 50px rgba(0, 168, 150, 0.5);
}

/* ========================================
   RESPONSIVE ANIMATIONS
   ======================================== */

@media (max-width: 768px) {
  .hero {
    min-height: 80vh;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }

  section {
    padding: 60px 0;
  }

  .float-btn {
    width: 60px;
    height: 60px;
    font-size: 28px;
  }

  .chatbot-toggle {
    bottom: 100px;
  }

  .btn {
    padding: 12px 28px;
  }
  .btn-lg {
    padding: 16px 40px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.5rem;
  }
  .hero-subtitle {
    font-size: 0.9rem;
  }

  .float-btn {
    width: 55px;
    height: 55px;
    font-size: 24px;
  }

  section {
    padding: 40px 0;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.85rem;
  }
}
