@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --navy: #0b1f33;
  --navy-deep: #071522;
  --blue: #123856;
  --ink: #162b3d;
  --muted: #617181;
  --cream: #f4f6f8;
  --white: #ffffff;
  --amber: #b48745;
  --line: rgba(11, 31, 51, 0.12);
  --shadow: 0 22px 60px rgba(7, 21, 34, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: 'DM Sans', Arial, sans-serif;
  line-height: 1.65;
}

nav {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(1rem, 3vw, 3rem);
  width: min(1180px, calc(100% - 3rem));
  margin: auto;
  padding: 1.3rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  -webkit-backdrop-filter: blur(1px);
  backdrop-filter: blur(1px);
}

nav::before {
  content: 'GSWIFT';
  margin-right: auto;
  display: block;
  width: 146px;
  height: 54px;
  background: url('gswift.jpeg') center / contain no-repeat;
  font-size: 0;
}

nav div {
  position: relative;
}

nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease;
}

nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.55rem;
  left: 0;
  height: 2px;
  content: '';
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

nav a:hover,
nav a:focus-visible {
  color: var(--white);
}

nav a:hover::after,
nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
}

section {
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}

#home {
  position: relative;
  display: flex;
  min-height: min(690px, 86vh);
  align-items: center;
  width: 100%;
  max-width: none;
  padding: clamp(8rem, 14vw, 10rem) max(1.5rem, calc((100% - 1180px) / 2)) clamp(5rem, 10vw, 7rem);
  overflow: hidden;
  color: var(--white);
  background-position: center;
  background-size: cover;
  animation: hero-slideshow 18s steps(1, end) infinite;
}

@keyframes hero-slideshow {
  0%, 32% {
    background-image: linear-gradient(90deg, rgba(7, 21, 34, 0.95) 0%, rgba(7, 21, 34, 0.72) 48%, rgba(7, 21, 34, 0.2) 100%), url('cargo-plane.jpeg');
  }

  33%, 65% {
    background-image: linear-gradient(90deg, rgba(7, 21, 34, 0.95) 0%, rgba(7, 21, 34, 0.72) 48%, rgba(7, 21, 34, 0.2) 100%), url('container-ship.jpg');
  }

  66%, 99% {
    background-image: linear-gradient(90deg, rgba(7, 21, 34, 0.95) 0%, rgba(7, 21, 34, 0.72) 48%, rgba(7, 21, 34, 0.2) 100%), url('delivery-truck.jpg');
  }
}

#home::after {
  position: absolute;
  right: max(1.5rem, calc((100% - 1180px) / 2));
  bottom: 2.5rem;
  width: 5rem;
  height: 1px;
  content: '';
  background: var(--amber);
}

#home h1,
#home p {
  position: relative;
  z-index: 1;
  max-width: 690px;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.08;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  font-weight: 500;
  letter-spacing: -0.045em;
}

#home p {
  max-width: 570px;
  margin: 2rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

#about {
  max-width: 930px;
  padding-bottom: 4rem;
}

#about h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.15rem, 4.5vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

#about p {
  margin: 0;
  color: var(--muted);
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  letter-spacing: 0;
}

#services {
  width: 100%;
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  padding: 5rem max(1.5rem, calc((100% - 1180px) / 2)) 7rem;
  background: var(--white);
}

#services h2,
#Vision h2,
#Mission h2,
#contact h2 {
  width: 100%;
  font-size: clamp(2.15rem, 4.5vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

#services > div {
  position: relative;
  display: flex;
  min-height: 310px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  margin-top: 1.25rem;
  padding: 1.5rem;
  overflow: hidden;
  color: var(--white);
  background: var(--blue) center / cover;
  box-shadow: 0 12px 28px rgba(7, 21, 34, 0.1);
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

#services > div > p {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  padding-top: 0.65rem;
  color: rgba(255, 255, 255, 0.78);
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
}

#services > div::after {
  position: absolute;
  inset: 0;
  content: '';
  background: linear-gradient(0deg, rgba(7, 21, 34, 0.82), transparent 65%);
}

#services > div {
  isolation: isolate;
}

#services > div::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: '';
  background: inherit;
  transition: transform 400ms ease;
}

#services > div:hover::before {
  transform: scale(1.06);
}

#services > div {
  background-image: url('cargo-plane.jpeg');
}

#services > div:nth-of-type(2) {
  background-image: url('container-ship.jpg');
}

#services > div:nth-of-type(3) {
  background-image: url('delivery-truck.jpg');
}

#services > div:nth-of-type(4) {
  background-image: url('removal.jpg');
  background-position: right center;
}

