/* ============================================================
   VETERANMINDS — style.css
   Corporate IT Company — Enterprise Design System
   ============================================================ */

/* ============================================================
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================================ */
:root {
  /* Colors */
  --primary:       #0a2a72;     /* Deep Navy Blue */
  --primary-dark:  #061a50;
  --primary-mid:   #0d3a9e;
  --accent:        #0070e0;     /* Bright Corporate Blue */
  --accent-light:  #4fa3f7;
  --gold:          #e8a620;     /* Gold accent */
  --white:         #ffffff;
  --off-white:     #f4f7fd;
  --light-gray:    #e8edf6;
  --mid-gray:      #8a96ad;
  --dark-text:     #0e1933;
  --body-text:     #3d4a66;

  /* Typography */
  --font-display:  'Syne', sans-serif;
  --font-body:     'DM Sans', sans-serif;

  /* Spacing */
  --section-py:    100px;
  --container:     1280px;

  /* Shadows */
  --shadow-sm:     0 4px 16px rgba(10,42,114,.08);
  --shadow-md:     0 8px 32px rgba(10,42,114,.14);
  --shadow-lg:     0 20px 60px rgba(10,42,114,.18);

  /* Radius */
  --radius-sm:     8px;
  --radius-md:     16px;
  --radius-lg:     24px;

  /* Transitions */
  --ease:          cubic-bezier(0.4,0,0.2,1);
  --dur:           0.35s;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--body-text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width:100%; display:block; }
a { text-decoration:none; color:inherit; }
ul { list-style:none; }
button { cursor:pointer; border:none; background:none; font-family:inherit; }
input,textarea,select {
  font-family: var(--font-body);
  font-size: 1rem;
  border: none;
  outline: none;
}

/* ============================================================
   3. UTILITY CLASSES
   ============================================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: var(--section-py) 0; }
.text-center { text-align: center; }
.ms-2 { margin-left: 8px; }

/* ============================================================
   4. TYPOGRAPHY SYSTEM
   ============================================================ */
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  position: relative;
  padding-left: 32px;
}
.section-eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 2px;
  background: var(--accent);
}
.section-eyebrow.light { color: var(--accent-light); }
.section-eyebrow.light::before { background: var(--accent-light); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: var(--dark-text);
  line-height: 1.15;
  margin-bottom: 20px;
}
.section-title em {
  font-style: normal;
  color: var(--accent);
  position: relative;
}
.section-title.light { color: var(--white); }

.section-desc {
  max-width: 640px;
  margin: 0 auto 60px;
  font-size: 1.05rem;
  color: var(--body-text);
  line-height: 1.8;
}

.section-header { margin-bottom: 60px; }
.section-header .section-title { margin-bottom: 14px; }

/* ============================================================
   5. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all var(--dur) var(--ease);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity var(--dur);
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0,112,224,.35);
}
.btn-primary:hover {
  background: var(--primary-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,112,224,.45);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.6);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-sm { padding: 10px 22px; font-size: 0.8rem; }
.btn-full { width: 100%; justify-content: center; }

/* ============================================================
   6. PRELOADER
   ============================================================ */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--primary-dark);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.preloader-inner { text-align: center; }
.logo-pulse {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  animation: pulse 1.2s ease-in-out infinite;
}
.logo-pulse .logo-v { color: var(--white); }
.logo-pulse .logo-m { color: var(--accent); }

@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(0.95); }
}

.preloader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255,255,255,.15);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}
.preloader-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  animation: loadbar 1.8s ease-in-out forwards;
  width: 0;
}
@keyframes loadbar {
  0%   { width: 0; }
  60%  { width: 70%; }
  100% { width: 100%; }
}

/* ============================================================
   7. SCROLL TO TOP
   ============================================================ */
#scrollTop {
  position: fixed;
  bottom: 36px;
  right: 36px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 1000;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--dur) var(--ease);
  pointer-events: none;
}
#scrollTop.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#scrollTop:hover {
  background: var(--primary-mid);
  transform: translateY(-3px);
}

/* ============================================================
   8. HEADER / NAVBAR
   ============================================================ */
#mainHeader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 22px 0;
  transition: all var(--dur) var(--ease);
}
#mainHeader.scrolled {
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(10,42,114,.1);
  padding: 14px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  transition: color var(--dur);
  flex-shrink: 0;
}
#mainHeader.scrolled .logo { color: var(--primary); }

