:root {
  /* Colors from your provided list */
  --primary-color: #2f5fb3;
  --primary-dark: #1f4690;
  --primary-light: #4a7bd1;
  --accent-color: #ffc107;
  --accent-dark: #e0a800;
  --accent-light: #ffd54f;
  --text-primary: #ffffff;
  --text-secondary: #e3eaf5;
  --text-dark: #1a1a1a;
  --bg-primary: #2f5fb3;
  --bg-light: #f5f8ff;
  --bg-dark: #0f2a5a;
  --border-color: #d6e0f5;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --gradient-primary: linear-gradient(135deg, #2f5fb3, #4a7bd1);
  --gradient-accent: linear-gradient(135deg, #ffc107, #ffd54f);

  /* Fonts */
  --font-heading: "Poppins", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-accent: "Playfair Display", serif;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
}
.bg-nav {
  background-color: #fffad4;
}
/* Top Bar Styles */
.top-bar {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  padding: 10px 0;
  font-size: 14px;
}

.apply-link {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
}

.social-links a {
  color: var(--text-primary);
  margin-left: 15px;
  transition: 0.3s;
}

.social-links a:hover {
  color: var(--accent-color);
}

/* Navbar & Brand */
.main-nav {
  padding: 15px 0;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.logo-icon {
  /* background: var(--gradient-primary); */
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 22px;
}

.brand-text h1 {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--primary-dark);
  line-height: 1;
}

.brand-text p {
  font-size: 10px;
  letter-spacing: 1px;
  color: #777;
  font-weight: bold;
}

/* Navigation Links */
.navbar-nav .nav-link {
  font-family: var(--font-heading);
  color: var(--text-dark) !important;
  font-weight: 500;
  margin: 0 10px;
  transition: 0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color) !important;
}

/* Buttons */
.btn-signin {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  font-family: var(--font-heading);
}

.btn-signup {
  background: var(--gradient-primary);
  color: white;
  padding: 10px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
  box-shadow: 0 4px 15px var(--shadow-color);
}

.btn-signup:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
}

/* Sticky Class via JS */
.nav-scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 10px 0;
}

/* slider section */
/* Slider Base */
#heroSlider {
  background-color: var(--bg-light);
  overflow: hidden;
  position: relative;
}

.min-vh-75 {
  min-height: 75vh;
}

/* Content Styling */
.badge-accent {
  display: inline-block;
  background: var(--gradient-accent);
  color: var(--bg-dark);
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.text-primary-blue {
  color: var(--primary-color);
}

.hero-content h2 {
  font-family: var(--font-heading);
  color: var(--bg-dark);
  line-height: 1.2;
}

.hero-content p {
  color: #555;
  font-size: 1.1rem;
  max-width: 500px;
}

/* Custom Buttons */
.btn-primary-custom {
  background: var(--gradient-primary);
  color: white;
  padding: 14px 35px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  transition: 0.3s;
  border: none;
  box-shadow: 0 10px 20px rgba(47, 95, 179, 0.2);
}

.btn-outline-custom {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 12px 35px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  transition: 0.3s;
}

.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(47, 95, 179, 0.3);
  color: white;
}

/* Image Aesthetics */
.hero-image-wrapper {
  position: relative;
  padding: 20px;
}

.hero-image-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border: 2px dashed var(--primary-light);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: morph 8s linear infinite;
  z-index: 0;
}

.rounded-circle-custom {
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  position: relative;
  z-index: 1;
  box-shadow: 0 20px 40px var(--shadow-color);
}

/* Carousel Controls */
.control-icon {
  width: 50px;
  height: 50px;
  background: white;
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.control-icon:hover {
  background: var(--primary-color);
  color: white;
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--primary-light);
}

/* Slider Section */

/* Welcome Section Styles */
.welcome-section {
  background-color: #ffffff;
}

.accent-font {
  font-family: var(--font-accent);
}

.letter-spacing-2 {
  letter-spacing: 2px;
  font-size: 0.9rem;
}

/* Image Stack Styling */
.welcome-image-stack {
  position: relative;
  padding: 20px;
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: 0;
  background: var(--gradient-accent);
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  min-width: 140px;
}

.experience-badge .number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--bg-dark);
  line-height: 1;
}

.experience-badge .text {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--primary-dark);
}

/* Icon Box Styling */
.welcome-icon {
  background: var(--bg-light);
  color: var(--primary-color);
  width: 50px;
  height: 50px;
  min-width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.25rem;
  transition: 0.3s;
}

.d-flex:hover .welcome-icon {
  background: var(--primary-color);
  color: #fff;
  transform: rotateY(180deg);
}

/* Signature & Text adjustments */
.section-title h2 {
  font-family: var(--font-heading);
  color: var(--bg-dark);
}

.italic {
  font-style: italic;
}

/* Course Section Custom CSS */
.course-filter {
  background: #fff;
  display: inline-block;
  padding: 10px;
  border-radius: 50px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.filter-btn {
  border: none;
  background: transparent;
  padding: 8px 25px;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
  transition: 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary-color);
  color: white;
}

