/* ===== CSS VARIABLES ===== */
:root {
  --bg-primary: #001c66;
  --bg-accent: #00e097;
  --bg-secondary-yellow: #fcce02;
  --bg-light: #f7f9fc;
  --bg-white: #f7faff;
  --text-muted: #6b7280;
  --card: #fff;
  --card-foreground: #0f0f0f;
  --radius: 0.75rem;
}

/* ===== BASE ===== */
html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

/* Force SVG icons to render properly */
svg:not([width]):not([style*="width"]) {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* ===== HERO CAROUSEL ===== */
.hero-carousel {
  margin-top: -153px; /* pull hero behind topbar+header+nav (44+65+44px) */
  position: relative;
  z-index: 1;
}
.hero-carousel,
.hero-carousel .slick-slider,
.hero-carousel .slick-list,
.hero-carousel .slick-track,
.hero-carousel .slick-slide,
.hero-carousel .slick-slide > div {
  height: 100vh !important;
  min-height: 100vh;
}

/* ===== PROCESS STEP ICONS (white SVG on navy bg) ===== */
.process-icon-circle svg {
  color: white !important;
  width: 3.5rem !important;
  height: 3.5rem !important;
}

.hero-slide {
  position: relative;
  height: 100vh !important;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex !important;
  align-items: center;
  background-color: #001c66;
  background-image: linear-gradient(135deg, #001c66 0%, #002a8a 50%, #003baa 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(0, 224, 151, 0.08) 0%, transparent 50%),
              linear-gradient(90deg, rgba(0, 28, 102, 0.95) 0%, rgba(0, 28, 102, 0.6) 40%, rgba(0, 28, 102, 0.2) 100%);
  z-index: 5;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 850px;
  text-align: left;
  padding: 0 4rem;
  margin: 0 auto;
}

.hero-content h2 {
  font-size: clamp(2rem, 5vw, 3.5rem) !important;
  line-height: 1.2 !important;
  letter-spacing: -0.02em;
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.25rem) !important;
  line-height: 1.6 !important;
}

/* Remove Slick default arrow text */
.hero-carousel .slick-prev:before,
.hero-carousel .slick-next:before {
  display: none !important;
  content: '' !important;
}

/* Style the custom arrow buttons from JS */
.hero-carousel .slick-prev,
.hero-carousel .slick-next {
  position: absolute;
  top: 50% !important;
  transform: translateY(-50%);
  z-index: 30 !important;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 50% !important;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0 !important;
  margin: 0 !important;
}

.hero-carousel .slick-prev {
  left: 24px !important;
}

.hero-carousel .slick-next {
  right: 24px !important;
}

.hero-carousel .slick-prev:hover,
.hero-carousel .slick-next:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}

/* Ensure SVG arrows inside buttons are visible */
.hero-carousel .slick-prev svg,
.hero-carousel .slick-next svg {
  width: 24px;
  height: 24px;
  display: block;
}

/* Dots Navigation - Force Center */
.hero-carousel .slick-dots {
  position: absolute !important;
  bottom: 32px !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 30 !important;
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
  text-align: center !important;
  transform: none !important;
}

.hero-carousel .slick-dots li {
  margin: 0 !important;
  width: auto !important;
  height: auto !important;
  display: inline-flex !important;
  text-align: center !important;
  float: none !important;
}

.hero-carousel .slick-dots li button {
  width: 8px !important;
  height: 8px !important;
  padding: 0 !important;
  border: none !important;
  background: rgba(255, 255, 255, 0.4) !important;
  border-radius: 50% !important;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0 !important;
  line-height: 0 !important;
  text-align: center !important;
  display: inline-block !important;
  float: none !important;
}

.hero-carousel .slick-dots li button:before {
  display: none !important;
  content: '' !important;
}

.hero-carousel .slick-dots li.slick-active button {
  width: 24px !important;
  border-radius: 12px !important;
  background: #00e097 !important;
}

/* ===== PARTNER MARQUEE ===== */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.animate-scroll {
  animation: scroll 25s linear infinite;
  display: flex;
  width: max-content;
}

.animate-scroll:hover {
  animation-play-state: paused;
}

.partner-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  height: 80px;
  background: transparent;
  border-radius: 0;
  padding: 12px 24px;
  font-weight: 700;
  color: var(--bg-primary);
  font-size: 14px;
  letter-spacing: 0.5px;
  border: none;
  box-shadow: none;
  white-space: nowrap;
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.partner-logo:hover {
  opacity: 1;
}

.partner-logo img {
  max-height: 50px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s;
}

.partner-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* ===== TABS ===== */
.tab-btn {
  padding: 10px 20px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-light);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s;
}

.tab-btn:hover {
  color: var(--bg-primary);
  background: white;
  border-color: rgba(0, 0, 0, 0.1);
}

