:root {
  --ink: #112033;
  --muted: #5e6b7a;
  --line: #dfe5ec;
  --paper: #ffffff;
  --soft: #f3f6f9;
  --navy: #0d2742;
  --blue: #1769aa;
  --teal: #1f9d8a;
  --gold: #f3b233;
  --shadow: 0 22px 60px rgba(17, 32, 51, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  background: var(--paper);
  line-height: 1.6;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  color: #ffffff;
  background: linear-gradient(180deg, rgba(8, 23, 38, 0.84), rgba(8, 23, 38, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: auto;
  height: 76px;
  object-fit: contain;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: var(--navy);
  font-weight: 800;
  background: var(--gold);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  line-height: 1.2;
}

.brand small {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.nav-links a:hover {
  border-color: rgba(255, 255, 255, 0.44);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
}

.nav-links .nav-quote {
  gap: 8px;
  border-color: #25d366;
  color: #081726;
  background: #25d366;
}

.nav-links .nav-quote:hover {
  border-color: #ffffff;
  color: #081726;
  background: #ffffff;
}

.nav-links svg,
.contact-line svg {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  flex: 0 0 auto;
  fill: currentColor;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  padding: 148px clamp(20px, 5vw, 72px) 44px;
  overflow: hidden;
  color: #ffffff;
  background-image: url("assets/afaq-cargo-hero.png");
  background-position: center;
  background-size: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 23, 38, 0.92) 0%, rgba(8, 23, 38, 0.73) 42%, rgba(8, 23, 38, 0.15) 100%),
    linear-gradient(180deg, rgba(8, 23, 38, 0.25), rgba(8, 23, 38, 0.72));
}

.hero-content,
.hero-stats {
  position: relative;
  z-index: 1;
}

.hero-content {
  align-self: center;
  width: min(760px, 100%);
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: none;
  font-size: clamp(2.1rem, 4.2vw, 4rem);
  line-height: 1.04;
  letter-spacing: 0;
  white-space: nowrap;
}

.hero-text {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 2vw, 1.24rem);
}

.hero-tagline {
  margin: 18px 0 0;
  color: var(--gold);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  color: var(--navy);
  background: var(--gold);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.36);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.hero-stats {
  align-self: end;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(860px, 100%);
  margin-top: 72px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(9, 27, 45, 0.72);
  backdrop-filter: blur(16px);
}

.hero-stats div {
  padding: 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-stats div:last-child {
  border-right: 0;
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  color: var(--gold);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

.hero-stats span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
}

.section {
  padding: 92px clamp(20px, 5vw, 72px);
}

.intro-grid,
.section-heading,
.fleet-content,
.details-grid,
.form-grid,
.contact-card {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: clamp(32px, 6vw, 86px);
}

h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.18rem;
  line-height: 1.25;
}

p {
  margin: 0;
  color: var(--muted);
}

.intro p + p {
  margin-top: 18px;
}

.services {
  background: var(--soft);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 36px;
}

.section-heading h2 {
  max-width: 760px;
}

.section-heading p {
  max-width: 390px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: min(1160px, 100%);
  margin: 0 auto;
}

.service-card {
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 12px 34px rgba(17, 32, 51, 0.06);
}

.service-card span {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--blue);
  font-weight: 800;
}

.service-card p {
  margin-top: 14px;
}

.fleet-band {
  padding: 90px clamp(20px, 5vw, 72px);
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(13, 39, 66, 0.96), rgba(23, 105, 170, 0.9)),
    var(--navy);
}

.fleet-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
}

.fleet-band .section-label,
.fleet-band p,
.fleet-band h2 {
  color: #ffffff;
}

.fleet-band p {
  max-width: 650px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
}

.fleet-number {
  display: grid;
  width: min(320px, 42vw);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.11);
}

.fleet-number strong,
.fleet-number span {
  display: block;
  text-align: center;
}

.fleet-number strong {
  color: var(--gold);
  font-size: clamp(5rem, 13vw, 9rem);
  line-height: 0.9;
}

.fleet-number span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.1rem;
  font-weight: 800;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  width: min(1160px, 100%);
  margin: 0 auto;
}

.why-item {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.why-item p {
  max-width: 490px;
  margin-top: 10px;
}

.vision-panel {
  margin: 0;
  padding: clamp(18px, 3vw, 24px);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: var(--soft);
}

.vision-panel p {
  max-width: 560px;
  margin-top: 10px;
}

.vision-panel h3 {
  font-size: 1.05rem;
}

.vision-panel .role {
  margin-top: 6px;
  color: var(--blue);
  font-weight: 800;
}

.ceo-vision {
  display: grid;
  grid-template-columns: minmax(170px, 220px) 1fr;
  gap: 18px;
  align-items: stretch;
  width: min(760px, 100%);
  margin: 30px auto 0;
}

.ceo-photo {
  min-height: 240px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--navy);
  box-shadow: 0 18px 48px rgba(17, 32, 51, 0.1);
}

