/* Express It Logistics Ltd - Main Styles */

/* ============================================
COLOR SYSTEM - Standardized for consistency
============================================ */
:root {
  /* ============================================
     BRAND COLORS - PRIMARY
     ============================================ */
  --brand-primary: #db2777;
  --brand-primary-hover: #be185d;
  --brand-hover: #be185d;

  /* Legacy pink names - mapped to brand-primary for compatibility */
  --brand-pink: var(--brand-primary);
  --brand-pink-hover: var(--brand-primary-hover);

  /* ============================================
     LIGHT MODE COLORS
     ============================================ */
  --light-bg: #ffffff;
  --light-section: #f9fafb;
  --light-text: #111111;

  /* Legacy light mode variables - mapped to new values */
  --bg-light: var(--light-bg);
  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --bg-tertiary: #eef2f7;

  --text-light: var(--light-text);
  --text-dark: #ffffff;

  --text-primary: #111111;
  --text-secondary: #555555;
  --text-muted: #5c5c70;

  /* ============================================
     SEMANTIC COLOR MAPPINGS
     ============================================ */
  --accent: var(--brand-primary);
  --color-primary: var(--brand-primary);
  --color-primary-light: #f48fb1;
  --color-primary-dark: var(--brand-primary-hover);
  --color-primary-bg: #fce4ec;
  --color-primary-bg-light: #fff5f8;

  /* Legacy pink variables - mapped to brand colors */
  --color-pink: var(--brand-primary);
  --color-pink-light: #f48fb1;
  --color-pink-dark: var(--brand-primary-hover);
  --color-pink-subtle: #f8bbd9;
  --color-pink-bg: #fce4ec;
  --color-pink-bg-light: #fff5f8;

  /* Accent Colors */
  --accent-success: #059669;
  --accent-warning: #d97706;
  --accent-error: #dc2626;

  /* Border & Shadow */
  --border-color: #f0d9e0;
  --border-color-light: #f5eef2;

  --shadow-sm: 0 1px 2px 0 rgb(219 39 119 / 0.05);
  --shadow-md:
    0 4px 6px -1px rgb(219 39 119 / 0.1), 0 2px 4px -2px rgb(219 39 119 / 0.1);
  --shadow-lg:
    0 10px 15px -3px rgb(219 39 119 / 0.1), 0 4px 6px -4px rgb(219 39 119 / 0.1);

  /* Navigation & Footer */
  --nav-bg: rgba(255, 255, 255, 0.98);
  --footer-bg: #111111;
  --footer-text: #ffffff;

  /* Hero Overlay - Subtle pink at 8% opacity (barely visible) */
  --hero-overlay: rgba(219, 39, 119, 0.08);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease;
}

/* Dark Mode Colors */
body.dark-mode,
body.dark {
  --dark-bg: #0f172a;
  --dark-section: #1e293b;
  --dark-text: #ffffff;
  --dark-text-muted: #cbd5e1;

  --bg-dark: var(--dark-bg);
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-tertiary: #283547;

  --text-light: #111111;
  --text-dark: var(--dark-text);

  --text-primary: #ffffff;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --accent: var(--brand-primary);

  /* Pink accent colors are NOT redefined in dark mode */
  /* They inherit the exact same values from :root */
  /* --color-pink, --color-pink-light, --color-pink-dark, --color-pink-subtle remain identical */

  /* Semantic color mapping - uses inherited pink values */
  --color-primary: var(--color-pink);
  --color-primary-light: var(--color-pink-light);
  --color-primary-dark: var(--color-pink-dark);

  /* Dark-mode-specific backgrounds only */
  --color-pink-bg: #3d2544;
  --color-pink-bg-light: #2d1a35;
  --color-primary-bg: var(--color-pink-bg);
  --color-primary-bg-light: var(--color-pink-bg-light);

  --accent-success: #34d399;
  --accent-warning: #fbbf24;
  --accent-error: #f87171;

  --border-color: #3d3550;
  --border-color-light: #2d2542;

  --nav-bg: rgba(26, 26, 46, 0.98);
  --footer-bg: #0b1120;
  --footer-text: #f1f5f9;
}

/* Light Mode Body */
body.light-mode {
  color: var(--text-light);
}

/* Dark Mode Body */
body.dark-mode {
  color: var(--text-dark);
}

