/* About Us Page Specific Styles */

/* Hero Section */
.about-hero-section {
  min-height: 100vh;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--darkpurple) 50%,
    var(--secondary-color) 100%
  );
  position: relative;
  overflow: hidden;
  padding-top: 80px; /* Account for fixed navbar */
}

.about-hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("../images/hero-pattern.svg") repeat;
  opacity: 0.1;
  z-index: 1;
}

.about-hero-section .container {
  z-index: 2;
  position: relative;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 30% 20%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 80%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    );
  z-index: 1;
}

.hero-stats {
  margin-top: 3rem;
}

.stat-item {
  padding: 1rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* About Content Section */
.about-content {
  padding: 5rem 0;
}

.about-image-container {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
}

.about-overlay {
  background: linear-gradient(45deg, var(--primary-color) 0%, transparent 100%);
  opacity: 0.1;
  transition: opacity 0.3s ease;
}

.about-image-container:hover .about-overlay {
  opacity: 0.2;
}

/* Service Highlight Cards */
.service-highlight-card {
  background: #fff;
  border-radius: 1rem;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(var(--primary-color-rgb), 0.1);
  position: relative;
  overflow: hidden;
}

.service-highlight-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
}

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

.service-icon-large {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.service-icon-large i {
  font-size: 2rem;
  color: white;
}

/* NIRA Section */
.nira-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 1px solid rgba(var(--primary-color-rgb), 0.1);
  position: relative;
  overflow: hidden;
}

.nira-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(var(--primary-color-rgb), 0.05) 0%,
    transparent 70%
  );
  z-index: 1;
}

.nira-section .row {
  position: relative;
  z-index: 2;
}

/* Support Section */
.support-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.support-card {
  background: white;
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(var(--primary-color-rgb), 0.1);
  position: relative;
  overflow: hidden;
}

.support-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 0 0 10px 10px;
}

.support-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.support-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.support-icon i {
  font-size: 2rem;
  color: white;
}

.support-feature-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border-left: 4px solid var(--primary-color);
  height: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-hero-section {
    min-height: 80vh;
    padding: 6rem 0 2rem 0;
  }

  .about-hero-section .container {
    padding-top: 2rem;
  }

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

  .hero-stats {
    margin-top: 2rem;
  }

  .service-highlight-card,
  .support-card {
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
  }

  .service-icon-large,
  .support-icon {
    width: 60px;
    height: 60px;
  }

  .service-icon-large i,
  .support-icon i {
    font-size: 1.5rem;
  }

  .nira-section {
    padding: 3rem 2rem !important;
  }
}

@media (max-width: 576px) {
  .about-hero-section {
    min-height: 70vh;
    padding: 5rem 0 2rem 0;
  }

  .about-hero-section .container {
    padding-top: 1.5rem;
  }

  .display-3 {
    font-size: 2.5rem;
  }

  .stat-item {
    padding: 0.5rem;
  }

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

  .service-highlight-card,
  .support-card {
    padding: 1.5rem 1rem;
  }
}

/* Animation Classes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Custom Button Styles */
.btn-outline-primary:hover {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(var(--primary-color-rgb), 0.3);
}

/* Badge Styles */
.badge.bg-success {
  background: linear-gradient(135deg, #28a745, #20c997) !important;
  box-shadow: 0 3px 10px rgba(40, 167, 69, 0.3);
}

/* List Styles */
.list-unstyled li {
  padding: 0.25rem 0;
  transition: all 0.2s ease;
}

.list-unstyled li:hover {
  padding-left: 0.5rem;
}

/* Image Hover Effects */
img {
  transition: transform 0.3s ease;
}

img:hover {
  transform: scale(1.02);
}
