
:root {
  --consera-navy: #123563;
  --consera-blue: #0875bc;
  --consera-yellow: #ffd668;
  --consera-light: #eff9fd;
  --consera-text: #62758c;
}

.contact-page {
  overflow: clip;
  color: var(--consera-navy);
  font-family: Inter, Arial, sans-serif;
}

.contact-page *,
.contact-page *::before,
.contact-page *::after {
  box-sizing: border-box;
}

.contact-page h1,
.contact-page h2,
.contact-page h3,
.contact-page p {
  margin-top: 0;
}

.contact-page .container {
  width: min(1180px, calc(100% - 36px));
  max-width: 1180px;
}

.contact-page a {
  text-decoration: none;
}

.contact-label {
  display: inline-block;
  color: var(--consera-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 13px;
}

/* HERO */
.contact-hero {
  position: relative;
  padding: 95px 0 75px;
  background: linear-gradient(110deg, #fffaf0 0%, #fff 47%, #e7f6ff 100%);
  overflow: hidden;
}

.contact-hero .container {
  position: relative;
  z-index: 2;
}

.contact-breadcrumb {
  display: flex;
  gap: 12px;
  margin-bottom: 35px;
  font-size: 13px;
  color: #6c7c91;
}

.contact-breadcrumb a {
  color: var(--consera-blue);
}

.contact-hero h1 {
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 15px;
}

.contact-hero h1 span,
.enquiry-intro h2 span,
.office-section h2 span,
.contact-faq-section h2 span {
  color: var(--consera-blue);
}

.contact-hero h3 {
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 750;
  margin-bottom: 16px;
}

.hero-description {
  max-width: 490px;
  color: var(--consera-text);
  font-size: 15px;
  line-height: 1.9;
}

.hero-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.benefit {
  display: flex;
  align-items: center;
  gap: 10px;
}

.benefit-icon {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  flex-shrink: 0;
  border-radius: 50%;
  font-size: 21px;
  font-weight: 800;
}

.benefit-icon.yellow { background: #ffedb5; }
.benefit-icon.blue { background: #dcefff; }
.benefit-icon.pink { background: #ffe0e8; }

.benefit strong,
.benefit small {
  display: block;
}

.benefit strong {
  font-size: 12px;
  font-weight: 800;
}

.benefit small {
  font-size: 10px;
  color: #718298;
  margin-top: 4px;
}

.hero-image-wrap {
  position: relative;
  border-radius: 45% 12% 12% 35%;
  background: #d8efff;
  padding: 15px;
  animation: imageFloat 5s ease-in-out infinite;
}

.hero-equipment-image {
  width: 100%;
  height: 390px;
  object-fit: cover;
  border-radius: 38% 12% 12% 32%;
  display: block;
}

.image-badge {
  position: absolute;
  bottom: 20px;
  left: -20px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  padding: 13px 17px;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(18, 53, 99, .16);
}

.image-badge > span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff0c6;
  font-size: 20px;
}

.image-badge strong,
.image-badge small {
  display: block;
}

.image-badge strong { font-size: 12px; }
.image-badge small { font-size: 10px; color: #73849a; }

.hero-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.circle-one {
  width: 135px;
  height: 135px;
  background: #ffd668;
  top: 70px;
  left: -85px;
}

.circle-two {
  width: 85px;
  height: 85px;
  border: 2px solid #ff849d;
  top: 120px;
  left: 10px;
}

.hero-dots {
  position: absolute;
  right: 4%;
  top: 20%;
  width: 110px;
  height: 110px;
  background-image: radial-gradient(#f3c447 2px, transparent 3px);
  background-size: 20px 20px;
}

/* ENQUIRY */
.enquiry-section {
  padding: 90px 0;
  background: #fff;
}

.enquiry-intro h2 {
  font-size: clamp(28px, 3vw, 39px);
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 18px;
}

.enquiry-intro > p {
  color: var(--consera-text);
  line-height: 1.8;
  font-size: 13px;
  margin-bottom: 28px;
}

.support-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #e7edf3;
}

.support-icon {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  background: #fff0c7;
  border-radius: 50%;
  flex-shrink: 0;
  font-size: 17px;
}

.support-item:nth-of-type(2) .support-icon {
  background: #dff2ff;
}

.support-item strong,
.support-item small {
  display: block;
}

.support-item strong {
  font-size: 12px;
  font-weight: 800;
}

.support-item small {
  font-size: 11px;
  color: #74869b;
  margin-top: 5px;
  line-height: 1.5;
}

/* FORM */
.contact-form-card {
  position: relative;
  padding: 30px;
  border-radius: 19px;
  background: white;
  box-shadow: 0 15px 45px rgba(18, 53, 99, .10);
  border: 1px solid #edf2f7;
  overflow: hidden;
}

.contact-form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ffd668, #ff8199, #77b6ff);
}

.form-heading h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}

.form-heading p {
  font-size: 12px;
  color: #75869b;
  margin-bottom: 25px;
}

.contact-form-card label {
  display: block;
  font-size: 12px;
  font-weight: 750;
  margin-bottom: 8px;
}

.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea {
  display: block;
  width: 100%;
  min-width: 0;
  border: 1px solid #e2eaf2;
  border-radius: 10px;
  background: #f8fbfe;
  padding: 13px 14px;
  font-size: 13px;
  color: var(--consera-navy);
  outline: none;
  transition: border-color .25s, box-shadow .25s;
}

.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus {
  border-color: #0875bc;
  box-shadow: 0 0 0 3px rgba(8, 117, 188, .12);
}

.contact-form-card textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 14px 25px;
  background: var(--consera-navy);
  border: none;
  border-radius: 50px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .3s, background .3s;
}

.contact-submit:hover {
  transform: translateY(-3px);
  background: var(--consera-blue);
}

.contact-submit:disabled {
  opacity: .6;
  cursor: wait;
}

.contact-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  font-size: 13px;
  margin: 0;
}

.form-status.success { color: #15803d; }
.form-status.error { color: #b91c1c; }

/* CONTACT INFO */
.contact-info-card {
  background: #edf8ff;
  padding: 25px 20px;
  border-radius: 18px;
}

.contact-info-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 25px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid #d9e8f3;
}

.info-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--consera-yellow);
  font-size: 17px;
}

