/* ============================================
   PREMIUM COLOR SYSTEM & DESIGN TOKENS
   ============================================ */
:root {
  /* Primary Colors */
  --primary-dark: #0d1117;
  --primary: #161b22;
  --primary-light: #21262d;
  
  /* Secondary Colors */
  --secondary: #58a6ff;
  --secondary-light: #79c0ff;
  --secondary-dark: #1f6feb;
  
  --success: #16a34a;


  /* Accent Colors */
  --accent: #d29922;
  --accent-light: #e3b341;
  --accent-gold: #c9a227;
  
  /* Neutral Colors */
  --neutral-50: #f8fafc;
  --neutral-100: #f1f5f9;
  --neutral-200: #e2e8f0;
  --neutral-300: #cbd5e1;
  --neutral-400: #94a3b8;
  --neutral-500: #64748b;
  --neutral-600: #475569;
  --neutral-700: #334155;
  --neutral-800: #1e293b;
  --neutral-900: #0f172a;
  
  /* Gradients */
  --gradient-primary: linear-gradient(180deg, #0d1117 0%, #161b22 100%);
  --gradient-secondary: linear-gradient(135deg, #58a6ff 0%, #1f6feb 100%);
  --gradient-accent: linear-gradient(135deg, #d29922 0%, #c9a227 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
  --gradient-mesh: radial-gradient(at 40% 20%, rgba(88, 166, 255, 0.08) 0px, transparent 50%),
                   radial-gradient(at 80% 0%, rgba(31, 111, 235, 0.05) 0px, transparent 50%),
                   radial-gradient(at 0% 50%, rgba(210, 153, 34, 0.04) 0px, transparent 50%),
                   radial-gradient(at 80% 50%, rgba(88, 166, 255, 0.06) 0px, transparent 50%),
                   radial-gradient(at 0% 100%, rgba(31, 111, 235, 0.04) 0px, transparent 50%);
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.5);
  --shadow-glow-accent: 0 0 20px rgba(245, 158, 11, 0.5);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
  --transition-smooth: 400ms cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Z-Index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  color: var(--neutral-100);
  background: var(--primary-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.h-auto {
  height: auto !important;
}

/* ============================================
   CUSTOM NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: #021434;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  color: var(--neutral-100);
  font-weight: 700;
  font-size: 1.5rem;
  transition: color var(--transition-fast);
}

.nav-logo:hover {
  color: var(--secondary);
}

.nav-logo-icon {
  width: 45px;
  height: 45px;
  background: var(--gradient-secondary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--neutral-300);
  font-weight: 500;
  font-size: 0.95rem;
  padding: var(--space-xs) 0;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--neutral-100);
}

.nav-link.active {
  color: var(--secondary);
}

.nav-cta {
  display: block;
  padding: var(--space-sm) var(--space-lg);
  background: var(--gradient-secondary);
  color: white;
  border: none;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.nav-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left var(--transition-slow);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.nav-cta:hover::before {
  left: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
}

.nav-toggle span {
  width: 28px;
  height: 2px;
  background: var(--neutral-100);
  transition: all var(--transition-base);
  border-radius: var(--radius-full);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation */
@media (max-width: 994px) {
  .nav-toggle {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(10, 15, 28, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: var(--space-xl);
    gap: var(--space-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
  }
  
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-link {
    font-size: 1.1rem;
    text-align: center;
  }
  
  .nav-cta {
    width: 100%;
    text-align: center;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--space-3xl) 0;
  background: var(--gradient-primary);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(135deg, rgba(13, 17, 23, 0.92) 0%, rgba(22, 27, 34, 0.8) 50%, rgba(13, 17, 23, 0.94) 100%),
    url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=2072&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 1;
}

.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  animation: float 20s ease-in-out infinite;
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: var(--secondary);
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background: var(--accent);
  bottom: 20%;
  left: 5%;
  animation-delay: -5s;
}

.shape-3 {
  width: 200px;
  height: 200px;
  background: var(--secondary-light);
  top: 50%;
  left: 50%;
  animation-delay: -10s;
}

.shape-4 {
  width: 150px;
  height: 150px;
  background: var(--accent-gold);
  bottom: 10%;
  right: 30%;
  animation-delay: -15s;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(30px, -30px) rotate(90deg);
  }
  50% {
    transform: translate(-20px, 20px) rotate(180deg);
  }
  75% {
    transform: translate(20px, 30px) rotate(270deg);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero-text {
  animation: fadeInUp 1s ease-out;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) var(--space-md);
  background: var(--gradient-glass);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  color: var(--secondary-light);
  margin-bottom: var(--space-lg);
  backdrop-filter: blur(10px);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

.hero-title {
  font-size: clamp(1.8rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  background: linear-gradient(135deg, var(--neutral-100) 0%, var(--neutral-300) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.hero-description {
  font-size: 1.125rem;
  color: var(--neutral-400);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.btn-primary {
  padding: var(--space-md) var(--space-xl);
  background: var(--gradient-secondary);
  color: white;
  border: none;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left var(--transition-slow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-secondary {
  padding: var(--space-md) var(--space-xl);
  background: rgba(255, 255, 255, 0.05);
  color: var(--neutral-100);
  border: none;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.hero-visual {
  position: relative;
  animation: fadeInRight 1s ease-out 0.3s both;
}

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

.hero-card {
  background: var(--gradient-glass);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.hero-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-lg);
  color: var(--neutral-100);
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.hero-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-lg);
  transition: all var(--transition-smooth);
}

.hero-feature:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(8px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.hero-feature-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-secondary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.hero-feature-text {
  flex: 1;
}

.hero-feature-title {
  font-weight: 600;
  color: var(--neutral-100);
  margin-bottom: var(--space-xs);
}

.hero-feature-desc {
  font-size: 0.875rem;
  color: var(--neutral-400);
  line-height: 1.5;
}

@media (max-width: 968px) {
  .hero-card {
    padding: var(--space-xs);
  }
  .hero-content {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    text-align: center;
  }
  
  .hero-description {
    max-width: 100%;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .btn-primary {
    font-size: .9rem !important;
  }
  
  .shape {
    display: none;
  }
  
  /* Disable fixed background on mobile/tablet for better performance */
  .hero-background {
    background-attachment: scroll;
  }
}

/* ============================================
   STORY SECTION
   ============================================ */
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
}

.story-card {
  background: var(--gradient-glass);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl);
  text-align: center;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.story-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.story-icon {
  font-size: 3rem;
  margin-bottom: var(--space-lg);
  display: inline-block;
}

.story-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--neutral-100);
}

.story-card p {
  font-size: 0.95rem;
  color: var(--neutral-400);
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .story-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .story-grid {
    grid-template-columns: 1fr;
  }
  
  .story-card {
    padding: var(--space-xs);
  }
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
  position: relative;
  padding: var(--space-3xl) 0;
  background: var(--primary);
}

.stats-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.stat-item {
  text-align: center;
  padding: var(--space-xl);
  background: var(--gradient-glass);
  border-radius: var(--radius-xl);
  transition: all var(--transition-smooth);
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-sm);
}

.stat-label {
  font-size: 1rem;
  color: var(--neutral-400);
  font-weight: 500;
}

@media (max-width: 968px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   SECTION LIGHT (for alternating sections)
   ============================================ */
.section-light {
  padding: var(--space-3xl) 0;
  background: var(--primary);
  position: relative;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
  padding: var(--space-3xl) 0;
  background: 
    linear-gradient(180deg, rgba(13, 17, 23, 0.95) 0%, rgba(22, 27, 34, 0.92) 100%),
    url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?q=80&w=2070&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-3xl);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) var(--space-md);
  background: rgba(88, 166, 255, 0.1);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  color: var(--secondary-light);
  margin-bottom: var(--space-md);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: var(--space-md);
  background: linear-gradient(135deg, var(--neutral-100) 0%, var(--neutral-300) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-description {
  font-size: 1.125rem;
  color: var(--neutral-400);
  line-height: 1.8;
}

.services-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.service-card {
  background: var(--gradient-glass);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-secondary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: var(--space-lg);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--neutral-100);
}

.service-description {
  font-size: 0.95rem;
  color: var(--neutral-400);
  line-height: 1.7;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.service-tag {
  padding: var(--space-xs) var(--space-sm);
  background: rgba(88, 166, 255, 0.1);
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  color: var(--secondary-light);
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Disable fixed background on tablets for better performance */
  .services-section,
  .why-section,
  .cta-section {
    background-attachment: scroll;
  }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: var(--space-xs);
  }
  
  /* Disable fixed background on mobile for better performance */
  .hero-background,
  .services-section,
  .why-section,
  .cta-section {
    background-attachment: scroll;
  }
}

/* ============================================
    Capability Icons (Governemnt/Workforce/Jobs pages)
   ============================================ */

    .cap-icon {
      width: 48px;
      height: 48px;
      background: rgba(88, 166, 255, 0.08);
      color: var(--secondary-light);
      border-radius: var(--radius-lg);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: var(--space-md);
      transition: all var(--transition-smooth);
    }

    .flat-glass-card:hover .cap-icon {
      background: var(--gradient-secondary);
      color: white;
    }

    .card-title {
      font-size: 1.25rem;
      font-weight: 700;
      color: var(--neutral-100);
      margin-bottom: var(--space-sm);
    }

    .card-description {
      font-size: 0.9rem;
      color: var(--neutral-400);
      line-height: 1.6;
    }

/* ============================================
   WHY CHOOSE US SECTION
   ============================================ */
.why-section {
  padding: var(--space-3xl) 0;
  background: 
    linear-gradient(180deg, rgba(22, 27, 34, 0.95) 0%, rgba(13, 17, 23, 0.92) 100%),
    url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?q=80&w=2070&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.why-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2xl);
}

.why-card {
  background: var(--gradient-glass);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl);
  transition: all var(--transition-smooth);
  display: flex;
  gap: var(--space-lg);
  /* align-items: flex-start; */
  align-items: center;
  position: relative;
  overflow: hidden;
}

.why-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.why-number {
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  flex-shrink: 0;
}

.why-content {
  flex: 1;
}

.why-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--neutral-100);
}

.why-content p {
  font-size: 0.95rem;
  color: var(--neutral-400);
  line-height: 1.7;
}

.why-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--neutral-100);
}

.why-description {
  font-size: 0.95rem;
  color: var(--neutral-400);
  line-height: 1.7;
}

@media (max-width: 1000px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
  
  .why-card {
    flex-direction: column;
    text-align: center;
    padding: var(--space-xs);
  }
  
  .why-number {
    margin: 0 auto;
  }
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: var(--space-3xl) 0;
  background: 
    linear-gradient(135deg, rgba(13, 17, 23, 0.93) 0%, rgba(22, 27, 34, 0.9) 50%, rgba(13, 17, 23, 0.93) 100%),
    url('https://images.unsplash.com/photo-1497366216548-37526070297c?q=80&w=2069&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
}

.cta-container {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  text-align: center;
}

.cta-card {
  background: var(--gradient-glass);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-2xl);
  padding: var(--space-3xl);
  position: relative;
  overflow: hidden;
}



.cta-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: var(--space-md);
  background: linear-gradient(135deg, var(--neutral-100) 0%, var(--neutral-300) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-description {
  font-size: 1.125rem;
  color: var(--neutral-400);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}



@media (max-width: 675px) {
  .cta-card {
    padding: var(--space-xs);
  }
}


/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--primary-dark);
  /* padding: var(--space-3xl) 0 var(--space-xl); */
  padding: 0 0 var(--space-xl);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand {
  max-width: 350px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--neutral-100);
  margin-bottom: var(--space-md);
  text-decoration: none;
}

.footer-logo-icon {
  width: 45px;
  height: 45px;
  background: var(--gradient-secondary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.footer-description {
  font-size: 0.95rem;
  color: var(--neutral-400);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.footer-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--neutral-100);
  margin-bottom: var(--space-lg);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-link {
  text-decoration: none;
  color: var(--neutral-400);
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--secondary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-xl);
}

.footer-copyright {
  font-size: 0.875rem;
  color: var(--neutral-500);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral-400);
  text-decoration: none;
  transition: all var(--transition-base);
}

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

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}

/* =========================
   ACKNOWLEDGEMENT OF COUNTRY
========================= */

.acknowledgement-country {
  width: 100%;
}

.acknowledgement-image img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.acknowledgement-content {
  /* background: #083764; */
  padding: 30px 80px;
}

.acknowledgement-content p {
  max-width: 1400px;
  margin: 0 auto 16px;
  line-height: 1.8;
  /* font-size: 16px; */
  text-align: center;
  font-size: 0.95rem;
  color: var(--neutral-400);
}

.acknowledgement-content p:last-child {
  margin-bottom: var(--space-xl);
}

@media (max-width: 768px) {

  .acknowledgement-image img {
    height: 90px;
  }

  .acknowledgement-content {
    padding: 24px;
  }

  .acknowledgement-content p {
    font-size: 14px;
  }
}



/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.scroll-reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.scroll-reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.text-gradient {
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass {
  background: var(--gradient-glass);
  backdrop-filter: blur(20px);
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}





/* ==========================================================================
   FORM CONTAINER STABILIZATION & ALIGNMENT FIXES
   ========================================================================== */

/* Keep the contact portal form from expanding outwards when clicked multiple times */
.why-grid .why-card {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  box-sizing: border-box;
}

#contactForm {
  width: 100%;
  max-width: 100%;
}

#toastContainer {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  word-break: break-word;
}

