/* CSS/survey.css */

/* =========================================
   SURVEY HERO
   ========================================= */
.survey-hero {
    background: linear-gradient(135deg, #1a5f2a 0%, #0d3a18 100%);
    color: #fff;
    padding: 70px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.survey-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(163, 217, 119, 0.15), transparent 60%);
    pointer-events: none;
}
.survey-hero .container { position: relative; z-index: 1; }

.survey-hero-eyebrow {
    font-size: 11px;
    letter-spacing: 3px;
    color: #a3d977;
    font-weight: 700;
    margin-bottom: 15px;
}
.survey-hero h1 {
    font-size: 46px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.15;
}
.survey-hero h1 span { color: #a3d977; }

.survey-hero-sub {
    font-size: 16px;
    line-height: 1.8;
    max-width: 720px;
    margin: 0 auto 25px;
    opacity: 0.95;
}

.rating-legend {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 13px;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    line-height: 1.8;
}

/* =========================================
   SURVEY SECTION
   ========================================= */
.survey-section {
    padding: 50px 0 80px;
    background: #f5f7f5;
}
.survey-form {
    max-width: 900px;
    margin: 0 auto;
}

.survey-card {
    background: #fff;
    border-radius: 18px;
    padding: 35px 40px;
    margin-bottom: 25px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    border-left: 5px solid #43B143;
}

.survey-card h2 {
    font-size: 20px;
    color: #1a5f2a;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f5f0;
    display: flex;
    align-items: center;
    gap: 12px;
}
.survey-card h2 i { color: #43B143; }

/* =========================================
   RESPONDENT INFO FIELDS
   ========================================= */
.survey-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }

.field label {
    font-size: 13px;
    font-weight: 600;
    color: #1a5f2a;
}
.field .opt {
    font-weight: 400;
    color: #999;
    font-size: 11px;
}
.field .req {
    color: #e74c3c;
    font-weight: 700;
    margin-left: 3px;
    font-size: 14px;
}

.field input,
.field textarea,
.field select {
    padding: 12px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    background: #fafafa;
    transition: 0.25s;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
    border-color: #43B143;
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(67, 177, 67, 0.1);
}
.field textarea { resize: vertical; }

.field-hint {
    display: block;
    margin-top: 6px;
    font-size: 11.5px;
    color: #888;
    font-style: italic;
    letter-spacing: 0.3px;
}

/* =========================================
   RATING ROWS
   ========================================= */
.rating-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px dashed #eaeaea;
    gap: 25px;
}
.rating-row:last-child { border-bottom: none; }

.rating-label {
    flex: 1;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}
.rating-label small {
    display: block;
    color: #888;
    font-size: 12px;
    margin-top: 3px;
}

.rating-stars {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}
.rating-stars i {
    font-size: 26px;
    color: #ccc;
    cursor: pointer;
    transition: 0.15s;
}
.rating-stars i.fa-solid { color: #f5b301; }
.rating-stars i:hover { transform: scale(1.2); }

/* =========================================
   YES/NO ROW
   ========================================= */
.yesno-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    gap: 25px;
    flex-wrap: wrap;
}
.yesno-options {
    display: flex;
    gap: 25px;
}
.yesno-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
}
.yesno-options input[type="radio"] {
    accent-color: #43B143;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* =========================================
   SUBMIT
   ========================================= */
.survey-submit {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}
.btn-submit-survey {
    padding: 16px 45px;
    border-radius: 50px;
    background: linear-gradient(135deg, #1a5f2a, #43B143);
    color: #fff;
    border: none;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(67, 177, 67, 0.3);
    transition: 0.3s;
}
.btn-submit-survey:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(67, 177, 67, 0.45);
}
.thankyou-note {
    margin-top: 20px;
    color: #666;
    font-size: 14px;
    font-style: italic;
}
.form-meta {
    margin-top: 15px;
    color: #999;
    font-size: 12px;
    letter-spacing: 0.5px;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
    .survey-hero { padding: 50px 0 40px; }
    .survey-hero h1 { font-size: 32px; }
    .survey-hero-sub { font-size: 14px; }

    .survey-card { padding: 25px 20px; }
    .survey-card h2 { font-size: 17px; }

    .survey-fields { grid-template-columns: 1fr; }

    .rating-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .rating-stars { align-self: flex-end; }
    .rating-stars i { font-size: 24px; }

    .yesno-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .btn-submit-survey {
        width: 100%;
        justify-content: center;
    }
}