.main-content {
  margin-bottom: 10px;
}

.vol-section {
  display: flex;
  align-items: center;
  width: 100%;
  color: white;
  position: relative;
  min-height: 400px;
  padding: 60px 20px;
  flex-wrap: wrap;
}

.volunteer-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:url('/themes/urni-website/assets/images/resources/volunteer-hero.png') center center / cover no-repeat;
  z-index: 0;
}

.news-bg-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.content-wrapper {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}

.content-column {
  flex: 0 0 58.33%;
  position: relative;
  z-index: 2;
}

.page-title {
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  font-weight: bold;
  margin-bottom: 20px;
}

.page-desc {
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 1300pxpx;
  text-align: justify;
}


.content-section {
    max-width: 1500px;
    margin: auto;
}

.content-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #025836;
    margin-bottom: 15px;
}

.description {
    color: #000;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15pxpx;
}

.content-section {
    padding: 60px 5% 0 5%;
}

.form-container {
    max-width: 1500px;
    margin: 0 auto;
    background: white;
    padding: 20px 5% 80px 5%;
    border-radius: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 25px;
}

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

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

label {
    font-weight: 500;
    color: #2c5530;
    margin-bottom: 8px;
    font-size: 14px;
}

.required {
    color: #e74c3c;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    padding: 12px 10px;
    border: 2px solid #e1e5e9;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #2c5530;
}

input::placeholder,
textarea::placeholder {
    color: #a0a6ac;
    font-size: 16px;
}

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='currentColor' 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 12px center;
    background-size: 16px;
    padding-right: 40px;
    cursor: pointer;
}

select option:first-child {
    color: #a0a6ac;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.skills-section {
    margin-top: 25px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.skill-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border: 2px solid #e1e5e9;
    border-radius: 3px;
    appearance: none;
    cursor: pointer;
    position: relative;
}

.skill-item input[type="checkbox"]:checked {
    background-color: #2c5530;
    border-color: #2c5530;
}

.skill-item input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.skill-item label {
    font-weight: 400;
    color: #333;
    margin: 0;
    cursor: pointer;
    font-size: 14px;
}

.other-skill {
    grid-column: span 2;
    margin-top: -10px;
}

.other-skill input {
    margin-top: 8px;
}

.terms-section {
    margin-top: 30px;
    padding: 20px 0;
    border-top: 1px solid #e1e5e9;
}

.terms-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.terms-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border: 2px solid #e1e5e9;
    border-radius: 3px;
    appearance: none;
    cursor: pointer;
    position: relative;
}

.terms-item input[type="checkbox"]:checked {
    background-color: #2c5530;
    border-color: #2c5530;
}

.terms-item input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.terms-text {
    color: #333;
    font-size: 14px;
    line-height: 1.4;
}

.terms-text a {
    color: #2c5530;
    text-decoration: underline;
}

.terms-text a:hover {
    color: #1a3d1f;
}

.submit-btn {
    background-color: #025836;
    color: white;
    border: none;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    min-width: 150px;
}

.submit-btn:hover {
    background-color: #fff;
    color: #025836;
}

.submit-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .other-skill {
        grid-column: span 1;
    }

    .form-container {
        padding: 20px;
    }

    .submit-section {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}