/* ===================================
   Domkoly Shipping - Design System
   Enterprise Logistics Website
   =================================== */

/* CSS Custom Properties */
:root {
  /* DP World-Inspired Brand Palette */
  --brand-navy: #001e43;
  --brand-red: #E3000F;
  --brand-primary: #001e43;
  --brand-dark: #001030;
  --brand-light: #f4f6f8;
  --brand-hover: #001835;
  --brand-red-hover: #c70000;

  /* Neutral Palette */
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* Semantic */
  --color-success: #059669;
  --color-warning: #d97706;
  --color-error: #dc2626;

  /* Typography */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--gray-900);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Skip Link (Accessibility) */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  padding: 0.75rem 1.5rem;
  background: var(--brand-primary);
  color: var(--white);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

/* Breadcrumb */
.breadcrumb {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  padding: var(--space-3) 0;
  margin-top: 60px;
}

.breadcrumb-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.8125rem;
  color: var(--gray-500);
}

.breadcrumb-list li::before {
  content: '/';
  margin-right: var(--space-2);
  color: var(--gray-400);
}

.breadcrumb-list li:first-child::before {
  display: none;
}

.breadcrumb-list a {
  color: var(--brand-primary);
  font-weight: 500;
}

.breadcrumb-list a:hover {
  color: var(--brand-red);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--gray-900);
}

h1 { font-size: 1.75rem; letter-spacing: -0.02em; line-height: 1.1; }
h2 { font-size: 1.35rem; letter-spacing: -0.01em; line-height: 1.2; }
h3 { font-size: 1.15rem; }
h4 { font-size: 0.95rem; }

@media (min-width: 768px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
}

@media (min-width: 1024px) {
  h1 { font-size: 3.5rem; }
}

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

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

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-6);
  }
}

/* ===================================
   Navigation
   =================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-3) 0;
  background: var(--white);
  border-bottom: 3px solid var(--brand-red);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: var(--white);
  border-bottom: 3px solid var(--brand-red);
  box-shadow: var(--shadow-sm);
  padding: var(--space-3) 0;
}

#nav-cta-quote {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 48px;
  padding: 0;
  font-size: 0.75rem;
  line-height: 1.1;
  border-radius: 6px;
  text-align: center;
  font-weight: 700;
}

#nav-cta-quote span {
  display: block;
}

@media (min-width: 480px) {
  #nav-cta-quote {
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
  }
}

@media (min-width: 1024px) {
  #nav-cta-quote {
    width: auto;
    height: auto;
    flex-direction: row;
    gap: var(--space-2);
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
  }
  
  #nav-cta-quote span {
    display: inline;
    font-size: inherit !important;
    font-weight: inherit !important;
    text-transform: none !important;
  }
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
}

@media (min-width: 1280px) {
  .logo {
    margin-left: -2rem; /* Subtle offset for wide screens if desired, but not -5rem */
  }
}

.logo-img {
  height: 29px;
  width: auto;
  display: block;
}

@media (min-width: 768px) {
  .logo-img {
    height: 48px;
  }
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--brand-navy);
  letter-spacing: 0px;
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .logo-text {
    font-size: 1.25rem;
    letter-spacing: 0.5px;
  }
}

.logo-text sup {
  font-size: 0.6em;
}

.nav-links {
  display: none;
  list-style: none;
  gap: var(--space-8);
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--brand-navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brand-red);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  margin-right: var(--space-2);
}

@media (min-width: 1024px) {
  .mobile-menu-btn { 
    display: none; 
    margin-right: 0;
  }
}

.mobile-menu-btn span {
  width: 22px;
  height: 2px;
  background: var(--gray-800);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 320px;
  height: 100vh;
  background: var(--white);
  z-index: 1001;
  padding: var(--space-8);
  box-shadow: var(--shadow-lg);
  transition: right 0.3s ease;
}

.mobile-menu.active { right: 0; }

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--gray-800);
  cursor: pointer;
}

.mobile-nav-links {
  list-style: none;
  margin-top: var(--space-16);
}

.mobile-nav-links li {
  margin-bottom: var(--space-4);
}

.mobile-nav-links a {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--gray-700);
}

