*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins',sans-serif;
}

body{
    background-repeat: #fff;
    /*padding-top: 80px;  Adjust based on header height */
    background-color: #fffdf9;
    color: #222;
}

/*hero section*/
.hero{
    height: 90vh;
    background:linear-gradient(rgba(255,140,0,0.8), rgba(255,140,0,0.8)), url('https://static.vecteezy.com/system/resources/previews/017/205/416/large_2x/volunteering-volunteer-organization-collects-humanitarian-aid-volunteers-are-holding-letters-in-their-hands-vector.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 20px;
}

.hero h1{
    font-size: 3rem;
    animation: fadeDown 1s ease;
}

.hero p{
    margin: 15px 0;
}

.btn{
    display: inline-block;
    padding: 12px 25px;
    background: white;
    color: #ff8c00;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn:hover{
    background:#ff8c00;
    color: white;
}

/*why section*/
.why-section{
    padding: 70px 20px;
    text-align: center;
}

.why-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.glass{
    background-color: rgba(255,140,0,0,08);
    backdrop-filter: blur(12px);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(255,140,0,0.15);
    transition: 0.3s;
}

.glass:hover{
    transform: translateY(-8px);
}

/*process*/
.process-section{
    background:#fff7ef;
    padding: 60px 20px;
    text-align: center;
}

.process-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.step{
    background: #ff8c00;
    color: white;
    padding: 20px;
    border-radius: 10px;
    font-size: 20px;
}

/*form*/
.form-section{
    padding: 80px 20px;
    display: flex;
    justify-content: center;
}

.form-wrapper {
  display: flex;
  gap: 60px;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: auto;
  position: relative;
  z-index: 2;
}

/* LEFT SIDE */
.form-info {
  flex: 1;
}

.volunteer-image {
  width: 100%;
  border-radius: 20px;
  margin-bottom: 20px;
}

.form-info h2 {
  font-size: 2.2rem;
  color: #ff8c00;
  margin-bottom: 20px;
}

.form-info p {
  margin-bottom: 25px;
  line-height: 1.6;
  color: #555;
}

.info-points div {
  margin-bottom: 12px;
  font-weight: 500;
}


.form-container{
    max-width: 500px;
    width: 100%;
}

form{
    display: flex;
    flex-direction: column;

}

/* Background Glow */
.form-section::before {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  background: rgba(255,140,0,0.15);
  border-radius: 50%;
  top: 20%;
  left: 5%;
  filter: blur(120px);
  z-index: 0;
}

/*name group*/
.name-group{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px 1fr));
    gap: 10px;
}

/*inputs*/
input,select,textarea{
    margin: 10px 0;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    outline: none;
    transition: 0.3 ease;
    width: 100%;
}

/*focus effect*/
input:focus, select:focus, textarea:focus{
    border-color: #ff8c00;
    box-shadow: 0 0 8px rgba(255,140,0,0.3);
}

form button {
  width: 100%;
  padding: 12px;
  border: none;
  background: #ff8c00;
  color: white;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
}

form button:hover {
  background: #e67600;
}


/*hide other field initially*/
#otherField{
    display: none;
}

/*volunteer testimonial section*/.testimonial-section {
  padding: 80px 20px;
  background: #f8f9fa;
  text-align: center;
}

.testimonial-heading {
  font-size: 32px;
  margin-bottom: 50px;
  font-weight: bold;
}

.testimonial-container {
  position: relative;
  max-width: 600px;
  margin: auto;
  overflow: hidden;
}

.testimonial-slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial-card {
  min-width: 100%;
  padding: 30px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.testimonial-card p {
  font-size: 16px;
  margin-bottom: 15px;
  color: #555;
}

.testimonial-card h4 {
  color: #ff4d6d;
  font-size: 15px;
}

/* Arrows */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #ff4d6d;
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 18px;
}

.prev { left: -50px; }
.next { right: -50px; }

.prev:hover, .next:hover {
  background: #e63956;
}

/* Dots */
.dots {
  margin-top: 20px;
}

.dots span {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  display: inline-block;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
}

.dots span.active {
  background: #ff4d6d;
}

/* Responsive */
@media(max-width: 900px) {
  .form-wrapper {
    flex-direction: column;
    text-align: center;
  }
}