:root {
    --bg-main: #F7F9FC;
    --text-primary: #263238;
    --text-gray-900: #111827;
    --text-gray-800: #1f2937;
    --text-gray-700: #374151;
    --text-gray-600: #4b5563;
    --text-gray-500: #6b7280;
    --text-gray-400: #9ca3af;
    --color-green: #2E7D32;
    --color-green-hover: #1B5E20;
    --color-orange: #FF8F00;
    --color-orange-hover: #FF6F00;
    --color-whatsapp: #25D366;
    --color-whatsapp-hover: #128C7E;
    --border-gray-100: #f3f4f6;
    --border-gray-200: #e5e7eb;
    --border-gray-300: #d1d5db;
    --bg-white: #ffffff;
    --bg-gray-50: #f9fafb;

    /* Variables for base.css (header/footer) */
    --earth-green: #2C7A4B;
    --warm-terracotta: #D9733B;
    --soft-beige: #F6F2EC;
    --soft-green-tint: #F3F8F5;
    --dark-text: #1F2D2E;
    --light-text: #5A6C6D;
    --white: #FFFFFF;
    --shadow: rgba(44, 122, 75, 0.1);
    --card-bg: #FFFFFF;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Selection */
::selection {
    background-color: var(--color-green);
    color: var(--bg-white);
}

::-moz-selection {
    background-color: var(--color-green);
    color: var(--bg-white);
}

.app-container {
    min-height: 100vh;
    padding-bottom: 6rem;
    /* pb-24 */
}

@media (min-width: 768px) {
    .app-container {
        padding-bottom: 0;
    }
}

/* Typography Utilities */
.text-center {
    text-align: center;
}

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

/* Hero Section */
.hero-section {
    position: relative;
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero-section {
        height: 50vh;
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    background-color: rgba(46, 125, 50, 0.7);
    /* #2E7D32/70 */
    mix-blend-mode: multiply;
}

.hero-content {
    position: relative;
    z-index: 20;
    text-align: center;
    padding-left: 1rem;
    padding-right: 1rem;
    max-width: 48rem;
    /* max-w-3xl */
    margin: 0 auto;
}

.hero-title {
    font-size: 2.25rem;
    /* 4xl */
    line-height: 2.5rem;
    font-weight: 700;
    color: var(--bg-white);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
        line-height: 1;
    }

    /* 5xl */
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem;
        line-height: 1;
    }

    /* 6xl */
}

.hero-subtitle {
    font-size: 1.125rem;
    /* text-lg */
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }

    /* text-xl */
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.75rem 2rem;
    /* py-3 px-8 */
    font-weight: 600;
    border-radius: 9999px;
    /* rounded-full */
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

@media (min-width: 640px) {
    .btn {
        width: auto;
    }
}

.btn-primary {
    background-color: var(--color-orange);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: var(--color-orange-hover);
    transform: translateY(-0.25rem);
    box-shadow: 0 10px 15px -3px rgba(255, 143, 0, 0.3);
}

.btn-secondary {
    background-color: var(--bg-white);
    color: var(--color-green);
}

.btn-secondary:hover {
    background-color: var(--bg-gray-50);
    transform: translateY(-0.25rem);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Sections Structure */
.why-volunteer-section,
.roles-section {
    padding-top: 4rem;
    /* py-16 */
    padding-bottom: 4rem;
    padding-left: 1rem;
    padding-right: 1rem;
    max-width: 80rem;
    /* max-w-7xl */
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.875rem;
    /* text-3xl */
    line-height: 2.25rem;
    font-weight: 700;
    color: var(--color-green);
    margin-bottom: 1rem;
}

.section-description {
    color: var(--text-gray-600);
    max-width: 42rem;
    /* max-w-2xl */
    margin: 0 auto;
}

/* Grids */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.roles-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .roles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .roles-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Cards */
.benefit-card {
    background-color: var(--bg-white);
    padding: 1.5rem;
    border-radius: 1rem;
    /* rounded-2xl */
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    /* shadow-sm */
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.benefit-card:hover {
    box-shadow: 0 4px 6px -1px rgba(46, 125, 50, 0.1);
    /* shadow-md with green tint? Approximating shadow-[#2E7D32]/10 */
    transform: translateY(-0.375rem);
    /* hover:-translate-y-1.5 */
    border-color: rgba(46, 125, 50, 0.2);
}

.benefit-icon-container {
    width: 3rem;
    height: 3rem;
    background-color: var(--bg-main);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: background-color 0.3s ease;
}

.benefit-card:hover .benefit-icon-container {
    background-color: rgba(46, 125, 50, 0.1);
}

.benefit-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--color-green);
}

