/* ─── GOOGLE FONTS ───────────────────────────────────────── */
@import url("https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&family=Playfair+Display:ital,wght@1,400;1,500&display=swap");

/* ─── CSS VARIABLES (DESIGN TOKENS) ─────────────────────── */
:root {
  /* Brand Colors */
  --primary: #091d48;
  --primary-mid: #0c2f63;
  --primary-light: #133780;
  --accent: #d62828;
  --accent-hover: #b01f1f;
  --gold: #c8972a;

  /* Theme Backgrounds - NEW LIGHT THEME */
  --bg-light: #f9f8f4; /* Vintage Off-White */
  --bg-white: #ffffff; /* Crisp White for cards */

  /* Neutrals */
  --white: #ffffff;
  --off-white: #f4f6fa;
  --gray-100: #e8edf5;
  --gray-300: #b0bad0;
  --gray-500: #6e7e9c;
  --gray-700: #3a4a62;
  --dark: #040e20;

  /* Glass System (Kept for Hero/Dark areas only) */
  --glass-white: rgba(255, 255, 255, 0.1);
  --glass-white-md: rgba(255, 255, 255, 0.15);
  --glass-white-lg: rgba(255, 255, 255, 0.2);
  --glass-dark: rgba(7, 23, 57, 0.6);
  --glass-dark-md: rgba(7, 23, 57, 0.8);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-border-d: rgba(255, 255, 255, 0.08);

  /* Shadows - Softened for Light Theme */
  --shadow-sm: 0 4px 24px rgba(7, 23, 57, 0.04);
  --shadow-md: 0 12px 40px rgba(7, 23, 57, 0.08);
  --shadow-lg: 0 24px 80px rgba(7, 23, 57, 0.12);
  --shadow-glow: 0 0 60px rgba(214, 40, 40, 0.15);

  /* Typography */
  --font-display: "Syne", sans-serif;
  --font-body: "DM Sans", sans-serif;
  --font-italic: "Playfair Display", serif;

  /* Spacing */
  --section-py: 100px;
  --section-py-sm: 64px;

  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.65s cubic-bezier(0.4, 0, 0.2, 1);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --radius-full: 999px;
}

/* ─── RESET & BASE ───────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  color: var(--primary);
  background: var(--bg-light); /* Changed to Vintage Off-White */
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ─── PRELOADER ──────────────────────────────────────────── */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;

  /* Layered Background: 
     1 & 2: Grid (Top) - Opacity increased to 0.05
     3, 4, 5: Animated Orbs (Middle)
     6: Soft Diagonal Gradient Base (Bottom) */
  background-image:
    linear-gradient(rgba(7, 23, 57, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 23, 57, 0.05) 1px, transparent 1px),
    radial-gradient(
      circle at 0% 0%,
      rgba(214, 40, 40, 0.08) 0%,
      transparent 45%
    ),
    radial-gradient(
      circle at 100% 100%,
      rgba(7, 23, 57, 0.08) 0%,
      transparent 55%
    ),
    radial-gradient(
      circle at 0% 100%,
      rgba(200, 151, 42, 0.06) 0%,
      transparent 40%
    ),
    linear-gradient(
      135deg,
      var(--white) 0%,
      var(--off-white) 60%,
      var(--gray-100) 100%
    );

  background-repeat: repeat, repeat, no-repeat, no-repeat, no-repeat, no-repeat;
  background-position:
    0 0,
    0 0,
    top left,
    bottom right,
    bottom left,
    center;

  animation: orbBreathe 8s ease-in-out infinite;
}

/* We must add a 6th value to background-size to account for the new gradient base */
@keyframes orbBreathe {
  0%,
  100% {
    background-size:
      48px 48px,
      48px 48px,
      100% 100%,
      100% 100%,
      100% 100%,
      100% 100%;
  }
  50% {
    background-size:
      48px 48px,
      48px 48px,
      135% 135%,
      150% 150%,
      140% 140%,
      100% 100%;
  }
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-logo {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--primary);
}

.preloader-logo span {
  color: var(--accent);
}

