/* volunteer.css */

/* HERO SECTION */
.volunteer-hero {
  min-height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  position: relative;
  background: linear-gradient(135deg, rgba(180, 22, 22, 0.05) 0%, rgba(0, 0, 0, 0) 100%);
}

.hero-content-wrapper {
  max-width: 800px;
}

.hero-logo-img {
  width: 80px;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 20px rgba(180, 22, 22, 0.3));
  opacity: 0;
}

.hero-main-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
  opacity: 0;
}

.hero-main-subtitle {
  font-size: 1.5rem;
  color: #aaa;
  line-height: 1.6;
  opacity: 0;
}

/* INTRO SECTION */
.intro-section {
  padding: 6rem 2rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.intro-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2rem;
}

.intro-text {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #bbb;
  margin-bottom: 1.5rem;
}

/* DEPARTMENTS SECTION */
.departments-section {
  padding: 6rem 2rem;
  background: rgba(255, 255, 255, 0.01);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.departments-header {
  max-width: 1400px;
  margin: 0 auto 4rem;
  text-align: center;
}

.departments-title {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.departments-subtitle {
  font-size: 1.3rem;
  color: #888;
}

.departments-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2rem;
}

.department-card {
  background: linear-gradient(135deg, rgba(180, 22, 22, 0.03) 0%, rgba(0, 0, 0, 0.5) 100%);
  border: 1px solid rgba(180, 22, 22, 0.2);
  border-radius: 16px;
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.department-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #b41616, #ff4444);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.department-card:hover::before {
  transform: scaleX(1);
}

.department-card:hover {
  transform: translateY(-8px);
  border-color: rgba(180, 22, 22, 0.5);
  box-shadow: 0 20px 60px rgba(180, 22, 22, 0.2);
  background: linear-gradient(135deg, rgba(180, 22, 22, 0.08) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.department-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.department-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(180, 22, 22, 0.15);
  border-radius: 12px;
  color: #b41616;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.department-card:hover .department-icon {
  background: rgba(180, 22, 22, 0.25);
  transform: rotate(5deg) scale(1.1);
}

.department-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.department-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #aaa;
  margin-bottom: 2rem;
}

.department-responsibilities {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.department-responsibilities li {
  font-size: 0.95rem;
  color: #999;
  padding-left: 1.75rem;
  position: relative;
  line-height: 1.6;
}

.department-responsibilities li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #b41616;
  font-weight: 700;
  font-size: 1.1rem;
}

.department-apply-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1rem;
  background: #b41616;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 2px solid #b41616;
  position: relative;
  overflow: hidden;
}

.department-apply-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}

.department-apply-btn:hover::before {
  width: 300px;
  height: 300px;
}

.department-apply-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(180, 22, 22, 0.4);
}

/* BENEFITS SECTION */
.benefits-section {
  padding: 8rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.benefits-header {
  text-align: center;
  margin-bottom: 5rem;
}

.benefits-title {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.benefits-subtitle {
  font-size: 1.2rem;
  color: #888;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
}

.benefit-item {
  text-align: center;
  padding: 2rem;
}

.benefit-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, rgba(180, 22, 22, 0.1), rgba(180, 22, 22, 0.05));
  border-radius: 50%;
  color: #b41616;
  transition: all 0.3s ease;
}

.benefit-item:hover .benefit-icon {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, rgba(180, 22, 22, 0.2), rgba(180, 22, 22, 0.1));
}

.benefit-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.benefit-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: #aaa;
}

/* PROCESS SECTION */
.process-section {
  padding: 8rem 2rem;
  background: rgba(255, 255, 255, 0.01);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.process-header {
  max-width: 800px;
  margin: 0 auto 5rem;
  text-align: center;
}

.process-title {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.process-subtitle {
  font-size: 1.2rem;
  color: #888;
}

.process-steps {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.process-step {
  text-align: center;
  padding: 2rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
}

.process-step:hover {
  border-color: rgba(180, 22, 22, 0.3);
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.04);
}

.process-number {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #b41616, #8a1111);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff;
  box-shadow: 0 5px 20px rgba(180, 22, 22, 0.3);
}

.process-step-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.process-step-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #aaa;
}

/* CTA SECTION */
.cta-section-volunteer {
  padding: 8rem 2rem;
  background: linear-gradient(135deg, rgba(180, 22, 22, 0.1) 0%, rgba(0, 0, 0, 0) 100%);
}

.cta-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  border: 2px solid rgba(180, 22, 22, 0.2);
  border-radius: 24px;
  padding: 5rem 3rem;
  position: relative;
  overflow: hidden;
}

.cta-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(180, 22, 22, 0.1) 0%, transparent 70%);
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.cta-main-title {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1rem;
  color: #fff;
  position: relative;
  z-index: 1;
}

.cta-main-desc {
  font-size: 1.3rem;
  color: #aaa;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.cta-buttons-main {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.cta-note {
  font-size: 1rem;
  color: #888;
  position: relative;
  z-index: 1;
}

.cta-note a {
  color: #b41616;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.cta-note a:hover {
  color: #ff4444;
  text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .departments-container {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  }

  .benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .volunteer-hero {
    min-height: 60vh;
    padding: 6rem 1.5rem 3rem;
  }

  .hero-logo-img {
    width: 60px;
  }

  .hero-main-title {
    font-size: 2.5rem;
  }

  .hero-main-subtitle {
    font-size: 1.2rem;
  }

  .intro-section {
    padding: 5rem 1.5rem;
  }

  .intro-title {
    font-size: 2rem;
  }

  .intro-text {
    font-size: 1.05rem;
  }

  .departments-section {
    padding: 4rem 1.5rem;
  }

  .departments-title {
    font-size: 2.2rem;
  }

  .departments-subtitle {
    font-size: 1.1rem;
  }

  .departments-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .department-card {
    padding: 2rem;
  }

  .department-title {
    font-size: 1.4rem;
  }

  .benefits-section {
    padding: 5rem 1.5rem;
  }

  .benefits-title {
    font-size: 2.2rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .process-section {
    padding: 5rem 1.5rem;
  }

  .process-title {
    font-size: 2.2rem;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .cta-section-volunteer {
    padding: 5rem 1.5rem;
  }

  .cta-container {
    padding: 3rem 2rem;
  }

  .cta-main-title {
    font-size: 2rem;
  }

  .cta-main-desc {
    font-size: 1.1rem;
  }

  .cta-buttons-main {
    flex-direction: column;
    gap: 1rem;
  }

  .btn.large {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .departments-container {
    grid-template-columns: 1fr;
  }

  .department-header {
    flex-direction: column;
    text-align: center;
  }
}

/* PERFORMANCE OPTIMIZATIONS */
.department-card,
.benefit-item,
.process-step,
.cta-container {
  will-change: transform;
  backface-visibility: hidden;
}