.benefit-title {
    font-size: 1.25rem;
    /* text-xl */
    line-height: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.benefit-desc {
    color: var(--text-gray-600);
    font-size: 0.875rem;
    /* text-sm */
}

/* Motivation Section */
.motivation-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
    background-color: var(--color-green);
    color: var(--bg-white);
    text-align: center;
    padding-left: 1rem;
    padding-right: 1rem;
}

.motivation-content {
    max-width: 48rem;
    /* max-w-3xl */
    margin: 0 auto;
}

.motivation-text {
    font-size: 1.5rem;
    /* text-2xl */
    line-height: 2rem;
    font-weight: 500;
    /* font-medium */
    font-style: italic;
}

@media (min-width: 768px) {
    .motivation-text {
        font-size: 1.875rem;
        line-height: 2.25rem;
    }

    /* text-3xl */
}


/* Role Cards */
.role-card {
    background-color: var(--bg-white);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    /* shadow-sm */
    transition: all 0.3s ease;
    border: 1px solid var(--border-gray-100);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.role-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    /* shadow-md */
    transform: translateY(-0.375rem);
    border-color: var(--color-green);
}

.role-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.role-icon-container {
    width: 3rem;
    height: 3rem;
    background-color: var(--bg-main);
    border-radius: 0.75rem;
    /* rounded-xl */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.role-card:hover .role-icon-container {
    transform: scale(1.1);
}

.role-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--color-orange);
}

.role-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.role-desc {
    color: var(--text-gray-600);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.btn-outline {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 0.625rem 0;
    /* py-2.5 */
    border-radius: 0.5rem;
    /* rounded-lg */
    border: 2px solid var(--color-green);
    color: var(--color-green);
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
    cursor: pointer;
}

.btn-outline:hover {
    background-color: var(--color-green);
    color: var(--bg-white);
}

/* Registration Form Section */
.register-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
    padding-left: 1rem;
    padding-right: 1rem;
    background-color: var(--bg-white);
}

.form-container {
    max-width: 48rem;
    /* max-w-3xl */
    margin: 0 auto;
}

.registration-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    /* space-y-6 equivalent */
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
    /* gap-6 */
}

@media (min-width: 768px) {
    .form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    /* space-y-2 */
}

.form-group-full {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    /* space-y-2 or space-y-3 */
    width: 100%;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    /* text-sm */
    font-weight: 500;
    /* font-medium */
    color: var(--text-gray-700);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    /* px-4 py-3 */
    border-radius: 0.75rem;
    /* rounded-xl */
    border: 1px solid var(--border-gray-200);
    background-color: var(--bg-main);
    color: inherit;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: all 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--color-green);
    box-shadow: 0 0 0 2px rgba(46, 125, 50, 0.2);
    /* focus:ring-2 focus:ring-[#2E7D32]/20 */
    background-color: var(--bg-white);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