#services > div {
  display: inline-flex;
  width: calc(50% - 0.8rem);
  margin-right: 1.25rem;
}

#services > div:nth-of-type(even) {
  margin-right: 0;
}

#services > div {
  z-index: 0;
}

#services > div::after {
  z-index: -1;
}

.values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 4rem 0 7rem;
}

#Vision,
#Mission {
  width: auto;
  margin: 0;
  padding: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(7, 21, 34, 0.08);
}

#Vision p,
#Mission p,
#contact p {
  color: var(--muted);
}

#contact {
  width: min(1180px, calc(100% - 3rem));
  max-width: none;
  margin: 2rem auto 6rem;
  padding: 4.5rem clamp(1.5rem, 5vw, 4.5rem);
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
}

#contact p {
  margin: 0.8rem 0 0;
  color: var(--muted);
}

#contact > p:first-of-type {
  max-width: 680px;
  margin-top: 1.25rem;
  font-size: 1.05rem;
}

#contact form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
  max-width: 860px;
  margin: 2.5rem 0 3.5rem;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  background: var(--cream);
}

#contact label {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#contact input,
#contact select,
#contact textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  min-height: 3rem;
  padding: 0.85rem 0.9rem;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0;
  outline: none;
  transition: border-color 180ms ease, background 180ms ease;
}

#contact select option {
  color: var(--ink);
}

#contact textarea {
  min-height: 8rem;
  resize: vertical;
}

#contact input:focus,
#contact select:focus,
#contact textarea:focus {
  border-color: var(--amber);
  background: var(--white);
}

#contact .full-width {
  grid-column: 1 / -1;
}

#contact button {
  grid-column: 1 / -1;
  justify-self: start;
  border: 0;
  border-left: 3px solid var(--amber);
  padding: 1rem 1.4rem;
  color: var(--white);
  background: var(--navy);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease;
}

#contact button:hover,
#contact button:focus-visible {
  color: var(--navy);
  background: var(--amber);
}

footer {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  padding: 4.5rem max(1.5rem, calc((100% - 1180px) / 2)) 3rem;
  color: rgba(255, 255, 255, 0.7);
  background: var(--navy-deep);
}

footer h2,
footer h3 {
  margin: 0 0 1.25rem;
  color: var(--white);
}

footer h2 {
  max-width: 300px;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.2;
}

footer h3 {
  color: var(--amber);
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

footer p {
  max-width: 340px;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
}

footer > div:not(.footer-about) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}

footer a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 180ms ease;
}

footer a:hover,
footer a:focus-visible {
  color: var(--amber);
}

@media (max-width: 820px) {
  #contact form {
    grid-template-columns: 1fr;
  }

  #contact .full-width,
  #contact button {
    grid-column: auto;
  }
}

@media (max-width: 700px) {
  nav {
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    width: calc(100% - 2rem);
  }

  nav.menu-open {
    background: transparent;
  }

  nav::before {
    width: 108px;
    height: 42px;
  }

  nav a {
    font-size: 0.65rem;
    letter-spacing: 0.04em;
  }

  nav > div {
    display: none;
    width: 100%;
    padding: 0.5rem 0;
    text-align: center;
  }

  nav.menu-open > div {
    display: block;
  }

  nav > div a {
    display: block;
  }

  .menu-toggle {
    display: flex;
    width: 2.5rem;
    height: 2.5rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.28rem;
    border: 1px solid rgba(255, 255, 255, 0.45);
    padding: 0;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 1.1rem;
    height: 2px;
    background: var(--white);
    transition: transform 180ms ease, opacity 180ms ease;
  }

  nav.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(0.4rem) rotate(45deg);
  }

  nav.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  nav.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-0.4rem) rotate(-45deg);
  }

  section,
  #services,
  #contact {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  #services {
    display: block;
  }

  #home {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  #services > div {
    display: flex;
    width: 100%;
    margin-top: 2rem;
    padding: 2rem 1.5rem;
  }

  #services > div {
    min-height: 260px;
  }

  .values {
    display: block;
    width: 100%;
    padding: 3rem 1.25rem 5rem;
  }

  #Vision,
  #Mission {
    margin-bottom: 1.25rem;
    padding: 2rem 1.5rem;
  }

  #contact form {
    display: block;
  }

  #contact label {
    margin-bottom: 1.1rem;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-top: 3.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  #home {
    animation: none;
    background-image: linear-gradient(115deg, var(--navy-deep) 0%, var(--navy) 58%, #173e5e 100%), url('cargo-plane.jpeg');
  }
}
