/* FAQ and Form Section Styles */
.faq-form-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.faq-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmfaq-titlelns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="waves" width="100" height="20" patternUnits="userSpaceOnUse"><path d="M0 10 Q25 0 50 10 T100 10 V20 H0 Z" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23waves)"/></svg>');
    opacity: 0.1;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.section-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.faq-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

.faq-header {
    margin-bottom: 30px;
}

.faq-title {
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.faq-title i {
    color: #3498db;
}

.faq-accordion .faq-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.faq-question {
    background: #f8f9fa;
    border: none;
    padding: 20px 25px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.faq-question:not(.collapsed) {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.faq-question:focus {
    box-shadow: none;
    border: none;
}

.faq-icon {
    color: #3498db;
    transition: all 0.3s ease;
}

.faq-question:not(.collapsed) .faq-icon {
    color: white;
    transform: rotate(45deg);
}

.faq-question.collapsed .faq-icon {
    transform: rotate(0deg);
}

.faq-answer {
    padding: 25px;
    background: white;
    color: #5a6c7d;
    line-height: 1.7;
    font-size: 0.95rem;
}

.inquiry-form-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
    height: fit-content;
}

.form-header {
    margin-bottom: 30px;
}

.form-title {
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.form-title i {
    color: #e74c3c;
}

.form-subtitle {
    color: #7f8c8d;
    margin: 0;
    font-size: 0.95rem;
}

.form-group {
    position: relative;
}

.form-label {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.form-label i {
    color: #3498db;
    margin-right: 8px;
    width: 16px;
}

.form-input,
.form-select,
.form-textarea {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: white;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
    outline: none;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #c0392b, #a93226);
    transition: left 0.3s ease;
    z-index: 1;
}

.btn-submit:hover::before {
    left: 0;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
}

.btn-submit span,
.btn-submit i {
    position: relative;
    z-index: 2;
}

.btn-loading {
    display: none;
}

.btn-submit.loading .btn-loading {
    display: inline;
}

.btn-submit.loading i:first-child {
    display: none;
}

/* Custom Scrollbar for FAQ */
.faq-container::-webkit-scrollbar {
    width: 6px;
}

.faq-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.faq-container::-webkit-scrollbar-thumb {
    background: #3498db;
    border-radius: 3px;
}

.faq-container::-webkit-scrollbar-thumb:hover {
    background: #2980b9;
}

/* Animation for form submission */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.form-group.error .form-input,
.form-group.error .form-select,
.form-group.error .form-textarea {
    border-color: #e74c3c;
    animation: shake 0.5s ease-in-out;
}

/* Responsive Design */
@media (max-width: 992px) {
    .faq-form-section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .faq-container,
    .inquiry-form-container {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .faq-container,
    .inquiry-form-container {
        padding: 30px 20px;
    }
    
    .faq-title,
    .form-title {
        font-size: 1.3rem;
    }
    
    .faq-question {
        padding: 15px 20px;
        font-size: 0.95rem;
    }
    
    .faq-answer {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .faq-form-section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 50px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .faq-container,
    .inquiry-form-container {
        padding: 25px 15px;
    }
    
    .faq-question {
        padding: 12px 15px;
    }
    
    .faq-answer {
        padding: 15px;
    }
    
    .form-input,
    .form-select,
    .form-textarea {
        padding: 10px 12px;
    }
    
    .btn-submit {
        padding: 12px 25px;
    }
}