.contact-info-item strong,
.contact-info-item a {
  display: block;
}

.contact-info-item strong {
  font-size: 12px;
  margin-bottom: 7px;
}

.contact-info-item a,
.contact-info-item p {
  color: #506b89;
  font-size: 11px;
  line-height: 1.7;
  overflow-wrap: anywhere;
  margin: 0;
}

.contact-info-item a:hover {
  color: var(--consera-blue);
}

.contact-whatsapp {
  display: block;
  text-align: center;
  background: #13845c;
  color: white;
  border-radius: 50px;
  padding: 12px;
  margin-top: 22px;
  font-size: 12px;
  font-weight: 800;
}

.contact-whatsapp:hover { color: white; background: #0f6c4b; }

/* OFFICE */
.office-section {
  padding: 85px 0;
  background: #f7fbfe;
}

.office-map {
  height: 380px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(18, 53, 99, .09);
}

.office-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.office-section h2,
.contact-faq-section h2 {
  font-size: clamp(29px, 3vw, 41px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
}

.office-description {
  color: #6e8097;
  line-height: 1.8;
  font-size: 14px;
}

.office-address {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 24px;
  border-radius: 17px;
  background: #eaf5fd;
  margin-top: 25px;
}

.office-location-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--consera-yellow);
  flex-shrink: 0;
  font-size: 24px;
}

.office-address h3 {
  font-size: 15px;
  font-weight: 800;
}

.office-address p {
  font-size: 13px;
  line-height: 1.7;
  color: #63758d;
}

.directions-btn {
  display: inline-flex;
  padding: 11px 20px;
  border: 1px solid #98c6e8;
  border-radius: 50px;
  background: white;
  color: var(--consera-navy);
  font-size: 12px;
  font-weight: 800;
}

/* FAQ */
.contact-faq-section {
  padding: 85px 0;
  background: #eaf7ff;
}

.contact-faq-section p {
  color: #6a7e95;
  font-size: 14px;
  line-height: 1.8;
}

.contact-pill-btn {
  display: inline-block;
  padding: 13px 23px;
  border-radius: 50px;
  background: var(--consera-navy);
  color: white;
  font-size: 13px;
  font-weight: 800;
  margin-top: 10px;
}

.contact-pill-btn:hover { color: white; background: var(--consera-blue); }

.contact-accordion .accordion-item {
  border: none;
  border-radius: 13px !important;
  margin-bottom: 10px;
  overflow: hidden;
}

.contact-accordion .accordion-button {
  font-size: 13px;
  font-weight: 750;
  color: var(--consera-navy);
  background: #fff;
  box-shadow: none;
  padding: 17px 20px;
}

.contact-accordion .accordion-button:not(.collapsed) {
  background: #fff;
  color: var(--consera-blue);
}

.contact-accordion .accordion-body {
  font-size: 13px;
  color: #63758d;
  line-height: 1.8;
}

/* CTA */
.contact-cta-section {
  padding: 35px 0 75px;
  background: #fff;
}

.contact-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 42px;
  border-radius: 18px;
  background: linear-gradient(110deg, #092e5c, #0875bc);
  color: #fff;
}

.contact-cta > div > span {
  color: var(--consera-yellow);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
}

