/* =========================================================
   DICE DEVELOPMENT GROUP — Main Stylesheet
   Color Palette: Black & White with Red Accents
   #0A0A0A | #141414 | #CC0000 | #FF3333
   ========================================================= */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600&family=Playfair+Display:wght@700;800&display=swap');

/* --- CSS Variables --- */
:root {
  --navy-darkest: #0A0A0A;
  --navy-dark: #141414;
  --navy-mid: #CC0000;
  --navy-light: #FF3333;
  --white: #FFFFFF;
  --text-primary: #F0F0F0;
  --text-secondary: #AAAAAA;
  --text-muted: #666666;
  --accent-gradient: linear-gradient(135deg, #CC0000 0%, #FF3333 100%);
  --accent-glow: rgba(204, 0, 0, 0.25);
  --card-bg: rgba(20, 20, 20, 0.90);
  --border: rgba(204, 0, 0, 0.2);
  --border-hover: rgba(204, 0, 0, 0.6);
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.35);
  --shadow-hover: 0 16px 48px rgba(0, 0, 0, 0.5);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --section-pad: clamp(70px, 10vw, 110px);
  --container: 1200px;
  --font-heading: 'Montserrat', sans-serif;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--navy-darkest);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy-darkest); }
::-webkit-scrollbar-thumb { background: var(--navy-mid); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--navy-light); }

/* --- Selection --- */
::selection { background: var(--navy-mid); color: var(--white); }

/* =========================================================
   ANIMATIONS & KEYFRAMES
   ========================================================= */

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

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(50px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33%       { transform: translateY(-18px) rotate(2deg); }
  66%       { transform: translateY(-8px) rotate(-2deg); }
}

@keyframes floatReverse {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33%       { transform: translateY(12px) rotate(-3deg); }
  66%       { transform: translateY(20px) rotate(3deg); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); }
  50%       { box-shadow: 0 0 0 16px rgba(119,141,169,0); }
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

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

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

@keyframes drawLine {
  from { width: 0; }
  to   { width: 60px; }
}

@keyframes dotBounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
  40%            { transform: scale(1); opacity: 1; }
}

@keyframes heroParticle {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.3; }
  100% { transform: translateY(-100px) scale(1.5); opacity: 0; }
}

@keyframes typeWriter {
  from { width: 0; }
  to   { width: 100%; }
}

/* =========================================================
   UTILITY CLASSES
   ========================================================= */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy-light);
  background: rgba(119, 141, 169, 0.12);
  border: 1px solid rgba(119, 141, 169, 0.3);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 18px;
}

.section-title span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.75;
}

.section-header {
  margin-bottom: clamp(45px, 7vw, 65px);
}

.section-header.center {
  text-align: center;
}

.section-header.center .section-subtitle {
  margin: 0 auto;
}

.divider {
  width: 60px;
  height: 3px;
  background: var(--accent-gradient);
  border-radius: 3px;
  margin: 18px 0 24px;
}

.center .divider { margin: 18px auto 24px; }

/* Gradient text utility */
.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 15px 34px;
  border-radius: 100px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn:hover::before { opacity: 1; }

.btn-primary {
  background: var(--accent-gradient);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(65, 90, 119, 0.5);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(65, 90, 119, 0.7);
}

.btn-outline {
  background: transparent;
  color: var(--navy-light);
  border: 2px solid var(--border-hover);
}

.btn-outline:hover {
  background: rgba(119, 141, 169, 0.1);
  border-color: var(--navy-light);
  transform: translateY(-3px);
  color: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--navy-darkest);
  font-weight: 800;
}

.btn-light:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255,255,255,0.25);
}

.btn svg, .btn i { flex-shrink: 0; }

/* Ripple effect */
.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transform: scale(0);
  animation: ripple 0.6s linear;
  pointer-events: none;
}

@keyframes ripple {
  to { transform: scale(4); opacity: 0; }
}

