﻿/* ===========================
   ROOT & RESET
=========================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #EB2A2A;
  --primary-dark: #C42222;
  --primary-light: #FF5555;
  --primary-bg: #FFF0F0;
  --dark: #111827;
  --gray-700: #374151;
  --gray-500: #6B7280;
  --gray-300: #D1D5DB;
  --gray-100: #F3F4F6;
  --white: #FFFFFF;
  --bg: #F9FAFB;
  --surface: #FFFFFF;
  --font: 'Inter', sans-serif;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 48px rgba(235, 42, 42, 0.2);
  --glow: 0 0 24px rgba(235, 42, 42, 0.35);
  --transition: 0.3s ease;
}

/* ===========================
   DARK MODE VARIABLES
=========================== */
[data-theme="dark"] {
  --dark: #F1F5F9;
  --white: #0F172A;
  --bg: #1E293B;
  --surface: #162032;
  --gray-700: #CBD5E1;
  --gray-500: #94A3B8;
  --gray-300: #334155;
  --gray-100: #1E293B;
  --primary-bg: rgba(235, 42, 42, 0.13);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 48px rgba(235, 42, 42, 0.3);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background var(--transition), color var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

address {
  font-style: normal;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================
   UTILITIES
=========================== */
.text-primary {
  color: var(--primary);
  text-shadow: 0 0 32px rgba(235, 42, 42, 0.25);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  margin-top: 16px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.section-text {
  font-size: 1.05rem;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

/* ===========================
   BADGE
=========================== */
.badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 50px;
  background: var(--primary-bg);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  border: 1px solid rgba(235, 42, 42, 0.3);
}

/* ===========================
   BUTTONS
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
  font-family: var(--font);
  letter-spacing: 0.01em;
}

.btn-lg {
  padding: 15px 36px;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 18px rgba(235, 42, 42, 0.35);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(235, 42, 42, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(235, 42, 42, 0.35);
}

.btn-white {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
  font-weight: 700;
}

.btn-white:hover {
  background: #ffe0e0;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* ===========================
   DARK MODE TOGGLE
=========================== */
.dark-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--gray-300);
  background: transparent;
  cursor: pointer;
  color: var(--dark);
  transition: all var(--transition);
  flex-shrink: 0;
}

.dark-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-bg);
}

[data-theme="light"] .icon-sun {
  display: none;
}

[data-theme="light"] .icon-moon {
  display: block;
}

[data-theme="dark"] .icon-sun {
  display: block;
}

[data-theme="dark"] .icon-moon {
  display: none;
}

/* ===========================
   NAVBAR
=========================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 24px rgba(0, 0, 0, 0.07);
  padding: 12px 0;
}

[data-theme="dark"] .navbar.scrolled {
  background: rgba(15, 23, 42, 0.95);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo img {
  height: 40px;
  width: auto;
}

[data-theme="dark"] .nav-logo img {
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--dark);
  transition: color var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-cta {
  margin-left: 12px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===========================
   HERO
=========================== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, var(--white) 0%, #fff0f0 55%, var(--white) 100%);
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e0a0a 55%, #0f172a 100%);
}

.hero-blob {
  position: absolute;
  top: -180px;
  right: -180px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(235, 42, 42, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* ===== BUBBLES ===== */
.bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.bubble {
  position: absolute;
  bottom: -100px;
  border-radius: 50%;
  width: var(--size, 40px);
  height: var(--size, 40px);
  left: var(--x, 50%);
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.55), rgba(235, 42, 42, 0.06));
  border: 1px solid rgba(235, 42, 42, 0.18);
  animation: bubble-rise var(--dur, 10s) ease-in var(--delay, 0s) infinite;
}

[data-theme="dark"] .bubble {
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.08), rgba(235, 42, 42, 0.05));
  border-color: rgba(235, 42, 42, 0.25);
}

