/* Home Page Specific Styles */

/* Navbar Styles */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: all 0.3s ease;
  padding: 20px 0;
}

.navbar.scrolled {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
}

.navbar.scrolled .nav-link {
  color: #2c3e50;
}

.navbar.scrolled .nav-link:hover {
  color: #e74c3c;
}

.navbar.scrolled .btn-outline-primary {
  color: #2c3e50;
  border-color: #2c3e50;
}

.navbar.scrolled .btn-outline-primary:hover {
  color: #fff;
  background-color: #2c3e50;
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo img {
  height: 40px;
  transition: all 0.3s ease;
}

.navbar.scrolled .navbar-logo img {
  height: 35px;
}

.navbar-menu {
  display: flex;
  align-items: center;
}

.navbar-nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
  margin: 0 15px;
}

.nav-link {
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  padding: 8px 0;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: #e74c3c;
}

.nav-item.active .nav-link {
  color: #e74c3c;
}

.nav-item.active .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #e74c3c;
}

.dropdown-toggle i {
  margin-left: 5px;
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.nav-item:hover .dropdown-toggle i {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 8px 20px;
  color: #2c3e50;
  text-decoration: none;
  transition: all 0.3s ease;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
  color: #e74c3c;
  padding-left: 25px;
}

.navbar-actions {
  display: flex;
  align-items: center;
}

.navbar-actions .btn {
  margin-left: 10px;
}

.btn-outline-primary {
  color: #fff;
  border-color: #fff;
}

.btn-outline-primary:hover {
  background-color: #fff;
  color: #2c3e50;
}

.navbar-toggler {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 20px;
  position: relative;
  margin-left: 20px;
}

.toggler-icon {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #fff;
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}

.toggler-icon:nth-child(1) {
  top: 0;
}

.toggler-icon:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.toggler-icon:nth-child(3) {
  bottom: 0;
}

.navbar.scrolled .toggler-icon {
  background-color: #2c3e50;
}

.navbar-toggler.active .toggler-icon:nth-child(1) {
  transform: rotate(45deg);
  top: 50%;
}

.navbar-toggler.active .toggler-icon:nth-child(2) {
  opacity: 0;
}

.navbar-toggler.active .toggler-icon:nth-child(3) {
  transform: rotate(-45deg);
  bottom: 50%;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #2c3e50, #1a252f);
  color: #fff;
  padding: 180px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 125px;
  align-items: normal;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-title span {
  color: #e74c3c;
  display: block;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
  margin-left: 88px;
}

.hero-stats {
  display: flex;
  gap: 30px;
  margin-left: 60px;
}

.hero-stat {
  text-align: center;
  position: relative;
}

.hero-stat:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -15px;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.2);
}

.hero-stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #e74c3c;
  margin-bottom: 5px;
}

.hero-stat-text {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ONLY CHANGING THE IMAGE-RELATED STYLES */
.hero-image {
  position: relative;
  width: 171%; /* Increased from 100% */
  max-width: 650px; /* Increased from 550px */
  height: 574px; /* Increased from 350px */
  margin: 0 -10% 0 0; /* Adjusted to pull image right */
  border-radius: 12px;
  overflow: hidden;
  top: -37px;
}

.slider-image {
  position: absolute;
  width: 110%; /* Increased from 100% */
  height: 110%; /* Increased from 100% */
  object-fit: cover;
  object-position: center 30%; /* Adjusted focus position */
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.65, 0, 0.35, 1);
  transform-style: preserve-3d;
  z-index: 1;
  border-radius: 10px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  left: -5%; /* Centering the enlarged image */
  top: -5%; /* Centering the enlarged image */
}

/* Active slide needs same adjustments */
.slider-image.active {
  width: 110%;
  height: 110%;
  left: -5%;
  top: -5%;
  opacity: 1;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}

/* Mobile adjustments to keep responsiveness */
@media (max-width: 992px) {
  .hero-image {
    width: 100%; /* Reset on tablet */
    margin: 0 auto; /* Center on tablet */
    max-width: 500px; /* Adjusted from 450px */
    height: 350px; /* Increased from 300px */
  }
  
  .slider-image,
  .slider-image.active {
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
  }
}

@media (max-width: 768px) {
  .hero-image {
    height: 300px; /* Increased from 250px */
  }
}
.slider-image.active {
  opacity: 1;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}

