/* ==========================================================================
   DEFENCE DEPOT CO — Corporate Defence & Security Stylesheet
   Clean, professional, corporate aesthetic
   Inspired by RTX, Leonardo, L3Harris, BAE Systems
   ========================================================================== */

/* ==================== CSS VARIABLES ==================== */
:root {
  --primary: #003366;
  --primary-dark: #001f3f;
  --primary-deeper: #00142e;
  --primary-light: #1a5276;
  --accent: #0077b6;
  --accent-light: #00a8e8;
  --accent-hover: #005f8a;
  --slate: #2c3e50;
  --white: #ffffff;
  --off-white: #f7f8fa;
  --gray-50: #fafbfc;
  --gray-100: #f0f2f5;
  --gray-200: #dce1e8;
  --gray-300: #b8c0cc;
  --gray-400: #8b95a5;
  --gray-500: #6c7688;
  --gray-600: #4a5568;
  --gray-700: #2d3748;
  --gray-800: #1a202c;
  --text: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --success: #0d9488;
  --warning: #d97706;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.1);
  --radius: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --transition: all 0.25s ease;
  --transition-slow: all 0.4s ease;
}

/* ==================== BASE ==================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--gray-800);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.01em;
}

a {
  text-decoration: none;
  transition: var(--transition);
  color: var(--accent);
}

a:hover {
  color: var(--accent-hover);
}

img {
  max-width: 100%;
  height: auto;
}

::selection {
  background: var(--accent);
  color: var(--white);
}

/* ==================== UTILITY ==================== */
.text-accent {
  color: var(--accent);
}

.bg-light-section {
  background-color: var(--off-white);
}

.bg-dark-section {
  background: var(--primary-dark);
  color: var(--white);
}

.section-padding {
  padding: 96px 0;
}

/* Section Headers */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--accent);
}

.section-heading {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gray-800);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-heading-white {
  color: var(--white);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.7;
}

.section-desc-center {
  margin-left: auto;
  margin-right: auto;
}

.section-desc-white {
  color: rgba(255, 255, 255, 0.6);
}

/* ==================== BUTTONS ==================== */
.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 13px 28px;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--font-body);
  border-radius: var(--radius);
  letter-spacing: 0.3px;
  transition: var(--transition);
}

.btn-primary-custom:hover {
  background: var(--accent-hover);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  padding: 12px 28px;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--font-body);
  border-radius: var(--radius);
  transition: var(--transition);
}

.btn-outline-custom:hover {
  background: var(--white);
  color: var(--primary-dark);
  border-color: var(--white);
}

.btn-outline-dark {
  color: var(--primary);
  border: 1.5px solid var(--gray-200);
}

.btn-outline-dark:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* ==================== PRELOADER ==================== */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--primary-deeper);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

#preloader.loaded {
  opacity: 0;
  visibility: hidden;
}

.loader {
  text-align: center;
}

.loader-bar {
  width: 48px;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
}

.loader-bar::after {
  content: '';
  display: block;
  width: 50%;
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
  animation: loaderSlide 1s ease-in-out infinite;
}

@keyframes loaderSlide {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

.loader-text {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.68rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 16px;
}

/* ==================== NAVBAR ==================== */
#mainNavbar {
  padding: 0;
  transition: var(--transition);
  background: transparent;
  z-index: 1050;
}

#mainNavbar .container {
  padding-top: 16px;
  padding-bottom: 16px;
  transition: var(--transition);
}

#mainNavbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

#mainNavbar.scrolled .container {
  padding-top: 10px;
  padding-bottom: 10px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white) !important;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Logo images */
.navbar-brand img {
  height: 45px;
  width: auto;
  transition: var(--transition);
}

/* Default: show white logo, hide normal */
.navbar-brand .logo-normal {
  display: none;
}
.navbar-brand .logo-white {
  display: block;
}

/* Scrolled: show normal logo, hide white */
#mainNavbar.scrolled .navbar-brand .logo-normal {
  display: block;
}
#mainNavbar.scrolled .navbar-brand .logo-white {
  display: none;
}

.brand-icon {
  font-size: 1.3rem;
  color: var(--accent-light);
}

.brand-text .accent {
  color: var(--accent-light);
}

.nav-link {
  color: rgba(255, 255, 255, 0.7) !important;
  font-weight: 500;
  font-size: 0.8rem;
  padding: 8px 14px !important;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
  color: var(--white) !important;
}

