@font-face {
  font-family: "Mazzard";
  src: local("MazzardH-Regular"),
    url("/fonts/MazzardH-Regular.ttf") format("truetype");
}
#bookfreeDemoBanner {
  background-size: cover;
  width: 100%;
  height: fit-content;
  top: 40px;
  bottom: 40px;
  position: relative;
  background-color: #1f4666;
}
.demo-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  color: #ffffff;
  padding: 30px 0px;
  align-items: stretch;
}

.demo-content {
  flex: 2;
  /* min-width: 300px; */
  margin-right: 20px;
  background-color: #00000040;
  padding: 40px 30px;
  border-radius: 24px;
}

.demo-content p {
  font-size: 34px;
  font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: 0.2px;
  font-family: "clash display";
}

.demo-content .demo-content-subtext {
  font-size: 20px;
  margin-bottom: 20px;
  color: #ffffff;
  font-family: "Mazzard";
}

.demo-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.demo-form input,
.demo-form select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: none;
  outline: none;
  font-size: 15px;
}
.form-row {
  display: flex;
  gap: 10px;
  width: 100%;
}
/*Error Validation*/
.input-error-text {
  color: red;
  font-size: 11px;
  display: none;
  margin-top: 4px;
}
.api-error-text {
  color: red;
  font-size: 14px;
  display: none;
  text-align: center;
  margin-top: -6px;
}
input.error {
  border: 1px solid #e63946 !important; /* red border */
}

.form-row input,
.form-row .phone-wrapper .input-wrapper {
  flex: 1 1 0;
  min-width: 0;
}

.form-row input {
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  box-sizing: border-box;
  width: 100%;
}
.email-wrapper {
  width: 100%;
}

.email-wrapper input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  box-sizing: border-box;
}
.phone-wrapper {
  width: 100%;
}

.phone-wrapper input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  box-sizing: border-box;
}

/* Optional: focus style */
.form-row input:focus {
  border-color: #1f4666;
  box-shadow: 0 0 3px rgba(31, 70, 102, 0.3);
}

#letsConnectBtn {
  background-color: #f0b429;
  color: #030116;
  font-weight: 500;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-size: 20px;
  font-family: "clash display";
  transition: background-color 0.3s, cursor 0.3s, opacity 0.3s;
}
.btn-loader {
  width: 18px;
  height: 18px;
  border: 2px solid #fff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  display: inline-block;
  vertical-align: middle;
  margin-left: 8px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

#letsConnectBtn[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Intel Phone-Dropdown list appearance */

.iti__country-list {
  background-color: #fff !important;
  color: #000 !important;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 9999;
}
/* Override intl-tel-input internal padding */
.iti--allow-dropdown input.iti__tel-input,
.iti--allow-dropdown input.iti__tel-input[type="tel"],
.iti--allow-dropdown input.iti__tel-input[type="text"],
.iti--show-selected-dial-code input.iti__tel-input,
.iti--show-selected-dial-code input.iti__tel-input[type="tel"],
.iti--show-selected-dial-code input.iti__tel-input[type="text"] {
  padding-left: 110px !important;
}

/* Dial code color */
.iti__dial-code {
  color: #000 !important;
}
/* Hide flags everywhere */
.iti__flag-container .iti__flag,
.iti__country .iti__flag {
  display: none !important;
}
/* Fix alignment after hiding flags */
.iti__country {
  margin-left: -20px !important;
}
/* Hide flags in dropdown */
.iti__country .iti__flag {
  display: none !important;
}

/* Adjust spacing and text */
.custom-country-text {
  font-weight: 400;
  color: #030116;
  font-family: "Mazzard";
  margin-right: 4px;
  font-size: 16px;
}

/* Add divider between country selector and phone input */
.iti__selected-country {
  position: relative;
  padding-right: 12px;
}

/* Vertical divider line */
.iti__selected-country::after {
  content: "";
  position: absolute;
  right: 0;
  top: 8px;
  bottom: 8px;
  width: 1.5px;
  background-color: #a8acbc; /* divider color */
}

.demo-image {
  flex: 0.9;
  display: flex;
  justify-content: center;
}

.demo-image img {
  width: 100%;
  max-width: 350px;
  border-radius: 16px;
  object-fit: cover;
}
/* Contact Us */

#contact-section {
  background-size: cover;
  width: 100%;
  height: fit-content;
  top: 40px;
  bottom: 40px;
  position: relative;
  background-color: #ffffff;
  color: #030116;
}