.logo-mark {
  width: 38px;
  height: 38px;
  background: var(--accent);
  color: var(--white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.logo-text strong { color: var(--accent); }

/* Main Nav */
.main-nav { flex: 1; }
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
}
.main-nav li { position: relative; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  border-radius: 6px;
  transition: all var(--dur) var(--ease);
}
#mainHeader.scrolled .nav-link { color: var(--dark-text); }
.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,.12);
}
#mainHeader.scrolled .nav-link:hover,
#mainHeader.scrolled .nav-link.active {
  color: var(--accent);
  background: rgba(0,112,224,.08);
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s var(--ease);
  border-top: 3px solid var(--accent);
  z-index: 10;
}
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li a {
  display: block;
  padding: 10px 20px;
  font-size: 0.875rem;
  color: var(--body-text);
  transition: all 0.2s;
}
.dropdown li a:hover {
  color: var(--accent);
  background: rgba(0,112,224,.05);
  padding-left: 28px;
}

/* Header Right */
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--dur) var(--ease);
}
#mainHeader.scrolled .hamburger span { background: var(--primary); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   9. HERO BANNER
   ============================================================ */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 700px;
}

.hero-carousel { height: 100%; }
.owl-carousel .owl-stage-outer,
.owl-carousel .owl-stage,
.owl-carousel .owl-item { height: 100%; }

.hero-slide {
  height: 100vh;
  min-height: 700px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(6,26,80,.92) 0%,
    rgba(10,42,114,.75) 50%,
    rgba(0,0,30,.40) 100%
  );
}

.slide-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding-top: 80px;
}

.slide-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-light);
  padding: 6px 16px;
  background: rgba(79,163,247,.15);
  border: 1px solid rgba(79,163,247,.3);
  border-radius: 100px;
  margin-bottom: 24px;
}

.slide-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
}
.slide-title em {
  font-style: normal;
  color: var(--accent-light);
  -webkit-text-stroke: 1px rgba(79,163,247,.3);
}

.slide-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,.8);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.8;
}

.slide-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* Owl Custom Dots */
.hero-section .owl-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}
.hero-section .owl-dot span {
  width: 8px !important;
  height: 8px !important;
  background: rgba(255,255,255,.4) !important;
  transition: all 0.3s !important;
}
.hero-section .owl-dot.active span {
  background: var(--white) !important;
  width: 28px !important;
  border-radius: 4px !important;
}

/* Owl Nav */
.hero-section .owl-nav button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px !important;
  height: 52px !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,.15) !important;
  color: var(--white) !important;
  font-size: 1.2rem !important;
  border: 1px solid rgba(255,255,255,.3) !important;
  transition: all 0.3s !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}
.hero-section .owl-nav button:hover { background: var(--accent) !important; border-color: var(--accent) !important; }
.hero-section .owl-prev { left: 24px; }
.hero-section .owl-next { right: 24px; }

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  right: 60px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.6);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 5;
}
.scroll-line {
  width: 60px;
  height: 1px;
  background: rgba(255,255,255,.3);
  position: relative;
  overflow: hidden;
}
.scroll-line span {
  position: absolute;
  left: -100%;
  top: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.8));
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { left: -100%; }
  100% { left: 100%; }
}

/* Slide Animations */
.owl-item.active .fade-up { animation: fadeUp 0.8s var(--ease) forwards; opacity: 0; }
.owl-item.active .delay-1 { animation-delay: 0.2s; }
.owl-item.active .delay-2 { animation-delay: 0.4s; }
.owl-item.active .delay-3 { animation-delay: 0.6s; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   10. TICKER BAR
   ============================================================ */
.ticker-bar {
  background: var(--primary);
  padding: 12px 0;
  overflow: hidden;
  position: relative;
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
  animation: tickerScroll 30s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-track span {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
}
.ticker-track .dot { color: var(--accent-light); font-size: 0.6rem; }
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   11. STATS SECTION
   ============================================================ */
.stats-section {
  background: var(--off-white);
  padding: 70px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 30px 20px;
  position: relative;
}
.stat-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--light-gray);
}
.stat-item:last-child::after { display: none; }