.preloader-bar {
  width: 200px;
  height: 2px;
  background: rgba(7, 23, 57, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.preloader-bar::after {
  content: "";
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  border-radius: var(--radius-full);
  animation: preloaderFill 1.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes preloaderFill {
  to {
    width: 100%;
  }
}

/* ─── SCROLLBAR ──────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent), var(--primary-light));
  border-radius: var(--radius-full);
}

/* ─── SELECTION ──────────────────────────────────────────── */
::selection {
  background: var(--accent);
  color: var(--white);
}

/* ─── BACK TO TOP ────────────────────────────────────────── */
#backToTop {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9000;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gray-100);
  color: var(--primary);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-md);
}

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

#backToTop:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-4px);
}

/* ─── TYPOGRAPHY SYSTEM ──────────────────────────────────── */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.display-xl {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.display-lg {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.display-md {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.text-accent {
  color: var(--accent);
}
.text-gold {
  color: var(--gold);
}
.text-white {
  color: var(--white);
}
.text-muted {
  color: var(--gray-500); /* Adjusted for light bg */
}
.text-primary {
  color: var(--primary);
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.section-label::before,
.section-label::after {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  background: var(--accent);
}

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: none;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: var(--transition-fast);
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #a01e1e 100%);
  color: var(--white);
  box-shadow: 0 8px 32px rgba(214, 40, 40, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(214, 40, 40, 0.45);
  color: var(--white);
}

.btn-glass {
  background: var(--glass-white-md);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--white);
}

.btn-glass:hover {
  background: var(--glass-white-lg);
  transform: translateY(-2px);
  color: var(--white);
}

.btn-outline-light {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
}

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

.btn-dark {
  background: var(--primary);
  color: var(--white);
  border: 1.5px solid var(--primary-light);
}

.btn-dark:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  color: var(--white);
}

.btn-lg {
  padding: 18px 44px;
  font-size: 0.95rem;
}

.btn-icon {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* ─── NAVBAR ─────────────────────────────────────────────── */
.navbar-rsl {
  position: fixed;
  top: 24px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: calc(100% - 48px);
  max-width: 1400px;
  z-index: 8000;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  transition: var(--transition-smooth);

  /* Enhanced Glassmorphism Base with a Subtle Red Tint */
  background: rgba(
    247,
    214,
    214,
    0.571
  ); /* Shifted to a warm, red-tinted white */
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);

  /* Subtle dark border for light BGs, inset white rim for 3D glass pop */
  border: 1px solid rgba(7, 23, 57, 0.08);
  box-shadow: 0 10px 32px rgba(7, 23, 57, 0.06);
}

.navbar-rsl.scrolled {
  top: 16px;
  padding: 10px 24px;
  background: rgba(
    255,
    242,
    242,
    0.82
  ); /* Slightly more opaque red-tinted white */
  border-color: rgba(7, 23, 57, 0.15);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 12px 48px rgba(7, 23, 57, 0.12);
}

.navbar-inner {
  max-width: 100%; /* Removed strict width so it fills the new pill shape */
  margin: 0 auto;
  padding: 0 8px; /* Removed the double padding, letting elements sit near the edges */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.navbar-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-rsl {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--primary); /* Changed to dark blue */
}

.brand-rsl span {
  color: var(--accent);
}

.brand-tagline {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-500); /* Changed to dark gray */
}
.navbar-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-link-rsl {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-700); /* Changed to dark gray */
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
  position: relative;
}

.nav-link-rsl:hover,
.nav-link-rsl.active {
  color: var(--primary); /* Changed to primary dark blue */
  background: rgba(7, 23, 57, 0.06); /* Soft dark hover tint */
}

.nav-link-rsl.active::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

.navbar-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ─── HAMBURGER ──────────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 12px; /* Enlarged tap target area for easier interaction on mobile screens */
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  position: relative;
  z-index: 8500; /* Guarantees the close lines stack cleanly above the sliding panels */
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary); /* Changed to dark blue */
  border-radius: 2px;
  transition: var(--transition-smooth);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── MOBILE NAV ─────────────────────────────────────────── */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(360px, 100vw);
  height: 100vh;
  z-index: 7999;
  background: rgba(4, 14, 32, 0.97);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border-left: 1px solid var(--glass-border-d);
  display: flex;
  flex-direction: column;
  padding: 80px 32px 48px;
  gap: 8px;
  transition: right var(--transition-slow);
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 7998;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  padding: 14px 0;
  border-bottom: 1px solid var(--glass-border-d);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-fast);
  letter-spacing: -0.01em;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--white);
  padding-left: 8px;
}