/* ============================================
   BASE STYLES
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Prevent horizontal overflow on all elements */
*,
*::before,
*::after {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Prevent horizontal overflow globally */
html,
body {
  width: 100%;
  overflow-x: hidden;
}

/* Image & Media Responsiveness */
img,
video,
iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

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

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  background: var(--bg-light);
  color: var(--text-light);
  line-height: 1.6;
  transition:
    background 0.3s ease,
    color 0.3s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

/* Light mode body */
body {
  background: var(--light-bg);
  color: var(--light-text);
}

/* Dark mode body */
body.dark-mode {
  background: var(--dark-bg);
  color: var(--dark-text);
}

section {
  background: var(--bg-primary);
}

p {
  color: var(--text-secondary);
}

a {
  color: var(--accent);
}

/* Utility Classes for Dark Mode Support */
.text-secondary {
  color: var(--text-secondary);
}

.text-muted {
  color: var(--text-muted);
}

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

.text-white {
  color: #ffffff;
}

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

.bg-primary\/10 {
  background-color: var(--color-primary-bg);
}

.bg-primary\/20 {
  background-color: var(--color-primary-bg-light);
}

/* Also support standard class names without escaping */
.bg-primary-10 {
  background-color: var(--color-primary-bg);
}

.bg-primary-20 {
  background-color: var(--color-primary-bg-light);
}

/* ============================================
   NAVIGATION - STABLE HEADER FOUNDATION
   ============================================ */
.site-header {
  width: 100%;
  padding: 10px 40px;
  background: var(--bg-primary);
  color: var(--text-primary);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header a {
  color: var(--text-primary);
}

body.dark-mode .site-header {
  border-bottom: 1px solid #1e293b;
}

.header-container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  min-height: 65px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo {
  height: 48px;
  width: auto;
}

.brand-text {
  display: flex;
  align-items: center;
}

.brand-name {
  font-weight: 700;
  white-space: nowrap;
  color: var(--text-primary);
  font-size: 18px;
}

.main-nav,
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
  justify-content: flex-end;
}

/* Navigation Links */
.main-nav .nav-link {
  position: relative;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  transition: color 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

.main-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width var(--transition-fast);
}

.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after {
  width: 100%;
}

/* Buttons in Header */
.main-nav .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  min-height: 44px;
}

.main-nav .btn-primary {
  background: var(--brand-primary);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 14px rgba(219, 39, 119, 0.4);
}

.main-nav .btn-primary:hover {
  background: var(--brand-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(219, 39, 119, 0.5);
}

.main-nav .btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.main-nav .btn-outline:hover {
  background-color: var(--color-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Dark Mode Toggle */
.main-nav .dark-mode-toggle {
  background: none;
  border: 2px solid var(--border-color);
  cursor: pointer;
  padding: 0.625rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 44px;
  min-height: 44px;
}

.main-nav .dark-mode-toggle:hover {
  border-color: var(--color-primary);
}

.main-nav .dark-mode-toggle i {
  color: var(--text-secondary);
  font-size: 1rem;
}

body.dark-mode .main-nav .dark-mode-toggle i {
  color: #fbbf24;
}

.mobile-menu-btn {
  background: none;
  border: 1px solid var(--border-color);
  cursor: pointer;
  padding: 0.75rem;
  color: var(--text-secondary);
  display: none;
  min-width: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0;
  line-height: 1;
  transition: all 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

.mobile-menu-btn::after {
  content: "☰";
  font-size: 1.375rem;
  line-height: 1;
}

.mobile-menu-btn:hover {
  color: var(--color-primary);
  background-color: var(--bg-secondary);
  border-color: var(--color-primary);
}

.mobile-menu-btn:active {
  transform: scale(0.95);
  background-color: var(--color-primary-bg);
}

.mobile-menu-btn.active,
.mobile-menu-btn[aria-expanded="true"] {
  background-color: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

.mobile-menu-btn.active::after,
.mobile-menu-btn[aria-expanded="true"]::after {
  content: "✕";
  font-size: 1.25rem;
}

/* Mobile Menu */
#mobile-menu {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  background-color: var(--nav-bg);
  border-top: 1px solid var(--border-color);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition:
    visibility 0s 0.4s,
    opacity 0.3s ease-out,
    max-height 0.4s ease-out,
    padding 0.4s ease-out;
}

#mobile-menu.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  max-height: 600px;
  padding: 1rem 0;
  transition:
    visibility 0s 0s,
    opacity 0.3s ease-out,
    max-height 0.4s ease-out,
    padding 0.4s ease-out;
}

.mobile-nav-link {
  display: flex;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  padding: 1rem 20px;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 48px;
  align-items: center;
  border-left: 3px solid transparent;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--color-primary);
  background-color: var(--bg-secondary);
  border-left-color: var(--color-primary);
}

.mobile-theme-toggle {
  padding: 1rem 20px;
}

/* Mobile Dark Mode Toggle - Similar to desktop but smaller */
.mobile-theme-toggle .dark-mode-toggle {
  background: none;
  border: 2px solid var(--border-color);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 36px;
  min-height: 36px;
}

.mobile-theme-toggle .dark-mode-toggle:hover {
  border-color: var(--color-primary);
}

.mobile-theme-toggle .dark-mode-toggle i {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

body.dark-mode .mobile-theme-toggle .dark-mode-toggle i {
  color: #fbbf24;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .site-header {
    padding: 8px 16px;
  }

  .header-container {
    min-height: 50px;
  }

  .main-nav,
  .nav-links {
    display: none;
  }

  .mobile-menu-btn,
  .menu-toggle {
    display: flex;
  }

  .logo {
    height: 32px;
  }

  .brand {
    gap: 8px;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Fallback background if images fail to load */
  background: linear-gradient(
    135deg,
    var(--color-pink-dark) 0%,
    var(--color-pink) 50%,
    var(--color-pink-light) 100%
  );
  overflow: hidden;
  padding-top: 80px;
}

/* Hero Slider */
.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slider .hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-slider .hero-slide.active {
  opacity: 1;
}

.hero-slider .hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Mobile responsive - use dynamic viewport height */
@supports (height: 100dvh) {
  .hero-slider .hero-slide img {
    height: 100dvh;
    object-fit: cover;
  }
}

/* Ensure proper scaling on all screen sizes */
@media (max-width: 768px) {
  .hero-slider .hero-slide img {
    object-fit: cover;
    object-position: center center;
  }
}

@media (max-width: 480px) {
  .hero-slider .hero-slide img {
    object-fit: cover;
    object-position: center;
  }
}

/* Smooth transitions for image loading */
.hero-slider .hero-slide img {
  transition: opacity 0.3s ease-in-out;
}

/* Dark pink overlay to maintain brand identity */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--hero-overlay);
  z-index: 2;
}

.hero-dots {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 14px;
  z-index: 10;
}

.hero-dots .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  min-width: 14px;
  min-height: 14px;
  -webkit-tap-highlight-color: transparent;
}