.stat-number {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.stat-suffix {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
}
.stat-item p {
  margin-top: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--mid-gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================================
   12. ABOUT SECTION
   ============================================================ */
.about-section { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual { position: relative; }
.about-img-wrap {
  border-radius: var(--radius-lg);
  overflow: visible;
  position: relative;
}
.about-img-wrap img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 500px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.about-badge {
  position: absolute;
  bottom: 30px;
  left: -30px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  border-left: 4px solid var(--accent);
}
.about-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}
.about-badge span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--mid-gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.about-img-secondary {
  position: absolute;
  bottom: -40px;
  right: -30px;
  width: 200px;
  height: 150px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}
.about-img-secondary img { width: 100%; height: 100%; object-fit: cover; }

.about-content { padding-left: 20px; }
.about-content .lead-text {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--dark-text);
  margin-bottom: 16px;
  line-height: 1.7;
}
.about-content p { margin-bottom: 30px; }

.about-pillars { display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; }
.pillar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 20px;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  transition: all var(--dur);
}
.pillar:hover {
  background: rgba(0,112,224,.06);
  transform: translateX(5px);
}
.pillar i {
  font-size: 1.4rem;
  color: var(--accent);
  width: 40px;
  flex-shrink: 0;
}
.pillar strong { display: block; color: var(--dark-text); font-size: 0.95rem; margin-bottom: 3px; }
.pillar span { font-size: 0.85rem; color: var(--mid-gray); }

/* ============================================================
   13. SERVICES SECTION
   ============================================================ */
.services-section { background: var(--off-white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: all var(--dur) var(--ease);
  border: 1px solid var(--light-gray);
  cursor: pointer;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  background: rgba(0,112,224,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all var(--dur);
}
.service-card:hover .service-icon {
  background: var(--accent);
}
.service-icon i {
  font-size: 1.5rem;
  color: var(--accent);
  transition: color var(--dur);
}
.service-card:hover .service-icon i { color: var(--white); }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 12px;
}
.service-card p { font-size: 0.9rem; line-height: 1.75; margin-bottom: 24px; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  transition: gap var(--dur);
}
.card-link:hover { gap: 14px; }
.card-link i { font-size: 0.75rem; }

/* ============================================================
   14. INDUSTRIES SECTION
   ============================================================ */
.industries-section { background: var(--white); }
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.industry-card {
  position: relative;
  height: 240px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  cursor: pointer;
}
.ind-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(6,26,80,.85) 0%,
    rgba(6,26,80,.3) 100%
  );
  transition: background 0.4s;
}
.industry-card:hover .ind-overlay {
  background: linear-gradient(
    to top,
    rgba(0,112,224,.9) 0%,
    rgba(0,112,224,.4) 100%
  );
}

.ind-content {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  z-index: 2;
}
.ind-content i {
  font-size: 1.6rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 8px;
  display: block;
  transition: color 0.3s, transform 0.3s;
}
.industry-card:hover .ind-content i { color: var(--white); transform: scale(1.1); }
.ind-content h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
}

/* ============================================================
   15. WHY CHOOSE US
   ============================================================ */
.why-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  position: relative;
  overflow: hidden;
}
.why-section::before {
  content: '';
  position: absolute;
  right: -200px;
  top: -200px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: rgba(255,255,255,.03);
  pointer-events: none;
}

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

.why-content .section-title { color: var(--white); }
.why-content p { color: rgba(255,255,255,.7); margin-bottom: 40px; }
.why-content .section-eyebrow { color: var(--accent-light); }
.why-content .section-eyebrow::before { background: var(--accent-light); }

.why-list { display: flex; flex-direction: column; gap: 24px; }
.why-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 24px;
  background: rgba(255,255,255,.06);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent);
  transition: background var(--dur);
}
.why-item:hover { background: rgba(255,255,255,.1); }

.why-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: rgba(255,255,255,.15);
  line-height: 1;
  flex-shrink: 0;
}
.why-item h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.why-item p { font-size: 0.875rem; color: rgba(255,255,255,.65); margin: 0; }

/* Why Visual */
.why-visual { position: relative; }
.why-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}
.why-img-wrap > img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.floating-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-lg);
  animation: floatCard 4s ease-in-out infinite;
}
.floating-card i { font-size: 1.5rem; color: var(--accent); }
.floating-card strong { display: block; font-family: var(--font-display); font-size: 1.1rem; color: var(--dark-text); }
.floating-card span { font-size: 0.75rem; color: var(--mid-gray); }

.fc-1 { bottom: -20px; left: -30px; animation-delay: 0s; }
.fc-2 { top: 40px; right: -30px; animation-delay: 1.5s; }

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

/* ============================================================
   16. CASE STUDIES
   ============================================================ */
