.custom-popup-overlay {
  display: flex; /* instead of none */
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}
.custom-popup-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}
/* Popup box */
.custom-popup-content {
  background: #fff;
  overflow: hidden;
  border-radius: 15px;
  position: relative;
  animation: fadeIn 0.3s ease-in-out;
}

.popup-big .custom-popup-content {
    width: 85%;  
}

.popup-medium .custom-popup-content {
    width: 60%;  
}


/* Close button */
.custom-popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}

@keyframes fadeIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Inner two-column layout */
.popup-inner {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  height: 100%;
  /*min-height: 400px; */
}

/* Left side image */
.popup-left {
  flex: 1;
  background: #fff;
}

.popup-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Right side content */
.popup-right {
  flex: 1;
  background: #EDEDED;
  padding: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.popup-logo {
  /*max-width: 170px;*/
  margin-bottom: 45px;
}

/* Make popup responsive */
@media (max-width: 768px) {
.popup-medium .custom-popup-content {
    width: 90%;  
}
  .popup-inner {
    flex-direction: column;
  }

  .popup-left, .popup-right {
    flex: unset;
    width: 100%;
  }

  .popup-left img {
    height: auto;
  }
}



/* Left side - 70% */
.freetrial-left {
  flex: 4;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
  color: #fff;
}

.freetrial-inner {
  width: 100%;
  max-width: 500px;
  text-align: center;
}

.freetrial-title {
  font-family: 'Lexend', sans-serif;
  font-size: 28px;
  font-weight: 500;
  font-style: normal;
  color: #EF0000; /* EF0000 */
  margin-bottom: 32px;
}

.freetrial-form .freetrial-row {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.freetrial-form input {
  flex: 1;
  padding: 10px 15px;
  border-radius: 25px;
  border: 1px solid #ccc;
  outline: none;
}

.freetrial-form textarea {
  width: 100%;
  height: 120px; /* or whatever height you need */
  border-radius: 15px;
  border: 1px solid #ccc;
  resize: none;
  margin-bottom: 32px;
  padding: 10px 15px; /* optional for inner spacing */
  font-family: 'Lexend', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}


.freetrial-form button {
  font-family: 'Lexend', sans-serif;
  font-size: 16px;
  font-style: normal;
  background: #EF0000;
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 25px;
  cursor: pointer;
}

/* Right side - 30% */
.freetrial-right {
  flex: 3;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center; /* fully vertically centered */
  align-items: center;
  padding: 30px;
  text-align: center;
}
.contact-title {
  font-family: 'Lexend', sans-serif;
  font-size: 18px;
  font-weight: 500;
  font-style: normal;
  color: #EF0000;
  margin-bottom: 20px;
}


.contact-address,
.contact-email {
  font-family: 'Lexend', sans-serif;
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  color: #374151;
  margin-bottom: 15px;
  line-height: 1.5;
}

.contact-phone {
  font-family: 'Lexend', sans-serif;
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
  color: #FFFFFF;
  background: #EF0000; /* changed from #eee to match design */
  display: inline-block;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
}

.contact-social {
	display: flex;
	gap: 5px;
	margin-top: 15px;
}

/* Individual icons */
.contact-social .social-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: #FFEDED; /* round bg color */
  border-radius: 50%;
  text-decoration: none;
  color: #101827; /* icon color, adjust as needed */
  font-weight: bold;
  font-family: 'Lexend', sans-serif;
  font-size: 18px;
  transition: transform 0.2s;
}
/* Responsive */
@media (max-width: 768px) {
  .freetrial-popup {
    flex-direction: column;
  }
  .freetrial-left, .freetrial-right {
    flex: unset;
    width: 100%;
    padding: 20px;
  }
}


.popup-buildtrust .custom-popup-content {
  width: 70%; /* total popup width */
  border-radius: 15px;
  overflow: hidden;
}

.buildtrust-popup {
  display: flex;
  flex-wrap: wrap;
}

#popup-buildtrust .custom-popup-close {
    color: #FFF;
}

