/* Enhanced Professional Theme */
:root {
  --navy: #0a1124;
  --navy-dark: #070d1a;
  --emerald: #1abc9c;
  --emerald-dark: #159c82;
  --white: #f8fafc;
  --offwhite: #eaf0fa;
  --gray: #d1d5db;
  --dark: #181c2f;
  --text: #eaf0fa;
  --shadow: 0 8px 32px rgba(10,25,49,0.18);
  --glass: rgba(10,17,36,0.7);
  --accent: #fbbf24;
}

body {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: var(--text);
  font-family: 'Poppins', 'Inter', Arial, sans-serif;
  margin: 0;
  min-height: 100vh;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Loader */
.loader-bg {
  position: fixed; inset: 0; background: var(--navy-dark); z-index: 9999; display: flex; align-items: center; justify-content: center;
}
.spinner {
  border: 6px solid var(--gray);
  border-top: 6px solid var(--emerald);
  border-radius: 50%;
  width: 48px; height: 48px;
  animation: spin 1s linear infinite;
}
@keyframes spin { 100% { transform: rotate(360deg); } }

/* Navbar */
.navbar {
  background: rgba(24,28,47,0.85);
  box-shadow: var(--shadow);
  padding: 0.7rem 0;
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(8px);
}
.nav-flex { display: flex; align-items: center; justify-content: space-between; }
.logo {
  font-size: 2.1rem; font-weight: 800; color: var(--emerald);
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(26,188,156,0.08);
  display: flex;
  align-items: center;
}
.logo-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--emerald);
  box-shadow: 0 2px 8px rgba(10,25,49,0.10);
  margin-right: 0.7rem;
  background: #fff;
}
.logo span { color: var(--white); }
.nav-links { list-style: none; display: flex; gap: 2.2rem; margin: 0; padding: 0; }
.nav-links a {
  color: var(--offwhite); text-decoration: none; font-weight: 500; font-size: 1.13rem; transition: color 0.2s, border-bottom 0.2s;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}
.nav-links a.active, .nav-links a:hover { color: var(--emerald); border-bottom: 2px solid var(--emerald); }

/* Hero */
.hero {
  background: linear-gradient(120deg, var(--navy-dark) 60%, var(--emerald-dark) 100%);
  padding: 4.5rem 0 2.5rem 0;
  min-height: 60vh;
  display: flex; align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -80px; left: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, var(--emerald) 0%, transparent 70%);
  opacity: 0.12;
  z-index: 0;
}
.hero-content { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; position: relative; z-index: 1; }
.hero-text { flex: 1 1 350px; }
.hero-title {
  font-size: 2.8rem; font-weight: 800; margin: 0 0 1.1rem 0; color: var(--white);
  letter-spacing: 1px;
  text-shadow: 0 2px 12px rgba(10,25,49,0.12);
}
.hero-title span { color: var(--emerald); }
.hero-subtitle { font-size: 1.25rem; margin-bottom: 2.2rem; color: var(--offwhite); }
.hero-cta {
  display: inline-block; background: linear-gradient(90deg, var(--emerald) 60%, var(--accent) 100%);
  color: var(--navy-dark); font-weight: 700; padding: 0.85rem 2.2rem; border-radius: 2rem; text-decoration: none; font-size: 1.13rem; box-shadow: var(--shadow); transition: background 0.2s, color 0.2s, transform 0.2s;
  border: none;
}
.hero-cta:hover {
  background: linear-gradient(90deg, var(--accent) 60%, var(--emerald) 100%);
  color: var(--emerald-dark);
  transform: translateY(-2px) scale(1.04);
}
.hero-img-anim {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}
.hero-img {
  width: 440px;
  max-width: 95vw;
  min-width: 260px;
  border-radius: 2.2rem;
  box-shadow: 0 16px 64px 0 rgba(26,188,156,0.18), 0 2px 24px 0 rgba(10,25,49,0.10);
  border: 2.5px solid rgba(26,188,156,0.18);
  animation: heroFadeIn 1.2s cubic-bezier(.4,0,.2,1);
  background: var(--glass);
  backdrop-filter: blur(4px);
  transition: box-shadow 0.3s, border 0.3s, transform 0.2s;
}
.hero-img:hover {
  box-shadow: 0 24px 80px 0 rgba(26,188,156,0.22), 0 4px 32px 0 rgba(10,25,49,0.13);
  border: 2.5px solid var(--emerald);
  transform: scale(1.03) rotate(-1deg);
}
@keyframes heroFadeIn { from { opacity: 0; transform: translateY(40px);} to { opacity: 1; transform: none; } }

