/* xl - DESKTOP STYLES */ 
.pre-footer-container .elementor-icon-box-title {
  margin: 0 0 5px 0;
}

.footer-container-1 .wpr-nav-menu-horizontal > .wpr-nav-menu > li {
  display: block;
}

.footer-container-1 .wpr-nav-menu .wpr-menu-item {
  padding: 0 0 10px 0 !important;
}

.home-testimonial-single {
  position: relative;
  /* Make sure you remove any native borders in the Elementor Style tab */
  border: none; 
}

.home-testimonial-single::before {
  content: "";
  position: absolute;
  inset: 0; 
  border-radius: inherit; /* Magically inherits whatever radius you set in Elementor */
  padding: 1px; /* Your 1px border thickness */
  
  /* Your specific Bayan Health gradient */
  background: linear-gradient(to bottom, #343D35 0%, #7A8F6B 100%);
  
  /* The mask hollows out the middle, leaving only the 1px gradient edge */
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  
  pointer-events: none; /* Ensures the border doesn't block clicks or text selection */
}

.home-testimonial-single.active::before {
  content: "";
  position: absolute;
  inset: 0; 
  border-radius: inherit; /* Magically inherits whatever radius you set in Elementor */
  padding: 1px; /* Your 1px border thickness */
  
  /* Your specific Bayan Health gradient */
  background: linear-gradient(to top, #343D35 0%, #7A8F6B 100%);
  
  /* The mask hollows out the middle, leaving only the 1px gradient edge */
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  
  pointer-events: none; /* Ensures the border doesn't block clicks or text selection */
}

.faq-container {
    max-width: 1075px !important;
    margin: 0 auto;
}

.faq-container .sp-ea-single {
    border-radius: 8px !important;
}

.faq-container h4.ea-header {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    line-height: 26px;
    font-weight: 700 !important;
}

/* --- Form Wrapper & Grid --- */
.bayan-contact-form {
    width: 100%;
    font-family: 'Montserrat', sans-serif;
}

.bayan-form-row {
    margin-bottom: 30px;
    position: relative;
}

.bayan-form-row.col-2 {
    display: flex;
    gap: 30px;
}

.bayan-form-row.col-2 .bayan-form-group {
    flex: 1;
}

/* --- Standard Inputs (Underline Style) --- */
.bayan-contact-form input[type="text"],
.bayan-contact-form input[type="tel"],
.bayan-contact-form select,
.bayan-contact-form textarea, 
.bayan-contact-form .email-group input[type="email"] {
    width: 100%;
    border: none;
    border-bottom: 1px solid #D9C9B2; /* Premium Silver Border */
    background: transparent;
    padding: 12px 0;
    font-size: 15px;
    color: #4A5568;
    outline: none;
    box-shadow: none;
    border-radius: 0;
    transition: border-color 0.3s ease;
}

/* --- Special Email Input (Filled Box Style from your mockup) --- */
/*.bayan-contact-form .email-group input[type="email"] {
    width: 100%;
    border: none;
    /*background: #F4F5FA;*/ /* Soft Background */
    /*border-radius: 8px;*/
    /*padding: 14px 16px;
    font-size: 15px;
    color: #4A5568;
    outline: none;
    box-shadow: none;
}*/

/* Focus States */
.bayan-contact-form input[type="text"]:focus,
.bayan-contact-form input[type="tel"]:focus,
.bayan-contact-form select:focus,
.bayan-contact-form textarea:focus, 
.bayan-contact-form .email-group input[type="email"]:focus {
    border-bottom-color: #343D35; /* Primary Blue */
}

/*.bayan-contact-form .email-group input[type="email"]:focus {
    box-shadow: 0 0 0 1px #312E6B;
}*/

/* Remove default CF7 margins */
.wpcf7 form.sent .wpcf7-response-output, 
.wpcf7 form.failed .wpcf7-response-output, 
.wpcf7 form.aborted .wpcf7-response-output {
    border-radius: 8px;
    margin-top: 20px;
}

/* --- Custom Select Dropdown Arrow --- */
.bayan-form-group.custom-select {
    position: relative;
}

.bayan-form-group.custom-select select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}

.bayan-form-group.custom-select::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A5568' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
}

/* Textarea adjustments */
.bayan-contact-form textarea {
    resize: vertical;
    min-height: 80px;
}

/* --- The Submit Button --- */
.bayan-submit-btn {
    width: 100%;
    background-color: #343D35; /* Secondary Navy */
    color: #FFFFFF;
    border: none;
    border-radius: 50px;
    padding: 18px 24px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}

.bayan-submit-btn:hover {
    background-color: #4A5449; /* Lighter hover state */
}

/* Submit Button Circular Icon */
.bayan-submit-btn .btn-icon {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #F4EFE6;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- Responsive Mobile View --- */
@media (max-width: 768px) {
    .bayan-form-row.col-2 {
        flex-direction: column;
        gap: 24px;
    }
}

/* --- CF7 Validation Error Overrides --- */

/* 1. Hide the default red text messages below each field */
.bayan-contact-form .wpcf7-not-valid-tip {
    display: none !important;
}

/* 2. Change the bottom border to red for standard invalid inputs */
.bayan-contact-form input.wpcf7-not-valid,
.bayan-contact-form select.wpcf7-not-valid,
.bayan-contact-form textarea.wpcf7-not-valid, 
.bayan-contact-form .email-group input[type="email"].wpcf7-not-valid {
    border-bottom-color: #E53E3E !important; /* Premium alert red */
}


.wpcf7-response-output {
    border-radius: 50px !important;
    padding: 10px 10px !important;
    text-align: center;
}

.remove-bg img {
  mix-blend-mode: darken;
}

/* Targeted Wellness grid â€” see also theme bayan-home-wellness.css */
@media (min-width: 769px) {
  .targetted-wellness .elementor-element-893e121 {
    --display: flex;
    --flex-direction: row;
    --flex-wrap: wrap;
    --justify-content: center;
    --gap: 20px 20px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
  }

  .targetted-wellness .elementor-element-893e121 > .e-con-inner {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
  }

  .targetted-wellness .elementor-element-893e121 > .e-con.e-child,
  .targetted-wellness .elementor-element-893e121 > a.e-con.e-child,
  .targetted-wellness .elementor-element-893e121 > .e-con-inner > .e-con.e-child,
  .targetted-wellness .elementor-element-893e121 > .e-con-inner > a.e-con.e-child {
    flex: 0 0 calc(33.333% - 14px);
    max-width: calc(33.333% - 14px);
    width: calc(33.333% - 14px) !important;
    box-sizing: border-box;
  }
}

@media (max-width: 768px) {
  .targetted-wellness .elementor-element-893e121 > .e-con.e-child,
  .targetted-wellness .elementor-element-893e121 > a.e-con.e-child,
  .targetted-wellness .elementor-element-893e121 > .e-con-inner > .e-con.e-child,
  .targetted-wellness .elementor-element-893e121 > .e-con-inner > a.e-con.e-child {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100% !important;
  }
}

.targetted-wellness img {
  max-height: 250px;
  width: auto;
}

