/* About Page Styles */

.about-hero {
  margin-top: 80px;
  min-height: 60vh;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff10" fill-opacity="1" d="M0,64L48,80C96,96,192,128,288,128C384,128,480,96,576,90.7C672,85,768,107,864,122.7C960,139,1056,149,1152,133.3C1248,117,1344,75,1392,53.3L1440,32L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>')
    no-repeat bottom;
  background-size: cover;
}

.about-hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.about-hero h1 {
  font-size: 4rem;
  font-weight: 900;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  animation: slideInUp 1s ease-out;
}

.about-hero p {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  animation: slideInUp 1s ease-out 0.2s;
  animation-fill-mode: both;
  margin-bottom: 2rem;
}

/* Hero Social Icons */
.hero-social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  animation: slideInUp 1s ease-out 0.4s;
  animation-fill-mode: both;
}

.hero-social-icon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 25px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.hero-social-icon:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.hero-social-icon svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Mission Section */
.mission-section {
  padding: 5rem 2rem;
  background: var(--light);
}

.mission-container {
  max-width: 1200px;
  margin: 0 auto;
}

.mission-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.mission-text h2 {
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 2rem;
  font-weight: 800;
}

.mission-text p {
  font-size: 1.2rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.mission-stats {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.stat-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 71, 171, 0.1);
  text-align: center;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.stat-card:hover {
  border-color: var(--primary-light);
  transform: translateY(-5px);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: var(--gray);
  font-weight: 600;
}

/* Team Section */
.team-section {
  padding: 5rem 2rem;
  background: white;
}

.team-container {
  max-width: 1200px;
  margin: 0 auto;
}

.team-section h2 {
  text-align: center;
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 800;
}

.team-subtitle {
  text-align: center;
  font-size: 1.3rem;
  color: var(--gray);
  margin-bottom: 4rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

/* 3D Card Flip Animation */
.team-member {
  perspective: 1000px;
  height: 400px;
}

.card-flip {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transform-style: preserve-3d;
  transition: transform 0.6s ease-in-out;
  cursor: pointer;
}

.team-member:hover .card-flip {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 71, 171, 0.1);
  overflow: hidden;
}

.card-front {
  background: white;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.card-back {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  color: white;
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.team-member:hover .card-front {
  border-color: var(--primary-light);
}

/* Card Front Styling */
.card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.front-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 2rem 1.5rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.front-info {
  flex: 1;
}

.front-overlay h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
}

.front-role {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.member-age {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  backdrop-filter: blur(10px);
  font-size: 0.9rem;
}

/* Card Back Styling */
.back-content {
  text-align: center;
  width: 100%;
}

.back-content h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.member-role {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.member-description {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.member-email {
  margin: 1.5rem 0;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  backdrop-filter: blur(10px);
}

.member-email a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.member-email a:hover {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
}

.member-social {
  margin-top: 1rem;
}

.linkedin-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.linkedin-icon:hover {
  background: #0077b5;
  transform: scale(1.1);
}

/* Values Section */
.values-section {
  padding: 5rem 2rem;
  background: var(--primary);
  color: white;
}

.values-container {
  max-width: 1200px;
  margin: 0 auto;
}

.values-section h2 {
  text-align: center;
  font-size: 3rem;
  color: white;
  margin-bottom: 3rem;
  font-weight: 800;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.value-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.value-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-10px);
}

.value-icon {
  /* Updated to use new icon styling - matches other pages */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 64px !important;
  height: 64px !important;
  margin: 0 auto 1rem !important;
  background: linear-gradient(135deg, var(--primary-light), var(--primary)) !important;
  border-radius: 16px !important;
  padding: 12px !important;
  box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.3) !important;
  transition: all 0.3s ease !important;
}

.value-card h3 {
  font-size: 1.6rem;
  color: white;
  margin-bottom: 1rem;
  font-weight: 700;
}

.value-card p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  font-size: 1.1rem;
}

/* Animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