/* Courses */
.courses { padding: 3.5rem 0 2.5rem 0; }
.section-title { text-align: center; font-size: 2.1rem; font-weight: 800; margin-bottom: 2.2rem; color: var(--emerald); letter-spacing: 1px; }
.course-grid {
  display: flex; flex-wrap: wrap; gap: 2.2rem; justify-content: center;
}
.course-card {
  background: linear-gradient(120deg, var(--glass) 60%, rgba(26,188,156,0.08) 100%);
  border-radius: 1.35rem; box-shadow: var(--shadow);
  padding: 2.2rem 1.7rem 1.7rem 1.7rem; width: 330px; max-width: 100%; display: flex; flex-direction: column; align-items: center;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  animation: cardIn 1s cubic-bezier(.4,0,.2,1);
  border: 1.5px solid rgba(26,188,156,0.13);
  backdrop-filter: blur(8px);
}
@keyframes cardIn { from { opacity: 0; transform: translateY(40px);} to { opacity: 1; transform: none; } }
.course-card:hover {
  transform: translateY(-12px) scale(1.045) rotate(-1deg);
  box-shadow: 0 16px 48px rgba(26,188,156,0.22);
  background: linear-gradient(120deg, rgba(26,188,156,0.13) 60%, var(--glass) 100%);
}
.course-thumb {
  width: 100%; height: 170px; object-fit: cover; border-radius: 1.1rem; margin-bottom: 1.35rem; box-shadow: 0 4px 18px rgba(10,25,49,0.10);
}
.course-card h3 { font-size: 1.35rem; color: var(--emerald); margin: 0 0 0.6rem 0; font-weight: 700; }
.course-pricing { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1.35rem; }
.price { font-size: 1.35rem; font-weight: 800; color: var(--emerald); }
.old-price { text-decoration: line-through; color: #aaa; font-size: 1.05rem; }
.discount { background: var(--accent); color: var(--navy-dark); font-size: 0.97rem; border-radius: 1rem; padding: 0.22rem 0.8rem; font-weight: 700; margin-left: 0.6rem; letter-spacing: 0.5px; }
.pay-btn {
  background: linear-gradient(90deg, var(--emerald) 60%, var(--accent) 100%);
  color: var(--navy-dark); font-weight: 700; padding: 0.8rem 2.1rem; border-radius: 2rem; text-decoration: none; font-size: 1.09rem; box-shadow: var(--shadow); transition: background 0.2s, color 0.2s, transform 0.2s;
  border: none;
}
.pay-btn:hover { background: linear-gradient(90deg, var(--accent) 60%, var(--emerald) 100%); color: var(--emerald-dark); transform: translateY(-2px) scale(1.04); }

/* Trusted By */
.trusted { background: linear-gradient(90deg, var(--emerald) 80%, var(--accent) 100%); color: var(--navy-dark); padding: 2.2rem 0; }
.trusted-flex { display: flex; align-items: center; justify-content: center; gap: 2.2rem; flex-wrap: wrap; }
.trusted-counter {
  font-size: 2.7rem; font-weight: 800; background: var(--white); color: var(--emerald); border-radius: 1.1rem; padding: 0.6rem 1.7rem; box-shadow: var(--shadow); min-width: 120px; text-align: center;
  animation: counterPop 1.2s cubic-bezier(.4,0,.2,1);
}
@keyframes counterPop { from { opacity: 0; transform: scale(0.7);} to { opacity: 1; transform: none; } }
.trusted-text h3 { margin: 0; font-size: 1.35rem; font-weight: 700; }

/* Testimonials */
.testimonials { padding: 3.5rem 0 2.5rem 0; background: var(--navy-dark); }
.testimonial-slider { position: relative; min-height: 140px; }
.testimonial {
  display: none; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  font-size: 1.13rem; color: var(--white); background: linear-gradient(120deg, var(--glass) 60%, rgba(26,188,156,0.08) 100%); border-radius: 1.1rem; padding: 2.2rem 1.7rem; box-shadow: var(--shadow);
  animation: testimonialIn 0.8s cubic-bezier(.4,0,.2,1);
  border: 1.5px solid rgba(26,188,156,0.13);
  backdrop-filter: blur(8px);
}
.testimonial.active { display: flex; }
.testimonial p { font-style: italic; margin-bottom: 1.1rem; }
.testimonial span { color: var(--emerald); font-weight: 700; }
.testimonial-controls { display: flex; justify-content: center; gap: 1.1rem; margin-top: 1.7rem; }
.testimonial-controls button {
  background: linear-gradient(90deg, var(--emerald) 60%, var(--accent) 100%);
  color: var(--navy-dark); border: none; border-radius: 50%; width: 2.7rem; height: 2.7rem; font-size: 1.35rem; cursor: pointer; transition: background 0.2s, color 0.2s, transform 0.2s;
}
.testimonial-controls button:hover { background: linear-gradient(90deg, var(--accent) 60%, var(--emerald) 100%); color: var(--emerald-dark); transform: scale(1.08); }
@keyframes testimonialIn { from { opacity: 0; transform: translateY(30px);} to { opacity: 1; transform: none; } }

/* CTA */
.cta { background: linear-gradient(90deg, var(--emerald) 80%, var(--accent) 100%); color: var(--navy-dark); padding: 2.7rem 0; text-align: center; }
.cta-flex { display: flex; flex-direction: column; align-items: center; gap: 1.7rem; }
.cta-btn {
  background: var(--navy-dark); color: var(--emerald); font-weight: 800; padding: 1rem 2.7rem; border-radius: 2rem; text-decoration: none; font-size: 1.23rem; box-shadow: var(--shadow); transition: background 0.2s, color 0.2s, transform 0.2s;
  border: none;
}
.cta-btn:hover { background: var(--white); color: var(--emerald-dark); transform: translateY(-2px) scale(1.04); }

/* Footer */
.footer { background: rgba(24,28,47,0.95); color: var(--offwhite); padding: 2.2rem 0 1.1rem 0; box-shadow: 0 -2px 16px rgba(10,25,49,0.10); }
.footer-flex { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.7rem; }
.footer-logo { font-size: 1.6rem; font-weight: 800; color: var(--emerald); letter-spacing: 1px; }
.footer-logo span { color: var(--white); }
.footer-social { display: flex; gap: 1.3rem; }
.footer-social a img { width: 30px; height: 30px; filter: grayscale(1) brightness(1.2); transition: filter 0.2s, transform 0.2s; }
.footer-social a:hover img { filter: none; transform: scale(1.12); }
.footer-copy { font-size: 1.05rem; color: #b0b8c9; margin-top: 0.6rem; }

/* Responsive */
@media (max-width: 900px) {
  .hero-content { flex-direction: column; gap: 2.2rem; }
  .course-grid { flex-direction: column; align-items: center; }
  .footer-flex { flex-direction: column; align-items: flex-start; }
  .navbar .container.nav-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }
  .nav-links {
    width: 100%;
    justify-content: flex-start;
    padding-left: 0.2rem;
  }
  .logo {
    margin-bottom: 0.3rem;
  }
  .hero-img {
    width: 320px;
    min-width: 180px;
    border-radius: 1.5rem;
  }
}
@media (max-width: 600px) {
  .hero-title { font-size: 1.6rem; }
  .container {
    width: 100%;
    padding-left: 5vw;
    padding-right: 5vw;
    box-sizing: border-box;
  }
  section, .footer, .navbar {
    padding-left: 0;
    padding-right: 0;
  }
  .hero {
    padding: 2.2rem 0 1.2rem 0;
  }
  .hero-content {
    padding-left: 0;
    padding-right: 0;
  }
  .course-card {
    padding: 1.1rem 0.7rem;
    width: 100%;
    min-width: 0;
    margin-left: 0;
    margin-right: 0;
    max-width: 100vw;
  }
  .course-thumb {
    height: 120px;
    border-radius: 0.7rem;
  }
  .trusted-counter {
    font-size: 1.3rem;
    padding: 0.3rem 0.6rem;
  }
  .footer-logo {
    font-size: 1rem;
  }
  .testimonial {
    padding: 1.1rem 0.7rem;
    font-size: 1rem;
  }
  .cta-flex {
    padding-left: 0;
    padding-right: 0;
  }
  .cta-btn {
    font-size: 1.05rem;
    padding: 0.7rem 1.2rem;
  }
  .section-title {
    font-size: 1.2rem;
  }
  .nav-links {
    gap: 1.1rem;
    flex-wrap: wrap;
    font-size: 1rem;
  }
  .spinner {
    width: 36px; height: 36px;
  }
  .logo-circle {
    width: 32px;
    height: 32px;
    margin-right: 0.5rem;
  }
}
/* Extra small devices */
@media (max-width: 400px) {
  .container {
    padding-left: 2vw;
    padding-right: 2vw;
  }
  .hero-title {
    font-size: 1.1rem;
  }
  .course-card, .testimonial {
    padding-left: 0.3rem;
    padding-right: 0.3rem;
  }
  .nav-links {
    font-size: 0.95rem;
  }
}
.bundle-pay-btn-wrap {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}
.pay-btn.bundle {
  font-size: 1.18rem;
  padding: 1.1rem 2.7rem;
  background: linear-gradient(90deg, var(--emerald) 60%, var(--accent) 100%);
  color: var(--navy-dark);
  font-weight: 800;
  border-radius: 2.2rem;
  box-shadow: 0 8px 32px rgba(10,25,49,0.18);
  border: none;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.pay-btn.bundle:hover {
  background: linear-gradient(90deg, var(--accent) 60%, var(--emerald) 100%);
  color: var(--emerald-dark);
  transform: translateY(-2px) scale(1.04);
}
@media (max-width: 600px) {
  .bundle-pay-btn-wrap {
    margin-top: 1.2rem;
    margin-bottom: 1.2rem;
  }
  .pay-btn.bundle {
    font-size: 1.05rem;
    padding: 0.8rem 1.2rem;
  }
} 
.bundle-card {
  background: linear-gradient(120deg, var(--glass) 60%, rgba(26,188,156,0.08) 100%);
  border-radius: 1.7rem;
  box-shadow: 0 16px 48px rgba(26,188,156,0.13), 0 2px 24px rgba(10,25,49,0.10);
  border: 2px solid rgba(26,188,156,0.13);
  backdrop-filter: blur(8px);
  padding: 2.5rem 2.5rem 2rem 2.5rem;
  margin: 2.5rem auto 2.5rem auto;
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.bundle-courses-row {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 1.5rem;
  width: 100%;
  flex-wrap: nowrap;
}
.bundle-course {
  background: rgba(255,255,255,0.04);
  border-radius: 1.1rem;
  box-shadow: 0 4px 18px rgba(10,25,49,0.10);
  padding: 1.2rem 1.1rem 1.1rem 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 200px;
  max-width: 260px;
  flex: 1 1 0;
}
.bundle-course h3 {
  font-size: 1.15rem;
  color: var(--emerald);
  margin: 0.7rem 0 0.5rem 0;
  font-weight: 700;
  text-align: center;
}
.bundle-plus {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent);
  padding: 0 0.5rem;
  user-select: none;
}
.bundle-pay-btn-wrap {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
  margin-bottom: 0.5rem;
  width: 100%;
}
@media (max-width: 900px) {
  .bundle-card {
    padding: 1.2rem 0.5rem 1.2rem 0.5rem;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
  }
  .bundle-courses-row {
    flex-direction: column;
    gap: 0.7rem;
    align-items: center;
  }
  .bundle-plus {
    font-size: 2rem;
    padding: 0.2rem 0;
  }
  .bundle-course {
    min-width: 0;
    max-width: 100vw;
    width: 100%;
    padding: 1rem 0.5rem 1rem 0.5rem;
    box-sizing: border-box;
  }
  .bundle-pay-btn-wrap {
    margin-top: 1.2rem;
    margin-bottom: 2.5rem;
    width: 100%;
  }
  .pay-btn.bundle {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: block;
    font-size: 1.05rem;
    padding: 0.8rem 0.5rem;
  }
  .course-thumb {
    width: 100%;
    max-width: 320px;
    height: auto;
    margin: 0 auto;
    display: block;
  }
  .bundle-course h3 {
    font-size: 1.05rem;
  }
  .course-info {
    font-size: 0.93rem;
  }
}
@media (max-width: 500px) {
  .bundle-card {
    padding: 0.7rem 0.1rem 0.7rem 0.1rem;
    margin-left: 0.1rem;
    margin-right: 0.1rem;
  }
  .pay-btn.bundle {
    font-size: 0.98rem;
    padding: 0.7rem 0.2rem;
    max-width: 98vw;
  }
  .bundle-course h3 {
    font-size: 0.98rem;
  }
  .course-info {
    font-size: 0.89rem;
  }
} 
.course-info {
  font-size: 0.98rem;
  color: #b0b8c9;
  margin: 0.3rem 0 0 0;
  text-align: center;
  font-weight: 400;
  line-height: 1.4;
} 
.bundle-total-row {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 1.2rem;
  margin: 2rem 0 0.5rem 0;
  font-size: 1.35rem;
}
.bundle-total-old {
  color: #b0b8c9;
  text-decoration: line-through;
  font-size: 1.25rem;
  font-weight: 500;
}
.bundle-total-now {
  color: var(--emerald);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: 1px;
}
@media (max-width: 900px) {
  .bundle-total-row {
    font-size: 1.1rem;
    gap: 0.7rem;
    margin: 1.2rem 0 0.3rem 0;
  }
  .bundle-total-old {
    font-size: 1.05rem;
  }
  .bundle-total-now {
    font-size: 1.15rem;
  }
} 