/* About Hero Styling */
.about-hero {
  background:
    var(--gradient-primary),
    url("https://images.unsplash.com/photo-1523050335456-adabc2c49745?auto=format&fit=crop&q=80&w=1200");
  background-blend-mode: overlay;
  background-size: cover;
  background-position: center;
  padding-bottom: 150px !important;
}

.bg-primary-dark {
  background-color: var(--bg-dark);
}

/* Mission/Vision Icons */
.icon-box,
.icon-box-light {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.5rem;
}

.icon-box {
  background: var(--bg-light);
  color: var(--primary-color);
}
.icon-box-light {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent-color);
}

/* Timeline UI */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 30px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  width: 2px;
  height: 100%;
  background: var(--border-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-dot {
  position: absolute;
  left: -29px;
  top: 20px;
  width: 16px;
  height: 16px;
  background: var(--accent-color);
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Team Card Design */
.team-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  transition: 0.3s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.team-img {
  position: relative;
  overflow: hidden;
}

.team-social {
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  background: var(--gradient-primary);
  padding: 15px;
  display: flex;
  justify-content: center;
  gap: 20px;
  transition: 0.4s ease;
}

.team-social a {
  color: white;
  font-size: 1.2rem;
}

.team-card:hover .team-social {
  bottom: 0;
}

.team-card:hover {
  transform: translateY(-10px);
}

/* Course List Specifics */
/* Course Section Styling */
.course-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.welcome-tagline {
  color: var(--primary-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 10px;
}

.welcome-title {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--bg-dark);
}

.highlight {
  color: var(--primary-color);
  position: relative;
}

/* Course Card Specifics */
.course-card {
  border: none;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: #fff;
  box-shadow: 0 10px 30px var(--shadow-color);
  height: 100%;
}

.course-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(47, 95, 179, 0.15);
}

.course-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.course-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.course-card:hover .course-img-wrapper img {
  transform: scale(1.1);
}

.course-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--gradient-primary);
  color: #fff;
  padding: 5px 15px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.75rem;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.course-content {
  padding: 25px;
}

.course-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 0.85rem;
  color: #6c757d;
  font-weight: 500;
}

.course-meta i {
  color: var(--primary-color);
}

.course-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--bg-dark);
  margin-bottom: 15px;
  line-height: 1.4;
  height: 50px; /* Ensures alignment across cards */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rating i {
  font-size: 0.85rem;
  color: var(--accent-color);
}

/* Course Footer & Button */
.course-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid #f0f0f0;
}

.course-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-dark);
  font-family: var(--font-body);
}

.btn-outline-primary-custom {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 8px 18px;
  border-radius: 50px;
  transition: 0.3s;
}

.btn-outline-primary-custom:hover {
  background: var(--gradient-primary);
  color: #fff;
  border-color: transparent;
  transform: scale(1.05);
}