/* ===================================
   Buttons
   =================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.625rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: none;
  letter-spacing: 0;
}

.btn-primary {
  background: var(--brand-red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--brand-red-hover);
}

.btn-secondary {
  background: var(--white);
  color: var(--gray-800);
  border: 1px solid var(--gray-300);
}

.btn-secondary:hover {
  background: var(--gray-50);
  border-color: var(--gray-400);
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
  border-radius: 8px;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 120px 0 var(--space-16);
  background: url('../images/bg.webp') no-repeat center center;
  background-size: cover;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,30,67,0.92) 0%, rgba(0,30,67,0.65) 55%, rgba(0,0,0,0.25) 100%);
  z-index: 0;
}

.hero-bg { display: none; }
.hero-particles { display: none; }
.hero-gradient { display: none; }
.hero-globe { display: none; }

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  color: var(--white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-6);
  font-weight: 500;
  backdrop-filter: blur(8px);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-success);
  border-radius: 50%;
}

.hero h1 {
  margin-bottom: var(--space-4);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: -1px;
}

.hero h1 .highlight {
  color: var(--brand-red);
  -webkit-text-fill-color: var(--brand-red);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.hero-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-8);
  max-width: 560px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

@media (min-width: 640px) {
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
  }
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
}

@media (min-width: 768px) {
  .hero-stat-number { font-size: 2.5rem; }
}

.hero-stat-label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: var(--space-1);
  font-weight: 500;
}

/* ===================================
   Tracking Widget
   =================================== */
.tracking-section {
  padding: var(--space-16) 0;
}

.tracking-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  max-width: 800px;
  margin: 0 auto;
}

.tracking-header {
  text-align: center;
  margin-bottom: var(--space-6);
}

.tracking-header h2 {
  font-size: 1.5rem;
  margin-bottom: var(--space-2);
}

.tracking-header h2 i {
  color: var(--brand-primary);
  margin-right: var(--space-2);
}

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

.tracking-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

@media (min-width: 640px) {
  .tracking-form { flex-direction: row; }
}

.tracking-input-wrapper {
  flex: 1;
  position: relative;
}

.tracking-input-wrapper i {
  position: absolute;
  left: var(--space-4);
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
}

.tracking-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  color: var(--gray-900);
  font-size: 0.9375rem;
  transition: border-color 0.2s;
}

.tracking-input:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(0, 87, 160, 0.1);
}

.tracking-input::placeholder {
  color: var(--gray-400);
}

.tracking-result {
  display: none;
  margin-top: var(--space-6);
  padding: var(--space-6);
  background: var(--gray-50);
  border-radius: 8px;
  border: 1px solid var(--gray-200);
}

.tracking-result.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

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

.tracking-timeline {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.tracking-step {
  display: flex;
  gap: var(--space-4);
  position: relative;
}

.tracking-step::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 35px;
  width: 2px;
  height: calc(100% + var(--space-4));
  background: var(--gray-200);
}

.tracking-step:last-child::before { display: none; }

.tracking-step-icon {
  width: 32px;
  height: 32px;
  background: var(--gray-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gray-500);
}

.tracking-step.completed .tracking-step-icon {
  background: var(--color-success);
  color: var(--white);
}

.tracking-step.current .tracking-step-icon {
  background: var(--brand-primary);
  color: var(--white);
}

.tracking-step-content h4 {
  font-size: 0.9375rem;
  margin-bottom: 2px;
}

.tracking-step-content p {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

/* ===================================
   Section Shared
   =================================== */
.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-subtitle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--brand-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-3);
}

.section-header h2 {
  margin-bottom: var(--space-3);
}

.section-description {
  color: var(--gray-500);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1rem;
}

/* ===================================
   Services
   =================================== */
.services-section {
  padding: var(--space-12) 0;
  background: var(--gray-50);
}

@media (min-width: 768px) {
  .services-section {
    padding: var(--space-20) 0;
  }
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-5 { grid-template-columns: repeat(5, 1fr); }
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: var(--space-8);
  transition: box-shadow 0.2s, transform 0.2s;
}

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

.service-card::before { display: none; }

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--brand-navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  color: var(--white);
  margin-bottom: var(--space-5);
  box-shadow: none;
}

.service-card h3 {
  font-size: 1.125rem;
  margin-bottom: var(--space-2);
}

.service-card p {
  color: var(--gray-500);
  font-size: 0.875rem;
  margin-bottom: var(--space-4);
  line-height: 1.6;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--brand-red);
  font-size: 0.875rem;
  font-weight: 600;
}

.service-link i {
  transition: transform 0.2s;
}

.service-card:hover .service-link i {
  transform: translateX(3px);
}

/* ===================================
   Quote Calculator
   =================================== */
.quote-section {
  padding: var(--space-20) 0;
  background: var(--white);
}

.quote-section::before { display: none; }

.quote-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: start;
}

@media (min-width: 1024px) {
  .quote-grid { grid-template-columns: 1fr 1fr; }
}

.quote-content h2 {
  margin-bottom: var(--space-4);
  color: var(--gray-900);
}

.quote-content p {
  color: var(--gray-600);
  margin-bottom: var(--space-6);
  line-height: 1.7;
}

.quote-features {
  list-style: none;
}

.quote-features li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  font-size: 0.9375rem;
  color: var(--gray-700);
}

.quote-features i {
  color: var(--color-success);
}

