/* Hero Application Page Styles */

:root {
    --hero-primary: #4a148c;
    --hero-secondary: #004d40;
    --hero-accent: #ffd700;
    --hero-bg: #f8fafc;
    --hero-white: #ffffff;
    --hero-text: #2d3748;
    --hero-text-light: #718096;
    --hero-border: #e2e8f0;
    --hero-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --hero-shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --hero-border-radius: 12px;
    --hero-transition: all 0.3s ease;
}

.hero-application-section {
    background: linear-gradient(135deg, var(--hero-bg) 0%, #edf2f7 100%);
    padding: 4rem 0;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Main Content Area */
.application-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.application-form-container {
    background: var(--hero-white);
    padding: 2.5rem;
    border-radius: var(--hero-border-radius);
    box-shadow: var(--hero-shadow-lg);
    border: 1px solid var(--hero-border);
}

/* Header Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 900;
    color: var(--hero-primary);
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--hero-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Form Container */
.application-form-container {
    background: var(--hero-white);
    border-radius: var(--hero-border-radius);
    box-shadow: var(--hero-shadow-lg);
    overflow: hidden;
    border: 1px solid var(--hero-border);
}

.form-wrapper {
    padding: 2.5rem;
}

.form-wrapper h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--hero-primary);
    margin-bottom: 2rem;
    text-align: center;
}

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.form-group {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: 100%;
}

.form-group-full {
    grid-column: 1 / -1;
}

.form-group-checkbox {
    grid-column: 1 / -1;
    margin-top: 1rem;
}

/* Form Elements */
.form-label {
    font-weight: 600;
    color: var(--hero-text);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-input,
.form-textarea {
    padding: 0.875rem 1rem;
    border: 2px solid var(--hero-border);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--hero-transition);
    background: var(--hero-white);
    color: var(--hero-text);
    width: 100%;
    box-sizing: border-box;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--hero-primary);
    box-shadow: 0 0 0 3px rgba(74, 20, 140, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

/* Submit Button */
.btn--primary {
    background: linear-gradient(135deg, var(--hero-primary) 0%, var(--hero-secondary) 100%);
    color: var(--hero-white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--hero-transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
    box-sizing: border-box;
    margin-top: 1rem;
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 20, 140, 0.3);
}

.btn--primary:active {
    transform: translateY(0);
}

/* Checkbox Styles */
.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    color: var(--hero-text);
}

.checkbox-input {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--hero-border);
    border-radius: 4px;
    margin-right: 0.75rem;
    position: relative;
    transition: var(--hero-transition);
}

.checkbox-input:checked + .checkbox-custom {
    background: var(--hero-primary);
    border-color: var(--hero-primary);
}

.checkbox-input:checked + .checkbox-custom::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* Form Footer */
.form-footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--hero-border);
}

.submit-btn {
    background: #7B1FA2;
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: var(--hero-border-radius);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--hero-transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--hero-shadow);
    margin-bottom: 1rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--hero-shadow-lg);
}

.submit-btn:active {
    transform: translateY(0);
}

.btn-icon {
    font-size: 1.2rem;
}

.form-note {
    font-size: 0.85rem;
    color: var(--hero-text-light);
    line-height: 1.5;
    margin: 0;
}

/* Benefits Container */
.benefits-container {
    background: var(--hero-white);
    border-radius: var(--hero-border-radius);
    box-shadow: var(--hero-shadow-lg);
    overflow: hidden;
    border: 1px solid var(--hero-border);
}

.benefits-wrapper {
    padding: 2.5rem;
}

.benefits-wrapper h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--hero-primary);
    margin-bottom: 2rem;
    text-align: center;
}

/* Benefits List */
.benefits-list {
    margin-bottom: 2.5rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--hero-bg);
    border-radius: 8px;
    transition: var(--hero-transition);
}

.benefit-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--hero-shadow);
}

.benefit-icon {
    font-size: 2rem;
    margin-right: 1rem;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--hero-primary) 0%, var(--hero-secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(0);
}

.benefit-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--hero-text);
    margin-bottom: 0.25rem;
}

.benefit-content p {
    color: var(--hero-text-light);
    margin: 0;
    font-size: 0.95rem;
}

/* Hero Stats */
.hero-stats {
    padding-top: 2rem;
    border-top: 1px solid var(--hero-border);
}

.hero-stats h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--hero-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stat {
    text-align: center;
    padding: 1rem;
    background: var(--hero-bg);
    border-radius: 8px;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--hero-primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--hero-text-light);
}

/* Validation Styles */
.text-danger {
    color: #e53e3e;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-application-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .section-header h2 {
        font-size: 2.5rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .form-wrapper,
    .benefits-wrapper {
        padding: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .benefit-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-application-section {
        padding: 2rem 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .form-wrapper,
    .benefits-wrapper {
        padding: 1rem;
    }
    
    .submit-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 8px !important;
    }
    .application-content {
        grid-template-columns: 1fr !important;
        gap: 1.2rem !important;
    }
    .form-grid {
        grid-template-columns: 1fr !important;
        gap: 0.8rem !important;
    }
    .form-wrapper,
    .benefits-wrapper {
        padding: 0.8rem !important;
    }
    .application-form-container,
    .benefits-container {
        border-radius: 10px;
        box-shadow: var(--hero-shadow);
        padding: 0.8rem 0.8rem 1.2rem 0.8rem;
    }
    .form-label,
    .form-input,
    .form-textarea,
    .submit-btn,
    .cta-button {
        font-size: 1rem !important;
    }
    .form-input,
    .form-textarea {
        padding: 0.7rem 0.7rem;
    }
    .form-group,
    .form-group-full,
    .form-group-checkbox {
        margin-bottom: 0.7rem;
    }
    .benefit-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.7rem;
        margin-bottom: 1rem;
    }
    .benefit-icon {
        margin-bottom: 0.5rem;
        margin-right: 0;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    .section-header h2 {
        font-size: 1.5rem !important;
    }
    .section-subtitle {
        font-size: 1rem !important;
    }
    .form-footer {
        padding: 0;
    }
    .submit-btn,
    .cta-button {
        font-size: 1.1rem;
        padding: 0.9rem 0.5rem;
        border-radius: 7px;
    }
    .form-note {
        font-size: 0.8rem;
    }
    .application-form-container {
        max-width: 98vw !important;
        margin: 0 auto !important;
        padding: 0.7rem 0.3rem 1rem 0.3rem !important;
    }
    .form-wrapper {
        padding: 0.7rem 0.2rem !important;
    }
    .process-cards-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }
    .process-card {
        padding: 14px 7px !important;
    }
    .section-header-center h2,
    .section-title-v4 {
        font-size: 1.1em !important;
    }
}

.process-cards-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
}
.process-card {
    padding: 18px 10px !important;
}
