@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Patrick+Hand&display=swap');

:root {
  --header-font: 'Patrick Hand';
  --body-font: 'Poppins';
  --primary-color: #F7A234;
  --secondary-color: rgb(36, 171, 160);
  --page-background: #f7f7f7;
}

/* General style */
body {
  background: var(--page-background);
  max-width: 1728px;
}

/* Hero Section */
.hero-section {
  padding-top: 1.5rem;
  background-image: 
    url('../img/volunteer/img/Frame 617.png');
  background-size: cover;
  background-position: center center;
  height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--header-font);
  color: white;
}

.page-title {
  font-family: var(--body-font);
  font-weight: 400;
  color: black
}

.hero-tagline {
  font-family: 'Patrick Hand';
  font-weight: 700;
  text-transform: capitalize;
  color: var(--primary-color)
}

.register-btn,
.discover-btn {
  border: none;
  padding: 10px;
  width: 305px;
  border-radius: 30px;
  font-family: var(--body-font);
  font-weight: 600;
  margin-top: 25px;
}

.register-btn {
  margin-right: 20px;
  background-color: var(--primary-color);
}

.discover-btn {
  border: 1px solid white;
  color: white;
  background-color: transparent;
  opacity: 2;
}

/* TESTIMONIAL SECTION */
.testimonial-header h2 {
  font-family: var(--header-font);
  color: var(--primary-color);
}

.testimonial-header p {
  font-family: var(--body-font);
  text-transform: capitalize;
  margin-top: -15px;
}

.testimonial-card {
  position: relative;
  width: 400px;
  height: auto;
  font-family: var(--body-font);
  font-weight: 400;
  text-align: left;
  background-color: rgb(247, 247, 247);
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 30px;
  background-color: white;

}
/* .testimonial-text {
  font-family: var(--body-font);
  font-weight: 400;
  text-align: left;
  font-size: 0.8rem !important;
  
} */

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 30px;
}

.quote-box {
  display: block;
  position: relative;
  z-index: 10;
  top: -35px;
  left: 10px;
}
.middle-card {
  background-color: var(--secondary-color);
}

.middle-card p {
  color: white;
  font-weight: 400;
}
/* TESTIMONIAL CAROUSEL */
.citem {
  justify-content: center;
  gap: 25px;
  margin-top: 25px;
}

.indicator-btn {
  padding: 5px;
  height: 1px;
  margin-left: 5px;
  width: 40px;
  background: #dfdcdc;
  border: none;
  border-radius: 15px;
}

.r-btn,
.l-btn {
  width: 20px;
}

.indicator-btn:focus {
  background-color: var(--secondary-color);
  outline: none;
}

/* VOLUNTEER SECTION */
.card-container {
  justify-content: center;
  gap: 25px;
}

.volunteer-header h2 {
  font-family: var(--header-font);
  font-weight: 400;
  text-transform: capitalize;
  color: var(--primary-color);
}

.volunteer-header p {
  font-family: var(--body-font);
}

.volunteer-card {
  position: relative;
  width: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 50px;
  padding-bottom: 25px;
  background-color: white;
  border-radius: 15px;
}

.volunteer-card h3 {
  font-family: var(--header-font);
}

.volunteer-card p {
  font-family: var(--body-font);
}

.volunteer-avatar {
  margin-top: -70px;
  width: 70%; /* fixed size for consistency */
  height: 170px !important;
  object-fit: cover;
  border-radius: 50%;
 border: 7px #F8F4F4 solid;
}

/* .volunteer-card button {
  border: none;
  font-weight: 400;
  width: auto;
  height: 40px;
  border-radius: 30px;
  margin-top: 25px;
  font-family: var(--body-font);
  text-align: center;
  background-color: var(--secondary-color);
  color: white;
  padding: 0 15px;
} */

/* BENEFITS OF VOLUNTEERING */

.benefit-section {
  justify-content: center;
  align-items: start;
}

.benefit-list {
  border-radius: 12px;
}

