/* Experience section styles */
.features-list li {
  background-image: url("../images/arrow.png");
  background-repeat: no-repeat;
  background-position: left 4px;
  padding-left: 24px;
  margin-bottom: 12px;
}

/* Service card updated design */
.service-card {
  transition: all 0.3s ease;
  border-radius: 0;
  overflow: hidden;
  background: white;
  border: 1px solid #e8e8e8;
  box-shadow: none;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.service-card .card-image {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.service-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card:hover .card-image img {
  transform: scale(1.1);
}

.service-card .card-content {
  padding: 2rem;
  background: white;
  border-top: 1px solid #e8e8e8;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card .read-more-btn {
  display: block;
  text-align: center;
  padding: 0.75rem;
  background: white;
  border: 1px solid #e8e8e8;
  border-radius: 0;
  color: #555c63;
  font-size: 14px;
  font-weight: 500;
  margin-top: auto;
  transition: all 0.3s ease;
}

.service-card .read-more-btn:hover {
  background: #fff5f0;
  color: #ea580c;
}

/* Enhanced Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-scale {
  transition: transform 0.3s ease;
}

.animate-scale:hover {
  transform: scale(1.05);
}

.hover-float {
  transition: transform 0.3s ease;
}

.hover-float:hover {
  transform: translateY(-5px);
}

.hover-glow {
  transition: all 0.3s ease;
}

.hover-glow:hover {
  box-shadow: 0 0 20px rgba(251, 146, 60, 0.3);
}

/* Stats counter animation */
.counter-animate {
  transition: all 0.8s ease;
}

/* Trustee card hover effect */
.trustee-card {
  transition: all 0.3s ease;
  border: 1px solid #e8e8e8;
  border-radius: 20px;
  padding: 2rem;
  background: white;
}

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

.trustee-card img {
  transition: all 0.3s ease;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto;
}

/* Button hover effects */
.btn-hover {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-hover::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn-hover:hover::after {
  width: 300%;
  height: 300%;
}
/* Hero section animations */
.hero-text {
  animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Testimonial slide animations */
.testimonial-slide {
  transition: all 0.5s ease;
}

.testimonial-slide.active {
  transform: scale(1);
  opacity: 1;
}

.testimonial-slide.hidden {
  transform: scale(0.9);
  opacity: 0;
}

/* Social icons hover effect */
.social-icon {
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-3px) rotate(8deg);
}

/* Experience badge enhanced animation */
.experience-badge {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* Stats container enhanced style */
.stats-box {
  border-radius: 0;
  position: relative;
  overflow: hidden;
}

.stats-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: 0.5s;
}

.stats-box:hover::before {
  left: 100%;
}

/* Activity card hover effect */
.activity-card {
  transition: all 0.3s ease;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
}

.activity-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.activity-card .line-clamp-3 {
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Activity card image hover effect */
.activity-card .relative {
  overflow: hidden;
}

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

.activity-card img {
  transition: transform 0.6s ease;
}

/* Badge animation */
.activity-card span.px-3 {
  transition: all 0.3s ease;
}

.activity-card:hover span.px-3 {
  transform: translateY(-2px);
}

/* Icon pulse animation */
@keyframes iconPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.activity-card:hover .w-10 i {
  animation: iconPulse 1.5s infinite;
  display: inline-block;
}

/* Read More link animation */
.activity-card .text-orange-500.font-medium {
  transition: all 0.3s ease;
}

.activity-card:hover .text-orange-500.font-medium {
  transform: translateX(4px);
}

/* Add staggered animation delay for cards */
.activities-container .animate-on-scroll:nth-child(1) {
  animation-delay: 0.1s;
}

.activities-container .animate-on-scroll:nth-child(2) {
  animation-delay: 0.2s;
}

.activities-container .animate-on-scroll:nth-child(3) {
  animation-delay: 0.3s;
}

/* Additional styling for larger screens */
@media (min-width: 1024px) {
  .activities-container {
    margin-bottom: 2rem;
  }

  .activity-card {
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .activity-card .p-6 {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .activity-card .p-6 > p {
    flex: 1;
  }
}

/* View all button hover effect */
.activities-container a.inline-flex {
  transition: all 0.3s ease;
}

.activities-container a.inline-flex:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.activities-container a.inline-flex:hover i {
  animation: bounceRight 1s infinite;
}

@keyframes bounceRight {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
}

.hero-section {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("../images/hero_image.png");
  background-size: cover;
  background-position: center;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.stats-container {
  margin-top: -50px;
  position: relative;
  z-index: 10;
}

.stats-box {
  border-radius: 0;
}

.experience-badge {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

/* Featured Activity Section */
.featured-activity {
  position: relative;
}

.featured-activity .rounded-2xl {
  transition: all 0.4s ease;
}

.featured-activity:hover .rounded-2xl {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.featured-activity img {
  filter: brightness(0.95);
  transition: all 0.7s ease;
}

.featured-activity:hover img {
  filter: brightness(1.05);
}

/* Decorative elements for the featured section */
.featured-activity::before {
  content: "";
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(249, 115, 22, 0.1);
  top: -25px;
  left: -25px;
  z-index: -1;
}

.featured-activity::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: rgba(249, 115, 22, 0.15);
  bottom: -15px;
  right: 10%;
  z-index: -1;
}

/* Star rating animation on hover */
.featured-activity .flex.space-x-1 i {
  transition: all 0.3s ease;
}

.featured-activity:hover .flex.space-x-1 i {
  transform: scale(1.1);
  color: #f59e0b;
}

.featured-activity:hover .flex.space-x-1 i:nth-child(2) {
  transition-delay: 0.05s;
}

.featured-activity:hover .flex.space-x-1 i:nth-child(3) {
  transition-delay: 0.1s;
}

.featured-activity:hover .flex.space-x-1 i:nth-child(4) {
  transition-delay: 0.15s;
}

.featured-activity:hover .flex.space-x-1 i:nth-child(5) {
  transition-delay: 0.2s;
}

/* Responsive adjustments for featured section */
@media (max-width: 768px) {
  .featured-activity {
    margin-bottom: 2rem;
  }

  .featured-activity .rounded-2xl {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  }
}
