/* About page specific styles */

/* Hero Section */
.about-hero {
  background: linear-gradient(
    135deg,
    rgba(163, 191, 250, 0.1),
    rgba(255, 232, 214, 0.1)
  );
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.about-hero .hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  opacity: 0.05;
  z-index: 1;
}

body[data-theme="dark"] .about-hero .hero-background {
  opacity: 0.1;
}

.about-hero .hero-content {
  animation: fadeInUp 0.8s ease forwards;
}

.about-hero .hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.about-hero .hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted-light);
  margin-bottom: 0;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

body[data-theme="dark"] .about-hero .hero-subtitle {
  color: var(--text-muted-dark);
}

/* Company Story Section */
.company-story {
  background: var(--bg-light);
}

body[data-theme="dark"] .company-story {
  background: var(--bg-dark);
}

.story-content {
  padding: 2rem 0;
}

.story-image {
  position: relative;
}

.story-image img {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

/* Mission Vision Values */
.mission-vision-values {
  background: rgba(232, 236, 239, 0.3);
}

body[data-theme="dark"] .mission-vision-values {
  background: rgba(232, 236, 239, 0.05);
}

.value-card {
  background: var(--bg-light);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(163, 191, 250, 0.1);
  height: 100%;
  position: relative;
  overflow: hidden;
}

body[data-theme="dark"] .value-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    135deg,
    var(--secondary-color),
    var(--accent-color)
  );
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(163, 191, 250, 0.2);
}

.value-card:hover::before {
  transform: scaleX(1);
}

.value-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    var(--secondary-color),
    var(--accent-color)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: white;
  transition: transform 0.3s ease;
  svg {
    width: 40px;
    height: 40px;
    background: linear-gradient(
      135deg,
      var(--secondary-color),
      var(--accent-color)
    );
    fill: var(--text-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: transform 0.3s ease;
  }
}

.value-card:hover .value-icon {
  transform: scale(1.1);
}

.value-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-light);
}

body[data-theme="dark"] .value-title {
  color: var(--text-dark);
}

.value-text {
  color: var(--text-muted-light);
  line-height: 1.3;
  margin: 0;
  ul {
    list-style: none;
    padding: 0;
    margin-bottom: 0.3rem;
    li {
      display: flex;
      justify-content: flex-start;
      align-items: center;
      text-align: left;
      gap: 12px;
      margin-bottom: 1rem;
      color: var(--text-light);
      font-size: 0.95rem;
      &:before {
        content: "\f26b";
        font-family: "bootstrap-icons";
        font-size: 1.25rem;
        left: 0;
        top: 0;
        color: var(--secondary-color);
      }
      p {
        margin-bottom: 0;
      }
    }
  }
}

body[data-theme="dark"] .value-text {
  color: var(--text-muted-dark);
  ul {
    li {
      color: var(--text-muted-dark);
    }
  }
}

/* Company Numbers */
.company-numbers {
  background: linear-gradient(
    135deg,
    rgba(163, 191, 250, 0.05),
    rgba(255, 232, 214, 0.05)
  );
}

.number-card {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--bg-light);
  border-radius: 20px;
  border: 1px solid rgba(163, 191, 250, 0.1);
  transition: all 0.3s ease;
}

body[data-theme="dark"] .number-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.number-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(163, 191, 250, 0.2);
}

.number-value {
  font-size: 3rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
  display: block;
}

.number-value::after {
  content: "+";
  font-size: 2rem;
  margin-left: 0.25rem;
}

.number-label {
  color: var(--text-muted-light);
  font-weight: 500;
  font-size: 1rem;
}

body[data-theme="dark"] .number-label {
  color: var(--text-muted-dark);
}

/* Team Section */
.team-section {
  background: rgba(232, 236, 239, 0.3);
}

body[data-theme="dark"] .team-section {
  background: var(--bg-dark);
}

.team-card {
  background: var(--bg-light);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(163, 191, 250, 0.1);
  height: 100%;
}

body[data-theme="dark"] .team-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(163, 191, 250, 0.2);
}

.team-image {
  position: relative;
  overflow: hidden;
}

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

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

.team-content {
  padding: 2rem;
  text-align: center;
}

.team-name {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

body[data-theme="dark"] .team-name {
  color: var(--text-dark);
}

.team-role {
  color: var(--secondary-color);
  font-weight: 500;
  margin-bottom: 1rem;
  font-size: 1rem;
}

body[data-theme="dark"] .team-role {
  color: var(--secondary-color);
}

.team-description {
  color: var(--text-muted-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

body[data-theme="dark"] .team-description {
  color: var(--text-muted-dark);
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.team-social .social-link {
  width: 40px;
  height: 40px;
  background: rgba(163, 191, 250, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.team-social .social-link:hover {
  background: var(--secondary-color);
  color: white;
  transform: translateY(-2px);
}

/* Certifications */
.certifications {
  background: rgba(255, 232, 214, 0.1);
}

body[data-theme="dark"] .certifications {
  background: rgba(255, 232, 214, 0.05);
}

.certification-card {
  background: var(--bg-light);
  border-radius: 15px;
  padding: 2rem 1rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(163, 191, 250, 0.1);
  height: 100%;
}

body[data-theme="dark"] .certification-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

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

.certification-logo {
  max-width: 100%;
  height: 80px;
  object-fit: contain;
  margin-bottom: 1rem;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.certification-card:hover .certification-logo {
  filter: grayscale(0%);
}

.certification-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-light);
  margin: 0;
}

body[data-theme="dark"] .certification-name {
  color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-hero {
    padding: 100px 0 60px;
  }

  .about-hero .hero-title {
    font-size: 2.5rem;
  }

  .about-hero .hero-subtitle {
    font-size: 1.125rem;
  }

  .story-content {
    padding: 1rem 0;
    margin-bottom: 2rem;
  }

  .value-card,
  .number-card,
  .team-card,
  .certification-card {
    margin-bottom: 2rem;
  }

  .number-value {
    font-size: 2.5rem;
  }

  .team-image img {
    height: 250px;
  }

  .team-content {
    padding: 1.5rem;
  }
}

/* Animation Classes */
.animate-numbers {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.animate-numbers.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Counter Animation */
@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.number-card.counting .number-value {
  animation: countUp 0.6s ease forwards;
}