.mobile-nav-link:hover span {
  color: var(--accent);
}

.mobile-nav-footer {
  margin-top: auto;
  padding-top: 32px;
  border-top: 1px solid var(--glass-border-d);
}

.mobile-nav-contact {
  font-size: 0.8rem;
  color: var(--gray-300);
  line-height: 1.8;
}

/* ─── SECTION WRAPPER ────────────────────────────────────── */
.section-wrapper {
  padding: var(--section-py) 0;
}

.section-wrapper-sm {
  padding: var(--section-py-sm) 0;
}

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

/* ─── HERO SECTION ───────────────────────────────────────── */
/* Hero is kept dark for a highly corporate "Sandwich" aesthetic */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-image: url("../images/hero/port-banner.webp");
  transform: scale(1.05);
  transition: transform 8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-bg.loaded {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(32, 60, 112, 0.736) 0%,
    rgba(7, 23, 57, 0.75) 50%,
    rgba(2, 9, 20, 0.6) 100%
  );
}

.hero-overlay-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 2.5px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 2.5px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
}

.hero-glow {
  position: absolute;
  width: 950px;
  height: 950px;
  border-radius: 160%;
  background: radial-gradient(
    circle,
    rgba(255, 35, 35, 0.14) 2.5%,
    transparent 99%
  );
  top: -100px;
  right: -100px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 140px;
  padding-bottom: 60px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--glass-white);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 28px;
  animation: fadeSlideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.hero-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(214, 40, 40, 0.5);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(214, 40, 40, 0);
  }
}

.hero-title {
  font-family: var(--font-display);

  /* Reduced the fluid maximum limit from 6rem down to 4.5rem to balance long words */
  font-size: clamp(2.5rem, 5.8vw, 4.5rem);

  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 8px;
  animation: fadeSlideUp 0.8s 0.15s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.hero-title-italic {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
  display: block;
  font-size: 0.72em;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
}

.hero-title-accent {
  color: var(--accent);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.75;
  animation: fadeSlideUp 0.8s 0.3s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 56px;
  animation: fadeSlideUp 0.8s 0.45s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.hero-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: fadeSlideUp 0.8s 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--glass-white);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.04em;
}

.trust-pill-icon {
  font-size: 1rem;
}

.hero-stats {
  position: absolute;
  bottom: 48px;
  right: 0;
  display: flex;
  gap: 2px;
  animation: fadeSlideUp 0.8s 0.75s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.hero-stat-card {
  background: rgba(255, 255, 255, 0.08); /* Lightened for contrast */
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 20px 28px;
  text-align: center;
  transition: var(--transition-smooth);
}

.hero-stat-card:first-child {
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}
.hero-stat-card:last-child {
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.hero-stat-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-300);
}

/* ─── SCROLLING TICKER ───────────────────────────────────── */
.ticker-section {
  background: var(--accent);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
  z-index: 5;
}

.ticker-inner {
  display: flex;
  gap: 0;
  animation: ticker 25s linear infinite;
  white-space: nowrap;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 0 32px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
}

.ticker-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ─── ABOUT PREVIEW ──────────────────────────────────────── */
#about-preview {
  background: var(--bg-light); /* Vintage Off-White */
  position: relative;
  overflow: hidden;
}

#about-preview::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(214, 40, 40, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-img-wrap {
  position: relative;
}

.about-img-main {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}

.about-img-badge {
  position: absolute;
  bottom: 32px;
  right: -24px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 200px;
}

.badge-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--accent), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  color: var(--white);
}

.badge-text-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.badge-text-label {
  font-size: 0.7rem;
  color: var(--gray-500);
  font-weight: 500;
}

.about-content {
  padding-left: 16px;
}

.about-body {
  font-size: 1.05rem;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 24px;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0 40px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-100);
  transition: var(--transition-smooth);
}

.highlight-item:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.highlight-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.highlight-text-title {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2px;
}

.highlight-text-sub {
  font-size: 0.72rem;
  color: var(--gray-500);
}

/* ─── SERVICES SECTION ───────────────────────────────────── */
#services {
  background: var(--bg-white); /* Switched to White */
  position: relative;
  overflow: hidden;
}

