@keyframes slideBilling {
  0% {
    transform: translateX(10px);
  }
  50% {
    transform: translateX(-10px);
  }
  100% {
    transform: translateX(10px);
  }
}
/* ==============top navbar============== */
   .top-ticker-bar {
      background-color: #0d0d0d;
      color: white;
      overflow: hidden;
      white-space: nowrap;
      position: relative;
      padding: 10px 0;
      font-size: 14px;
      font-family: Arial, sans-serif;
    }

    .ticker-wrapper {
      display: flex;
      width: fit-content;
      animation: scroll-left 60s linear infinite;
    }

    @keyframes scroll-left {
      0% {
        transform: translateX(0%);
      }
      100% {
        transform: translateX(-50%);
      }
    }


/* ================== */

    .navbar-custom {
      background: linear-gradient(to right, #111111, #1a1a1a);
      color: white;
    }
    .search-bar {
      width: 100%;
      max-width: 600px;
    }
    .nav-link, .navbar-brand, .form-control {
      color: black !important;
    }
    .course-links a {
      color: white;
      text-decoration: none;
      margin-right: 15px;
      font-size: 14px;
    }
    .badge-orange {
      background-color: orange;
      color: #fff;
      font-size: 12px;
    }
    .goal-text {
      color: orange;
      font-size: 14px;
    }
    .custom-icon {
      width: 35px;
      height: 35px;
      border-radius: 50%;
      background: #222;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-left: 10px;
    }

/* ========================= */
/* .helpline-badge {
  animation: slideBilling 1s infinite ease-in-out;
}

.animated-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.animated-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 100, 0, 0.2);
} */
/* ================slider========== */
.slider {
  overflow: hidden;
  position: relative;
}

.slide-track {
  display: flex;
  width: calc(250px * 16); /* 16 = number of .slide items */
  animation: scroll 25s linear infinite;
}

.slide {
  /* width: 250px; */
  /* padding: 10px; */
  transition: transform 0.3s;
}

.slide img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #ddd;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
/* .badge {
  top: 10px;
  font-size: 0.75rem;
  padding: 0.3rem 0.6rem;
}
.card-title {
  font-size: 1rem;
}
.card:hover {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
  transform: scale(1.02);
  transition: 0.3s ease;
}

.course-card {
  position: relative;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 20px 10px;
  text-align: center;
  background-color: #fff;
  height: 100%;
  transition: all 0.3s ease;
}
.course-card:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}
.course-card .badge {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  background-color: #f8f9fa;
  border: 1px solid #ccc;
  color: #000;
}
.course-card img {
  width: 40px;
  margin-top: 15px;
}
.course-card h6 {
  margin: 10px 0;
  font-weight: bold;
}
.course-card .btn {
  background-color: #2c3c0e;
  color: #fff;
  font-size: 0.9rem;
}

.tab-btn {
  cursor: pointer;
}

.tab-btn.active {
  background-color: #30430d !important;
  color: white !important;
} */

/* .course-card .btn {
      background-color: #30430d;
    } */

.carousel-card {
  border-radius: 20px;
  color: white;
  padding: 30px;
  min-height: 250px;
}

.carousel-card img {
  max-height: 150px;
  object-fit: contain;
}

.carousel-indicators [data-bs-target] {
  background-color: #dc3545;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: #dc3545;
  border-radius: 50%;
  padding: 10px;
}

.carousel-inner .card-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.carousel-title span {
  color: #550202;
}

.carousel-card p span {
  background-color: white;
  padding: 3px 6px;
  border-radius: 5px;
  color: #000;
}

/* =========================== */

.carousel-item > .row {
  display: flex;
  justify-content: space-between;
}

.card-custom {
  border-radius: 15px;
  padding: 20px;
  height: 100%;
  color: #fff;
}

.bg-slide-1 {
  background-color: #d5cdfa;
  color: #000;
}
.bg-slide-2 {
  background-color: #fcb6ac;
  color: #000;
}
.bg-slide-3 {
  background: linear-gradient(to right, #6f00ff, #9500ff);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgb(43, 81, 24);
  border-radius: 50%;
  padding: 10px;
}

.carousel-img {
  max-height: 120px;
  width: auto;
}

@media (max-width: 768px) {
  .carousel-item .col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 1rem;
  }

  .carousel-item > .row {
    flex-direction: column;
    align-items: center;
  }
}

.animate-text {
  color: #2e7d32; /* Dark green */
  animation: fadeInColor 3s ease-in-out infinite alternate;
}

@keyframes fadeInColor {
  0% {
    color: #154b18; /* dark green */
    transform: scale(1);
  }
  100% {
    color: #437545; /* light green */
    transform: scale(1.05);
  }
}

.animate-img {
  transition: transform 0.8s ease;
  transform: scale(1);
}

.animate-img:hover {
  transform: scale(1.05);
}

/* Card border and smooth hover */
.hover-card {
  border: 2px solid transparent;
  transition: border 0.4s ease, box-shadow 0.4s ease;
  border-radius: 12px;
  padding: 15px;
}

.hover-card:hover {
  border: 2px solid #4caf50; /* Green border */
  box-shadow: 0 0 15px rgba(76, 175, 80, 0.3); /* Soft green glow */
}

.hover-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  padding: 20px;
  transition: transform 0.6s ease, box-shadow 0.4s ease;
  transform-style: preserve-3d;
  transform-origin: center;
  border: 1px solid #e0e0e0;
  background: linear-gradient(to right, #83af5f, #c5d5ab);
}

.hover-card:hover {
  transform: rotateX(5deg) rotateY(5deg) scale(1.02);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
}

/* Smooth image scaling */
.animate-img {
  transition: transform 0.4s ease;
  border-radius: 12px;
}

.animate-img:hover {
  transform: scale(1.05);
}

.univ-card {
  width: 180px;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 20px 10px;
  border-radius: 12px;
}

.logo-circle {
  width: 90px;
  height: 90px;
  margin: auto;
  background: white;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-circle img {
  max-width: 70px;
  max-height: 70px;
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

.card:hover {
  transform: scale(1.02);
  transition: all 0.3s ease-in-out;
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.15);
}

#animated-word {
  transition: opacity 0.3s ease-in-out;
}

@media (max-width: 768px) {
  .carousel-control-prev {
    left: -20px;
  }
  .carousel-control-next {
    right: -20px;
  }
}

/* ======================= */

.university-card {
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 15px 10px;
  text-align: center;
  background-color: #fff;
  height: 100%;
  transition: transform 0.3s, box-shadow 0.3s;
}

.university-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.university-card img {
  max-height: 40px;
  object-fit: contain;
  margin-bottom: 10px;
}

.university-courses {
  font-weight: 600;
  font-size: 14px;
  color: #000;
}

.university-name {
  font-size: 13px;
  color: #555;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============================ */

.review-card {
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 20px;
  background-color: #fff;
  height: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.reviewer-info {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.reviewer-info img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 12px;
}

.reviewer-name {
  font-weight: 600;
  font-size: 15px;
}

.star-rating {
  color: #ffc107;
  font-size: 14px;
}

.college-name {
  font-size: 14px;
  font-weight: 600;
  color: #2e5622;
  margin-top: 8px;
}

.review-text {
  font-size: 14px;
  color: #444;
  margin-top: 6px;
}
/* ===================== */
.testimonial-card {
  background: white;
  border-radius: 10px;
  padding: 20px;
  position: relative;
  perspective: 1000px;
  transition: transform 0.6s ease;
  transform-style: preserve-3d;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  height: 100%;
  perspective: 1000px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: rotateY(360deg);
  transform-style: preserve-3d;
  transition: transform 0.6s ease-in-out;

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-card .front,
.testimonial-card .back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  backface-visibility: hidden;
  transition: background 0.5s ease;
  height: 100%;
}

.testimonial-card .front {
  z-index: 2;
}

.testimonial-card .back {
  transform: rotateY(180deg);
  background: linear-gradient(45deg, #58a651, #30430d);
  color: white;
  padding: 20px;
  border-radius: 10px;
}

.testimonial-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.star-rating i {
  color: #c41230;
  font-size: 1rem;
}

.bi-quote {
  font-size: 2rem;
  color: #c41230;
  position: absolute;
  bottom: 15px;
  right: 15px;
}

@keyframes fadeInUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.carousel-item .col-md-4 {
  animation: fadeInUp 0.8s ease forwards;
}

@media (max-width: 768px) {
  .testimonial-card {
    margin-bottom: 20px;
  }
}

/* ============================== */
.feature-icon {
  width: 40px;
  height: 40px;
}

.feature-title {
  font-size: 14px;
  font-weight: 500;
}
  .platform-section {
    padding: 40px 20px;
    background-color: #f8f9fa;
  }

  .platform-title {
    color: #550202;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
  }

  .platform-subtitle {
    font-family: 'Segoe UI', cursive;
    font-size: 18px;
    text-align: center;
    color: #444;
    margin-bottom: 30px;
  }

  .platform-card {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background: #fff;
    padding: 20px 10px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
  }

  .platform-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-4px);
  }

  .platform-card img {
    width: 45px;
    margin-bottom: 12px;
  }

  .platform-card .count {
    color: #550202;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 4px;
  }

  .platform-card .label {
    color: #000;
    font-weight: 600;
    font-size: 14px;
  }

  .view-all-btn {
    background-color: #a80000;
    color: #fff;
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 600;
    border: none;
    transition: background-color 0.3s ease;
  }

  .view-all-btn:hover {
    background-color: #820000;
  }
/* Modal fade animation */
.modal.fade .modal-dialog {
  transform: translateY(50px);
  transition: transform 0.4s ease-out;
}

.modal.fade.show .modal-dialog {
  transform: translateY(0);
}

/* ================================================================= */

   :root {
      --main-color: #fe2509;
      --hover-color: #fe2509;
    }

    .blog-card {
      transition: transform 0.3s ease;
    }

    .blog-card:hover {
      transform: translateY(-5px);
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
      background-color: var(--main-color);
      border-radius: 50%;
      padding: 20px;
    }

    .carousel-control-prev,
    .carousel-control-next {
      width: 5%;
    }

    .section-title span {
      color: var(--main-color);
      animation: colorChange 3s ease-in-out infinite;
    }

    @keyframes colorChange {
      0%, 100% { color: var(--main-color); }
      50% { color: var(--hover-color); }
    }

    .btn-custom {
      background-color: var(--main-color);
      color: #fff;
      transition: background-color 0.3s ease;
    }

    .btn-custom:hover {
      background-color: var(--hover-color);
      color: #fff;
    }

    @media (max-width: 768px) {
      .carousel-control-prev-icon,
      .carousel-control-next-icon {
        padding: 12px;
      }
    }


    /* ================================ */

     .faq-section {
      padding: 60px 15px;
    }

    .faq-title {
      color: white;
      font-weight: 700;
    }

    .accordion-item {
      border: none;
      border-radius: 10px;
      overflow: hidden;
      margin-bottom: 15px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    }

    .accordion-button {
      font-weight: 600;
      background-color: #ffffff;
      /* color: #1e3a8a; */
    }

    .accordion-button:focus {
      box-shadow: none;
    }

    .accordion-body {
      background-color: #ffffff;
      color: #333;
      line-height: 1.6;
    }

    .accordion-button::after {
      transition: transform 0.3s ease-in-out;
    }

    .accordion-button:not(.collapsed)::after {
      transform: rotate(180deg);
    }

    @media (max-width: 576px) {
      .faq-title {
        font-size: 1.75rem;
      }
    }
    /* ======================== */

     .chatbot-wrapper {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    width: 80px;
    height: auto;
    cursor: pointer;
  }

  .chatbot-gif {
    width: 100%;
    height: auto;
  }

  @media (max-width: 768px) {
    .chatbot-wrapper {
      width: 60px;
      bottom: 10px;
      right: 10px;
    }
  }
  /* ===========----------------- */

    footer a:hover {
    color: #db0808 !important;
    text-decoration: underline;
  }

  /* ==================popup============== */

    .modal-content {
      border-radius: 15px;
      padding: 20px;
    }
    .btn-primary {
      background-color: #0047FF;
      border: none;
    }
    .form-control {
      border-radius: 10px;
      padding: 12px;
    }
    .modal-header .btn-close {
      position: absolute;
      top: 15px;
      right: 15px;
    }
    .modal-header {
  position: relative;
  padding-right: 3rem !important; /* Space for close button */
}
.contact-section {
  background: linear-gradient(135deg, #fff, #fef1f1);
  padding: 100px 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -5%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, #fff 20%, #ffe6e6 100%);
  z-index: -1;
  transform: rotate(-1deg);
  opacity: 0.4;
}

.contact-section h2 {
  font-size: 36px;
  font-weight: 700;
  color: #B00A0A;
}

.contact-section p {
  font-size: 16px;
  color: #555;
}

.form-card {
  background: #fff;
  padding: 40px 35px;
  border-radius: 18px;
  border-left: 6px solid #B00A0A;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.form-card:hover {
  transform: translateY(-5px);
}

.form-card h4 {
  color: #B00A0A;
  font-size: 24px;
}

.form-control {
  border-radius: 14px;
  border: 1px solid #ddd;
  padding: 14px 18px;
  font-size: 15px;
}

.form-control:focus {
  border-color: #B00A0A;
  box-shadow: 0 0 0 0.2rem rgba(176, 10, 10, 0.2);
}

.btn-dark {
  background: linear-gradient(to right, #B00A0A, #e22e2e);
  border: none;
  color: #fff;
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.3s ease-in-out;
}

.btn-dark:hover {
  background: linear-gradient(to right, #920808, #c42121);
  transform: scale(1.03);
}

.btn-primary-custom {
  background-color: #B00A0A;
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
}

.btn-primary-custom:hover {
  background-color: #990000;
  color: #fff;
}

.contact-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  padding: 12px 18px;
  margin-top: 14px;
  border-radius: 12px;
  font-size: 16px;
  color: #444;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.contact-box i {
  font-size: 20px;
  color: #B00A0A;
}

.avatar-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-right: -10px;
}

.rating-stars i {
  color: #ffc107;
  font-size: 17px;
}
.faq-section {
  background: linear-gradient(to bottom, #fff, #ffffff);
}

.accordion-button {
  background-color: #fff;
  color: #333;
  font-size: 15px;
  padding: 14px 20px;
  transition: background-color 0.2s ease;
}

.accordion-button:focus,
.accordion-button:not(.collapsed) {
  background-color: #fbe3e3;
  color: #B00A0A;
  box-shadow: none;
}

.accordion-body {
  font-size: 14px;
  padding: 15px 20px;
  background: #fff;
  border-top: 1px solid #eee;
  border-radius: 0 0 10px 10px;
}

.accordion-item {
  background: #fff;
  transition: box-shadow 0.2s ease;
}

.accordion-item:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}
body.modal-open {
    overflow: hidden;
  }

  .modal-content {
    max-width: 100%;
    overflow-x: hidden;
  }
    .hover-card:hover {
    transform: translateY(-5px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }