/* banner */

.banner {
    position: relative;
    height: 350px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.banner::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), color-mix(in srgb, var(--primary-color) 80%, transparent));
    top: 0;
    left: 0;
}

.banner_content {
    position: relative;
    max-width: 100%;
    height: 100%;
    padding: 20px 0;
    text-align: center;
    margin-bottom: 30px;
}

.banner_heading {
    font-family: 'Kanit', sans-serif;
    font-size: 56px;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 4px;
    line-height: 1.2;
    margin-bottom: 10px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.banner_para {
    color: #495057;
    font-size: 16px;
    font-weight: normal;
    line-height: 34px;
    margin-bottom: 48px;
    font-family: "Inter", serif;
}


@media only screen and (max-width:767px) {
    .banner {
        height: auto;
        padding: 15px 0px 0px 0px;
    }

    .banner_heading {
        font-size: 28px;
        margin-top: 30px;
        margin-bottom: 0;
    }

    .banner {
        height: auto;
    }
}


/* banner */

.booking_form {
    padding: 40px 0;
}

.booking_form .book_now {
    padding: 50px 40px;
    background: var(--text-light);
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.booking_form .book_now .form-select,
.booking_form .book_now .form-control {
    border-radius: 10px;
    border: 1px solid var(--primary-color);
    padding: 12px 15px;
    background-color: var(--text-light);
    color: var(--text-dark);
    font-family: 'Kanit', sans-serif;
    transition: all 0.3s ease;
}

.booking_form .book_now .form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23006064' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 12px;
    padding-right: 2.5rem;
}

.booking_form .book_now .form-label {
    font-family: 'Kanit', sans-serif;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 8px;
}

.booking_form .disclaimer {
    margin: 30px 0;
    padding: 20px;
}

.booking_form .disclaimer p {
    font-family: 'kanit' sans-serif;
    font-size: 16px;
    color: #000;
}

.booking_form .disclaimer p span {
    color: var(--primary-color);
}


.input_wrap input:focus::placeholder,
.input_wrap input:not(:placeholder-shown)::placeholder {
    color: transparent;
    transition: 0.3s ease-in-out;
}

.booking_form .book_now .form-control:focus,
.booking_form .book_now .form-select:focus {
    border-color: var(--primary-color);
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(0, 96, 100, 0.25);
    background-color: var(--text-light);
}


input:-webkit-autofill,
select:-webkit-autofill {
    background-color: #fff !important;
    transition: background-color 5000s ease-in-out 0s !important;
    color: #000;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.input_wrap select option {
    background-color: var(--text-light);
    color: var(--text-dark);
    padding: 10px;
}

.input_wrap select option:hover,
.input_wrap select option:focus,
.input_wrap select option:checked {
    background-color: var(--primary-color) !important;
    color: var(--secondary-color) !important;
}
/* ============================================
   Apply Now - Enhanced Styles
   ============================================ */

/* Page layout - 2 column on desktop */
.apply-page-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 36px;
    align-items: start;
}

/* Sidebar trust panel */
.apply-trust-panel {
    position: sticky;
    top: 90px;
}

.apply-trust-card {
    background: #fdf6f7;
    border: 1px solid rgba(170,35,64,0.12);
    border-top: 3px solid var(--primary-color);
    border-radius: 14px;
    padding: 26px 24px;
    margin-bottom: 16px;
}

.apply-trust-card__title {
    font-family: 'Kanit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.apply-trust-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.apply-trust-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-family: 'Gabarito', sans-serif;
    font-size: 13px;
    color: #444;
    padding: 7px 0;
    border-bottom: 1px dashed rgba(170,35,64,0.1);
    line-height: 1.5;
}

.apply-trust-list li:last-child { border-bottom: none; }

.apply-trust-list li i {
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 14px;
}

.apply-whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25D366;
    color: #fff !important;
    text-decoration: none !important;
    padding: 13px 20px;
    border-radius: 10px;
    font-family: 'Kanit', sans-serif;
    font-size: 15px;
    font-weight: 600;
    transition: opacity 0.2s, transform 0.15s;
    margin-top: 4px;
}
.apply-whatsapp-btn:hover { opacity: 0.9; transform: translateY(-2px); }
.apply-whatsapp-btn i { font-size: 20px; }

/* Form section heading */
.apply-form-section {
    margin-bottom: 28px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(170,35,64,0.1);
}

.apply-form-section__title {
    font-family: 'Kanit', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.apply-form-section__sub {
    font-family: 'Gabarito', sans-serif;
    font-size: 13px;
    color: #888;
}

/* Course option cards */
.course-option-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.course-option {
    position: relative;
}

.course-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.course-option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 12px;
    border: 1.5px solid rgba(170,35,64,0.2);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Kanit', sans-serif;
    gap: 6px;
    width: 100%;
}

.course-option label:hover {
    border-color: var(--primary-color);
    background: rgba(170,35,64,0.04);
}

.course-option input:checked + label {
    border-color: var(--primary-color);
    background: rgba(170,35,64,0.07);
    box-shadow: 0 0 0 2px rgba(170,35,64,0.2);
}

.course-option__icon {
    font-size: 22px;
    color: var(--primary-color);
}

.course-option__name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
}

.course-option__price {
    font-size: 12px;
    color: #777;
    font-weight: 400;
}

/* Retreat duration select container */
.retreat-duration-group {
    display: none;
}

.retreat-duration-group.active {
    display: block;
}

/* Submit button */
.apply-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--primary-color);
    color: #fff !important;
    border: none;
    padding: 15px 40px;
    border-radius: 8px;
    font-family: 'Kanit', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
    text-decoration: none;
    width: 100%;
}

.apply-submit-btn:hover { opacity: 0.88; transform: translateY(-2px); }
.apply-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* Success/Error messages */
.apply-response {
    padding: 14px 18px;
    border-radius: 8px;
    font-family: 'Gabarito', sans-serif;
    font-size: 14px;
    margin-top: 14px;
    display: none;
}
.apply-response--success {
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    color: #2e7d32;
}
.apply-response--error {
    background: #fdecea;
    border: 1px solid #ef9a9a;
    color: #c62828;
}

/* Disclaimer */
.apply-disclaimer {
    background: #fdf6f7;
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
    padding: 16px 20px;
    margin-top: 24px;
}
.apply-disclaimer p {
    font-family: 'Gabarito', sans-serif;
    font-size: 13px;
    color: #555;
    margin: 0;
    line-height: 1.7;
}
.apply-disclaimer strong { color: var(--primary-color); }

/* Responsive */
@media (max-width: 991px) {
    .apply-page-grid {
        grid-template-columns: 1fr;
    }
    .apply-trust-panel {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
}

@media (max-width: 600px) {
    .apply-trust-panel {
        grid-template-columns: 1fr;
    }
    .course-option-group {
        grid-template-columns: 1fr 1fr;
    }
}