.hero-dots .dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.15);
}

.hero-dots .dot.active {
  background: #ffffff;
  transform: scale(1.2);
  border-color: #ffffff;
}

.hero-dots .dot:active {
  transform: scale(0.95);
}

/* Progress Bar */
.hero-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  z-index: 10;
}

.hero-progress {
  height: 100%;
  width: 0%;
  background: #ffffff;
  transition: width 6s linear;
}

/* Responsive adjustments for slider */
@media (max-width: 768px) {
  .hero-dots {
    bottom: 90px;
    gap: 12px;
  }

  .hero-dots .dot {
    width: 12px;
    height: 12px;
    min-width: 12px;
    min-height: 12px;
  }
}

@media (max-width: 480px) {
  .hero-dots {
    gap: 10px;
    bottom: 80px;
  }

  .hero-dots .dot {
    width: 11px;
    height: 11px;
    min-width: 11px;
    min-height: 11px;
  }
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: white;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  line-height: 1.6;
}

/* Mobile optimization */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}

.hero-badge {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
  font-size: clamp(1.75rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  word-spacing: 0.05em;
}

.hero-title .highlight {
  color: #ffffff;
  position: relative;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  opacity: 0.95;
  max-width: 650px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

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

.stat-value {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-link {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  -webkit-tap-highlight-color: transparent;
}

.scroll-link:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
}

.scroll-link i {
  font-size: 1.5rem;
}

/* Hero Section - Ensure all text stays white */
.hero,
.hero *,
.hero-section,
.hero-section * {
  color: white !important;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  min-height: 44px;
  min-width: 44px;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  background: var(--accent);
  color: #ffffff;
  border: none;
}

.btn:hover,
button:hover {
  opacity: 0.9;
}

.btn-primary {
  background: var(--brand-primary);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 14px rgba(219, 39, 119, 0.4);
}

.btn-primary:hover {
  background: var(--brand-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(219, 39, 119, 0.5);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.25);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-white {
  background-color: var(--bg-primary);
  color: var(--color-primary);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
  background-color: var(--bg-secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

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

.btn-outline:hover {
  background-color: var(--color-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ============================================
   SECTIONS
   ============================================ */
section {
  padding: 80px 0;
}

.section {
  padding: 80px 0;
  width: 100%;
  overflow: hidden;
  transition: background-color 450ms cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 768px) {
  .section {
    padding: 80px 0;
  }
}

.section-light {
  background-color: var(--bg-primary);
}

.section-secondary {
  background-color: var(--bg-secondary);
}

.section-dark {
  background: linear-gradient(
    135deg,
    var(--color-pink-dark),
    var(--color-pink)
  );
  color: #ffffff;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.section-dark::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.section-content {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  display: inline-block;
  color: var(--color-primary);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.7;
}

body.dark-mode .section-title {
  color: var(--text-primary);
}

body.dark-mode .section-subtitle {
  color: var(--text-secondary);
}

.card,
.service-box,
.team-card {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

/* ============================================
   HOMEPAGE ABOUT SECTION
   ============================================ */
.home-about {
  padding: 90px 20px;
  background: var(--bg-primary);
  color: var(--text-primary);
}

.home-about-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* New wrapper for the 2-column + full-width layout */
.about-wrapper {
  width: 100%;
}

/* Top Row: 2-Column Grid Layout */
.about-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 50px;
}

/* Left column - Heading + First Paragraph */
.about-left {
  width: 100%;
}

.about-left .section-label {
  display: inline-block;
  color: var(--color-primary);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.about-left .section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

/* Right column - Card */
.about-card {
  width: 100%;
}

/* Bottom Row: Full Width Text */
.about-full {
  width: 100%;
}

.about-full p {
  font-size: 19px;
  line-height: 1.9;
  margin-bottom: 22px;
  color: var(--text-secondary);
}

/* Highlights Grid - Full Width */
.about-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 30px 0;
  list-style: none;
  padding: 0;
}

.about-highlights li {
  background: var(--bg-secondary);
  padding: 15px 20px;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.about-highlights li i {
  color: var(--color-primary);
  flex-shrink: 0;
}

/* Mobile Responsive - 900px breakpoint */
@media (max-width: 900px) {
  .about-top {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
  }

  .about-full p {
    font-size: 17px;
  }

  .about-highlights {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .home-about {
    padding: 60px 15px;
  }

  .about-full p {
    font-size: 16px;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: 1.5rem;
  transition: all 450ms cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border-color);
  will-change: transform, box-shadow, border-color, background-color;
  overflow: hidden;
}

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

.card-secondary {
  background-color: var(--bg-secondary);
  border-color: transparent;
  transition: all 450ms cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  transition: all 450ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

.service-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(
    135deg,
    var(--color-pink-bg),
    var(--color-pink-bg-light)
  );
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-color);
}

.service-icon i {
  font-size: 1.5rem;
  color: var(--color-pink);
}

.service-card:hover .service-icon {
  background: linear-gradient(
    135deg,
    var(--color-pink-dark),
    var(--color-pink)
  );
}

.service-card:hover .service-icon i {
  color: #ffffff;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.service-description {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.7;
}

/* ============================================
   PARTNERS CAROUSEL
   ============================================ */
.partners-section {
  background-color: var(--bg-secondary);
  padding: 80px 0;
  overflow: hidden;
  width: 100%;
}

.partners-section .section-content {
  width: 100%;
}

.partners-header {
  text-align: center;
  margin-bottom: 3rem;
}

.partners-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.partners-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
}

.partners-carousel {
  display: flex;
  animation: scroll-infinite 25s linear infinite;
  will-change: transform;
}

.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  padding: 1.25rem;
  margin: 0 0.75rem;
  background-color: var(--bg-secondary);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: all 450ms cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
  min-height: 44px;
}

.partner-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.partner-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.partner-logo-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-pink-bg);
  border-radius: 50%;
}

.partner-logo-icon i {
  font-size: 1.5rem;
  color: var(--color-primary);
}

.partner-logo-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
}

body.dark-mode .partner-logo-text {
  color: var(--text-primary);
}

@keyframes scroll-infinite {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Seamless carousel wrapper for infinite looping */
.partners-carousel-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

.partners-carousel-wrapper {
  display: flex;
  width: auto;
}

.partners-carousel-wrapper .partners-carousel {
  width: auto;
}

/* Pause on hover effect */
.partners-carousel-container:hover .partners-carousel {
  animation-play-state: paused;
}

/* ============================================
   SERVICES PAGE - VERTICAL STACKED GRID
   ============================================ */
.services-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  width: 100%;
}

.service-page-card {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  transition: all 450ms cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

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

.service-page-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: linear-gradient(
    135deg,
    var(--color-pink-bg),
    var(--color-pink-bg-light)
  );
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border: 1px solid var(--border-color);
}

.service-page-icon i {
  font-size: 1.25rem;
  color: var(--color-pink);
}

.service-page-card:hover .service-page-icon {
  background: linear-gradient(
    135deg,
    var(--color-pink-dark),
    var(--color-pink)
  );
}

.service-page-card:hover .service-page-icon i {
  color: #ffffff;
}

.service-page-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.service-page-description {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.6;
  font-size: 0.95rem;
  flex-grow: 1;
}

/* Full Details Section - Always Visible */
.service-page-full-details {
  padding-top: 1rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--border-color);
}

.service-page-full-details p {
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

.service-page-full-details ul {
  list-style: none;
  padding: 0;
  margin: 0 0 0.75rem 0;
}

.service-page-full-details li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.service-page-full-details li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
}

/* Tablet - 2 columns */
@media (max-width: 1024px) {
  .services-page-grid {
    gap: 1.25rem;
  }

  .service-page-card {
    padding: 1.75rem;
  }
}

/* Mobile (max-width: 768px) - 1 column */
@media (max-width: 768px) {
  .services-page-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .service-page-card {
    padding: 1.5rem;
  }

  .service-page-title {
    font-size: 1.125rem;
  }
}

/* Small mobile (max-width: 480px) */
@media (max-width: 480px) {
  .services-page-grid {
    gap: 0.875rem;
  }

  .service-page-card {
    padding: 1.25rem;
  }

  .service-page-icon {
    width: 3rem;
    height: 3rem;
  }

  .service-page-icon i {
    font-size: 1.125rem;
  }

  .service-page-title {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
  }

  .service-page-description {
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
  }

  .service-page-full-details p,
  .service-page-full-details li {
    font-size: 0.8rem;
  }
}
/* ============================================
   SERVICES CAROUSEL
   ============================================ */
.services-carousel-container {
  position: relative;
  overflow: hidden;
  padding: 0 4rem;
  width: 100%;
  max-width: 100%;
  /* Ensure container establishes proper stacking context */
  isolation: isolate;
}

.services-carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  cursor: grab;
}

.services-carousel:active {
  cursor: grabbing;
}

.services-carousel.dragging {
  transition: none;
  cursor: grabbing;
}

/* Services Slider - Horizontal Scroll fallback */
.services-slider {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 20px;
}

.service-slide {
  flex: 0 0 320px;
  scroll-snap-align: start;
  /* Prevent text selection during drag */
  user-select: none;
  -webkit-user-select: none;
}

.service-slide-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.service-learn-more {
  display: inline;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  color: var(--color-primary);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  border-bottom: 2px solid transparent;
}

.service-learn-more:hover {
  background: transparent;
  color: var(--color-primary-dark);
  border-bottom-color: var(--color-primary);
}

.service-learn-more i {
  transition: transform 0.3s ease;
  font-size: 0.75rem;
  margin-left: 0.25rem;
}

.service-learn-more[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.service-expanded-content {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition:
    max-height 0.4s ease,
    opacity 0.4s ease,
    margin-top 0.4s ease;
}

.service-expanded-content:not([hidden]) {
  max-height: 500px;
  opacity: 1;
}

/* Navigation arrows container */
.services-carousel-nav {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 100;
  padding: 0 0.5rem;
  /* Ensure arrows are above carousel content */
  margin: 0 -0.5rem;
  /* Hide by default - will show on hover */
  opacity: 0;
  transition:
    opacity 0.3s ease,
    pointer-events 0.3s ease;
}

/* Show navigation buttons on carousel container hover */
.services-carousel-container:hover .services-carousel-nav {
  opacity: 1;
  pointer-events: auto;
}

.services-carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--border-color);
  color: var(--color-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  pointer-events: auto;
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
  position: relative;
  z-index: 100;
  /* Ensure button is always clickable */
  will-change: transform, opacity;
}

.services-carousel-btn:hover:not(:disabled) {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  transform: scale(1.1);
}

.services-carousel-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.services-carousel-btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Arrow icons */
.services-carousel-btn i {
  font-size: 1rem;
}

/* Position arrows - slightly outside container for visibility */
.services-carousel-prev {
  left: 0;
  transform: translateX(-50%);
}

.services-carousel-next {
  right: 0;
  transform: translateX(50%);
}

/* Mobile styles for services carousel */
@media (max-width: 768px) {
  .services-carousel-container {
    padding: 0 3.5rem;
  }

  .services-carousel-nav {
    padding: 0 0.25rem;
  }

  .service-slide {
    flex: 0 0 280px;
  }

  .services-carousel-btn {
    width: 44px;
    height: 44px;
  }

  .services-carousel-prev {
    left: 0;
    transform: translateX(-30%);
  }

  .services-carousel-next {
    right: 0;
    transform: translateX(30%);
  }
}

@media (max-width: 600px) {
  .services-carousel-container {
    padding: 0 3rem;
  }

  .service-slide {
    flex: 0 0 260px;
  }

  .services-carousel-btn {
    width: 40px;
    height: 40px;
  }

  .services-carousel-prev {
    transform: translateX(-20%);
  }

  .services-carousel-next {
    transform: translateX(20%);
  }
}

@media (max-width: 480px) {
  .services-carousel-container {
    padding: 0 2.75rem;
  }

  .service-slide {
    flex: 0 0 240px;
  }

  .services-carousel-btn {
    width: 36px;
    height: 36px;
  }

  .services-carousel-btn i {
    font-size: 0.875rem;
  }

  .services-carousel-prev {
    transform: translateX(-15%);
  }

  .services-carousel-next {
    transform: translateX(15%);
  }
}

@media (max-width: 400px) {
  .services-carousel-container {
    padding: 0 2.5rem;
  }

  .service-slide {
    flex: 0 0 220px;
  }

  .services-carousel-btn {
    width: 34px;
    height: 34px;
  }
}

/* ============================================
   FORM NOTIFICATIONS
   ============================================ */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
  min-height: 44px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.form-select {
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23333" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.25rem;
  padding-right: 2.75rem;
}

/* Dark mode form select dropdown arrow */
body.dark-mode .form-select {
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23cbd5e1" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
  border-color: var(--color-primary-light);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.15);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.5;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

/* ============================================
   FOOTER - CLEAN RESPONSIVE LAYOUT
   ============================================ */

/* Base Footer Styles */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 60px 5% 25px;
  font-size: 14px;
}

