/* ========================================
   About Page Styles
   ======================================== */

/* About Intro Section */
.about-intro-section {
  padding: 80px 0;
  background: #ffffff;
}

.about-intro-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #5b9bd5;
  margin-bottom: 25px;
  line-height: 1.2;
}

.about-intro-content .lead-text {
  font-size: 1.15rem;
  color: #4a4a4a;
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-intro-content p {
  font-size: 1rem;
  color: #6c757d;
  line-height: 1.8;
  margin-bottom: 15px;
}

.about-values {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 30px;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: #f0f7ff;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.value-item:hover {
  background: #5b9bd5;
  color: #ffffff;
}

.value-item i {
  font-size: 1.1rem;
  color: #5b9bd5;
}

.value-item:hover i {
  color: #ffffff;
}

.value-item span {
  font-size: 0.9rem;
  font-weight: 600;
  color: #5b9bd5;
}

.value-item:hover span {
  color: #ffffff;
}

/* About Intro Image */
.about-intro-image {
  position: relative;
}

.about-intro-image .image-wrapper {
  position: relative;
}

.about-intro-image img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.about-intro-image .experience-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: linear-gradient(135deg, #5b9bd5 0%, #5b9bd5 100%);
  color: #ffffff;
  padding: 25px;
  border-radius: 4px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(43, 79, 135, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.about-intro-image .experience-badge:hover {
  transform: scale(1.1) rotate(8deg);
  box-shadow: 0 15px 40px rgba(43, 79, 135, 0.5);
}

.experience-badge .number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.experience-badge .text {
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.9;
}

/* Stats Section */
/* Stats Section with Shooting Stars */
.about-stats-section {
  position: relative;
  padding: 80px 0;
  background: linear-gradient(135deg, #5b9bd5 0%, #5b9bd5 100%);
  overflow: hidden;
}

/* Shooting Stars Container */
.stats-shooting-stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

/* Shooting Star */
.stats-shooting-star {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 8px #fff, 0 0 16px #5b9bd5;
  animation: statsShootingStar 1.5s ease-out forwards;
}

.stats-shooting-star::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  height: 1px;
  width: 50px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8));
  transform: translateX(3px) translateY(-50%) rotate(-45deg);
  border-radius: 100%;
  animation: statsShootingStarTail 1.5s ease-out forwards;
}

@keyframes statsShootingStar {
  0% {
    transform: translate(0, 0);
    opacity: 1;
  }
  70% {
    opacity: 0.8;
  }
  100% {
    transform: translate(-150px, 150px);
    opacity: 0;
  }
}

@keyframes statsShootingStarTail {
  0% {
    width: 0;
    opacity: 1;
  }
  30% {
    width: 50px;
    opacity: 1;
  }
  70% {
    opacity: 0.5;
  }
  100% {
    width: 0;
    opacity: 0;
  }
}

/* Ensure stats content stays above stars */
.stats-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stats-grid .stat-item {
  text-align: center;
  color: white;
  position: relative;
  z-index: 1;
}

.stats-grid .stat-icon {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  backdrop-filter: blur(10px);
}

.stats-grid .stat-icon i {
  font-size: 1.75rem;
  color: white;
}

.stats-grid .stat-number {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #ffffff, #a8d5f5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stats-grid .stat-label {
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.9;
}

@media (max-width: 991px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 576px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid .stat-number {
    font-size: 2.5rem;
  }
}

/* Mission & Vision Section */
.mission-vision-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.mission-card,
.vision-card {
  background: #ffffff;
  border-radius: 4px;
  padding: 40px;
  height: 100%;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.mission-card:hover,
.vision-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(91, 155, 213, 0.15);
  border-color: #5b9bd5;
}

.mission-card .card-icon,
.vision-card .card-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #5b9bd5 0%, #5b9bd5 100%);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}

.mission-card .card-icon i,
.vision-card .card-icon i {
  font-size: 2rem;
  color: #ffffff;
}

.mission-card h3,
.vision-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #5b9bd5;
  margin-bottom: 15px;
}

.mission-card p,
.vision-card p {
  font-size: 1rem;
  color: #6c757d;
  line-height: 1.8;
  margin-bottom: 20px;
}