/* Optional fade + slide transition */
.slider-image.next {
  transform: translateX(20px) scale(0.95);
  opacity: 0;
}

.slider-image.prev {
  transform: translateX(-20px) scale(0.95);
  opacity: 0;
}

.hero-image img {
  width: 100%;
  height: 100%; /* Changed from auto to fill container */
  object-fit: cover; /* Ensure images fill space properly */
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: absolute; /* All images positioned absolutely */
  top: 0;
  left: 0;
}

.slider-image {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1;
}

.slider-image.active {
  opacity: 1;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0.5deg);
  }
  50% {
    transform: translateY(-12px) rotate(-0.5deg);
  }
}

.hero-badge {
  position: absolute;
  bottom: 57px;
  right: 64px;
  background: linear-gradient(135deg, #e74c3c, #f39c12);
  color: #fff;
  padding: 12px 20px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 20px rgba(231, 76, 60, 0.4);
  z-index: 3; /* Above all images */
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

.badge-icon {
  width: 28px;
  height: 28px;
  background-color: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.badge-text {
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  color: white;
}
.badge-text:hover{
  color: white;
}

.hero-shape {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  /* background-color: #fff;
  clip-path: polygon(0 100%, 100% 100%, 100% 0); */
  z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .hero-image {
    max-width: 450px;
    height: 300px;
  }
  
  .hero-badge {
    right: 50%;
    transform: translateX(50%);
    bottom: 15px;
  }
}

@media (max-width: 768px) {
  .hero-image {
    height: 250px;
  }
  
  .slider-image.active {
    animation: float-mobile 6s ease-in-out infinite;
  }
  
  @keyframes float-mobile {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-8px);
    }
  }
}

/* Featured Courses Section */
.featured-courses {
  padding: 80px 0;
  background-color: #fff;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #e74c3c;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.course-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* padding: 15px; */
  background-color: #0f172a;
  /* background-color: #f0f0f0; */

  text-decoration: none;
}

.course-card:hover {
  background-color: white;
    /* background-color: #0f172a; */
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.course-image {
  position: relative;
  overflow: hidden;
}

.course-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.course-card:hover .course-image img {
  transform: scale(1.05);
}
.course-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #2c3e50;
  font-weight: 600;
}

.course-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 1;
}

.course-badge.hot {
  background-color: #e74c3c;
  color: #fff;
}

.course-badge.new {
  background-color: #2ecc71;
  color: #fff;
}

.course-badge.popular {
  background-color: #f39c12;
  color: #fff;
}

.course-content {
  padding: 25px;
}

.course-category {
  display: inline-block;
  padding: 3px 10px;
  background-color: rgba(44, 62, 80, 0.1);
  color: #2c3e50;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.course-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.course-title a {
  color: #2c3e50;
  text-decoration: none;
  transition: color 0.3s ease;
}

.course-title a:hover {
  color: #e74c3c;
}

.course-details {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.course-detail {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9rem;
  color: #555;
}

.course-detail i {
  color: #2c3e50;
}

.course-description {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.course-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid #eaeaea;
}

.course-rating {
  display: flex;
  align-items: center;
  gap: 5px;
}

.stars {
  color: #f39c12;
  font-size: 0.9rem;
}

.course-rating span {
  font-size: 0.9rem;
  color: #555;
}

.course-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #2c3e50;
}

.section-footer {
  text-align: center;
  margin-top: 50px;
}

/* Why Choose Us Section */
.why-choose-us {
  padding: 23px 0px;
  background-color: #0f172ae8;
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

 /* Create the animated background that comes from bottom on hover */
.feature-card::before {
  content: '';
  position: absolute;
  top: 100%; /* Start the background from the bottom */
  left: 0;
  width: 100%;
  height: 0%;
  background: #0f172a;
  z-index: 0;
  transition: none; /* no out animation */
  border-radius: 8px;
}

/* On hover: animate height smoothly */
.feature-card:hover::before {
  top: 0%; /* On hover, move the background to the top */
  height: 100%; /* Full height */
  transition: top 0.4s ease-in, height 0.4s ease-in; /* Animate both top and height */
}

/* Keep content above overlay */
.feature-card * {
  position: relative;
  z-index: 1;
}

/* Card lift on hover */
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}



.feature-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(231, 76, 60, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #e74c3c;
  font-size: 2rem;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
  background-color: #e74c3c;
  color: #fff;
}

