/* =================================================================== */
/* ===== MODERN VOLUNTEER PAGE STYLES - YUVA 2025 (REVISED) ===== */
/* =================================================================== */

/* ===== Root Variables (Aligned with New Design System) ===== */
:root {
    /* India Theme Color Palette */
    --saffron-primary: #FF9933;
    --saffron-light: #FFB366;
    --saffron-dark: #E67300;
    --saffron-pale: #FFE5CC;
    --white-primary: #FFFFFF;
    --white-warm: #FAFAF9;
    --white-cream: #F5F5F4;
    --green-primary: #138808;
    --green-light: #22C55E;
    --green-dark: #0F6606;
    --green-pale: #D1FAE5;
    --navy-chakra: #000080;
    --navy-dark: #00005C;

    /* Semantic Colors */
    --color-primary: var(--navy-chakra);
    --color-secondary: var(--green-primary);
    --color-accent: var(--saffron-primary);
    --color-error: #ef4444;
    --color-error-pale: #fef2f2;
    --color-info-pale: #EBF4FF;

    /* Text & Background */
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #64748B;
    --text-on-dark: var(--white-primary);
    --text-on-accent: var(--white-primary);
    --bg-base: var(--white-warm);
    --bg-elevated: var(--white-primary);
    --bg-subtle: var(--white-cream);
    --bg-muted: #F1F5F9;
    --border-light: #E2E8F0;
    --border-medium: #CBD5E1;

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, var(--saffron-light) 0%, var(--white-primary) 50%, var(--green-light) 100%);
    --gradient-saffron: linear-gradient(135deg, var(--saffron-primary) 0%, var(--saffron-dark) 100%);
    --gradient-green: linear-gradient(135deg, var(--green-light) 0%, var(--green-primary) 100%);
    --gradient-navy: linear-gradient(135deg, var(--navy-chakra) 0%, var(--navy-dark) 100%);

    /* Shadows & Radii */
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}


/* ===== VOLUNTEER PAGE LAYOUT ===== */
.volunteer-page {
    background: var(--bg-base);
    position: relative;
    top: calc(60px + 1rem * 2);
    /* Aligned with home.css */
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    /* Aligned with home.css */
    overflow: hidden;
}

/* * =======================================================
 * ===== HERO SECTION STYLES UPDATED =====
 * Replaced old .volunteer-hero styles with .home-hero
 * styles (using 'grid') for centering the Chakra.
 * =======================================================
 */
.volunteer-hero {
    position: relative;
    min-height: 60vh;
    /* You can adjust this height */
    overflow: hidden;
    background: var(--gradient-hero);
    display: grid;
    place-items: center;
    padding: 80px 0;
    /* Kept your padding */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    /* This z-index is from home.css */
    background: var(--gradient-hero);
}

/*
 * =======================================================
 * ===== CHAKRA KEYFRAMES ADDED =====
 * Added from home.css
 * =======================================================
 */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/*
 * =======================================================
 * ===== CHAKRA STYLES ADDED =====
 * Added from home.css
 * These styles position both the SVG and the text
 * in the center of the grid.
 * =======================================================
 */
.hero-chakra-bg,
.volunteer-hero-content {
    grid-column: 1 / -1;
    grid-row: 1 / -1;
}

.hero-chakra-bg {
    width: 500px;
    height: 500px;
    z-index: 1;
    color: var(--navy-chakra);
    opacity: 0.08;
    stroke: currentColor;
    fill: currentColor;
    animation: spin 60s linear infinite;
    pointer-events: none;
}

/*
 * =======================================================
 * ===== HERO CONTENT STYLES UPDATED =====
 * Replaced old .volunteer-hero-content styles
 * with the grid-positioning styles from home.css.
 * =======================================================
 */
.volunteer-hero-content {
    position: relative;
    z-index: 3;
    /* z-index 3 to be on top of chakra (z-index 1) */
    text-align: center;
    color: var(--text-primary);
    max-width: 1000px;
    padding: 0 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--saffron-pale);
    /* Updated to Saffron */
    border: 1px solid var(--saffron-light);
    border-radius: var(--radius-full);
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    animation: pulse 2s infinite;
    color: var(--saffron-dark);
}

