/* Contact page ONLY (scoped) */
body.contact-page .wrap { max-width: 1100px; margin: 0 auto; padding: 26px 18px 50px; }

body.contact-page .cardx{
  border-radius: 18px;
  padding: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 12px 28px rgba(0,0,0,.28);
  backdrop-filter: blur(10px);
}

body.contact-page .title{ margin:0; font-size: clamp(26px, 3vw, 40px); font-weight: 800; }
body.contact-page .sub{ margin: 6px 0 0; color: rgba(255,255,255,.75); }

body.contact-page .grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}
@media (max-width: 900px){
  body.contact-page .grid{ grid-template-columns: 1fr; }
}

body.contact-page .mini{ font-size: 13px; color: rgba(255,255,255,.7); margin-bottom: 10px; }

body.contact-page .info{ display:grid; gap: 10px; margin-top: 12px; }
body.contact-page .row{
  display:flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
}
body.contact-page .row span{ color: rgba(255,255,255,.7); }
body.contact-page .info a{ color:#fff; text-decoration: underline; }

/* IMPORTANT: scope form styles so header search doesn't change */
body.contact-page #supportForm label{ display:block; margin: 10px 0 6px; font-weight: 600; }

body.contact-page #supportForm input,
body.contact-page #supportForm textarea,
body.contact-page #supportForm select{
  width:100%;
  border-radius: 14px;
  padding: 12px 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(10,16,30,.45);
  color: #fff;
  outline: none;
  box-sizing: border-box;
}

body.contact-page #supportForm textarea{ min-height: 120px; resize: vertical; }

body.contact-page .actions{ display:flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }

body.contact-page .contact-btn{
  border-radius: 14px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color:#fff;
  cursor:pointer;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

body.contact-page .contact-btn.primary{
  background: linear-gradient(180deg, rgba(97,154,255,.95), rgba(59,115,255,.85));
  border-color: rgba(120,170,255,.45);
  font-weight: 700;
}

body.contact-page .ok{ display:none; margin-top:10px; font-size: 13px; color: rgba(140,255,190,.85); }


/* === CONTACT PAGE: remove extra gap above footer + match homepage footer height === */

/* Remove extra space BEFORE footer (this is the real issue) */
body.contact-page main,
body.contact-page .wrap,
body.contact-page .wrap.container,
body.contact-page .grid,
body.contact-page .cardx {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* If the last section still adds spacing, force it */
body.contact-page main > *:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Footer height (compact like homepage) */
body.contact-page .footer-inner {
  padding: 20px 0 !important;   /* reduce top/bottom */
}

body.contact-page .footer-bottom {
  padding: 10px 0 !important;   /* bottom row smaller */
}

/* CONTACT PAGE: keep footer columns in one row (desktop) */
body.contact-page .footer-inner{
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  flex-wrap: nowrap !important;   /* this forces one line */
  gap: 50px !important;
}

body.contact-page .footer-col{
  flex: 1 1 0 !important;
  min-width: 0 !important;        /* prevents pushing to next line */
}

/* keep long email/phone from breaking layout */
body.contact-page .footer-col a{
  word-break: break-word;
}

/* on mobile, allow wrapping (otherwise it will overflow) */
@media (max-width: 900px){
  body.contact-page .footer-inner{
    flex-wrap: wrap !important;
  }
  body.contact-page .footer-col{
    flex: 1 1 220px !important;
  }
}

/* ================= CONTACT PAGE: PROFESSIONAL LAYOUT ================= */

/* Two main boxes layout */
body.contact-page .grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 28px !important;
    align-items: start !important;
}

@media (max-width: 900px) {
    body.contact-page .grid {
        grid-template-columns: 1fr !important;
    }
}

/* Clean card style */
body.contact-page .card {
    background: rgba(10,16,30,.55) !important;
    border: 1px solid rgba(255,255,255,.10) !important;
    border-radius: 20px !important;
    padding: 24px !important;
    backdrop-filter: blur(10px);
}

/* Contact info rows */
body.contact-page .row {
    display: grid !important;
    grid-template-columns: 140px 1fr !important;
    gap: 14px !important;
    align-items: center !important;
    padding: 12px 16px !important;
    margin: 10px 0 !important;
    border-radius: 14px !important;
    background: rgba(255,255,255,.04) !important;
    border: 1px solid rgba(255,255,255,.10) !important;
}

/* Form styling */
body.contact-page #supportForm label {
    display: block;
    margin: 12px 0 6px !important;
    opacity: .9;
}

body.contact-page #supportForm input,
body.contact-page #supportForm textarea,
body.contact-page #supportForm select {
    width: 100%;
    padding: 14px !important;
    border-radius: 14px !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    background: rgba(255,255,255,.04) !important;
    color: #fff !important;
}

