/* ---------- ABOUT PAGE SPECIFIC STYLES ---------- */

/* Hero Section */
.about-hero {
  background: radial-gradient(circle at 50% 50%, rgba(17, 108, 228, 1) 0%, rgba(255, 255, 255, 1) 100%);
  padding: 4rem 2rem;
  text-align: center;
  color: white;
  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 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

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

.about-hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.about-hero p {
  font-size: 1.3rem;
  opacity: 0.95;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Mission, Vision, Values Section */
.mvv-section {
  padding: 4rem 2rem;
  background: #f8fafc;
}

.mvv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.mvv-card {
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(26,54,93,0.08);
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}

.mvv-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1a365d, #4a90e2);
}

.mvv-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(26,54,93,0.15);
}

.mvv-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  display: block;
}

.mvv-card h2 {
  color: #1a365d;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.mvv-card p {
  color: #4a5568;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* Story Section */
.story-section {
  padding: 4rem 2rem;
  background: white;
}

.story-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.story-text h2 {
  color: #1a365d;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.story-text p {
  color: #4a5568;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.story-image {
  position: relative;
}

.image-placeholder {
  background: linear-gradient(135deg, #4a90e2, #1a365d);
  border-radius: 16px;
  padding: 3rem;
  text-align: center;
  color: white;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.image-placeholder::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 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
  opacity: 0.5;
}

.image-content {
  position: relative;
  z-index: 1;
}

.image-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.image-content p {
  font-size: 1rem;
  opacity: 0.9;
}

/* Statistics Section */
.stats-section {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #1a365d, #2c5282);
  color: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

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

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

.stat-card.animate .stat-number {
  animation: countUp 2s ease-out;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: white;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

/* Team Section */
.team-section {
  padding: 4rem 2rem;
  background: #f8fafc;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  justify-content: center;
}

.team-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(26,54,93,0.08);
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(26,54,93,0.15);
}

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

.team-image .image-placeholder {
  background: linear-gradient(135deg, #4a90e2, #1a365d);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.initials {
  font-size: 3rem;
  font-weight: 700;
  opacity: 0.8;
}

.team-info {
  padding: 2rem;
}

.team-info h3 {
  color: #1a365d;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.team-role {
  color: #4a90e2;
  font-weight: 500;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.team-bio {
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.team-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  background: #e2e8f0;
  color: #1a365d;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Teaching Methods Section */
.methods-section {
  padding: 4rem 2rem;
  background: white;
}

.methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.method-card {
  background: #f8fafc;
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.method-card:hover {
  transform: translateY(-4px);
  background: white;
  box-shadow: 0 8px 25px rgba(26,54,93,0.1);
}

.method-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.method-card h3 {
  color: #1a365d;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.method-card p {
  color: #4a5568;
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

/* Testimonials Section */
.testimonials-section {
  padding: 4rem 2rem;
  background: #f8fafc;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(26,54,93,0.08);
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(26,54,93,0.12);
}

.testimonial-content {
  margin-bottom: 1.5rem;
}

.testimonial-content p {
  color: #4a5568;
  font-style: italic;
  line-height: 1.6;
  margin: 0;
  font-size: 1rem;
}

.testimonial-author {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.author-info h4 {
  color: #1a365d;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.author-info p {
  color: #4a90e2;
  font-size: 0.9rem;
  margin: 0;
}

.testimonial-rating {
  font-size: 1.2rem;
}

/* Call to Action Section */
.cta-section {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #1a365d, #2c5282);
  color: white;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  font-size: 1rem;
}

.btn-primary {
  background: white;
  color: #1a365d;
  border: 2px solid white;
}

.btn-primary:hover {
  background: transparent;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255,255,255,0.2);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: #1a365d;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255,255,255,0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-hero h1 {
    font-size: 2.5rem;
  }
  
  .about-hero p {
    font-size: 1.1rem;
  }
  
  .story-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .mvv-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .methods-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .about-hero {
    padding: 3rem 1rem;
  }
  
  .about-hero h1 {
    font-size: 2rem;
  }
  
  .mvv-card, .team-card, .testimonial-card {
    padding: 1.5rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
  
  .cta-content p {
    font-size: 1rem;
  }
}

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

.mvv-card, .team-card, .method-card, .testimonial-card {
  animation: fadeInUp 0.6s ease-out;
}

.mvv-card:nth-child(2) {
  animation-delay: 0.1s;
}

.mvv-card:nth-child(3) {
  animation-delay: 0.2s;
}

.team-card:nth-child(2) {
  animation-delay: 0.1s;
}

.team-card:nth-child(3) {
  animation-delay: 0.2s;
}