.feature-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #2c3e50;
}
.feature-card:hover .feature-title {
  color: #ffffff;
}



.feature-description {
  color: #555;
  line-height: 1.6;
}
.feature-card:hover .feature-description {
  color: #ffffff;
}

/* Success Stories Section */
.success-stories-section {
  padding: 80px 0;
  background-color: #fff;
}

.success-stories-slider {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
}

.success-stories-track {
  display: flex;
  transition: transform 0.5s ease;
}

.success-story-card {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 30px;
  background-color: #f8f9fa;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.story-image {
  position: relative;
  height: 100%;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-company {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background-color: white;
  border-radius: 5px;
  padding: 5px 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.story-company img {
  height: 30px;
  width: auto;
}

.story-content {
  padding: 30px;
}

.story-name {
  font-size: 1.5rem;
  margin-bottom: 5px;
  color: #2c3e50;
  display: flex;
  align-items: center;
  gap: 10px;
}

.story-badge {
  background-color: #e74c3c;
  color: #fff;
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 20px;
  font-weight: 600;
  animation: pulse 2s infinite;
}

.story-position {
  color: #e74c3c;
  font-weight: 500;
  margin-bottom: 10px;
}

.story-course {
  display: inline-block;
  background-color: rgba(44, 62, 80, 0.1);
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  color: #2c3e50;
  margin-bottom: 15px;
}

.story-text {
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}

.story-stats {
  display: flex;
  gap: 30px;
}

.story-stat {
  text-align: center;
}

.story-stat-value {
  font-size: 1.5rem;
  font-weight: bold;
  color: #e74c3c;
}

.story-stat-label {
  font-size: 0.9rem;
  color: #555;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  gap: 20px;
}

.slider-control {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #fff;
  border: 1px solid #eaeaea;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-control:hover {
  background-color: #e74c3c;
  color: #fff;
  border-color: #e74c3c;
}

.slider-dots {
  display: flex;
  gap: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #eaeaea;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background-color: #e74c3c;
  transform: scale(1.2);
}

/* Partners Section */
/* .partners-section {
  padding: 60px 0;
  background-color: #f8f9fa;
  overflow: hidden;
}

.partners-slider {
  margin-top: 50px;
  position: relative;
  overflow: hidden;
}

.partners-track {
  display: flex;
  animation: scroll 10s linear infinite;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-90%);
  }
}

.partner-logo {
  flex: 0 0 200px;
  height: 100px;
  margin: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

/* .partner-logo:hover {
  transform: scale(1.05);
} */
 /* .heading-highlight{
  font-size:30px;
  width: 1550px;
  padding: 10px;
  align-items: center;
} */
/* .partner-logo img {
  max-width: 90%;
  max-height: 150%;
} */

.partners-section {
  padding: 60px 0;
  background-color: #f8f9fa;
  overflow: hidden;
}

.partners-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.partners-track {
  display: flex;
  width: max-content;
  animation: scroll 20s linear infinite;
}

@keyframes scroll {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.partner-logo {
  flex: 0 0 auto;
  padding: 10px 40px;
  white-space: nowrap;
}
.heading-highlight {
  font-size: 40px;
  padding: 10px 20px;
  background-color: rgba(255, 255, 255, 0);
  color:#e74c3c;
  border-radius: 8px;
  /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); */
  display: inline-block;
}


/* Upcoming Batches Section */
.upcoming-batches {
  padding: 80px 0;
  background-color: #fff;
}

.batches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.batch-card {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  padding: 25px;
  border: 1px solid #eaeaea;
}

.batch-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.batch-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.batch-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(231, 76, 60, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e74c3c;
  font-size: 1.5rem;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.batch-card:hover .batch-icon {
  transform: scale(1.1);
  background-color: #e74c3c;
  color: #fff;
}

.batch-info {
  flex: 1;
}

.batch-title {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: #2c3e50;
}

.batch-date {
  font-size: 0.9rem;
  color: #e74c3c;
  font-weight: 500;
}

.batch-details {
  margin-bottom: 20px;
}

.batch-detail {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: #555;
}

.batch-detail i {
  color: #2c3e50;
  width: 20px;
  text-align: center;
}

.batch-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 15px;
  border-top: 1px solid #eaeaea;
}

.batch-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #2c3e50;
}

.batch-price span {
  font-size: 0.9rem;
  color: #777;
  text-decoration: line-through;
  margin-left: 5px;
  font-weight: normal;
}

.batch-btn {
  padding: 8px 15px;
}

.batch-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: #e74c3c;
  color: #fff;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 1;
}

