/* Hero Section (full display under navbar) */
.about-hero {
  background: url('../images/about.jpg') center/cover no-repeat;
  height: 100vh; /* full viewport height */
  display: flex;
  align-items: flex-start; /* start from top */
  justify-content: center;
  color: #fff;
  text-align: center;
  position: relative;
  padding-top: 200px; /* adjust text position */
}

.about-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5); /* overlay for readability */
  z-index: 1;
}

.about-hero .hero-content {
  position: relative;
  z-index: 2;
}

.about-hero .hero-content h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.about-hero .hero-content p {
  font-size: 1.2rem;
}

/* About Sections Wrapper */
.about-sections {
  padding: 60px 20px;
  background: #f9f9f9; /* main section background */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Grid for About Cards */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Card Styles */
.about-card {
  background: #fff; /* plain white */
  border-radius: 15px;
  color: #333;
  padding: 40px 30px;
  min-height: 250px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card h2 {
  font-size: 24px;
  margin-bottom: 15px;
}

.about-card p {
  font-size: 16px;
  line-height: 1.6;
}

.about-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}
/* CTA Section */
.about-cta {
  position: relative;
  overflow: hidden;
}

.about-cta .cta-card {
  max-width: 700px;
  margin: 0 auto;
}

.about-cta .cta-icon {
  font-size: 50px;
  margin-bottom: 20px;
  display: inline-block;
}

.about-cta h2 {
  font-size: 32px;
  margin-bottom: 15px;
}

.about-cta p {
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* Buttons */
.about-cta .cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.about-cta .cta-btn {
  background: #1f8f82;
  color: #fff;
  padding: 12px 28px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

.about-cta .cta-btn:hover {
  background: #14574a;
  transform: translateY(-3px);
}

.about-cta .enroll-btn {
  background: #ba5fa8
}

.about-cta .enroll-btn:hover {
  background: #e6a200;
  transform: translateY(-3px);
}


