/* RESET */
body {
  margin: 0;
  padding: 0;
}

/* ================= COURSE HERO ================= */

.about-hero {
  position: relative;
  width: 100%;
  height: 50vh;
  margin-top: 0; /* ✅ remove navbar gap */
  background-image: url("../assests/img38.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-title {
  text-align: center;
}

/* Overlay */

.about-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero Content */

.about-content {
  color: #fff;
  max-width: 900px;
  padding: 0 16px;
  text-align: center;
}

/* Title */

.about-content .section-title {
  font-size: 35px;
  font-weight: 800;
  margin-bottom: 30px;
  color: #fff;
}

/* ================= COURSES GRID ================= */

.courses-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 60px 20px;
}

/* Course Card */

.course-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

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

.course-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #1f2937;
}

.course-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px;
}

.course-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #4b5563;
}
/* ===============================
   WHATSAPP FLOAT
================================*/
.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 58px;
  height: 58px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
  z-index: 2000;
  transition: .3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* Pulse */
.whatsapp-float::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(37, 211, 102, .6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: .7;
  }

  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {
  .courses-section {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-content .section-title {
    font-size: 30px;
  }
}

@media (max-width: 600px) {
  .courses-section {
    grid-template-columns: 1fr;
  }

  .about-hero {
    height: 40vh;
  }
}
