/* Global Variables & Colors */

:root {
  --primary: #1F3B5B;   /* Navy */
  --accent: #bb2525;    /* Medium blue */
  --light: #8bb7e2;     /* Light blue */
  --gray: #4B4B4B;
  --white: #ffffff;
  --max-width: 1100px;
}

/* Make footer stick to bottom of page */
html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

/* Let main content grow to fill space */
main, .careers-container {
  flex: 1;
}

/* Footer stays at the bottom */
footer {
  margin-top: auto;
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 1.5rem 0;
}

.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Header */
header {
  background: var(--primary);
  color: var(--white);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 100px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
}

nav a:hover {
  color: var(--light);
}

/* About Section */

.about-section {
  background-color: var(--white);
  padding: 4rem 2rem;
  text-align: center;
}

.about-container {
  display: flex;
  flex-direction: column; 
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  gap: 2rem;
}

.about-text {
  max-width: 700px;
}

.about-text h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #0a2540;
}

.about-text p {
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  color: #444;
}

.about-image img {
  max-width: 400px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
/* Federal Expertise */
.federal-expertise {
  background: var(--primary);
  color: white;
  padding: 3rem 2rem;
  text-align: center;
}
.federal-expertise h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
}
.federal-expertise p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.2rem;
  line-height: 1.6;
}

/* ===== Timeline ===== */
.timeline {
  background: var(--primary);
  padding: 4rem 1.5rem;
  text-align: center;
}
.timeline h2 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 2rem;
}

.timeline-track {
  position: relative;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  padding-top: 1.5rem;
}

.timeline-track::before {
  content: "";
  position: absolute;
  top: 3.25rem;              /* aligns with dots */
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, rgba(0,0,0,0) 0%, var(--light) 10%, var(--light) 90%, rgba(0,0,0,0) 100%);
  border-radius: 4px;
}

.timeline-item {
  position: relative;
  background: #f5f7fa;
  border-radius: 12px;
  padding: 1.25rem 1rem 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.timeline-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.14);
}

.timeline-item h3 {
  margin: 0 0 .35rem 0;
  color: #133b5c;
  font-size: 1.25rem;
}
.timeline-item p {
  margin: 0;
  color: #444;
  font-size: 1rem;
}

.timeline .dot {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  background: var(--accent);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(187,37,37,0.15);
}

/* Stack vertically on small screens */
@media (max-width: 860px) {
  .timeline-track {
    grid-template-columns: 1fr;
  }
  .timeline-track::before {
    left: calc(50% - 2px);
    right: auto;
    width: 4px;
    height: calc(100% - 2rem);
    top: 2.5rem;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, var(--light) 10%, var(--light) 90%, rgba(0,0,0,0) 100%);
  }
  .timeline .dot {
    left: -14px;             /* pin to the vertical line on mobile */
    top: 14px;
    transform: none;
  }
}

/* Clients Section */
.clients {
  background: #ffffff;
  padding: 3rem 2rem;
  /* border-top: 4px solid var(--primary); */
  text-align: center;
}
.clients h2 {
  color: var(--primary);
  margin-bottom: 1.5rem;
}
.client-list {
  list-style: none;
  padding: 0;
  font-size: 1.1rem;
  color: #444;
}
.client-list li {
  margin-bottom: 0.75rem;
}

/* Expertise Section */
.expertise-section {
  background: linear-gradient(180deg, #f8f9fb 0%, #e8eef5 100%);
  padding: 4rem 2rem;
  text-align: center;
}

.expertise-container {
  max-width: 1200px;
  margin: 0 auto;
}

.expertise-container h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #0a2540;
}