/* Scrolled nav-links: dark text on white bg */
#mainNavbar.scrolled .nav-link {
  color: var(--primary-dark) !important;
}
#mainNavbar.scrolled .nav-link.nav-cta{
  color: var(--white) !important;
  background: var(--accent);
}
#mainNavbar.scrolled .nav-link:hover,
#mainNavbar.scrolled .nav-link:focus,
#mainNavbar.scrolled .nav-link.active {
  color: var(--accent) !important;
}

.nav-cta {
  color: var(--white) !important;
  background: var(--accent);
  padding: 9px 22px !important;
  border-radius: var(--radius);
  font-size: 0.78rem !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-cta:hover {
  background: var(--accent-hover);
}

/* Dropdown */
.dropdown-menu {
  background: var(--primary-deeper);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 8px 0;
  min-width: 240px;
  box-shadow: var(--shadow-xl);
  margin-top: 8px;
}

.dropdown-item {
  color: rgba(255, 255, 255, 0.65);
  padding: 10px 20px;
  font-size: 0.82rem;
  transition: var(--transition);
  letter-spacing: 0.3px;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: rgba(0, 119, 182, 0.1);
  color: var(--accent-light);
}

.navbar-toggler {
  border: none;
  padding: 6px;
  box-shadow: none !important;
}

.toggler-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: var(--transition);
}

/* Scrolled: dark toggler bars on white bg */
#mainNavbar.scrolled .toggler-bar {
  background: var(--primary-dark);
}

/* Scrolled: dropdown */
#mainNavbar.scrolled .dropdown-menu {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

#mainNavbar.scrolled .dropdown-item {
  color: var(--primary-dark);
}

#mainNavbar.scrolled .dropdown-item:hover,
#mainNavbar.scrolled .dropdown-item:focus {
  background: rgba(0, 119, 182, 0.08);
  color: var(--accent);
}

/* Responsive logo sizing */
@media (max-width: 991.98px) {
  .navbar-brand img {
    height: 36px;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand img {
    height: 30px;
  }
}

/* ==================== HERO CAROUSEL ==================== */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-section .carousel,
.hero-section .carousel-inner,
.hero-section .carousel-item {
  height: 100%;
}

.hero-slide {
  position: relative;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    165deg,
    rgba(0, 20, 46, 0.92) 0%,
    rgba(0, 31, 63, 0.85) 40%,
    rgba(0, 51, 102, 0.78) 100%
  );
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.4) 1px, transparent 1px);
  background-size: 60px 60px;
}

.grid-line, .hero-particles { display: none; }

.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light), var(--accent));
  z-index: 10;
}

.hero-slide-content {
  padding: 160px 0 140px;
  width: 100%;
}

/* Slide content animations */
.carousel-item .hero-slide-content .hero-eyebrow,
.carousel-item .hero-slide-content .hero-title,
.carousel-item .hero-slide-content .hero-subtitle,
.carousel-item .hero-slide-content .hero-actions {
  opacity: 0;
  transform: translateY(30px);
}

.carousel-item.active .hero-slide-content .hero-eyebrow {
  animation: heroSlideUp 0.7s 0.2s forwards;
}
.carousel-item.active .hero-slide-content .hero-title {
  animation: heroSlideUp 0.7s 0.4s forwards;
}
.carousel-item.active .hero-slide-content .hero-subtitle {
  animation: heroSlideUp 0.7s 0.6s forwards;
}
.carousel-item.active .hero-slide-content .hero-actions {
  animation: heroSlideUp 0.7s 0.8s forwards;
}

@keyframes heroSlideUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Carousel fade transition override */
.carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.carousel-fade .carousel-item.active {
  opacity: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--accent-light);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 40px;
  height: 1.5px;
  background: var(--accent-light);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.hero-title .highlight {
  color: var(--accent-light);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
  line-height: 1.8;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Indicators — bottom left */
.hero-indicators {
  position: absolute;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}

.hero-indicators button {
  width: 40px;
  height: 3px;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  padding: 0;
  transition: all 0.4s;
  cursor: pointer;
}

.hero-indicators button.active {
  width: 60px;
  background: var(--accent-light);
}

/* Navigation arrows */
.hero-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  opacity: 0;
  transition: all 0.3s;
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
}

.hero-section:hover .hero-nav-btn {
  opacity: 1;
}

.hero-nav-btn .hero-nav-icon {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 20, 46, 0.5);
  backdrop-filter: blur(8px);
  transition: all 0.3s;
}

.hero-nav-btn:hover .hero-nav-icon {
  background: var(--accent);
  border-color: var(--accent);
}

.hero-nav-btn .hero-nav-icon i {
  color: var(--white);
  font-size: 0.85rem;
}

