/** Contact Page Banner Styles **/

/* Contact Page Banner Text Color */
.contact-page .banner-section .banner-carousel .content-box .upper-text,
.contact-page .banner-section .banner-carousel .content-box h2,
.contact-page .banner-section .banner-carousel .content-box p{
  color: #b36b56 !important;
}

.contact-page .banner-section .banner-carousel .content-box p strong{
  color: #b36b56 !important;
}

/** contact-form-map-section **/

.contact-form-map-section{
  position: relative;
  background-color: #f8f8f8;
}

.contact-form-map-section .map-column{
  padding-right: 15px;
}

.contact-form-map-section .form-column{
  padding-left: 15px;
}

.contact-form-map-section .map-wrapper{
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 650px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.10);
}

.contact-form-map-section .map-wrapper iframe{
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.contact-form-map-section .contact-form-wrapper{
  background: #ffffff;
  border-radius: 12px;
  padding: 50px 45px;
  box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.08);
  height: 100%;
  min-height: 650px;
  display: flex;
  flex-direction: column;
}

.contact-form-map-section .row{
  display: flex;
  align-items: stretch;
}

.contact-form-map-section .map-column,
.contact-form-map-section .form-column{
  display: flex;
  flex-direction: column;
}

.contact-form-map-section .form-header{
  margin-bottom: 35px;
}

.contact-form-map-section .form-header .form-subtitle{
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #c56348;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-family: var(--title-font);
}

.contact-form-map-section .form-header h2{
  font-size: 36px;
  line-height: 46px;
  font-weight: 700;
  color: #000000;
  margin: 0;
  font-family: var(--title-font);
}

.contact-form-map-section .contact-form-new .form-group{
  margin-bottom: 20px;
  width: 100%;
  box-sizing: border-box;
}

.contact-form-map-section .contact-form-new .form-group:last-child{
  margin-bottom: 0;
}

.contact-form-map-section .contact-form-new input[type='text'],
.contact-form-map-section .contact-form-new input[type='email'],
.contact-form-map-section .contact-form-new input[type='tel'],
.contact-form-map-section .contact-form-new textarea{
  width: 100%;
  height: 55px;
  padding: 0 20px;
  border: 2px solid #e8e8e8;
  border-radius: 8px;
  font-size: 15px;
  color: #000000;
  background-color: #ffffff;
  transition: all 300ms ease;
  font-family: var(--title-font);
  box-sizing: border-box;
}

.contact-form-map-section .contact-form-new input[type='text']:focus,
.contact-form-map-section .contact-form-new input[type='email']:focus,
.contact-form-map-section .contact-form-new input[type='tel']:focus,
.contact-form-map-section .contact-form-new textarea:focus{
  outline: none;
  border-color: var(--theme-color);
  box-shadow: 0 0 0 3px rgba(197, 99, 72, 0.1);
}

.contact-form-map-section .contact-form-new textarea{
  height: 150px;
  padding: 15px 20px;
  resize: vertical;
  line-height: 1.6;
}

.contact-form-map-section .contact-form-new .phone-input-wrapper-new{
  display: flex;
  gap: 10px;
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
}

.contact-form-map-section .contact-form-new .phone-input-wrapper-new .country-code-wrapper{
  position: relative;
  width: 130px;
  min-width: 130px;
  max-width: 130px;
  flex-shrink: 0;
}

.contact-form-map-section .contact-form-new .phone-input-wrapper-new .country-code-wrapper::after{
  content: '';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%23666' d='M5 7L1 3h8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  z-index: 1;
}

.contact-form-map-section .contact-form-new .phone-input-wrapper-new .country-code-select-new{
  width: 100%;
  height: 55px;
  padding: 0 35px 0 15px;
  border: 2px solid #e8e8e8;
  border-radius: 8px;
  font-size: 14px;
  color: #000000;
  background-color: #ffffff;
  cursor: pointer;
  transition: all 300ms ease;
  font-family: var(--title-font);
  box-sizing: border-box;
  line-height: 55px;
  text-align: left;
  /* Remove all native styling */
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: none !important;
}