.services-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(7, 23, 57, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 23, 57, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.services-header {
  text-align: center;
  margin-bottom: 64px;
}

.services-header .display-lg {
  color: var(--primary); /* Switched text to Dark */
}

.services-header .lead {
  font-size: 1.05rem;
  color: var(--gray-700);
  max-width: 560px;
  margin: 16px auto 0;
  font-weight: 400;
  line-height: 1.8;
}

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

.service-card {
  background-image: url("/assets/images/hero/bg-1_lowalpha.webp") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;

  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: 16px;
  cursor: default;
  box-shadow: var(--shadow-sm);
}

.service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  transition: width var(--transition-smooth);
}

.service-card:hover {
  background: var(--bg-white);
  border-color: rgba(214, 40, 40, 0.22);
  transform: translateY(-8px);
  box-shadow: var(--shadow-md); /* Cleaner hover shadow */
}

.service-card:hover::after {
  width: 100%;
}

.service-card-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: linear-gradient(
    135deg,
    rgba(214, 40, 40, 0.1),
    rgba(214, 40, 40, 0.02)
  );
  border: 1px solid rgba(214, 40, 40, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  transition: var(--transition-smooth);
}

.service-card:hover .service-card-icon {
  background: linear-gradient(135deg, var(--accent), #8a1010);
  border-color: var(--accent);
  color: var(--white);
  transform: rotate(-5deg) scale(1.05);
}

.service-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary); /* Dark text */
  letter-spacing: -0.01em;
}

.service-card-desc {
  font-size: 0.875rem;
  color: var(--gray-700); /* Dark text */
  line-height: 1.75;
  flex-grow: 1;
}

.service-card-link {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
  text-decoration: none;
}

.service-card-link:hover {
  gap: 10px;
  color: var(--gold);
}

.service-card-number {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(7, 23, 57, 0.165);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* ─── WHY CHOOSE US ──────────────────────────────────────── */
#why-us {
  background: var(--bg-light); /* Light vintage bg */
  position: relative;
}

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

.why-us-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}

.why-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-100);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.why-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--primary-light));
  border-radius: 0 2px 2px 0;
  transform: scaleY(0);
  transition: transform var(--transition-smooth);
}

.why-item:hover::before {
  transform: scaleY(1);
}

.why-item:hover {
  border-color: rgba(214, 40, 40, 0.15);
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}

.why-item-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(
    135deg,
    rgba(214, 40, 40, 0.1),
    rgba(7, 23, 57, 0.05)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.why-item:hover .why-item-icon {
  background: linear-gradient(135deg, var(--accent), #8a1010);
  transform: rotate(-5deg);
  color: var(--white);
}

.why-item-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.why-item-desc {
  font-size: 0.85rem;
  color: var(--gray-700);
  line-height: 1.7;
}

.why-us-visual {
  position: relative;
}

.why-us-img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.why-us-floating-card {
  position: absolute;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 14px;
}

.why-us-floating-card.card-1 {
  top: 40px;
  left: -32px;
}

.why-us-floating-card.card-2 {
  bottom: 40px;
  right: -32px;
}

.floating-card-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.floating-card-label {
  font-size: 0.72rem;
  color: var(--gray-500);
  font-weight: 500;
  max-width: 80px;
}

/* ─── STATISTICS COUNTER ─────────────────────────────────── */
/* Stats kept blue to act as a powerful visual break */
#stats {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-mid) 60%,
    #0d3270 100%
  );
  position: relative;
  overflow: hidden;
}

#stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

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

.stat-item {
  padding: 48px 32px;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
}

.stat-item:first-child {
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}
.stat-item:last-child {
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.2);
}

.stat-count {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-count-suffix {
  color: var(--accent);
}

.stat-item-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

/* ─── INDUSTRIES ─────────────────────────────────────────── */
#industries {
  background: var(--bg-light); /* Switched to light */
}

.industries-header {
  text-align: center;
  margin-bottom: 56px;
}

.industries-header .display-lg {
  color: var(--primary); /* Contrast for light bg */
}

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

.industry-card {
  background: var(--bg-white); /* Solid white */
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition-smooth);
  cursor: default;
  box-shadow: var(--shadow-sm);
}