.benefit-header {
  font-family: var(--header-font);
  text-transform: capitalize;
  color: var(--primary-color)
}

.benefit-sub-header {
  font-family: var(--body-font);
  text-transform: capitalize;
}

.benefit {
  display: flex;
  justify-content: center;
  align-items: start;
  gap: 10px;
}

.benefit p {
  font-family: var(--body-font);
  text-transform: capitalize;

}

/* VOLUNTEERING OPPORTUNITY SECTION */
.volunteer-op-header {
  text-align: center;
}

.volunteer-op-header h2 {
  font-family: var(--header-font);
  color: var(--primary-color);
  font-weight: 400;
  text-transform: capitalize;

}

.volunteer-op-header p {
  font-family: var(--body-font);
  font-weight: 400;
}

.volunteer-op-card {
  background: white;
  width: 409px;
  
  border-radius: 12px;
  text-align: center;
  padding: 0;
  padding-bottom: 20px;
}
.volunteer-op-card:last-child {
  margin-bottom: 50px;
} 
.volunteer-op-card h3 {
  margin-top: 15px;
  margin-bottom: -15px;
  color: var(--primary-color)
}

.volunteer-op-card p {
  font-family: var(--body-font);
  font-weight: 400;
  margin-top: 25px;
}

.volunteer-op-card button {
  font-family: var(--body-font);
  font-weight: 400;
  width: 180px;
  height: 50px;
  border-radius: 30px;
  padding-top: 10px;
  padding-right: 20px;
  padding-bottom: 10px;
  padding-left: 20px;
  border: none;
  background-color: var(--secondary-color);
  margin-top: 25px;
}

.volunteering-img {
  width: 100%;
  height: auto;
}

.test-indicator:focus {
  background-color: var(--secondary-color);
}
.carousel-control-prev,
.carousel-control-next {
  width: 40px;
  height: 40px;
  border: none;
  background-color: var(--theme-color); /* deep red background */
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.9;
  transition: all 0.3s ease-in-out;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background-color: rgba(204, 0, 0, 0.95); /* slightly lighter on hover */
  opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-size: 20px 20px;
  filter: invert(1); /* make white arrow icon visible */
}

.carousel-control-prev {
  left: -20px;
}

.carousel-control-next {
  right: -20px;
}

/* FORM SECTION */
.section-header-description{
  /* border: 2px red solid; */
  width: 70%;
  margin: 0 auto;
}
.form-section {
  font-family: var(--body-font);
}

.form-header {
  text-align: center;
}

.form-header h2 {
  font-family: var(--header-font);
  color: var(--primary-color);
  font-weight: 400;
}

.form-container {
  max-width: 70%;
  margin: auto;
  padding: 30px;
}


textarea {
  resize: none;
}
#errorMessage{
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #ff4d4f;
  color: #fff;
  padding: 12px 18px;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(0,0,0,0.15);
  z-index: 9999;
  font-weight: 500;
}

.file-input-wrapper {
  border: 2px dashed black;
  width: 100%;
  height: 400px;
  background-color: white;
}

.browse-text {
  color: var(--secondary-color);
}

.file-input-wrapper {
  width: 100%;
  height: 400px;
  border: 1px solid transparent;
  background-image:
    linear-gradient(to right, black 5px, transparent 0%),
    linear-gradient(to right, black 5px, transparent 0%),
    linear-gradient(to bottom, black 5px, transparent 0%),
    linear-gradient(to bottom, black 5px, transparent 0%);
  background-position: top left, bottom left, top left, top right;
  background-size: 10px 1px, 10px 1px, 1px 10px, 1px 10px;
  background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

input, select, textarea {
  background-color: white !important;
}

#xUsername, #linkedUsername {
  height: auto;
}

.form-btn {
  display: block;
  width: 500px !important;
  height: 60px;
  margin: auto;
  border: none;
  border-radius: 40px;
  background-color: var(--primary-color) !important;
}

.form-btn:hover {
  background-color: var(--secondary-color) !important;
}

@media (max-width: 768px) {
  .form-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 20px;
  }
}