.about-hero-section {
  background: url('/sulabha/assets/images/img4.jpg') center center / cover no-repeat;
  background-size: cover;
  background-position: center;
  height: 400px; /* or more as needed */
  position: relative;
  z-index: 1;
}
.about-hero-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* optional dark overlay */
  z-index: -1;
}

.scroll-target { scroll-margin-top: 190px; }
    #overview, #history, #trustees, #team {
        scroll-margin-top: 190px; /* Adjust this value as needed */
    }
 .about-nav-section {
  background: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: sticky !important;
  top: 6.5rem;
  z-index: 100;
   width: 100%; 
}
.navbar-brand img {
  height: 106px !important;
  /* max-height: 50px !important; */
  width: auto;
}

.about-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 1rem 0;
}

.about-nav-item {
  display: flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  margin: 0 0.5rem;
  color: var(--gray-600);
  text-decoration: none;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  /* color: var(--amber); */
}

.about-nav-item:hover {
  color: var(--amber);
  background: var(--gray-50);
}

.about-nav-item.active {
  color: #6122ba;
  background: rgba(99, 102, 241, 0.1);
}

.about-nav-item i {
  margin-right: 0.5rem;
}
/* Section Divider */
.section-divider {
  position: relative;
  height: 1px;
  background: var(--gray-200);
  margin: 2rem auto;
  width: 80%;
  max-width: 300px;
}

.section-divider span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 0 1rem;
  color: var(--primary-purple);
}

/* About Content */
.about-image-container {
  position: relative;
}

.about-content h3 {
  color: var(--gray-800);
  position: relative;
  padding-bottom: 1rem;
}

.about-content h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--primary-purple);
}

/* Vision & Mission Cards */
.vision-mission-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.vision-mission-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.vision-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--purple-gradient);
}

.mission-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--amber);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: var(--gray-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.vision-card .card-icon {
  color: red;
}

.mission-card .card-icon {
  color: #6122ba;
}

.vision-mission-card h3 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--gray-800);
}

/* Impact Summary Card */
.impact-summary-card {
  background:linear-gradient(to right, #E0569F, #6A329F);
  border-radius: 16px;
  padding: 3rem;
  color: white;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
  position: relative;
  overflow: hidden;
  margin-top: 3rem;
}

.impact-summary-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.2;
}

.impact-summary-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
}

.impact-stat {
  position: relative;
  z-index: 1;
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
}

/* Timeline */
.history-intro {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 3rem;
}

.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--purple-gradient);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  top: 0;
  left: 50%;
  width: 20px;
  height: 20px;
  background: #8b0000;
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.timeline-date {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(to right, #E0569F, #6A329F);
  color: #fff;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  margin-top: -2.5rem;
}

.timeline-content {
  position: relative;
  width: 45%;
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-top: 3rem;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: auto;
}

.timeline-content h4 {
  color: var(--purple-gradient);
  font-weight: 700;
  margin-bottom: 1rem;
}

.timeline-content img {
  margin-top: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Trustee Cards */
.trustee-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  height: 100%;
  transition: all 0.3s ease;
}

.trustee-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(99, 102, 241, 0.15);
}

.trustee-image {
  position: relative;
  height: 158px;
  overflow: hidden;
}

.trustee-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.trustee-card:hover .trustee-image img {
  transform: scale(1.05);
}

.trustee-content {
  padding: 1.5rem;
}

.trustee-content h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--gray-800);
}

.trustee-designation {
  color: var(--primary-purple);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.trustee-bio {
  color: var(--gray-600);
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.trustee-social {
  display: flex;
  gap: 0.75rem;
}

.social-icon {
  width: 36px;
  height: 36px;
  background: var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--primary-purple);
  color: white;
}

/* Team Filters */
.team-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.team-filter {
  background: none;
  border: 2px solid var(--gray-200);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  transition: all 0.3s ease;
}

.team-filter:hover {
  border-color: var(--primary-purple);
  color: var(--primary-purple);
}

.team-filter.active {
  background: var(--primary-purple);
  border-color: var(--primary-purple);
  color: white;
}

/* Team Cards */
.team-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  height: 100%;
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(99, 102, 241, 0.15);
}