/* These specific styles for the volunteer hero text are kept */
.volunteer-hero-content .hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--text-primary);
    /* Added from home.css for light gradient */
}

.volunteer-hero-content .hero-description {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    max-width: 650px;
    margin: 0 auto;
    opacity: 0.9;
    color: var(--text-secondary);
    /* Added from home.css for light gradient */
}


/* ===== WHY VOLUNTEER / PERKS SECTION ===== */
.perks-section {
    background: var(--white-primary);
    padding: 100px 0;
    position: relative;
    z-index: 5;
    margin-top: -30px;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
}

.perks-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.perks-header {
    text-align: center;
    margin-bottom: 60px;
}

.perks-header h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--navy-dark);
    margin-bottom: 16px;
}

.perks-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.perks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.perk-card {
    background: var(--bg-elevated);
    border-radius: var(--radius-xl);
    padding: 40px;
    text-align: center;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-bounce);
}

.perk-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-2xl);
}

.perk-icon {
    width: 72px;
    height: 72px;
    background: var(--gradient-navy);
    /* Updated */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--white-primary);
    font-size: 28px;
    box-shadow: 0 0 20px rgba(0, 0, 128, 0.3);
    /* Updated shadow color */
}

.perk-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 12px;
}

.perk-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ===== OPEN ROLES SECTION ===== */
.roles-section {
    padding: 100px 20px;
    background: var(--bg-base);
}

.roles-container {
    max-width: 1200px;
    margin: 0 auto;
}

.roles-header {
    text-align: center;
    margin-bottom: 60px;
}

.roles-header h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--navy-dark);
    margin-bottom: 16px;
}

.roles-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.role-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.role-filter-chip {
    padding: 10px 24px;
    border-radius: var(--radius-full);
    /* Updated radius */
    background: var(--white-primary);
    color: var(--color-primary);
    border: 2px solid var(--border-light);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
}

.role-filter-chip:hover {
    transform: translateY(-2px);
    border-color: var(--border-medium);
}

.role-filter-chip.active {
    background: var(--color-primary);
    color: var(--white-primary);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.roles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.role-card {
    background: var(--white-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    transition: var(--transition-bounce);
    border-left: 5px solid var(--border-medium);
    /* Updated */
    display: flex;
    flex-direction: column;
}

.role-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
    border-left-color: var(--color-primary);
}

.role-card-content {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.role-card-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 12px;
}

.role-card-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.role-tag {
    display: inline-block;
    background: var(--bg-subtle);
    color: var(--color-primary);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 8px;
    margin-top: 8px;
}

/* ===== APPLICATION FORM SECTION ===== */
.form-section {
    padding: 100px 20px;
    background: var(--gradient-hero);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
}

.form-card {
    background: var(--white-primary);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    padding: 48px;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy-dark);
    margin-bottom: 12px;
}

.form-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Progress Bar */
.progress-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    /* Align to the top */
    margin-bottom: 60px;
    /* Increased margin for labels */
    position: relative;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 15px;
    /* Vertically center the line with the circles */
    left: 0;
    transform: translateY(-50%);
    height: 4px;
    width: 100%;
    background: var(--border-light);
    z-index: 1;
}

.progress-step-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 3;
    width: 120px;
    /* Give container some width */
    text-align: center;
}

.progress-step {
    width: 30px;
    height: 30px;
    background: var(--white-primary);
    border: 3px solid var(--border-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--text-muted);
    transition: var(--transition-base);
    margin-bottom: 8px;
    /* Space between circle and label */
}

.progress-step.active {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: var(--white-primary);
}

.step-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition-base);
}

.progress-step.active+.step-label {
    color: var(--color-primary);
    /* Highlight the active step's label */
}

/* Form Steps */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Elements */
.form-group {
    margin-bottom: 24px;
    position: relative;
    /* Added for error message positioning */
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    background: var(--bg-base);
    transition: var(--transition-base);
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: var(--white-primary);
    box-shadow: 0 0 0 3px rgba(0, 0, 128, 0.2);
    /* Updated focus shadow */
}

/*
 * =======================================================
 * ===== STYLES FOR NEW FORM ELEMENTS (ADDED) =====
 * =======================================================
 */

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-secondary);
}