.carousel-control-prev { left: 24px; }
.carousel-control-next { right: 24px; }

/* Metrics bar — persistent at bottom of hero */
.hero-metrics-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: rgba(0, 20, 46, 0.65);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px 0;
}

.hero-metrics {
  display: flex;
  justify-content: center;
  gap: 56px;
}

.hero-metric { text-align: center; }

.hero-metric-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero-metric-value .suffix {
  font-size: 1.2rem;
  color: var(--accent-light);
}

.hero-metric-label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.5px;
  margin-top: 6px;
  text-transform: uppercase;
  font-weight: 500;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 92px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  animation: gentleBounce 2.5s ease-in-out infinite;
}

.hero-scroll-indicator a {
  color: rgba(255, 255, 255, 0.2);
  font-size: 1rem;
}

.hero-scroll-indicator a:hover {
  color: var(--accent-light);
}

@keyframes gentleBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ==================== ABOUT ==================== */
.about-image-block { position: relative; }

.about-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}

.about-experience-badge {
  position: absolute;
  bottom: -16px;
  right: 24px;
  background: var(--accent);
  color: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.exp-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.exp-text {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  opacity: 0.85;
}

.about-features { margin-top: 32px; }

.about-feature {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
}

.about-feature:last-child { border-bottom: none; }

.af-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1rem;
}

.about-feature h6 {
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 2px;
  color: var(--gray-800);
}

.about-feature p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ==================== VISION & MISSION ==================== */
.vm-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  height: 100%;
  position: relative;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.vm-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gray-200);
}

.vm-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-dark);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-light);
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.vm-card h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
  font-weight: 700;
}

.vm-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 0;
}

.vm-decoration {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.value-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
}

.value-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.value-card i {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}

.value-card h6 {
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--gray-800);
}

.value-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

/* ==================== LEADERSHIP ==================== */
.leader-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
}

.leader-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gray-200);
}

.leader-img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  border: 2px solid var(--border);
}

.leader-img i {
  font-size: 1.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.leader-card h5 {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.leader-role {
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.leader-card > p {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.leader-social { margin-top: 14px; }

.leader-social a {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--gray-500);
  font-size: 0.8rem;
  transition: var(--transition);
}

.leader-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

/* ==================== CAPABILITIES ==================== */
.capability-block {
  padding: 56px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.capability-block:last-child { border-bottom: none; }

.cap-icon-large {
  width: 48px;
  height: 48px;
  background: rgba(0, 119, 182, 0.1);
  border: 1px solid rgba(0, 119, 182, 0.18);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-light);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.capability-block h3 {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 14px;
}

.cap-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.cap-list li {
  color: rgba(255, 255, 255, 0.55);
  padding: 7px 0;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cap-list li i {
  color: var(--accent-light);
  font-size: 0.6rem;
}

.cap-visual {
  width: 100%;
  height: 340px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.cap-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
}

/* ==================== STATS BAR ==================== */
.stats-bar {
  background: var(--primary-dark);
  padding: 56px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.stat-item { text-align: center; color: var(--white); }

.stat-item i {
  font-size: 1.4rem;
  color: var(--accent-light);
  opacity: 0.4;
  margin-bottom: 8px;
  display: block;
}

.stat-counter {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-plus {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-light);
}

.stat-item p {
  margin: 4px 0 0;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ==================== CASE STUDIES ==================== */
.case-tabs { gap: 6px; }

.case-tabs .nav-link {
  background: var(--white) !important;
  color: var(--gray-600) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  padding: 9px 20px !important;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

.case-tabs .nav-link:hover {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
}

.case-tabs .nav-link.active {
  background: var(--primary-dark) !important;
  color: var(--white) !important;
  border-color: var(--primary-dark) !important;
}

.case-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  height: 100%;
}

.case-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gray-200);
}

.case-card-header {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.case-region-tag {
  background: rgba(0, 119, 182, 0.07);
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.case-type {
  background: var(--off-white);
  color: var(--gray-600);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.case-card h4 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.case-card > p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.case-metrics {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
}

.case-metrics div { text-align: center; min-width: 80px; }

.case-metrics strong {
  display: block;
  font-size: 1rem;
  color: var(--gray-800);
  font-weight: 700;
}

.case-metrics span {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* ==================== ADVANTAGES ==================== */
.advantage-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: var(--transition);
  height: 100%;
}

.advantage-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--accent);
}

.adv-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gray-100);
  line-height: 1;
  margin-bottom: 10px;
}

.advantage-card h5 {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.advantage-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0;
  line-height: 1.6;
}

/* ==================== CAREERS ==================== */
.career-perk {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  color: var(--white);
  transition: var(--transition);
}

.career-perk:hover {
  background: rgba(0, 119, 182, 0.08);
  border-color: rgba(0, 119, 182, 0.2);
}

.career-perk i { color: var(--accent-light); font-size: 0.95rem; }
.career-perk span { font-size: 0.85rem; font-weight: 500; }

.careers-visual {
  width: 100%;
  height: 440px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.careers-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.careers-visual-icons {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--accent) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 28px 80px;
}

.careers-icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 360px;
}

.careers-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.careers-icon-item:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.careers-icon-item i {
  font-size: 1.6rem;
  color: var(--accent-light);
}

.careers-icon-item span {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.career-visual-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 20, 46, 0.9), transparent);
  padding: 40px 28px 28px;
  text-align: center;
}

.career-visual-overlay h4 { color: var(--white); font-size: 1.25rem; margin-bottom: 8px; }
.career-visual-overlay p { color: rgba(255, 255, 255, 0.5); font-size: 0.85rem; margin-bottom: 0; }

/* ==================== PARTNERS ==================== */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.partner-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  transition: var(--transition);
}