/* Toast Notification Styles */
.toast {
  position: fixed;
  top: 100px;
  right: 30px;
  background: white;
  border-left: 5px solid var(--success);
  border-bottom: 5px solid var(--success);
  padding: 16px 20px;
  border-radius: 14px;
  box-shadow: var(--hover-shadow);
  z-index: 9999;
  min-width: 240px;
  font-family: Inter, sans-serif;
  animation: slideIn 0.35s ease;
  transition: all 0.3s ease;
}

.toast.error {
  border-left-color: #ef4444;
  border-bottom-color: #ef4444;
}

.toast.success {
  border-left-color: var(--success);
  border-bottom-color: var(--success);
}

.toast strong {
  display: block;
  font-size: 32px;
  margin-bottom: 4px;
  color: var(--primary-dark);
}

.toast div {
  font-size: 20px;
  color: #475569;
}

.toast.hide {
  opacity: 0;
  transform: translateX(30px);
}

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

/* Ensure premium button text and dynamic ripple elements remain perfectly centered and aligned */
.btn-primary, 
.btn-secondary, 
.btn-premium, 
.btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  vertical-align: middle !important;
  position: relative !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  height: 48px; /* Strict height lock to prevent vertical jumps */
}

/* Keep ripple circles positioned absolutely inside buttons so they can never force layout resizing */
.ripple {
  position: absolute !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.25) !important;
  transform: scale(0) !important;
  animation: ripple-animation 0.65s cubic-bezier(0.1, 0.8, 0.3, 1) !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

