/* ===================================
   CONTACT PAGE — SCOPED ADDITIONS
=================================== */

.contact-hero{
  margin-top:100px;
}

.contact-split-section{
  padding:90px 0 100px;
  background:#fff;
}

/* FORM CARD */
.contact-form-card{
  position:relative;
  background:#ffffff;
  border-radius:24px;
  padding:44px;
  box-shadow:0 20px 60px rgba(0,0,0,0.07);
  overflow:hidden;
  height:100%;
}

.contact-blob{
  position:absolute;
  top:-60px;
  right:-60px;
  width:180px;
  height:180px;
  background:linear-gradient(135deg,#ff5f6d33,#ffc37133,#ff7a1833);
  border-radius:60% 40% 55% 45% / 50% 60% 40% 50%;
  animation:blobMorph 6s ease-in-out infinite;
  z-index:0;
}

.contact-form-card > *{
  position:relative;
  z-index:1;
}

/* FORM ALERTS */
.form-alert{
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:16px 18px;
  border-radius:14px;
  margin-bottom:24px;
  font-family:'DM Sans', sans-serif;
  font-size:14px;
  animation:fadeUp 0.5s ease both;
}

.form-alert-success{
  background:rgba(46,216,182,0.1);
  border:1.5px solid rgba(46,216,182,0.35);
  color:#0f7a5f;
}

.form-alert-error{
  background:rgba(255,95,109,0.08);
  border:1.5px solid rgba(255,95,109,0.3);
  color:#c73a4a;
}

.form-alert .alert-icon{
  flex-shrink:0;
  width:26px;
  height:26px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  font-size:13px;
  color:#fff;
}

.form-alert-success .alert-icon{ background:#2ed8b6; }
.form-alert-error .alert-icon{ background:#ff5f6d; }

.form-alert p{ margin:2px 0 0; }

/* FLOATING LABEL INPUTS */
.form-group-custom{
  position:relative;
  margin-bottom:4px;
}

.form-control-custom{
  width:100%;
  padding:18px 16px 8px;
  border:1.5px solid #ececec;
  border-radius:14px;
  font-family:'DM Sans', sans-serif;
  font-size:15px;
  color:#222;
  background:#fafafa;
  transition:all 0.3s ease;
  outline:none;
}

textarea.form-control-custom{
  resize:vertical;
  min-height:120px;
  padding-top:22px;
}

.form-control-custom:focus{
  border-color:#ff7a18;
  background:#fff;
  box-shadow:0 0 0 4px rgba(255,122,24,0.1);
}

.form-group-custom label{
  position:absolute;
  left:16px;
  top:17px;
  font-family:'DM Sans', sans-serif;
  font-size:15px;
  color:#999;
  pointer-events:none;
  transition:all 0.2s ease;
  background:transparent;
}

.form-control-custom:focus + label,
.form-control-custom:not(:placeholder-shown) + label{
  top:6px;
  font-size:11px;
  font-weight:600;
  letter-spacing:0.5px;
  color:#ff7a18;
  text-transform:uppercase;
}

/* select uses a static (always-up) label since it has no placeholder-shown state */
.form-select-custom{
  appearance:none;
  -webkit-appearance:none;
  padding-top:18px;
  background-image:url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23ff7a18' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 16px center;
  cursor:pointer;
}

.form-group-custom .static-label{
  top:6px;
  font-size:11px;
  font-weight:600;
  letter-spacing:0.5px;
  color:#ff7a18;
  text-transform:uppercase;
}

.contact-submit-btn{
  border:none;
  cursor:pointer;
  width:100%;
}

@media(min-width:576px){
  .contact-submit-btn{ width:auto; min-width:220px; }
}

/* MAP CARD */
.map-card{
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 20px 60px rgba(0,0,0,0.08);
  line-height:0;
}

/* HOURS ROW */
.hours-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 0;
  border-bottom:1px dashed #eee;
  font-family:'DM Sans', sans-serif;
  font-size:14px;
  color:#444;
}

.hours-row:last-of-type{
  border-bottom:none;
}

.hours-row span:last-child{
  font-weight:700;
  color:#ff7a18;
}

/* RESPONSIVE */
@media(max-width:768px){

  .contact-hero{
    margin-top:80px;
  }

  .contact-form-card{
    padding:28px 22px;
  }

  .contact-split-section{
    padding:60px 0 70px;
  }

}


/* ===================================
   CONTACT CARDS — bold headings, regular info text, phone rows
   (scoped to .contact-cards so About page cards are unaffected)
=================================== */
.contact-cards .info-card-modern h6{
  font-family:'Poppins',sans-serif;
  font-size:17px;
  font-weight:700;
  color:#1a1a1a;
  margin-bottom:12px;
}

/* every info line uses the same font, size and weight */
.contact-cards .info-card-modern p.contact-info-text,
.contact-cards .contact-line-text{
  font-family:'Inter',sans-serif;
  font-size:15px;
  font-weight:400;
  line-height:1.6;
  color:#222;
}

.contact-cards .contact-info-text a{ color:#222; text-decoration:none; font-weight:400; transition:color .3s; }
.contact-cards .contact-info-text a:hover{ color:#ff7a18; }

/* Sales / Office number rows */
.contact-lines{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:16px;                 /* space between the two numbers */
}

.contact-line{
  display:inline-flex;
  align-items:center;
  gap:12px;
  text-align:left;
  text-decoration:none;
  transition:transform .3s ease;
}
.contact-line:hover{ transform:translateX(4px); }
.contact-line:hover .contact-line-text{ color:#ff7a18; }

.contact-line-icon{
  flex-shrink:0;
  width:38px;
  height:38px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:17px;
  background:rgba(255,122,24,.12);
  border:1px solid rgba(255,122,24,.25);
}

.contact-line-text{ display:flex; flex-direction:column; transition:color .3s; }
.contact-line-text small{
  font-size:11px;
  font-weight:600;
  letter-spacing:1.2px;
  text-transform:uppercase;
  color:#ff7a18;
  line-height:1.3;
}

@media (max-width:575px){
  .contact-lines{ gap:14px; }
}

/* ===================================
   GAP BETWEEN HERO AND CONTACT CARDS (tighter)
   Change the two numbers below to adjust.
=================================== */
.company-modern.contact-cards{ padding-top:30px; }   /* was 80px */
.contact-cards .row{ margin-top:0; }                 /* was 40px from style.css */

@media (max-width:768px){
  .company-modern.contact-cards{ padding-top:20px; }
}

/* ===================================
   GAP BETWEEN CONTACT CARDS AND FORM + MAP (tighter)
   total gap = card section bottom padding + form section top padding
   (was 120px + 50px margin + 90px = 260px)
=================================== */
.company-modern.contact-cards{ padding-bottom:30px !important; margin-bottom:0; }
.contact-split-section{ padding-top:30px; }

@media (max-width:768px){
  .company-modern.contact-cards{ padding-bottom:20px !important; }
  .contact-split-section{ padding-top:20px; }
}