/* 
 * about-us-animations.css - Additional animation styles for About Us page
 * Applies animations and enhanced styles from sustainability page to about us
 */

/* =============================================
 * ANIMATION STYLES
 * ============================================= */

.fade-in {
  opacity: 0;
  animation: fadeIn 0.8s ease-out forwards;
}

@keyframes fadeIn {
  from { 
    opacity: 0; 
    transform: translateY(20px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

/* Visible class to be added on scroll */
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation delays */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* Slide up animation */
.slide-up {
  opacity: 0;
  animation: slideUp 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

@keyframes slideUp {
  from { 
    opacity: 0;
    transform: translateY(30px);
  }
  to { 
    opacity: 1;
    transform: translateY(0);
  }
}

/* Zoom in animation */
.zoom-in {
  opacity: 0;
  animation: zoomIn 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

@keyframes zoomIn {
  from { 
    opacity: 0;
    transform: scale(0.9);
  }
  to { 
    opacity: 1;
    transform: scale(1);
  }
}

/* Floating animation for icons */
.icon-float {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* Shine effect for cards */
.shine-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* =============================================
 * ENHANCED CARD STYLES
 * ============================================= */

/* Vision Mission Cards Enhancement */
.vision-mission-card {
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.vision-mission-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), 0 0 25px rgba(var(--accent-gold-rgb), 0.15);
}

.vision-mission-card::before {
  content: '';
  position: absolute;
  width: 150%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  transform: translateX(-100%);
  z-index: -1;
}

.vision-mission-card:hover::before {
  animation: shine 1.5s infinite;
}

@keyframes shine {
  to {
    transform: translateX(100%);
  }
}

/* Team Members Enhancement */
.team-member {
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), 0 0 25px rgba(var(--accent-gold-rgb), 0.15);
}

.team-member img {
  transition: all 0.5s ease;
}

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

/* Services Card Enhancement */
.service-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(30, 30, 40, 0.7) 0%, rgba(20, 20, 30, 0.9) 100%);
  backdrop-filter: blur(10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 25px rgba(var(--accent-gold-rgb), 0.15);
}

.service-card i {
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.service-card:hover i {
  transform: scale(1.2);
  color: var(--accent-gold);
}

/* Stats Card Enhancement */
.stat-card {
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.stat-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.stat-card::before {
  content: '';
  position: absolute;
  width: 150%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  transform: translateX(-100%);
  z-index: -1;
}

.stat-card:hover::before {
  animation: shine 1.5s infinite;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  margin: 20px 0;
  color: var(--primary-color);
  background: linear-gradient(90deg, var(--primary-color), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.3s ease;
  display: inline-block;
}

.stat-card:hover .stat-number {
  transform: scale(1.05);
}

/* Competitive Advantage Cards */
.advantage-card {
  display: flex;
  align-items: flex-start;
  background: linear-gradient(145deg, rgba(30, 30, 40, 0.7) 0%, rgba(20, 20, 30, 0.9) 100%);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  height: 100%;
}

.advantage-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 25px rgba(var(--accent-gold-rgb), 0.15);
}

.advantage-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.1) 0%, rgba(13, 110, 253, 0.2) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
  box-shadow: 0 10px 20px rgba(13, 110, 253, 0.2);
  transition: all 0.3s ease;
}

.advantage-card:hover .advantage-icon {
  transform: scale(1.1) rotate(10deg);
  background: linear-gradient(135deg, rgba(var(--accent-gold-rgb), 0.1) 0%, rgba(var(--accent-gold-rgb), 0.2) 100%);
  box-shadow: 0 15px 30px rgba(var(--accent-gold-rgb), 0.3);
}

.advantage-icon i {
  font-size: 1.8rem;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.advantage-card:hover .advantage-icon i {
  color: var(--accent-gold);
}

.advantage-content h4 {
  margin-bottom: 10px;
  color: var(--dark-text-primary);
  font-size: 1.3rem;
  font-weight: 700;
}

.advantage-content p {
  color: var(--dark-text-secondary);
  margin-bottom: 0;
  line-height: 1.7;
  font-size: 1.05rem;
}

/* Brand Values Card */
.value-card {
  padding: 40px 30px;
  text-align: center;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(30, 30, 40, 0.7) 0%, rgba(20, 20, 30, 0.9) 100%);
  backdrop-filter: blur(10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.value-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.value-card::before {
  content: '';
  position: absolute;
  width: 150%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  transform: translateX(-100%);
  z-index: -1;
}

.value-card:hover::before {
  animation: shine 1.5s infinite;
}

.value-card i {
  color: var(--primary-color);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.value-card:hover i {
  color: var(--accent-gold);
  transform: scale(1.1);
}

/* Hero Section Enhancement */
.about-hero {
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.8) 100%);
  z-index: 1;
}

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

/* Sustainability Cards */
.csr-card {
  background: linear-gradient(145deg, rgba(30, 30, 40, 0.7) 0%, rgba(20, 20, 30, 0.9) 100%);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 30px;
  text-align: center;
}

.csr-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 25px rgba(40, 167, 69, 0.15);
}

.csr-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(40, 167, 69, 0.2) 100%);
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 10px 20px rgba(40, 167, 69, 0.2);
  transition: all 0.3s ease;
}

.csr-card:hover .csr-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 30px rgba(40, 167, 69, 0.3);
}

