/* ==========================================================================
   Base & Reset
   ========================================================================== */
:root {
  /* Colors inspired by your SVG gradient */
  --primary-color: #0B3D91; 
  --secondary-color: #00C2D1;
  --dark-bg: #0B2545;
  --light-bg: #F8FAFC;
  --text-main: #334155;
  --text-muted: #64748B;
  --white: #FFFFFF;
  
  /* Typography */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Layout */
  --wrap-width: 1200px;
  --radius: 8px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  line-height: 1.6;
  background-color: var(--white);
}

h1, h2, h3, .hero-eyebrow, .section-kicker, .stat-num {
  font-family: var(--font-heading);
  color: var(--dark-bg);
  line-height: 1.2;
}

.wrap {
  max-width: var(--wrap-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--secondary-color);
  color: var(--dark-bg);
}

.btn-primary:hover {
  background-color: #00a6b3;
  transform: translateY(-2px);
}

.btn-ghost {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

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

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #E2E8F0;
  z-index: 1000;
  padding: 1rem 0;
}

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

/* --- LOGO SIZING --- */
.brand-mark {
  height: 75px; /* Large header logo */
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  transition: var(--transition);
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--dark-bg);
  transition: var(--transition);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: 6rem 0;
  background: linear-gradient(to bottom right, var(--light-bg), var(--white));
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-eyebrow {
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

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

.hero-svg {
  width: 100%;
  max-width: 500px;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about {
  padding: 6rem 0;
  background-color: var(--dark-bg);
  color: var(--light-bg);
}

.about h2, .about .section-kicker {
  color: var(--white);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

.section-kicker {
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.about-label h2 {
  font-size: 2.5rem;
}

.about-body p {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  opacity: 0.9;
}

.about-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 3rem;
  color: var(--secondary-color);
}

.stat-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services {
  padding: 6rem 0;
  background-color: var(--light-bg);
}

.services h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: left;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  border-top: 4px solid var(--secondary-color);
}

.service:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.service h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service p {
  color: var(--text-muted);
}

/* ==========================================================================
   Contact Section & Form
   ========================================================================== */
.contact {
  padding: 6rem 0;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.contact-sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.contact-details dt {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--dark-bg);
  margin-bottom: 0.25rem;
}

.contact-details dd {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.contact-details a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.contact-form {
  background: var(--light-bg);
  padding: 3rem;
  border-radius: var(--radius);
}

.form-row {
  margin-bottom: 1.5rem;
}

.form-row label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--dark-bg);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(11, 61, 145, 0.1);
}

.form-submit {
  width: 100%;
  margin-top: 1rem;
}

.form-status {
  margin-top: 1rem;
  font-weight: 500;
  text-align: center;
}

.form-status.success {
  color: #16a34a; /* Green */
}

.form-status.error {
  color: #dc2626; /* Red */
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: #05162a; /* Even darker blue */
  color: var(--white);
  padding: 4rem 0 2rem;
  text-align: center;
}

/* --- LOGO SIZING --- */
.footer-mark {
  height: 90px; /* Large footer logo */
  width: auto;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.site-footer p {
  color: #94A3B8;
  font-size: 0.875rem;
}

/* ==========================================================================
   Media Queries (Responsive Design)
   ========================================================================== */
@media (max-width: 900px) {
  .hero-inner, .about-inner, .contact-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero h1 {
    font-size: 2.75rem;
  }
  
  .hero-graphic {
    order: -1; /* Move graphic to top on mobile */
    text-align: center;
  }

  .nav-cta {
    display: none; /* Hide CTA button in header on mobile to save space */
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  }

  .main-nav.active {
    display: flex;
  }

  .about-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .contact-form {
    padding: 2rem;
  }
}