/* About Us Section Enhancements */
.about-section {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(240, 248, 255, 1) 100%);
}

/* Decorative elements */
.about-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: url("../images/patterns/dot-pattern.png") repeat;
  opacity: 0.05;
  z-index: 0;
}

.about-section::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 102, 51, 0.1) 0%, rgba(0, 115, 207, 0.1) 100%);
  z-index: 0;
}

.about-container {
  position: relative;
  z-index: 1;
}

.about-title-wrapper {
  position: relative;
  margin-bottom: 60px;
}

.about-subtitle {
  font-size: 1.125rem;
  font-weight: 600;
  color: #006633;
  margin-bottom: 15px;
  display: inline-block;
  position: relative;
  padding-left: 40px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.about-subtitle::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 30px;
  height: 2px;
  background: #006633;
  transform: translateY(-50%);
}

.about-title {
  font-size: 2.75rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 25px;
  line-height: 1.2;
  position: relative;
}

.about-title span {
  color: #0073cf;
  position: relative;
  display: inline-block;
}

.about-title span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 100%;
  height: 8px;
  background: rgba(0, 115, 207, 0.1);
  z-index: -1;
}

.about-description {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 30px;
  max-width: 90%;
}

/* Grid layout for content */
.about-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Left column with text content */
.about-text-content {
  position: relative;
}

/* Right column with image and stats */
.about-media-content {
  position: relative;
}

.about-image-wrapper {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transform: perspective(1000px) rotateY(-5deg);
  transition: all 0.5s ease;
}

.about-image-wrapper:hover {
  transform: perspective(1000px) rotateY(0deg);
}

.about-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: all 0.5s ease;
}

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

/* Image overlay */
.about-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
  opacity: 0;
  transition: all 0.3s ease;
}

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

/* Stats cards */
.about-stats-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

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

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

.about-stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom, #006633, #0073cf);
  transition: all 0.3s ease;
}

.about-stat-card:hover::before {
  width: 7px;
}

.about-stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0073cf;
  margin-bottom: 10px;
  line-height: 1;
}

.about-stat-label {
  font-size: 1rem;
  color: #555;
  font-weight: 500;
}

/* Feature list */
.about-features-list {
  margin-top: 40px;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  position: relative;
  padding-left: 15px;
  transition: all 0.3s ease;
}

.about-feature-item:hover {
  transform: translateX(5px);
}

.about-feature-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #006633 0%, #0073cf 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  box-shadow: 0 10px 20px rgba(0, 115, 207, 0.2);
}

.about-feature-icon i {
  color: white;
  font-size: 1.25rem;
}

.about-feature-text {
  flex: 1;
}

.about-feature-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 8px;
}

.about-feature-description {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}

/* CTA button */
.about-cta {
  margin-top: 40px;
}

.about-btn {
  display: inline-flex;
  align-items: center;
  padding: 15px 30px;
  background: linear-gradient(135deg, #006633 0%, #0073cf 100%);
  color: white;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 115, 207, 0.2);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.about-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(135deg, #0073cf 0%, #006633 100%);
  transition: all 0.5s ease;
  z-index: -1;
}

.about-btn:hover::before {
  width: 100%;
}

.about-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 115, 207, 0.3);
}

.about-btn i {
  margin-left: 10px;
  transition: all 0.3s ease;
}

.about-btn:hover i {
  transform: translateX(5px);
}

/* Experience badge */
.about-experience-badge {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  background: white;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 2;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 115, 207, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(0, 115, 207, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 115, 207, 0);
  }
}

.about-experience-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #006633;
  line-height: 1;
}

.about-experience-text {
  font-size: 0.875rem;
  color: #555;
  text-align: center;
  line-height: 1.2;
}

/* Responsive styles */
@media (max-width: 991px) {
  .about-section {
    padding: 80px 0;
  }

  .about-content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-media-content {
    order: -1;
  }

  .about-title {
    font-size: 2.25rem;
  }

  .about-description {
    max-width: 100%;
  }

  .about-experience-badge {
    width: 100px;
    height: 100px;
    bottom: -20px;
    right: -20px;
  }

  .about-experience-number {
    font-size: 2rem;
  }
}

@media (max-width: 767px) {
  .about-section {
    padding: 60px 0;
  }

  .about-title {
    font-size: 1.875rem;
  }

  .about-subtitle {
    font-size: 1rem;
  }

  .about-description {
    font-size: 1rem;
  }

  .about-stats-wrapper {
    grid-template-columns: 1fr;
  }

  .about-experience-badge {
    width: 80px;
    height: 80px;
    bottom: -15px;
    right: -15px;
  }

  .about-experience-number {
    font-size: 1.5rem;
  }

  .about-experience-text {
    font-size: 0.75rem;
  }
}

/* Animation classes */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

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

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.8s ease;
}

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

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.8s ease;
}

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

/* Staggered animation delays */
.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

.delay-5 {
  transition-delay: 0.5s;
}

