section, .section{
    color: var(--default-color);
    background-color: var(--background-color) !important;
    padding: 60px 0;
    scroll-margin-top: 90px;
    overflow: clip;
}


.hero {
  padding-top: 120px;
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-bottom: 60px;
 
}

.hero .hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero .hero-text h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--heading-color);
}

@media (max-width: 768px) {
  .hero .hero-text h1 {
    font-size: 2.5rem;
  }
}

.hero .hero-text p {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.hero .hero-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 576px) {
  .hero .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }
}

.hero .hero-stats .stat-item {
  text-align: center;
}

.hero .hero-stats .stat-item .number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-color);
  line-height: 1;
}

.hero .hero-stats .stat-item .label {
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-weight: 500;
}

.hero .hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 576px) {
  .hero .hero-buttons {
    flex-direction: column;
  }
}

.hero .hero-buttons .btn {
  padding: 15px 30px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.hero .hero-buttons .btn.btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: #1e3a8a;
}

.hero .hero-buttons .btn.btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), white 15%);
  border-color: color-mix(in srgb, var(--accent-color), white 15%);
  transform: translateY(-2px);
}

.hero .hero-buttons .btn.btn-outline {
  background-color: transparent;
  border: 2px solid var(--default-color);
  color: var(--default-color);
}

.hero .hero-buttons .btn.btn-outline:hover {
  background-color: var(--default-color);
  color: #1e3a8a;
  transform: translateY(-2px);
}

.hero .hero-features {
  display: flex;
  gap: 2rem;
}

@media (max-width: 768px) {
  .hero .hero-features {
    flex-wrap: wrap;
    gap: 1rem;
  }
}

.hero .hero-features .feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero .hero-features .feature i {
  font-size: 1.25rem;
  color: var(--accent-color);
}

.hero .hero-features .feature span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--default-color);
}

.hero .hero-image {
  position: relative;
  padding-left: 20px;
  /* Hide arrows until hover */
  /* Pagination dots */
}

.hero .hero-image .main-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.hero .hero-image .main-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.hero .hero-image .swiper {
  width: 100%;
  height: 100%;
}

.hero .hero-image .swiper-slide img {
  display: block;
  width: 100%;
  height: auto;
}

.hero .hero-image .swiper-button-next,
.hero .hero-image .swiper-button-prev {
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease;
  color: color-mix(in srgb, var(--default-color), transparent 65%);
}

.hero .hero-image:hover .swiper-button-next, .hero .hero-image:hover .swiper-button-prev, .hero .hero-image:focus-within .swiper-button-next, .hero .hero-image:focus-within .swiper-button-prev {
  opacity: 1;
  visibility: visible;
}

.hero .hero-image .swiper-pagination-bullet {
  background: rgba(13, 110, 253, 0.5);
  opacity: 1;
}

.hero .hero-image .swiper-pagination-bullet-active {
  background: #0d6efd;
}

.hero .hero-image .floating-cards {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.hero .hero-image .floating-cards .course-card {
  position: absolute;
  background: var(--surface-color);
  border-radius: 15px;
  padding: 1rem 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 200px;
}

.hero .hero-image .floating-cards .course-card:nth-child(1) {
  top: 20%;
  left: -10%;
}

.hero .hero-image .floating-cards .course-card:nth-child(2) {
  top: 50%;
  right: -15%;
}

.hero .hero-image .floating-cards .course-card:nth-child(3) {
  bottom: 20%;
  left: -5%;
}

.hero .hero-image .floating-cards .course-card .card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .hero-image .floating-cards .course-card .card-icon i {
  font-size: 1.5rem;
  color: var(--accent-color);
}

.hero .hero-image .floating-cards .course-card .card-content h6 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--heading-color);
  line-height: 1.2;
}

.hero .hero-image .floating-cards .course-card .card-content span {
  font-size: 0.8rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

@media (max-width: 992px) {
  .hero .hero-image .floating-cards .course-card {
    display: none;
  }
}

.hero .hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  overflow: hidden;
}

.hero .hero-background .bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.hero .hero-background .bg-shapes .shape {
  position: absolute;
  border-radius: 50%;
  background: color-mix(in srgb, var(--default-color), transparent 95%);
}

.hero .hero-background .bg-shapes .shape.shape-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  right: 10%;
}

.hero .hero-background .bg-shapes .shape.shape-2 {
  width: 200px;
  height: 200px;
  bottom: 20%;
  left: 5%;
}

.hero .hero-background .bg-shapes .shape.shape-3 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 30%;
}

@keyframes float {
  0%,
100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@media (max-width: 992px) {
  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }
  .hero .hero-text {
    margin-bottom: 3rem;
  }
}

@media (max-width: 768px) {
  .hero {
    text-align: center;
  }
  .hero .hero-stats {
    justify-content: center;
  }
  .hero .hero-features {
    justify-content: center;
  }
}