.industry-card:hover {
  background: var(--bg-white);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(214, 40, 40, 0.15);
}

.industry-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  display: block;
  filter: drop-shadow(
    0 4px 12px rgba(214, 40, 40, 0.1)
  ); /* Softened red shadow */
  transition: transform var(--transition-smooth);
}

.industry-card:hover .industry-icon {
  transform: scale(1.15) rotate(-5deg);
}

.industry-name {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary); /* Text changed to dark */
  letter-spacing: -0.01em;
}

/* ─── TESTIMONIALS ───────────────────────────────────────── */
#testimonials {
  background: var(--bg-white); /* White base */
  overflow: hidden;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 56px;
}

.testimonials-slider {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  background: var(
    --bg-light
  ); /* Slightly off-white for contrast inside white section */
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 36px;
  min-width: 380px;
  max-width: 380px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-family: var(--font-italic);
  font-size: 8rem;
  color: rgba(214, 40, 40, 0.06);
  line-height: 1;
  font-style: italic;
  pointer-events: none;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(214, 40, 40, 0.15);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 1rem;
}

.testimonial-text {
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 24px;
  font-weight: 400;
  font-style: italic;
}

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

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.testimonial-author-name {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
}

.testimonial-author-role {
  font-size: 0.72rem;
  color: var(--gray-500);
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.testimonial-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-300);
  background: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--primary);
  font-size: 1.1rem;
}

.testimonial-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: scale(1.05);
}

.testimonial-dots {
  display: flex;
  gap: 8px;
}

.t-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--gray-300);
  cursor: pointer;
  transition: var(--transition-fast);
}

.t-dot.active {
  width: 24px;
  background: var(--accent);
}

/* ─── FLEET/INFRASTRUCTURE ───────────────────────────────── */
#fleet {
  background: var(--bg-light); /* Switched to light */
  position: relative;
  overflow: hidden;
}

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

.fleet-item {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  cursor: pointer;
}

.fleet-item:first-child {
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}
.fleet-item:last-child {
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.fleet-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fleet-item:hover img {
  transform: scale(1.07);
}

/* Overlay kept dark so white text remains readable */
.fleet-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(4, 14, 32, 0.85) 0%,
    transparent 60%
  );
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: var(--transition-smooth);
}

.fleet-item:hover .fleet-item-overlay {
  opacity: 1;
}

.fleet-item-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
}

/* ─── CONTACT CTA BANNER ─────────────────────────────────── */
#cta-banner {
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    #8a1010 60%,
    var(--primary) 100%
  );
  position: relative;
  overflow: hidden;
}

#cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

#cta-banner::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.cta-banner-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-banner-text .display-md {
  color: var(--white);
  margin-bottom: 10px;
}

.cta-banner-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
}

.cta-banner-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* ─── FOOTER ─────────────────────────────────────────────── */
/* Footer is kept dark to frame the page nicely */
#footer {
  background: var(--dark);
  border-top: 1px solid var(--glass-border-d);
  position: relative;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  padding: 80px 0 56px;
  border-bottom: 1px solid var(--glass-border-d);
}

.footer-brand-rsl {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.footer-brand-rsl span {
  color: var(--accent);
}

.footer-tagline {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 300px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.825rem;
  color: var(--gray-300);
}

.footer-contact-icon {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 24px;
  position: relative;
}

.footer-col-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: var(--radius-full);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 0.85rem;
  color: var(--gray-500);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-link::before {
  content: "→";
  color: var(--accent);
  font-size: 0.7rem;
  opacity: 0;
  transform: translateX(-4px);
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-link:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--gray-500);
}

.footer-copy a {
  color: var(--accent);
}

.footer-bottom-tagline {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--gray-500);
}

.footer-bottom-tagline span {
  color: var(--gold);
}

/* ─── PAGE HERO (inner pages) ────────────────────────────── */
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
}

.page-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.page-hero-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 300;
  max-width: 520px;
  margin: 0 auto 24px;
}

.breadcrumb-rsl {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-rsl a {
  color: var(--accent);
}
.breadcrumb-sep {
  color: rgba(255, 255, 255, 0.3);
}

/* ─── FORM STYLES ────────────────────────────────────────── */
.form-group-rsl {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form-label-rsl {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-700);
}

.form-input-rsl,
.form-textarea-rsl,
.form-select-rsl {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--primary);
  background: var(--bg-white);
  transition: var(--transition-fast);
  outline: none;
}