/* --- AOS (Animate on Scroll) overrides / custom classes --- */
.aos-item {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.aos-item.aos-left {
  transform: translateX(-40px);
}

.aos-item.aos-right {
  transform: translateX(40px);
}

.aos-item.aos-scale {
  transform: scale(0.9);
}

.aos-item.in-view {
  opacity: 1;
  transform: none;
}

/* Stagger delays */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }
.delay-600 { transition-delay: 0.6s; }

/* =========================================================
   NAVIGATION
   ========================================================= */

#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: var(--transition);
  background: transparent;
}

#navbar.scrolled {
  background: rgba(13, 27, 42, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 10;
}

.nav-logo img {
  height: 44px;
  width: auto;
  transition: var(--transition);
  filter: brightness(1);
}

#navbar.scrolled .nav-logo img { height: 38px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  flex-shrink: 0;
  padding: 11px 26px;
  font-size: 0.8rem;
  animation: pulse 3s ease infinite;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  z-index: 10;
  padding: 4px;
}

.hamburger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
  transition: var(--transition);
  transform-origin: left center;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(40deg) translateY(-1px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-40deg) translateY(1px);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13, 27, 42, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav.open {
  display: flex;
  transform: translateX(0);
}

.mobile-nav a {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  transition: var(--transition);
}

.mobile-nav a:hover {
  color: var(--white);
}

.mobile-nav .mobile-cta {
  margin-top: 10px;
}

/* =========================================================
   HERO SECTION
   ========================================================= */

#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-darkest);
}

/* Animated mesh background */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(65,90,119,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 70%, rgba(119,141,169,0.1) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(27,38,59,0.6) 0%, transparent 80%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, var(--navy-darkest) 100%);
}

/* Floating geometric shapes */
.hero-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-shape {
  position: absolute;
  border-radius: var(--radius-md);
  border: 1px solid;
  opacity: 0;
  animation: float 8s ease-in-out infinite;
}

.hero-shape:nth-child(1) {
  width: 80px; height: 80px;
  top: 15%; left: 8%;
  border-color: rgba(119,141,169,0.2);
  animation-duration: 9s;
  animation-delay: 0s;
  opacity: 0.6;
  transform: rotate(15deg);
}

.hero-shape:nth-child(2) {
  width: 50px; height: 50px;
  top: 30%; left: 85%;
  border-color: rgba(65,90,119,0.3);
  animation-duration: 11s;
  animation-delay: 2s;
  opacity: 0.5;
  transform: rotate(-20deg);
  animation-name: floatReverse;
}

.hero-shape:nth-child(3) {
  width: 100px; height: 100px;
  top: 70%; left: 15%;
  border-color: rgba(119,141,169,0.15);
  animation-duration: 13s;
  animation-delay: 1s;
  opacity: 0.4;
  border-radius: 50%;
  animation-name: floatReverse;
}

.hero-shape:nth-child(4) {
  width: 60px; height: 60px;
  top: 60%; left: 80%;
  border-color: rgba(65,90,119,0.25);
  animation-duration: 10s;
  animation-delay: 3s;
  opacity: 0.5;
  transform: rotate(45deg);
}

.hero-shape:nth-child(5) {
  width: 35px; height: 35px;
  top: 20%; left: 55%;
  border-color: rgba(119,141,169,0.3);
  animation-duration: 7s;
  animation-delay: 0.5s;
  opacity: 0.6;
  border-radius: 50%;
}

.hero-shape:nth-child(6) {
  width: 120px; height: 120px;
  top: 5%; right: 15%;
  border-color: rgba(65,90,119,0.15);
  animation-duration: 14s;
  animation-delay: 4s;
  opacity: 0.3;
  transform: rotate(30deg);
}

/* Canvas overlay */
#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 100vh;
  padding: 120px 0 80px;
}

.hero-text { max-width: 620px; }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  animation: fadeInDown 0.8s ease 0.3s both;
}

.hero-eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--navy-light);
  animation: dotBounce 1.6s ease infinite;
}

