/* About page styles */

/* Override the header background image */
.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px;
}

.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Left side content */
.about-content {
  padding-right: 20px;
}

.about-heading {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.about-line {
  content: '';
  display: inline-block;
  height: 2px;
  width: 20px;
  background: linear-gradient(180deg, #ED8A29 0%, #C32D2E 100%);
  margin-right: 10px;
}

.testimonial-text {
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: left;
  font-size: 1.1rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.testimonial-divider {
  width: 100%;
  border: none;
  border-top: 1px solid #eee;
  margin: 10px 0;
}

.about-title {
  background: linear-gradient(180deg, #ED8A29 0%, #C32D2E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; /* For Firefox */
  color: #ED8A29;
  font-size: 1rem;
  font-weight: 500;
}

.about-main-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 25px;
  line-height: 1.2;
  font-family: 'Playfair Display', serif;
}

.section-header-faq {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 25px;
  line-height: 1.2;
  font-family: 'Playfair Display', serif;
}

.about-description p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 15px;
  font-size: 1rem;
}

.about-mission {
  display: flex;
  align-items: center;
  background-color: #f9f9f9;
  padding: 15px 0px;
  border-radius: 8px;
  margin-top: 25px;
}

.about-icon {
  width: 40px;
  height: auto;
  margin-right: 15px;
}

.about-mission-text {
  color: #333;
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Right side image */
.about-images {
  background: linear-gradient(180deg, rgba(237, 138, 41, 0.1) 0%, rgba(195, 45, 46, 0.1) 100%);
  padding: 30px;
  /* border-radius: 15px; */
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile image (initially hidden) */
.about-images-mobile {
  display: none; /* Hidden by default on desktop */
  background: linear-gradient(180deg, rgba(237, 138, 41, 0.1) 0%, rgba(195, 45, 46, 0.1) 100%);
  padding: 20px;
  border-radius: 10px;
  margin: 20px 0 30px;
  align-items: center;
  justify-content: center;
}

.about-images .single-image,
.about-images-mobile .single-image {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  /* box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1); */
  width: 100%;
  max-width: 400px;
}

.about-images img,
.about-images-mobile img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* Hover effects */
.about-images .single-image:hover img,
.about-images-mobile .single-image:hover img {
  transform: scale(1.05);
}

/* Responsive styles */
@media (max-width: 992px) {
  .about-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-content {
    padding-right: 0;
  }
  
  /* Hide desktop image, show mobile image */
  .about-images {
    display: none; /* Hide on tablet/mobile */
  }
  
  .about-images-mobile {
    display: flex; /* Show on tablet/mobile */
  }
  
  .about-main-title {
    font-size: 2.2rem;
  }

  .section-header-faq{
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .about-container {
    padding: 36px 15px;
  }
  
  .about-main-title {
    font-size: 2rem;
  }

  .section-header-faq{
    font-size: 2rem;
  }
  
  .about-images {
    padding: 15px;
  }
}

@media (max-width: 576px) {
  .about-container {
    padding: 30px 10px;
  }
  
  .about-main-title {
    font-size: 1.7rem;
    margin-bottom: 20px;
  }

  .section-header-faq{
    font-size: 1.7rem;
    margin-bottom: 20px;
  }
  
  .about-description p {
    font-size: 0.95rem;
    margin-bottom: 12px;
  }
  
  .about-mission {
    padding: 12px 15px;
    flex-direction: column;
    text-align: center;
  }
  
  .about-icon {
    margin-right: 0;
    margin-bottom: 10px;
  }
  
  .about-images {
    padding: 15px;
  }
  
  .section-header {
    font-size: 1.8rem;
  }
  
  .activity-list li {
    font-size: 0.9rem;
    margin-bottom: 10px;
  }
  
  .faq-question h3 {
    font-size: 1rem;
    padding-right: 30px;
  }
  
  .faq-answer p {
    font-size: 0.9rem;
  }
}

/* What We Do & Our Vision Section Styles */
.vision-mission-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin: 80px 0;
}

.values-section {
  background: linear-gradient(180deg, rgba(237, 138, 41, 0.1) 0%, rgba(195, 45, 46, 0.1) 100%);
  padding: 60px 0;
  margin: 0px 0;
}

.what-we-do-column,
.our-vision-column {
  padding: 10px 0;
}

.section-header {
  font-size: 2.4rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 25px;
  font-family: 'Playfair Display', serif;
  text-align: center;
}

.section-text {
  color: #555;
  line-height: 1.8;
  margin-bottom: 30px;
  font-size: 1rem;
}

.activity-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.activity-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
  line-height: 1.5;
  color: #444;
}

.emoji {
  font-size: 1.3rem;
  margin-right: 12px;
  display: inline-block;
  min-width: 24px;
}

/* FAQ Section Styles */
.faq-section {
  margin: 40px 0 60px;
}

.faq-heading {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.faq-line {
  content: '';
  display: inline-block;
  height: 2px;
  width: 20px;
  background: linear-gradient(180deg, #ED8A29 0%, #C32D2E 100%);
  -webkit-text-fill-color: transparent;
  background-color: #ED8A29;
  margin-right: 10px;
}

.faq-title {
  background: linear-gradient(180deg, #ED8A29 0%, #C32D2E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #ED8A29;
  font-size: 1rem;
  font-weight: 500;
}

.faq-container {
  display: flex;
  margin-top: 40px;
  gap: 40px;
}

.faq-list {
  width: 60%;
}

.faq-item {
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 15px;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  cursor: pointer;
}

.faq-question h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  color: #333;
  transition: color 0.3s;
}

.faq-icon {
  background: linear-gradient(180deg, #ED8A29 0%, #C32D2E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: transform 0.3s;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 0 20px;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-question h4 {
  /* Set the background gradient first */
  background: linear-gradient(180deg, #ED8A29 0%, #C32D2E 100%);
  
  /* Add required properties for text gradient in all browsers */
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  
  /* Fallback for browsers that don't support gradients */
  color: #ED8A29;
}

.faq-answer p {
  margin: 0;
  color: #555;
  line-height: 1.6;
}

.faq-image {
  width: 40%;
}

.faq-image img {
  margin-top: 20px;
  margin-left: 20px;
  width: 100%;
  height: auto;
  object-fit: cover;
  /* border-radius: 10px; */
}

/* Responsive styles for What We Do & Our Vision */
@media (max-width: 992px) {
  .vision-mission-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .section-header {
    font-size: 2.2rem;
  }
  
  .faq-list {
    width: 100%;
  }
  
  .faq-image {
    display: none;
  }
}

@media (max-width: 768px) {
  .vision-mission-section {
    /* margin: 0px 0; */
    gap: 30px;
  }
  
  .section-header {
    font-size: 2rem;
    margin-bottom: 20px;
  }
  
  .section-text {
    margin-bottom: 25px;
  }
  
  .activity-list li {
    margin-bottom: 14px;
  }

  .faq-container {
    flex-direction: column;
  }
  
  .faq-list {
    width: 100%;
  }
  
  .faq-image {
    width: 100%;
    max-width: 400px;
    margin: 30px auto 0;
  }
}

/* Reviews Section Styles */
.reviews-section {
  /* margin: 0px 0 100; */
  position: relative;
}

.reviews-heading {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  padding: 5px 0;
  position: relative;
  z-index: 1;
}

.testimonials-container {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.testimonials-slider {
  display: flex;
  position: relative;
  transition: transform 0.5s ease-in-out;
  height: auto;
  min-height: 400px;
}

.testimonial-slide {
  flex: 0 0 25%; /* Show 4 slides side by side on large devices */
  padding: 0 10px;
  display: flex;
  justify-content: center;
  position: relative;
}

.testimonial-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 20px;
  width: 100%;
  height: 330px; /* Reduced size */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.testimonial-content {
  flex: 1;
}

.testimonial-footer {
  margin-top: auto;
}

.testimonial-quote-mark {
  font-size: 4rem;
  line-height: 1;
  font-family: 'Georgia', serif;
  background: linear-gradient(to right, #ED8A29, #BF0010);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
  display: block;
  height: 40px;
}

.testimonial-text {
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: left;
  font-size: 1rem;
  display: -webkit-box;
  /* -webkit-line-clamp: 4; */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.testimonial-divider {
  width: 100%;
  border: none;
  border-top: 1px solid #e8c19a;
;
  margin: 10px 0;
}

.testimonial-rating {
  margin-bottom: 10px;
  text-align: left;
}

.star {
  color: #ddd;
  font-size: 1.2rem;
  margin: 0 2px;
}

.star.filled {
  color: #FFC107;
}

.testimonial-author-container {
  display: flex;
  align-items: center;
}

.testimonial-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
  flex-shrink: 0;
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.testimonial-author {
  text-align: left;
}

.testimonial-author h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
}

.testimonial-author p {
  margin: 5px 0 0;
  font-size: 0.9rem;
  color: #777;
}

/* Responsive adjustments for testimonials */
@media (max-width: 1400px) {
  .testimonial-slide {
    flex: 0 0 33.33%; /* 3 slides on larger screens */
  }
  
  .testimonial-card {
    height: 380px;
  }
  
  .testimonial-text {
    -webkit-line-clamp: 5; /* Show more text on larger screens */
    line-clamp: 5;
  }
}

@media (max-width: 992px) {
  .testimonial-slide {
    flex: 0 0 50%; /* 2 slides on tablets */
  }
  
  /* .testimonial-card {
    height: 330px;
    padding: 15px;
  } */
  
  .testimonial-text {
    font-size: 1rem;
    -webkit-line-clamp: 4;
    line-clamp: 4;
  }
  
  .testimonial-quote-mark {
    font-size: 3.5rem;
    height: 35px;
    margin-bottom: 10px;
  }
}

@media (max-width: 768px) {
  .testimonial-slide {
    flex: 0 0 50%; /* 2 slide on mobile */
    padding: 0 15px;
    margin-bottom: 10px;
  }
  
  /* .testimonial-card {
    height: auto;
    min-height: 280px;
    max-width: 450px;
    margin: 0 auto;
    padding: 20px;
  } */
  
  .testimonial-text {
    font-size: 1rem;
    -webkit-line-clamp: 6;
    line-clamp: 6;
    margin-bottom: 15px;
  }
  
  .testimonials-container {
    margin-bottom: 30px;
  }
}

@media (max-width: 576px) {
  .testimonial-slide {
    flex: 0 0 100%; /* 1 slide on mobile */
    padding: 0 15px;
    margin-bottom: 10px;
  }

  .testimonial-card {
    max-height: 300px;
    padding: 15px;
  }
  
  .testimonial-quote-mark {
    font-size: 3rem;
    height: 30px;
    margin-bottom: 8px;
  }
  
  .testimonial-rating {
    margin-bottom: 15px;
  }
  
  .testimonial-text {
    margin-bottom: 10px;
    font-size: 0.9rem;
  }
  
  .testimonial-footer {
    padding-top: 5px;
  }
  
  .testimonial-author-container {
    margin-top: 5px;
  }
  
  .testimonial-divider {
    margin: 5px 0;
  }
}

/* Responsive styles for Reviews Section */
@media (max-width: 992px) {

  .testimonials-slider {
    height: 550px;
  }
  
  /* .testimonial-image {
    height: 250px;
  } */
}

@media (max-width: 768px) {
  .testimonial-text {
    font-size: 1rem;
  }
  
  .testimonials-slider {
    height: 500px;
  }
  
  /* .testimonial-image {
    height: 220px;
  } */
}

@media (max-width: 576px) {
  .reviews-section {
    margin: 40px 0;
  }
  
  .testimonial-quote {
    font-size: 3rem;
  }
  
  .testimonial-text {
    font-size: 0.95rem;
  }
  
  .testimonial-text.secondary-text {
    font-size: 0.85rem;
  }
  
  .testimonials-slider {
    height: 480px;
  }
  
  /* .testimonial-image {
    height: 180px;
  } */
  
  .testimonial-author h3 {
    font-size: 1.1rem;
  }
}

/* Organization Members Section Styles */

.members-heading {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.members-line {
  content: '';
  display: inline-block;
  height: 2px;
  width: 20px;
  background: linear-gradient(180deg, #ED8A29 0%, #C32D2E 100%);
  margin-right: 10px;
}

.members-title {
  background: linear-gradient(180deg, #ED8A29 0%, #C32D2E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #ED8A29;
  font-size: 1rem;
  font-weight: 500;
}

.section-header-members {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 40px;
  line-height: 1.2;
  font-family: 'Playfair Display', serif;
}

.members-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.member-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.member-card:hover {
  transform: translateY(-5px);
}

.member-image {
  width: 100%;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 4px;
}

.member-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.member-image img:hover {
  transform: scale(1.05);
}

.member-info {
  text-align: left;
  margin-bottom: 15px;
  align-self: flex-start;
  width: 100%;
}

.member-info h3 {
  font-size: 1rem;
  color: #333;
  margin-bottom: 5px;
}

.member-info p {
  font-size: 0.9rem;
  color: #666;
}

.member-social {
  display: flex;
  gap: 10px;
  justify-content: left;
  width: 100%;
}

.social-icon {
  color: rgba(214, 87, 44, 1) !important;
  font-size: 1.25rem;
  transition: color 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.social-icon i {
  color: rgba(214, 87, 44, 1);
}

.social-icon:hover,
.social-icon:hover i {
  color: #ED8A29 !important;
}

/* Responsive styles for members section */
@media (max-width: 992px) {
  .members-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .section-header-members {
    font-size: 2.2rem;
  }
}

@media (max-width: 576px) {
  .members-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .section-header-members {
    font-size: 1.8rem;
  }
  
  .member-info h3 {
    font-size: 1.2rem;
  }
}