/* ─────────────────────────────────────────────────────────────────
   0. CSS VARIABLES
───────────────────────────────────────────────────────────────── */
:root {
  --primary: #4F32C3;
  --primary-hover: #36229b;
  --text-light: #ffffff;
  --bg1: #ece6ff;
}


/* 1. Import Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* 2. Apply globally */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  font-family: 'Poppins', sans-serif !important;
}

/* ─────────────────────────────────────────────────────────────────
   1. GLOBAL RESET & BASE
───────────────────────────────────────────────────────────────── */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Poppins', sans-serif;
  background: #f9f9f9;
  padding-top: 0; /* adjust if navbar height changes */
}

/* ─────────────────────────────────────────────────────────────────
   2. NAVBAR (GLASS EFFECT)
───────────────────────────────────────────────────────────────── */
.navbar {
  background: rgba(79, 50, 195, 0.9);
  backdrop-filter: blur(10px);
  transition: background 0.3s, box-shadow 0.3s;
}

/* Contact Section Styles */
.contact {
  position: relative;
  overflow: hidden;
}

.contact .section-title h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

.contact .section-title .badge {
  font-size: 0.9rem;
  padding: 0.5rem 1.25rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.contact-card {
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 1;
  height: 100%;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(79, 50, 195, 0.1) !important;
}

.contact-icon-wrapper {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: rgba(79, 50, 195, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon-wrapper i {
  font-size: 1.75rem;
  color: var(--primary);
}

.contact-icon {
  width: 45px;
  height: 45px;
  background: rgba(79, 50, 195, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-info-item:hover .contact-icon {
  background: var(--bg1);
  color: white;
  transform: scale(1.1);
}

.contact-info-item h6 {
  font-weight: 600;
  color: #333;
  margin-bottom: 0.25rem;
}

.contact-info-item a {
  transition: all 0.3s ease;
}

.contact-info-item a:hover {
  color: var(--primary) !important;
  text-decoration: none !important;
  transform: translateX(3px);
}

.social-links {
  border-top: 1px solid #eee;
  padding-top: 1.5rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f8f9fa;
  color: #6c757d;
  margin: 0 3px;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(79, 50, 195, 0.3);
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  .contact .section-title h2 {
    font-size: 2rem;
  }
  
  .contact-card {
    padding: 1.5rem !important;
  }
  
  .contact-icon-wrapper {
    width: 60px;
    height: 60px;
  }
  
  .contact-icon-wrapper i {
    font-size: 1.5rem;
  }
}
.nav-link,
.navbar-brand {
  color: var(--text-light) !important;
  transition: color 0.3s;
}
.nav-link:hover {
  color: #FFD700 !important;
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(79, 50, 195, 0.98);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.close-nav-btn {
  position: absolute;
  top: 25px;
  right: 25px;
  background: transparent;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10000;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  text-align: center;
}

.mobile-nav ul li {
  margin: 1.5rem 0;
}

.mobile-nav .nav-link {
  color: white !important;
  font-size: 1.5rem;
  text-decoration: none;
  transition: color 0.3s;
  display: inline-block;
  padding: 0.5rem 1rem;
}

.mobile-nav .nav-link:hover {
  color: #FFD700 !important;
}

/* Hide mobile menu on larger screens */
@media (min-width: 992px) {
  .mobile-nav-overlay {
    display: none;
  }
  #mobileMenuBtn {
    display: none;
  }
}

/* Show mobile menu button on smaller screens */
@media (max-width: 991.98px) {
  .navbar-collapse {
    display: none !important;
  }
  #mobileMenuBtn {
    display: block;
    border: none;
    background: transparent;
    padding: 0.5rem;
  }
  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
  }
}

/* ─────────────────────────────────────────────────────────────────
   3. HERO SECTION
───────────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #fff);
  color: var(--text-light);
  padding: 150px 0 75px 0;
  text-align: center;
}
.badge-new {
  background: var(--text-light);
  color: var(--primary);
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  display: inline-block;
}

.title-main {
  color: #0d0d0e;
  font-size: 68px;
  font-weight: 700;
}

@media (max-width: 768px) {
  .title-main {
      font-size: 35px !important;
  }
  .hero {
    background: linear-gradient(135deg, #fff);
    color: var(--text-light);
    padding: 100px 0 100px 0;
    text-align: center;
  }

}



.wave-button {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg,
    #ff8a00,
    #e52e71,
    #832ee5,
    #2ee5bd
  );
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition:
    background 0.5s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
  text-decoration: none !important;
}


/* on hover: shift the gradient, lift & scale, add shadow */
.wave-button:hover {
  background: linear-gradient(90deg,
    #2ee5bd,
    #ff8a00,
    #e52e71,
    #832ee5
  ) !important;
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* the moving gloss */
.wave-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 18%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  transform: skewX(-20deg);
  animation: waveMove 2.8s linear infinite;
}

/* speed up the wave on hover */
.wave-button:hover::before {
  animation-duration: 1.4s;
}

@keyframes waveMove {
  0%   { left: -75%; }
  28.57% { left: 125%; }   /* gloss sweeps across */
  100%   { left: 125%; }   /* then holds */
}


/* ─────────────────────────────────────────────────────────────────
   4. SECTION TITLES
───────────────────────────────────────────────────────────────── */
.section-title h2 {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.section-title p {
  color: #6c757d;
  margin-bottom: 1.5rem;
}

.bg-purple-light {
  background-color: #f0ecfc;
}

.success-stories {
  background-color: #f0ecfc !important;
}
/* ─────────────────────────────────────────────────────────────────
   5. CARD COMPONENTS
───────────────────────────────────────────────────────────────── */
/* Common card hover effect */
.feature-card,
.story-card,
.step-card {
  transition: transform 0.3s;
  background-color: white;
  

}
.feature-card:hover,
.story-card:hover,
.step-card:hover {
  transform: translateY(-5px);
}

/* Feature Icons */
.feature-icon i {
  color: var(--primary);
  font-size: 2rem;
}

/* Subject Cards */
.subject-card {
  background: #fff;
  transition: transform 0.3s;
}
.subject-card:hover {
  transform: translateY(-5px);
}

/* Story Cards */
.story-card {
  background: #fff;
}

/* Pricing Cards */
.pricing-card {
  background: #fff;
}
.price-tag .price {
  font-size: 2.5rem;
  font-weight: 700;
}
.price-tag del {
  color: #6c757d;
  margin-left: 0.5rem;
}

/* Step Cards */
.step-card {
  background: #fff;
}
.step-card .step-number {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background-color: var(--primary);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 600;
}
@media (max-width: 576px) {
  .step-card .step-number {
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }
}

/* Testimonials */
.testimonial-card {
  background: #fff;
}

/* ─────────────────────────────────────────────────────────────────
   6. SPECIAL SECTIONS
───────────────────────────────────────────────────────────────── */
/* Final CTA */
.cta-section {
  background: linear-gradient(135deg, var(--bg1), var(--bg1));
  text-align: center;
  padding: 3rem 1rem;
}

/* Contact Section */
#contact {
  background: #f4f6f8;
  color: #333;
  padding: 5rem 0;
}
#contact .contact-card {
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  padding: 2rem;
}
#contact .contact-card h5 {
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}
#contact .contact-info .d-flex {
  align-items: start;
  margin-bottom: 1.5rem;
}
#contact .contact-icon {
  color: var(--primary);
  font-size: 1.75rem;
  margin-right: 1rem;
}
#contactForm .form-control,
#contactForm .form-select,
#contactForm textarea {
  background: #fff;
  border: 1px solid #ced4da;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  transition: border-color 0.3s;
}
#contactForm .form-control:focus,
#contactForm .form-select:focus,
#contactForm textarea:focus {
  border-color: var(--primary);
  box-shadow: none;
}
.send-message-btn {
  background: var(--primary);
  color: #fff;
  padding: 0.75rem;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: background 0.3s, transform 0.2s;
  border: none;
}
.send-message-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

