@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
:root {
  --primary-color: #667eea;
  --secondary-color: #764ba2;
  --accent-color: #00d4aa;
  --dark-color: #1a202c;
  --light-color: #f7fafc;
  --success-color: #48bb78;
  --warning-color: #ed8936;
  --danger-color: #f56565;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  /* font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif; */
  line-height: 1.6;
  overflow-x: hidden;
  font-family: "Josefin Sans", sans-serif;
}

.hero-section {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("image/banner.jpg");
  background-size: cover;
  /* animation: float 20s ease-in-out infinite; */
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(30px, -30px) rotate(1deg);
  }
  66% {
    transform: translate(-20px, 20px) rotate(-1deg);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-size: 2rem;
  font-weight: bold;
  color: var(--accent-color);
  display: block;
}

.hero-stat-text {
  font-size: 0.9rem;
  opacity: 0.9;
}

.navbar {
  background: rgba(38, 24, 24, 0.95) !important;
  backdrop-filter: blur(15px);
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-family: "Playfair Display", serif;
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--primary-color) !important;
  text-decoration: none;
}

.navbar-nav .nav-link {
  color: var(--light-color) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  padding: 0.5rem 1rem !important;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color) !important;
  background: rgba(102, 126, 234, 0.1);
  transform: translateY(-2px);
}

.navbar-toggler {
  background-color: var(--primary-color) !important;
}
.btn-primary {
  background: linear-gradient(
    45deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border: none;
  padding: 0.8rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-outline-primary {
  border: 2px solid white;
  color: white;
  padding: 0.8rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  background: transparent;
}

.btn-outline-primary:hover {
  background: white;
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.feature-card {
  color: var(--dark-color);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  border: 1px solid rgba(102, 126, 234, 0.1);
  position: relative;
  overflow: hidden;
  opacity: 1;
}
.feature-card img{
  max-width: 100%;
  height: 200px;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
}

.feature-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  width: 90px;
  height: 90px;
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  color: white;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 1.5rem;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.course-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  border: 1px solid rgba(102, 126, 234, 0.1);
  height: 100%;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.course-image {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.course-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.8),
    rgba(118, 75, 162, 0.8)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.course-card:hover .course-image::after {
  opacity: 1;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.5rem;
  opacity: 0;
  transition: all 0.3s ease;
  cursor: pointer;
}

.course-card:hover .play-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

.course-price {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--success-color);
}

.course-price-old {
  text-decoration: line-through;
  color: #999;
  font-size: 1rem;
}

.stats-section {
  background: var(--dark-color);
  color: white;
  position: relative;
  overflow: hidden;
  font-family: "Lobster", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.stats-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("image/stat-section.jpg");
  background-size: cover;
  z-index: 0;
  opacity: 0.3;
}

.stat-item {
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
  z-index: 2;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent-color);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.9;
  font-weight: 500;
}

.serv-btn,
.testimoninalcontent {
  text-align: center;
}
.testimonial {
  text-align: center;
  padding: 60px 0;
}
.wrappswipper {
  background: url("images/map.png") no-repeat;
  background-size: contain;
  background-position: center;
}
.avatarSwiper {
  margin-bottom: 25px;
  padding: 80px 0;
}
.contentSwiper,
.avatarSwiper {
  max-width: 788px;
}
.avatarSwiper .swiper-slide {
  opacity: 0.3;
  transform: scale(0.85);
  transition: 0.3s;
}
.avatarSwiper .swiper-slide img {
  width: 85px;
  height: 85px;
  border-radius: 50%;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: 0.3s;
}
.avatarSwiper .swiper-slide-active {
  opacity: 1;
  transform: scale(1.25);
}
.avatarSwiper .swiper-slide-active img {
  filter: grayscale(0);
  opacity: 1;
}
.contentSwiper .swiper-slide {
  opacity: 0;
  transition: 0.3s ease;
  transform: translateY(10px);
}
.contentSwiper .swiper-slide-active {
  opacity: 1;
  transform: translateY(0);
}
.contentSwiper p {
  color: var(--main-dark);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 24px;
}
.contentSwiper span {
  display: block;
  font-size: 13px;
  color: var(--main-dark);
}
.testimoninalcontent {
  text-align: center;
}


.testimonials .swiper-button-next,
.testimonials .swiper-button-prev {
  width: 68px;
  height: 68px;
  background: var(--primary-color);
  border-radius: 100%;
  color: var(--light-color);
}

.fa-chevron-right:before,
.fa-chevron-left:before {
  display: none;
}
.footer {
  background: var(--dark-color);
  color: white;
  padding: 4rem 0 2rem;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent-color),
    transparent
  );
}

.footer h5 {
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.footer a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-block;
  padding: 0.25rem 0;
}

.footer a:hover {
  color: var(--accent-color);
  transform: translateX(5px);
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(0, 212, 170, 0.1);
  border-radius: 50%;
  color: var(--accent-color);
  margin-right: 1rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--accent-color);
  color: white;
  transform: translateY(-3px);
}

.section-padding {
  padding: 6rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--dark-color);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

.section-title p {
  font-size: 1.2rem;
  color: #64748b;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

.category-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-web {
  background: rgba(102, 126, 234, 0.1);
  color: var(--primary-color);
}

.badge-data {
  background: rgba(72, 187, 120, 0.1);
  color: var(--success-color);
}

.badge-design {
  background: rgba(237, 137, 54, 0.1);
  color: var(--warning-color);
}

.badge-business {
  background: rgba(245, 101, 101, 0.1);
  color: var(--danger-color);
}

.badge-marketing {
  background: rgba(0, 212, 170, 0.1);
  color: var(--accent-color);
}

.instructor-info {
  display: flex;
  align-items: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

.instructor-avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  margin-right: 0.8rem;
  object-fit: cover;
}

.instructor-name {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

#courses {
  background-image: url("image/featured-background.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  font-family: "Playfair Display", serif;
}
.course-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #666;
  font-size: 0.9rem;
}

.course-rating {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--warning-color);
}

/* Swiper Customizations */
.swiper-pagination-bullet {
  background: var(--primary-color);
  opacity: 0.3;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--accent-color);
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--primary-color);
  background: white;
  width: 50px;
  height: 50px;
  padding: 40px;
  border-radius: 50%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 1.2rem;
}

.cta-section {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle cx="100" cy="100" r="50" fill="rgba(255,255,255,0.05)"/><circle cx="900" cy="200" r="80" fill="rgba(255,255,255,0.05)"/><circle cx="200" cy="800" r="60" fill="rgba(255,255,255,0.05)"/><circle cx="800" cy="800" r="90" fill="rgba(255,255,255,0.05)"/></svg>');
  animation: float 15s ease-in-out infinite;
}

@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }

  .section-title h2 {
    font-size: 2.2rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .hero-stats {
    justify-content: center;
    gap: 1rem;
  }

  .course-card {
    margin-bottom: 2rem;
  }

  .navbar-brand {
    font-size: 1.5rem;
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