.contact-cta h2 {
  max-width: 700px;
  font-size: clamp(22px, 2.7vw, 33px);
  color: #fff;
  font-weight: 800;
  margin: 12px 0;
}

.contact-cta h2 em {
  font-style: normal;
  color: var(--consera-yellow);
}

.contact-cta p {
  color: #d5e8f7;
  font-size: 13px;
  margin-bottom: 0;
}

.contact-cta > a {
  display: inline-flex;
  flex-shrink: 0;
  padding: 14px 24px;
  background: var(--consera-yellow);
  color: var(--consera-navy);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 800;
  transition: transform .3s;
}

.contact-cta > a:hover {
  transform: translateY(-3px);
}

/* SCROLL ANIMATION */
.contact-reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity .8s ease, transform .8s ease;
}

.contact-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes imageFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .contact-hero { padding: 70px 0; }
  .hero-equipment-image { height: 350px; }
  .enquiry-section { padding: 65px 0; }
  .office-section, .contact-faq-section { padding: 65px 0; }
  .contact-cta { padding: 30px; }
}

@media (max-width: 767px) {
  .contact-hero { padding: 55px 0; }
  .contact-hero h1 { font-size: 44px; }
  .hero-benefits { gap: 15px; }
  .hero-equipment-image { height: 275px; }
  .image-badge { left: 0; }
  .contact-form-card { padding: 22px 18px; }
  .contact-info-card { padding: 25px; }
  .office-map { height: 290px; }
  .contact-cta { flex-direction: column; align-items: flex-start; }
  .contact-cta-section { padding-bottom: 55px; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-reveal { opacity: 1; transform: none; transition: none; }
  .hero-image-wrap { animation: none; }
  .contact-submit, .contact-cta > a { transition: none; }
}


/* ====================================
   CONSERA ENQUIRY POPUP
==================================== */

.enquiry-popup {
  position: fixed;
  top: 25px;
  left: 50%;
  transform: translate(-50%, -130px);

  width: calc(100% - 30px);
  max-width: 450px;

  display: flex;
  align-items: center;
  gap: 14px;

  background: #ffffff;
  padding: 18px 20px;

  border-radius: 12px;
  border-left: 5px solid #22a06b;

  box-shadow: 0 10px 35px rgba(0,0,0,0.18);

  z-index: 99999;

  opacity: 0;
  visibility: hidden;

  transition: all 0.35s ease;
}

.enquiry-popup.show {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
}

.popup-icon {
  width: 42px;
  height: 42px;

  background: #22a06b;
  color: #ffffff;

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 24px;
  font-weight: bold;
  flex-shrink: 0;
}

.popup-content {
  flex: 1;
}

.popup-content strong {
  display: block;
  color: #123563;
  font-size: 16px;
  margin-bottom: 4px;
}

.popup-content p {
  font-size: 13px;
  color: #555;
  margin: 0;
  line-height: 1.5;
}

#popupClose {
  background: none;
  border: none;
  font-size: 25px;
  color: #777;
  cursor: pointer;
}

.enquiry-popup.error {
  border-left-color: #dc3545;
}

.enquiry-popup.error .popup-icon {
  background: #dc3545;
}

@media (max-width: 576px) {
  .enquiry-popup {
    top: 15px;
    padding: 14px;
  }
}



/* =========================================
   CONSERA CONTACT FORM POPUP
========================================= */

#enquiryPopup {
  position: fixed;
  top: 25px;
  left: 50%;
  transform: translate(-50%, -130px);

  width: calc(100% - 30px);
  max-width: 450px;
  box-sizing: border-box;

  display: flex;
  align-items: center;
  gap: 14px;

  padding: 18px 20px;
  background: #ffffff;

  border-radius: 12px;
  border-left: 5px solid #22a06b;

  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.18);

  z-index: 99999;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    visibility 0.35s ease;
}

#enquiryPopup.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

#enquiryPopup .popup-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: #22a06b;
  color: #ffffff;

  font-size: 24px;
  font-weight: 700;
}

#enquiryPopup .popup-content {
  flex: 1;
  min-width: 0;
}

#enquiryPopup .popup-title {
  display: block;
  margin-bottom: 4px;

  font-size: 16px;
  font-weight: 700;
  color: #123563;
}

#enquiryPopup .popup-message {
  margin: 0;
  color: #555555;
  font-size: 13px;
  line-height: 1.5;
}

#enquiryPopup .popup-close {
  border: none;
  background: transparent;
  color: #777777;

  font-size: 25px;
  cursor: pointer;
}

#enquiryPopup.error {
  border-left-color: #dc3545;
}

#enquiryPopup.error .popup-icon {
  background: #dc3545;
}

@media (max-width: 576px) {
  #enquiryPopup {
    top: 15px;
    padding: 14px;
    gap: 10px;
  }
}