.form-textarea {
    resize: none;
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.form-radio {
    width: 1rem;
    height: 1rem;
    color: var(--color-green);
    border-color: var(--border-gray-300);
    accent-color: var(--color-green);
}

.file-upload-box {
    border: 2px dashed var(--border-gray-300);
    border-radius: 0.75rem;
    padding: 1.5rem;
    /* p-6 */
    text-align: center;
    background-color: var(--bg-main);
    cursor: pointer;
    transition: border-color 0.2s;
    position: relative;
    overflow: hidden;
}

.file-upload-box:hover {
    border-color: var(--color-green);
}

.upload-icon {
    width: 2rem;
    height: 2rem;
    margin: 0 auto 0.5rem;
    color: var(--text-gray-400);
}

.upload-text {
    font-size: 0.875rem;
    color: var(--text-gray-600);
}

.file-input {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.form-group-checkbox {
    padding-top: 1rem;
    /* pt-4 */
}

.checkbox-label-container {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    /* gap-3 */
    cursor: pointer;
}

.form-checkbox {
    margin-top: 0.25rem;
    width: 1.25rem;
    /* w-5 */
    height: 1.25rem;
    /* h-5 */
    border-radius: 0.25rem;
    /* rounded */
    color: var(--color-green);
    border-color: var(--border-gray-300);
    accent-color: var(--color-green);
}

.checkbox-text {
    font-size: 0.875rem;
    /* text-sm */
    color: var(--text-gray-600);
}


.btn-submit {
    width: 100%;
    padding: 1rem 0;
    /* py-4 */
    background-color: var(--color-green);
    color: var(--bg-white);
    font-size: 1.125rem;
    /* text-lg */
    font-weight: 600;
    /* font-semibold */
    border-radius: 0.75rem;
    /* rounded-xl */
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 16px rgba(44, 122, 75, 0.2);
}

.btn-submit:hover {
    background-color: var(--color-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(44, 122, 75, 0.3);
    /* shadow-[#2E7D32]/30 */
}

.btn-submit:active {
    transform: scale(0.97);
}

/* Trust Section */
.trust-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
    background-color: var(--bg-main);
    border-top: 1px solid var(--border-gray-200);
    border-bottom: 1px solid var(--border-gray-200);
}

.trust-container {
    max-width: 80rem;
    /* max-w-7xl */
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.trust-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .trust-grid {
        flex-direction: row;
        gap: 4rem;
        /* md:gap-16 */
        text-align: left;
    }
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    /* gap-3 */
}

.trust-icon {
    width: 2rem;
    height: 2rem;
    color: var(--color-green);
}

.trust-text-container {
    display: flex;
    flex-direction: column;
}

.trust-title {
    font-weight: 600;
    color: var(--text-gray-900);
}

.trust-subtitle {
    font-size: 0.875rem;
    color: var(--text-gray-500);
}

.trust-divider {
    display: none;
    width: 1px;
    height: 3rem;
    background-color: var(--border-gray-300);
}

@media (min-width: 768px) {
    .trust-divider {
        display: block;
    }
}

/* Help Section */
.help-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
    padding-left: 1rem;
    padding-right: 1rem;
    max-width: 56rem;
    /* max-w-4xl */
    margin: 0 auto;
    text-align: center;
}

.help-title {
    font-size: 1.5rem;
    /* text-2xl */
    font-weight: 700;
    color: var(--color-green);
    margin-bottom: 2rem;
    /* mb-8 */
}

.help-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    /* gap-4 */
}

@media (min-width: 640px) {
    .help-buttons {
        flex-direction: row;
    }
}

.btn-whatsapp {
    background-color: var(--color-whatsapp);
    color: var(--bg-white);
    padding: 0.75rem 1.5rem;
    /* px-6 py-3 */
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
}

@media (min-width: 640px) {
    .btn-whatsapp {
        width: auto;
    }
}

.btn-whatsapp:hover {
    background-color: var(--color-whatsapp-hover);
    transform: translateY(-0.25rem);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-call,
.btn-email {
    background-color: var(--bg-white);
    color: var(--text-gray-800);
    border: 1px solid var(--border-gray-200);
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
}

@media (min-width: 640px) {

    .btn-call,
    .btn-email {
        width: auto;
    }
}

.btn-call:hover,
.btn-email:hover {
    background-color: var(--bg-gray-50);
    transform: translateY(-0.25rem);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* Animations (replacing Framer Motion) */
.init-hidden {
    opacity: 0;
    visibility: hidden;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.animate-fade-in-up-css {
    animation: fadeInUp 0.6s ease-out forwards;
    visibility: visible;
}

.animate-fade-in-up-delay-1 {
    animation: fadeInUp 0.6s ease-out 0.2s forwards;
    visibility: visible;
}

.animate-fade-in-up-delay-2 {
    animation: fadeInUp 0.6s ease-out 0.4s forwards;
    visibility: visible;
}

/* Scroll Animation classes for intersection observer */
.scroll-animate-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate-item.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Photo Upload Styles */
.photo-upload-container {
    display: flex;
    justify-content: flex-start;
}

.photo-upload-box {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem;
    border: 2px dashed var(--border-gray-300);
    border-radius: 0.75rem;
    background-color: var(--bg-main);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.photo-upload-box:hover {
    border-color: var(--color-green);
    background-color: rgba(46, 125, 50, 0.05);
}

.photo-preview {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    background-color: var(--border-gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid var(--bg-white);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-preview .user-icon {
    width: 2rem;
    height: 2rem;
    color: var(--text-gray-500);
}

.photo-upload-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

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

.photo-upload-text .upload-subtext {
    font-size: 0.875rem;
    color: var(--text-gray-500);
    margin: 0;
}