.hero-eyebrow .dot:nth-child(2) { animation-delay: 0.2s; }
.hero-eyebrow .dot:nth-child(3) { animation-delay: 0.4s; }

.hero-eyebrow span {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy-light);
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 24px;
  animation: fadeInUp 0.9s ease 0.4s both;
}

.hero-headline .line-1 { display: block; }
.hero-headline .line-2 {
  display: block;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: fadeInUp 0.9s ease 0.5s both, shimmer 4s linear infinite;
}

.hero-headline .line-3 { display: block; }

.hero-desc {
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.8;
  animation: fadeInUp 0.9s ease 0.6s both;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 50px;
  animation: fadeInUp 0.9s ease 0.7s both;
}

.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  animation: fadeInUp 0.9s ease 0.8s both;
}

.hero-stat {
  position: relative;
}

.hero-stat::after {
  content: '';
  position: absolute;
  right: -18px;
  top: 10%;
  height: 80%;
  width: 1px;
  background: var(--border);
}

.hero-stat:last-child::after { display: none; }

.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-num span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Hero Visual Side */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: scaleIn 1s ease 0.5s both;
}

.hero-img-wrap {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.hero-img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--navy-dark);
}

.hero-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-img-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 40%,
    rgba(13,27,42,0.7) 100%
  );
  z-index: 1;
}

/* Floating badge on hero image */
.hero-badge {
  position: absolute;
  background: var(--navy-dark);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-card);
  z-index: 5;
  backdrop-filter: blur(10px);
}

.hero-badge-1 {
  bottom: 30px;
  left: -30px;
  animation: float 6s ease-in-out infinite;
}

.hero-badge-2 {
  top: 40px;
  right: -25px;
  animation: floatReverse 7s ease-in-out infinite;
}

.hero-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.hero-badge-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
}

.hero-badge-text span {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeInUp 1s ease 1.2s both;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--border-hover);
  border-radius: 12px;
  position: relative;
}

.scroll-wheel {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--navy-light);
  border-radius: 2px;
  animation: scrollDown 2s ease infinite;
}

@keyframes scrollDown {
  0%   { top: 6px; opacity: 1; }
  100% { top: 20px; opacity: 0; }
}

.scroll-text {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* =========================================================
   ABOUT SECTION
   ========================================================= */

#about {
  padding: var(--section-pad) 0;
  background: var(--navy-darkest);
  position: relative;
  overflow: hidden;
}

#about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--navy-mid), transparent);
}

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

.about-visual {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--navy-dark);
  position: relative;
}

.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.8s ease;
}

.about-img-main:hover img { transform: scale(1.03); }

.about-img-accent {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 180px;
  height: 180px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 4px solid var(--navy-darkest);
  background: var(--navy-dark);
}

.about-img-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-img-frame-decor {
  position: absolute;
  top: -16px;
  left: -16px;
  width: 100px;
  height: 100px;
  border-top: 3px solid var(--navy-mid);
  border-left: 3px solid var(--navy-mid);
  border-radius: 4px 0 0 0;
  opacity: 0.6;
}

.about-content { padding-left: 20px; }

.about-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 18px;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--card-bg);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.highlight-item:hover {
  border-color: var(--border-hover);
  background: rgba(65, 90, 119, 0.15);
  transform: translateY(-2px);
}

.highlight-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.highlight-text strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}

.highlight-text span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* =========================================================
   STATS BAR
   ========================================================= */

#stats-bar {
  padding: 60px 0;
  background: var(--navy-dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

#stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(65,90,119,0.06), transparent);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item {
  padding: 24px;
  border-right: 1px solid var(--border);
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number .suffix {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* =========================================================
   SERVICES SECTION
   ========================================================= */

#services {
  padding: var(--section-pad) 0;
  background: var(--navy-darkest);
  position: relative;
}

#services::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--navy-mid), transparent);
}

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

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(65,90,119,0.12), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.service-card:hover::before { transform: scaleX(1); }
.service-card:hover::after { opacity: 1; }

