@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Rajdhani:wght@400;500;600;700&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy: #020d1a;
  --dark-blue: #061428;
  --mid-blue: #0a1f3a;
  --steel: #1a2d45;
  --accent-blue: #1e6ef5;
  --accent-blue-glow: rgba(30,110,245,0.25);
  --red: #e02020;
  --red-dark: #b01818;
  --steel-gray: #8a9ab5;
  --light: #c8d8f0;
  --white: #ffffff;
  --border: rgba(30,110,245,0.15);
  --card-bg: rgba(10,31,58,0.8);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
}

/* ─── LOADER ─── */
#loader {
  position: fixed; inset: 0; z-index: 9999;
  background: #000;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 1s ease, visibility 1s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

#loader video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 1;
}

/* Skip button */
.loader-skip {
  position: absolute; bottom: 2.5rem; right: 2.5rem; z-index: 10000;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(255,255,255,0.9);
  cursor: pointer;
  border: 1.5px solid rgba(255,255,255,0.5);
  background: rgba(0,0,0,0.55);
  padding: 0.6rem 1.3rem;
  backdrop-filter: blur(4px);
  transition: background 0.2s, border-color 0.2s;
  /* No delay — always visible */
}
.loader-skip:hover { background: rgba(224,32,32,0.75); border-color: transparent; }

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 4%;
  background: rgba(2,13,26,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s ease;
}

nav.scrolled { padding: 0.65rem 4%; }

.nav-logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.nav-logo .nav-icon { height: 42px; width: 42px; object-fit: contain; border-radius: 50%; }
.nav-logo .nav-wordmark {
  display: flex; flex-direction: column; line-height: 1;
}
.nav-logo .nav-wordmark .wm-brand {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.35rem; font-weight: 700;
  color: var(--white); letter-spacing: 0.06em;
}
.nav-logo .nav-wordmark .wm-brand span { color: var(--red); }
.nav-logo .nav-wordmark .wm-tag {
  font-size: 0.55rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--steel-gray);
}

.nav-links {
  display: flex; gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--steel-gray);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--accent-blue);
  transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  padding: 0.55rem 1.4rem;
  border: 1.5px solid var(--red);
  background: transparent; color: var(--white);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
}

.nav-cta:hover {
  background: var(--red);
  box-shadow: 0 0 20px rgba(224,32,32,0.4);
}

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none;
}

.hamburger span {
  width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: all 0.3s ease;
}

/* ─── HERO ─── */
#hero {
  min-height: 100vh;
  display: grid; grid-template-columns: 55% 45%;
  position: relative; overflow: hidden;
  background: var(--navy);
}

.hero-bg-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(30,110,245,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,110,245,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to right, transparent 0%, black 20%, black 60%, transparent 100%);
}

.hero-left {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; justify-content: center;
  padding: 9rem 4% 5rem 6%;
}

.hero-eyebrow { display: none; }

.hero-h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(3.2rem, 6vw, 6rem);
  font-weight: 700; line-height: 1;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.hero-h1 span { color: var(--accent-blue); display: block; }

.hero-sub {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.35em;
  text-transform: uppercase; color: var(--steel-gray);
  margin: 1.4rem 0 0.6rem;
}

.hero-divider {
  width: 56px; height: 2px;
  background: var(--accent-blue);
  margin-bottom: 1.4rem;
}

.hero-desc {
  color: var(--steel-gray); font-size: 0.93rem;
  line-height: 1.8; max-width: 380px;
  margin-bottom: 2.5rem;
}

.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary {
  padding: 0.85rem 2rem;
  background: var(--accent-blue);
  color: var(--white);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; text-decoration: none;
  border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 0.5rem;
  transition: all 0.25s ease;
}

.btn-primary:hover {
  background: #2a7aff;
  box-shadow: 0 0 30px var(--accent-blue-glow);
  transform: translateY(-2px);
}

.btn-secondary {
  padding: 0.85rem 2rem;
  background: transparent;
  color: var(--white);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; text-decoration: none;
  border: 1.5px solid rgba(255,255,255,0.25);
  display: inline-flex; align-items: center; gap: 0.5rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  box-shadow: 0 0 20px var(--accent-blue-glow);
  transform: translateY(-2px);
}

.hero-right {
  position: relative; z-index: 1;
  overflow: hidden;
}

.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.75) saturate(1.1);
}

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--navy) 0%, transparent 40%);
}

/* ─── STATS ─── */
#stats {
  background: var(--dark-blue);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
}

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

