/* =========================================================
   BACKYARD CONTACT PAGE
   Theme ke font (Poppins) aur customizable colors ke saath.
   Colors Appearance > Customize > Theme Colors se change hote hain:
   --bl-primary   = Green  (default #18aecb)
   --bl-secondary = Water Blue (default #18aecb)
   ========================================================= */

.bl-contact-page {

  width: 100%;

  background: #ffffff;

  font-family: 'Josefin Sans', sans-serif;

  overflow: hidden;

}


/* =========================================================
   HERO
   ========================================================= */

.bl-contact-hero {

  min-height: 470px;

  position: relative;

  display: flex;

  align-items: center;

  justify-content: center;

  text-align: center;

  background:
    linear-gradient(
      rgba(17,148,175,.55),
      rgba(17,148,175,.55)
    ),
    var(--bl-project-bg, url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=2000&q=85"))
    center / cover no-repeat;

}


.bl-contact-hero-content {

  position: relative;

  z-index: 2;

  max-width: 900px;

  padding: 50px 25px;

  animation: blHeroUp .9s ease both;

}


.bl-contact-eyebrow {

  display: block;

  margin-bottom: 18px;

  color: #ffffff;

  font-size: 14px;

  letter-spacing: 5px;

  font-weight: 500;

}


.bl-contact-hero h1 {

  margin: 0;

  color: #ffffff;

  font-size: clamp(38px, 6vw, 68px);

  line-height: 1.15;

  font-weight: 600;

}


.bl-contact-hero h1 span {

  display: block;

  color: var(--bl-secondary, #18aecb);

}


.bl-contact-hero p {

  max-width: 650px;

  margin: 25px auto 0;

  color: rgba(255,255,255,.9);

  font-size: 16px;

  line-height: 1.8;

}


@keyframes blHeroUp {

  from {

    opacity: 0;

    transform: translateY(35px);

  }

  to {

    opacity: 1;

    transform: translateY(0);

  }

}


/* =========================================================
   MAIN WRAPPER
   ========================================================= */

.bl-contact-wrapper {

  width: 92%;

  max-width: 1380px;

  margin: 0 auto;

}


/* =========================================================
   CONTACT TOP
   ========================================================= */

.bl-contact-top {

  display: grid;

  grid-template-columns: 43% 57%;

  min-height: 600px;

}


/* =========================================================
   LEFT CONTACT INFO
   ========================================================= */

.bl-contact-info {

  padding: 90px 70px 80px 0;

}


.bl-section-label {

  display: inline-block;

  color: var(--bl-secondary, #18aecb);

  font-size: 13px;

  font-weight: 600;

  letter-spacing: 4px;

  margin-bottom: 18px;

}


.bl-contact-info h2,
.bl-quote-heading h2 {

  margin: 0;

  color: #444444;

  font-size: clamp(30px, 4vw, 44px);

  line-height: 1.2;

  font-weight: 600;

}


.bl-contact-info h2 span,
.bl-quote-heading h2 span {

  display: block;

  color: var(--bl-secondary, #18aecb);

}


.bl-contact-intro {

  max-width: 520px;

  margin: 25px 0 40px;

  color: #666666;

  font-size: 16px;

  line-height: 1.9;

}


/* =========================================================
   CONTACT ITEMS
   ========================================================= */

.bl-contact-item {

  display: flex;

  align-items: center;

  gap: 18px;

  margin-bottom: 25px;

  text-decoration: none;

}


.bl-contact-icon {

  width: 55px;

  height: 55px;

  flex-shrink: 0;

  display: flex;

  align-items: center;

  justify-content: center;

  background: #eff8fd;

  border-radius: 50%;

  color: var(--bl-secondary, #18aecb);

  transition: transform .3s ease, background .3s ease, color .3s ease;

}


.bl-contact-icon svg {

  width: 23px;

  height: 23px;

  fill: currentColor;

}


.bl-contact-item:hover .bl-contact-icon {

  background: var(--bl-secondary, #18aecb);

  color: #ffffff;

  transform: translateY(-3px);

}


.bl-contact-item small {

  display: block;

  margin-bottom: 5px;

  color: #999999;

  font-size: 10px;

  letter-spacing: 2px;

}


.bl-contact-item strong {

  display: block;

  color: #333333;

  font-size: 16px;

  font-weight: 500;

  word-break: break-word;

}


/* =========================================================
   HOURS
   ========================================================= */

.bl-contact-hours {

  margin-top: 35px;

  padding-top: 25px;

  border-top: 1px solid #eeeeee;

}


.bl-contact-hours > span {

  color: #999999;

  font-size: 10px;

  letter-spacing: 3px;

}


.bl-contact-hours p {

  margin: 10px 0 0;

  color: #777777;

  font-size: 14px;

}


.bl-contact-hours strong {

  margin-left: 10px;

  color: #333333;

  font-weight: 500;

}


/* =========================================================
   MAP
   ========================================================= */

.bl-contact-map {

  position: relative;

  min-height: 600px;

  overflow: hidden;

}


.bl-contact-map iframe {

  width: 100%;

  height: 100%;

  min-height: 600px;

  border: 0;

  filter: grayscale(20%);

}


.bl-map-label {

  position: absolute;

  left: 25px;

  bottom: 25px;

  padding: 18px 23px;

  background: rgba(255,255,255,.96);

  box-shadow: 0 10px 35px rgba(0,0,0,.12);

}


.bl-map-label span {

  display: block;

  margin-bottom: 5px;

  color: var(--bl-secondary, #18aecb);

  font-size: 9px;

  letter-spacing: 2px;

}


.bl-map-label strong {

  color: #333333;

  font-size: 15px;

  font-weight: 500;

}


/* =========================================================
   QUOTE SECTION
   ========================================================= */

.bl-quote-section {

  margin: 90px 0 120px;

  padding: 80px;

  background: #f7fbfc;

}

.bl-quote-section-standalone {
  margin-top: 70px;
  border-radius: 20px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}


.bl-quote-heading {

  max-width: 720px;

  margin-bottom: 55px;

}


.bl-quote-heading p {

  max-width: 650px;

  margin-top: 22px;

  color: #777777;

  line-height: 1.8;

  font-size: 15px;

}


/* =========================================================
   FORM
   ========================================================= */

.bl-quote-form {

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 28px;

}


.bl-form-group {

  display: flex;

  flex-direction: column;

}


.bl-form-group label,
.bl-budget-header label {

  margin-bottom: 10px;

  color: #444444;

  font-size: 12px;

  letter-spacing: 1px;

  font-weight: 500;

}


.bl-form-group input,
.bl-form-group select,
.bl-form-group textarea {

  width: 100%;

  border: 1px solid #dddddd;

  background: #ffffff;

  padding: 17px 18px;

  color: #333333;

  font-family: inherit;

  font-size: 14px;

  outline: none;

  border-radius: 6px;

  transition: border .3s ease, box-shadow .3s ease;

}


.bl-form-group input,
.bl-form-group select {

  height: 55px;

}


.bl-form-group textarea {

  resize: vertical;

  min-height: 150px;

}


.bl-form-group input:focus,
.bl-form-group select:focus,
.bl-form-group textarea:focus {

  border-color: var(--bl-secondary, #18aecb);

  box-shadow: 0 0 0 3px rgba(24,174,203,.12);

}


.bl-form-group input::placeholder,
.bl-form-group textarea::placeholder {

  color: #aaaaaa;

}


.bl-full {

  grid-column: 1 / -1;

}


/* =========================================================
   BUDGET
   ========================================================= */

.bl-budget-box {

  grid-column: 1 / -1;

  padding: 30px 32px;

  background: #ffffff;

  border: 1px solid #e1e1e1;

  border-radius: 8px;

}


.bl-budget-header {

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;

}


.bl-budget-header label {

  display: block;

  margin-bottom: 5px;

}


.bl-budget-header p {

  margin: 0;

  color: #999999;

  font-size: 12px;

}


#bl-budget-value {

  color: var(--bl-secondary, #18aecb);

  font-size: 25px;

  font-weight: 600;

  white-space: nowrap;

}


#bl-budget-slider {

  width: 100%;

  margin: 30px 0 12px;

  accent-color: var(--bl-secondary, #18aecb);

  cursor: pointer;

}


.bl-budget-values {

  display: flex;

  justify-content: space-between;

  color: #999999;

  font-size: 11px;

}


/* =========================================================
   SUBMIT
   ========================================================= */

.bl-form-submit {

  grid-column: 1 / -1;

  display: flex;

  align-items: center;

  flex-wrap: wrap;

  gap: 20px;

  margin-top: 10px;

}


.bl-submit-button {

  min-height: 58px;

  padding: 0 30px;

  border: none;

  border-radius: 50px;

  background: var(--bl-secondary, #18aecb);

  color: #ffffff;

  font-family: inherit;

  font-size: 13px;

  letter-spacing: 1px;

  font-weight: 600;

  cursor: pointer;

  display: flex;

  align-items: center;

  gap: 16px;

  transition: background .3s ease, transform .3s ease, opacity .3s ease;
}


.bl-submit-button:disabled {

  opacity: .65;

  cursor: not-allowed;

}


.bl-submit-button svg {

  width: 20px;

  height: 20px;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.5;

}


.bl-submit-button:hover:not(:disabled) {

  background: var(--bl-secondary, #18aecb);

  transform: translateY(-2px);

}


.bl-form-note {

  margin: 0;

  color: #999999;

  font-size: 12px;

}


.bl-form-status {

  width: 100%;

  margin: 0;

  font-size: 14px;

  font-weight: 500;

}

.bl-form-status.bl-status-pending {
  color: #777777;
}

.bl-form-status.bl-status-success {
  color: var(--bl-secondary, #18aecb);
}

.bl-form-status.bl-status-error {
  color: #d9534f;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

  .bl-contact-top {
    grid-template-columns: 1fr;
  }

  .bl-contact-info {
    padding: 75px 0 55px;
  }

  .bl-contact-map,
  .bl-contact-map iframe {
    min-height: 500px;
  }

  .bl-quote-section {
    padding: 55px 40px;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

  .bl-contact-wrapper {
    width: 90%;
  }

  .bl-contact-hero {
    min-height: 400px;
  }

  .bl-contact-hero h1 {
    font-size: 34px;
  }

  .bl-contact-hero p {
    font-size: 14px;
    line-height: 1.7;
  }

  .bl-contact-info {
    padding: 60px 0 45px;
  }

  .bl-contact-info h2,
  .bl-quote-heading h2 {
    font-size: 28px;
  }

  .bl-contact-intro {
    font-size: 14px;
    line-height: 1.8;
  }

  .bl-contact-map,
  .bl-contact-map iframe {
    min-height: 400px;
  }

  .bl-map-label {
    left: 15px;
    bottom: 15px;
    right: 15px;
  }

  .bl-quote-section {
    margin: 60px 0 70px;
    padding: 45px 20px;
  }

  .bl-quote-form {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .bl-full,
  .bl-budget-box,
  .bl-form-submit {
    grid-column: 1;
  }

  .bl-budget-box {
    padding: 25px 18px;
  }

  .bl-budget-header {
    align-items: flex-start;
    flex-direction: column;
  }

  #bl-budget-value {
    font-size: 22px;
  }

  .bl-form-submit {
    flex-direction: column;
    align-items: flex-start;
  }

  .bl-submit-button {
    width: 100%;
    justify-content: center;
  }

  .bl-contact-hours strong {
    display: block;
    margin: 7px 0 0;
  }

}


@media (max-width: 400px) {

  .bl-contact-hero h1 {
    font-size: 30px;
  }

  .bl-section-label {
    font-size: 11px;
    letter-spacing: 3px;
  }

  .bl-contact-item strong {
    font-size: 14px;
  }

}
