/* =========================================
   ROOT VARIABLES
========================================= */

:root {
  --ocean-deep: #06305a;
  --ocean: #0b5fa5;
  --ocean-bright: #1c7fd1;
  --sky: #5fb8e8;
  --sky-light: #bfe3fa;

  --ink: #0a2a45;
  --ink-soft: #4c6273;

  --white: #ffffff;

  --line: rgba(255, 255, 255, 0.22);
}

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

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4 {
  font-family: "Space Grotesk", sans-serif;
}

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

button,
input,
textarea {
  font: inherit;
}

/* =========================================
   COMMON CONTAINER
========================================= */

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* =========================================
   HEADER
========================================= */

.site-header {
  background: var(--white);
  border-bottom: 1px solid rgba(11, 95, 165, 0.12);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;

  min-height: 74px;

  gap: 25px;
}

/* =========================================
   BRAND
========================================= */

.brand {
  display: flex;
  align-items: center;

  gap: 12px;

  flex-shrink: 0;
}

.brand-logo {
  width: 42px;
  height: 42px;

  display: block;

  object-fit: contain;
}

.brand-name {
  font-family: "Space Grotesk", sans-serif;

  font-size: 19px;
  font-weight: 700;

  letter-spacing: 0.3px;

  color: var(--ink);
}

/* =========================================
   NAVIGATION
========================================= */

.nav-links {
  display: flex;
  align-items: center;

  gap: 32px;

  list-style: none;
}

.nav-links a {
  position: relative;

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

  color: var(--ink-soft);

  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ocean);
}

.nav-links a.active::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: -8px;

  width: 100%;
  height: 2px;

  background: var(--ocean);
}

/* =========================================
   ENQUIRY BUTTON
========================================= */

.btn-enquiry {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: var(--ocean-bright);
  color: var(--white);

  padding: 11px 25px;

  border-radius: 999px;

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

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

.btn-enquiry:hover {
  background: var(--ocean);
  transform: translateY(-2px);
}

/* =========================================
   CONTACT SECTION
========================================= */

.contact-hero {
  position: relative;

  color: var(--white);

  padding: 90px 0 100px;

  background: url("../images/contact-bg.jpg") center / cover no-repeat;
}

/* =========================================
   GRID
========================================= */

.contact-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 60px;

  align-items: start;
}

/* =========================================
   CONTACT INFORMATION
========================================= */

.eyebrow {
  display: flex;
  align-items: center;

  gap: 12px;

  margin-bottom: 20px;

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

  letter-spacing: 0.5px;

  color: var(--sky-light);
}

.eyebrow::before {
  content: "";

  width: 24px;
  height: 1px;

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

.contact-info h1 {
  max-width: 550px;

  margin-bottom: 18px;

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

  line-height: 1.18;
}

.contact-info h1 em {
  font-style: normal;

  color: var(--sky);
}

.contact-info > p {
  max-width: 470px;

  margin-bottom: 40px;

  font-size: 15.5px;

  color: rgba(255, 255, 255, 0.8);
}

.info-block {
  margin-bottom: 28px;
}

.info-block h4 {
  margin-bottom: 8px;

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

  letter-spacing: 0.8px;
  text-transform: uppercase;

  color: var(--sky-light);
}

.info-block p {
  font-size: 15px;

  color: rgba(255, 255, 255, 0.92);
}

.divider {
  margin: 0 8px;

  color: rgba(255, 255, 255, 0.45);
}

/* =========================================
   CONTACT FORM CARD
========================================= */

.contact-card {
  background: rgba(6, 48, 90, 0.58);

  border: 1px solid var(--line);

  border-radius: 18px;

  padding: 36px;

  backdrop-filter: blur(10px);

  -webkit-backdrop-filter: blur(10px);

  margin-top: 80px;
}

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

.field-row {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 16px;

  margin-bottom: 18px;
}

.form-field {
  margin-bottom: 18px;
}

.field-row .form-field {
  margin-bottom: 0;
}

.form-field label {
  display: block;

  margin-bottom: 7px;

  font-size: 13px;
  font-weight: 500;

  color: rgba(255, 255, 255, 0.85);
}

/* =========================================
   FORM INPUTS
========================================= */

input,
textarea {
  width: 100%;

  background: rgba(255, 255, 255, 0.07);

  border: 1px solid var(--line);

  border-radius: 9px;

  padding: 14px 16px;

  color: var(--white);

  font-size: 14px;

  outline: none;

  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.52);
}

