/* About Hero */
.about-hero {
  background-color: #1c2d59;
  font-family: Georgia, serif;
}

/* About Cards Section */
.about-cards {
  background-color: #f9f9f9;
  font-family: Georgia, serif;
}

.about-card {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  position: relative;
  margin-top: -80px;
  z-index: 2;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* Image wrapper + Zoom */
.about-card-img {
  overflow: hidden;
  border-radius: 8px;
}

.about-card-img img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.4s ease;
}

.about-card:hover img {
  transform: scale(1.08);
}

.about-card-top {
  height: 20px;
  background-color: #1c2d59;
}

.about-card-body {
  padding: 1.5rem;
}

.about-card-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: #1c2d59;
  margin-bottom: 1.2rem;
}

.about-card-bottom {
  height: 20px;
  background-color: #f27b21;
}

/* Quote Section */
.about-quote-section {
  background-color: #f9f9f9;
  font-family: Georgia, serif;
}

.about-quote {
  font-style: italic;
  font-size: 1.6rem;
  color: #1c2d59;
  max-width: 900px;
}

@media (max-width: 768px) {
  .about-quote {
    font-size: 1.2rem;
    padding: 0 1rem;
  }
}

/* About Details */
.about-details-section {
  background-color: #f9f9f9;
  font-family: Georgia, serif;
}

.about-details-section h3,
.about-details-section h4 {
  color: #1c2d59;
}

.about-details-section p {
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Stats Section */
.about-stats-section {
  background-color: #ffffff;
  font-family: Georgia, serif;
}

.about-stats-section h3 {
  color: #1c2d59;
  font-size: 2rem;
}

.about-stats-section p {
  font-size: 1.1rem;
  color: #333;
}

/* Features Section */
.features-section {
  font-family: Georgia, serif;
}

.feature-card {
  background-color: #f8f9fa;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.feature-card:hover {
  background-color: #1c2d59;
  color: #fff;
}

.feature-card:hover h4,
.feature-card:hover p {
  color: #fff !important;
}

/* Teachers Section */
.teachers-section {
  background-color: #f8f9fa;
  font-family: Georgia, serif;
}

/* Subtitle Styling */
.section-subtitle {
  font-weight: 600;
  color: #1c2d59;
  letter-spacing: 1px;
  font-size: 1rem;
  text-transform: uppercase;
}

/* Title Styling */
.section-title {
  font-weight: bold;
  font-size: 2.2rem;
  color: #1c2d59;
  margin-bottom: 1.5rem;
}

/* Teacher Card */
.teacher-card {
  background-color: #fff;
  padding: 1rem;
  border-radius: 1rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.teacher-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.teacher-card img {
  transition: transform 0.4s ease;
  border-radius: 0.75rem;
}

.teacher-card:hover img {
  transform: scale(1.05);
}

.teacher-name {
  font-weight: bold;
  color: #000;
  font-size: 1.2rem;
  margin-top: 1rem;
}

.teacher-role {
  color: #1c2d59;
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 576px) {
  .section-title {
    font-size: 1.75rem;
  }

  .teacher-name {
    font-size: 1.05rem;
  }

  .teacher-role {
    font-size: 0.9rem;
  }
}