/* Testimonials Section */
.testimonials-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.testimonials-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonials-wrapper {
  overflow: hidden;
  border-radius: 10px;
}

.testimonial {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  display: none;
}

.testimonial.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.testimonial-content {
  position: relative;
  padding-bottom: 20px;
  border-bottom: 1px solid #eaeaea;
}

.testimonial-quote {
  position: absolute;
  top: -10px;
  left: -10px;
  font-size: 2rem;
  color: rgba(231, 76, 60, 0.2);
}

.testimonial-content p {
  color: #555;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-rating {
  color: #f39c12;
  font-size: 1.2rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

.testimonial-author img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-author-info h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: #2c3e50;
}

.testimonial-author-info p {
  color: #555;
  margin-bottom: 5px;
  font-size: 0.9rem;
}

.testimonial-author-info p span {
  color: #e74c3c;
  font-weight: 500;
}

.testimonials-nav {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 10;
}

.testimonial-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #fff;
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-nav-btn:hover {
  background-color: #e74c3c;
  color: #fff;
}

.testimonial-nav-btn.prev {
  margin-left: -20px;
}

.testimonial-nav-btn.next {
  margin-right: -20px;
}

/* Call to Action Section */
/* @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap'); */




/* Footer Styles */
.footer {
  background-color: #1a252f;
  color: #fff;
  position: relative;
}

.footer-top {
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 40px;
}

.footer-widget {
  margin-bottom: 30px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo img {
  height: 40px;
}

.footer-about {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: #e74c3c;
  transform: translateY(-5px);
}

.footer-widget-title {
  font-size: 1.3rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-widget-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: #e74c3c;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.footer-links a::before {
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
  color: #e74c3c;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 5px;
}

.footer-links a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.contact-info {
  margin-top: 20px;
}

.contact-item {
  display: flex;
  margin-bottom: 15px;
}

.contact-item i {
  color: #e74c3c;
  margin-right: 15px;
  margin-top: 5px;
}

.contact-item p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: #e74c3c;
}

.footer-shape {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background-color: #f8f9fa;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

/* Enquiry Form Popup */
.enquiry-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.enquiry-popup.active {
  opacity: 1;
  visibility: visible;
}

.enquiry-popup-content {
  background-color: #fff;
  border-radius: 10px;
  width: 100%;
  max-width: 500px;
  padding: 30px;
  position: relative;
  transform: translateY(50px);
  transition: all 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}

.enquiry-popup.active .enquiry-popup-content {
  transform: translateY(0);
}

.enquiry-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: #555;
  transition: color 0.3s ease;
}

.enquiry-close:hover {
  color: #e74c3c;
}

.enquiry-header {
  text-align: center;
  margin-bottom: 30px;
}

.enquiry-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(231, 76, 60, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #e74c3c;
  font-size: 1.8rem;
}

.enquiry-header h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #2c3e50;
}

.enquiry-header p {
  color: #555;
}

.enquiry-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 5px;
  font-weight: 500;
  color: #2c3e50;
}

.required {
  color: #e74c3c;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: #2c3e50;
  box-shadow: 0 0 0 2px rgba(44, 62, 80, 0.1);
  outline: none;
}