.casestudies-section { background: var(--off-white); }
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.case-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--dur) var(--ease);
  box-shadow: var(--shadow-sm);
}
.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.case-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.case-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.case-card:hover .case-img img { transform: scale(1.05); }

.case-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
}

.case-body { padding: 28px; }
.case-industry {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  display: block;
}
.case-body h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 12px;
  line-height: 1.4;
}
.case-body p { font-size: 0.875rem; margin-bottom: 20px; }

/* ============================================================
   17. VIDEO SECTION
   ============================================================ */
.video-section {
  position: relative;
  padding: 140px 0;
  overflow: hidden;
}

.video-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.3) brightness(0.6);
}
.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(6,26,80,.92) 0%,
    rgba(0,30,100,.7) 100%
  );
}

.video-content {
  position: relative;
  z-index: 2;
  max-width: 660px;
}
.video-content .section-title { color: var(--white); margin-bottom: 20px; }
.video-content p { color: rgba(255,255,255,.75); margin-bottom: 40px; font-size: 1.05rem; }

.video-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  transition: gap var(--dur);
}
.video-play-btn:hover { gap: 26px; }

.play-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 0 0 12px rgba(0,112,224,.2);
  animation: ripple 2s ease-in-out infinite;
  transition: background var(--dur);
}
.video-play-btn:hover .play-icon { background: var(--accent-light); }

@keyframes ripple {
  0%,100% { box-shadow: 0 0 0 12px rgba(0,112,224,.2); }
  50%      { box-shadow: 0 0 0 24px rgba(0,112,224,.08); }
}

/* ============================================================
   18. TESTIMONIALS
   ============================================================ */
.testimonials-section { background: var(--white); }

.testimonials-carousel .owl-stage { padding: 20px 0; }

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--light-gray);
  margin: 10px 14px;
  transition: all var(--dur);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0,112,224,.2);
}

.quote-icon {
  font-size: 2rem;
  color: rgba(0,112,224,.15);
  margin-bottom: 20px;
}

.testimonial-card > p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--body-text);
  margin-bottom: 28px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-author img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--light-gray);
}
.testimonial-author strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark-text);
}
.testimonial-author span { font-size: 0.8rem; color: var(--mid-gray); }

/* Testimonials Owl Controls */
.testimonials-carousel .owl-dots { margin-top: 24px; }
.testimonials-carousel .owl-dot span {
  width: 8px !important;
  height: 8px !important;
  background: var(--light-gray) !important;
  transition: all 0.3s !important;
}
.testimonials-carousel .owl-dot.active span {
  background: var(--accent) !important;
  width: 24px !important;
  border-radius: 4px !important;
}

/* ============================================================
   19. CAREERS SECTION
   ============================================================ */
.careers-section { background: var(--off-white); }
.careers-wrap {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}

.careers-left .section-title { margin-bottom: 16px; }
.careers-left p { margin-bottom: 32px; }

.job-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 24px 28px;
  margin-bottom: 16px;
  border: 1px solid var(--light-gray);
  transition: all var(--dur);
  cursor: pointer;
}
.job-card:last-child { margin-bottom: 0; }
.job-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateX(5px);
}

.job-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.job-tag {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(0,112,224,.1);
  color: var(--accent);
  padding: 3px 10px;
  border-radius: 100px;
}
.job-loc {
  font-size: 0.8rem;
  color: var(--mid-gray);
  display: flex;
  align-items: center;
  gap: 5px;
}
.job-loc i { font-size: 0.7rem; }

.job-card h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 6px;
}
.job-card p { font-size: 0.875rem; margin: 0; }

/* ============================================================
   20. CONTACT SECTION
   ============================================================ */
.contact-section { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-info .section-title { margin-bottom: 16px; }
.contact-info > p { margin-bottom: 36px; }

.contact-details { display: flex; flex-direction: column; gap: 22px; }
.cd-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.cd-item i {
  font-size: 1.1rem;
  color: var(--accent);
  width: 44px;
  height: 44px;
  background: rgba(0,112,224,.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cd-item strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dark-text);
  margin-bottom: 4px;
}
.cd-item a,
.cd-item span { font-size: 0.9rem; color: var(--body-text); }
.cd-item a:hover { color: var(--accent); }

/* Contact Form */
.contact-form-wrap {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  border: 1px solid var(--light-gray);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  position: relative;
  margin-bottom: 16px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--white);
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--dark-text);
  transition: border-color var(--dur);
  resize: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--mid-gray); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,112,224,.1);
}
.form-group select { color: var(--mid-gray); }
.form-group select:valid { color: var(--dark-text); }