.quote-calculator {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: var(--space-8);
  backdrop-filter: none;
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-700);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-input,
.form-select {
  padding: 0.625rem 0.875rem;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 6px;
  color: var(--gray-900);
  font-size: 0.9375rem;
  transition: border-color 0.2s;
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(0, 87, 160, 0.1);
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6,9 12,15 18,9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px;
  padding-right: 2.5rem;
}

.form-select option {
  background: var(--white);
}

.quote-result {
  display: none;
  margin-top: var(--space-6);
  padding: var(--space-6);
  background: var(--brand-light);
  border-radius: 8px;
  border: 1px solid rgba(0, 87, 160, 0.15);
}

.quote-result.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.quote-price {
  text-align: center;
}

.quote-price-label {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

.quote-price-value {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--brand-primary);
}

.quote-price-note {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: var(--space-2);
}

/* ===================================
   Global Network
   =================================== */
.network-section {
  padding: var(--space-20) 0;
  background: var(--gray-50);
}

.network-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 1024px) {
  .network-grid { grid-template-columns: 1fr 1.2fr; }
}

.network-content h2 {
  margin-bottom: var(--space-4);
}

.network-content p {
  color: var(--gray-600);
  margin-bottom: var(--space-8);
  line-height: 1.7;
}

.text-gradient {
  color: var(--brand-primary);
  background: none;
  -webkit-text-fill-color: var(--brand-primary);
  -webkit-background-clip: unset;
  background-clip: unset;
}

.network-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

.network-stat {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: var(--space-5);
  text-align: center;
  transition: box-shadow 0.2s;
}

.network-stat:hover {
  box-shadow: var(--shadow-md);
}

.network-stat-number {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--brand-primary);
}

.network-stat-label {
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin-top: 2px;
}

.network-map {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: var(--space-8);
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.world-map {
  width: 100%;
  max-width: 560px;
  opacity: 0.7;
}

.map-marker {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--brand-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(0, 87, 160, 0.2);
}

.map-marker::before { display: none; }

.map-marker.uae {
  width: 14px;
  height: 14px;
  background: var(--brand-primary);
  box-shadow: 0 0 0 4px rgba(0, 87, 160, 0.25);
}

/* ===================================
   Stats
   =================================== */
.stats-section {
  padding: var(--space-16) 0;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--brand-primary);
}

@media (min-width: 768px) {
  .stat-number { font-size: 2.75rem; }
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin-top: var(--space-1);
}

/* ===================================
   Testimonials
   =================================== */
.testimonials-section {
  padding: var(--space-20) 0;
}

.testimonials-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-card {
  flex: 0 0 100%;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: var(--space-10);
  text-align: center;
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 1.125rem;
  margin-bottom: var(--space-6);
}

.testimonial-text {
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: var(--space-6);
  color: var(--gray-700);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  background: var(--brand-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.testimonial-info h4 {
  font-size: 0.9375rem;
}

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

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: var(--space-6);
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  background: var(--gray-300);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s;
}

.testimonial-dot.active {
  background: var(--brand-primary);
  width: 24px;
  border-radius: 4px;
}

/* ===================================
   Partners
   =================================== */
.partners-section {
  padding: var(--space-12) 0;
  border-top: 1px solid var(--gray-200);
}

.partners-header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.partners-header p {
  color: var(--gray-400);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.partners-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-10);
}

.partner-logo {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-300);
}

.partner-logo:hover {
  color: var(--gray-500);
}

/* ===================================
   CTA
   =================================== */
.cta-section {
  padding: var(--space-20) 0;
}

.cta-card {
  background: var(--brand-navy);
  border-radius: 12px;
  padding: var(--space-12) var(--space-8);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-card::before { display: none; }

.cta-card h2 {
  position: relative;
  margin-bottom: var(--space-3);
  color: var(--white);
}

.cta-card p {
  position: relative;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-8);
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.cta-buttons {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
}

.cta-buttons .btn-primary {
  background: var(--brand-red);
  color: var(--white);
}

.cta-buttons .btn-primary:hover {
  background: var(--brand-red-hover);
}

.cta-buttons .btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.cta-buttons .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

/* ===================================
   Footer
   =================================== */
.footer {
  background: var(--brand-navy);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer-brand {
  max-width: 280px;
}

.footer-brand .logo {
  margin-bottom: var(--space-4);
}

.footer-brand .logo-icon {
  background: var(--brand-red);
}

.footer-brand .logo-text {
  color: var(--white);
}

.footer-brand p {
  color: var(--gray-400);
  font-size: 0.875rem;
  margin-bottom: var(--space-5);
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: var(--space-2);
}

.social-link {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  transition: all 0.2s;
}

.social-link:hover {
  background: var(--brand-red);
  color: var(--white);
  border-color: var(--brand-red);
  transform: translateY(-3px);
}

.footer-column h4 {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-4);
  color: var(--gray-300);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-2);
}

