/* =========================
   BASE / RESET
========================= */

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
}

/* =========================
   LAYOUT
========================= */

.container {
  max-width: 1100px;
  margin: auto;
  padding: 5rem 2.5rem;
}

/* =========================
   BUTTON SYSTEM
========================= */

.btn {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.btn--primary {
  background-color: #0077cc;
  color: #ffffff;
}

.btn--primary:hover {
  background-color: #005fa3;
}

.btn--secondary {
  border: 1px solid #94a3b8;
  color: #1a1a1a;
  background: #f8fafc;
}

.btn--secondary:hover {
  background-color: #e2e8f0;
}

/* =========================
   HERO
========================= */

.hero {
  background:
    linear-gradient(
      to right,
      rgba(19, 33, 58, 0.85) 0%,
      rgba(19, 33, 58, 0.85) 50%,
      rgba(19, 33, 58, 0.4) 90%,
      rgba(19, 33, 58, 0.2) 100%
    ),
    url("/assets/images/hero.webp") center / cover no-repeat;
  background-color: #13213a;
  color: #ffffff;
  min-height: 80vh;
  padding: 5rem 0 4rem;
}

.hero__text-block {
  max-width: 520px;
}

.hero__logo {
  width: 200px;
  margin-bottom: 2.5rem;
}

.hero__title {
  font-size: 2.75rem;
  font-weight: 700;
  max-width: 800px;
  margin-bottom: 1rem;
}

.hero__sub {
  font-size: 1.2rem;
  margin-top: 1rem;
  max-width: 600px;
  color: #cbd5f5;
}

.hero__support {
  margin-top: 0.75rem;
  opacity: 0.75;
  font-size: 0.95rem;
  font-weight: 600;
  color: #94a3b8;
}

.hero__tag {
  margin-bottom: 1rem;
  color: #ffffff;
  font-weight: 800;
  opacity: 0.8;
}

.hero__actions {
  display: flex;
  gap: 1.5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

/* =========================
   SECTIONS
========================= */

.section {
  padding: 3rem 0;
}

.section--alt {
  background-color: #e6edf5;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.section__intro {
  max-width: 600px;
  margin-top: 1rem;
  color: #4b5563;
}

.section__lead {
  font-size: 1.1rem;
  font-weight: 500;
  color: #4b5563;
  margin-bottom: 1rem;
}

/* =========================
   SERVICES
========================= */

.services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.services__card {
  padding: 1.5rem;
  background: #ffffff;
  border: 1px solid #d1d5db;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  border-radius: 8px;
}

.services__card h3 {
  margin-bottom: 0.75rem;
}

/* =========================
   WORK SECTION
========================= */

.work p {
  max-width: 700px;
}

/* =========================
   GALLERY
========================= */

.gallery {
  padding: 5rem 0;
  background: #e6edf5;
}

.gallery h2 {
  margin-bottom: 2rem;
  text-align: center;
  font-size: 1.75rem;
}

.gallery__intro {
  text-align: center;
  margin: 0 auto 2rem auto;
  max-width: 600px;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery__item {
  overflow: hidden;
  border-radius: 10px;
}

.gallery__item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.gallery__item img:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* =========================
   WHY SECTION
========================= */

.why__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.why__item {
  background: rgba(255, 255, 255, 0.4);
  padding: 1.25rem;
  border-left: 3px solid #0077cc;
  border-radius: 6px;
}

.why__item p {
  color: #4b5563;
}

/* =========================
   REMOTE SECTION
========================= */

.remote {
  background:
    linear-gradient(
      to right,
      rgba(19, 33, 58, 0.75) 0%,
      rgba(19, 33, 58, 0.65) 40%,
      rgba(19, 33, 58, 0.35) 65%,
      rgba(19, 33, 58, 0.15) 100%
    ),
    url("/assets/images/remote-work-helicopter.webp");

  background-position:
    left center,
    55% 1%;
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;

  color: #ffffff;
}

.remote p {
  font-size: 1rem;
  max-width: 600px;
  line-height: 1.5;
  color: #cbd5f5;
}

/* =========================
   CTA
========================= */

.cta {
  background-color: #ffffff;
  text-align: center;
  padding: 4rem 0;
}

.cta__form,
#form-success {
  width: 100%;
  max-width: 760px;
}

.cta__form {
  margin-top: 2rem;
  margin-left: auto;
  margin-right: auto;
}

.form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form__grid input:nth-child(3) {
  grid-column: span 2;
}

.cta__form input,
.cta__form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
}

.cta__form textarea {
  margin-top: 1rem;
  resize: vertical;
}

.cta__form button {
  font-size: 1.1rem;
  padding: 0.9rem 2rem;
  margin-top: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
}

.cta__form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cta .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta__trust {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;

  font-size: 1.05rem;
  font-weight: 600;
  margin: 1rem 0 1.5rem;
  color: #1f2937;
}

/* =========================
   SUCCESS
========================= */

#form-success {
  margin: 2.5rem auto 0;
  display: none;
  justify-content: center;
  align-items: center;

  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

#form-success.show {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.form-success__card {
  background: #e6edf5;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 2rem 2.5rem;
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.form-success__card h3 {
  margin-bottom: 0.75rem;
}

.form-success__card p {
  color: #4b5563;
}

.form-success__call {
  margin-top: 1rem;
  font-weight: 600;
  color: #1a1a1a;
}

/* =========================
   FOOTER
========================= */

.footer {
  background: #0f1e35;
  color: #cbd5e1;

  padding-top: 50px; /* 👈 creates separation from CTA */
}

/* TOP CONTENT */
.footer__content {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 2rem;
  min-height: 100px;
  padding: 10px 2.5rem; /* slightly tighter */
}

.footer-title {
  font-weight: 600;
  color: #ffffff;
}

.footer-sub {
  opacity: 0.7;
}

.footer__left p,
.footer__right p {
  margin: 0;
  line-height: 1.4;
}

.footer__left p + p,
.footer__right p + p {
  margin-top: 6px;
}

.footer__right {
  text-align: right;
}

/* BOTTOM BAR */
.footer__bottom {
  background: #0f243d;
  border-top: 1px solid rgba(255, 255, 255, 0.08);

  padding: 20px 0; /* 👈 this is the main height control */
}

.footer__bottom .container {
  padding: 5px 2rem; /* kill the vertical padding */
}

.footer-credit {
  display: flex;
  flex-direction: column; /* stack */
  align-items: center;
  justify-content: center;

  gap: 5px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-credit a {
  display: flex;
  align-items: center;

  color: inherit;
  text-decoration: none;
}

.footer-credit img {
  height: 50px;
  opacity: 0.6;
  transition: all 0.2s ease;
}

.footer-credit a:hover {
  color: #c08457;
}

.footer-credit a:hover img {
  opacity: 1;
}

/* Hide by default (desktop) */
.call-now {
  display: none;
}

/* Show only on mobile */
@media (max-width: 768px) {
  .call-now {
    display: flex; /* or block depending on your style */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #1d4ed8;
    color: white;
    text-align: center;
    justify-content: center;
    padding: 1rem;
    z-index: 999;
    font-weight: 600;
    letter-spacing: 0.3px;
  }
}

@media (max-width: 600px) {
  .cta__trust {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 600px) {
  .footer__content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer__right {
    text-align: center;
  }
}
