/* Gap2Skill Student Intake Form - Modern Styling */

/* ==================== RESET & BASE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors */
    --primary-blue: #1e3a8a;
    --secondary-blue: #3b82f6;
    --accent-gold: #f59e0b;
    --light-blue: #60a5fa;
    --sky-blue: #dbeafe;
    
    /* Functional Colors */
    --success-green: #10b981;
    --warning-orange: #f97316;
    --error-red: #ef4444;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --border-gray: #e5e7eb;
    --bg-light: #f9fafb;
    --white: #ffffff;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    padding: var(--spacing-md);
}

/* ==================== CONTAINER ==================== */
.container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

/* ==================== HEADER ==================== */
.header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    padding: var(--spacing-lg);
    text-align: center;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.logo img {
    height: 50px;
    width: auto;
}

.logo h1 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo .highlight {
    color: var(--accent-gold);
}

.tagline {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 300;
}

/* ==================== PROGRESS BAR ==================== */
.progress-container {
    background: var(--bg-light);
    padding: var(--spacing-lg);
    border-bottom: 2px solid var(--border-gray);
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.progress-title {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
}

.progress-percentage {
    font-weight: 700;
    color: var(--secondary-blue);
    font-size: 1.1rem;
}

.progress-bar {
    height: 8px;
    background: var(--border-gray);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: var(--spacing-md);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-blue), var(--light-blue));
    width: 0%;
    transition: width 0.5s ease;
    border-radius: 999px;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    gap: var(--spacing-xs);
}

.step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--border-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-gray);
    transition: all 0.3s ease;
}

.step.active .step-circle {
    background: var(--secondary-blue);
    border-color: var(--secondary-blue);
    color: var(--white);
    transform: scale(1.1);
}

.step.completed .step-circle {
    background: var(--success-green);
    border-color: var(--success-green);
    color: var(--white);
}

.step span {
    font-size: 0.75rem;
    color: var(--text-gray);
    text-align: center;
    font-weight: 500;
}

.step.active span {
    color: var(--secondary-blue);
    font-weight: 600;
}

/* ==================== FORM STEPS ==================== */
.form-step {
    display: none;
    padding: var(--spacing-lg);
    animation: fadeIn 0.4s ease;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== WELCOME SECTION ==================== */
.welcome-section {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.welcome-section h2 {
    color: var(--primary-blue);
    font-size: 1.75rem;
    margin-bottom: var(--spacing-sm);
}

.welcome-text {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
}

.benefit-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.benefit-card {
    background: var(--sky-blue);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: var(--spacing-xs);
}

.benefit-card p {
    color: var(--primary-blue);
    font-weight: 500;
    font-size: 0.95rem;
}

.time-estimate {
    color: var(--text-gray);
    font-size: 0.95rem;
    font-style: italic;
    margin-top: var(--spacing-md);
}

/* ==================== FORM SECTIONS ==================== */
.form-section {
    margin-bottom: var(--spacing-lg);
}

.form-section h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
    padding-bottom: var(--spacing-sm);
    border-bottom: 3px solid var(--accent-gold);
}

.section-subtitle {
    color: var(--text-gray);
    margin-bottom: var(--spacing-lg);
    font-size: 1rem;
}

/* ==================== FORM ELEMENTS ==================== */
.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group.half-width {
    grid-column: span 1;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
    font-size: 0.95rem;
}

.required {
    color: var(--error-red);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="url"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid var(--border-gray);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group input::placeholder {
    color: #9ca3af;
}

.helper-text {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-top: var(--spacing-xs);
    font-style: italic;
}

/* ==================== CHECKBOXES ==================== */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm);
    background: var(--bg-light);
    border: 2px solid var(--border-gray);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.checkbox-label:hover {
    background: var(--sky-blue);
    border-color: var(--light-blue);
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--secondary-blue);
}

.checkbox-label input[type="checkbox"]:checked + span {
    color: var(--secondary-blue);
    font-weight: 600;
}

.consent-checkbox {
    background: var(--white);
    padding: var(--spacing-md);
    border: 2px solid var(--border-gray);
}

