.feedback-section {
    padding: 50px 0 70px;
    background: #f4f6f9;
    min-height: 60vh;
}

.feedback-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.feedback-card-header {
    background: linear-gradient(135deg, #1a3a5c 0%, #2980b9 100%);
    color: white;
    padding: 35px 40px;
    text-align: center;
}

.feedback-card-header h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
}

.feedback-card-header p {
    opacity: 0.85;
    margin: 0;
    font-size: 15px;
}

.feedback-form {
    padding: 10px 0;
}

.form-section {
    padding: 28px 40px;
    border-bottom: 1px solid #f0f0f0;
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a3a5c;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e8f0fe;
}

.form-control,
.form-select {
    border: 1px solid #dde2ec;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus,
.form-select:focus {
    border-color: #2980b9;
    box-shadow: 0 0 0 3px rgba(41,128,185,0.12);
}

.required { color: #e74c3c; }
.optional { color: #95a5a6; font-size: 12px; }

/* Star Rating */
.star-rating-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.star-rating {
    display: flex;
    flex-direction: row-reverse;
    gap: 4px;
}

.star-rating input {
    display: none;
}

.star-rating label {
    font-size: 36px;
    color: #ddd;
    cursor: pointer;
    transition: color 0.15s, transform 0.1s;
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
    color: #f39c12;
}

.star-rating label:hover {
    transform: scale(1.15);
}

.rating-label {
    font-size: 15px;
    color: #666;
    font-weight: 500;
    min-width: 160px;
}

/* Form Actions */
.form-actions {
    padding: 20px 40px 36px;
    text-align: center;
}

.btn-submit {
    background: linear-gradient(135deg, #1a3a5c, #2980b9);
    color: white;
    border: none;
    padding: 14px 48px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.1s;
    letter-spacing: 0.5px;
}

.btn-submit:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

/* Thank You Card */
.thank-you-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
    padding: 70px 40px;
}

.thank-you-icon {
    font-size: 72px;
    color: #27ae60;
    margin-bottom: 24px;
    animation: pop 0.4s ease;
}

@keyframes pop {
    0%   { transform: scale(0.5); opacity: 0; }
    80%  { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.thank-you-card h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1a3a5c;
    margin-bottom: 12px;
}

.thank-you-card p {
    color: #666;
    font-size: 15px;
    max-width: 440px;
    margin: 0 auto 30px;
}

.btn-home {
    display: inline-block;
    background: #1a3a5c;
    color: white;
    padding: 12px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-home:hover {
    background: #2980b9;
    color: white;
}

.privacy-note {
    margin-top: 12px;
    font-size: 12px;
    color: #888;
}

.privacy-note .fa-lock {
    color: #27ae60;
}

/* reCAPTCHA centred on mobile */
.g-recaptcha {
    display: inline-block;
}

@media (max-width: 768px) {
    .form-section { padding: 22px 20px; }
    .feedback-card-header { padding: 28px 20px; }
    .form-actions { padding: 20px 20px 30px; }
    .star-rating label { font-size: 28px; }
    .thank-you-card { padding: 50px 24px; }
}