.form-input-rsl:focus,
.form-textarea-rsl:focus,
.form-select-rsl:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(214, 40, 40, 0.08);
}

.form-textarea-rsl {
  resize: vertical;
  min-height: 140px;
}

/* ─── UTILITY ────────────────────────────────────────────── */
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.mt-auto {
  margin-top: auto;
}
.mb-0 {
  margin-bottom: 0;
}

.divider-rsl {
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: var(--radius-full);
  margin: 20px auto;
}

.divider-rsl.left {
  margin-left: 0;
}

/* ─── SCROLL REVEAL ──────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

[data-reveal-delay="1"] {
  transition-delay: 0.1s;
}
[data-reveal-delay="2"] {
  transition-delay: 0.2s;
}
[data-reveal-delay="3"] {
  transition-delay: 0.3s;
}
[data-reveal-delay="4"] {
  transition-delay: 0.4s;
}
[data-reveal-delay="5"] {
  transition-delay: 0.5s;
}
[data-reveal-delay="6"] {
  transition-delay: 0.6s;
}

/* ─── ANIMATIONS ─────────────────────────────────────────── */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.float-anim {
  animation: floatY 4s ease-in-out infinite;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* ─── CONTACT PAGE SPECIFIC ──────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}

.contact-info-card {
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  position: sticky;
  top: 100px;
}

.contact-info-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.contact-info-sub {
  font-size: 0.85rem;
  color: var(--gray-300);
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  color: var(--white);
}

.contact-detail-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-300);
  margin-bottom: 4px;
}

.contact-detail-value {
  font-size: 0.9rem;
  color: var(--white);
  line-height: 1.6;
}

.contact-form-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
}

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

/* ─── SERVICE DETAIL PAGE ────────────────────────────────── */
.service-detail-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}

.service-detail-content {
  padding: 80px 0;
  background: var(--bg-light);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: start;
}

.service-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-nav {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  margin-bottom: 24px;
}

.sidebar-nav-title {
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 18px 24px;
}

.sidebar-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
  transition: var(--transition-fast);
  text-decoration: none;
}

.sidebar-nav-link:hover,
.sidebar-nav-link.active {
  background: rgba(214, 40, 40, 0.05);
  color: var(--accent);
  padding-left: 28px;
}

.sidebar-cta-card {
  background: linear-gradient(135deg, var(--accent), #8a1010);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
}

.sidebar-cta-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.sidebar-cta-sub {
  font-size: 0.825rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 24px;
  line-height: 1.7;
}

/* ─── ABOUT PAGE SPECIFICS ───────────────────────────────── */
.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.mv-card {
  padding: 40px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

/* 1. Add the technical grid overlay */
.mv-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;

  mask-image: radial-gradient(circle at center, black 20%, transparent 85%);
  -webkit-mask-image: radial-gradient(
    circle at center,
    black 20%,
    transparent 85%
  );

  pointer-events: none;
  z-index: 0;
}

.mv-card > * {
  position: relative;
  z-index: 1;
}

.mv-card-mission {
  background: var(--primary);
}

.mv-card-vision {
  background: linear-gradient(135deg, var(--accent), #64050561);
}

.mv-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: block;
}

.mv-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.mv-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
}

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

.team-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--transition-smooth);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.team-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.team-info {
  padding: 24px;
}

.team-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.services-full-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.service-full-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-white);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.service-full-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(214, 40, 40, 0.15);
}

.service-full-img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.service-full-body {
  padding: 32px;
}

.service-full-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.service-full-desc {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 20px;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.service-feature-item {
  font-size: 0.8rem;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-feature-item::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.mobile-nav.open {
  right: 0 !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.mobile-nav-overlay.open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

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

*,
a,
button,
input,
select,
textarea,
[role="button"] {
  -webkit-tap-highlight-color: transparent !important;
  -webkit-touch-callout: none !important;
}
.footer-dev {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.38);
}

.footer-dev a {
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-dev a i {
  font-size: 14px;
}

.footer-dev a:hover {
  color: rgba(255, 77, 77, 0.68);
  transform: translateY(-1px);
}