.tab-btn.active {
  color: white;
  background: var(--bg-accent);
  border-color: var(--bg-accent);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

/* ===== PRICING CARDS ===== */
.pricing-card {
  background: var(--bg-light);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.3s;
  cursor: pointer;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 28, 102, 0.1);
  border-color: var(--bg-accent);
}

.pricing-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

/* ===== NEW PRICING CARD DESIGN ===== */
.card-img {
  position: relative;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}

.card-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card-img:hover img {
  transform: scale(1.05);
}

.card-body {
  padding: 1.5rem;
}

.card-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--bg-primary);
  margin-bottom: 0.5rem;
}

.card-body p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.card-footer .price {
  display: flex;
  flex-direction: column;
}

.card-footer .price small {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.card-footer .price span {
  font-size: 1.125rem;
  font-weight: 700;
  color: #ef4444;
}

.card-footer .btn-cart {
  width: 40px;
  height: 40px;
  background: var(--bg-accent);
  border: none;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.card-footer .btn-cart:hover {
  background: #00c987;
  transform: scale(1.05);
}

.card-footer .btn-cart svg {
  width: 20px;
  height: 20px;
  color: white;
}

/* ===== FAQ ===== */
.faq-item {
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.3s;
}

.faq-item:hover {
  border-color: var(--bg-accent);
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-item.open .faq-answer {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ===== STICKY HEADER ===== */
#main-header.scrolled {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  z-index: 50;
}

/* ===== NAVIGATION DROPDOWN ===== */
.nav-item {
  position: relative;
}

/* Tailwind group hover support for nav dropdowns */
.group:hover .group-hover\:opacity-100 {
  opacity: 1;
}

.group:hover .group-hover\:visible {
  visibility: visible;
}

.nav-mega {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  top: auto;
  transform: none !important;
  width: auto !important;
  min-width: unset !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 300px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(0, 28, 102, 0.15);
  padding: 8px;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.group:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 14px;
  height: 14px;
  background: white;
  border-left: 1px solid rgba(0, 0, 0, 0.05);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: #0f0f0f;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.nav-dropdown-item:hover {
  background: #f7f9fc;
  transform: translateX(4px);
}

.nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  font-size: 18px;
  flex-shrink: 0;
}

.nav-icon.bg-accent {
  background: rgba(0, 224, 151, 0.1);
}

.nav-icon.bg-primary {
  background: rgba(0, 28, 102, 0.08);
}

.nav-icon.bg-accent-yellow {
  background: rgba(252, 206, 2, 0.12);
}

.nav-text {
  flex: 1;
  line-height: 1.4;
}

/* ===== PROCESS STEPS ===== */
.process-step {
  position: relative;
  text-align: center;
  flex: 1;
}

.process-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-primary) 0%, #003baa 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 10;
  box-shadow: 0 8px 24px rgba(0, 28, 102, 0.2);
}

.process-icon svg {
  width: 40px;
  height: 40px;
  color: white;
}

.process-number {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 28px;
  height: 28px;
  background: var(--bg-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 224, 151, 0.3);
}

.process-connector {
  display: none;
  position: absolute;
  top: 40px;
  left: calc(50% + 50px);
  right: calc(-50% + 50px);
  height: 2px;
  background: linear-gradient(90deg, var(--bg-accent) 0%, transparent 100%);
  z-index: 1;
}

@media (min-width: 768px) {
  .process-connector {
    display: block;
  }
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  background: var(--bg-light);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}

.testimonial-card:hover {
  box-shadow: 0 12px 40px rgba(0, 28, 102, 0.08);
  transform: translateY(-4px);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 1rem;
}

.testimonial-stars svg {
  width: 20px;
  height: 20px;
  color: #fbbf24;
}

.testimonial-quote {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: var(--bg-accent);
  opacity: 0.2;
}

.testimonial-quote svg {
  width: 32px;
  height: 32px;
}

.testimonial-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.testimonial-avatar-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.testimonial-info h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--bg-primary);
  margin-bottom: 0.25rem;
}

.testimonial-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
}
@media (max-width: 768px) {
  .hero-slide {
    height: 100vh !important;
    min-height: 100vh;
  }

  .hero-content {
    padding: 0 2rem !important;
    max-width: 100% !important;
  }

  .hero-carousel .slick-prev,
  .hero-carousel .slick-next {
    width: 48px;
    height: 48px;
    font-size: 16px;
  }

  .hero-carousel .slick-prev {
    left: 16px !important;
  }

  .hero-carousel .slick-next {
    right: 16px !important;
  }

  .partner-logo {
    min-width: 120px;
    font-size: 12px;
    padding: 8px 16px;
    height: 48px;
  }
}

@media (max-width: 640px) {
  .hero-slide {
    height: 100vh !important;
    min-height: 100vh;
  }

  .tab-btn {
    font-size: 11px;
    padding: 8px 14px;
  }
}
