/* ─────────────────────────────────────────────
   DSR Global Solutions — light theme tokens
───────────────────────────────────────────── */
:root {
  --white:   #FFFFFF;
  --mist:    #F0F3FB;
  --line:    #D4DCEF;
  --green:   #04127B;
  --green-d: #0A1F6B;
  --blue:    #3D5FA8;
  --blue-d:  #0D236E;
  --ink:     #04127B;
  --body:    #3D5FA8;
  --dim:     #6B8EC4;
  --deep:    #071654;   /* footer band */
  --gold:    #C9A020;
  --serif:   "Poppins", "Segoe UI", Arial, sans-serif;
  --sans:    "Poppins", -apple-system, "Segoe UI", sans-serif;
  --max:     1120px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  background: var(--white);
  color: var(--body);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
.inner { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
::selection { background: var(--green); color: var(--white); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--blue); color: var(--white);
  padding: 10px 18px; z-index: 200; font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 0; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* ── shared ── */
.eyebrow {
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: #C9A020; margin-bottom: 20px;
}
.eyebrow-light { color: #C9A020; }
.section-h {
  font-family: var(--sans); font-weight: 600;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.2; color: var(--ink); margin-bottom: 22px;
}
.section-h em, h1 em { font-style: normal; color: var(--blue); }
.section-h-light { color: var(--white); }

.btn {
  display: inline-block; padding: 14px 32px;
  background: #04127B; color: var(--white);
  font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; border-radius: 3px;
  transition: background .2s, transform .15s;
}
.btn:hover { background: #0A1F6B; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); }
.btn-ghost:hover { background: rgba(61, 95, 168, 0.06); }
.btn-small { padding: 11px 24px; white-space: nowrap; }

/* ─────────────────────────────────────────────
   Nav
───────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 110;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  height: 68px; display: flex; align-items: center; justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-brand img { height: 50px; width: auto; }
.nav-brand-text { font-family: var(--sans); font-weight: 600; font-size: 19px; color: var(--ink); }
.nav-brand-text em { color: var(--green); font-style: normal; }

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  color: var(--ink); text-decoration: none;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: color .2s;
}
.nav-links a:hover { color: var(--blue); }
.nav-links .nav-cta {
  color: var(--white); background: #04127B;
  padding: 9px 20px; border-radius: 3px;
}
.nav-links .nav-cta:hover { background: #C9A020; color: var(--white); }

/* ── Nav dropdown ── */
.nav-dropdown { position: relative; }
.nav-sub {
  display: none;
  position: absolute; top: 100%; left: 0;
  background: #ffffff;
  border: 1px solid #D4DCEF;
  border-radius: 3px;
  min-width: 160px;
  list-style: none;
  box-shadow: 0 8px 24px rgba(4,18,123,0.10);
  z-index: 200;
  padding: 6px 0;
}
.nav-dropdown:hover .nav-sub { display: block; }
.nav-sub li a {
  display: block;
  padding: 10px 18px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: #04127B; text-decoration: none;
  transition: background .15s, color .15s;
}
.nav-sub li a:hover { background: #F0F3FB; color: #C9A020; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 10px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--ink); transition: transform .25s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }



/* ─────────────────────────────────────────────
   HeroV — light wash background
───────────────────────────────────────────── */
.herov {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0;
}

.herov-bg {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  /* Removed the background-image from here since the video tag handles it now */
  opacity: 0.35;
  z-index: 0; /* Keeps the video behind the text */
}

/* Add this new rule to make the video stretch and act as a background */
.herov-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* This makes the video scale and crop perfectly like background-size: cover */
  object-position: center;
}

.herov-bg::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 40%, rgba(0,0,0,0.35) 100%);
  z-index: 1;
}

.herov-inner {
  position: relative;
  max-width: 1000px;
  z-index: 2; /* Ensures your content sits safely above the video and gradient layer */
}

h1 {
  font-family: var(--sans); font-weight: 700;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.1; color: var(--ink);
  margin-bottom: 26px;
}
.herov-lede { font-size: 18px; line-height: 1.8; margin-bottom: 38px; max-width: 640px; color: var(--ink); text-shadow: 0 1px 8px rgba(255,255,255,0.6); }

.animate-color {
  animation: colorLoop 60s ease-in-out infinite;
}
@keyframes colorLoop {
  0%   { color: var(--body); }
  5%   { color: #C9A020; }
  10%  { color: #04127B; }
  15%  { color: #ffffff; }
  20%  { color: var(--body); }
  100% { color: var(--body); }
}
.herov-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 42px; }
.herov-motto { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--dim); }

/* Scroll hint */
.scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.7); text-decoration: none;
  animation: scrollBounce 2s ease-in-out infinite;
}
.scroll-hint-text { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; }
.scroll-dot { animation: scrollDot 2s ease-in-out infinite; }
@keyframes scrollBounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}
@keyframes scrollDot {
  0%,100% { cy: 7px; opacity: 1; }
  50%      { cy: 13px; opacity: 0.3; }
}







