
.about-hero,
.contact-hero {
  position: relative;
  overflow: hidden;
  min-height: 72vh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 15% 20%, #1b4265 0, transparent 35%),
    radial-gradient(circle at 85% 70%, #164b48 0, transparent 35%),
    #071625;
  color: #fff;
  text-align: center;
  padding: 8rem 6vw 6rem;
}

.about-hero:before,
.contact-hero:before {
  content: "";
  position: absolute;
  inset: -30%;
  background: linear-gradient(
    120deg,
    transparent 35%,
    rgba(90, 220, 190, 0.12),
    transparent 65%
  );
  animation: gm-sweep 12s linear infinite;
}

.about-hero h1,
.contact-hero h1 {
  font-size: clamp(3.4rem, 8vw, 8rem);
  line-height: 0.95;
  max-width: 1000px;
  text-align: center;
  margin-inline: auto;
  position: relative;
  letter-spacing: -0.06em;
}

.about-hero p,
.contact-hero p {
  max-width: 760px;
  margin: 2rem auto 0;
  color: #c8d8e5;
  font-size: 1.15rem;
  position: relative;
}

.gm-section {
  padding: 7rem 6vw;
  position: relative;
  overflow: hidden;
}

.gm-section.alt {
  background: #f3f7f8;
}

.gm-section.dark {
  background: #071625;
  color: #fff;
}

.gm-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
}

.gm-copy {
  max-width: 760px;
  margin: auto;
}

.gm-copy h2 {
  font-size: clamp(2.2rem, 4vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}

.gm-copy p {
  font-size: 1.08rem;
  line-height: 1.8;
  color: inherit;
  opacity: 0.82;
}

.gm-card {
  padding: 2rem;
  border: 1px solid rgba(24, 55, 75, 0.15);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  transition: transform 0.35s, box-shadow 0.35s;
}

.dark .gm-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.13);
}

.gm-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.12);
}

.gm-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.7rem;
}

.gm-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1200px;
  margin: 3rem auto 0;
}

.gm-pill {
  padding: 1.3rem;
  border-radius: 18px;
  background: linear-gradient(135deg, #e4f7f1, #fff);
  color: #092437;
  font-weight: 700;
}

.gm-contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: auto;
}

.gm-contact-info {
  display: grid;
  gap: 1rem;
}

.gm-contact-item {
  padding: 1.4rem 1.6rem;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #dbe7eb;
}

.gm-contact-item strong {
  display: block;
  margin-bottom: 0.35rem;
}

.gm-form {
  display: grid;
  gap: 1rem;
  background: #fff;
  padding: 2rem;
  border-radius: 28px;
  box-shadow: 0 20px 70px rgba(5, 35, 55, 0.12);
}

.gm-form label {
  font-weight: 700;
  font-size: 0.9rem;
}

.gm-form input,
.gm-form select,
.gm-form textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #cbdbe2;
  border-radius: 12px;
  font: inherit;
}

.gm-form .two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.gm-form button {
  padding: 1rem 1.4rem;
  border: 0;
  border-radius: 999px;
  background: #08283d;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 0.25s ease,
              transform 0.25s ease,
              box-shadow 0.25s ease;
}

.gm-form button:hover {
  background: #19bb75;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(25, 187, 117, 0.25);
}

.gm-form button:active {
  transform: translateY(0);
}

.gm-note {
  font-size: 0.85rem;
  color: #607581;
}

.gm-map {
  min-height: 330px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, #d9eceb, #f8fbfb);
  display: grid;
  place-items: center;
  color: #234;
}

.gm-map a {
  font-weight: 800;
}

@keyframes gm-sweep {
  to {
    transform: translateX(30%) rotate(8deg);
  }
}

@media (max-width: 800px) {
  .gm-grid,
  .gm-contact-grid {
    grid-template-columns: 1fr;
  }

  .gm-values {
    grid-template-columns: 1fr 1fr;
  }

  .gm-form .two {
    grid-template-columns: 1fr;
  }

  .about-hero,
  .contact-hero {
    min-height: 62vh;
    padding-top: 7rem;
  }

  .gm-section {
    padding: 4.5rem 5vw;
  }
}