/* Button */
body.contact-page .contact-btn-primary {
    padding: 12px 20px !important;
    border-radius: 14px !important;
}

/* ================= CONTACT PAGE: FOOTER MATCH HOMEPAGE ================= */

/* Remove extra space above footer */
body.contact-page main,
body.contact-page .grid {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Make footer height same as homepage */
body.contact-page footer .footer-inner {
    padding: 22px 0 !important;
}

body.contact-page footer .footer-bottom {
    padding: 12px 0 !important;
}

/* Align footer columns in one line */
body.contact-page footer .footer-inner {
    display: grid !important;
    grid-template-columns: 2fr 1fr 1fr 1.6fr !important;
    gap: 40px !important;
    align-items: start !important;
}

@media (max-width: 900px) {
    body.contact-page footer .footer-inner {
        grid-template-columns: 1fr 1fr !important;
        gap: 22px !important;
    }
}

@media (max-width: 520px) {
    body.contact-page footer .footer-inner {
        grid-template-columns: 1fr !important;
    }
}
/* ===== CONTACT PAGE: FINAL POLISH ===== */

/* Make contact info rows perfectly aligned */
body.contact-page .row{
  min-height: 68px !important;
  align-items: center !important;
}
body.contact-page .row strong{
  margin: 0 !important;
  line-height: 1.2 !important;
}
body.contact-page .row span,
body.contact-page .row a{
  line-height: 1.2 !important;
  text-decoration: none !important;
}

/* Better spacing on the form side */
body.contact-page #supportForm{
  margin-top: 6px !important;
}
body.contact-page #supportForm textarea{
  min-height: 160px !important;
  resize: vertical !important;
}

/* Keep the Send button visible and nicely spaced */
body.contact-page .actions{
  margin-top: 14px !important;
  padding-bottom: 6px !important;
}

}
/* ===== CONTACT HERO (POLISHED) ===== */
body.contact-page .contact-hero{
  position: relative;
  min-height: clamp(320px, 42vh, 520px);
  padding: 56px 0;
/* FORCE cards to be BELOW hero (no overlay) */
body.contact-page .contact-hero{
  margin-bottom: 0 !important;
}

body.contact-page .grid{
  position: relative !important;
  margin-top: 24px !important;
  transform: none !important;
  top: auto !important;
  z-index: 2 !important;
}

  display: flex;
  align-items: center;
  overflow: hidden;
}

/* background image */
body.contact-page .contact-hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background: url("/assets/contact-hero.png.jpg") center/cover no-repeat;
  transform: scale(1.02);
  z-index: 0;
}

/* dark overlay for readability */
body.contact-page .contact-hero::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(6,12,30,0.78) 0%,
    rgba(6,12,30,0.55) 45%,
    rgba(6,12,30,0.30) 100%);
  z-index: 1;
}

/* keep text above layers */
body.contact-page .contact-hero .wrap{
  position: relative;
  z-index: 2;
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* heading size */
body.contact-page .contact-hero h1{
  margin: 0 0 10px 0;
  font-size: clamp(34px, 3.4vw, 54px);
  line-height: 1.1;
}

/* subheading */
body.contact-page .contact-hero p{
  margin: 0;
  font-size: clamp(15px, 1.2vw, 18px);
  opacity: .9;
  max-width: 62ch;
}

/* =========================================================
   CONTACT PAGE: PRO layout
   Hero image stays on TOP
   Cards section starts BELOW hero on solid background
   ========================================================= */

/* HERO: image only for the top section */
body.contact-page .contact-hero{
  position: relative;
  min-height: clamp(320px, 42vh, 520px);
  padding: 70px 0 55px;
  overflow: hidden;
}

/* Background image layer */
body.contact-page .contact-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background: url("/assets/contact-hero.png.jpg") center/cover no-repeat;
  transform: scale(1.02);
  z-index:0;
}

/* Dark overlay for text readability */
body.contact-page .contact-hero::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    90deg,
    rgba(6,12,30,.85) 0%,
    rgba(6,12,30,.55) 45%,
    rgba(6,12,30,.30) 100%
  );
  z-index:1;
}

/* Keep hero text above layers */
body.contact-page .contact-hero .wrap{
  position: relative;
  z-index: 2;
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* Cards section: separate background BELOW hero */
body.contact-page main.wrap{
  background: linear-gradient(180deg, rgba(6,12,30,1) 0%, rgba(6,12,30,.92) 100%);
  padding-top: 26px;
  padding-bottom: 50px;
}

/* IMPORTANT: force grid to be BELOW hero (no overlay tricks) */
body.contact-page .grid{
  position: relative !important;
  top: auto !important;
  transform: none !important;
  margin-top: 22px !important;
  z-index: 3 !important;
}

/* Make cards look clean (less “image showing through”) */
body.contact-page .card{
  background: rgba(10,16,30,.82) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  backdrop-filter: blur(10px);
}

