
/* ADEL Contact Page — matches the main website */

.contact-page {
  padding-top: 76px;
  background: #f5f8fb;
  color: #071d30;
  min-height: 100vh;
}

/* Hero banner */
.contact-hero {
  min-height: 285px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 55px max(4.5vw, 24px);
  isolation: isolate;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(0, 174, 239, .2), transparent 42%),
    linear-gradient(115deg, #04182a 0%, #082944 58%, #061b30 100%);
  border-bottom: 2px solid #00aeef;
}

.contact-hero::before,
.contact-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}

.contact-hero::before {
  width: 440px;
  height: 440px;
  right: 8%;
  top: -220px;
  border: 1px solid rgba(0, 174, 239, .25);
  border-radius: 50%;
  box-shadow:
    0 0 0 35px rgba(0, 174, 239, .035),
    0 0 0 75px rgba(0, 174, 239, .025);
}

.contact-hero::after {
  inset: 0;
  background:
    linear-gradient(120deg, transparent 65%, rgba(0, 174, 239, .08)),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 39px,
      rgba(130, 190, 225, .045) 40px
    );
}

.contact-hero-grid {
  position: absolute;
  right: 0;
  top: 0;
  width: 45%;
  height: 100%;
  opacity: .25;
  background: repeating-linear-gradient(
    125deg,
    transparent 0,
    transparent 65px,
    rgba(0, 174, 239, .2) 66px,
    transparent 68px
  );
  pointer-events: none;
}

.contact-hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  animation: contactIntro .7s ease both;
}

.contact-eyebrow,
.info-label {
  color: #00aeef;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
}

.contact-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 15px;
}

.contact-eyebrow span,
.contact-note span {
  display: inline-block;
  width: 24px;
  height: 2px;
  background: #00aeef;
}

.contact-hero h1 {
  margin: 0;
  color: #fff;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 800;
  line-height: .98;
  letter-spacing: .5px;
}

.contact-hero h1 em {
  color: #00aeef;
  font-style: normal;
}

.contact-hero-content > p:last-child {
  max-width: 590px;
  margin: 18px 0 0;
  color: #c5d7e7;
  font-size: 14px;
  line-height: 1.8;
}

.contact-hero-label {
  position: absolute;
  right: 4.5vw;
  bottom: 25px;
  color: #c5d7e7;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.6px;
}

/* Main content */
.contact-main {
  padding-top: 65px;
  padding-bottom: 85px;
}

.contact-heading {
  margin-bottom: 30px;
}

.contact-heading .section-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: #078cf0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
}

.contact-heading .section-tag span {
  width: 25px;
  height: 2px;
  background: #00aeef;
}

.contact-heading h2 {
  margin: 0;
  color: #071d30;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
}

.contact-heading h2 em {
  color: #078cf0;
  font-style: normal;
}

/* Map left, information right */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 38px;
  align-items: stretch;
}

.contact-map {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: #e4edf5;
  border: 1px solid #d7e5f0;
  box-shadow: 0 16px 40px rgba(4, 24, 42, .09);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 430px;
  border: 0;
  filter: saturate(.7);
}

.map-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 17px;
  background: rgba(4, 24, 42, .94);
  border-left: 3px solid #00aeef;
  box-shadow: 0 8px 25px rgba(0, 0, 0, .14);
}

.map-pin {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 37px;
  height: 37px;
  color: #00aeef;
  background: rgba(0, 174, 239, .12);
  font-size: 20px;
}

.map-caption strong {
  color: #fff;
  font-size: 13px;
}

.map-caption p {
  margin: 5px 0 0;
  color: #a9bfd0;
  font-size: 11px;
}

/* Details panel */
.contact-information {
  padding: 27px 28px;
  background: #fff;
  border: 1px solid #e0eaf2;
  border-top: 2px solid #00aeef;
  box-shadow: 0 16px 40px rgba(4, 24, 42, .055);
}

.company-title {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-bottom: 25px;
  border-bottom: 1px solid #e5edf4;
}

.company-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  color: #00aeef;
  background: #eaf6ff;
  border: 1px solid #d5edfc;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 31px;
  font-weight: 800;
}

.info-label {
  margin: 0 0 5px;
  font-size: 9px;
  letter-spacing: 1.6px;
}

.company-title h3 {
  margin: 0;
  color: #071d30;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.45;
}

.contact-detail {
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr);
  gap: 13px;
  padding: 22px 0;
  border-bottom: 1px solid #e8eef4;
}

.detail-icon {
  color: #078cf0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 18px;
  font-weight: 800;
}

.contact-detail h4 {
  margin: 0 0 8px;
  color: #071d30;
  font-size: 14px;
  font-weight: 800;
}