.stat-item {
  padding: 2.8rem 2rem;
  text-align: center;
  border-right: 1px solid var(--border);
  position: relative;
  transition: background 0.3s;
}

.stat-item:last-child { border-right: none; }

.stat-item:hover { background: rgba(30,110,245,0.04); }

.stat-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700; color: var(--white);
  line-height: 1;
}

.stat-num span { color: var(--accent-blue); }

.stat-label {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--steel-gray); margin-top: 0.4rem;
}

/* ─── SECTION COMMONS ─── */
section { padding: 5.5rem 6%; }

.section-tag {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--accent-blue); margin-bottom: 0.75rem;
  display: flex; align-items: center; gap: 0.75rem;
}

.section-tag::before {
  content: ''; width: 24px; height: 1.5px;
  background: var(--accent-blue);
}

.section-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700; color: var(--white);
  line-height: 1.1; margin-bottom: 1rem;
}

.section-title span { color: var(--accent-blue); }

.section-desc {
  color: var(--steel-gray); font-size: 0.97rem;
  line-height: 1.75; max-width: 540px;
}

/* ─── SERVICES ─── */
#services { background: var(--dark-blue); }

.services-header { text-align: center; margin-bottom: 3.5rem; }
.services-header .section-tag { justify-content: center; }
.services-header .section-desc { margin: 0 auto; }

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

.service-card {
  background: var(--navy);
  position: relative; overflow: hidden;
  cursor: default;
  transition: all 0.35s ease;
}

.service-card:hover { background: var(--mid-blue); }

.service-card:hover .service-glow {
  opacity: 1;
}

.service-glow {
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-blue), var(--red));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.service-img {
  width: 100%; height: 220px;
  object-fit: cover;
  filter: brightness(0.65) saturate(0.8);
  transition: filter 0.35s ease, transform 0.35s ease;
}

.service-card:hover .service-img {
  filter: brightness(0.8) saturate(1);
  transform: scale(1.03);
}

.service-body { padding: 1.5rem 1.75rem 2rem; }

.service-icon {
  width: 40px; height: 40px; margin-bottom: 1rem;
  color: var(--accent-blue);
}

.service-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.25rem; font-weight: 700;
  color: var(--white); margin-bottom: 0.5rem;
}

.service-desc {
  font-size: 0.875rem; color: var(--steel-gray);
  line-height: 1.7;
}

/* ─── PROCESS ─── */
#process { background: var(--navy); }

.process-header { text-align: center; margin-bottom: 4rem; }
.process-header .section-tag { justify-content: center; }

.process-flow {
  display: flex; align-items: flex-start;
  justify-content: center; gap: 0;
  position: relative;
}

.process-connector {
  flex: 1; height: 2px; margin-top: 2.5rem;
  background: linear-gradient(90deg, var(--accent-blue), rgba(30,110,245,0.2));
  max-width: 80px;
}

.process-step {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; width: 130px;
  animation: fadeUp 0.6s ease both;
}

.step-circle {
  width: 56px; height: 56px;
  border: 2px solid var(--accent-blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  background: rgba(30,110,245,0.08);
  box-shadow: 0 0 18px var(--accent-blue-glow);
  transition: all 0.3s ease;
  position: relative;
}

.step-circle:hover {
  background: rgba(30,110,245,0.2);
  box-shadow: 0 0 30px var(--accent-blue-glow);
  transform: scale(1.1);
}

.step-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.3rem; font-weight: 700;
  color: var(--accent-blue);
}

.step-icon-svg {
  width: 26px; height: 26px; color: var(--accent-blue);
}

.step-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem; font-weight: 700;
  color: var(--white); margin-bottom: 0.3rem;
}

.step-sub {
  font-size: 0.72rem; color: var(--steel-gray);
  line-height: 1.5;
}




/* ─── ABOUT ─── */
#about { background: var(--navy); padding: 5rem 6%; }

.about-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: start;
}

.about-lead {
  font-size: 0.95rem; color: var(--steel-gray);
  line-height: 1.85; margin: 1.1rem 0 2rem;
}

.about-pillars { display: flex; flex-direction: column; gap: 0.85rem; }

.about-pillar { display: flex; align-items: flex-start; gap: 0.65rem; }
.about-pillar svg { width: 18px; height: 18px; color: var(--accent-blue); flex-shrink: 0; margin-top: 2px; }
.about-pillar span { font-size: 0.85rem; color: var(--steel-gray); line-height: 1.5; }
.about-pillar strong { color: var(--white); }

