/* =====================================================
   LocalAssam - Submission Form Styles
   ===================================================== */

/* ===== Submit Header ===== */
.submit-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.submit-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,50 Q300,0 600,50 T1200,50 L1200,120 L0,120 Z" fill="rgba(255,255,255,0.1)"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.submit-header > * {
    position: relative;
    z-index: 1;
}

.submit-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--white);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.submit-header h1::before {
    content: '';
    display: none;
}

.submit-header p {
    font-size: 1.3rem;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Submit Section ===== */
.submit-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--light-bg) 0%, var(--white) 100%);
}

.form-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: start;
}

/* ===== Form Sidebar ===== */
.form-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(26, 127, 78, 0.08);
    transition: all 0.3s ease;
}

.info-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.info-card h3 {
    margin-bottom: 18px;
    font-size: 1.25rem;
    color: var(--text-dark);
    font-weight: 700;
}

.info-card ul,
.info-card ol {
    list-style: none;
    padding: 0;
}

.info-card ul li,
.info-card ol li {
    margin-bottom: 12px;
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

.info-card ol li {
    counter-increment: step-counter;
    list-style: decimal;
    list-style-position: inside;
}

.highlight-card {
    background: linear-gradient(135deg, rgba(26, 127, 78, 0.1), rgba(26, 127, 78, 0.05));
    border: 2px solid var(--primary-color);
}

.highlight-card h3 {
    color: var(--primary-dark);
}

.highlight-card p {
    margin-bottom: 10px;
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== Form Styles ===== */
.submit-form {
    background: var(--white);
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(26, 127, 78, 0.1);
}

fieldset {
    margin-bottom: 35px;
    border: none;
    padding-bottom: 35px;
    border-bottom: 2px solid var(--border-color);
}

fieldset:last-of-type {
    border-bottom: none;
}

legend {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 25px;
    padding-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

legend::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

/* ===== Form Groups ===== */
.form-group {
    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.95rem;
}

label small {
    display: block;
    font-weight: normal;
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 3px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--white);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(26, 127, 78, 0.15);
    background: rgba(26, 127, 78, 0.02);
}

textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

select {
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="currentColor" stroke-width="1.5"><polyline points="6 8 10 12 14 8"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    padding-right: 35px;
}

small {
    display: block;
    margin-top: 6px;
    color: var(--text-light);
    font-size: 0.85rem;
}

.upload-note {
    color: var(--text-light);
    margin-bottom: 15px;
}

/* ===== File Upload ===== */
.file-upload {
    position: relative;
    margin-bottom: 20px;
}

#photos {
    display: none;
}

.upload-area {
    border: 2px dashed var(--primary-color);
    border-radius: 12px;
    padding: 50px 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, rgba(26, 127, 78, 0.08), rgba(26, 127, 78, 0.03));
}

.file-upload:hover .upload-area,
.file-upload.dragover .upload-area {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, rgba(26, 127, 78, 0.12), rgba(26, 127, 78, 0.06));
    box-shadow: 0 8px 25px rgba(26, 127, 78, 0.18);
}

.upload-area .icon {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 15px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.upload-area p {
    margin: 8px 0;
    color: var(--text-light);
}

.upload-area p strong {
    color: var(--primary-color);
    font-weight: 700;
}

.upload-area .btn-secondary {
    margin-top: 20px;
}

/* ===== Photo Preview ===== */
.photo-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.photo-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-item .remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(231, 76, 60, 0.9);
    color: var(--white);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
}

.photo-item .remove-btn:hover {
    background: rgba(231, 76, 60, 1);
}

/* ===== Checkbox ===== */
.checkbox-group {
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    cursor: pointer;
    font-weight: normal;
    color: var(--text-dark);
    transition: all 0.2s ease;
}

.checkbox-label:hover {
    color: var(--primary-color);
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.checkbox-label span {
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ===== Form Actions ===== */
.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
    justify-content: flex-start;
}

.btn-large {
    padding: 16px 45px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary.btn-large {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary.btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 127, 78, 0.35);
}

.btn-outline.btn-large {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
}

.btn-outline.btn-large:hover {
    background: var(--light-bg);
    transform: translateY(-2px);
}

.form-note {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 20px;
    padding: 18px 20px;
    background: linear-gradient(135deg, rgba(26, 127, 78, 0.1), rgba(26, 127, 78, 0.04));
    border-left: 5px solid var(--primary-color);
    border-radius: 0 8px 8px 0;
    line-height: 1.6;
}

/* ===== FAQ Section ===== */
.faq-section {
    padding: 100px 0;
    background: var(--white);
}

.faq-section h2 {
    margin-bottom: 50px;
    font-size: 2.5rem;
    text-align: center;
    color: var(--text-dark);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.faq-item {
    background: linear-gradient(135deg, var(--light-bg), rgba(26, 127, 78, 0.03));
    padding: 30px;
    border-radius: 12px;
    border-left: 5px solid var(--primary-color);
    transition: all 0.3s ease;
    border-top: 1px solid rgba(26, 127, 78, 0.1);
}

.faq-item:hover {
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
    border-left-color: var(--accent-color);
}

.faq-item h3 {
    font-size: 1.15rem;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 700;
}

.faq-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.7;
}

/* ===== Responsive Design ===== */
@media (max-width: 968px) {
    .form-wrapper {
        grid-template-columns: 1fr;
    }

    .form-sidebar {
        order: 2;
    }

    .submit-form {
        order: 1;
    }
}

@media (max-width: 768px) {
    .submit-header {
        padding: 60px 0;
    }

    .submit-header h1 {
        font-size: 2rem;
    }

    .submit-header p {
        font-size: 1rem;
    }

    .submit-form {
        padding: 25px;
    }

    legend {
        font-size: 1.2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn-large {
        max-width: 100%;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .upload-area {
        padding: 25px;
    }

    .upload-area .icon {
        font-size: 2rem;
    }

    .photo-preview {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
}

@media (max-width: 480px) {
    .submit-header h1 {
        font-size: 1.5rem;
    }

    .submit-form {
        padding: 20px;
    }

    legend {
        font-size: 1.1rem;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .checkbox-label {
        font-size: 0.9rem;
    }

    .upload-area {
        padding: 20px;
    }

    .form-note {
        font-size: 0.85rem;
    }

    .faq-item {
        padding: 20px;
    }

    .faq-item h3 {
        font-size: 1rem;
    }
}