.partner-item:hover { border-color: var(--accent); box-shadow: var(--shadow-xs); }

.partner-item i {
  font-size: 1.6rem;
  color: var(--primary);
  display: block;
  margin-bottom: 8px;
  opacity: 0.45;
}

.partner-item span {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gray-500);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

/* ==================== CONTACT ==================== */
.contact-info-block { padding-right: 20px; }

.contact-info-item {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
}

.ci-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  background: var(--primary-dark);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-light);
  font-size: 1rem;
}

.contact-info-item h6 { font-weight: 600; font-size: 0.85rem; margin-bottom: 4px; color: var(--gray-800); }
.contact-info-item p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0; line-height: 1.5; }

.contact-social { display: flex; gap: 8px; margin-top: 16px; }

.contact-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-dark);
  border-radius: var(--radius-md);
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.9rem;
  transition: var(--transition);
}

.contact-social a:hover { background: var(--accent); color: var(--white); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.contact-form .form-label {
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--gray-700);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-form .form-control,
.contact-form .form-select {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 14px;
  font-size: 0.88rem;
  transition: var(--transition);
  color: var(--text);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.1);
}

.contact-form .form-control::placeholder { color: var(--text-light); }

/* ==================== FOOTER ==================== */
.site-footer {
  background: var(--primary-deeper);
  padding: 56px 0 0;
  color: rgba(255, 255, 255, 0.5);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--white);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.footer-brand i { font-size: 1.2rem; color: var(--accent-light); }
.footer-brand .gold { color: var(--accent-light); }
.footer-brand .footer-logo { height: 40px; width: auto; }

.footer-about {
  font-size: 0.82rem;
  line-height: 1.7;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.35);
}

.footer-social { display: flex; gap: 8px; }

.footer-social a {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.8rem;
  transition: var(--transition);
}

.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }

.footer-heading {
  color: var(--white);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 6px; }

.footer-links a {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.82rem;
  transition: var(--transition);
}

.footer-links a:hover { color: var(--accent-light); }

.footer-contact { list-style: none; padding: 0; margin: 0; }

.footer-contact li {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.82rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact li i { color: var(--accent-light); font-size: 0.72rem; width: 14px; opacity: 0.5; }

.footer-certifications { margin-top: 14px; display: flex; flex-direction: column; gap: 4px; }
.footer-certifications span { font-size: 0.72rem; color: rgba(255, 255, 255, 0.25); }
.footer-certifications span i { color: var(--accent-light); margin-right: 6px; opacity: 0.4; }

.footer-divider { border-color: rgba(255, 255, 255, 0.05); margin: 36px 0 0; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { margin: 0; font-size: 0.75rem; color: rgba(255, 255, 255, 0.25); }

.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: rgba(255, 255, 255, 0.25); font-size: 0.75rem; }
.footer-legal a:hover { color: var(--accent-light); }

/* ==================== BACK TO TOP ==================== */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 42px;
  height: 42px;
  background: var(--primary-dark);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--accent-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition);
  z-index: 1000;
}

.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--accent); color: var(--white); border-color: var(--accent); }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1199.98px) {
  .hero-title { font-size: 2.8rem; }
  .section-heading { font-size: 2.1rem; }
}