@keyframes ripple-animation {
  to {
    transform: scale(4) !important;
    opacity: 0 !important;
  }
}





/* ==========================================================================
   UNIFIED BUTTON SUBMITTING / LOADING STATES
   ========================================================================== */

/* Triggers when form submission begins */
.btn-premium.is-submitting {
  pointer-events: none !important;
  opacity: 0.85 !important;
  color: transparent !important; /* Smoothly hides text & SVGs */
}

.btn-premium.is-submitting svg,
.btn-premium.is-submitting span {
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Hardware-accelerated CSS loading spinner centered inside button overlay */
.btn-premium.is-submitting::after {
  content: '';
  position: absolute !important;
  width: 20px !important;
  height: 20px !important;
  top: 50% !important;
  left: 50% !important;
  margin-top: -10px !important;
  margin-left: -10px !important;
  border: 2px solid rgba(255, 255, 255, 0.25) !important;
  border-top-color: #ffffff !important;
  border-radius: 50% !important;
  animation: btnLoaderSpin 1s linear infinite !important;
  z-index: 2 !important;
}

@keyframes btnLoaderSpin {
  to {
    transform: rotate(360deg);
  }
}




/* ==========================================================================
   CREATIVE PROCESS PANEL STICKY CONFIGURATIONS
   ========================================================================== */

/* Active sticky alignment on larger viewport profiles */
@media (min-width: 969px) {
  .panel-visual-box[style*="position: sticky"] {
    position: sticky !important;
    top: 100px !important;
    height: 480px !important; /* Elegant vertical scale on desktop */
    z-index: 10;
  }
}

/* Drops sticky styles on tablets & mobile screens, scaling fluidly with the screen width */
@media (max-width: 968px) {
  .panel-visual-box[style*="position: sticky"] {
    position: static !important;
    height: auto !important;
    aspect-ratio: 16/10 !important; /* Maintain sharp scale on mobile screens */
    width: 100% !important;
    margin-bottom: var(--space-md);
  }
}

/* ==========================================================================
   CAREERS PAGE FORM & APPLY NOW SECTION STYLES (Scoped to prevent global bleed)
   ========================================================================== */
/* <!-- Page Specific Spacing & Mobile Optimizations (Strict Overflow Safety) --> */

/* Safe dynamic backgrounds using inline properties to prevent horizontal scrolling overflows */
.careers-hero {
  position: relative;
  padding: var(--space-3xl) 0 var(--space-xl) 0;
  background: var(--gradient-primary);
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 45vh;
}

.careers-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(135deg, rgba(13, 17, 23, 0.96) 0%, rgba(22, 27, 34, 0.85) 50%, rgba(13, 17, 23, 0.98) 100%),
    url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?q=80&w=2070&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 1;
}

