/* Import Google font - Poppins */
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
}
body{
  padding: 0 10px;
  align-items: center;
}
.wrapper{
  width: 100%;
  border-radius: 5px;
}
.wrapper header{
  font-size: 22px;
  font-weight: 600;
  padding: 20px 20px;
  border-bottom: 1px solid #ccc;
}
.wrapper form{
  margin: 0px 20px;
}
.wrapper form.disabled{
  pointer-events: none;
  opacity: 0.7;
}
form .dbl-field{
  display: flex;
  margin-bottom: 25px;
  justify-content: space-between;
}
.dbl-field .field{
  height: 50px;
  display: flex;
  position: relative;
  width: 100%;
}
.wrapper form i{
  position: absolute;
  top: 50%;
  left: 18px;
  color: #ccc;
  font-size: 17px;
  pointer-events: none;
  transform: translateY(-50%);
}
form .field input,
form .message textarea{
  width: 100%;
  outline: none;
  padding: 0 15px 0 15px;
  font-size: 16px;
  border-radius: 5px;
  border: 1px solid #ccc;
}
.field input::placeholder,
.message textarea::placeholder{
  color: #ccc;
}
.field input:focus,
.message textarea:focus{
  padding-left: 15px;
  border: 2px solid #0D6EFD;
}
.field input:focus ~ i,
.message textarea:focus ~ i{
  color: #0D6EFD;
}
form .message{
  position: relative;
}
form .message i{
  top: 30px;
  font-size: 20px;
}
form .message textarea{
  height: 100px;
  max-width: 100%;
  min-width: 100%;
  padding: 15px;
}
form .message textarea::-webkit-scrollbar{
  width: 0px;
}
.message textarea:focus{
  padding-top: 14px;
}
form .button-area{
  margin: 25px 0;
  display: flex;
  align-items: center;
}
.button-area button{
  color: #fff;
  border: none;
  outline: none;
  font-size: 18px;
  cursor: pointer;
  border-radius: 5px;
  padding: 13px 25px;
  background: #f79653;
  transition: background 0.3s ease;
}
.button-area button:hover{
  background: #515a60;
}
.button-area span{
  font-size: 17px;
  margin-left: 30px;
  display: none;
}
form .button-area-2{
  margin: 05px 0;
  display: flex;
  align-items: center;
}
.button-area-2 button{
  color: #fff;
  border: none;
  outline: none;
  font-size: 18px;
  cursor: pointer;
  border-radius: 5px;
  padding: 13px 25px;
  background: #f79653;
  transition: background 0.3s ease;
}
.button-area-2 button:hover{
  background: #515a60;
}
.button-area-2 span{
  font-size: 17px;
  margin-left: 30px;
  display: none;
}
@media (max-width: 600px){
  .wrapper header{
    text-align: left;
  }
  .wrapper form{
    margin: 35px 20px;
  }
  form .dbl-field{
    flex-direction: column;
    margin-bottom: 0px;
  }
  form .dbl-field .field{
    width: 100%;
    height: 45px;
    margin-bottom: 20px;
  }
  form .message textarea{
    resize: none;
  }
  form .button-area{
    margin-top: 20px;
    flex-direction: column;
  }
  .button-area button{
    width: 100%;
    padding: 11px 0;
    font-size: 16px;
  }
  .button-area span{
    margin: 10px 0 0;
    text-align: center;
  }
  form .button-area-2{
    margin-top: 20px;
    flex-direction: column;
  }
  .button-area-2 button{
    width: 100%;
    padding: 11px 0;
    font-size: 16px;
  }
  .button-area-2 span{
    margin: 10px 0 0;
    text-align: center;
  }
}

/* Popup Banner Modal Styles */
.popup-banner-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.popup-banner-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.popup-banner-content {
  position: relative;
  max-width: 800px;
  width: 90%;
  margin: 20px;
  transform: scale(0.8);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
}

.popup-banner-overlay.active .popup-banner-content {
  transform: scale(1);
  opacity: 1;
}

.popup-banner-link {
  display: block;
  text-decoration: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.popup-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.popup-banner-img:hover {
  transform: scale(1.01);
}

.popup-banner-close {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 36px;
  height: 36px;
  background-color: #ffffff;
  border: none;
  border-radius: 50%;
  color: #333333;
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 100000;
  transition: background-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.popup-banner-close:hover {
  background-color: #f79653;
  color: #ffffff;
  transform: scale(1.1);
}

/* Prevent page scroll when popup is active */
body.popup-active {
  overflow: hidden;
}

@media (max-width: 768px) {
  .popup-banner-close {
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    font-size: 20px;
  }
}
