/* Enhanced Special Section Styling */
.special-section {
  background: linear-gradient(135deg, var(--Bg-8) 0%, var(--White) 100%);
  position: relative;
}

/* Override existing special-card styles */
.special-card {
  background-color: var(--Primary) !important;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(13, 64, 28, 0.1);
  transition: all 0.4s ease;
  border: 2px solid transparent;
  position: relative;
}

.special-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(13, 64, 28, 0.3);
  border-color: var(--Secondary);
}

.special-card .special-img {
  height: 320px;
  overflow: hidden;
  position: relative;
}

.special-card .special-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: all 0.4s ease;
}

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

/* Special card content styling */
.special-card .special-title {
  font-size: 20px;
  font-weight: 700 !important;
  color: var(--White) !important;
  font-family: "Work Sans", sans-serif;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.special-card:hover .special-title {
  color: var(--Secondary) !important;
}

.special-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--White) !important;
  font-family: "Nunito Sans", sans-serif;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.special-card:hover p {
  color: var(--Text-3) !important;
}

/* Special Section View More Link Styling */
.special-card a {
  display: inline-block;
  color: var(--Secondary) !important;
  font-size: 16px;
  font-weight: 600;
  font-family: "Work Sans", sans-serif;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
  padding-bottom: 2px;
  text-decoration: none !important;
}

.special-card a:hover {
  color: var(--White) !important;
  transform: translateX(5px);
}

.special-card a:hover::after {
  background-color: var(--White);
  transform: scaleX(1.1);
}

/* Add arrow icon to the link */
.special-card a::before {
  content: "→";
  margin-right: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.special-card a:hover::before {
  transform: translateX(3px);
}

/* Add overlay effect on hover */
.special-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(13, 64, 28, 0.8) 0%,
    rgba(28, 105, 50, 0.9) 100%
  );
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 1;
  pointer-events: none;
}

.special-card:hover::before {
  opacity: 1;
}

/* Ensure content stays above overlay */
.special-card .special-img,
.special-card .p-3 {
  position: relative;
  z-index: 2;
}

/* Add glow effect on hover */
.special-card:hover {
  box-shadow: 0 20px 40px rgba(248, 195, 44, 0.3), 
              0 0 30px rgba(248, 195, 44, 0.2);
}

/* Responsive Design for Special Section */
@media (max-width: 768px) {
  .special-card {
    margin-bottom: 20px;
  }
  
  .special-card .special-img {
    height: 280px;
  }
  
  .special-card .special-title {
    font-size: 18px;
  }
  
  .special-card a {
    font-size: 15px;
  }
}

@media (max-width: 576px) {
  .special-card .special-img {
    height: 250px;
  }
  
  .special-card .special-title {
    font-size: 16px;
  }
  
  .special-card a {
    font-size: 14px;
  }
}