/* ===== VOLUNTEER PAGE STYLES ===== */
/* Global font family for consistency */
* {
    font-family: 'Poppins', sans-serif;
}

/* Hero Section */
.volunteer-hero {
    position: relative;
    width: 100%;
    height: 60vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url("../images/vol.png") no-repeat center center;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    text-align: center;
    margin-top: 140px;
  }
  
  .volunteer-hero-content {
    max-width: 800px;
    padding: 0 var(--spacing-md);
    z-index: 2;
  }
  
  .volunteer-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--spacing);
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: fadeInDown 1s ease-out;
  }
  
  .volunteer-hero p {
    font-size: 1.5rem;
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 0.3s forwards;
    opacity: 0;
  }
  
  /* Container */
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
  }
  
  /* Introduction Section */
  .intro-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--white);
  }
  
  .intro-section h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
  }
  
  .intro-section h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary);
    border-radius: 3px;
  }
  
  .intro-section p {
    font-size: 1.2rem;
    color: var(--text-dark);
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
  }
  
  .scripture-box {
    background: rgba(194, 164, 119, 0.1);
    padding: 30px;
    border-radius: 10px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
  }
  
  .scripture-box i {
    font-size: 2rem;
    color: var(--secondary);
    position: absolute;
    top: -15px;
    left: 30px;
  }
  
  .scripture-box blockquote {
    font-family: var(--font-accent, "EB Garamond", serif);
    font-size: 1.5rem;
    font-style: italic;
    margin: 0;
    padding: 0;
    line-height: 1.6;
  }
  
  .scripture-box cite {
    display: block;
    font-style: normal;
    font-size: 1rem;
    color: var(--text-light);
    margin-top: 10px;
    text-align: right;
  }
  
  /* Why Volunteer Section */
  .why-volunteer {
    padding: 80px 0;
    background: linear-gradient(to right, rgba(45, 62, 80, 0.05), rgba(45, 62, 80, 0.1));
    text-align: center;
    width: 100%;
  }
  
  .why-volunteer h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
  }
  
  .why-volunteer h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary);
    border-radius: 3px;
  }
  
  .benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
  }
  
  .benefit-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  }
  
  .benefit-icon {
    width: 70px;
    height: 70px;
    background: rgba(194, 164, 119, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
  }
  
  .benefit-icon i {
    font-size: 2rem;
    color: var(--secondary);
  }
  
  .benefit-card h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 15px;
  }
  
  .benefit-card p {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
  }
  
  /* Volunteer Opportunities Section */
  .volunteer-opportunities {
    padding: 80px 0;
    background: var(--white);
    text-align: center;
    
  }
  
  .volunteer-opportunities h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
  }
  
  .section-intro {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 40px;
  }
  
  /* Tabs Navigation */
  .tabs-navigation {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
  }
  
  .tab-btn {
    padding: 12px 20px;
    background: transparent;
    border: 2px solid var(--primary);
    border-radius: 30px;
    color: var(--primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .tab-btn:hover,
  .tab-btn.active {
    background: var(--primary);
    color: var(--white);
  }
  
  /* Tab Content */
  .tab-content {
    position: relative;
    min-height: 400px;
  }
  
  .tab-pane {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
  }
  
  .tab-pane.active {
    display: block;
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  /* Opportunities Grid */
  .opportunities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
  }
  
  .opportunity-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: left;
  }

  /* Target the media team card  to stay center*/
.opportunity-card--centered {
    grid-column: 1 / -1; /* makes the card span the full width of the grid */
    justify-self: center; /* horizontally center the card */
    max-width: 400px;     /* keep it from getting too wide */
  }
  
  
  
  .opportunity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  }
  
  .opportunity-image {
    height: 200px;
    overflow: hidden;
  }
  
  .opportunity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  
  .opportunity-card:hover .opportunity-image img {
    transform: scale(1.1);
  }
  
  .opportunity-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  
  .opportunity-content h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 10px;
  }
  
  .opportunity-content p {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.6;
  }
  
  .opportunity-details {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
  }
  
  .opportunity-details li {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    color: var(--text-light);
    font-size: 0.9rem;
  }
  
  .opportunity-details li i {
    color: var(--secondary);
    margin-right: 10px;
    min-width: 20px;
  }
  
  .btn-apply {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    margin-top: auto;
  }
  
  .btn-apply:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  /* Volunteer Testimonials */
  .volunteer-testimonials {
    padding: 80px 0;
    background: var(--secondary-light);
    text-align: center;
    width: 100%;
  }
  
  .volunteer-testimonials h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
  }
  
  .testimonials-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
  }
  
  .testimonial-slide {
    padding: 20px;
  }
  
  .testimonial-content {
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 30px;
    text-align: left;
  }
  
  .testimonial-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
  }
  
  .testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .testimonial-quote {
    flex: 1;
  }
  
  .testimonial-quote i {
    font-size: 2rem;
    color: var(--secondary);
    opacity: 0.3;
    margin-bottom: 10px;
  }
  
  .testimonial-quote p {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 20px;
  }
  
  .testimonial-quote h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 5px;
  }
  
  .testimonial-role {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
  }
  
  .slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 20px;
  }
  
  .slider-prev,
  .slider-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    color: var(--primary);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .slider-prev:hover,
  .slider-next:hover {
    background: var(--primary);
    color: var(--white);
  }
  
  .slider-dots {
    display: flex;
    gap: 10px;
  }
  
  .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .dot.active {
    background: var(--primary);
    transform: scale(1.2);
  }
  
  /* Volunteer Form Section */
  .volunteer-form-section {
    padding: 80px 0;
    background: var(--white);
    text-align: center;
  }
  
  .volunteer-form-section h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
  }
  
  .volunteer-form {
    max-width: 800px;
    margin: 40px auto 0;
    background: var(--secondary-light);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    text-align: left;
  }
  
  .form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
  }
  
  .form-group {
    margin-bottom: 20px;
  }
  
  .form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary);
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
  }
  
  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45, 62, 80, 0.1);
    outline: none;
  }
  
  .checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin-top: 10px;
  }
  
  .checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
  }
  
  .checkbox-label input {
    margin-right: 10px;
    width: auto;
  }
  
  .checkbox-group {
    margin-bottom: 15px;
  }
  
  .checkbox-group .checkbox-label {
    align-items: flex-start;
  }
  
  .checkbox-group .checkbox-label input {
    margin-top: 5px;
  }
  
  .btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--primary);
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
  }
  
  .btn-submit:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  /* Next Steps Section */
  .next-steps {
    padding: 80px 0;
    background: linear-gradient(to right, rgba(45, 62, 80, 0.05), rgba(45, 62, 80, 0.1));
    text-align: center;
    width: 100%;
  }
  
  .next-steps h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
  }
  
  .next-steps h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary);
    border-radius: 3px;
  }
  
  .steps-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
  }
  
  .step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    max-width: 500px;
    text-align: left;
  }
  
  .step-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
  }
  
  .step-content h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 10px;
  }
  
  .step-content p {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
  }
  
  .steps-note {
    font-size: 1.1rem;
    color: var(--text-dark);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    font-style: italic;
  }
  
  /* Animations */
  @keyframes fadeInDown {
    from {
      opacity: 0;
      transform: translateY(-30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* ===== RESPONSIVE DESIGN ===== */

/* Large Tablets and Small Desktops (1200px and below) */
@media (max-width: 1200px) {
    .container {
        padding: 0 20px;
    }
    
    .volunteer-intro,
    .volunteer-opportunities,
    .volunteer-impact,
    .volunteer-process {
        padding: 60px 0;
    }
    
    .volunteer-hero h1 {
        font-size: 3rem;
    }
    
    .volunteer-hero p {
        font-size: 1.3rem;
    }
    
    .opportunities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .impact-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* Tablets (992px and below) */
@media (max-width: 992px) {
    .volunteer-hero {
        height: 50vh;
        margin-top: 120px;
    }
    
    .volunteer-hero h1 {
        font-size: 2.5rem;
    }
    
    .volunteer-hero p {
        font-size: 1.2rem;
    }
    
    .volunteer-intro,
    .volunteer-opportunities,
    .volunteer-impact,
    .volunteer-process {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .opportunities-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .impact-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .opportunity-card {
        padding: 25px;
    }
    
    .stat-card {
        padding: 25px;
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Mobile Landscape (768px and below) */
@media (max-width: 768px) {
    .volunteer-hero {
        height: 45vh;
        margin-top: 100px;
    }
    
    .volunteer-hero h1 {
        font-size: 2rem;
        padding: 0 15px;
        letter-spacing: 0.5px;
    }
    
    .volunteer-hero p {
        font-size: 1.1rem;
        padding: 0 15px;
    }
    
    .volunteer-intro,
    .volunteer-opportunities,
    .volunteer-impact,
    .volunteer-process {
        padding: 40px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .impact-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .opportunity-card {
        padding: 20px;
    }
    
    .opportunity-card h3 {
        font-size: 1.3rem;
    }
    
    .opportunity-card p {
        font-size: 0.95rem;
    }
    
    .opportunity-card .requirements {
        font-size: 0.9rem;
    }
    
    .stat-card {
        padding: 20px;
        text-align: center;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .step-item {
        padding: 20px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .step-content h3 {
        font-size: 1.2rem;
    }
    
    .step-content p {
        font-size: 0.95rem;
    }
    
    .steps-note {
        font-size: 1rem;
    }
}

/* Mobile Portrait (576px and below) */
@media (max-width: 576px) {
    .volunteer-hero {
        height: 40vh;
        margin-top: 80px;
    }
    
    .volunteer-hero h1 {
        font-size: 1.6rem;
        line-height: 1.2;
    }
    
    .volunteer-hero p {
        font-size: 1rem;
    }
    
    .volunteer-intro,
    .volunteer-opportunities,
    .volunteer-impact,
    .volunteer-process {
        padding: 30px 0;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }
    
    .volunteer-intro-content p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .opportunity-card {
        padding: 15px;
    }
    
    .opportunity-card h3 {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }
    
    .opportunity-card p {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    
    .opportunity-card .requirements {
        font-size: 0.85rem;
    }
    
    .opportunity-card .btn-apply {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .stat-number {
        font-size: 1.8rem;
        margin-bottom: 5px;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .step-item {
        padding: 15px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        margin: 0 auto;
    }
    
    .step-content h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .step-content p {
        font-size: 0.9rem;
    }
    
    .steps-note {
        font-size: 0.95rem;
        padding: 0 10px;
    }
}

/* Extra Small Mobile (480px and below) */
@media (max-width: 480px) {
    .volunteer-hero h1 {
        font-size: 1.4rem;
    }
    
    .volunteer-hero p {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .volunteer-intro-content p {
        font-size: 0.85rem;
    }
    
    .opportunity-card h3 {
        font-size: 1.1rem;
    }
    
    .opportunity-card p {
        font-size: 0.85rem;
    }
    
    .opportunity-card .requirements {
        font-size: 0.8rem;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .step-content h3 {
        font-size: 1rem;
    }
    
    .step-content p {
        font-size: 0.85rem;
    }
    
    .steps-note {
        font-size: 0.9rem;
    }
}