input:focus,
textarea:focus {
  background: rgba(255, 255, 255, 0.11);

  border-color: var(--sky);

  box-shadow: 0 0 0 3px rgba(95, 184, 232, 0.12);
}

textarea {
  min-height: 125px;

  resize: vertical;
}

/* =========================================
   HONEYPOT
========================================= */

.honeypot {
  position: absolute;

  left: -9999px;

  opacity: 0;

  pointer-events: none;
}

/* =========================================
   SEND BUTTON
========================================= */

.btn-send {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: none;

  background: var(--sky);
  color: var(--ocean-deep);

  padding: 14px 32px;

  border-radius: 999px;

  font-size: 14px;
  font-weight: 700;

  cursor: pointer;

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

.btn-send:hover {
  background: var(--sky-light);

  transform: translateY(-2px);
}

/* =========================================
   STATUS MESSAGES
========================================= */

.form-alert {
  margin-bottom: 22px;

  padding: 13px 16px;

  border-radius: 9px;

  font-size: 14px;

  border: 1px solid var(--line);
}

.form-alert-success {
  background: rgba(95, 184, 232, 0.16);

  color: var(--sky-light);

  border-color: rgba(95, 184, 232, 0.4);
}

.form-alert-error {
  background: rgba(224, 95, 95, 0.14);

  color: #f5b8b8;

  border-color: rgba(224, 95, 95, 0.4);
}

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

.contact-hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;

  display: flex;
  align-items: center;
}

/* =========================================
   BACKGROUND VIDEO
========================================= */

.background-video {
  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  z-index: 0;
}

/* =========================================
   VIDEO / IMAGE OVERLAY
   Lightened, and extra-light right at the top
   so the navbar stays visible over the hero.
========================================= */

.video-overlay {
  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(6, 48, 90, 0.2) 140px,
    rgba(6, 48, 90, 0.4) 100%
  );

  z-index: 1;
}

/* =========================================
   CONTENT
========================================= */

.contact-hero .wrap {
  position: relative;

  z-index: 2;

  width: 100%;
}

/* =========================================
   RESPONSIVE — TABLET
========================================= */

@media (max-width: 1050px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-info h1 {
    font-size: 36px;
  }

  .contact-info > p {
    max-width: 100%;
    margin-bottom: 32px;
  }
}

/* =========================================
   RESPONSIVE — MOBILE
========================================= */

@media (max-width: 700px) {
  .wrap {
    padding: 0 20px;
  }

  .contact-hero {
    min-height: 0;
    padding: 130px 0 60px;
  }

  .contact-info h1 {
    font-size: 30px;
    margin-bottom: 14px;
  }

  .contact-info > p {
    font-size: 14px;
    margin-bottom: 28px;
  }

  .info-block {
    margin-bottom: 22px;
  }

  .contact-card {
    padding: 24px;
    border-radius: 14px;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .field-row .form-field {
    margin-bottom: 18px;
  }

  .btn-send {
    width: 100%;
  }

  /* A bit more light at the top on short mobile heroes,
     since the navbar sits closer to the content */
  .video-overlay {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.5) 0%,
      rgba(6, 48, 90, 0.22) 90px,
      rgba(6, 48, 90, 0.42) 100%
    );
  }
}

/* =========================================
   RESPONSIVE — SMALL MOBILE
========================================= */

@media (max-width: 420px) {
  .wrap {
    padding: 0 16px;
  }

  .contact-hero {
    padding: 115px 0 45px;
  }

  .contact-info h1 {
    font-size: 26px;
  }

  .contact-card {
    padding: 18px;
  }

  input,
  textarea {
    padding: 12px 14px;
  }
}

@media (max-width:700px){
  .contact-grid{gap:28px;}
  .contact-card{margin-top:0;}
  .contact-info > p{margin-bottom:26px;}
  .info-block{margin-bottom:18px;}
}