/* Card Styling */
.course-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.4s ease;
  height: 100%;
}

.course-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px var(--shadow-color) !important;
}

.course-img-container {
  position: relative;
  overflow: hidden;
}

.course-card img {
  height: 220px;
  object-fit: cover;
  transition: 0.5s;
}

.course-card:hover img {
  transform: scale(1.1);
}

.course-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--primary-color);
  color: white;
  padding: 5px 15px;
  border-radius: 5px;
  font-size: 0.75rem;
  font-weight: 700;
}

.course-price {
  position: absolute;
  bottom: -15px;
  right: 20px;
  background: var(--gradient-accent);
  color: var(--bg-dark);
  padding: 8px 15px;
  border-radius: 8px;
  font-weight: 800;
  font-family: var(--font-heading);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-enroll {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: 0.3s;
}

.btn-enroll:hover {
  color: var(--primary-dark);
}
/* English Speaking Specifics */
.ls-2 {
  letter-spacing: 2px;
}

.speaking-image-container {
  position: relative;
}

.live-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.6);
  color: var(--accent-color);
  padding: 5px 15px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  backdrop-filter: blur(5px);
  z-index: 3;
}

.live-tag .dot {
  width: 8px;
  height: 8px;
  background: var(--accent-color);
  border-radius: 50%;
  margin-right: 8px;
  display: inline-block;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: var(--gradient-accent);
  color: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.5rem;
  z-index: 2;
  transition: 0.3s;
  text-decoration: none;
}

.video-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  color: var(--bg-dark);
  box-shadow: 0 0 30px rgba(255, 193, 7, 0.4);
}

/* Floating Stats Card */
.floating-users-card {
  position: absolute;
  bottom: -10px;
  right: 0;
  background: #fff;
  padding: 15px 25px;
  border-radius: 15px;
  z-index: 4;
}

.avatar-group {
  display: flex;
  align-items: center;
}

.avatar-group img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -10px;
}

.avatar-group img:first-child {
  margin-left: 0;
}

.avatar-group .more {
  width: 35px;
  height: 35px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  margin-left: -10px;
  border: 2px solid #fff;
}

/* Feature Cards */
.speaking-feature-card {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  transition: 0.3s;
  border: 1px solid transparent;
}

.speaking-feature-card:hover {
  border-color: var(--border-color);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.icon-wrap {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  margin-bottom: 15px;
  font-size: 1.2rem;
  color: var(--primary-color);
}

.bg-primary-light {
  background-color: var(--bg-light);
}
.bg-accent-light {
  background-color: #fff9e6;
  color: var(--accent-dark);
}

/* Testimonial Custom Styling */
/* Testimonial V2 Custom CSS */
.featured-story {
  min-height: 450px;
  background: url("https://images.unsplash.com/photo-1523240795612-9a054b0db644?auto=format&fit=crop&q=80&w=800");
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
}

.featured-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0.9;
  z-index: 1;
}

.z-index-2 {
  z-index: 2;
}

.featured-avatar {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  object-fit: cover;
}

/* Feed Styling */
.testimonial-feed {
  max-height: 400px;
  overflow-y: auto;
  padding-right: 10px;
}

/* Custom Scrollbar for the feed */
.testimonial-feed::-webkit-scrollbar {
  width: 4px;
}
.testimonial-feed::-webkit-scrollbar-track {
  background: #f1f1f1;
}
.testimonial-feed::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: 10px;
}

.feed-item {
  transition: 0.3s;
}

.feed-item:hover {
  transform: scale(1.02);
  background-color: #fff !important;
}

.feed-icon {
  font-size: 1.2rem;
  opacity: 0.5;
}

.italic {
  font-style: italic;
}
/* Why Choose Us Section */
/* Why Choose Us Custom CSS */
.why-choose-us {
  background-color: var(--bg-light);
  z-index: 1;
}

/* Background Decoration */
.bg-shape {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(47, 95, 179, 0.05) 0%,
    transparent 70%
  );
  z-index: -1;
}

/* Feature Item Styling */
.feature-icon-circle {
  width: 65px;
  height: 65px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  font-size: 1.5rem;
  transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid var(--border-color);
}

.feature-item:hover .feature-icon-circle {
  background: var(--primary-color);
  transform: scale(1.1) rotate(10deg);
}

.feature-item:hover .feature-icon-circle i {
  color: #fff !important;
}

.feature-item h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--bg-dark);
}

/* Center Image with Floating Badges */
.center-image-wrapper {
  position: relative;
  display: inline-block;
  padding: 30px;
}

.main-circle img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border: 10px solid #fff;
}

.stat-floating {
  position: absolute;
  background: #fff;
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  font-family: var(--font-heading);
  z-index: 2;
  animation: float 4s ease-in-out infinite;
}

.badge-top {
  top: 10%;
  left: -10%;
  color: var(--primary-color);
}