.radio-label input[type="radio"],
.radio-label input[type="checkbox"] {
    width: 1.15em;
    height: 1.15em;
    accent-color: var(--color-primary);
    cursor: pointer;
    flex-shrink: 0;
}

.radio-label span {
    line-height: 1.4;
}

.conditional-field {
    display: none;
    /* Hidden by default */
    margin-top: 16px;
    padding-left: 10px;
    border-left: 3px solid var(--border-light);
}

.conditional-field label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

/* Styles for error messages */
.form-group input.error,
.form-group textarea.error {
    border-color: var(--color-error);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.error-message {
    background: var(--color-error);
    color: var(--white-primary);
    font-size: 12px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: var(--radius-lg);
    margin-top: 6px;
}


/* ===== OLD CHECKBOX STYLES (can be removed if not used) ===== */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    background: var(--bg-base);
    padding: 12px;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-light);
    cursor: pointer;
    transition: var(--transition-base);
}

.checkbox-label:hover {
    border-color: var(--border-medium);
}

.checkbox-label input[type="checkbox"] {
    margin-right: 12px;
    width: 20px;
    height: 20px;
    accent-color: var(--color-primary);
}

/* ===== END OF OLD CHECKBOX STYLES ===== */


.form-summary {
    text-align: center;
    padding: 24px;
    background: var(--bg-base);
    border-radius: var(--radius-xl);
    margin-bottom: 24px;
}

.form-summary h4 {
    font-size: 1.5rem;
    color: var(--navy-dark);
    margin-bottom: 12px;
}

.form-summary p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.form-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
}

.btn-next,
.btn-submit,
.btn-prev {
    padding: 12px 28px;
    border: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-bounce);
}

.btn-next,
.btn-submit {
    background: var(--color-primary);
    color: var(--white-primary);
}

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

.btn-prev {
    background: var(--border-light);
    color: var(--text-primary);
}


@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== FLASH NOTIFICATION SYSTEM (FIXED & THEMED) ===== */
.flash-container {
    position: fixed;
    left: auto;
    top: 20px;
    right: 20px;
    z-index: 30000000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.flash-notification {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--white-primary);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    min-width: 300px;
    max-width: 400px;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-left: 4px solid;
}

.flash-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.flash-notification.success {
    border-left-color: var(--green-primary);
    background: var(--green-pale);
}

.flash-notification.error {
    border-left-color: var(--color-error);
    background: var(--color-error-pale);
}

.flash-notification.warning {
    border-left-color: var(--saffron-primary);
    background: var(--saffron-pale);
}

.flash-notification.info {
    border-left-color: var(--navy-chakra);
    background: var(--color-info-pale);
}

.flash-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    font-size: 12px;
    color: var(--white-primary);
    /* All icons are white text on solid bg */
}

.flash-notification.success .flash-icon {
    background: var(--green-primary);
}

.flash-notification.error .flash-icon {
    background: var(--color-error);
}

.flash-notification.warning .flash-icon {
    background: var(--saffron-primary);
}

.flash-notification.info .flash-icon {
    background: var(--navy-chakra);
}

.flash-content {
    flex: 1;
}

.flash-title {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
    margin: 0 0 4px 0;
}

.flash-message {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
}

.flash-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.flash-close:hover {
    background: var(--bg-muted);
    color: var(--text-primary);
}



/*
 * =======================================================
 * ===== @keyframes float REMOVED =====
 * This was for the old particles and is no longer needed.
 * =======================================================
 */

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* ================================================================ */
/* ===== MOBILE RESPONSIVE MEDIA QUERIES - 480px & 768px ===== */
/* ================================================================ */