/* ─────────────────────────────────────────────
   Hero — light wash background
───────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  padding: 190px 0 130px;
  border-bottom: 1px solid var(--line);
}
.hero-bg {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background-image: url("assets/hero-bg.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.14;
}
.hero-bg::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0) 40%, rgba(255,255,255,0.9) 100%);
}
.hero-inner { position: relative; max-width: 760px; }
h1 {
  font-family: var(--sans); font-weight: 700;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.1; color: var(--ink);
  margin-bottom: 26px;
}
.hero-lede { font-size: 18px; line-height: 1.8; margin-bottom: 38px; max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 42px; }
.hero-motto { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--dim); }

/* ─────────────────────────────────────────────
   Services
───────────────────────────────────────────── */
.services { padding: 96px 0; background: #F0F3FB; }
.services-grid {
  margin-top: 44px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
.service {
  background: #FFFFFF; border: 1px solid var(--line);
  border-top: 3px solid #C9A020;
  border-radius: 4px; padding: 36px 32px;
  transition: box-shadow .2s, transform .2s;
}
.service:hover { box-shadow: 0 10px 28px rgba(11, 46, 60, 0.10); transform: translateY(-2px); }
.service h3 {
  font-family: var(--sans); font-weight: 600; font-size: 22px;
  color: var(--ink); margin-bottom: 10px;
}
.service > p { font-size: 14.5px; margin-bottom: 18px; }
.service ul { list-style: none; }
.service li {
  font-size: 14px; color: var(--body);
  padding: 7px 0; border-bottom: 1px solid var(--line);
}
.service li:last-child { border-bottom: none; }
.service li::before { content: "→ "; color: var(--green); }

/* ─────────────────────────────────────────────
   LogBridge — deep band
───────────────────────────────────────────── */
.logbridge {
  background: #04127B;
  padding: 96px 0; color: #FFFFFF;
}
.lb-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 40px; margin-bottom: 50px; flex-wrap: wrap;
}
.lb-dot { color: #C9A020; }
.lb-tag { font-size: 17px; color: #FFFFFF; max-width: 520px; }

.lb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.lb-feature {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px; padding: 32px 30px;
}
.lb-n {
  font-size: 12px; letter-spacing: 0.2em; color: #C9A020;
  display: block; margin-bottom: 14px;
}
.lb-feature h3 {
  font-family: var(--sans); font-weight: 600; font-size: 21px;
  color: var(--white); margin-bottom: 10px;
}
.lb-feature p { font-size: 14.5px; color: rgba(255,255,255,0.82); }

/* ─────────────────────────────────────────────
   Experience
───────────────────────────────────────────── */
.experience { padding: 96px 0; background: var(--mist); border-bottom: 1px solid var(--line); }
.exp-grid {
  margin-top: 44px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
.stat {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 4px; padding: 30px 30px 26px;
  display: flex; flex-direction: column; gap: 8px;
}
.stat-big {
  font-family: var(--sans); font-weight: 700; font-size: 44px; line-height: 1; color: var(--blue);
}
.stat-label { font-size: 14px; color: var(--body); }
.exp-orgs {
  margin-top: 22px; font-size: 13.5px; letter-spacing: 0.04em; color: var(--dim);
}
.mass-strip {
  margin-top: 44px;
  background: var(--white); border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: 4px; padding: 26px 30px;
  display: flex; justify-content: space-between; align-items: center; gap: 28px;
}
.mass-strip-text { display: flex; flex-direction: column; gap: 4px; }
.mass-strip-text strong { color: var(--ink); font-size: 16px; }
.mass-strip-text span { font-size: 14px; color: var(--body); }

/* ─────────────────────────────────────────────
   Team — minimal Apple-style
───────────────────────────────────────────── */
.team { padding: 80px 0 96px; }

/* scroll-reveal base state */
.tr-item {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.72s cubic-bezier(0.22,1,0.36,1) var(--tr-delay, 0s),
              transform 0.72s cubic-bezier(0.22,1,0.36,1) var(--tr-delay, 0s);
}
.tr-item.tr-visible { opacity: 1; transform: translateY(0); }

/* 4-column grid */
.tcard-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}

/* Base card */
.tcard {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #E8EDF7;
  transition: box-shadow 0.4s cubic-bezier(0.22,1,0.36,1),
              transform   0.4s cubic-bezier(0.22,1,0.36,1);
}
.tcard:hover {
  box-shadow: 0 20px 48px rgba(4,18,123,0.10);
  transform: translateY(-4px);
}

/* Photo area */
.tcard-img-wrap {
  position: relative;
  width: 88px; height: 88px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(145deg, #0a1f6b 0%, #3D5FA8 100%);
  margin: 28px auto 0;
}
.tcard-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  transition: transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.tcard:hover .tcard-img { transform: scale(1.04); }
.tcard-initials {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; font-weight: 300; color: rgba(255,255,255,0.35);
  letter-spacing: 0.04em; user-select: none;
}

/* Founder badge */
.tcard-badge {
  display: inline-block;
  background: #C9A020; color: #04127B;
  font-size: 9px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; padding: 4px 10px;
  border-radius: 30px; margin-bottom: 8px;
}

/* Card text */
.tcard-body { padding: 20px 20px 24px; }
.tcard-name {
  font-size: 17px; font-weight: 600;
  color: #04127B; margin-bottom: 5px; line-height: 1.25;
}
.tcard-role {
  font-size: 10px; font-weight: 600; letter-spacing: 0.09em;
  text-transform: uppercase; color: #C9A020; margin-bottom: 12px;
}
.tcard-bio { font-size: 13.5px; line-height: 1.65; color: #5a6e96; }

/* Founder accent — gold left border inside card */
.tcard-founder { border-left: 3px solid #C9A020; }

/* Growing card */
.tcard-grow {
  display: flex; align-items: center; justify-content: center;
  border: 1.5px dashed #C9D2EA;
  background: #F7F9FE;
  min-height: 280px;
}
.tcard-grow:hover { box-shadow: none; transform: none; }
.tcard-grow-inner { text-align: center; padding: 28px 20px; }
.tcard-grow-plus {
  font-size: 36px; font-weight: 200; color: #C9A020;
  line-height: 1; margin-bottom: 10px;
  animation: pulseGrow 2.4s ease-in-out infinite;
}
@keyframes pulseGrow {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.45; transform:scale(1.18); }
}
.tcard-grow-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: #04127B; margin-bottom: 8px;
}
.tcard-grow-sub { font-size: 12px; color: #7a90b8; line-height: 1.65; margin-bottom: 16px; }
.tcard-grow-link {
  font-size: 12px; font-weight: 600; color: #C9A020;
  text-decoration: none; letter-spacing: 0.05em;
  transition: opacity .2s;
}
.tcard-grow-link:hover { opacity: 0.65; }

/* ─────────────────────────────────────────────
   Contact
───────────────────────────────────────────── */
.contact { padding: 96px 0; background: var(--white); }
.contact-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start;
}
.contact-lede { font-size: 17px; margin-bottom: 32px; max-width: 480px; }
.contact-mini { display: flex; flex-direction: column; gap: 16px; margin-top: 34px; }

.query-form {
  background: var(--white); border: 1px solid var(--line); border-radius: 2px;
  border-top: 3px solid #C9A020;
  padding: 38px 36px;
}
.query-form h3 {
  font-family: var(--sans); font-weight: 600; font-size: 21px;
  color: var(--ink); margin-bottom: 24px;
}
.field { margin-bottom: 20px; }
.field label {
  display: block; font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: #04127B; margin-bottom: 7px;
}
.field input, .field textarea {
  width: 100%; padding: 13px 15px;
  font-family: var(--sans); font-size: 15.5px; color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line); border-radius: 2px;
  transition: border-color .2s, box-shadow .2s;
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: #9DB2BA; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: #04127B;
  box-shadow: 0 0 0 3px rgba(4, 18, 123, 0.12);
}
.field input.invalid, .field textarea.invalid { border-color: #C2483B; }
.btn-form { width: 100%; border: 0; cursor: pointer; font-family: var(--sans); }
.form-note { font-size: 12.5px; color: var(--dim); margin-top: 14px; text-align: center; }
.contact-item { display: flex; flex-direction: column; gap: 2px; }
.contact-k {
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--green);
}
.contact-item a, .contact-item span:not(.contact-k) {
  font-size: 16px; color: var(--ink); text-decoration: none;
  overflow-wrap: anywhere; transition: color .2s;
}
.contact-item a:hover { color: var(--blue); }

/* ─────────────────────────────────────────────
   Footer — deep band, ALL TEXT WHITE
───────────────────────────────────────────── */
.footer { background: #071654; color: #FFFFFF; }
.footer-inner {
  display: grid; grid-template-columns: 200px 1fr; gap: 64px;
  padding-top: 64px; padding-bottom: 48px; align-items: start;
}
.footer-brand img { width: 150px; }
.footer-cols {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; justify-items: start;
}
.footer-h {
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: #FFFFFF; margin-bottom: 14px;
}
.footer-cols a, .footer-cols span {
  display: block; color: #FFFFFF; text-decoration: none;
  font-size: 14.5px; padding: 4px 0; transition: opacity .2s;
  overflow-wrap: anywhere;
}
.footer-cols a:hover { opacity: 0.75; }
.footer-social { display: flex; gap: 18px; margin-top: 16px; }
.footer-social a { color: #FFFFFF; display: inline-flex; padding: 4px 0; transition: opacity .2s, transform .2s; }
.footer-social a:hover { opacity: 0.75; transform: translateY(-2px); }
.footer-base {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 22px; padding-bottom: 26px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #FFFFFF;
}

/* ─────────────────────────────────────────────
   Responsive
───────────────────────────────────────────── */
@media (max-width: 960px) {
  .services-grid, .lb-grid, .exp-grid, .team-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 150px 0 90px; }
  .mass-strip { flex-direction: column; align-items: flex-start; }

  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 10px 28px 20px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 13px 0; font-size: 14px; }
  .nav-links .nav-cta { display: inline-block; margin-top: 10px; }
}

@media (max-width: 520px) {
  body { font-size: 15.5px; }
  .inner { padding-left: 20px; padding-right: 20px; }
  .services, .logbridge, .experience, .team, .contact { padding: 70px 0; }
  .contact-list { padding: 26px 22px; }
  .nav-brand-text { font-size: 16px; }
  .footer-base { flex-direction: column; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