.form-checkbox {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.form-checkbox input {
  width: 18px;
  height: 18px;
}

.form-checkbox label {
  margin-bottom: 0;
  cursor: pointer;
}

.btn-block {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-block i {
  transition: transform 0.3s ease;
}

.btn-block:hover i {
  transform: translateX(5px);
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .hero-section .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-stats {
    justify-content: center;
    margin-right: 50px;
  }

  .hero-image {
    display: none;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .navbar-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    transition: left 0.3s ease;
    z-index: 999;
  }

  .navbar-menu.active {
    left: 0;
  }

  .navbar-nav {
    flex-direction: column;
    width: 100%;
  }

  .nav-item {
    margin: 10px 0;
    width: 100%;
  }

  .nav-link {
    color: #2c3e50;
    width: 100%;
    padding: 10px 0;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding-left: 20px;
    display: none;
  }

  .dropdown-toggle.active + .dropdown-menu {
    display: block;
  }

  .navbar-toggler {
    display: block;
  }

  .success-story-card {
    grid-template-columns: 1fr;
  }

  .story-image {
    height: 300px;
  }

  .batches-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .courses-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
  }

  .testimonial-author {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .hero-buttons {
    flex-direction: column;
    gap: 10px;
    margin-right: 20px;
    margin-left: 40px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .hero-stat:not(:last-child)::after {
    display: none;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .story-stats {
    flex-direction: column;
    gap: 15px;
  }
}



:root {
  --dark-bg: #0f172a;
  --dark-card: #1e293b;
  --primary: #6366f1;
  --primary-light: #818cf8;
  --accent: #06b6d4;
  --text: #e2e8f0;
  --text-light: #94a3b8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--dark-bg);
  color: var(--text);
}

.programs-carousel {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1rem;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-title {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 800;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: clamp(0.9rem, 3vw, 1.1rem);
  color: var(--text-light);
  max-width: min(90%, 700px);
  margin: 0 auto;
  line-height: 1.5;
}

.carousel-container {
  position: relative;
  height: auto;
  min-height: 500px;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  margin-top: 2rem;
}

.program-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transform: translateX(100%);
}

.program-slide.active {
  opacity: 1;
  transform: translateX(0);
}

.program-slide.next {
  transform: translateX(100%);
}

.program-slide.prev {
  transform: translateX(-100%);
}

.program-image {
  flex: 0 0 40vh;
  min-height: 300px;
  position: relative;
  overflow: hidden;
}

.program-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s ease;
}

.program-slide.active .program-image img {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.9));
}

.program-type {
  display: inline-block;
  padding: 0.25rem 1rem;
  background: rgba(99, 102, 241, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--primary-light);
}

.image-overlay h3 {
  font-size: clamp(1.3rem, 5vw, 1.8rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.program-content {
  flex: 1;
  padding: 2rem 1.5rem;
  background-color: var(--dark-card);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) transparent;
}

.program-content::-webkit-scrollbar {
  width: 6px;
}

.program-content::-webkit-scrollbar-thumb {
  background-color: var(--primary);
  border-radius: 3px;
}

.program-title {
  font-size: clamp(1.3rem, 5vw, 1.8rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.program-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.575);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.program-highlights {
  display: flex;
  gap: 1rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
  justify-content: space-between;
}

.highlight-item {
  flex: 1;
  min-width: 100px;
  text-align: center;
}

.highlight-value {
  font-size: clamp(1.2rem, 5vw, 1.5rem);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.highlight-label {
  font-size: 0.85rem;
  color: white;
  font-weight: 500;
}

.program-description {
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.589);
  line-height: 1.7;
  font-size: clamp(0.9rem, 3vw, 1rem);
}

.program-features {
  margin-bottom: 1.5rem;
  color: white;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 13px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.753);
}

.feature-icon {
  color: var(--accent);
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background-color: rgba(6, 182, 212, 0.1);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.feature-text {
  font-size: 0.9rem;
}

.program-cta {
  display: block;
  text-align: center;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
  margin: 2rem auto 0;
  max-width: 250px;
}

.program-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(6, 182, 212, 0.3);
}

.carousel-nav {
  position: static;
  transform: none;
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 0 1rem 1rem;
}

.nav-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--text-light);
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-dot.active {
  background-color: var(--accent);
  transform: scale(1.3);
}

/* Swipe support for touch devices */
.carousel-container {
  touch-action: pan-y;
}

/* Tablet and Desktop Styles */
@media (min-width: 768px) {
  .programs-carousel {
    padding: 3rem 2rem;
  }
  
  .section-header {
    margin-bottom: 3rem;
  }
  
  .carousel-container {
    height: 600px;
  }
  
  .program-slide {
    flex-direction: row;
  }
  
  .program-image {
    flex: 0 0 50%;
    height: 100%;
  }
  
  .program-content {
    padding: 3rem;
    overflow-y: hidden;
  }
  
  .feature-list {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .carousel-nav {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .program-cta {
    margin-left: 0;
    margin-right: 0;
  }
}

/* Large Desktop Styles */
@media (min-width: 1200px) {
  .programs-carousel {
    padding: 4rem 2rem;
  }
  
  .carousel-container {
    height: 680px;
  }
  
  .program-content {
    padding: 3rem 4rem;
  }
  
  .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}