.contact-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  align-items: start;
  width: 100%;
  padding: 30px 0px;
}

.contact-container-title {
  color: #1f4666;
  font-weight: 500;
  font-family: "clash display";
  font-size: 25px;
  padding-bottom: 5px;
}
.contact-container-address {
  font-weight: 600;
  font-size: 20px;
  padding-bottom: 10px;
}
.address-body {
  font-weight: 400;
  line-height: 1.6;
  font-size: 18px;
  margin-top: -10px;
}

.connecttext {
  text-decoration: none;
  /* font-family: "Mazzard"; */
  font-size: 20px !important;
  font-weight: 300 !important;
}

.follow-icons {
  display: flex;
  gap: 14px;
  margin-top: 8px;
  padding-bottom: 20px;
}

.follow-icons img {
  width: 35px !important;
  height: 35px !important;
  transition: transform 0.2s ease;
}

.follow-icons img:hover {
  transform: scale(1.1);
}
/* Footer */
#footersection {
  font-family: "clash display";
  background-size: cover;
  width: 100%;
  height: fit-content;
  position: relative;
  background-color: #103350;
  color: #89b4d8 !important;
}
.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  align-items: start;
  width: 100%;
  padding: 10px 0px;
  padding-bottom: 0px;
}

/* Overlay */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 99;
}

.overlay.show {
  visibility: visible;
  opacity: 1;
}

/* Popup Box */
.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  color: #fff;
  padding: 16px 24px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 100;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
  text-align: left;
}

.popup.show {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.popup-content {
  display: flex;
  align-items: center;
  position: relative;
}
.popup-content-text {
  margin-left: -20px;
  border: 6px solid #00b4ff;
  background: linear-gradient(to right, #005999, #002a5a);
  width: 500px;
  white-space: normal;
  word-wrap: break-word;
  padding: 8px;
  padding-left: 20px;
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.4;
  font-family: "Mazzard";
}

.popup-icon {
  width: 125px;
  height: 140px;
  z-index: 1000;
}

/* Responsive */
@media (max-width: 768px) {
  .demo-container {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }

  .demo-content {
    margin-right: 0;
  }
  .address-body {
    font-weight: 400;
    line-height: 1.6;
    font-size: 15px;
    margin-top: -10px;
  }

  .connecttext {
    text-decoration: none;
    /* font-family: "Mazzard"; */
    font-size: 17px !important;
    font-weight: 300 !important;
  }
}
@media (max-width: 991px) {
  .demo-image {
    display: none;
  }

  .popup-content {
    display: flex;
    flex-direction: column;
  }
  .popup-content-text {
    margin-left: 0px;
    margin-top: -70px;
    width: 300px;
    white-space: normal;
    text-align: center;
    word-wrap: break-word;
    padding: 20px 10px;
    padding-top: 80px;
    border-radius: 12px;
    font-size: 16px;
  }
  .form-row {
    flex-direction: column;
  }

  .form-row .phone-wrapper {
    width: 100%;
  }

  .form-row input {
    width: 100%;
  }
  .input-wrapper,
  .email-wrapper {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
  }
  .phone-wrapper {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
  }

  .contact-container {
    padding: 30px 20px;
  }
  .iti.iti--allow-dropdown.iti--show-flags {
    width: 100% !important;
  }
}
@media (max-width: 510px) {
  .contact-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column;
    padding-left: 20px;
  }
  .footer-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}
@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
}
