:root {
  --bg-light: #f5f7fa;
  --bg-dark: #0b1f33;

  --text-dark: #1f2937;
  --text-light: #d1d5db;

  --primary-blue: #0c2742;
  --primary-blue-light: #1d4e89;
  --accent-blue: #2563eb;

  --shadow: rgba(0, 0, 0, 0.15);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f5f7fa;
  color: #1f2937;
  line-height: 1.6;

  /* Better cross-browser font rendering */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* nav {
  background: var(--primary-blue);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
} */
nav {
  background: var(--bg-light);
  color: var(--text-dark);

  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;

  padding: 15px 20px;

  position: sticky;
  top: 0;

  z-index: 1000;

  border-bottom: 1px solid #e5e7eb;
}

/* .logo {
  font-size: 24px;
  font-weight: bold;
} */

.header-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.header-icon {
  display: block;
  width: auto;
  height: 62px;
  position: relative;
  top: -2px;
}

.header-divider {
  width: 1.5px;
  height: 44px;
  background: #082b70;
  border-radius: 2px;
}

.header-text {
  color: #082b70;
  font-size: 31px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

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

.nav-links li {
  margin-left: 25px;
}

.nav-links a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;

  position: relative; /* REQUIRED for underline animation */
}

/* hover color change */
.nav-links a:hover {
  color: var(--primary-blue);
}

/* underline animation */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: var(--primary-blue);
  transition: width 0.3s ease;
}

/* expand underline on hover */
.nav-links a:hover::after {
  width: 100%;
}

.hero {
  position: relative;
  background:
    linear-gradient(rgba(15, 23, 42, 0.35), rgba(15, 23, 42, 0.35)),
    url("../images/hero.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  color: white;
  text-align: center;
  /* padding: 140px 20px; */
  padding: 150px 20px;
}

.hero h1 {
  font-size: 52px;
  margin-bottom: 20px;
}

.hero p {
  max-width: 800px;
  margin: auto;
  font-size: 20px;
}

.trust {
  background: var(--primary-blue);
  color: white;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  padding: 22px;
  font-weight: bold;
}

.trust-item {
  font-size: 18px;
}

.buttons {
  margin-top: 40px;
}

.btn {
  display: inline-block;
  background: #2563eb;
  color: white;
  text-decoration: none;
  padding: 15px 28px;
  border-radius: 8px;
  margin: 8px;
  transition: 0.3s;
  font-weight: bold;
}

.btn:hover {
  background: #1d4ed8;
  transform: translateY(-3px);
}

.btn.secondary {
  background: white;
  color: #2563eb;
}

.btn.secondary:hover {
  background: #e5e7eb;
}

section {
  max-width: 1200px;
  margin: 70px auto;
  padding: 0 20px;
}

section h2 {
  margin-bottom: 30px;
  font-size: 34px;
  color: var(--primary-blue);
}

/* Offset anchor scrolling for sticky navigation */
#services {
  scroll-margin-top: 90px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top center;
  border-radius: 10px;
  margin-bottom: 15px;
}

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

.card h3 {
  margin-bottom: 15px;
  color: #2563eb;
}

footer {
  background: var(--bg-light);
  color: var(--text-dark);

  padding: 18px 0 0; /* remove left/right padding */
  border-top: 1px solid #e5e7eb;
}

/* Light footer row */
.footer-bar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 12px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-logo {
  font-size: 18px;
  font-weight: bold;
  color: var(--text-dark);
}

.footer-contact {
  text-align: right;
}

.footer-contact a {
  color: var(--accent-blue);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: var(--primary-blue);
  text-decoration: underline;
}

.footer-logo-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}

.footer-icon {
  width: 24px;
  height: 24px;
  display: block;
}

.footer-text {
  color: inherit;
  font-weight: 700;
}

/* Full-width dark-blue copyright bar */
.copyright-bar {
  width: 100%;
  margin-top: 10px;
  padding: 12px 20px;

  background: var(--primary-blue);
  color: white;

  text-align: center;
  font-size: 13px;
  letter-spacing: 0.3px;
}

.menu-toggle {
  display: none;
  font-size: 30px;
  cursor: pointer;
  color: var(--text-dark);
  user-select: none;
}

.industry-list {
  list-style: none;
  padding: 0;
  margin: 25px 0;
}

.industry-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  font-size: 18px;
}

.industry-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-blue);
  font-weight: bold;
}

.about-goal {
  margin-top: 35px;
  font-size: 18px;
  line-height: 1.8;
}

/* ==================================
   ABOUT PAGE
================================== */

/* Full-width, narrow dark-blue banner */
.about-banner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 28px 20px;

  background: var(--primary-blue);
}

.about-banner-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.about-banner h1 {
  margin: 0;

  color: white;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
}

