/* IMPORTANT: default body margin remove */
html, body{
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

:root{
  --topbar-h: 45px;
  --header-h: 80px;
  --header-offset: calc(var(--topbar-h) + var(--header-h));
}

body{
  padding-top: var(--header-offset);
}

/* PAGE HERO */
.contact-hero{
  position: relative;
  width: 100%;
  height: 40vh;
  min-height: 260px;

  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  overflow: hidden;
  margin-bottom: 20px;
  background-image: var(--contact-hero-img);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.contact-hero__overlay{
  /* position: absolute; */
  inset: 0;
  background: rgba(10, 20, 30, 0.55);
  z-index: 1;
}

.contact-hero__content{
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  padding: clamp(16px, 2.5vw, 32px) 16px;
  margin-left: 0;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.contact-hero__title{
  margin: 0;
  color: #fff;
  font-weight: 800;
  letter-spacing: .5px;
  line-height: 1.1;
  font-size: clamp(30px, 4.2vw, 64px);
  text-align: left;
  padding-left: 70px;
}

.contact-hero__crumbs{
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;

  color: rgba(255,255,255,.85);
  font-size: clamp(13px, 1.6vw, 16px);
  margin: 0;
  padding-left: 90px;
}

.contact-hero__link{
  color: rgba(255,255,255,.92);
  text-decoration: none;
}
.contact-hero__link:hover{ text-decoration: underline; }

.contact-hero__sep{
  color: rgba(255,255,255,.65);
  font-size: 18px;
  line-height: 1;
}

.contact-hero__current{
  color: #ff7a00;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.contact-hero__current:hover{ text-decoration: underline; }

/* ✅ Tablet - CENTER TEXT */
@media (max-width: 768px){
  :root{
    --topbar-h: 0px;
    --header-h: 60px;
    --header-offset: calc(var(--topbar-h) + var(--header-h));
  }

  body{
    padding-top: var(--header-offset);
  }

  .contact-hero{ 
    min-height: 240px;
    margin-top: 0;
    justify-content: center; /* ✅ Center alignment */
  }
  
  .contact-hero__content{
    margin-left: auto; /* ✅ Center horizontally */
    margin-right: auto; /* ✅ Center horizontally */
    align-items: center; /* ✅ Center items */
  }
  
  .contact-hero__title{ 
    font-size: 44px;
    text-align: center; /* ✅ Center text */
    padding-left: 0; /* ✅ Remove left padding */
  }
  
  .contact-hero__crumbs{
    padding-left: 0; /* ✅ Remove left padding */
    justify-content: center; /* ✅ Center breadcrumbs */
  }
}

/* ✅ Mobile */
@media (max-width: 520px){
  .contact-hero{ 
    min-height: 200px;
    margin-top: 0;
    justify-content: center;
  }
  
  .contact-hero__content{
    margin-left: auto;
    margin-right: auto;
    align-items: center;
  }
  
  .contact-hero__title{ 
    font-size: 34px;
    text-align: center;
    padding-left: 0;
  }
  
  .contact-hero__crumbs{ 
    gap: 8px;
    padding-left: 0;
    justify-content: center;
  }
}
/* section 1 css */
.contact-section-1{


  background: linear-gradient(90deg,
    #0B6BFF 0%,
    #138DFF 35%,
    #1BB7B0 100%);
}

.contact-section-1__wrap{
  width: min(1180px, 100%);
  margin: 0 auto;

  /* extra inner padding (all sides) */
  padding: clamp(14px, 2vw, 24px);

  /* optional: makes padding feel like screenshot 2 */
  border-radius: 22px;
}

/* rest same */
.contact-section-1__head h2{
  margin: 0 0 6px;
  color: #111827;
  font-weight: 800;
  font-size: clamp(22px, 2.6vw, 40px);
}

.contact-section-1__head p{
  margin: 0 0 18px;
  color: #111827;
  font-size: clamp(13px, 1.4vw, 16px);
}

.contact-section-1__grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.8vw, 22px);
}

.contact-section-1__card{
  text-decoration: none;
  color: #fff;
  border-radius: 18px;
  padding: clamp(18px, 2.2vw, 26px);
  min-height: 160px;

  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 16px 45px rgba(0,0,0,.12);
  backdrop-filter: blur(10px);

  display: grid;
  place-items: center;
  text-align: center;

  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}

.contact-section-1__card:hover{
  transform: translateY(-4px);
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.34);
}

.contact-section-1__icon{
  width: 62px;
  height: 62px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  margin-bottom: 10px;
}

.contact-section-1__icon svg{ color:#fff; }

.contact-section-1__card h3{
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
}

.contact-section-1__card span{
  font-size: 15px;
  color: rgba(255,255,255,.85);
}

/* responsive */
@media (max-width: 1024px){
  
  .contact-section-1__grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px){
  .contact-section-1__card{ min-height: 150px; border-radius: 16px; }
  .contact-section-1__card h3{ font-size: 20px; }
}
@media (max-width: 520px){
  .contact-section-1__grid{ grid-template-columns: 1fr; }
  .contact-section-1__card{ min-height: 140px; }
}

/* section 2 css */
.contact-section-2{
  padding: clamp(28px, 4vw, 56px) clamp(16px, 3vw, 40px);
  background: #f6f8fc;
}

.contact-section-2__wrap{
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 15px; /* ✅ Bootstrap compatible padding */
}

.contact-section-2__head h2{
  margin: 0 0 6px;
  font-size: clamp(22px, 2.8vw, 40px);
  font-weight: 800;
  color: #0f172a;
}

.contact-section-2__head p{
  margin: 0 0 18px;
  color: #475569;
  font-size: clamp(13px, 1.6vw, 16px);
}

/* ✅ Bootstrap grid already handles columns, no need for custom grid */
/* .contact-section-2__grid{ */
  /* Bootstrap row handles layout */
/* } */

/* LEFT image card */
.contact-section-2__imageCard{
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  min-height: 460px; /* ✅ Fixed height for all screens */
  height: 100%; /* ✅ Fill parent */
  box-shadow: 0 18px 55px rgba(15, 23, 42, .10);
}

.contact-section-2__imageOverlay{
  /* position: absolute; */
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(2,6,23,.10) 0%,
    rgba(2,6,23,.60) 65%,
    rgba(2,6,23,.85) 100%
  );
}

.contact-section-2__imageContent{
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(16px, 2vw, 28px);
  z-index: 2;
  padding: clamp(16px, 2.2vw, 24px);
  text-align: center;
  color: #fff;
}

.contact-section-2__phoneIcon{
  width: clamp(48px, 5vw, 60px);
  height: clamp(48px, 5vw, 60px);
  margin: 0 auto 10px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.22);
  font-size: 22px;
}

.contact-section-2__imageContent h3{
  margin: 0 0 6px;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 900;
}

.contact-section-2__phone{
  display: inline-block;
  margin-top: 4px;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 900;
  color: #ffd400;
  text-decoration: none;
}

/* RIGHT form card */
.contact-section-2__formCard{
  background: #fff;
  border-radius: 22px;
  padding: clamp(18px, 2.4vw, 28px);
  box-shadow: 0 18px 55px rgba(15, 23, 42, .10);
  height: 100%; /* ✅ Fill parent */
}

.contact-section-2__form{
  display: grid;
  gap: 14px;
}

.contact-section-2__row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-section-2__field label{
  display: block;
  margin: 0 0 8px;
  font-weight: 700;
  color: #0f172a;
  font-size: 14px;
}

.contact-section-2__field label span{ color: #ef4444; }

.contact-section-2__field input,
.contact-section-2__field select,
.contact-section-2__field textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid #dbe3ee;
  background: #fff;
  outline: none;
  font-size: 14px;
}

.contact-section-2__field textarea{
  resize: vertical;
  min-height: 120px;
}

.contact-section-2__btn{
  margin-top: 6px;
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  background: #0dcaf0;
  color: #111827;
  box-shadow: 0 12px 30px rgba(255, 212, 0, .35);
  transition: transform .18s ease;
}

.contact-section-2__btn:hover{ transform: translateY(-1px); }

.contact-section-2__success{
  display:none;
  margin:10px 0 0;
  padding:12px 14px;
  border-radius:12px;
  font-weight:800;
  font-size:14px;
  background:#dcfce7;
  color:#166534;
  border:1px solid #86efac;
}
.contact-section-2__success.is-show{ display:block; }

/* ✅ Laptop <=1024px - Bootstrap handles columns */
@media (max-width: 1024px){
  .contact-section-2{
    padding: 48px 24px;
  }
}

/* ✅ Tablet <=768px - Bootstrap col-md handles 2 columns */
@media (max-width: 768px){
  .contact-section-2{
    padding: 42px 18px;
  }
  
  .contact-section-2__imageCard{
    min-height: 380px; /* ✅ Smaller on tablet */
  }
  
  .contact-section-2__row{
    grid-template-columns: 1fr; /* ✅ Stack inputs */
  }
}

/* ✅ Mobile <=576px - Bootstrap col-12 handles 1 column */
@media (max-width: 576px){
  .contact-section-2{
    padding: 34px 14px;
  }
  
  .contact-section-2__imageCard{
    min-height: 280px; /* ✅ Smaller on mobile */
    border-radius: 18px;
  }
  
  .contact-section-2__formCard{
    padding: 16px;
    border-radius: 18px;
  }
  
  .contact-section-2__btn{
    padding: 13px 14px;
    font-size: 15px;
  }
}

/* Map Section */
/* ===== Contact Map Section ===== */
.contact-map-section{
  width: 100%;
  padding: 26px 0;
}

/* container spacing (left-right margin feel) */
.contact-map-section{
  padding-left: 16px;
  padding-right: 16px;
}
@media (min-width: 1024px){
  .contact-map-section{
    padding-left: 40px;
    padding-right: 40px;
  }
}

.contact-map-inner{
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(17,24,39,.06), rgba(59,130,246,.06));
  border: 1px solid rgba(17,24,39,.08);

  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

/* Left */
.contact-map-content{ min-width: 0; }

.contact-map-title{
  margin: 0 0 10px 0;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.3px;
  color: #111827;
}

.contact-map-text{
  margin: 0 0 16px 0;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(17,24,39,.78);
  max-width: 60ch;
}

/* Cards */
.contact-map-cards{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 14px 0 16px;
}

.contact-map-card{
  padding: 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(17,24,39,.08);
}

.contact-map-card-title{
  margin: 0 0 8px 0;
  font-size: 14px;
  letter-spacing: .2px;
  color: rgba(17,24,39,.9);
}

.contact-map-card-text{
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(17,24,39,.75);
}

.contact-map-link{
  color: rgba(17,24,39,.9);
  text-decoration: none;
  border-bottom: 1px solid rgba(17,24,39,.25);
}
.contact-map-link:hover{
  border-bottom-color: rgba(17,24,39,.55);
}

/* Buttons */
.contact-map-actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.contact-map-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 600;
  border-radius: 12px;
  padding: 14px 18px;
  min-height: 48px;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  outline: none;
  white-space: nowrap;
}