.site-footer a {
  color: var(--footer-text);
  text-decoration: none;
  transition:
    color var(--transition-fast),
    opacity var(--transition-fast);
}

.site-footer a:hover {
  color: var(--brand-primary);
  opacity: 1;
}

.site-footer p,
.site-footer h3,
.site-footer h4,
.site-footer h5 {
  color: var(--footer-text);
}

/* Footer Container - Flexbox Layout */
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1300px;
  margin: 0 auto;
}

/* Footer Column Base */
.footer-column {
  flex: 1;
  min-width: 200px;
}

/* Footer Brand Column */
.footer-column.footer-brand {
  flex: 1.5;
  min-width: 250px;
}

/* Footer Logo */
.footer-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
  display: block;
}

/* Footer Brand Heading */
.footer-column.footer-brand h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--footer-text);
  margin-bottom: 8px;
}

.footer-column.footer-brand p {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  font-size: 14px;
  margin: 0;
}

/* Footer Column Heading */
.footer-column h4 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Footer Links List */
.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  transition: all var(--transition-fast);
  display: inline-block;
}

.footer-column ul li a:hover {
  color: var(--brand-primary);
  transform: translateX(5px);
}

/* Footer Contact Info */
.footer-column p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 12px;
}

.footer-column p strong {
  color: #ffffff;
  font-weight: 600;
}

