/* ===============================
   THEME VARIABLES
================================ */
:root {
  --primary: #0b2d72;      /* Deep corporate blue */
  --accent: #d35400;       /* Premium orange */
  --bg-dark: #0b0f14;
  --bg-section: rgba(255,255,255,0.04);
  --glass-bg: rgba(255,255,255,0.08);
  --glass-border: rgba(255,255,255,0.18);
  --text-light: #ffffff;
  --text-muted: #c7cdd6;
  --mild-blue: #7fa4ff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  background: radial-gradient(circle at top, #0b2d72 0%, #020617 45%);
  color: var(--text-light);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===============================
   HERO
================================ */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  margin-top: -120px;
  padding-top: 120px;
}

.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(2,6,23,0.75),
    rgba(11,45,114,0.75)
  );
}

/* Floating subtle glow */
.hero::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent), transparent 70%);
  top: -200px;
  right: -200px;
  opacity: 0.15;
  animation: floatGlow 14s infinite alternate ease-in-out;
}

@keyframes floatGlow {
  from { transform: translateY(0); }
  to   { transform: translateY(120px); }
}

/* ===============================
   HERO CONTENT
================================ */
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  animation: fadeUp 1.2s ease-out forwards;
}

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

.hero-content h1 {
  font-size: clamp(38px, 6vw, 66px);
  font-weight: 800;
  letter-spacing: -0.5px;
}

.hero-content p {
  margin-top: 14px;
  font-size: clamp(16px, 2.4vw, 20px);
  color: var(--text-muted);
}

/* ===============================
   BUTTONS (ADVANCED)
================================ */
.hero-actions {
  margin-top: 36px;
  display: flex;
  gap: 18px;
}

.btn {
  padding: 14px 34px;
  border-radius: 14px;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
}

/* Primary */
.btn.primary {
  background: linear-gradient(135deg, var(--primary), var(--mild-blue));
  color: #fff;
  box-shadow: 0 12px 30px rgba(11,45,114,0.35);
}

.btn.primary:hover {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  transform: translateY(-3px) scale(1.02);
}

/* Secondary */
.btn.secondary {
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: #fff;
}

.btn.secondary:hover {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-color: transparent;
  transform: translateY(-3px);
}

/* ===============================
   SECTIONS
================================ */
.section {
  padding: 100px 20px;
  position: relative;
}

.section:nth-child(even) {
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.02),
    rgba(255,255,255,0.04)
  );
}

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

.section h2 {
  text-align: center;
  font-size: 34px;
  margin-bottom: 30px;
  letter-spacing: -0.4px;
}

/* ===============================
   GLASS CARDS (SERVICES + PRODUCTS)
================================ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 50px;
}

.service-card {
  background: var(--glass-bg);
  backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--glass-border);
  padding: 34px;
  border-radius: 20px;
  text-align: center;
  transition: all 0.5s cubic-bezier(.25,.8,.25,1);
  position: relative;
  overflow: hidden;
}

/* Rotating gradient ring */
.service-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(120deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.service-card:hover::before {
  opacity: 0.6;
  animation: rotateRing 3s linear infinite;
}

@keyframes rotateRing {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.service-card i {
  font-size: 38px;
  color: var(--accent);
  margin-bottom: 18px;
  transition: transform 0.4s ease;
}

.service-card:hover i {
  transform: rotateY(360deg);
}

.service-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 30px 60px rgba(0,0,0,0.45);
}

/* ===============================
   WHY US
================================ */
/* ===============================
   WHY LIST – PREMIUM ANIMATIONS
================================ */

.why-list {
  list-style: none;
  max-width: 905px;
  margin: 40px auto 0;
  perspective: 1000px;
}

/* Base list item */
.why-list li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  padding: 14px 18px;
  border-radius: 14px;

  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(6px);

  transform: translateY(20px) scale(0.98);
  opacity: 0;

  animation: whyReveal 0.8s ease forwards;
  animation-delay: calc(var(--i, 0) * 0.08s);

  transition:
    background 0.4s ease,
    transform 0.45s cubic-bezier(.25,.8,.25,1),
    box-shadow 0.45s ease;
}

/* Stagger animation */
@keyframes whyReveal {
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* Hover elevation */
.why-list li:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}

/* Subtle glass light sweep */
.why-list li::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255,255,255,0.12),
    transparent 70%
  );
  opacity: 0;
  transform: translateX(-40%);
  transition: opacity 0.4s ease, transform 0.6s ease;
  pointer-events: none;
}

.why-list li:hover::after {
  opacity: 1;
  transform: translateX(40%);
}

/* Icon base */
.why-list i {
  color: var(--accent);
  font-size: 16px;
  min-width: 20px;

  transform: translateZ(0) rotate(0deg);
  transition:
    transform 0.45s cubic-bezier(.25,.8,.25,1),
    color 0.3s ease;
}

/* Icon micro-interaction */
.why-list li:hover i {
  transform: rotate(12deg) scale(1.2);
  color: var(--mild-blue);
}

/* ===============================
   CTA (GLASS PANEL)
================================ */
.cta {
  text-align: center;
}

.cta .container {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 60px 30px;
}

.cta p {
  color: var(--text-muted);
  margin: 16px 0 28px;
}
/* ===============================
   PARALLAX PREP (GPU SAFE)
================================ */
[data-parallax] {
  will-change: transform;
  transition: transform 0.15s linear;
}

/* Hero background depth */
.hero[data-parallax="bg"]::after {
  transform: translateY(var(--parallax-bg, 0px));
}

/* Sections float */
[data-parallax="section"] {
  transform: translateY(var(--parallax-section, 0px));
}

/* Cards float more */
[data-parallax="card"] {
  transform: translateY(var(--parallax-card, 0px));
}
/* ===============================
   WHO WE ARE – CINEMATIC REVEAL
================================ */
[data-animate="who"] {
  overflow: hidden;
}

.reveal-title {
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  animation: revealUp 1s ease forwards;
}

.reveal-text {
  opacity: 0;
  transform: translateY(30px);
  animation: revealUp 1s ease forwards;
  animation-delay: 0.3s;
}

.reveal-text.delay {
  animation-delay: 0.6s;
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Light sweep */
.reveal-title::after {
  content: "";
  position: absolute;
  left: -100%;
  bottom: -10px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: sweep 1.2s ease forwards;
  animation-delay: 0.6s;
}

@keyframes sweep {
  to { left: 100%; }
}
/* ===============================
   LEADERSHIP – DEPTH EFFECT
================================ */
.service-card {
  transform-style: preserve-3d;
}

.service-card:hover {
  transform: translateY(-10px) rotateX(4deg);
}
