
/* =========================================
   CONTACT PAGE — MODERATE PROFESSIONAL DESIGN
   Navy • Blue • Gold
========================================= */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  overflow-x: hidden;
}

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

.contact-hero {
  background: #eaf2ff;
  padding: 65px 20px;
  text-align: center;
}

.contact-hero .container {
  max-width: 850px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  color: #1554d1;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.contact-hero h1 {
  color: #09275f;
  font-size: clamp(32px, 5vw, 46px);
  line-height: 1.2;
  margin: 0 0 16px;
  font-weight: 750;
}

.contact-hero h1 span {
  color: #1554d1;
}

.contact-hero p {
  max-width: 680px;
  margin: 0 auto;
  color: #475569;
  font-size: 16px;
  line-height: 1.75;
}

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

.contact-section.container {
  position: relative;
  isolation: isolate;

  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 32px;

  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 70px 24px;
}

/* Full-width navy background without changing HTML */

.contact-section.container::before {
  content: "";
  position: absolute;
  z-index: -1;

  top: 0;
  bottom: 0;
  left: 50%;

  width: 100vw;
  transform: translateX(-50%);

  background: #09275f;
  border-radius: 0;
}

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

.contact-information {
  min-width: 0;
  color: #ffffff;
}

.contact-information > .section-label {
  color: #f5c542;
  margin-bottom: 10px;
  text-align: left;
}

.contact-information h2 {
  color: #ffffff;
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.3;
  margin: 0 0 14px;
  text-align: left;
}

.contact-description {
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 24px;
  text-align: left;
}

/* =========================================
   CONTACT CARDS
========================================= */

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;

  width: 100%;
  padding: 19px;
  margin-bottom: 16px;

  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;

  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.12);

  text-align: left;
}

.contact-icon {
  display: flex;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;

  background: #eaf2ff;
  color: #1554d1;

  border-radius: 10px;
  font-size: 20px;
}

.contact-card > div:last-child {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.contact-card h3 {
  color: #09275f;
  font-size: 16px;
  line-height: 1.4;
  margin: 0 0 6px;
  font-weight: 700;
}

.contact-card p {
  color: #475569;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 5px;
  overflow-wrap: anywhere;
}

.contact-card a {
  display: inline-block;
  color: #1554d1;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  text-decoration: none;
  margin-top: 5px;
}

.contact-card a:hover {
  color: #09275f;
  text-decoration: underline;
}

.contact-card span {
  display: block;
  color: #475569;
  font-size: 14px;
  line-height: 1.6;
}

/* =========================================
   WORK TOGETHER NOTE
========================================= */

.contact-note {
  margin-top: 24px;
  padding: 20px;

  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(203, 213, 225, 0.3);
  border-left: 4px solid #f5c542;
  border-radius: 10px;
}

.contact-note h3 {
  color: #f5c542;
  font-size: 17px;
  margin: 0 0 9px;
}

.contact-note p {
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.75;
  margin: 0;
}

/* =========================================
   ENQUIRY FORM
========================================= */

.contact-form-container {
  min-width: 0;
  padding: 28px;

  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 13px;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.16);
}

.contact-form-container > .section-label {
  color: #1554d1;
  margin-bottom: 10px;
}

.contact-form-container h2 {
  color: #09275f;
  font-size: 25px;
  line-height: 1.3;
  margin: 0 0 9px;
  text-align: left;
}

.contact-form-container > p {
  color: #475569;
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 22px;
}

/* =========================================
   FORM FIELDS
========================================= */

#contactForm {
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 7px;
  margin-bottom: 17px;
}

.form-group label {
  display: block;
  color: #09275f;
  font-size: 14px;
  font-weight: 650;
  text-align: left;
}

.form-group input,
.form-group textarea {
  display: block;
  width: 100%;
  max-width: 100%;

  padding: 13px 14px;

  background: #ffffff;
  color: #1e293b;

  border: 1px solid #cbd5e1;
  border-radius: 8px;

  outline: none;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;

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

.form-group input {
  min-height: 46px;
}

.form-group textarea {
  min-height: 135px;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #64748b;
  opacity: 1;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #1554d1;
  box-shadow: 0 0 0 3px rgba(21, 84, 209, 0.15);
}

/* =========================================
   SUBMIT BUTTON
========================================= */

.contact-submit {
  display: block;
  width: 100%;

  padding: 14px 18px;
  margin-top: 5px;

  background: #1554d1;
  color: #ffffff;

  border: none;
  border-radius: 9px;

  font-family: inherit;
  font-size: 15px;
  font-weight: 700;

  cursor: pointer;

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

.contact-submit:hover {
  background: #09275f;
  box-shadow: 0 5px 14px rgba(9, 39, 95, 0.2);
  transform: translateY(-2px);
}

.contact-submit:active {
  transform: translateY(0);
}

/* =========================================
   FORM NOTE
========================================= */

.form-note {
  color: #475569;
  font-size: 13px;
  line-height: 1.65;
  margin: 14px 0 0;
  text-align: left;
}

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

.contact-footer {
  background: #061b43;
  color: #cbd5e1;
  padding: 23px 20px;
}

.contact-footer .container {
  max-width: 1100px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-footer p {
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.contact-footer a {
  color: #f5c542;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.contact-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {
  .contact-section.container {
    gap: 22px;
    padding: 55px 20px;
  }

  .contact-form-container {
    padding: 23px;
  }

  .contact-card {
    padding: 16px;
    gap: 13px;
  }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {
  .contact-hero {
    padding: 48px 18px;
  }

  .contact-hero h1 {
    font-size: 34px;
  }

  .contact-hero p {
    font-size: 15px;
  }

  .contact-section.container {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;

    width: 100%;
    padding: 42px 18px;
  }

  .contact-section.container::before {
    width: 100vw;
    border-radius: 0;
  }

  .contact-information {
    width: 100%;
  }

  .contact-information h2 {
    font-size: 25px;
  }

  .contact-description {
    font-size: 15px;
  }

  .contact-card {
    padding: 17px;
    gap: 14px;
    margin-bottom: 14px;
  }

  .contact-icon {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  .contact-form-container {
    width: 100%;
    padding: 22px 18px;
  }

  .contact-form-container h2 {
    font-size: 23px;
  }

  .contact-footer .container {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 380px) {
  .contact-hero h1 {
    font-size: 29px;
  }

  .contact-section.container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .contact-card {
    padding: 14px;
    gap: 11px;
  }

  .contact-form-container {
    padding: 19px 14px;
  }

  .form-group input,
  .form-group textarea {
    font-size: 14px;
  }
}