/* ===== TABLET - 768px and below ===== */
@media (max-width: 768px) {

    /* Header
    .site-header {
        padding: 12px 16px;
    }

    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        flex-direction: row;
        gap: 8px;
    }

    .logo img {
        width: 40px;
        height: 40px;
    }

    .logo h1 {
        font-size: 1.1rem;
    }

    .page-title {
        font-size: 1rem;
    } */

    /* Main Container */
    .main {
        padding: 0;
        margin: 0;
    }

    /* Volunteer Page */
    .volunteer-page {
        top: calc(60px + 0.5rem*4);
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }

    /* Hero Section */
    .volunteer-hero {
        min-height: 50vh;
        padding: 60px 0;
    }

    .hero-chakra-bg {
        width: 350px;
        height: 350px;
    }

    .volunteer-hero-content {
        max-width: 90%;
        padding: 0 16px;
    }

    .hero-badge {
        font-size: 12px;
        padding: 6px 12px;
        margin-bottom: 20px;
    }

    .volunteer-hero-content .hero-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .volunteer-hero-content .hero-description {
        font-size: clamp(0.9rem, 2vw, 1.1rem);
        max-width: 100%;
    }

    /* Perks Section */
    .perks-section {
        padding: 60px 16px;
        margin-top: -20px;
        border-radius: var(--radius-xl);
    }

    .perks-container {
        padding: 0 16px;
    }

    .perks-header h2 {
        font-size: 2.25rem;
        margin-bottom: 12px;
    }

    .perks-header p {
        font-size: 1rem;
        max-width: 90%;
    }

    .perks-header {
        margin-bottom: 40px;
    }

    .perks-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .perk-card {
        padding: 32px 24px;
    }

    .perk-icon {
        width: 64px;
        height: 64px;
        font-size: 24px;
        margin-bottom: 20px;
    }

    .perk-card h3 {
        font-size: 1.35rem;
        margin-bottom: 10px;
    }

    .perk-card p {
        font-size: 0.95rem;
    }

    /* Roles Section */
    .roles-section {
        padding: 60px 16px;
    }

    .roles-container {
        padding: 0;
    }

    .roles-header h2 {
        font-size: 2.25rem;
        margin-bottom: 12px;
    }

    .roles-header p {
        font-size: 1rem;
        max-width: 90%;
    }

    .roles-header {
        margin-bottom: 40px;
    }

    .role-filters {
        gap: 8px;
        margin-bottom: 32px;
    }

    .role-filter-chip {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .roles-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .role-card {
        border-left-width: 4px;
    }

    .role-card-content {
        padding: 24px;
    }

    .role-card-content h3 {
        font-size: 1.35rem;
        margin-bottom: 10px;
    }

    .role-card-content p {
        font-size: 0.95rem;
        margin-bottom: 16px;
    }

    .role-tag {
        font-size: 0.75rem;
        padding: 4px 10px;
        margin-right: 6px;
        margin-top: 6px;
    }

    /* Form Section */
    .form-section {
        padding: 60px 16px;
    }

    .form-container {
        padding: 0;
        max-width: 100%;
    }

    .form-card {
        padding: 32px 24px;
        border-radius: var(--radius-xl);
    }

    .form-header h2 {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .form-header p {
        font-size: 1rem;
    }

    .form-header {
        margin-bottom: 32px;
    }

    /* Progress Bar */
    .progress-bar {
        margin-bottom: 40px;
    }

    .progress-step-container {
        width: 90px;
    }

    .progress-step {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
        margin-bottom: 6px;
    }

    .step-label {
        font-size: 12px;
    }

    /* Form Elements */
    .form-group {
        margin-bottom: 20px;
    }

    .form-group label {
        font-size: 0.95rem;
        margin-bottom: 6px;
    }

    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="tel"],
    .form-group textarea {
        padding: 10px 14px;
        font-size: 0.95rem;
        width: 100%;
        box-sizing: border-box;
    }

    .form-group textarea {
        min-height: 70px;
    }

    .radio-group {
        gap: 10px;
    }

    .radio-label {
        font-size: 0.95rem;
        gap: 8px;
    }

    .conditional-field {
        margin-top: 12px;
        padding-left: 8px;
    }

    .error-message {
        font-size: 11px;
        padding: 6px 10px;
    }

    .checkbox-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .checkbox-label {
        padding: 10px;
    }

    .form-summary {
        padding: 20px;
        margin-bottom: 20px;
    }

    .form-summary h4 {
        font-size: 1.35rem;
        margin-bottom: 10px;
    }

    .form-summary p {
        font-size: 0.95rem;
    }

    /* Form Buttons */
    .form-buttons {
        flex-direction: column;
        gap: 12px;
        margin-top: 24px;
    }

    .btn-next,
    .btn-submit,
    .btn-prev {
        width: 100%;
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    /* Flash Notifications */
    .flash-container {
        top: 80px;
        right: 10px;
        left: 10px;
        gap: 10px;
    }

    .flash-notification {
        min-width: auto;
        max-width: none;
        width: 100%;
        padding: 0.9rem 1.2rem;
        gap: 0.8rem;
    }

    .flash-icon {
        width: 22px;
        height: 22px;
        font-size: 11px;
    }

    .flash-title {
        font-size: 13px;
    }

    .flash-message {
        font-size: 12px;
    }

    .flash-close {
        width: 22px;
        height: 22px;
    }
}

/* ===== MOBILE - 480px and below ===== */
@media (max-width: 480px) {

    /* Header
    .site-header {
        padding: 10px 12px;
    }

    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        flex-direction: row;
        gap: 6px;
    }

    .logo img {
        width: 36px;
        height: 36px;
    }

    .logo h1 {
        font-size: 1rem;
    }

    .page-title {
        font-size: 0.9rem;
    } */

    /* Main Container */
    .main {
        padding: 0;
        margin: 5px;
        width: 100%;
    }

    /* Volunteer Page */
    .volunteer-page {
        top: calc(60px + 0.25rem * 6);
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        width: 100%;
        overflow-x: hidden;
    }

    /* Hero Section */
    .volunteer-hero {
        min-height: 45vh;
        padding: 40px 12px;
    }

    .hero-chakra-bg {
        width: 250px;
        height: 250px;
    }

    .volunteer-hero-content {
        max-width: 100%;
        padding: 0 12px;
    }

    .hero-badge {
        font-size: 10px;
        padding: 4px 8px;
        margin-bottom: 16px;
        gap: 4px;
    }

    .hero-badge i {
        font-size: 10px;
    }

    .volunteer-hero-content .hero-title {
        font-size: clamp(1.5rem, 4vw, 2.2rem);
        line-height: 1.2;
    }

    .volunteer-hero-content .hero-description {
        font-size: clamp(0.8rem, 1.5vw, 0.95rem);
        max-width: 100%;
        line-height: 1.4;
    }

    /* Perks Section */
    .perks-section {
        padding: 30px 12px;
        margin-top: -15px;
        border-radius: var(--radius-lg);
    }

    .perks-container {
        padding: 0 8px;
    }

    .perks-header h2 {
        font-size: 1.6rem;
        margin-bottom: 8px;
    }

    .perks-header p {
        font-size: 0.85rem;
        max-width: 100%;
    }

    .perks-header {
        margin-bottom: 24px;
    }

    .perks-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .perk-card {
        padding: 24px 16px;
    }

    .perk-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 12px;
    }

    .perk-card h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .perk-card p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    /* Roles Section */
    .roles-section {
        padding: 30px 12px;
    }

    .roles-container {
        padding: 0;
    }

    .roles-header h2 {
        font-size: 1.6rem;
        margin-bottom: 8px;
    }

    .roles-header p {
        font-size: 0.85rem;
        max-width: 100%;
    }

    .roles-header {
        margin-bottom: 24px;
    }

    .role-filters {
        gap: 6px;
        margin-bottom: 20px;
        flex-wrap: wrap;
    }

    .role-filter-chip {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .roles-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .role-card {
        border-left-width: 3px;
    }

    .role-card-content {
        padding: 18px;
    }

    .role-card-content h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .role-card-content p {
        font-size: 0.85rem;
        margin-bottom: 12px;
        line-height: 1.5;
    }

    .role-tag {
        font-size: 0.65rem;
        padding: 3px 8px;
        margin-right: 4px;
        margin-top: 4px;
    }

    /* Form Section */
    .form-section {
        padding: 30px 12px;
    }

    .form-container {
        padding: 0;
        max-width: 100%;
        width: 100%;
    }

    .form-card {
        padding: 20px 12px;
        border-radius: var(--radius-lg);
        width: 100%;
        box-sizing: border-box;
    }

    .form-header h2 {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }

    .form-header p {
        font-size: 0.85rem;
    }

    .form-header {
        margin-bottom: 20px;
    }

    /* Progress Bar */
    .progress-bar {
        margin-bottom: 24px;
        gap: 2px;
        flex-wrap: nowrap;
    }

    .progress-bar::before {
        top: 10px;
    }

    .progress-step-container {
        width: 60px;
        min-width: 60px;
    }

    .progress-step {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
        border-width: 2px;
        margin-bottom: 4px;
    }

    .step-label {
        font-size: 9px;
        line-height: 1.2;
        word-wrap: break-word;
    }

    /* Form Elements */
    .form-group {
        margin-bottom: 16px;
    }

    .form-group label {
        font-size: 0.85rem;
        margin-bottom: 5px;
    }

    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="tel"],
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.85rem;
        width: 100%;
        box-sizing: border-box;
        max-width: 100%;
    }

    .form-group textarea {
        min-height: 60px;
    }

    .radio-group {
        gap: 8px;
    }

    .radio-label {
        font-size: 0.85rem;
        gap: 6px;
    }

    .radio-label input[type="radio"],
    .radio-label input[type="checkbox"] {
        width: 0.95em;
        height: 0.95em;
    }

    .conditional-field {
        margin-top: 10px;
        padding-left: 6px;
        border-left-width: 2px;
    }

    .conditional-field label {
        font-size: 0.8rem;
    }

    .conditional-field textarea {
        font-size: 0.8rem;
        padding: 8px 10px;
    }

    .error-message {
        font-size: 10px;
        padding: 5px 8px;
    }

    .checkbox-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .checkbox-label {
        padding: 8px;
        font-size: 0.85rem;
    }

    .checkbox-label input[type="checkbox"] {
        margin-right: 8px;
        width: 16px;
        height: 16px;
    }

    .form-summary {
        padding: 14px;
        margin-bottom: 14px;
    }

    .form-summary h4 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .form-summary p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    /* Form Buttons */
    .form-buttons {
        flex-direction: column;
        gap: 10px;
        margin-top: 18px;
    }

    .btn-next,
    .btn-submit,
    .btn-prev {
        width: 100%;
        padding: 12px 20px;
        font-size: 0.85rem;
    }

    /* Flash Notifications */
    .flash-container {
        top: 70px;
        right: 8px;
        left: 8px;
        gap: 8px;
        max-width: calc(100vw - 16px);
    }

    .flash-notification {
        min-width: auto;
        max-width: 100%;
        width: 100%;
        padding: 0.75rem 0.9rem;
        gap: 0.6rem;
        box-sizing: border-box;
    }

    .flash-icon {
        width: 18px;
        height: 18px;
        font-size: 9px;
        flex-shrink: 0;
    }

    .flash-content {
        flex: 1;
        min-width: 0;
    }

    .flash-title {
        font-size: 11px;
        margin-bottom: 2px;
    }

    .flash-message {
        font-size: 10px;
        line-height: 1.3;
    }

    .flash-close {
        width: 18px;
        height: 18px;
        padding: 2px;
        flex-shrink: 0;
    }
}