.badge-bottom {
  bottom: 10%;
  right: -10%;
  color: var(--accent-dark);
}

/* Animation for floating elements */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .feature-item {
    text-align: center;
  }
  .feature-icon-circle {
    margin: 0 auto;
  }
  .stat-floating {
    position: relative;
    display: inline-block;
    margin: 10px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }
}

/* FAQ Section` */
/* FAQ Custom Styling */
.support-card {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
}

.support-icon {
  width: 45px;
  height: 45px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* Accordion Customization */
.accordion-item {
  overflow: hidden;
  transition: 0.3s;
}

.accordion-item:hover {
  transform: translateX(5px);
}

.accordion-button {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--bg-dark);
  padding: 20px;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  background-color: var(--primary-color);
  color: white;
}

.accordion-button:not(.collapsed) .faq-number {
  color: var(--accent-color);
}

.faq-number {
  color: var(--primary-color);
  font-weight: 800;
  font-size: 1.1rem;
  transition: 0.3s;
}

.accordion-button::after {
  background-size: 1rem;
  transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1); /* Turns the arrow white when expanded */
}

.accordion-body {
  line-height: 1.8;
  background-color: #fff;
  border-top: 1px solid #f0f0f0;
}

/* Call to action Section */
/* CTA Section Custom CSS */
.cta-section {
  background-color: var(--bg-light);
}

.cta-wrapper {
  background: var(--gradient-primary); /* Your Blue Gradient */
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Decorative background elements */
.cta-circle-1,
.cta-circle-2 {
  position: absolute;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  z-index: 1;
}

.cta-circle-1 {
  width: 300px;
  height: 300px;
  top: -100px;
  right: -50px;
}

.cta-circle-2 {
  width: 150px;
  height: 150px;
  bottom: -50px;
  left: 10%;
}

.z-index-2 {
  position: relative;
  z-index: 2;
}

.text-secondary-light {
  color: rgba(255, 255, 255, 0.85);
}

.text-accent {
  color: var(--accent-color);
}

/* CTA Buttons */
.btn-accent-glow {
  background: var(--gradient-accent); /* Your Yellow Gradient */
  color: var(--bg-dark);
  border: none;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(255, 193, 7, 0.3);
}

.btn-accent-glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 193, 7, 0.5);
  color: var(--bg-dark);
}

.btn-outline-white {
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: white;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  color: white;
}
/* Footer Section */
/* Footer Custom Styling */
.footer-section {
  background-color: var(--bg-dark); /* Your Deep Blue */
  color: var(--text-secondary);
  font-family: var(--font-body);
}

.text-secondary-light {
  color: #a5b4cc; /* Softer text for dark backgrounds */
}

.footer-title {
  font-family: var(--font-heading);
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent-color);
}

/* Links */
.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #a5b4cc;
  text-decoration: none;
  transition: 0.3s;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

/* Social Icons */
.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  margin-right: 10px;
  transition: 0.3s;
  text-decoration: none;
}

.social-link:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

/* Newsletter */
.newsletter-form .form-control {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  padding: 12px 20px;
  border-radius: 10px;
}

.newsletter-form .form-control:focus {
  box-shadow: none;
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary-light);
}

.btn-subscribe {
  position: absolute;
  right: 5px;
  top: 5px;
  bottom: 5px;
  background: var(--gradient-primary);
  border: none;
  color: white;
  padding: 0 15px;
  border-radius: 8px;
  transition: 0.3s;
}

.btn-subscribe:hover {
  background: var(--primary-dark);
}

/* Utilities */
.text-accent {
  color: var(--accent-color);
}
.grayscale {
  filter: grayscale(1) brightness(2);
  opacity: 0.5;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: var(--gradient-accent);
  color: var(--bg-dark);
  border: none;
  border-radius: 50%;
  display: none; /* Controlled by JS */
  z-index: 1000;
  transition: 0.3s;
}

.back-to-top:hover {
  transform: translateY(-5px);
}

.cta-button-wrapper {
  /* Optional: background color or min-height if you want it to stand out */
  background-color: var(--bg-light);
  width: 100%;
}

.btn-enroll-now {
  background: var(--gradient-primary);
  color: #ffffff !important;
  padding: 15px 40px;
  border-radius: 50px; /* Rounded pill style for "Explore" buttons */
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: none;
  transition: all 0.4s ease;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 10px 20px rgba(47, 95, 179, 0.2);
  text-decoration: none;
}

.btn-enroll-now:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(47, 95, 179, 0.4);
  background: var(--primary-dark);
}

/* Subtle animation to draw the eye to the center */
.btn-enroll-now i {
  transition: transform 0.3s ease;
}

.btn-enroll-now:hover i {
  transform: translateX(8px);
}
/* Responsive Font Scaling */
@media (max-width: 768px) {
  .cta-wrapper h2 {
    font-size: 1.8rem;
  }
}

/* Morphing Animation */
@keyframes morph {
  0% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
  50% {
    border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
  }
  100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
}