.contact-detail p {
  margin: 0;
  color: #627487;
  font-size: 12px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.contact-detail a {
  color: #627487;
  transition: color .25s ease;
}

.contact-detail a:hover,
.detail-link {
  color: #078cf0;
}

.contact-detail .detail-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 800;
}

.contact-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 23px;
}

.contact-note span {
  margin-top: 8px;
  flex-shrink: 0;
}

.contact-note p {
  margin: 0;
  color: #627487;
  font-size: 11px;
  line-height: 1.8;
}

/* Entrance animation */
@keyframes contactIntro {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tablet */
@media (max-width: 1000px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1fr) minmax(290px, .9fr);
    gap: 22px;
  }

  .contact-information {
    padding: 23px 20px;
  }
}

/* Mobile */
@media (max-width: 760px) {
  .contact-page {
    padding-top: 76px;
  }

  .contact-hero {
    min-height: 245px;
    padding: 45px 6%;
  }

  .contact-hero-label {
    right: 6%;
    bottom: 17px;
    font-size: 8px;
  }

  .contact-main {
    padding-top: 42px;
    padding-bottom: 55px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .contact-map,
  .contact-map iframe {
    min-height: 330px;
    height: 330px;
  }

  .contact-information {
    padding: 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-hero-content {
    animation: none;
  }
}

.contact-map {
  position: relative;
  width: 100%;
  height: 450px;
  min-height: 450px;
  overflow: hidden;
  background: #eaf1f7;
  border: 1px solid #d5e3f0;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-directions {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 10px 14px;
  color: #007fbf;
  background: #fff;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.map-directions:hover {
  background: #00aeef;
  color: #fff;
}

/* Contact page: map/details on left, form on right */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 30px;
  align-items: start;
}

.contact-left-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.contact-map {
  position: relative;
  width: 100%;
  height: 350px;
  min-height: 350px;
  overflow: hidden;
  background: #eaf1f7;
  border: 1px solid #d5e3f0;
  box-shadow: 0 12px 30px rgba(4, 24, 42, 0.07);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: none;
}

.map-directions {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 10px 14px;
  color: #007fbf;
  background: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.map-directions:hover {
  color: #fff;
  background: #00aeef;
}

/* Company information panel */

.contact-information {
  padding: 26px;
  background: #fff;
  border: 1px solid #e0eaf2;
  border-top: 2px solid #00aeef;
  box-shadow: 0 12px 30px rgba(4, 24, 42, 0.05);
}

/* Enquiry form card */

.contact-form-card {
  min-width: 0;
  padding: 30px;
  background: #fff;
  border: 1px solid #dce6ef;
  border-top: 2px solid #00aeef;
  box-shadow: 0 12px 35px rgba(4, 24, 42, 0.07);
}

.contact-form-card > .info-label {
  margin: 0 0 10px;
}

.contact-form-card h3 {
  margin: 0 0 10px;
  color: #071d30;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.4;
}

.form-description {
  margin: 0 0 25px;
  color: #627487;
  font-size: 13px;
  line-height: 1.8;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.form-field label {
  color: #243d52;
  font-size: 12px;
  font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 13px 14px;
  color: #071d30;
  background: #fff;
  border: 1px solid #d4dee8;
  border-radius: 7px;
  outline: none;
  font-family: inherit;
  font-size: 13px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input,
.form-field select {
  min-height: 47px;
}

.form-field textarea {
  min-height: 125px;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #8999a8;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: #00aeef;
  box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.12);
}

.contact-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 5px 0 22px;
  color: #52677a;
  font-size: 12px;
  line-height: 1.7;
}

.contact-consent input {
  flex-shrink: 0;
  margin-top: 3px;
  accent-color: #008fd0;
}

.contact-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
  min-height: 49px;
  padding: 13px 20px;
  color: #fff;
  background: #008fd0;
  border: 0;
  border-radius: 5px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.contact-submit:hover {
  background: #006fae;
  transform: translateY(-1px);
}

.form-note {
  margin: 15px 0 0;
  color: #8292a1;
  font-size: 11px;
  line-height: 1.7;
}

/* Tablet */

@media (max-width: 1000px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
  }

  .contact-form-card {
    padding: 24px 20px;
  }

  .contact-information {
    padding: 22px 20px;
  }
}

/* Mobile */

@media (max-width: 760px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 25px;
  }

  .contact-map {
    height: 320px;
    min-height: 320px;
  }

  .contact-form-card {
    padding: 24px 20px;
  }

  .contact-form-card h3 {
    font-size: 22px;
  }
}

@media (max-width: 400px) {
  .contact-form-card,
  .contact-information {
    padding: 20px 15px;
  }
}