.service-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: rgba(65, 90, 119, 0.2);
  border: 1px solid rgba(65, 90, 119, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
  transition: var(--transition);
  color: var(--navy-light);
}

.service-card:hover .service-icon {
  background: var(--accent-gradient);
  border-color: transparent;
  color: var(--white);
  transform: rotate(5deg) scale(1.1);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.service-num {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(119,141,169,0.08);
  line-height: 1;
  user-select: none;
  transition: var(--transition);
}

.service-card:hover .service-num {
  color: rgba(119,141,169,0.15);
  transform: scale(1.1);
}

/* =========================================================
   WHY US SECTION
   ========================================================= */

#why-us {
  padding: var(--section-pad) 0;
  background: var(--navy-dark);
  position: relative;
  overflow: hidden;
}

#why-us::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--navy-mid), transparent);
}

#why-us::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--navy-mid), transparent);
}

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

.why-content { order: 1; }

.why-visual {
  order: 2;
  position: relative;
  display: flex;
  justify-content: center;
}

.why-points {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 36px;
}

.why-point {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: var(--transition);
  position: relative;
}

.why-point:hover {
  background: rgba(27, 38, 59, 0.6);
  border-color: var(--border);
  transform: translateX(8px);
}

.why-point-num {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
}

.why-point-body strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.why-point-body p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Glowing card visual */
.why-card-stack {
  position: relative;
  width: 340px;
  height: 400px;
}

.why-card-bg {
  position: absolute;
  border-radius: var(--radius-lg);
  background: var(--navy-darkest);
  border: 1px solid var(--border);
}

.why-card-bg:nth-child(1) {
  inset: 20px -20px -20px 20px;
  opacity: 0.4;
  transform: rotate(4deg);
}

.why-card-bg:nth-child(2) {
  inset: 10px -10px -10px 10px;
  opacity: 0.6;
  transform: rotate(2deg);
}

.why-card-main {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  border: 1px solid var(--border-hover);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(65,90,119,0.15);
}

.why-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--white);
}

.why-card-main h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
}

.why-card-main p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.why-card-metric {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.why-card-metric-val {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.why-card-metric-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* =========================================================
   CAREERS / JOIN US SECTION
   ========================================================= */

#careers {
  padding: var(--section-pad) 0;
  background: var(--navy-darkest);
  position: relative;
  overflow: hidden;
}

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

.careers-perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}

.perk-card {
  padding: 22px 20px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.perk-card:hover {
  border-color: var(--border-hover);
  background: rgba(65, 90, 119, 0.15);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.perk-icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
  display: block;
}

.perk-title {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.perk-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.careers-visual {
  position: relative;
}

/* ── Careers CSS card visual (replaces repeated image) ── */
.careers-card-visual {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.careers-cv-bg {
  position: absolute;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--navy-darkest);
}

.careers-cv-bg-1 {
  inset: 18px -18px -18px 18px;
  opacity: 0.35;
  transform: rotate(3deg);
}

.careers-cv-bg-2 {
  inset: 9px -9px -9px 9px;
  opacity: 0.55;
  transform: rotate(1.5deg);
}

.careers-cv-main {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45), 0 0 40px rgba(65,90,119,0.12);
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: float 8s ease-in-out infinite;
}

.careers-cv-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--white);
}

.careers-cv-quote {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  font-style: italic;
  border-left: 3px solid var(--navy-mid);
  padding-left: 16px;
  margin: 0;
}

.careers-cv-author {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: normal;
  font-weight: 600;
}

.careers-cv-divider {
  height: 1px;
  background: var(--border);
}

.careers-cv-perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.careers-cv-perk {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.careers-cv-perk i {
  color: var(--navy-light);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.careers-cv-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 4px;
}

.careers-cv-location {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.careers-cv-location i {
  color: var(--navy-light);
}

.careers-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  position: relative;
  background: var(--navy-dark);
}

.careers-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.8s ease;
}