/* ===== EXTRA SMALL MOBILE - 375px and below ===== */
@media (max-width: 375px) {

    /* Header */
    .logo h1 {
        font-size: 0.9rem;
    }

    .page-title {
        font-size: 0.85rem;
    }

    /* Hero Section */
    .hero-chakra-bg {
        width: 220px;
        height: 220px;
    }

    .volunteer-hero-content .hero-title {
        font-size: clamp(1.4rem, 3.5vw, 2rem);
    }

    .volunteer-hero-content .hero-description {
        font-size: clamp(0.75rem, 1.3vw, 0.9rem);
    }

    /* Form Card */
    .form-card {
        padding: 16px 10px;
    }

    /* Progress Bar */
    .progress-step-container {
        width: 55px;
        min-width: 55px;
    }

    .progress-step {
        width: 18px;
        height: 18px;
        font-size: 0.65rem;
    }

    .step-label {
        font-size: 8px;
    }

    /* Form Elements */
    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="tel"],
    .form-group textarea {
        padding: 9px 10px;
        font-size: 0.8rem;
    }

    /* Buttons */
    .btn-next,
    .btn-submit,
    .btn-prev {
        padding: 11px 18px;
        font-size: 0.8rem;
    }

    /* Flash Notifications */
    .flash-notification {
        padding: 0.65rem 0.8rem;
    }

    .flash-title {
        font-size: 10px;
    }

    .flash-message {
        font-size: 9px;
    }
}