@keyframes bubble-rise {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }

  8% {
    opacity: 0.75;
  }

  90% {
    opacity: 0.2;
  }

  100% {
    transform: translateY(-110vh) translateX(var(--drift, 20px));
    opacity: 0;
  }
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 24px 100px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--gray-500);
  margin-bottom: 36px;
  max-width: 460px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img {
  width: 100%;
  max-width: 560px;
  border-radius: var(--radius);
  filter: drop-shadow(0 20px 60px rgba(235, 42, 42, 0.18));
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  line-height: 0;
  z-index: 1;
}

.hero-wave svg {
  width: 100%;
  display: block;
}

.wave-path {
  fill: var(--bg);
}

/* ===========================
   STATS
=========================== */
.stats {
  background: var(--bg);
  padding: 80px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.stat-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--primary);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(235, 42, 42, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.stat-num {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
  text-shadow: 0 0 20px rgba(235, 42, 42, 0.2);
}

.stat-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* ===========================
   TEAMWORK
=========================== */
.teamwork {
  padding: 100px 0;
  background: var(--white);
}

.teamwork-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.teamwork-visual img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.teamwork-content .section-title {
  margin-bottom: 16px;
}

.check-list {
  margin: 24px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 1rem;
  color: var(--dark);
}

.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(235, 42, 42, 0.4);
}

/* ===========================
   BENEFITS
=========================== */
.benefits {
  padding: 100px 0;
  background: var(--bg);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.benefit-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
  border-radius: var(--radius) var(--radius) 0 0;
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  background: var(--surface);
}

.benefit-card:hover::before {
  transform: scaleX(1);
}

.benefit-img-wrap {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  overflow: hidden;
}

.benefit-img-wrap img {
  max-height: 160px;
  max-width: 100%;
  object-fit: contain;
}

.benefit-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}

.benefit-card p {
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===========================
   FEATURES
=========================== */
.features {
  padding: 100px 0;
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.feature-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 0;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid transparent;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(235, 42, 42, 0.25);
}

.feature-img-wrap {
  flex-shrink: 0;
  width: 130px;
  background: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
}

.feature-img-wrap img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.feature-body {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-body h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}

.feature-body p {
  color: var(--gray-500);
  font-size: 0.9rem;
  line-height: 1.65;
}

.upcoming-img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin: 0 auto 20px;
  display: block;
  filter: drop-shadow(0 4px 16px rgba(235, 42, 42, 0.2));
}

/* ===========================
   UPCOMING FEATURE
=========================== */
.upcoming-feature {
  margin: 60px 0 0;
  background: linear-gradient(135deg, var(--primary-bg) 0%, rgba(235, 42, 42, 0.03) 100%);
  border-radius: var(--radius);
  padding: 60px 48px;
  text-align: center;
  border: 1px solid rgba(235, 42, 42, 0.15);
}

.upcoming-inner h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--dark);
  margin: 12px 0;
}

.upcoming-inner p {
  color: var(--gray-500);
  font-size: 1rem;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.75;
}

/* Light/dark logo switching */
.logo-dark {
  display: none;
}

[data-theme="dark"] .logo-light {
  display: none;
}

[data-theme="dark"] .logo-dark {
  display: block;
}

/* Explicit overrides for flex-container logo wrappers */
.clients-logo-item .logo-dark,
.testimonial-logo .logo-dark {
  display: none !important;
}

[data-theme="dark"] .clients-logo-item .logo-light,
[data-theme="dark"] .testimonial-logo .logo-light {
  display: none !important;
}

[data-theme="dark"] .clients-logo-item .logo-dark,
[data-theme="dark"] .testimonial-logo .logo-dark {
  display: block !important;
}

/* ===========================
   INTEGRATIONS
=========================== */
.integrations {
  margin-top: 80px;
  text-align: center;
}

.integrations h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
}

.integrations>p {
  color: var(--gray-500);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 44px;
  line-height: 1.75;
}

