/* Overview Section Styles */
.overview-section {
  background: linear-gradient(to bottom, #ffffff, #f8f9fa);
  overflow: hidden;
}

.overview-section .title {
  font-size: 1.1rem;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
  transition: all 0.3s ease;
}



.overview-section .content-column:hover .title::after {
  opacity: 0.4;
  transform: skewX(-15deg);
}

.overview-section h2 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: #231F20;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.3s ease;
}

.overview-section .text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #6c757d;
}

/* Stats Grid Styles */
.stats-grid {
  margin-top: 3rem;
}

.stat-item {
  padding: 1.5rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background:  var(--main-color);
  opacity: 0;
  transition: all 0.3s ease;
}

.stat-item:hover::before {
  opacity: 1;
}

.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #231F20;
  margin-bottom: 0.5rem;
}

.stat-item .text-theme {
  color: var(--theme-color, #CE2026);
}

.stat-item p {
  font-size: 0.9rem;
  color: #6c757d;
  margin: 0;
}

/* Image Styles */
.image-wrapper {
  position: relative;
  transition: all 0.5s ease;
}

.image-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(52, 152, 219, 0.1), rgba(44, 62, 80, 0.1));
  opacity: 0;
  transition: all 0.3s ease;
}

.image-wrapper:hover::after {
  opacity: 1;
}

.image-wrapper img {
  transition: all 0.5s ease;
}

.image-wrapper:hover img {
  transform: scale(1.02);
}

/* Enhanced Image Column Styles */
.image-column {
  position: relative;
}

.inner-column {
  padding: 2rem;
}

/* Decorative Elements */
.decoration-dots {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background-image: radial-gradient(circle, var(--theme-color, #CE2026) 2px, transparent 2px);
  background-size: 15px 15px;
  opacity: 0.2;
  z-index: -1;
}

.decoration-line {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  border-left: 3px solid var(--theme-color, #CE2026);
  border-bottom: 3px solid var(--theme-color, #CE2026);
  opacity: 0.2;
  z-index: -1;
}

/* Image Wrapper Styles */
.image-wrapper {
  position: relative;
  transform: perspective(1000px) rotateY(0deg);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.image-wrapper:hover {
  transform: perspective(1000px) rotateY(-5deg);
  box-shadow: 20px 20px 40px rgba(0, 0, 0, 0.15);
}

.image-wrapper img {
  transition: all 0.5s ease;
  filter: brightness(1);
}

.image-wrapper:hover img {
  transform: scale(1.05);
  filter: brightness(0.8);
}

/* Image Overlay Styles */
.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(0, 123, 255, 0.2), rgba(0, 123, 255, 0.4));
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  z-index: 1;
}

.image-wrapper:hover .image-overlay {
  opacity: 1;
}

.overlay-content {
  text-align: center;
  color: white;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.image-wrapper:hover .overlay-content {
  transform: translateY(0);
}

.overlay-icon {
  display: block;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.overlay-text {
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Image Caption Styles */
.image-caption {
  position: absolute;
  bottom: 1rem;
  right: 0;
  background: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px 0 0 50px;
  box-shadow: -5px 5px 15px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  transition: all 0.4s ease;
}

.image-wrapper:hover + .image-caption {
  transform: translateX(0);
}

.caption-text {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--theme-color, #CE2026);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .overview-section .content-column {
    margin-bottom: 3rem;
  }
  
  .overview-section h2 {
    font-size: 2rem;
  }
  
  .stat-item {
    margin-bottom: 1rem;
  }
  
  .inner-column {
    padding: 1rem;
    margin-bottom: 2rem;
  }
  
  .decoration-dots,
  .decoration-line {
    display: none;
  }
  
  .image-caption {
    display: none;
  }
}

/* Animation Classes */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.fade-up.active {
  opacity: 1;
  transform: translateY(0);
}

.fade-left {
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.6s ease;
}

.fade-left.active {
  opacity: 1;
  transform: translateX(0);
}