@media (max-width: 991px) {
  #contact .contact-card {
    margin-bottom: 2rem;
  }
}

/* About Section Overflow Fix */
#about {
  overflow-x: hidden;
}
#about .img-fluid {
  width: 100%;
  max-width: 60%;
  height: auto;
}
@media (max-width: 767px) {
  #about .row {
    flex-direction: column-reverse;
  }
  #about .col-md-6 {
    text-align: center;
    margin-bottom: 1.5rem;
  }
  #about .img-fluid {
    max-width: 100% !important;
  }
}

/* Parent List */
.fa-ul {
  margin-left: 2rem;
}
.fa-li {
  position: absolute;
  left: -2rem;
}

/* Footer */
.footer {
  background: #222;
  color: #bbb;
  padding: 3rem 1rem;
}
.footer a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.3s;
}
.footer a:hover {
  color: var(--primary);
}

/* ─────────────────────────────────────────────────────────────────
   7. BUTTONS & UTILITIES
───────────────────────────────────────────────────────────────── */
/* Primary Button */
.btn-primary {
  background-color: var(--primary) !important;
  border: none !important;
}
.btn-primary:hover {
  background-color: var(--primary-hover) !important;
  border: none !important;
}

/* Color Utilities */
.font-color {
  color: var(--primary) !important;
}
.bg-purple {
  background-color: var(--primary) !important;
}
.text-purple {
  color: var(--primary) !important;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--primary);
  color: var(--text-light);
  width: 45px;
  height: 45px;
  display: none;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  z-index: 9999;
  cursor: pointer;
}
.back-to-top i {
  font-size: 1.2rem;
}

/* Logo in Navbar */
.logo-img {
  width: 40px;
  height: auto;
  object-fit: contain;
}


