/* FAQ Section Styles */
.faq-section {
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    margin: 40px 0;
}

.faq-subtitle {
    text-align: center;
    color: #475569;
    font-size: 16px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.faq-container {
    max-width: 700px;
    margin: 0 auto;
}

/* FAQ Form Styles */
.faq-form {
    background: #fff;
    padding: 35px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #1e3a8a;
    margin-bottom: 8px;
}

.required {
    color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    background: #fff;
    color: #0f172a;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%232563eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

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

/* Form Actions */
.form-actions {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.submit-btn {
    background: linear-gradient(135deg, #2563eb, #60a5fa);
    color: #fff;
    border: none;
    padding: 14px 40px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 180px;
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
}

.submit-btn:active:not(:disabled) {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto;
}

.submit-btn.loading .btn-text {
    display: none;
}

.submit-btn.loading .btn-loader {
    display: block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Form Message */
.form-message {
    margin-top: 20px;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    display: none;
}

.form-message.show {
    display: block;
}

.form-message.success {
    background: rgba(34, 197, 94, 0.1);
    color: #15803d;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Floating FAQ Button */
.floating-faq-btn {
    position: fixed;
    bottom: 50px;
    right: 50px;
    width: 120px;
    height: 60px;
    border-radius: 10px;
    background: linear-gradient(135deg, #2563eb, #60a5fa);
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
    z-index: 90;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: floatBounce 2s ease-in-out infinite;
}

.floating-faq-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.5);
}

.floating-faq-btn:active {
    transform: scale(1.05);
}

.faq-icon {
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
}

@keyframes floatBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .faq-section {
        padding: 30px 20px;
        margin: 30px 0;
    }

    .faq-form {
        padding: 25px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-group {
        margin-bottom: 18px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 11px 14px;
        font-size: 14px;
    }

    .submit-btn {
        width: 100%;
        padding: 13px 30px;
        font-size: 15px;
    }

    .floating-faq-btn {
        width: 60px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }

    .faq-icon {
        font-size: 10px;
    }

    .faq-subtitle {
        font-size: 15px;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .faq-section {
        padding: 25px 16px;
    }

    .faq-form {
        padding: 20px 16px;
    }

    .floating-faq-btn {
        width: 60px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }

    .faq-icon {
        font-size: 10px;
    }
}