.careers-hero .container {
  position: relative;
  z-index: 2;
}

/* Input Field Elements Alignment inside the existing card class structure */
.form-row-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
  text-align: left;
}

.form-item label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--neutral-300);
}

.form-item label span {
  color: var(--accent-light);
}

.careers-input, .careers-select, .careers-textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  color: var(--neutral-100);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  transition: all var(--transition-base);
  width: 100%;
}

.careers-input:focus, .careers-select:focus, .careers-textarea:focus {
  outline: none;
  border-color: var(--secondary);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 16px rgba(88, 166, 255, 0.15);
}

/* Custom File Input Interface */
.file-input-wrapper {
  position: relative;
  overflow: hidden;
  display: inline-block;
  width: 100%;
}

.file-input-wrapper input[type=file] {
  font-size: 100px;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  cursor: pointer;
}

.careers-select option {
  background: var(--primary-dark);
  color: var(--neutral-100);
}

.careers-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Side Column Layout Spacing */
.benefits-column {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

/* Override any top-borders from global .why-card layout to prevent generic AI appearance */
.why-card {
  border-top: none !important;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.why-card::before {
  display: none !important;
}

/* ============================================
    MOBILE INTERACTION ADJUSTMENTS
    ============================================ */
@media (max-width: 768px) {
  .careers-hero {
    padding: var(--space-3xl) 0 var(--space-md) 0;
    min-height: auto;
  }

  .careers-hero-overlay {
    background-attachment: scroll; /* Performance safety */
  }

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

  .form-item {
    margin-bottom: var(--space-sm);
  }

  .careers-input, .careers-select, .careers-textarea {
    padding: 10px 14px;
    font-size: 0.9rem;
  }

  .careers-textarea {
    min-height: 100px;
  }
}