.integrations-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.integration-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 80px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  border: 2px solid var(--gray-300);
  padding: 16px;
  transition: all var(--transition);
}

.integration-logo:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.integration-logo img {
  max-width: 130px;
  max-height: 48px;
  object-fit: contain;
}

/* ===========================
   CLIENTS / TESTIMONIALS
=========================== */
.clients-section {
  padding: 100px 0;
  background: var(--bg);
}

/* --- Infinite Scroll Marquee --- */
.clients-marquee-wrap {
  padding: 40px 0 60px;
  border-bottom: 1px solid var(--gray-300);
  margin-bottom: 60px;
  overflow: hidden;
}

.clients-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.clients-marquee-track {
  display: flex;
  align-items: center;
  gap: 24px;
  width: max-content;
  animation: marqueeScroll 22s linear infinite;
}

.clients-marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.clients-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 200px;
  height: 88px;
  padding: 16px 28px;
  background: var(--surface);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.clients-logo-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.clients-logo-item img {
  max-height: 48px;
  max-width: 130px;
  object-fit: contain;
  transition: none;
}

/* --- Owl Carousel Testimonials --- */
.testimonials-carousel {
  padding-bottom: 24px;
}

.testimonial-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  border-bottom: 3px solid transparent;
  box-shadow: var(--shadow);
  margin: 8px 12px 20px;
  height: auto;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-bottom-color: var(--primary);
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-text {
  color: var(--gray-700);
  font-size: 0.97rem;
  line-height: 1.8;
  margin-bottom: 28px;
  flex: 1;
  font-style: italic;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-300);
}

.testimonial-logo {
  flex-shrink: 0;
  width: 72px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.testimonial-logo img {
  width: 72px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.testimonial-info strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
}

.testimonial-info span {
  font-size: 0.82rem;
  color: var(--gray-500);
}

/* Owl Carousel custom theme */
.testimonials-carousel .owl-dots {
  text-align: center;
  margin-top: 8px;
}

.testimonials-carousel .owl-dot span {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-300);
  margin: 0 4px;
  transition: background var(--transition), transform var(--transition);
}

.testimonials-carousel .owl-dot.active span,
.testimonials-carousel .owl-dot:hover span {
  background: var(--primary);
  transform: scale(1.3);
}

.testimonials-carousel .owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  pointer-events: none;
  display: flex;
  justify-content: space-between;
  padding: 0 4px;
}

.testimonials-carousel.owl-carousel {
  position: relative;
}

.testimonials-carousel .owl-nav button {
  pointer-events: all;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface) !important;
  border: 2px solid var(--gray-300) !important;
  color: var(--gray-700) !important;
  font-size: 1.2rem !important;
  line-height: 1 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.testimonials-carousel .owl-nav button:hover {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
}

.testimonials-carousel .owl-nav button.disabled {
  opacity: 0.35;
  pointer-events: none;
}

.testimonials-carousel .owl-nav .owl-prev {
  margin-left: -20px;
}

.testimonials-carousel .owl-nav .owl-next {
  margin-right: -20px;
}

/* ===========================
   ABOUT / MVV
=========================== */
.about {
  padding: 100px 0;
  background: var(--white);
}

.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mvv-card {
  border-radius: var(--radius);
  padding: 44px 32px;
  text-align: center;
  background: var(--bg);
  transition: all var(--transition);
}

.mvv-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.mvv-featured {
  background: var(--primary);
  box-shadow: var(--shadow-lg);
}

.mvv-featured h3,
.mvv-featured p {
  color: #fff !important;
  text-shadow: none;
}

.mvv-icon {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.mvv-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--dark);
}

.mvv-card p {
  color: var(--gray-500);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* ===========================
   CTA BANNER
=========================== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #8b0000 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 420px;
  height: 420px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 50%;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}

.cta-inner {
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.cta-mascot img {
  width: 180px;
  border-radius: var(--radius);
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.25));
}

.cta-body h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.cta-body p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

