/* ========== СТИЛІ ДЛЯ СТОРІНКИ VOLONTER.HTML ========== */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Manrope", sans-serif;
    background-color: #f8f9fa;
}

/* Hero секція */
.page-hero {
    position: relative;
    background-color: #262625;
    height: 40vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/volunteer-hero.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    z-index: 0;
}

.page-hero h1 {
    font-size: clamp(40px, 8vw, 70px);
    color: white;
    margin: 0;
    z-index: 2;
    position: relative;
    font-weight: 700;
}

.wave-container {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 1;
}

.wave-container svg {
    display: block;
    width: 100%;
    height: 100px;
}

.wave-container svg path {
    fill: #f8f9fa;
}

@media (max-width: 768px) {
    .wave-container svg {
        height: 60px;
    }
}

/* Основний контейнер */
.volunteer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px 70px;
}

/* Вступний блок */
.volunteer-intro {
    text-align: center;
    margin-bottom: 50px;
}

.badge {
    display: inline-block;
    background: #262625;
    color: white;
    padding: 6px 18px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.intro-text {
    font-size: 20px;
    line-height: 1.5;
    color: #4a5568;
    max-width: 800px;
    margin: 0 auto;
}

/* Напрями волонтерства */
.directions-section h2 {
    font-size: 34px;
    font-weight: 700;
    color: #262625;
    text-align: center;
    margin-bottom: 40px;
}

.direction-block {
    background: #fff;
    border-radius: 24px;
    padding: 25px 30px;
    margin-bottom: 25px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.direction-block:hover {
    transform: translateY(-3px);
}

.direction-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.direction-icon {
    font-size: 36px;
}

.direction-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #262625;
    margin: 0;
}

.direction-list ul {
    margin: 0;
    padding-left: 20px;
}

.direction-list li {
    font-size: 16px;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 10px;
}

/* Що ми пропонуємо */
.offer-section {
    margin: 60px 0;
}

.offer-section h2 {
    font-size: 34px;
    font-weight: 700;
    color: #262625;
    text-align: center;
    margin-bottom: 40px;
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.offer-card {
    background: #fff;
    border-radius: 24px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.offer-card:hover {
    transform: translateY(-5px);
}

.offer-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.offer-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #262625;
    margin-bottom: 12px;
}

.offer-card p {
    font-size: 15px;
    line-height: 1.55;
    color: #4a5568;
}

/* Форма */
.form-section {
    background: #fff;
    border-radius: 28px;
    padding: 40px 35px;
    margin-top: 30px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

.form-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: #262625;
    text-align: center;
    margin-bottom: 10px;
}

.form-section > p {
    text-align: center;
    color: #4a5568;
    margin-bottom: 30px;
}

.volunteer-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2d3e50;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-family: "Manrope", sans-serif;
    font-size: 15px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #85abba;
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    width: 100%;
    background-color: #85abba;
    color: white;
    font-size: 18px;
    font-weight: 700;
    padding: 14px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Manrope", sans-serif;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: #6c9aab;
    transform: scale(1.02);
}

.form-note {
    font-size: 13px;
    color: #888;
    margin-top: 20px;
    text-align: center;
}

/* Адаптивність */
@media (max-width: 768px) {
    .volunteer-container {
        padding: 30px 20px 50px;
    }
    
    .intro-text {
        font-size: 18px;
    }
    
    .directions-section h2,
    .offer-section h2 {
        font-size: 28px;
    }
    
    .direction-block {
        padding: 20px;
    }
    
    .direction-header h3 {
        font-size: 20px;
    }
    
    .offer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .form-section {
        padding: 25px 20px;
    }
    
    .form-section h2 {
        font-size: 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .submit-btn {
        font-size: 16px;
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .direction-list li {
        font-size: 14px;
    }
    
    .offer-card {
        padding: 20px;
    }
}