.field-error {
  display: none;
  font-size: 0.78rem;
  color: #e53e3e;
  margin-top: 5px;
}
.form-group.has-error input,
.form-group.has-error textarea {
  border-color: #e53e3e;
}
.form-group.has-error .field-error { display: block; }

/* Submit button states */
#submitBtn .btn-loader { display: none; }
#submitBtn.loading .btn-text { display: none; }
#submitBtn.loading .btn-loader { display: inline-block; }

.form-success {
  display: none;
  text-align: center;
  padding: 24px;
  background: rgba(72,199,142,.1);
  border: 1px solid rgba(72,199,142,.3);
  border-radius: var(--radius-sm);
  margin-top: 16px;
}
.form-success i { font-size: 2rem; color: #48c78e; margin-bottom: 10px; display: block; }
.form-success p { font-size: 0.9rem; color: var(--dark-text); margin: 0; }

/* ============================================================
   21. FOOTER
   ============================================================ */
.main-footer { background: var(--primary-dark); }

.footer-top { padding: 80px 0 60px; }
.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
}

.footer-brand .footer-logo { color: var(--white); margin-bottom: 18px; }
.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,.55);
  line-height: 1.8;
  margin-bottom: 24px;
}

.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: all var(--dur);
  border: 1px solid rgba(255,255,255,.1);
}
.social-links a:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  transform: translateY(-3px);
}

.footer-links-col h5 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-links-col ul li { margin-bottom: 10px; }
.footer-links-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,.5);
  transition: color var(--dur);
}
.footer-links-col ul li a:hover { color: var(--accent-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { font-size: 0.825rem; color: rgba(255,255,255,.4); }

.certifications { display: flex; gap: 20px; }
.certifications span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,.4);
}
.certifications i { color: var(--gold); }

/* ============================================================
   22. SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal:nth-child(5) { transition-delay: 0.4s; }
.reveal:nth-child(6) { transition-delay: 0.5s; }

/* ============================================================
   23. RESPONSIVE — TABLET & MOBILE
   ============================================================ */

/* --- Tablet (≤1024px) --- */
@media (max-width: 1024px) {
  :root { --section-py: 80px; }

  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .stat-item:nth-child(3)::after { display: none; }

  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-visual { order: -1; }
  .about-img-secondary { display: none; }
  .about-content { padding-left: 0; }

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

  .why-grid { grid-template-columns: 1fr; gap: 50px; }
  .why-visual { order: -1; }
  .fc-2 { right: 10px; }

  .careers-wrap { grid-template-columns: 1fr; gap: 50px; }
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }

  .footer-top-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: span 2; }
}

/* --- Mobile (≤768px) --- */
@media (max-width: 768px) {
  :root { --section-py: 60px; }

  #mainHeader { padding: 16px 0; }
  .main-nav { display: none; }
  .hamburger { display: flex; }

  /* Mobile Nav Open State */
  .main-nav.mobile-open {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-dark);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 800;
  }
  .main-nav.mobile-open ul {
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 100%;
  }
  .main-nav.mobile-open .nav-link {
    font-size: 1.3rem;
    padding: 14px 28px;
    color: var(--white);
  }
  .main-nav.mobile-open .nav-link:hover { background: rgba(255,255,255,.08); }
  .main-nav.mobile-open .dropdown { display: none; }

  .header-right .btn-sm { display: none; }

  .slide-title { font-size: 2.2rem; }
  .slide-desc { font-size: 0.95rem; }
  .slide-cta { flex-direction: column; gap: 12px; }
  .slide-cta .btn { width: fit-content; }
  .scroll-indicator { display: none; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item::after { display: none; }

  .services-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 22px; }

  .footer-top-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }

  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .certifications { justify-content: center; flex-wrap: wrap; gap: 12px; }

  .about-badge { left: 0; bottom: -20px; }

  .why-img-wrap > img { height: 320px; }
  .fc-1, .fc-2 { display: none; }
}

/* --- Small Mobile (≤480px) --- */
@media (max-width: 480px) {
  .slide-title { font-size: 1.8rem; }
  .section-title { font-size: 1.7rem; }
  .stat-number { font-size: 2.2rem; }
  .hero-section { min-height: 600px; }
}