/* ===========================
   FOOTER
=========================== */
.footer {
  background: #090f1a;
  color: rgba(255, 255, 255, 0.7);
}

/* Main top area */
.footer-main {
  padding: 80px 0 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-logo {
  height: 38px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
}

.footer-brand address {
  margin-top: 16px;
  font-size: 0.88rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.35);
}

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: #fff;
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--primary);
}

/* Accreditation strip */
.footer-accreditations {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 32px 0;
}

.footer-accred-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 20px;
}

.footer-accred-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}

.footer-accred-logos img {
  height: 48px;
  max-width: 120px;
  object-fit: contain;
  opacity: 0.6;
  transition: opacity var(--transition), filter var(--transition);
  filter: brightness(1.1);
}

.footer-accred-logos img:hover {
  opacity: 1;
  filter: brightness(1.3);
}

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 22px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer-bottom a {
  color: var(--primary);
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.45);
  transition: all var(--transition);
}

.footer-socials a:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(235, 42, 42, 0.1);
}

/* ===========================
   CHATBOT
=========================== */
.chatbot-wrap {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.chatbot-fab {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.35);
  background: var(--primary);
  box-shadow: 0 6px 28px rgba(235, 42, 42, 0.45);
  cursor: pointer;
  padding: 0;
  overflow: visible;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.chatbot-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 36px rgba(235, 42, 42, 0.6);
}

.chatbot-fab-inner {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.chatbot-fab img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.chatbot-fab-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 4px;
  background: #fff;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 800;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  border: 2px solid var(--primary);
}

.chatbot-window {
  width: 340px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(235, 42, 42, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-height: 520px;
  transform-origin: bottom right;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.chatbot-window.chat-visible {
  animation: chatSlideIn 0.28s ease forwards;
}

.chatbot-window.chat-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px) scale(0.96);
}

@keyframes chatSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.chatbot-header {
  background: var(--primary);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chatbot-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chatbot-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.chatbot-header-info strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.chatbot-header-info span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
}

.chatbot-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background var(--transition);
}

.chatbot-close:hover {
  background: rgba(255, 255, 255, 0.35);
}

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg);
}

.chat-msg {
  max-width: 85%;
}

.chat-msg.bot {
  align-self: flex-start;
}

.chat-msg.user {
  align-self: flex-end;
}

.chat-msg p {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0;
}

.chat-msg.bot p {
  background: var(--surface);
  color: var(--dark);
  border-bottom-left-radius: 4px;
  box-shadow: var(--shadow);
}

.chat-msg.user p {
  background: var(--primary);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chatbot-faqs {
  padding: 10px 12px 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  background: var(--bg);
  border-top: 1px solid var(--gray-300);
  transition: opacity 0.2s ease, max-height 0.3s ease;
  max-height: 200px;
  overflow: hidden;
}

.chatbot-faqs.faqs-hidden {
  opacity: 0;
  max-height: 0;
  padding: 0;
  border-top: none;
  pointer-events: none;
}

.faq-chip {
  padding: 5px 12px;
  border-radius: 50px;
  border: 1.5px solid var(--primary);
  background: transparent;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
  transition: all var(--transition);
  white-space: nowrap;
}

.faq-chip:hover {
  background: var(--primary);
  color: #fff;
}

.chatbot-input-row {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  background: var(--white);
  border-top: 1px solid var(--gray-300);
}

.chatbot-input-row input {
  flex: 1;
  padding: 8px 14px;
  border-radius: 50px;
  border: 2px solid var(--gray-300);
  background: var(--bg);
  color: var(--dark);
  font-size: 0.88rem;
  font-family: var(--font);
  outline: none;
  transition: border-color var(--transition);
}

.chatbot-input-row input:focus {
  border-color: var(--primary);
}

.chatbot-send {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--transition), transform var(--transition);
}

.chatbot-send:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}