/* Footer Bottom */
.footer-bottom {
  max-width: 1300px;
  margin: 50px auto 0;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  margin: 0;
}

/* ============================================
   RESPONSIVE FOOTER BREAKPOINTS
   ============================================ */

/* Tablet - 2 columns */
@media (max-width: 992px) {
  .footer-container {
    gap: 30px;
  }

  .footer-column,
  .footer-column.footer-brand {
    flex: 1 1 45%;
    min-width: 180px;
  }
}

/* Mobile - Single column stack */
@media (max-width: 576px) {
  .site-footer {
    padding: 40px 5% 20px;
  }

  .footer-container {
    flex-direction: column;
    gap: 32px;
  }

  .footer-column,
  .footer-column.footer-brand {
    flex: 1 1 100%;
    min-width: 100%;
  }

  .footer-logo {
    height: 44px;
  }

  .footer-column.footer-brand h3 {
    font-size: 16px;
  }

  .footer-column.footer-brand p {
    font-size: 13px;
  }

  .footer-column h4 {
    font-size: 15px;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .footer-column ul li {
    margin-bottom: 10px;
  }

  .footer-column ul li a {
    font-size: 14px;
    padding: 8px 0;
    min-height: 40px;
    display: flex;
    align-items: center;
  }

  .footer-column p {
    font-size: 13px;
    line-height: 1.5;
  }

  .footer-bottom {
    margin-top: 28px;
    padding-top: 18px;
  }

  .footer-bottom p {
    font-size: 12px;
  }
}

/* ============================================
   DARK MODE FOOTER
   ============================================ */

body.dark-mode .site-footer {
  background: var(--footer-bg);
}

body.dark-mode .footer-column.footer-brand p,
body.dark-mode .footer-column ul li a,
body.dark-mode .footer-column p {
  color: rgba(255, 255, 255, 0.7);
}

body.dark-mode .footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
}