/* Hide native dropdown arrow for all browsers */
.contact-form-map-section .contact-form-new .phone-input-wrapper-new .country-code-select-new::-ms-expand {
  display: none !important;
}

.contact-form-map-section .contact-form-new .phone-input-wrapper-new .country-code-select-new::-webkit-appearance {
  -webkit-appearance: none !important;
}

.contact-form-map-section .contact-form-new .phone-input-wrapper-new .country-code-select-new::-moz-appearance {
  -moz-appearance: none !important;
  text-indent: 0.01px;
  text-overflow: '';
}

/* Additional Firefox fix */
@-moz-document url-prefix() {
  .contact-form-map-section .contact-form-new .phone-input-wrapper-new .country-code-select-new {
    text-indent: 0.01px;
    text-overflow: '';
  }
}

.contact-form-map-section .contact-form-new .phone-input-wrapper-new .country-code-select-new:focus{
  outline: none;
  border-color: var(--theme-color);
  box-shadow: 0 0 0 3px rgba(197, 99, 72, 0.1);
}

.contact-form-map-section .contact-form-new .phone-input-wrapper-new input[type='tel']{
  flex: 1;
  min-width: 0;
  height: 55px;
  padding: 0 20px;
  border: 2px solid #e8e8e8;
  border-radius: 8px;
  font-size: 15px;
  color: #000000;
  background-color: #ffffff;
  transition: all 300ms ease;
  font-family: var(--title-font);
  box-sizing: border-box;
  line-height: 55px;
}

.contact-form-map-section .contact-form-new .phone-input-wrapper-new input[type='tel']:focus{
  outline: none;
  border-color: var(--theme-color);
  box-shadow: 0 0 0 3px rgba(197, 99, 72, 0.1);
}

.contact-form-map-section .contact-form-new .submit-btn-new{
  width: 100%;
  height: 55px;
  background-color: #28a745;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 300ms ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--title-font);
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.contact-form-map-section .contact-form-new .submit-btn-new:hover{
  background-color: #218838;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.contact-form-map-section .contact-form-new .submit-btn-new:active{
  transform: translateY(0);
}

.contact-form-map-section .contact-form-new .submit-btn-new i{
  font-size: 16px;
}

.contact-form-map-section .contact-form-new .submit-btn-new span{
  font-size: 16px;
  font-weight: 600;
}


/** responsive-css **/

@media only screen and (max-width: 991px){
  .contact-form-map-section .map-column{
    padding-right: 0;
    margin-bottom: 30px;
  }

  .contact-form-map-section .form-column{
    padding-left: 0;
  }

  .contact-form-map-section .map-wrapper{
    min-height: 500px;
    height: 500px;
  }
  
  .contact-form-map-section .contact-form-wrapper{
    min-height: 500px;
    height: auto;
    padding: 40px 35px;
  }

  .contact-form-map-section .form-header h2{
    font-size: 32px;
    line-height: 42px;
  }
}

@media only screen and (max-width: 767px){
  .contact-form-map-section{
    padding: 70px 0px;
  }

  .contact-form-map-section .map-wrapper{
    min-height: 400px;
    height: 400px;
  }
  
  .contact-form-map-section .contact-form-wrapper{
    min-height: 400px;
    height: auto;
    padding: 35px 25px;
  }

  .contact-form-map-section .form-header h2{
    font-size: 28px;
    line-height: 38px;
  }

  .contact-form-map-section .contact-form-new .phone-input-wrapper-new{
    flex-direction: column;
    gap: 10px;
  }

  .contact-form-map-section .contact-form-new .phone-input-wrapper-new .country-code-select-new{
    width: 100%;
    min-width: 100%;
  }
}

