/* About Page Specific Styles */

/* Hero Section Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Hero Section */
.bg-primary {
  background: var(--primary);
}

/* Story Section */
.grid.grid-cols-1.lg\\:grid-cols-2 > div:first-child {
  animation: slideInFromLeft 0.8s ease-out;
}

.grid.grid-cols-1.lg\\:grid-cols-2 > div:last-child {
  animation: slideInFromRight 0.8s ease-out;
}

/* Values Section */
.grid.grid-cols-1.md\\:grid-cols-2.lg\\:grid-cols-3 > div {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.grid.grid-cols-1.md\\:grid-cols-2.lg\\:grid-cols-3 > div:nth-child(1) {
  animation-delay: 0.1s;
}
.grid.grid-cols-1.md\\:grid-cols-2.lg\\:grid-cols-3 > div:nth-child(2) {
  animation-delay: 0.2s;
}
.grid.grid-cols-1.md\\:grid-cols-2.lg\\:grid-cols-3 > div:nth-child(3) {
  animation-delay: 0.3s;
}
.grid.grid-cols-1.md\\:grid-cols-2.lg\\:grid-cols-3 > div:nth-child(4) {
  animation-delay: 0.4s;
}
.grid.grid-cols-1.md\\:grid-cols-2.lg\\:grid-cols-3 > div:nth-child(5) {
  animation-delay: 0.5s;
}
.grid.grid-cols-1.md\\:grid-cols-2.lg\\:grid-cols-3 > div:nth-child(6) {
  animation-delay: 0.6s;
}

/* Team Section */
.grid.grid-cols-1.md\\:grid-cols-2.lg\\:grid-cols-3 > div {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.grid.grid-cols-1.md\\:grid-cols-2.lg\\:grid-cols-3 > div:nth-child(1) {
  animation-delay: 0.1s;
}
.grid.grid-cols-1.md\\:grid-cols-2.lg\\:grid-cols-3 > div:nth-child(2) {
  animation-delay: 0.2s;
}
.grid.grid-cols-1.md\\:grid-cols-2.lg\\:grid-cols-3 > div:nth-child(3) {
  animation-delay: 0.3s;
}

/* Team Member Cards */
.bg-background.rounded-2xl.shadow-lg {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bg-background.rounded-2xl.shadow-lg:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Statistics Section */
.bg-primary {
  background: var(--primary);
}

.grid.grid-cols-1.md\\:grid-cols-2.lg\\:grid-cols-4 > div {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.grid.grid-cols-1.md\\:grid-cols-2.lg\\:grid-cols-4 > div:nth-child(1) {
  animation-delay: 0.1s;
}
.grid.grid-cols-1.md\\:grid-cols-2.lg\\:grid-cols-4 > div:nth-child(2) {
  animation-delay: 0.2s;
}
.grid.grid-cols-1.md\\:grid-cols-2.lg\\:grid-cols-4 > div:nth-child(3) {
  animation-delay: 0.3s;
}
.grid.grid-cols-1.md\\:grid-cols-2.lg\\:grid-cols-4 > div:nth-child(4) {
  animation-delay: 0.4s;
}

/* Certifications Section */
.grid.grid-cols-2.md\\:grid-cols-4 > div {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.grid.grid-cols-2.md\\:grid-cols-4 > div:nth-child(1) {
  animation-delay: 0.1s;
}
.grid.grid-cols-2.md\\:grid-cols-4 > div:nth-child(2) {
  animation-delay: 0.2s;
}
.grid.grid-cols-2.md\\:grid-cols-4 > div:nth-child(3) {
  animation-delay: 0.3s;
}
.grid.grid-cols-2.md\\:grid-cols-4 > div:nth-child(4) {
  animation-delay: 0.4s;
}

/* Call to Action Buttons */
.bg-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(138, 0, 0, 0.3);
}

.bg-background.border-2.border-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(138, 0, 0, 0.3);
}

/* Image Hover Effects */
.relative img {
  transition: transform 0.3s ease;
}

.relative:hover img {
  transform: scale(1.05);
}

/* Floating Elements */
.absolute.-bottom-6.-right-6 {
  animation: pulse 2s infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
  .grid.grid-cols-1.lg\\:grid-cols-2,
  .grid.grid-cols-1.md\\:grid-cols-2.lg\\:grid-cols-3,
  .grid.grid-cols-1.md\\:grid-cols-2.lg\\:grid-cols-4,
  .grid.grid-cols-2.md\\:grid-cols-4 {
    grid-template-columns: 1fr;
  }

  .grid.grid-cols-1.lg\\:grid-cols-2 > div,
  .grid.grid-cols-1.md\\:grid-cols-2.lg\\:grid-cols-3 > div,
  .grid.grid-cols-1.md\\:grid-cols-2.lg\\:grid-cols-4 > div,
  .grid.grid-cols-2.md\\:grid-cols-4 > div {
    animation: none;
  }

  .flex.flex-col.sm\\:flex-row {
    flex-direction: column;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .bg-background {
    background-color: #1a1a1a;
  }

  .bg-background {
    background-color: #2d2d2d;
    color: #ffffff;
  }

  .text-text {
    color: #a0a0a0;
  }

  .border-gray-300 {
    border-color: #4a4a4a;
  }
}