.mission-points,
.vision-points {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mission-points li,
.vision-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.95rem;
  color: #4a4a4a;
  border-top: 1px solid #f0f0f0;
}

.mission-points li i,
.vision-points li i {
  color: #5b9bd5;
  font-size: 1.1rem;
}

/* What We Do Section */
.what-we-do-section {
  padding: 80px 0;
  background: #ffffff;
}

.what-we-do-section .section-header {
  margin-bottom: 50px;
}

.what-we-do-section .section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #5b9bd5;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
  padding: 8px 20px;
  background: rgba(43, 79, 135, 0.1);
  border-radius: 4px;
}

.what-we-do-section .section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #5b9bd5;
  margin-bottom: 15px;
}

.what-we-do-section .section-description {
  font-size: 1.1rem;
  color: #6c757d;
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-box {
  background: #f8f9fa;
  border-radius: 4px;
  padding: 35px;
  text-align: center;
  transition: all 0.3s ease;
}

.service-box:hover {
  background: #ffffff;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #5b9bd5 0%, #5b9bd5 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  animation: floatServiceIcon 3s ease-in-out infinite;
}

/* Desync floating animations for What We Do section */
.services-grid > .service-box:nth-child(1) .service-icon { animation-duration: 3s; animation-delay: 0s; }
.services-grid > .service-box:nth-child(2) .service-icon { animation-duration: 3.3s; animation-delay: -0.9s; }
.services-grid > .service-box:nth-child(3) .service-icon { animation-duration: 2.7s; animation-delay: -1.6s; }
.services-grid > .service-box:nth-child(4) .service-icon { animation-duration: 3.1s; animation-delay: -0.4s; }
.services-grid > .service-box:nth-child(5) .service-icon { animation-duration: 2.9s; animation-delay: -2.2s; }
.services-grid > .service-box:nth-child(6) .service-icon { animation-duration: 3.4s; animation-delay: -1.1s; }

@keyframes floatServiceIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.service-box:hover .service-icon {
  animation-play-state: paused;
}

.service-icon i {
  font-size: 1.75rem;
  color: #ffffff;
}

.service-box h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #5b9bd5;
  margin-bottom: 12px;
}

.service-box p {
  font-size: 0.9rem;
  color: #6c757d;
  line-height: 1.7;
  margin: 0;
}

/* Leadership Section */
.leadership-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.leadership-section .section-header {
  margin-bottom: 50px;
}

.leadership-section .section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #5b9bd5;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
  padding: 8px 20px;
  background: rgba(43, 79, 135, 0.1);
  border-radius: 4px;
}

.leadership-section .section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #5b9bd5;
  margin-bottom: 15px;
}

.leadership-section .section-description {
  font-size: 1.1rem;
  color: #6c757d;
}

.ceo-card {
  background: #ffffff;
  border-radius: 6px;
  padding: 50px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  max-width: 900px;
  margin: 0 auto;
}

.ceo-image img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.ceo-image-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #e9ecef 0%, #f8f9fa 100%);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #adb5bd;
}

.ceo-image-placeholder i {
  font-size: 4rem;
  margin-bottom: 15px;
}

.ceo-image-placeholder span {
  font-size: 0.9rem;
  font-weight: 600;
}

.ceo-info {
  padding-left: 30px;
}

.ceo-name {
  font-size: 1.75rem;
  font-weight: 800;
  color: #5b9bd5;
  margin-bottom: 5px;
}

.ceo-title {
  font-size: 1rem;
  color: #5b9bd5;
  font-weight: 600;
  margin-bottom: 25px;
}

.ceo-bio p {
  font-size: 1rem;
  color: #6c757d;
  line-height: 1.8;
  margin-bottom: 15px;
}

.ceo-social {
  display: flex;
  gap: 12px;
  margin-top: 25px;
}

.social-link {
  width: 45px;
  height: 45px;
  background: #f0f7ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5b9bd5;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: #5b9bd5;
  color: #ffffff;
  transform: translateY(-3px);
}

.social-link i {
  font-size: 1.1rem;
}

