/* =========================================================
   FAQ SECTION – COMPACT GRID
========================================================= */

.faq-container {
  max-width: 1000px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* FAQ Card */
.faq-item {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  overflow: hidden;
  align-self: flex-start;
}

/* Question */
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 14px 18px;

  font-size: 0.95rem;
  font-weight: 600;
  color: #222;
  text-align: left;

  display: flex;
  justify-content: space-between;
  align-items: center;

  cursor: pointer;
}

/* Icon */
.faq-icon {
  font-size: 1.2rem;
  color: #007bff;
  transition: transform 0.25s ease;
}

/* Answer */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 18px;
}

.faq-answer p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.55;
  padding-bottom: 14px;
}

/* Active */
.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}
@media (max-width: 768px) {
  .faq-container {
    grid-template-columns: 1fr;
  }

  .faq-question {
    font-size: 0.92rem;
  }
}
@media (max-width: 480px) {
  .faq-question {
    padding: 12px 16px;
    font-size: 0.9rem;
  }

  .faq-answer p {
    font-size: 0.88rem;
  }
}
/*==========================================================================================*/
.learning-tracks {
  padding: 80px 20px;
  background: #f8fbff;
}

.section-title {
  text-align: center;
  font-size: 32px;
  color: #0b5ed7;
}

.section-subtitle {
  text-align: center;
  color: #555;
  margin-bottom: 50px;
}

.track-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.track-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.track-card:hover {
  transform: translateY(-6px);
}

.track-header {
  padding: 30px;
  background: linear-gradient(135deg, #0b5ed7, #0d6efd);
  color: #fff;
}

.track-header h3 {
  margin: 10px 0 5px;
}

.track-header p {
  font-size: 14px;
  opacity: 0.9;
}

.tag {
  display: inline-block;
  font-size: 12px;
  background: rgba(255,255,255,0.2);
  padding: 4px 10px;
  border-radius: 20px;
}

.track-body {
  padding: 30px;
}

.duration {
  font-weight: 600;
  margin-bottom: 15px;
}

.track-body ul {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.track-body li {
  margin-bottom: 10px;
  font-size: 15px;
}

.card-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary {
  background: #ffc107;
  border: none;
  padding: 12px 18px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
}

.btn-outline {
  background: transparent;
  border: 2px solid #0d6efd;
  color: #0d6efd;
  padding: 12px 18px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
}

/* Mobile Tweaks */
@media (max-width: 576px) {
  .section-title {
    font-size: 26px;
  }
  .track-header {
    padding: 24px;
  }
  .track-body {
    padding: 24px;
  }
}
/*========================================================================================*/
/* ===========================
   NAVBAR ENHANCEMENT CSS
   =========================== */

.navbar-right {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 5px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: #1f2937;
  position: relative;
  padding: 6px 0;
  transition: color 0.3s ease;
}

/* underline hover animation */
.nav-links li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: #0d6efd;
  transition: width 0.3s ease;
}

.nav-links li a:hover {
  color: #0d6efd;
}

.nav-links li a:hover::after {
  width: 100%;
}

/* FREE DEMO BUTTON */
.nav-links li .btn-primary {
  background: linear-gradient(135deg, #0b5ed7, #0d6efd);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 600;
  border: none;
  box-shadow: 0 6px 18px rgba(13, 110, 253, 0.25);
  transition: all 0.3s ease;
}

.nav-links li .btn-primary:hover {
  background: linear-gradient(135deg, #084298, #0b5ed7);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(13, 110, 253, 0.35);
}

/* ===========================
   RESPONSIVE NAVBAR
   =========================== */

@media (max-width: 992px) {
  .nav-links {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 80px;
    right: 20px;
    background: #ffffff;
    flex-direction: column;
    width: 240px;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links li a {
    width: 100%;
    padding: 10px 0;
  }

  .nav-links li .btn-primary {
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }
}

/* ===========================
   WHATSAPP FLOAT BUTTON
   =========================== */

.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float img {
  width: 34px;
  height: 34px;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

/* Mobile adjustment */
@media (max-width: 576px) {
  .whatsapp-float {
    width: 55px;
    height: 55px;
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float img {
    width: 30px;
    height: 30px;
  }
}

/* ===========================
   CALL FLOAT BUTTON
   =========================== */

.call-float {
  position: fixed;
  bottom: 100px; /* sits above WhatsApp */
  right: 25px;
  width: 60px;
  height: 60px;
  background: #0d6efd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.call-float img {
  width: 28px;
  height: 28px;
  filter: invert(1);
}

.call-float:hover {
  transform: scale(1.08);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

/* Mobile spacing */
@media (max-width: 576px) {
  .call-float {
    width: 55px;
    height: 55px;
    bottom: 90px;
    right: 20px;
  }

  .call-float img {
    width: 26px;
    height: 26px;
  }
}