.consent-checkbox span {
    line-height: 1.5;
}

.consent-checkbox a {
    color: var(--secondary-blue);
    text-decoration: underline;
}

/* ==================== FILE UPLOAD ==================== */
.upload-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.upload-card {
    background: var(--bg-light);
    border: 2px dashed var(--border-gray);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    text-align: center;
    transition: all 0.3s ease;
}

.upload-card:hover {
    border-color: var(--secondary-blue);
    background: var(--sky-blue);
}

.upload-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.upload-card h4 {
    color: var(--primary-blue);
    margin-bottom: var(--spacing-xs);
    font-size: 1.1rem;
}

.upload-description {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-md);
}

.file-upload-wrapper {
    position: relative;
    margin: var(--spacing-md) 0;
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-upload-label {
    display: block;
    padding: var(--spacing-md);
    background: var(--white);
    border: 2px solid var(--border-gray);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-label:hover {
    background: var(--sky-blue);
    border-color: var(--secondary-blue);
}

.upload-text {
    color: var(--text-gray);
    font-weight: 500;
}

.file-name {
    display: block;
    margin-top: var(--spacing-xs);
    color: var(--success-green);
    font-weight: 600;
    font-size: 0.9rem;
}

.file-info {
    display: block;
    color: var(--text-gray);
    font-size: 0.8rem;
    margin-top: var(--spacing-xs);
}

/* ==================== SKILLS INPUT ==================== */
.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-sm);
}

.skill-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: var(--secondary-blue);
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
}

.skill-tag .remove-skill {
    cursor: pointer;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: background 0.2s ease;
}

.skill-tag .remove-skill:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* ==================== SLIDER ==================== */
.slider-container {
    margin-top: var(--spacing-md);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--spacing-sm);
    font-size: 0.85rem;
    color: var(--text-gray);
}

input[type="range"] {
    width: 100%;
    height: 8px;
    background: var(--border-gray);
    border-radius: 999px;
    outline: none;
    -webkit-appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: var(--secondary-blue);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: var(--secondary-blue);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    border: none;
}

.slider-value {
    margin-top: var(--spacing-sm);
    text-align: center;
    font-weight: 600;
    color: var(--secondary-blue);
    font-size: 1.1rem;
}

/* ==================== REVIEW SECTIONS ==================== */
.profile-strength-meter {
    background: linear-gradient(135deg, var(--sky-blue), var(--bg-light));
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-lg);
}

.profile-strength-meter h4 {
    color: var(--primary-blue);
    margin-bottom: var(--spacing-md);
}

.strength-bar {
    height: 30px;
    background: var(--white);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: var(--spacing-sm);
    border: 2px solid var(--border-gray);
}

.strength-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--success-green), var(--accent-gold));
    width: 0%;
    transition: width 0.8s ease;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: var(--spacing-sm);
    color: var(--white);
    font-weight: 700;
}

.strength-score {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.strength-tips {
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm);
    background: var(--white);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
}

.review-section {
    background: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
}

.review-section h4 {
    color: var(--primary-blue);
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
}

.review-content {
    color: var(--text-dark);
    line-height: 1.8;
}

.review-content strong {
    color: var(--primary-blue);
}

.review-content ul {
    list-style: none;
    padding-left: 0;
}

.review-content li {
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid var(--border-gray);
}

.review-content li:last-child {
    border-bottom: none;
}

/* ==================== BUTTONS ==================== */
.form-navigation {
    display: flex;
    justify-content: space-between;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 2px solid var(--border-gray);
}

.btn {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    text-decoration: none;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-blue), var(--light-blue));
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid var(--border-gray);
}

.btn-secondary:hover {
    background: var(--bg-light);
    border-color: var(--text-gray);
}