/* ==========================
   FOOTER - ADDITIONAL STYLES
========================== */

.site-footer {
  background: #111111;
  color: #ffffff;
  padding: 60px 20px 20px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-column {
  flex: 1;
  min-width: 250px;
}

.footer-column h4,
.footer-column h3 {
  margin-bottom: 15px;
  color: #db2777; /* Brand primary */
}

.footer-column p,
.footer-column li,
.footer-column a {
  color: #ffffff;
  font-size: 14px;
  line-height: 1.7;
  text-decoration: none;
}

.footer-column a:hover {
  color: #db2777;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-logo {
  width: 150px;
  margin-bottom: 15px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 14px;
}

/* ==========================
   MOBILE VIEW
========================== */

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 30px;
  }

  .footer-column {
    width: 100%;
  }
}

/* ==========================
   DARK MODE SUPPORT (.dark class)
========================== */

.dark .site-footer {
  background: #0f172a;
}

.dark .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* ============================================
   GLOBAL CONTAINER - STANDARDIZED
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

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

.grid {
  display: grid;
  gap: 2rem;
}

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

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

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

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.animate-bounce {
  animation: bounce 2s infinite;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* STEP 1 — HERO MOBILE HEIGHT */
@media (max-width: 768px) {
  .hero-section {
    height: 85vh;
    min-height: 550px;
  }
}

/* STEP 2 — STACK NAVIGATION ON MOBILE */
@media (max-width: 900px) {
  .header-container {
    flex-direction: column;
    height: auto;
  }
}

/* STEP 3 — BUTTON FULL WIDTH ON SMALL DEVICES */
@media (max-width: 600px) {
  .btn-primary {
    width: 100%;
    text-align: center;
  }
}

/* STEP 4 — FOOTER STACKING */
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile phones (max 480px) */
@media (max-width: 480px) {
  .brand-name {
    font-size: 1rem;
  }

  .hero-section {
    height: 70vh;
    min-height: 450px;
  }
}

/* Tablets (481px - 768px) */
@media (max-width: 768px) {
  .hero-section {
    height: 85vh;
    min-height: 550px;
    padding: 6rem 1.25rem 3rem;
  }

  .hero-content {
    padding: 1.25rem;
  }

  .hero-badge {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    margin-bottom: 1.5rem;
  }

  .hero-title {
    font-size: clamp(1.625rem, 6vw, 2.25rem);
    margin-bottom: 1.125rem;
    line-height: 1.25;
  }

  .hero-subtitle {
    font-size: clamp(0.9rem, 2.5vw, 1.05rem);
    line-height: 1.6;
    margin-bottom: 2rem;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding-top: 1.75rem;
  }

  .stat-value {
    font-size: clamp(1.5rem, 4vw, 2rem);
  }

  .stat-label {
    font-size: 0.8rem;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: clamp(1.625rem, 4vw, 2.125rem);
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .btn {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    min-height: 48px;
  }

  .hero-buttons {
    gap: 0.875rem;
  }

  .hero-buttons .btn {
    flex: 1;
    min-width: 140px;
  }

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

  .form-group {
    margin-bottom: 1.25rem;
  }

  .form-label {
    font-size: 0.9rem;
  }

  .form-textarea {
    min-height: 120px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: span 1;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .footer-legal {
    flex-direction: column;
    gap: 0.75rem;
  }

  .grid-2 {
    grid-template-columns: 1fr !important;
  }

  .grid-3 {
    grid-template-columns: 1fr !important;
  }
}

/* Tablet - 2 columns for footer grid override */
@media (max-width: 1024px) and (min-width: 769px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop (993px+) */
@media (min-width: 993px) {
  .mobile-menu-btn {
    display: none !important;
  }

  .section {
    padding: 80px 0;
  }

  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
  }

  .footer-brand {
    grid-column: span 1;
  }
}

/* Extra Small Devices (max 480px) - Additional tweaks */
@media (max-width: 480px) {
  .hero-section {
    padding: 5rem 1rem 2.5rem;
    height: 90vh;
    min-height: 500px;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.9rem;
    margin-bottom: 1.25rem;
  }

  .hero-title {
    font-size: clamp(1.375rem, 5.5vw, 2rem);
    margin-bottom: 0.875rem;
    line-height: 1.3;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.55;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.75rem;
    padding-top: 1.25rem;
  }

  .stat-value {
    font-size: clamp(1.25rem, 4vw, 1.625rem);
    margin-bottom: 0.25rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.625rem;
  }

  .hero-buttons .btn {
    width: 100%;
    min-width: unset;
    flex: unset;
    padding: 0.875rem 1.125rem;
    font-size: 0.9rem;
    min-height: 48px;
  }

  .section {
    padding: 50px 0;
  }

  .section-title {
    font-size: clamp(1.375rem, 4vw, 1.75rem);
    margin-bottom: 0.625rem;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .section-label {
    font-size: 0.75rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
  }

  .service-card {
    padding: 1.375rem;
  }

  .service-icon {
    width: 3rem;
    height: 3rem;
    margin-bottom: 0.875rem;
  }

  .service-icon i {
    font-size: 1.125rem;
  }

  .service-title {
    font-size: 1.05rem;
  }

  .form-group {
    margin-bottom: 0.875rem;
  }

  .form-label {
    font-size: 0.85rem;
    margin-bottom: 0.375rem;
  }

  .form-input,
  .form-select,
  .form-textarea {
    padding: 0.875rem;
    font-size: 1rem;
    min-height: 48px;
  }

  .form-textarea {
    min-height: 100px;
  }

  .form-row {
    gap: 0.875rem;
  }

  .partners-carousel-container {
    margin: 0 -0.75rem;
    padding: 0 0;
  }

  .partners-carousel {
    animation: scroll-infinite 25s linear infinite;
  }

  .partner-item {
    width: 130px;
    padding: 0.875rem;
    margin: 0 0.5rem;
    min-width: 130px;
  }

  .partner-logo-icon {
    width: 44px;
    height: 44px;
  }

  .partner-logo-icon i {
    font-size: 1rem;
  }

  .partner-logo-text {
    font-size: 0.65rem;
  }

  .footer {
    padding: 2.5rem 0.75rem 1.25rem;
  }

  .footer-title {
    font-size: 0.95rem;
    margin-bottom: 0.875rem;
  }

  .footer-description {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }

  .social-links {
    gap: 0.5rem;
  }

  .social-link {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
  }

  .contact-list li {
    gap: 0.5rem;
    margin-bottom: 0.625rem;
    font-size: 0.875rem;
  }

  .scroll-indicator {
    bottom: 1rem;
  }

  .scroll-link {
    width: 48px;
    height: 48px;
  }

  /* Mobile carousel styling */
  .partners-carousel {
    animation: scroll-infinite 25s linear infinite;
  }
}

/* ============================================
   CROSS-BROWSER & MOBILE FIXES
   ============================================ */

/* Safari 100vh fix */
@supports (height: 100dvh) {
  .hero-section {
    height: 100dvh;
    overflow: hidden;
  }
}

/* Fallback for browsers without 100dvh support */
.hero-section {
  height: 100vh;
  min-height: 650px;
  overflow: hidden;
  width: 100%;
}

/* Ensure flexbox works consistently in Safari */
.btn,
button {
  flex-shrink: 0;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}

/* iOS Safari fixes */
input,
textarea,
select {
  -webkit-appearance: none;
  appearance: none;
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  border-radius: 4px;
}

input[type="checkbox"],
input[type="radio"] {
  -webkit-appearance: checkbox;
  appearance: checkbox;
}

/* Prevent zoom on iPhone when input is focused */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea {
  font-size: 16px;
}

/* Sticky elements iOS fix */
.site-header {
  position: sticky;
  top: 0;
  will-change: transform;
  z-index: 1000;
}

/* Improve touch performance */
.nav-link,
.btn,
.social-link,
button {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

a {
  -webkit-touch-callout: default;
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --text-muted: #475569;
    --border-color: #94a3b8;
  }
}

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--color-pink);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-pink-dark);
}

/* Form Loading Spinner */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.fa-spin {
  animation: spin 1s linear infinite;
}

/* ============================================
   TRACK SHIPMENT BUTTONS
   ============================================ */

/* Header Track Button - Outline Style */
.track-shipment-btn {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  box-shadow: none;
}

.track-shipment-btn:hover {
  background-color: var(--color-primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(233, 30, 99, 0.3);
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  nav,
  .no-print,
  .dark-mode-toggle {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: var(--text-primary);
    background: var(--bg-primary);
  }

  a {
    text-decoration: none;
    color: var(--text-primary);
  }

  .hero-section {
    min-height: auto;
    padding: 2rem;
    background: #f0f0f0 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  padding: 12px 18px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  z-index: 999;
}

.whatsapp-float:hover {
  opacity: 0.9;
}

/* =========================================
   GLOBAL RESPONSIVE REFINEMENT SYSTEM
   Express It Logistics Ltd
   ========================================= */

/* Prevent horizontal scroll */
html,
body {
  overflow-x: hidden;
}

/* Images scale properly */
img {
  max-width: 100%;
  height: auto;
}

/* ===============================
   TABLET (1024px and below)
   =============================== */
@media (max-width: 1024px) {
  section {
    padding: 60px 0;
  }

  .container {
    padding: 0 18px;
  }

  .header-container {
    padding: 0 18px;
  }

  .main-nav {
    gap: 16px;
  }

  .hero-section {
    height: 85vh;
    min-height: 580px;
  }

  .hero-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
  }

  .hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
  }

  .hero-stats {
    gap: 1.5rem;
    margin-top: 3rem;
  }

  .stat-value {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
  }
}

/* ===============================
   MOBILE (768px and below)
   =============================== */
@media (max-width: 768px) {
  /* Header */
  .header-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 70px;
    padding: 0 16px;
  }

  .brand {
    justify-content: flex-start;
  }

  .logo {
    height: 38px;
  }

  .brand-name {
    font-size: 0.95rem;
  }

  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  /* Sections */
  section {
    padding: 50px 0;
  }

  h1 {
    font-size: 26px;
    text-align: center;
  }

  h2 {
    font-size: 22px;
    text-align: center;
  }

  /* Cards / Feature Boxes */
  .card,
  .feature-card,
  .service-card {
    width: 100%;
    padding: 1.25rem;
  }

  .footer-contact {
    max-width: 100%;
  }

  /* WhatsApp Button */
  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    padding: 12px 18px;
    font-size: 14px;
    min-width: 48px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* ===============================
   SMALL MOBILE (480px and below)
   =============================== */
@media (max-width: 480px) {
  h1 {
    font-size: 22px;
  }

  h2 {
    font-size: 18px;
  }

  p {
    font-size: 14px;
  }

  .container {
    padding: 0 14px;
  }

  .main-nav {
    gap: 8px;
  }

  .logo {
    height: 34px;
  }

  .brand-name {
    font-size: 0.85rem;
  }

  .section {
    padding: 40px 0;
  }

  .card,
  .service-card {
    padding: 1.125rem;
  }
}

/* ===============================
   FOLDABLE / LARGE MOBILE
   =============================== */
@media (min-width: 769px) and (max-width: 900px) {
  .header-container {
    padding: 0 25px;
  }
}

@media (max-width: 992px) {
  .header-container {
    position: relative;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-primary);
    flex-direction: column;
    padding: 20px;
    display: none;
  }

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

  .menu-toggle {
    display: block;
    font-size: 26px;
    background: none;
    border: none;
    cursor: pointer;
  }
}

@media (min-width: 993px) {
  .menu-toggle {
    display: none;
  }
}