@media (max-width: 480px) {
  .gm-values {
    grid-template-columns: 1fr;
  }
}

/* Contact page refinements */

.contact-intro {
  max-width: 560px;
  font-size: 1.08rem;
  line-height: 1.8;
  color: #526b78;
  margin: 0 0 2rem;
}

.gm-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #08283d;
  color: #fff;
  font-size: 1.25rem;
}

.gm-contact-item > div {
  min-width: 0;
}

.gm-contact-item a {
  color: #0a5878;
  font-weight: 700;
  text-decoration: none;
}

.gm-contact-item small {
  display: block;
  margin-top: 0.35rem;
  color: #637985;
  line-height: 1.5;
}

.gm-map {
  display: block;
  min-height: 520px;
  border: 1px solid #dbe7eb;
  background: #d9eceb;
}

.gm-map iframe {
  display: block;
  width: 100%;
  height: 520px;
  border: 0;
  filter: saturate(0.95) contrast(1.02);
}

@media (max-width: 800px) {
  .gm-map,
  .gm-map iframe {
    min-height: 360px;
    height: 360px;
  }
}

/* Final contact page refinements */

.contact-icon svg {
  width: 23px;
  height: 23px;
  display: block;
}

.contact-icon.whatsapp-icon {
  background: #25d366;
  color: #fff;
}

.contact-icon.location-icon {
  background: #e53945;
  color: #fff;
}

.enquiry-wrap {
  max-width: 1400px;
  margin: 0 auto;
}

.enquiry-wrap .gm-copy {
  max-width: none;
  margin: 0 0 2rem;
}

.enquiry-wrap .gm-copy h2 {
  max-width: 900px;
}

.enquiry-wrap .gm-form {
  width: 100%;
  padding: clamp(2rem, 4vw, 4rem);
  gap: 1.25rem;
}

.enquiry-wrap .gm-form .two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.enquiry-wrap .gm-form input,
.enquiry-wrap .gm-form select,
.enquiry-wrap .gm-form textarea {
  padding: 1.1rem 1.2rem;
}


@media (max-width: 800px) {
  .enquiry-wrap .gm-form .two {
    grid-template-columns: 1fr;
  }
}

.gm-section .gm-copy {
  margin-left: 0;
  margin-right: 0;
  text-align: justify;
}

.gm-section .gm-copy h2 {
  text-align: left;
}

/* =========================================================
   PRIVACY POLICY CHECKBOX
   Keeps checkbox on the left and text properly aligned
   ========================================================= */

.gm-form .privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
  font-size: 13px;
  line-height: 1.55;
  color: #526477;
  cursor: pointer;
  margin-top: 2px;
}

.gm-form .privacy-check input[type="checkbox"] {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: #08283d;
  cursor: pointer;
}

.gm-form .privacy-check span {
  display: block;
  flex: 1;
}


/* FINAL MAP FIX */

.gm-map{
  display:block;
  width:100%;
  height:520px;
  min-height:0;
  padding:0;
  margin:0;
  overflow:hidden;
  border:1px solid #dbe7eb;
  border-radius:24px;
  background:#d9eceb;
  line-height:0;
}

.gm-map iframe{
  display:block;
  width:100%;
  height:100%;
  min-height:0;
  margin:0;
  padding:0;
  border:0;
}

@media(max-width:800px){
  .gm-map{
    height:360px;
    min-height:0;
  }

  .gm-map iframe{
    height:100%;
    min-height:0;
  }
}


/* Align map with the first Phone information card */

@media(min-width:801px){
  .contact-details-section .gm-contact-grid > .gm-map{
    margin-top:5.6rem;
  }
}

@media(max-width:800px){
  .contact-details-section .gm-contact-grid > .gm-map{
    margin-top:1rem;
  }
}