/* Why Choose Section */
.why-choose-section {
  padding: 80px 0;
  background: #ffffff;
}

.why-choose-section .section-header {
  margin-bottom: 50px;
}

.why-choose-section .section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #5b9bd5;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
  padding: 8px 20px;
  background: rgba(43, 79, 135, 0.1);
  border-radius: 4px;
}

.why-choose-section .section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #5b9bd5;
  margin-bottom: 15px;
}

.why-choose-section .section-description {
  font-size: 1.1rem;
  color: #6c757d;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-box {
  background: #f8f9fa;
  border-radius: 4px;
  padding: 35px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-box:hover {
  background: #ffffff;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.feature-number {
  font-size: 3rem;
  font-weight: 800;
  color: rgba(43, 79, 135, 0.1);
  position: absolute;
  top: 15px;
  right: 25px;
  line-height: 1;
}

.feature-box h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #5b9bd5;
  margin-bottom: 12px;
}

.feature-box p {
  font-size: 0.9rem;
  color: #6c757d;
  line-height: 1.7;
  margin: 0;
}

/* About CTA Section */
.about-cta-section {
  padding: 80px 0 100px;
  background: #f8f9fa;
}

.about-cta {
  text-align: center;
  padding: 60px;
  background: linear-gradient(135deg, #5b9bd5 0%, #5b9bd5 100%);
  border-radius: 6px;
  color: #ffffff;
}

.about-cta h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.about-cta p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 30px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: #ffffff;
  color: #5b9bd5;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  color: #5b9bd5;
}

.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: transparent;
  color: #ffffff;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  color: #ffffff;
}

/* Dark Mode */
[data-theme="dark"] .about-intro-section,
[data-theme="dark"] .what-we-do-section,
[data-theme="dark"] .why-choose-section {
  background: #5b9bd5;
}

[data-theme="dark"] .about-intro-content h2,
[data-theme="dark"] .mission-card h3,
[data-theme="dark"] .vision-card h3,
[data-theme="dark"] .service-box h4,
[data-theme="dark"] .feature-box h4,
[data-theme="dark"] .ceo-name {
  color: #ffffff;
}

[data-theme="dark"] .about-intro-content p,
[data-theme="dark"] .mission-card p,
[data-theme="dark"] .vision-card p,
[data-theme="dark"] .service-box p,
[data-theme="dark"] .feature-box p,
[data-theme="dark"] .ceo-bio p {
  color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .mission-vision-section,
[data-theme="dark"] .leadership-section,
[data-theme="dark"] .about-cta-section {
  background: #4a8ac4;
}

[data-theme="dark"] .mission-card,
[data-theme="dark"] .vision-card,
[data-theme="dark"] .ceo-card {
  background: #4a8ac4;
}

[data-theme="dark"] .service-box,
[data-theme="dark"] .feature-box {
  background: #4a8ac4;
}

[data-theme="dark"] .service-box:hover,
[data-theme="dark"] .feature-box:hover {
  background: #4a8ac4;
}

[data-theme="dark"] .value-item {
  background: rgba(91, 155, 213, 0.15);
}

[data-theme="dark"] .value-item span {
  color: #ffffff;
}

[data-theme="dark"] .value-item i {
  color: #5b9bd5;
}

/* Responsive */
@media (max-width: 991px) {
  .about-intro-content h2 {
    font-size: 2rem;
  }
  
  .about-intro-image {
    margin-top: 40px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 30px;
  }
  
  .services-grid,
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .ceo-info {
    padding-left: 0;
    margin-top: 30px;
  }
}

@media (max-width: 767px) {
  .about-intro-content h2 {
    font-size: 1.75rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .stats-grid .stat-number {
    font-size: 2.5rem;
  }

  .services-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .mission-card,
  .vision-card {
    padding: 30px;
  }
  
  .ceo-card {
    padding: 30px;
  }
  
  .about-cta {
    padding: 40px 25px;
  }
  
  .about-cta h3 {
    font-size: 1.5rem;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .btn-cta-primary,
  .btn-cta-secondary {
    width: 100%;
    justify-content: center;
  }
}