/* Left side */
.buildtrust-left {
  flex: 1;
  background: #FFFFFF;
  padding: 15px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.buildtrust-img {
  width: auto !important;
  margin-bottom: 20px;
}

.buildtrust-title {
  font-family: 'Ubuntu', sans-serif;
  font-size: 38px;
  font-weight: 500;
  color: #EF0000;
  margin-bottom: 10px;
}

.buildtrust-sub {
  font-family: 'Ubuntu', sans-serif;
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 0px;
  line-height: 30px;
}

.buildtrust-sub.black { color: #000000; }
.buildtrust-sub.red { color: #EF0000; }

.buildtrust-bullets {
  margin-top: 5px;
  padding-left: 0px;
}

.buildtrust-popup ul,
.buildtrust-popup ol {
  margin: 10px 0 5px 20px;
}

.buildtrust-bullets li {
  font-family: 'Ubuntu', sans-serif;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
  color: #000;
}

/* Right side */
.buildtrust-right {
  flex: 1;
  background: #000000;
  color: #FFFFFF;
  padding: 15px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.buildtrust-heading {
  font-family: 'Ubuntu', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 30px;
}

/* Form */
.buildtrust-form {
  width: 80%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.buildtrust-form input {
  padding: 12px 20px;
  border-radius: 25px;
  border: none;
  outline: none;
  font-family: 'Ubuntu', sans-serif;
  font-size: 14px;
  color: #000;
  background: #FFFFFF;
}

.buildtrust-form input::placeholder {
  color: #C8C8C8;
}

.buildtrust-consent {
  font-family: 'Ubuntu', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #FFFFFF;
  margin: 10px 0;
}

.buildtrust-btn {
  background: #EF0000;
  color: #FFFFFF;
  border: none;
  padding: 14px 34px;
  border-radius: 25px;
  font-family: 'Ubuntu', sans-serif;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  display: inline-block;
  width: auto;
  align-self: center; 
}

.buildtrust-btn:hover {
  background: #EF0000;
  color: #FFFFFF;
}
/* Responsive */
@media (max-width: 768px) {
  .buildtrust-popup {
    flex-direction: column;
  }
  .popup-buildtrust .custom-popup-content {
    width: 90%;
  }
}


 /* Popup content */
.popup-bookappointment .custom-popup-content {
  width: 65%;
  max-width: 1200px;
  border-radius: 15px;
  overflow: hidden;
}

.bookappointment-popup {
  display: flex;
  flex-wrap: wrap;
}

/* Left side */
#popup-bookappointment .book-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  background: #EDEDED;
  padding: 20px;
  flex: 3;
  position: relative;
}

#popup-bookappointment .book-left .book-logo {
  max-width: 120px;
  width: auto;
  height: auto;
  margin-bottom: 20px;
}

.book-title {
  font-family: 'Ubuntu', sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: #000;
  margin-bottom: 20px;
}

.book-info .book-item {
  font-family: 'Ubuntu', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #515050;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.book-left .social-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: #FFEDED;
  border-radius: 50%;
  text-decoration: none;
  color: #101827;
  font-size: 18px;
}

#popup-bookappointment .book-left .contact-social {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  gap: 10px;
}

/* Right side */
#popup-bookappointment .popup-right {
  display: block;
}

.book-right {
  flex: 8;
  background: #FFF;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* Scheduler */
.book-scheduler {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.book-calendar-container {
  flex: 2;
  width: 100%;
}

.book-calendar-container input {
  width: 100%;
  padding: 12px 15px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-family: 'Ubuntu', sans-serif;
}

.book-times {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: end;
}

.book-times button {
  width: 160px;
  padding: 10px 20px;
  border-radius: 6px;
  border: 1px solid #EF0000;
  background: #FFF;
  color: #EF0000;
  font-family: 'Ubuntu', sans-serif;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  margin-bottom: 10px;
}

.book-times button.selected {
  background: #C00000;
  color: #FFF;
}

/* Timezone */
.book-timezone select {
  width: 50%;
  max-width: 100%;
  padding: 10px 15px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-family: 'Ubuntu', sans-serif;
  box-sizing: border-box;
}

/* User info */
.book-info-title {
  font-family: 'Ubuntu', sans-serif;
  font-size: 16px;
  font-weight: 500;
  padding: 10px 0;
}

.book-form input {
  padding: 12px 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
  margin-bottom: 15px;
  width: 100%;
  font-family: 'Ubuntu', sans-serif;
}

.book-form input[type="checkbox"] {
  width: unset;
}

.book-consent {
  display: flex;
  align-items: flex-start;
  font-family: 'Ubuntu', sans-serif;
  font-size: 14px;
  margin-bottom: 20px;
  gap: 10px;
}

/* Submit button */
.book-submit-btn {
  display: block;
  margin: 20px auto 0;
  padding: 14px 30px;
  border-radius: 25px;
  border: none;
  background: #EF0000;
  color: #fff;
  font-family: 'Ubuntu', sans-serif;
  cursor: pointer;
}

/* Flatpickr override */
.flatpickr-calendar {
  box-shadow: unset !important;
}

/* Responsive */
@media (max-width: 768px) {
  .bookappointment-popup {
    flex-direction: column;
  }
  .book-left, .book-right {
    flex: unset;
    width: 100%;
    padding: 20px;
  }
  .book-scheduler {
    flex-direction: column;
  }
  .book-times {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-start;
  }
  .book-times button {
    flex: 1 1 calc(33.33% - 10px);
  }
}

.popup-pricing .custom-popup-content {
  width: 100%;
  max-width: 1200px;
  border-radius: 15px;
  overflow: hidden;
}
