/* Root Variables for Theming */
:root {
  --deep-blue: #0a1f44;
  --orange: #eb611a;
  --white: #ffffff;
  --font-primary: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif;
}

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

body {
  font-family: var(--font-primary);
  background-color: var(--white);
  color: var(--deep-blue);
  line-height: 1.6;
  font-size: 18px;
}

button, input, select, textarea {
  font-family: var(--font-primary);
}

a {
  text-decoration: none;
  color: inherit;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 4rem;
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
  color: var(--deep-blue);
}

.lead {
  font-size: 1.5rem;
  font-weight: 300;
}

/* Layout Utilities */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

/* Header & Navigation */
header {
  background-color: var(--white);
  border-top: 3px solid var(--orange);
  padding: 1.5rem 0;
  box-shadow: 0 2px 10px rgba(10, 31, 68, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  height: 50px;
  width: auto;
}

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

.nav-links a {
  font-weight: 600;
  color: var(--deep-blue);
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--orange);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--orange);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--white);
  color: var(--orange);
  border-color: var(--orange);
}

.btn-outline {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--deep-blue);
}

/* Hero Section with Video Background */
.hero {
  background-color: var(--deep-blue);
  color: var(--white);
  padding: 14rem 0;
  position: relative;
  overflow: hidden;
}

.hero p {
  color: var(--white);
}

.hero-eyebrow {
  font-size: 0.95rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
  display: block;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 1;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 0.35; /* Darken video so text is readable */
}

/* Remove gradient skew since video covers it, but keep a dark overlay */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10,31,68,0.8), rgba(10,31,68,0.4));
  z-index: 5;
}

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 10;
}

.hero-buttons {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Feature/Value Cards */
.card {
  background-color: var(--white);
  padding: 3rem 2rem;
  border: 2px solid var(--deep-blue);
  border-top: 5px solid var(--orange);
  transition: transform 0.3s ease;
  height: 100%;
}

.card:hover {
  transform: translateY(-10px);
}

.card h3 {
  color: var(--deep-blue);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card p {
  margin-bottom: 0;
  font-size: 1rem;
}

/* Image Sections */
.img-fluid {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(10, 31, 68, 0.15);
  display: block;
}

/* Split Section */
.split-section {
  background-color: var(--white);
}

.split-content {
  padding-right: 2rem;
}

.split-image {
  background-color: var(--deep-blue);
  min-height: 400px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.split-image img {
  width: 50%;
  height: auto;
}

/* Alternate Background for visual hierarchy */
.bg-light-blue {
  background-color: rgba(10, 31, 68, 0.03); /* Very subtle blue tint */
}

/* Accent block */
.accent-block {
  background: linear-gradient(135deg, rgba(235, 97, 26, 0.95) 0%, rgba(235, 97, 26, 0.75) 100%), url('../assets/global-network-connection.jpg') center/cover no-repeat fixed;
  color: var(--white);
  padding: 8rem 0;
  text-align: center;
  position: relative;
}

.accent-block p {
  color: var(--white);
}

.accent-block h2 {
  margin-bottom: 2rem;
}

/* Footer */
footer {
  background-color: var(--deep-blue);
  color: var(--white);
  padding: 4rem 0 2rem;
}

footer p {
  color: var(--white);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 3rem;
}

.footer-logo {
  height: 60px;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--white);
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--orange);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--deep-blue);
  margin: 5px 0;
  transition: 0.3s;
}

/* Active Link */
.nav-links a.active {
  color: var(--orange);
  border-bottom: 2px solid var(--orange);
  padding-bottom: 0.25rem;
}

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.5rem; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .hero { padding: 8rem 0; }
  
  .mobile-menu-btn {
    display: block;
  }
  
  #nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: var(--white);
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 6rem 2rem;
    z-index: 1000;
  }
  
  #nav-menu.open {
    right: 0;
  }

  .nav-links { 
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }

  .footer-content { flex-direction: column; gap: 2rem; }
}

/* Scroll Animations */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in.appear {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays for grid items */
.grid-delay .card:nth-child(1) { transition-delay: 0.1s; }
.grid-delay .card:nth-child(2) { transition-delay: 0.3s; }
.grid-delay .card:nth-child(3) { transition-delay: 0.5s; }