.footer-links a {
  color: var(--gray-400);
  font-size: 0.875rem;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact {
  list-style: none;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  color: var(--gray-400);
  font-size: 0.875rem;
}

.footer-contact i {
  color: var(--white);
  margin-top: 3px;
  font-size: 0.8125rem;
}

.footer-bottom {
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom p {
  color: var(--gray-500);
  font-size: 0.8125rem;
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-6);
}

.footer-bottom-links a {
  color: var(--gray-500);
  font-size: 0.8125rem;
}

.footer-bottom-links a:hover {
  color: var(--gray-300);
}

/* ===================================
   Floating WhatsApp
   =================================== */
/* ===================================
   Floating Contact & Chatbot
   =================================== */
.floating-contact {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: flex-end;
}

.floating-btn {
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  color: var(--white);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.floating-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.call-btn {
  background: var(--brand-navy);
  box-shadow: 0 4px 15px rgba(0, 30, 67, 0.4);
}

.call-btn:hover {
  background: var(--brand-red);
  box-shadow: 0 6px 20px rgba(227, 0, 15, 0.4);
}

.chatbot-window {
  position: fixed;
  bottom: 100px;
  right: var(--space-6);
  width: 320px;
  height: 450px;
  background: var(--white);
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  z-index: 1000;
  animation: slideUp 0.3s ease-out;
}

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

.chatbot-window.active {
  display: flex;
}

.chatbot-header {
  background: var(--brand-navy);
  color: var(--white);
  padding: var(--space-4);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chatbot-messages {
  flex: 1;
  padding: var(--space-4);
  overflow-y: auto;
  background: var(--gray-50);
}

.chat-bubble {
  padding: var(--space-3) var(--space-4);
  border-radius: 12px;
  margin-bottom: var(--space-3);
  max-width: 85%;
  font-size: 0.875rem;
}

.chat-bot {
  background: var(--white);
  color: var(--gray-800);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
  border: 1px solid var(--gray-200);
}

.chat-user {
  background: var(--brand-red);
  color: var(--white);
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.chatbot-input {
  padding: var(--space-3);
  border-top: 1px solid var(--gray-200);
  display: flex;
  gap: var(--space-2);
}

.chatbot-input input {
  flex: 1;
  border: 1px solid var(--gray-300);
  border-radius: 20px;
  padding: 8px 15px;
  font-size: 0.875rem;
}

.chatbot-input button {
  background: var(--brand-red);
  color: var(--white);
  border: none;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  cursor: pointer;
}

/* ===================================
   Animations (minimal)
   =================================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===================================
   Utilities
   =================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-4 { margin-bottom: var(--space-4); }
.mb-8 { margin-bottom: var(--space-8); }
.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.hidden { display: none; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray-400); }

/* Legacy variable mappings for subpages */
:root {
  --color-primary-900: var(--gray-900);
  --color-primary-800: var(--gray-800);
  --color-primary-700: var(--gray-700);
  --color-primary-600: var(--gray-600);
  --color-primary-500: var(--brand-primary);
  --color-accent-400: var(--brand-primary);
  --color-accent-500: var(--brand-primary);
  --color-accent-600: var(--brand-dark);
  --color-highlight-400: var(--brand-primary);
  --color-highlight-500: var(--brand-primary);
  --color-highlight-600: var(--brand-dark);
  --color-white: var(--white);
  --color-bg-primary: var(--white);
  --color-bg-secondary: var(--gray-50);
  --color-bg-tertiary: var(--gray-100);
  --color-text-primary: var(--gray-900);
  --color-text-secondary: var(--gray-700);
  --color-text-muted: var(--gray-500);
  --color-text-light: var(--gray-400);
  --color-gray-100: var(--gray-100);
  --color-gray-200: var(--gray-200);
  --color-gray-300: var(--gray-300);
  --color-gray-400: var(--gray-400);
  --color-gray-500: var(--gray-500);
  --color-gray-600: var(--gray-600);
  --color-success: var(--color-success);
  --color-warning: var(--color-warning);
  --color-error: var(--color-error);
  --color-info: var(--brand-primary);
  --glass-bg: var(--white);
  --glass-bg-solid: var(--white);
  --glass-border: var(--gray-200);
  --glass-blur: none;
  --shadow-glow: var(--shadow-md);
  --shadow-glow-cyan: var(--shadow-md);
  --shadow-card: var(--shadow-md);
  --shadow-sm: var(--shadow-sm);
  --shadow-md: var(--shadow-md);
  --shadow-lg: var(--shadow-lg);
  --shadow-xl: var(--shadow-lg);
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 10px;
  --radius-2xl: 12px;
  --radius-full: 9999px;
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
  --transition-smooth: 500ms ease;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-7xl: 4.5rem;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
}