/* Full-width content background */
.about-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 40px 20px 55px;

  background: var(--bg-light);
}

.about-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Who We Are and Our Mission */
.about-content h2 {
  margin: 0 0 20px;

  color: var(--primary-blue);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
}

/* All About-page paragraphs */
.about-content p {
  margin-bottom: 20px;

  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.8;
}

/* Industry experience list */
.industry-list {
  margin: 24px 0 32px;
  padding: 0;

  list-style: none;
}

.industry-list li {
  position: relative;

  margin-bottom: 9px;
  padding-left: 30px;

  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.7;
}

.industry-list li::before {
  content: "✓";

  position: absolute;
  left: 0;
  top: 0;

  color: var(--accent-blue);
  font-weight: 700;
}

/* Mission paragraph */
.about-mission {
  margin-bottom: 0;
}

/* ==================================
   CONTACT PAGE
================================== */

/* Full-width narrow dark-blue banner */
.contact-banner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 28px 20px;

  background: var(--primary-blue);
}

.contact-banner-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-banner h1 {
  margin: 0;

  color: white;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
}

/* Full-width page content */
.contact-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 40px 20px 60px;

  background: var(--bg-light);
}

.contact-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-content h2 {
  margin: 0 0 18px;

  color: var(--primary-blue);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
}

.contact-content p {
  margin-bottom: 8px;

  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.7;
}

/* Contact form */
.contact-form {
  width: 100%;
  max-width: 900px;
  margin-top: 30px;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-row input {
  flex: 1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;

  color: var(--text-dark);
  background: white;

  border: 1px solid #d1d5db;
  border-radius: 6px;

  font-family: inherit;
  font-size: 16px;
}

.subject {
  margin: 0 0 20px;
}

.message {
  min-height: 220px;
  margin-bottom: 20px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(12, 39, 66, 0.14);
  outline: none;
}

.contact-form button {
  padding: 14px 28px;

  color: white;
  background: var(--accent-blue);

  border: none;
  border-radius: 8px;

  font-size: 16px;
  font-weight: 600;

  cursor: pointer;

  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

.contact-form button:hover {
  background: var(--primary-blue-light);
  transform: translateY(-2px);
}

/* Two-column Contact layout */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.contact-form-column,
.contact-map-column {
  min-width: 0;
}

/* Form fills the left column */
.contact-form {
  width: 100%;
  max-width: none;
  margin-top: 30px;
}

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
}

.contact-form input {
  margin-bottom: 20px;
}

.contact-form .subject {
  margin-bottom: 20px;
}

.contact-form .message {
  min-height: 260px;
  margin-bottom: 20px;
}

/* Google Map */
.map-container {
  width: 100%;
  height: 520px;
  margin-top: 30px;

  overflow: hidden;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 8px;
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 768px) {
  /* Navigation */
  nav {
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
  }

  .header-icon {
    height: 44px;
  }

  .header-divider {
    height: 34px;
  }

  .header-text {
    font-size: 22px;
  }

  .header-logo-link {
    gap: 9px;
  }

  /* Show hamburger */
  .menu-toggle {
    display: block;
  }

  /* Hide menu by default */
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 15px;
    gap: 0;
  }

  /* Show menu after clicking ☰ */
  .nav-links.active {
    display: flex;
  }

  /* Menu items */
  .nav-links li {
    margin: 12px 0;
    text-align: center;
  }

  /* Hero */
  .hero {
    padding: 80px 20px;
  }

  .hero h1 {
    font-size: 36px;
    line-height: 1.2;
  }

  .hero p {
    font-size: 18px;
  }

  /* Hero buttons */
  .buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }
  /* Contact form */
  .form-row {
    flex-direction: column;
  }
  /* Footer */
  .footer-bar {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .footer-logo-link {
    justify-content: center;
  }

  .footer-icon {
    width: 26px;
    height: 26px;
  }

  .footer-text {
    font-size: 16px;
  }

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

  .about-banner {
    padding: 24px 20px;
  }

  .about-banner h1 {
    font-size: 30px;
  }

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

  .about-content h2 {
    font-size: 24px;
    margin-bottom: 18px;
  }

  .about-content p,
  .industry-list li {
    font-size: 16px;
  }

  .industry-list li {
    padding-left: 28px;
    margin-bottom: 8px;
  }
  .contact-banner {
    padding: 24px 20px;
  }

  .contact-banner h1 {
    font-size: 30px;
  }

  .contact-content {
    padding: 40px 20px 50px;
  }

  .contact-content h2 {
    font-size: 24px;
    margin-bottom: 16px;
  }

  .contact-content p {
    font-size: 16px;
  }

  .contact-form {
    max-width: none;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .map-container {
    height: 380px;
    margin-top: 22px;
  }
}