/* ===========================
   SCROLL ANIMATIONS
=========================== */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   MODAL
=========================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
}

.modal-overlay[hidden] {
  display: none;
}

.modal {
  background: var(--white);
  border-radius: 24px;
  padding: 44px 40px;
  max-width: 560px;
  width: 100%;
  position: relative;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(235, 42, 42, 0.1);
  transform: translateY(20px);
  transition: transform 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--bg);
  color: var(--gray-500);
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  line-height: 1;
}

.modal-close:hover {
  background: var(--primary);
  color: #fff;
}

.modal-header {
  margin-bottom: 28px;
}

.modal-header h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 6px;
}

.modal-header p {
  color: var(--gray-500);
  font-size: 0.95rem;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
}

.required {
  color: var(--primary);
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border-radius: 10px;
  border: 2px solid var(--gray-300);
  background: var(--bg);
  color: var(--dark);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(235, 42, 42, 0.1);
}

.form-group input.invalid,
.form-group textarea.invalid {
  border-color: var(--primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
}

.form-submit {
  width: 100%;
  margin-top: 4px;
}

.modal-success {
  text-align: center;
  padding: 20px 0;
}

.success-icon {
  width: 72px;
  height: 72px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: var(--glow);
}

.modal-success h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}

.modal-success p {
  color: var(--gray-500);
  margin-bottom: 28px;
}

/* ===========================
   INNER PAGES (policy/conduct)
=========================== */
.page-hero {
  background: linear-gradient(135deg, var(--white) 0%, #fff0f0 100%);
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .page-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e0a0a 100%);
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(235, 42, 42, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--gray-500);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--primary);
}

.breadcrumb span {
  color: var(--gray-300);
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 12px;
}

.page-hero p {
  color: var(--gray-500);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto;
}

.policy-content {
  padding: 80px 0 100px;
  background: var(--white);
}

.policy-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 60px;
  align-items: start;
}

.policy-toc {
  position: sticky;
  top: 100px;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 24px;
  border-left: 4px solid var(--primary);
}

.policy-toc h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--primary);
  margin-bottom: 16px;
}

.policy-toc ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.policy-toc a {
  font-size: 0.9rem;
  color: var(--gray-500);
  transition: color var(--transition);
  display: block;
  line-height: 1.4;
}

.policy-toc a:hover {
  color: var(--primary);
}

.policy-body {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.policy-section {
  scroll-margin-top: 100px;
}

.policy-section h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-bg);
  display: flex;
  align-items: center;
  gap: 10px;
}

.policy-section h2 .section-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.policy-section p {
  color: var(--gray-500);
  line-height: 1.85;
  margin-bottom: 12px;
  font-size: 0.97rem;
}

.policy-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 4px;
  margin-top: 8px;
}

.policy-section ul li {
  color: var(--gray-500);
  font-size: 0.97rem;
  line-height: 1.7;
  padding-left: 20px;
  position: relative;
}

.policy-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

.policy-highlight {
  background: var(--primary-bg);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin-top: 12px;
  color: var(--dark);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-accred-logos {
    gap: 20px;
  }

  .policy-layout {
    grid-template-columns: 1fr;
  }

  .policy-toc {
    position: static;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 20px 24px 28px;
    gap: 4px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  }

  [data-theme="dark"] .nav-links {
    background: rgba(15, 23, 42, 0.98);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
    margin-left: 0;
    margin-top: 8px;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
    padding: 60px 24px 80px;
  }

  .hero-subtitle,
  .hero-actions {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .teamwork-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .mvv-grid {
    grid-template-columns: 1fr;
  }

  .upcoming-feature {
    padding: 40px 24px;
  }

  .feature-img-wrap {
    width: 100px;
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .chatbot-window {
    width: calc(100vw - 32px);
  }

  .modal {
    padding: 32px 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn-lg {
    width: 100%;
    max-width: 300px;
  }

  .stat-num {
    font-size: 2rem;
  }
}