.expertise-intro {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.expertise-card {
  background: #f5f7fa;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.expertise-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

.expertise-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: #133b5c;
}

.expertise-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

/* contract section */
.contracting, .contracts {
  /* border: 6px solid var(--primary); */
  text-align: center;
  padding: 2.5rem;
  background-color: #fff;
}
.contracting h2, .contracts h2 {
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contracting ul , .contracts ul {
  list-style: none;
  padding-left: 0;
}

.contracting li , .contracts li {
  margin-bottom: 10px;
  font-size: 1.1rem;
}


/* .contracts p {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #444;
}

.contracts ul {
  list-style: disc;
  margin-left: 40px;
  font-size: 1.05rem;
} */

/* Hero Section */

.hero {
  background: linear-gradient(var(--primary), rgba(76,146,215,0.9)), 
              url("assets/hero-bg.jpg") center/cover no-repeat;
  color: var(--white);
  text-align: center;
  padding: 6rem 1.5rem;
}
.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}
.hero p {
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.cta-btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.cta-btn:hover {
  background: var(--primary);
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 700px) {
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

/* Services Section */

.services {
  padding: 4rem 1rem;
  background: var(--white);
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background: #fff;
  border: 2px solid var(--primary);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 8px 16px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  perspective: 1000px;
  color: var(--gray);
}

.service-card h3 {
  color: var(--primary);
}

.service-card:hover {
  border-color: var(--gray);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* PDF Section */

.pdf-section {
  padding: 4rem 1rem;
  text-align: center;
}

.pdf-section iframe {
  width: 100%;
  height: 600px;
  border: 2px solid var(--light);
  border-radius: 8px;
  margin-bottom: 1rem;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.btn:hover {
  background: var(--primary);
}

/* Team Section (About Page) */

.team-section {
  padding: 4rem 1rem;
  text-align: center;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.team-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.12);
}

.team-card img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.team-card h3 {
  margin: 0.5rem 0;
  color: var(--primary);
}

.team-card p {
  font-size: 0.95rem;
  color: var(--gray);
}

/* Contact Page */

#contact {
  background: linear-gradient(#4c92d7, var(--primary)) ,url("assets/hero-bg.jpg") center/cover no-repeat;
  padding: 2rem 1rem;
  text-align: center;
  color: white
}

.contact-section {
  padding: 4rem 2rem;
  text-align: center;
  background: #ffffff;
}

.contact-section h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.contact-section p {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 2rem;
}

/* clients page */

.clients {
  background: #ffffff;
  padding: 4rem 2rem;
  text-align: center;
}

.clients h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.clients p {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 2rem;
}

.client-list {
  list-style: none;
  padding: 0;
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}

.client-list li {
  background: #f5f7fa;
  margin-bottom: 1rem;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  font-size: 1.1rem;
  color: #333;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* .client-list li:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
} */

/* Trusted strip */
.trusted-strip {
  background: #ffffff;
  padding: 2rem 1rem;
  text-align: center;
}

.trusted-strip h2 {
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.logo-strip {
  background-color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.logo-strip img {
  max-height: 70px;
  /* filter: grayscale(100%) contrast(110%); */
  opacity: 0.9;
  transition: all 0.3s ease;
}

.logo-strip img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Footer */
footer {
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 1rem;
  /* margin-top: 4rem; */
}

@media (max-width: 600px) {
  .logo {
    height: 60px;
  }
}

/* Careers Page */
    .careers-container {
      max-width: 900px;
      margin: 0 auto;
      padding: 40px 20px;
    }

    .job-card {
      border: 1px solid #ccc;
      border-radius: 12px;
      padding: 20px;
      margin-bottom: 25px;
      background: #f8f9fa;
      box-shadow: 0 2px 6px rgba(0,0,0,0.05);
      transition: 0.3s;
    }

    .job-card:hover {
      background: #eef3f8;
      transform: translateY(-3px);
    }

    .job-card h3 {
      margin-top: 0;
      color: #003366;
    }

    form {
      background: #f1f1f1;
      padding: 20px;
      border-radius: 10px;
    }

    form input, form textarea {
      width: 100%;
      padding: 10px;
      margin: 8px 0;
      border-radius: 6px;
      border: 1px solid #ccc;
    }

    form button {
      background: #003366;
      color: white;
      border: none;
      padding: 10px 20px;
      border-radius: 6px;
      cursor: pointer;
    }

    form button:hover {
      background: #00509e;
    }

/* ============================= */
/* MOBILE NAVIGATION MENU STYLES */
/* ============================= */

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.bar {
  height: 3px;
  width: 25px;
  background-color: var(--white);
  border-radius: 5px;
  transition: all 0.3s ease;
}

/* When active (menu opened) */
.menu-toggle.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Hide the nav on mobile */
@media (max-width: 768px) {
  nav ul.nav-list {
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
    background-color: var(--primary);
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 0;
    display: none;
  }

  nav ul.nav-list.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .header-content {
    flex-direction: row;
    justify-content: space-between;
  }

  .logo {
    height: 70px;
  }
}
