
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #0b1726;
  background-color: #ffffff;
  line-height: 1.6;
}

a {
  color: #00b3ff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

header {
  background-color: #021b3b;
  color: #ffffff;
}

.navbar {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar-brand img {
  height: 48px;
  width: auto;
}

.navbar-title {
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.nav-links a {
  color: #ffffff;
}

.nav-links a.active {
  border-bottom: 2px solid #00b3ff;
  padding-bottom: 0.25rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background-color: #ffffff;
}

/* Hero */

.hero {
  position: relative;
  color: #ffffff;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  background-image: url("../img/bridge-modern-1.jpg");
  background-size: cover;
  background-position: center;
  filter: brightness(0.45);
}

.hero-overlay {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 5.5rem 1.25rem 4.5rem;
  z-index: 1;
}

.hero-tagline {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  margin-bottom: 0.75rem;
  color: #9ad9ff;
}

.hero h1 {
  font-size: 2.6rem;
  max-width: 640px;
  margin: 0 0 1rem;
}

.hero p {
  max-width: 520px;
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background-color: #00b3ff;
  border-color: #00a1e6;
  color: #021b3b;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}

.btn-primary:hover {
  background-color: #33c3ff;
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  border-color: #ffffff;
  color: #ffffff;
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

/* Layout */

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}

.section-heading {
  font-size: 1.8rem;
  margin: 0 0 0.5rem;
}

.section-subtitle {
  margin: 0 0 1.5rem;
  color: #5b6475;
  max-width: 640px;
}

/* Grid */

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.card {
  background-color: #ffffff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(4, 16, 40, 0.12);
  padding: 1.6rem 1.7rem;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.card p {
  margin-top: 0;
  margin-bottom: 0.7rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.15rem 0.75rem;
  background-color: #e3f4ff;
  color: #004f7a;
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
}

.list-check {
  list-style: none;
  padding-left: 0;
  margin: 0.4rem 0 0;
}

.list-check li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.45rem;
}

.list-check li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.78rem;
  color: #00a868;
}

/* Image blocks */

.figure {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.35);
  background-color: #021b3b;
}

.figure img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Values section */

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.4rem;
  margin-top: 1.6rem;
}

.value-pill span {
  display: block;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

/* Pages */

.page-hero {
  padding: 3rem 1.25rem 1.5rem;
  background: radial-gradient(circle at top left, #073b70, #021b3b);
  color: #ffffff;
}

.page-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.page-hero h1 {
  margin: 0 0 0.5rem;
}

.page-hero p {
  margin: 0;
  max-width: 650px;
  color: #c5ddff;
}

/* About */

.bio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.2rem;
  align-items: start;
}

.bio-highlight {
  background-color: #021b3b;
  color: #ffffff;
  border-radius: 16px;
  padding: 1.6rem 1.8rem;
}

.bio-highlight h2 {
  margin-top: 0;
}

.badge {
  display: inline-flex;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background-color: #00b3ff;
  color: #021b3b;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Services */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.75rem;
}

/* Contact */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #364159;
}

input,
select,
textarea {
  padding: 0.6rem 0.7rem;
  border-radius: 8px;
  border: 1px solid #ccd4e0;
  font-size: 0.9rem;
  font-family: inherit;
}

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

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #00b3ff;
  box-shadow: 0 0 0 1px rgba(0, 179, 255, 0.3);
}

/* Footer */

footer {
  border-top: 1px solid #d0dae8;
  background-color: #f6f8fc;
  padding: 1.75rem 1.25rem 2.25rem;
  font-size: 0.85rem;
  color: #5b6475;
}

footer .footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

/* Responsive */

@media (max-width: 800px) {
  .nav-links {
    position: absolute;
    right: 1rem;
    top: 60px;
    background-color: #021b3b;
    padding: 0.75rem 1.1rem 1rem;
    border-radius: 10px;
    flex-direction: column;
    gap: 0.7rem;
    min-width: 180px;
    display: none;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-overlay {
    padding-top: 4.2rem;
    padding-bottom: 3.5rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .grid-2,
  .bio-grid,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .navbar-brand img {
    height: 40px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  form {
    grid-template-columns: 1fr;
  }
}
