/* ==========================================================================
   VOLUNTARIOS - VOLUNTEER REGISTRATION & INFO SPECIFIC STYLES
   ========================================================================== */

@import url('styles.css'); /* Import shared design tokens & resets */

/* ==========================================================================
   HERO VOLUNTEERS
   ========================================================================== */
.hero-small {
    padding: 120px 0;
    text-align: center;
    color: white;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-small::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15, 32, 66, 0.5) 20%, rgba(15, 32, 66, 0.85) 100%);
    z-index: 1;
}

.hero-small .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-small h1 {
    font-size: var(--fs-h1);
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: -1px;
}

.hero-small p {
    font-size: 1.25rem;
    opacity: 0.95;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   INFO SECTION & OVERLAPPING EXPERIENCE CARD
   ========================================================================== */
.p-destacado {
    font-size: 1.2rem; 
    color: var(--color-primary);
    font-weight: 600;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr; 
    gap: 80px;
    align-items: center;
}

.custom-list {
    list-style: none;
    margin-top: 2rem;
}

.custom-list li {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--color-text-main);
}

.custom-list li i {
    color: var(--color-accent);
    font-size: 1.25rem;
    margin-top: 3px;
}

/* Overlapping Image Stack */
.image-stack {
    position: relative;
    padding-bottom: 40px;
}

.img-rounded, 
.img-main {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: block;
    transition: var(--transition-smooth);
}

.img-rounded:hover,
.img-main:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* Experience Floating Card Overlay */
.experience-card {
    position: absolute;
    bottom: -20px;
    left: -40px; 
    background: linear-gradient(135deg, var(--color-accent) 0%, #005fa3 100%);
    color: white;
    padding: 24px 30px;
    border-radius: var(--radius-md);
    max-width: 240px;
    box-shadow: 0 12px 30px rgba(0, 119, 204, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
}

.experience-card:hover {
    transform: scale(1.03) translateY(-3px);
    box-shadow: 0 16px 40px rgba(0, 119, 204, 0.4);
}

.experience-card p {
    margin: 0;
    font-size: 0.98rem;
    color: white; 
    line-height: 1.5;
    font-weight: 600;
}

/* ==========================================================================
   REGISTRATION FORM STYLING
   ========================================================================== */
.form-container {
    max-width: 760px;
    margin: 0 auto;
    background: var(--color-bg-white);
    padding: 55px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(15, 32, 66, 0.03);
}

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

.form-header h2 {
    color: var(--color-primary);
    font-size: 2.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

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

.pro-form .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--color-primary);
    letter-spacing: 0.3px;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid rgba(15, 32, 66, 0.1);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.98rem;
    color: var(--color-text-main);
    background: #fdfdfd;
    transition: var(--transition-smooth);
}

/* Focus styles */
.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--color-accent);
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 119, 204, 0.12);
    background: #ffffff;
}

/* Custom Dropdown Arrow Reset (Styling improvement) */
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='hsl(210, 12%2c 46%)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 16px;
    padding-right: 45px;
}

.btn-submit {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: white;
    border: none;
    padding: 16px 50px;
    border-radius: var(--radius-full);
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 1px;
    font-size: 1rem;
    box-shadow: 0 6px 16px rgba(15, 43, 91, 0.25);
    transition: var(--transition-smooth);
}

.btn-submit:hover {
    background: linear-gradient(135deg, var(--color-accent) 0%, #005fa3 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 119, 204, 0.35);
}

.btn-submit:active {
    transform: translateY(-1px);
}

/* ==========================================================================
   RESPONSIVE STYLING REFINE
   ========================================================================== */
@media (max-width: 992px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .custom-list li {
        justify-content: center;
        text-align: left;
    }

    .image-stack {
        max-width: 480px;
        margin: 0 auto;
        padding-bottom: 30px;
    }

    .experience-card {
        left: 20px;
        bottom: -10px;
        max-width: 260px;
    }
}

@media (max-width: 768px) {
    .pro-form .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }

    .form-container {
        padding: 35px 24px;
    }
    
    .hero-small h1 {
        font-size: 2.2rem;
    }
}