.careers-img-wrap:hover img { transform: scale(1.04); }

.careers-img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(13,27,42,0.85) 100%);
  z-index: 1;
}

.careers-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  padding: 32px;
}

.careers-overlay p {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
}

.careers-overlay span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.process-steps {
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.process-step {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  position: relative;
}

.process-step + .process-step { border-top: 1px solid var(--border); }

.step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--navy-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--navy-light);
  flex-shrink: 0;
  background: var(--navy-dark);
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.process-step:hover .step-num {
  background: var(--accent-gradient);
  border-color: transparent;
  color: var(--white);
}

.step-body strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.step-body p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* =========================================================
   CONTACT SECTION
   ========================================================= */

#contact {
  padding: var(--section-pad) 0;
  background: var(--navy-darkest);
  position: relative;
}

#contact::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--navy-mid), transparent);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.contact-info { padding-top: 10px; }

.contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 32px 0;
}

.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: rgba(65,90,119,0.2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--navy-light);
  flex-shrink: 0;
  transition: var(--transition);
}

.contact-detail:hover .contact-detail-icon {
  background: var(--accent-gradient);
  border-color: transparent;
  color: var(--white);
}

.contact-detail-body strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-detail-body a,
.contact-detail-body span {
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: color 0.3s;
  line-height: 1.5;
}

.contact-detail-body a:hover { color: var(--navy-light); }

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.social-link {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--accent-gradient);
  border-color: transparent;
  color: var(--white);
  transform: translateY(-3px);
}

/* Maps */
.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 28px;
  border: 1px solid var(--border);
  height: 200px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(30%) contrast(1.1);
}

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

.form-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 28px;
}

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

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 13px 18px;
  background: rgba(13, 27, 42, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--navy-mid);
  background: rgba(13, 27, 42, 0.9);
  box-shadow: 0 0 0 3px rgba(65,90,119,0.15);
}

.form-control::placeholder { color: var(--text-muted); }

textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='%23778DA9' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

select.form-control option { background: var(--navy-dark); }

.form-message {
  display: none;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 16px;
}

.form-message.success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #86efac;
  display: flex;
}

.form-message.error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  display: flex;
}

/* =========================================================
   FOOTER
   ========================================================= */

footer {
  background: var(--navy-dark);
  border-top: 1px solid var(--border);
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand img { height: 42px; margin-bottom: 20px; }

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 300px;
  margin-bottom: 24px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color 0.3s, padding-left 0.3s;
}

.footer-links a:hover {
  color: var(--navy-light);
  padding-left: 6px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.footer-contact-item i {
  color: var(--navy-light);
  font-size: 0.85rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact-item span,
.footer-contact-item a {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  transition: color 0.3s;
}

.footer-contact-item a:hover { color: var(--navy-light); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color 0.3s;
}

.footer-legal a:hover { color: var(--navy-light); }

/* =========================================================
   INNER PAGE STYLES (Privacy, T&C, Apply, etc.)
   ========================================================= */

.page-hero {
  padding: 160px 0 80px;
  background: var(--navy-darkest);
  position: relative;
  overflow: hidden;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 0%, rgba(65,90,119,0.15), transparent 70%);
}

.page-hero-content { position: relative; z-index: 1; }

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
}

/* Legal / content pages */
.page-content {
  padding: var(--section-pad) 0;
  background: var(--navy-darkest);
}

.legal-content {
  max-width: 820px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 5vw, 60px);
}

.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin: 36px 0 14px;
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy-light);
  margin: 24px 0 10px;
}

.legal-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 16px;
}

.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-content ul li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
  line-height: 1.7;
}

.legal-content a { color: var(--navy-light); }
.legal-content a:hover { color: var(--white); }

.legal-last-updated {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--text-muted);
  background: rgba(119,141,169,0.1);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 32px;
}

/* =========================================================
   APPLICATION PAGE
   ========================================================= */

.apply-page-content {
  padding: var(--section-pad) 0;
  background: var(--navy-darkest);
}