.contact-map-btn-primary{
  background: #111827;
  color: #fff;
  box-shadow: 0 10px 24px rgba(17,24,39,.18);
}
.contact-map-btn-primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(17,24,39,.24);
}
.contact-map-btn-primary:active{ transform: translateY(0); }

.contact-map-btn-secondary{
  background: transparent;
  color: #111827;
  border-color: rgba(17,24,39,.22);
}
.contact-map-btn-secondary:hover{
  background: rgba(17,24,39,.06);
  transform: translateY(-1px);
}
.contact-map-btn-secondary:active{ transform: translateY(0); }

.contact-map-btn:focus-visible{
  box-shadow: 0 0 0 3px rgba(59,130,246,.35);
}

/* Map */
.contact-map-frame-wrap{
  min-width: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(17,24,39,.10);
  background: rgba(255,255,255,.65);
}

.contact-map-frame{
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  display: block;
}

/* Responsive */
@media (max-width: 900px){
  .contact-map-inner{
    grid-template-columns: 1fr;
  }
  .contact-map-title{ font-size: 24px; }
  .contact-map-frame{ min-height: 320px; }
}

@media (max-width: 640px){
  .contact-map-section{ padding-top: 18px; padding-bottom: 18px; }
  .contact-map-inner{
    padding: 18px;
    border-radius: 16px;
  }
  .contact-map-btn{
    width: 100%;
    white-space: normal;
  }
  .contact-map-frame{ min-height: 280px; }
}
