body {
  font-family: "Hind Siliguri", sans-serif !important ;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Hind Siliguri", sans-serif !important;
}

.confetti-bg {
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23e2126e' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.pricing-toggle input:checked ~ .dot {
  transform: translateX(100%);
}

.faq-item.active .faq-answer {
  max-height: 1000px;
}

.faq-item .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
}

.faq-item .plus-icon {
  transition: transform 0.3s ease;
}

.faq-item.active .plus-icon {
  transform: rotate(45deg);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.course-card {
  opacity: 0;
  animation: fadeUp 0.5s ease forwards;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.course-card:nth-child(1) {
  animation-delay: 0.1s;
}

.course-card:nth-child(2) {
  animation-delay: 0.2s;
}

.course-card:nth-child(3) {
  animation-delay: 0.3s;
}

.course-card:nth-child(4) {
  animation-delay: 0.4s;
}

.course-card:nth-child(5) {
  animation-delay: 0.5s;
}

.course-card:nth-child(6) {
  animation-delay: 0.6s;
}

.course-card:nth-child(7) {
  animation-delay: 0.7s;
}

.course-card:nth-child(8) {
  animation-delay: 0.8s;
}

/* Course Grid Improvements */
.courses-grid {
  
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

#courses-container,
#ebook-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

/* Course Card Improvements */
.course-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

.course-card-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 1rem;
}

.course-card-title {
  flex-grow: 1;
  margin-bottom: 1rem;
}

.course-card-price {
  margin-top: auto;
  margin-bottom: 1rem;
}

.course-card-button {
  margin-top: auto;
}

/* Responsive Improvements */
@media (max-width: 640px) {
  .courses-grid,
  #courses-container,
  #ebook-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .course-card-image {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .courses-grid,
  #courses-container,
  #ebook-container {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 1024px) {
  .courses-grid,
  #courses-container,
  #ebook-container {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
  }
}

/* Hero Section Improvements */
.animate-float {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Bundle Cards Equal Height */
.pricing-monthly,
.pricing-yearly {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing-monthly .p-6,
.pricing-yearly .p-6 {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.pricing-monthly ul,
.pricing-yearly ul {
  flex-grow: 1;
}

/* Smooth Scroll Behavior */
html {
  scroll-behavior: smooth;
}

.copy-btn {
  padding: 10px 20px;
  background-color: #10b981;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
}

.copy-alert {
  position: fixed;
  top: 20%;
  left: 50%;
  transform: translateX(-50%) scale(0.8);
  background-color: #22c55e;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 18px;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9999;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.copy-alert.show {
  opacity: 1;
  transform: translateX(-50%) scale(1.05);
  animation: popBlast 0.6s ease forwards;
}

@keyframes popBlast {
  0% {
    transform: translateX(-50%) scale(0.8);
  }
  50% {
    transform: translateX(-50%) scale(1.2);
  }
  100% {
    transform: translateX(-50%) scale(1);
  }
}

/* Text Truncation Utilities */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Additional Card Improvements */
.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.course-card img {
  transition: transform 0.3s ease;
}

.course-card:hover img {
  transform: scale(1.05);
}

/* Better Button Styling */
.course-card-button a:hover div {
  background: linear-gradient(135deg, #e2126e 0%, #c91058 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(226, 18, 110, 0.3);
}

/* Loading Animation for Cards */
.course-card {
  opacity: 0;
  transform: translateY(30px);
  animation: slideUpFade 0.6s ease-out forwards;
}

@keyframes slideUpFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Staggered Animation Delays */
.course-card:nth-child(1) {
  animation-delay: 0.1s;
}
.course-card:nth-child(2) {
  animation-delay: 0.2s;
}
.course-card:nth-child(3) {
  animation-delay: 0.3s;
}
.course-card:nth-child(4) {
  animation-delay: 0.4s;
}
.course-card:nth-child(5) {
  animation-delay: 0.5s;
}
.course-card:nth-child(6) {
  animation-delay: 0.6s;
}
.course-card:nth-child(7) {
  animation-delay: 0.7s;
}
.course-card:nth-child(8) {
  animation-delay: 0.8s;
}

/* Course Tag Styling */
.course-card-content span[class*="bg-accent-yellow"] {
  width: fit-content !important;
  max-width: fit-content !important;
  display: inline-block;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Alternative tag class */
.course-tag {
  width: fit-content !important;
  max-width: max-content !important;
  display: inline-block !important;
  white-space: nowrap;
  flex: none;
}