.team-image {
  position: relative;
  height: 158px;
  overflow: hidden;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-card:hover .team-image img {
  transform: scale(1.05);
}

.team-card:hover .team-overlay {
  opacity: 1;
}

.team-social {
  display: flex;
  gap: 1rem;
}

.team-social .social-icon {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.team-social .social-icon:hover {
  background: white;
  color: var(--primary-purple);
}

.team-content {
  padding: 1.25rem;
  text-align: center;
}

.team-content h5 {
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--gray-800);
}

.team-content p {
  color: var(--gray-600);
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* Join Team Banner */
.join-team-banner {
    background: linear-gradient(to right, #E0569F, #6A329F);
    color: #fff;  border-radius: 16px;
  padding: 3rem;
  color: white;
  box-shadow: 0 10px 30px rgba(6, 214, 160, 0.2);
  position: relative;
  overflow: hidden;
}

.join-team-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.2;
}

.join-team-banner h2,
.join-team-banner p {
  position: relative;
  z-index: 1;
}

.join-team-banner .btn {
  position: relative;
  z-index: 1;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  transition: all 0.3s ease;
    background: linear-gradient(135deg, #2d1b2e 0%, #6122ba 50%, #8b0000 100%);
    color: #fff;  border: black;
      border:2px solid #fbbf24;

}

.join-team-banner .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}


/* Responsive Design */
@media (max-width: 992px) {
  .timeline::before {
    left: 30px;
  }

  .timeline-dot {
    left: 30px;
  }

  .timeline-date {
    left: 30px;
    transform: none;
    margin-top: -3.5rem;
  }

  .timeline-content {
    width: calc(100% - 60px);
    margin-left: 60px !important;
  }

  .about-nav-item {
    margin: 0.25rem;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}
/* .main-footer {
    background: linear-gradient(135deg, #8b0000 0%, #dc143c 50%, #2d1b2e 100%);
  position: relative;
  overflow: hidden;
}

.main-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footerPattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23footerPattern)"/></svg>');
  opacity: 0.3;
}

.footer-top {
  padding: 4rem 0 2rem;
  position: relative;
  z-index: 1;
}

.footer-section {
  height: 100%;
}

.footer-logo h3 {
  background: var(--purple-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
  background: var(--amber);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.footer-title {
  color: white;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--coral);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 1rem;
}

.footer-links a::before {
  content: "→";
  position: absolute;
  left: 0;
  opacity: 0;
  transition: all 0.3s ease;
  color: var(--coral);
}

.footer-links a:hover {
  color: white;
  padding-left: 1.5rem;
}

.footer-links a:hover::before {
  opacity: 1;
}

.contact-info {
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-right: 1rem;
  flex-shrink: 0;
}

.contact-details p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-newsletter h6 {
  color: white;
  font-weight: 600;
}

.newsletter-input-group {
  display: flex;
  border-radius: 50px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-input-group .form-control {
  background: transparent;
  border: none;
  color: white;
  padding: 0.75rem 1rem;
  flex: 1;
}

.newsletter-input-group .form-control::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-input-group .form-control:focus {
  background: transparent;
  border: none;
  box-shadow: none;
  color: white;
}

.newsletter-input-group .btn {
  background: var(--coral);
  border: none;
  padding: 0.75rem 1rem;
  color: white;
  transition: all 0.3s ease;
}

.newsletter-input-group .btn:hover {
  background: #ff5252;
  transform: scale(1.05);
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.3);
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
}

.footer-copyright p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-size: 0.9rem;
}

.footer-legal {
  display: flex;
  gap: 2rem;
  justify-content: flex-end;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.footer-legal a:hover {
  color: var(--coral);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-purple);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--dark-purple);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-top {
    padding: 3rem 0 1.5rem;
  }
  
  .social-links {
    justify-content: center;
    margin-top: 1.5rem;
  }
  
  .footer-legal {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
  }
  
  .footer-copyright {
    text-align: center;
  }
  
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
  
  .newsletter-input-group {
    flex-direction: column;
    border-radius: 12px;
  }
  
  .newsletter-input-group .form-control,
  .newsletter-input-group .btn {
    border-radius: 0;
  }
  
  .newsletter-input-group .form-control {
    border-radius: 12px 12px 0 0;
  }
  
  .newsletter-input-group .btn {
    border-radius: 0 0 12px 12px;
  }
} 

@media (max-width: 576px) {
  .contact-item {
    flex-direction: column;
    text-align: center;
  }
  
  .contact-icon {
    margin: 0 auto 0.5rem;
  }
}


/* Loading animation */
@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

.loading {
  animation: pulse 1.5s ease-in-out infinite;
}

@media (max-width: 768px) {
  .about-hero-section {
    padding: 3rem 0;
  }

  .about-hero-image {
    margin-top: 2rem;
  }

  .vision-mission-card,
  .impact-summary-card,
  .history-intro,
  .timeline-content,
  .join-team-banner {
    padding: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .team-filters {
    overflow-x: auto;
    padding-bottom: 1rem;
    justify-content: flex-start;
  }
  
}