/* Active navigation link */
.nav-links .active {
  color: var(--purple) !important;
  font-weight: 600;
}

/* Hero Section */
.about-hero {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  color: #fff;
  text-align: center;
  padding: 80px 20px 60px;
  margin-bottom: 0;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin: 0 0 16px 0;
  line-height: 1.2;
}

.hero-content h1 span {
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  opacity: 0.95;
}

/* Main Content */
.about-main {
  background: var(--bg);
  padding: 60px 0;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Section Styles */
.about-intro,
.about-section {
  background: var(--card);
  border-radius: var(--radius);
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.ceo-intro {
  background: var(--card);
  border-radius: var(--radius);
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.ceo-intro .intro-text{
  display: grid;
  justify-content: space-between;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.ceo-intro .intro-text .ceo-text h3 {
  color: #a30000;
}
.ceo-intro .intro-text .ceo-text p {
  line-height: 25px;
}
.ceo-intro .intro-text .ceo-text span {
  font-weight: bold;
}
.ceo-intro .intro-text .ceo-img img {
  height: 480px;
  float: right;
  border-radius: 10px;
}

.about-intro h2,
.about-section h2 {
  color: var(--purple);
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0 0 24px 0;
  line-height: 1.3;
}

.about-intro p,
.about-section p {
  color: #374151;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.about-intro p:last-child,
.about-section p:last-child {
  margin-bottom: 0;
}

.about-intro strong,
.about-section strong {
  color: var(--purple);
  font-weight: 600;
}

/* Features Grid */
.about-features {
  background: var(--card);
  border-radius: var(--radius);
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.about-features h2 {
  color: var(--purple);
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0 0 32px 0;
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.feature-card {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(163, 0, 0, 0.1);
  border-color: var(--purple);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.feature-icon i {
  font-size: 1.4rem;
  color: #fff;
}

.feature-card h3 {
  color: var(--purple);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 12px 0;
}

.feature-card p {
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Why Choose Us */
.about-why-choose {
  background: var(--card);
  border-radius: var(--radius);
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.about-why-choose h2 {
  color: var(--purple);
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0 0 32px 0;
  text-align: center;
}

.choose-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.choose-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.choose-item:hover {
  background: #f1f5f9;
  transform: translateX(8px);
}

.choose-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.choose-icon i {
  font-size: 1.2rem;
  color: #fff;
}

.choose-content h3 {
  color: var(--purple);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 8px 0;
}

.choose-content p {
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Courses Section */
.about-courses {
  background: var(--card);
  border-radius: var(--radius);
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.about-courses h2 {
  color: var(--purple);
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0 0 16px 0;
  text-align: center;
}

.about-courses > p {
  color: #374151;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 32px;
  text-align: center;
}

.courses-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.course-item {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s ease;
  border-left: 4px solid var(--purple);
}

.course-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(163, 0, 0, 0.08);
}

.course-item h3 {
  color: var(--purple);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.course-item h3 i {
  font-size: 1rem;
}

.course-item p {
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* CTA Section */
.about-cta {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 50px 40px;
  text-align: center;
  margin-bottom: 20px;
}

.about-cta h2 {
  color: #fff;
  font-size: 2.4rem;
  font-weight: 700;
  margin: 0 0 16px 0;
}

.about-cta p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 32px;
  opacity: 0.95;
}

.about-cta strong {
  color: #fff;
  font-weight: 600;
}

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

.cta-btn {
  background: #fff;
  color: var(--purple);
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid #fff;
}

.cta-btn:hover {
  background: transparent;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.cta-btn-outline {
  background: transparent;
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid #fff;
}

.cta-btn-outline:hover {
  background: #fff;
  color: var(--purple);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .about-container {
    padding: 0 16px;
  }
  
  .about-intro,
  .about-section,
  .about-features,
  .about-why-choose,
  .about-courses {
    padding: 32px 24px;
  }
  
  .about-cta {
    padding: 40px 24px;
  }
  .ceo-intro .intro-text{
    display: flex;
    grid-template-columns: 1fr;
    gap: 10px;
    flex-direction: column-reverse
  }
  .ceo-intro .intro-text .ceo-img img {
    float: left;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .about-hero {
    padding: 60px 20px 40px;
  }
  
  .about-main {
    padding: 40px 0;
  }
  
  .about-intro,
  .about-section,
  .about-features,
  .about-why-choose,
  .about-courses {
    padding: 24px 20px;
    margin-bottom: 24px;
  }
  
  .about-intro h2,
  .about-section h2,
  .about-features h2,
  .about-why-choose h2,
  .about-courses h2 {
    font-size: 1.8rem;
  }
  
  .about-cta {
    padding: 32px 20px;
  }
  
  .about-cta h2 {
    font-size: 2rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .courses-list {
    grid-template-columns: 1fr;
  }
  
  .choose-item {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  
  .choose-item:hover {
    transform: translateY(-4px);
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-btn,
  .cta-btn-outline {
    min-width: 200px;
  }
  .ceo-intro .intro-text .ceo-img img {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .about-hero {
    padding: 50px 16px 30px;
  }
  
  .about-container {
    padding: 0 12px;
  }
  
  .about-intro,
  .about-section,
  .about-features,
  .about-why-choose,
  .about-courses {
    padding: 20px 16px;
  }
  
  .about-intro h2,
  .about-section h2,
  .about-features h2,
  .about-why-choose h2,
  .about-courses h2 {
    font-size: 1.6rem;
  }
  
  .about-intro p,
  .about-section p {
    font-size: 1rem;
  }
  
  .about-cta {
    padding: 28px 16px;
  }
  
  .about-cta h2 {
    font-size: 1.7rem;
  }
  
  .about-cta p {
    font-size: 1rem;
  }
  
  .feature-card {
    padding: 20px 16px;
  }
  
  .choose-item {
    padding: 16px;
  }
  
  .course-item {
    padding: 20px 16px;
  }
  .choose-content {
    min-width: auto;
  }
  .ceo-intro {
    padding: 20px;
  }
}

/* Smooth animations */
.about-intro,
.about-section,
.about-features,
.about-why-choose,
.about-courses,
.about-cta {
  animation: fadeInUp 0.6s ease-out;
}

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

/* Print styles */
@media print {
  .about-hero,
  .about-cta {
    background: #fff !important;
    color: #000 !important;
  }
  
  .feature-icon,
  .choose-icon {
    background: #ccc !important;
  }
}