.csr-icon i {
  font-size: 2.2rem;
  color: var(--success-color);
  transition: all 0.3s ease;
}

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

/* Future Cards */
.future-card {
  display: flex;
  align-items: flex-start;
  background: linear-gradient(145deg, rgba(30, 30, 40, 0.7) 0%, rgba(20, 20, 30, 0.9) 100%);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  height: 100%;
}

.future-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 25px rgba(var(--accent-gold-rgb), 0.15);
}

.future-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(248, 180, 0, 0.1) 0%, rgba(248, 180, 0, 0.2) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
  box-shadow: 0 10px 20px rgba(248, 180, 0, 0.2);
  transition: all 0.3s ease;
}

.future-card:hover .future-icon {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 15px 30px rgba(248, 180, 0, 0.3);
}

.future-icon i {
  font-size: 1.8rem;
  color: var(--accent-gold);
  transition: all 0.3s ease;
}

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

.future-content h4 {
  margin-bottom: 10px;
  color: var(--dark-text-primary);
  font-size: 1.3rem;
  font-weight: 700;
}

.future-content p {
  color: var(--dark-text-secondary);
  margin-bottom: 0;
  line-height: 1.7;
  font-size: 1.05rem;
}

/* Leadership Profile */
.leadership-profile {
  padding: 40px;
  background: linear-gradient(145deg, rgba(30, 30, 40, 0.7) 0%, rgba(20, 20, 30, 0.9) 100%);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.leadership-profile:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 25px rgba(var(--accent-gold-rgb), 0.15);
}

.leadership-profile img {
  border-radius: 50%;
  border: 5px solid rgba(var(--primary-color), 0.1);
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  margin-bottom: 20px;
}

.leadership-profile:hover img {
  transform: scale(1.05);
  border-color: rgba(var(--accent-gold-rgb), 0.2);
}

/* Social Media Icons */
.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
  color: var(--dark-text-primary);
}

.social-icon:hover {
  transform: translateY(-5px);
  background: var(--primary-color);
  color: white;
  box-shadow: 0 10px 20px rgba(33, 147, 176, 0.3);
}

/* Media Queries */
@media (max-width: 991.98px) {
  .advantage-card, .future-card {
    flex-direction: column;
  }
  
  .advantage-icon, .future-icon {
    margin: 0 auto 20px;
  }
  
  .advantage-content, .future-content {
    text-align: center;
  }
}

@media (max-width: 767.98px) {
  .fade-in {
    animation-duration: 0.5s;
  }
  
  .stat-number {
    font-size: 2.8rem;
  }
}

/* Add these styles to the <head> of the HTML document:
<link rel="stylesheet" href="./css/about-us-animations.css"> */