/* Hero Section */
.hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 546px;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
    background-image: url('https://quimbaya-tours.com/wp-content/uploads/2023/12/iStock-1147164724-2.jpg');

}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/* Form Section */

#tailorMadeForm > .row>* {
    padding-left: 20px;
    padding-right: 20px;
}

.form-section {
    padding: 80px 0;
    background-color: white;
}

.section-title {
    font-size: 35px;
    font-weight: 700;
    color: #484848;
    font-family: Montserrat, sans-serif;
    margin-bottom: 10px;
}

.section-subtitle {
    margin-top: 0px;
    margin-bottom: 0px;
    font-size: 28px;
    color: #484848B0;
    font-weight: 600;
    font-family: Montserrat, sans-serif;
}

/* Decorative Line */
.decorative-line {
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, #6ec1e4, #41a1ce);
    margin: 0 auto;
    border-radius: 2px;
}

/* Form Wrapper */
.form-wrapper {
    position: relative;
    overflow: hidden;
    padding: 20px 8px;
    border-radius: 10px;
}

.form-wrapper form::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: #f5f5f5;
    z-index: 0;
    border-radius: 20px;
}

.form-wrapper form > * {
    position: relative;
    z-index: 1;
}

/* Form Styling */
.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.form-control,
.form-select {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: #6ec1e4;
    box-shadow: 0 0 0 0.2rem rgba(110, 193, 228, 0.25);
}

.form-select {
    cursor: pointer;
}

.form-control,
.form-select {
    border-color: #b1adad;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Required Fields */
.text-danger {
    color: #dc3545;
}

/* Submit Button */
.btn-primary {
    background-color: #6ec1e4;
    border-color: #6ec1e4;
    font-weight: 600;
    padding: 12px 40px;
    font-size: 1.1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #41a1ce;
    border-color: #41a1ce;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(65, 161, 206, 0.3);
}

/* Validation Feedback */
.invalid-feedback {
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.was-validated .form-control:invalid,
.was-validated .form-select:invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.was-validated .form-control:valid,
.was-validated .form-select:valid {
    border-color: #198754;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

/* Success/Error Alerts */
.alert {
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 30px;
}

@media (min-width: 768px) {

    .form-question-width-20 {
        width: 20%;
    }

    .form-question-width-30 {
        width: 30%;
    }

    .form-question-width-40 {
        width: 40%;
    }

    .form-question-width-60 {
        width: 60%;
    }

    .btn-main-contact {
        margin-top: 34px;
        width: 100%;
        align-self: end;
    }
}

/* Responsive */
@media (max-width: 991px) {
    .form-wrapper {
        padding: 40px 30px;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .form-wrapper form::before {
        width: 100%;
    }

    .hero-section {
        min-height: 0px;
        padding: 60px 0 115px 0;
    }

    .form-section {
        padding: 0 0 60px 0;
    }

    .form-wrapper {
        padding: 30px 20px;
        border-radius: 15px;
    }

    .decorative-line {
        width: 80px;
        height: 3px;
    }

    .btn-primary {
        padding: 10px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 575px) {
    .form-wrapper {
        padding: 25px 15px;
    }

    .form-label {
        font-size: 0.95rem;
    }

    .form-control,
    .form-select {
        font-size: 0.95rem;
        padding: 10px 12px;
    }
}