@media (max-width: 991.98px) {
  .hero-title { font-size: 2.4rem; }
  .section-heading { font-size: 1.85rem; }
  .section-padding { padding: 72px 0; }
  .hero-metrics { gap: 28px; }
  .hero-slide-content { padding: 130px 0 140px; }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
  .navbar-collapse {
    background: var(--primary-deeper);
    padding: 20px;
    margin-top: 8px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
  }
}

@media (max-width: 767.98px) {
  .hero-title { font-size: 1.9rem; }
  .hero-subtitle { font-size: 0.95rem; }
  .hero-slide-content { padding: 110px 0 140px; }
  .hero-actions { flex-direction: column; }
  .hero-metrics { gap: 16px; flex-wrap: wrap; }
  .hero-metric-value { font-size: 1.6rem; }
  .hero-metrics-bar { padding: 16px 0; }
  .hero-indicators { bottom: 100px; }
  .hero-scroll-indicator { bottom: 74px; }
  .section-heading { font-size: 1.6rem; }
  .section-padding { padding: 56px 0; }
  .about-img { height: 260px; }
  .vm-card { padding: 28px; }
  .case-tabs .nav-link { padding: 7px 14px !important; font-size: 0.72rem; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-form { padding: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .careers-visual { height: 280px; }
  .cap-visual { height: 220px; }
  .capability-block { padding: 36px 0; }
  .stats-bar { padding: 40px 0; }
  .stat-counter { font-size: 2rem; }
}

@media (max-width: 575.98px) {
  .hero-title { font-size: 1.6rem; }
  .case-tabs { flex-wrap: wrap; }
  .case-card { padding: 24px; }
  .hero-metric { min-width: calc(50% - 12px); }
  .hero-nav-btn { display: none; }
}

/* ==================== FLOATING WHATSAPP BUTTON ==================== */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  border-radius: 50px;
  padding: 14px 22px 14px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--font-body);
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  overflow: hidden;
}

.floating-whatsapp i {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.floating-whatsapp-text {
  white-space: nowrap;
  transition: all 0.3s ease;
}

.floating-whatsapp:hover {
  background: #1ebe5c;
  color: #fff;
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
  transform: translateY(-2px);
}

.floating-whatsapp::before {
  content: '';
  position: absolute;
  top: -4px;
  right: -4px;
  width: 12px;
  height: 12px;
  background: #ff3b30;
  border-radius: 50%;
  border: 2px solid #fff;
  animation: floatingPulse 2s infinite;
}

/* ==================== FLOATING CALL BUTTON ==================== */
.floating-call {
  position: fixed;
  bottom: 90px;
  left: 28px;
  z-index: 9998;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  border-radius: 50px;
  padding: 10px 18px 10px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-body);
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 51, 102, 0.35);
  transition: all 0.3s ease;
}

.floating-call i {
  font-size: 1rem;
  flex-shrink: 0;
  animation: phoneRing 1.5s ease-in-out infinite;
}

.floating-call-text {
  white-space: nowrap;
  transition: all 0.3s ease;
}

.floating-call:hover {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 24px rgba(0, 119, 182, 0.45);
  transform: translateY(-2px);
}

/* ==================== FLOATING BUTTON ANIMATIONS ==================== */
@keyframes floatingPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

@keyframes phoneRing {
  0%, 100% { transform: rotate(0deg); }
  10% { transform: rotate(14deg); }
  20% { transform: rotate(-10deg); }
  30% { transform: rotate(10deg); }
  40% { transform: rotate(-6deg); }
  50%, 100% { transform: rotate(0deg); }
}

/* ==================== FLOATING BUTTONS RESPONSIVE ==================== */
@media (max-width: 991.98px) {
  .floating-call {
    bottom: 82px;
    left: 16px;
    padding: 9px 14px 9px 12px;
    font-size: 0.78rem;
  }
}

@media (max-width: 767.98px) {
  .floating-whatsapp {
    bottom: 20px;
    left: 16px;
    padding: 12px;
    border-radius: 50%;
  }

  .floating-whatsapp-text {
    display: none;
  }

  .floating-whatsapp i {
    font-size: 1.5rem;
  }

  .floating-call {
    bottom: 76px;
    left: 16px;
    padding: 9px 12px;
    font-size: 0.75rem;
  }

  .floating-call-text {
    display: none;
  }

  .floating-call {
    border-radius: 50%;
    padding: 10px;
  }

  .floating-call i {
    font-size: 1.1rem;
  }
}

@media (max-width: 575.98px) {
  .floating-whatsapp {
    bottom: 16px;
    left: 14px;
    padding: 12px;
  }

  .floating-call {
    bottom: 72px;
    left: 14px;
    padding: 9px;
  }
}