.ceo-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.profile-details {
  background: var(--soft);
}

.details-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.detail-list {
  display: grid;
  gap: 14px;
}

.detail-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.detail-list span {
  color: var(--muted);
  font-size: 0.92rem;
}

.detail-list strong {
  color: var(--ink);
  text-align: right;
}

.contact {
  padding: 84px clamp(20px, 5vw, 72px);
  background: #081726;
}

.contact-form-section {
  background: var(--paper);
}

.form-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.form-grid p {
  max-width: 470px;
  margin-top: 18px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  box-shadow: 0 12px 34px rgba(17, 32, 51, 0.06);
}

.form-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.contact-form span {
  font-size: 0.9rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  font: inherit;
  background: #ffffff;
}

.contact-form textarea {
  resize: vertical;
}

.full-field,
.contact-form button {
  grid-column: 1 / -1;
}

.contact-form button {
  justify-self: start;
  cursor: pointer;
}

.contact-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.contact-card h2 {
  max-width: 520px;
  font-size: clamp(1.9rem, 3vw, 2.75rem);
}

.contact-card p {
  max-width: 520px;
  margin-top: 18px;
}

.contact-info {
  display: grid;
  gap: 24px;
}

address {
  display: grid;
  gap: 8px;
  padding: 24px;
  border-left: 4px solid var(--gold);
  color: var(--muted);
  font-style: normal;
  background: var(--soft);
}

address strong {
  color: var(--ink);
}

.contact-logo {
  display: block;
  width: 150px !important;
  height: auto !important;
  max-width: 100%;
  max-height: 92px;
  object-fit: contain;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--navy);
}

.contact-line {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
}

.contact-line span {
  line-height: 1.3;
}

.contact-line:first-of-type {
  color: #128c7e;
  font-weight: 800;
}

.contact-line:nth-of-type(2) {
  color: var(--blue);
  font-weight: 800;
}

.map-frame {
  overflow: hidden;
  min-height: 360px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--soft);
}

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

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 5vw, 72px);
  background: #06111d;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
}

.site-footer p {
  margin-left: auto;
  text-align: right;
}

.site-footer a {
  color: var(--gold);
  font-weight: 800;
  transition: color 160ms ease;
}

.site-footer a:hover {
  color: #ffffff;
}

.cert-page {
  background: var(--soft);
}

.cert-page .site-header {
  background: rgba(8, 23, 38, 0.96);
}

.cert-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  padding: 148px clamp(20px, 5vw, 72px) 54px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(13, 39, 66, 0.98), rgba(23, 105, 170, 0.88)),
    var(--navy);
}

.cert-hero div {
  width: min(820px, 100%);
}

.cert-hero h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1;
  letter-spacing: 0;
}

.cert-hero p:not(.eyebrow) {
  max-width: 660px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
}

.certificates {
  display: grid;
  gap: 34px;
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0 84px;
}

.certificate-frame {
  padding: clamp(10px, 2vw, 18px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(17, 32, 51, 0.1);
}

.certificate-frame img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #d6dbe1;
  border-radius: 4px;
}

@media (max-width: 920px) {
  .site-header {
    position: absolute;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 132px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(8, 23, 38, 0.92), rgba(8, 23, 38, 0.55)),
      linear-gradient(180deg, rgba(8, 23, 38, 0.24), rgba(8, 23, 38, 0.8));
  }

  .hero-stats,
  .intro-grid,
  .fleet-content,
  .details-grid,
  .form-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }

  .section-heading p {
    margin-top: 16px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ceo-vision {
    grid-template-columns: 1fr;
  }

  .ceo-photo {
    min-height: 280px;
  }

  .fleet-number {
    width: min(260px, 100%);
  }

  .cert-page .site-header {
    position: fixed;
  }

  .cert-hero {
    display: grid;
    padding-top: 124px;
  }
}

@media (max-width: 640px) {
  .brand-logo {
    height: 58px;
  }

  .hero {
    padding-bottom: 24px;
    background-position: 62% center;
  }

  .hero h1 {
    font-size: clamp(1.85rem, 9vw, 3rem);
    white-space: normal;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    margin-top: 48px;
  }

  .hero-stats div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .hero-stats div:last-child {
    border-bottom: 0;
  }

  .section,
  .fleet-band,
  .contact {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .service-grid,
  .why-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .ceo-photo {
    min-height: 240px;
  }

  .detail-list div {
    display: grid;
    gap: 4px;
  }

  .detail-list strong {
    text-align: left;
  }

  .service-card {
    min-height: auto;
  }

  .contact-card {
    padding: 24px;
  }

  address {
    padding: 20px;
  }

  .cert-hero {
    padding-bottom: 38px;
  }

  .certificates {
    width: min(100% - 24px, 1240px);
    gap: 22px;
    padding: 28px 0 54px;
  }

  .certificate-frame {
    padding: 7px;
  }

  .site-footer {
    display: grid;
    justify-items: end;
    text-align: right;
  }
}