.btn-success {
    background: linear-gradient(135deg, var(--success-green), #059669);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn-loading {
    display: none;
}

.btn.loading .btn-text {
    display: none;
}

.btn.loading .btn-loading {
    display: inline;
}

/* ==================== SUCCESS MESSAGE ==================== */
.success-message {
    padding: var(--spacing-xl);
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
}

.success-message h2 {
    color: var(--success-green);
    margin-bottom: var(--spacing-sm);
}

.success-message p {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
}

.next-steps {
    background: var(--bg-light);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    margin: var(--spacing-lg) 0;
    text-align: left;
}

.next-steps h4 {
    color: var(--primary-blue);
    margin-bottom: var(--spacing-md);
}

.next-steps ol {
    padding-left: var(--spacing-lg);
}

.next-steps li {
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 768px) {
    body {
        padding: var(--spacing-xs);
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .progress-steps {
        gap: 2px;
    }
    
    .step-circle {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }
    
    .step span {
        font-size: 0.65rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .checkbox-grid {
        grid-template-columns: 1fr;
    }
    
    .upload-section {
        grid-template-columns: 1fr;
    }
    
    .benefit-cards {
        grid-template-columns: 1fr;
    }
    
    .form-navigation {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .header {
        padding: var(--spacing-md);
    }
    
    .logo h1 {
        font-size: 1.25rem;
    }
    
    .tagline {
        font-size: 0.875rem;
    }
    
    .progress-container {
        padding: var(--spacing-md);
    }
    
    .form-step {
        padding: var(--spacing-md);
    }
    
    .welcome-section h2 {
        font-size: 1.4rem;
    }
}

/* ==================== ANIMATIONS ==================== */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.btn-primary:active {
    animation: pulse 0.3s ease;
}

/* ==================== UTILITY CLASSES ==================== */
.text-center {
    text-align: center;
}

.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }

.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }

.hidden {
    display: none;
}

/* ==================== PRINT STYLES ==================== */
@media print {
    body {
        background: white;
        padding: 0;
    }
    
    .progress-container,
    .form-navigation,
    .btn {
        display: none;
    }
    
    .form-step {
        display: block !important;
        page-break-after: always;
    }
}

/* ================================================
   PROFILE TYPE SELECTION & UPSKILLER STYLES
   ================================================ */

.profile-type-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem auto;
    max-width: 900px;
}

.profile-type-card {
    background: #f8f9fa;
    border: 3px solid #e5e7eb;
    border-radius: 1rem;
    padding: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.profile-type-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.profile-type-card label {
    cursor: pointer;
    display: block;
}

.profile-type-card:hover {
    border-color: #60a5fa;
    background: #dbeafe;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.profile-type-card.selected {
    border-color: #2563eb;
    background: #dbeafe;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2);
}

.profile-type-card .profile-icon {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 1rem;
}

.profile-type-card h3 {
    color: #1e3a8a;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.profile-type-card p {
    color: #6b7280;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 0.95rem;
}

.profile-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.profile-features li {
    padding: 0.5rem 0;
    color: #374151;
    font-size: 0.9rem;
    position: relative;
    padding-left: 1.5rem;
}

.profile-features li::before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Technical Skills Tags */
.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.skill-tag {
    background: #dbeafe;
    color: #1e3a8a;
    padding: 0.4rem 0.8rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-tag .remove-skill {
    cursor: pointer;
    font-weight: bold;
    color: #ef4444;
    font-size: 1.2rem;
    line-height: 1;
}

.skill-tag .remove-skill:hover {
    color: #dc2626;
}

/* Helper Text */
.helper-text {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #6b7280;
}

/* Responsive */
@media (max-width: 768px) {
    .profile-type-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================
   FILE UPLOAD STYLING
   ================================================ */

input[type="file"] {
    display: none;
}

.file-upload-label {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #3498db;
    color: white;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    text-align: center;
}

.file-upload-label:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.file-upload-label.file-selected {
    background: #27ae60;
}

.file-upload-label.file-selected:hover {
    background: #229954;
}

.file-name {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #2c3e50;
    font-weight: 500;
}

.file-upload-container {
    margin: 1rem 0;
    padding: 1rem;
    border: 2px dashed #e0e0e0;
    border-radius: 0.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.file-upload-container:hover {
    border-color: #3498db;
    background: #f8f9fa;
}

.file-upload-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #7f8c8d;
}

