/* Testimonial Submission Form - Modern & Clean */

.testimonials-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding-top: 150px !important;
    min-height: 100vh;
}

.testimonials-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    padding: 2rem 0;
}

.section-title {
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.lead {
    color: #64748b;
    font-size: 1.1rem;
}

/* Card Styling */
.card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.card-body {
    padding: 2.5rem;
}

/* Form Controls */
.form-label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-control {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    background: #fff;
}

.form-control:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    outline: none;
}

.form-control:invalid {
    border-color: #ef4444;
}

/* Star Rating */
.star-rating {
    display: flex;
    gap: 0.25rem;
    margin: 0.5rem 0;
}

.star {
    font-size: 2rem;
    color: #d1d5db;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.star:hover,
.star.active {
    color: #fbbf24;
    transform: scale(1.1);
}

.star:hover {
    filter: drop-shadow(0 2px 4px rgba(251, 191, 36, 0.3));
}

/* Character Counter */
.character-count {
    font-size: 0.85rem;
    margin-top: 0.25rem;
    font-weight: 500;
}

#charCount {
    color: #6b7280;
    transition: color 0.2s ease;
}

/* File Upload */
.form-control[type="file"] {
    padding: 0.6rem;
    cursor: pointer;
}

.form-control[type="file"]::-webkit-file-upload-button {
    background: #f3f4f6;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    margin-right: 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.form-control[type="file"]::-webkit-file-upload-button:hover {
    background: #e5e7eb;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border: none;
    border-radius: 10px;
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
}

.btn-outline-primary {
    border: 2px solid #3b82f6;
    color: #3b82f6;
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-outline-primary:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-1px);
}

/* Alerts */
.alert {
    border: none;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    font-weight: 500;
}

.alert-danger {
    background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
    color: #dc2626;
    border-left: 4px solid #ef4444;
}

.alert-success {
    background: linear-gradient(135deg, #f0fdf4 0%, #bbf7d0 100%);
    color: #16a34a;
    border-left: 4px solid #22c55e;
}

.alert-info {
    background: linear-gradient(135deg, #eff6ff 0%, #bfdbfe 100%);
    color: #2563eb;
    border-left: 4px solid #3b82f6;
}

/* Success State */
.text-success {
    color: #16a34a !important;
}

.fa-check-circle {
    filter: drop-shadow(0 2px 8px rgba(34, 197, 94, 0.2));
}

/* Error States */
.text-danger {
    color: #dc2626 !important;
}

#ratingError {
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

/* Form Text */
.form-text {
    color: #6b7280;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .testimonials-section {
        padding: 1rem 0;
    }

    .card-body {
        padding: 1.5rem;
    }

    .star {
        font-size: 1.75rem;
    }

    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* Loading State */
.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Smooth Animations */
* {
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

/* Focus Indicators */
.form-control:focus,
.btn:focus,
.star:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}