/* Right col */
.about-right-col { display: flex; flex-direction: column; gap: 1.2rem; }

.founders-label {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent-blue);
  border-left: 3px solid var(--accent-blue);
  padding-left: 0.75rem;
  margin-bottom: 0.3rem;
}

.founder-card {
  display: flex; gap: 1.2rem; align-items: flex-start;
  padding: 1.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-blue);
  transition: background 0.25s;
}
.founder-card:hover { background: rgba(30,110,245,0.05); }

.founder-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, #1e6ef5, #0a3a8a);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.4rem; font-weight: 700;
  color: var(--white); flex-shrink: 0;
}

.founder-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.2rem; font-weight: 700;
  color: var(--white); line-height: 1;
}

.founder-role {
  font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-blue); margin: 0.3rem 0 0.6rem;
}

.founder-bio {
  font-size: 0.83rem; color: var(--steel-gray); line-height: 1.65;
}

/* ─── CONTACT ─── */
#contact { background: var(--dark-blue); }

.contact-header { text-align: center; margin-bottom: 3.5rem; }
.contact-header .section-tag { justify-content: center; }

.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; max-width: 960px; margin: 0 auto;
}

.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }

.contact-card {
  display: flex; gap: 1.2rem; align-items: flex-start;
  padding: 1.4rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  transition: border-color 0.25s;
}

.contact-card:hover { border-color: var(--accent-blue); }

.contact-card-icon {
  width: 44px; height: 44px;
  background: rgba(30,110,245,0.12);
  border: 1px solid rgba(30,110,245,0.3);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.contact-card-icon svg { width: 20px; height: 20px; color: var(--accent-blue); }

.contact-card-text h4 {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--steel-gray); margin-bottom: 0.4rem;
}

.contact-card-text a,
.contact-card-text p {
  font-size: 0.92rem; color: var(--white);
  text-decoration: none; display: block; line-height: 1.6;
  transition: color 0.2s;
}

.contact-card-text a:hover { color: var(--accent-blue); }

.contact-form-box {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 2rem;
}

.contact-form-box h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.3rem; font-weight: 700;
  color: var(--white); margin-bottom: 1.5rem;
}

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

.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block; font-size: 0.72rem;
  font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--steel-gray);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--white); font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.25s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px var(--accent-blue-glow);
}

.form-group select option { background: var(--dark-blue); }
.form-group textarea { resize: vertical; min-height: 100px; }

/* ─── FOOTER ─── */
footer {
  background: #010b14;
  border-top: 1px solid var(--border);
  padding: 3rem 6% 1.5rem;
}

.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 2.5rem;
}

.footer-brand p {
  font-size: 0.85rem; color: var(--steel-gray);
  line-height: 1.7; max-width: 240px;
}

.footer-logo {
  display: flex; align-items: center; gap: 0.6rem;
  margin-bottom: 1rem;
}

.footer-logo-icon {
  height: 44px; width: 44px;
  object-fit: contain; border-radius: 50%;
}

.footer-logo-text {
  display: flex; flex-direction: column; line-height: 1;
}

.fl-brand {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.4rem; font-weight: 700;
  color: var(--white); letter-spacing: 0.05em;
}

.fl-brand span { color: var(--red); }

.fl-tag {
  font-size: 0.55rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--steel-gray); margin-top: 2px;
}

.footer-col h4 {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--white); margin-bottom: 1.2rem;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }

.footer-col ul a {
  font-size: 0.85rem; color: var(--steel-gray);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul a:hover { color: var(--accent-blue); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}

.footer-bottom p {
  font-size: 0.78rem; color: var(--steel-gray);
}

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

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

.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  #hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-right { height: 380px; }
  .hero-overlay { background: linear-gradient(180deg, var(--navy) 0%, transparent 50%); }
  .capabilities-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about { grid-template-columns: 1fr; gap: 2.5rem; }
  #about { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-right: 1px solid var(--border); }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { border-top: 1px solid var(--border); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; inset: 0; top: 65px;
    background: rgba(2,13,26,0.98);
    align-items: center; justify-content: center;
    gap: 2.5rem; z-index: 999;
  }
  .nav-links.open a { font-size: 1.2rem; }
  section { padding: 4rem 5%; }
  .hero-left { padding: 7rem 5% 3rem; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .process-flow { flex-wrap: wrap; gap: 2rem; justify-content: center; }
  .process-connector { display: none; }
  .about-badge { width: 90px; height: 90px; bottom: -1rem; right: -0.5rem; }
  .about-points { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