.apply-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: start;
}

.apply-sidebar {
  position: sticky;
  top: 100px;
}

.apply-sidebar-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-bottom: 20px;
}

.apply-sidebar-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.apply-sidebar-card p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.apply-perk-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.apply-perk-item {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.apply-perk-item i {
  color: var(--navy-light);
  font-size: 0.9rem;
}

.apply-form-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 50px);
}

.apply-form-card h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.apply-form-card > p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
}

.form-section-title {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-light);
  margin: 32px 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-section-title::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: 2px;
}

.form-section-title:first-of-type { margin-top: 0; }

/* File upload */
.file-upload-area {
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 30px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.file-upload-area:hover,
.file-upload-area.dragover {
  border-color: var(--navy-mid);
  background: rgba(65,90,119,0.08);
}

.file-upload-area input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.file-upload-icon {
  font-size: 2rem;
  color: var(--navy-light);
  margin-bottom: 10px;
}

.file-upload-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.file-upload-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.file-name-display {
  display: none;
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--navy-light);
  font-weight: 600;
}

/* Checkbox */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
  margin-top: 12px;
}

.form-check input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 0;
  flex-shrink: 0;
  accent-color: var(--navy-mid);
  cursor: pointer;
  margin-top: 1px;
}

.form-check-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  cursor: pointer;
}

.form-check-label a {
  color: var(--navy-light);
}

/* Honeypot */
.hp-field { display: none !important; }

/* =========================================================
   LOADING OVERLAY
   ========================================================= */

.loading-overlay {
  position: fixed;
  inset: 0;
  background: var(--navy-darkest);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-overlay.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-logo {
  height: 50px;
  animation: float 2s ease-in-out infinite;
}

.loading-bar {
  width: 200px;
  height: 3px;
  background: var(--navy-dark);
  border-radius: 3px;
  overflow: hidden;
}

.loading-bar-fill {
  height: 100%;
  background: var(--accent-gradient);
  border-radius: 3px;
  animation: loadBar 1.5s ease forwards;
}

@keyframes loadBar {
  from { width: 0; }
  to   { width: 100%; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
    padding: 140px 0 80px;
  }

  .hero-text { max-width: 100%; }
  .hero-desc { max-width: 100%; }

  .hero-ctas { justify-content: center; }
  .hero-stats { justify-content: center; }

  .hero-visual { display: none; }

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

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

  .why-grid { grid-template-columns: 1fr; gap: 50px; }
  .why-visual { order: -1; display: flex; justify-content: center; }

  .careers-grid { grid-template-columns: 1fr; gap: 50px; }
  .careers-visual { display: block; }
  .careers-card-visual { max-width: 100%; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }

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

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

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3),
  .stat-item:nth-child(4) { border-right: none; }
  .stat-item { border-bottom: 1px solid var(--border); border-right: none !important; }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--border) !important; }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }

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

  .footer-grid { grid-template-columns: 1fr; }

  .apply-layout { grid-template-columns: 1fr; }
  .apply-sidebar { position: static; }

  .careers-perks { grid-template-columns: 1fr; }
  .about-highlights { grid-template-columns: 1fr; }

  .hero-stats { gap: 20px; }
  .hero-stat::after { display: none; }

  .why-card-stack { width: 100%; max-width: 320px; margin: 0 auto; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 2.4rem; }
  .section-title { font-size: 1.75rem; }
  .page-hero h1 { font-size: 2rem; }

  .btn { padding: 13px 24px; font-size: 0.82rem; }

  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn { width: 100%; justify-content: center; }

  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }

  .apply-form-card { padding: 20px 16px; }
  .legal-content { padding: 20px 16px; }

  .mobile-nav a { font-size: 1.3rem; }
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */

:focus-visible {
  outline: 2px solid var(--navy-light);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* Print */
@media print {
  #navbar, footer, .btn, .hero-shapes, #hero-canvas { display: none; }
  body { color: #000; background: #fff; }
}
