
/* ================= Contact Us Banner ================= */
.contact-section1{
  min-height: 40vh;
  position: relative;
  display: flex;
  margin-top: 25px;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
   box-shadow: 0 18px 60px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.04);
}

/* background image with overlay */
.contact-section1::before{
  content:"";
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.45)),
    url('Images/image/compressjpgFluted-1-scaled-1.jpg') center/cover no-repeat;
  z-index:-1;
  opacity:.65; /* reduce opacity for text clarity */
   box-shadow: 0 18px 60px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.04);
}

.contact-section1 .inner{
  max-width: 800px;
  padding: 0 20px;
}

.contact-section1 h1{
  font-size: clamp(2rem, 6vw, 3.5rem);
  margin-bottom: .6rem;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
}

.contact-section1 p{
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: #f2f2f2;
  text-shadow: 0 1px 6px rgba(0,0,0,.55);
}


/* ////////////////////////////////////////////////////////////////////////////////////////////////////////////// */
/* /////////////////////////// contact us section 2 /////////////////////// */
/* ================= Contact Info Cards ================= */
.contact-section2{
  background:#fff;
  padding: clamp(40px, 6vw, 80px) 20px;
}

.cinfo-wrap{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.cinfo-card{
  background:#fff;
  border:1px solid #f0f0f0;
  border-radius:12px;
  padding: 32px 20px;
  text-align:center;
  box-shadow:0 6px 16px rgba(0,0,0,.08);
  transition: all .35s ease;
  cursor: pointer;
}
.cinfo-card:hover{
  transform: translateY(-6px);
  box-shadow:0 14px 28px rgba(0,0,0,.15);
  border-color: #474747;
}

.cinfo-icon{
  width:70px; height:70px;
  margin:0 auto 16px;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:28px;
  color:#fff;
  background: linear-gradient(135deg, #dddddd, #696969, #000000);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  transition: transform .35s ease;
}
.cinfo-card:hover .cinfo-icon{
  transform: scale(1.15) rotate(8deg);
}

.cinfo-card h3{
  margin-bottom: .4rem;
  font-size: 1.2rem;
  color:#111;
}

.cinfo-card p{
  color:#000000;
  font-size: 1rem;
}
.cinfo-card a{
  color:#000000;
  text-decoration:none;
  font-weight:500;
}



/* /////////////////////////////////////////////////////////////////////////////////////////////////////////////////// */
/* /////////////////////////// section 3 ///////////////////////////// */
/* ================= Enquiry Section ================= */
.contact-section3{
  background:#fff;
  padding: clamp(50px, 6vw, 90px) 20px;
}

.cform-wrap{
  display:grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}
@media(min-width: 900px){
  .cform-wrap{ grid-template-columns: 1fr 1fr; align-items: stretch; }
}

/* ==== Left Form ==== */
.cform-left{
  background:#fff;
  border:1px solid #eee;
  border-radius:12px;
  padding: 30px;
  box-shadow:0 6px 18px rgba(0,0,0,.08);
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.cform-left h2{
  margin-bottom: 20px;
  font-size: 1.6rem;
  color:#111;
}
.cform-group{
  position:relative;
  margin-bottom: 16px;
}
.cform-icon{
  position:absolute;
  top:50%; left:12px;
  transform:translateY(-50%);
  color:#000000;
  font-size: 1rem;
}
.cform-group input,
.cform-group textarea{
  width:100%; padding: 14px 14px 14px 42px;
  border:1px solid #ddd;
  border-radius:8px;
  font-size: 1rem;
  font-family: inherit;
  transition:border .3s ease, box-shadow .3s ease;
}
.cform-group textarea{ resize: none; }
.cform-group input:focus,
.cform-group textarea:focus{
  border-color:#585858;
  box-shadow:0 0 6px rgba(230,184,0,.45);
  outline:none;
}
.cform-btn{
  background: linear-gradient(135deg, #cecece, #6d6d6d, #000000);
  border:none;
  color:#111;
  font-weight:600;
  padding: 14px 28px;
  border-radius:8px;
  cursor:pointer;
  transition: transform .3s ease, box-shadow .3s ease;
  display:inline-flex; align-items:center; gap:8px;
}
.cform-btn:hover{
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

/* ==== Right Image ==== */
.cform-right img{
  width:100%; height:100%;
  object-fit:cover;
  border-radius:12px;
  box-shadow:0 6px 18px rgba(0,0,0,.08);
}

/* --- FIX: keep all form elements inside the card --- */
.contact-section3 *, 
.contact-section3 *::before, 
.contact-section3 *::after{
  box-sizing: border-box;           /* essential */
}

.cform-left{
  overflow: hidden;                  /* hide any accidental bleed */
}

.cform{ width: 100%; }

.cform-group{
  position: relative;
  margin-bottom: 16px;
  width: 100%;
}

.cform-group input,
.cform-group textarea{
  display: block;
  width: 100%;
  max-width: 100%;                   /* never exceed parent */
  padding: 14px 14px 14px 42px;      /* space for the icon */
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
}

/* keep the submit button inside too */
.cform-btn{
  display: inline-flex;
  max-width: 100%;
}

/* make the right image match the form height neatly */
@media (min-width: 900px){
  .cform-wrap{ align-items: stretch; }   /* columns same height */
  .cform-right{ display: flex; }         /* allows next line to work cross-browser */
  .cform-right img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
  }
}

/* ///////////////////////////////////////////////////////////////////////////////////////////////////////////// */
/* //////////////////////////// section 4 ////////////////////////// */
/* ======= No-key Map styles ======= */
.contact-section4{ background:#fff; padding: clamp(40px,6vw,80px) 20px; }
.map-wrap{ max-width:1180px; margin:0 auto; }
.map-head h2{ font-size:1.6rem; margin-bottom:.3rem; }
.map-head p{ color:#6b6b6b; margin-bottom:14px; }

.map-controls{
  display:flex; justify-content:space-between; align-items:center;
  gap:12px; flex-wrap:wrap; margin-bottom:12px;
}
.btn-group{ display:flex; gap:8px; flex-wrap:wrap; }
.map-btn{
  background: linear-gradient(135deg,#969696,#272727);
  color:#111; border:1px solid rgba(0,0,0,.1);
  padding:.55rem .8rem; border-radius:10px; font-weight:600;
  cursor:pointer; transition:transform .2s, box-shadow .2s;
}
.map-btn:hover{ transform:translateY(-2px); box-shadow:0 8px 16px rgba(0, 0, 0, 0.35); }
.map-btn.is-active{ outline:2px solid #000000; }
.map-btn.ghost{ background:#fff; border:1px solid #e0e0e0; }

.map-split{
  display:grid; grid-template-columns:1fr; gap:12px; min-height:54vh;
}
#leafletMap, #streetIframe{
  width:100%; height:54vh;
  border:1px solid #eee; border-radius:12px; overflow:hidden;
  box-shadow:0 8px 18px rgba(0,0,0,.08);
}

/* Split view on desktop when Street View is open */
.map-split.split #leafletMap, .map-split.split #streetIframe{ height:60vh; }
@media (min-width: 960px){
  .map-split.split{ grid-template-columns:1fr 1fr; }
}
/* Leaflet default tweak */
.leaflet-control-zoom{ border-radius:10px; overflow:hidden; }
