/* Final reconstruction layer: keep the recovered design system, then stabilize it. */
:root {
  --alpha-blue: #3a77ff;
  --alpha-blue-dark: #1b3fa6;
  --alpha-ink: #2d323d;
  --alpha-muted: #777777;
}


@keyframes rgbFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes borderFlow {
  0% { border-image-source: linear-gradient(90deg, #fff, #3a77ff, #fff); }
  50% { border-image-source: linear-gradient(90deg, #3a77ff, #fff, #3a77ff); }
  100% { border-image-source: linear-gradient(90deg, #fff, #3a77ff, #fff); }
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: "Roboto", sans-serif;
  color: var(--alpha-ink);
  background: #fff;
  padding-top: 96px;
}

/* Navbar */
.premium-header {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  padding: 0 !important;
  background: rgba(255, 255, 255, 0.97) !important;
  border-bottom: 1px solid rgba(10, 42, 90, 0.08);
  box-shadow: 0 10px 30px rgba(10, 42, 90, 0.06) !important;
  backdrop-filter: blur(12px) !important;
}

section[class*="section"], 
section[class*="part"],
section {
  scroll-margin-top: 120px;
}

.premium-header.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 12px 34px rgba(10, 42, 90, 0.12) !important;
}

.alpha-navbar {
  min-height: 76px;
  padding: 10px 0 !important;
  background: transparent !important;
}

.alpha-navbar .navbar-brand {
  display: inline-flex;
  align-items: center;
  padding: 0 !important;
  margin: 0 !important;
}

html body header.premium-header a.navbar-brand img.header-logo,
html body header.premium-header a.navbar-brand img,
html body .premium-header .navbar-brand img {
  display: block !important;
  height: 52px !important;
  width: auto !important;
  max-width: 220px !important;
  margin: 0 !important;
  object-fit: contain !important;
}

.premium-nav,
.navbar-nav {
  gap: 10px !important;
  transform: none !important;
  padding-right: 0 !important;
  margin-left: auto !important;
}

.premium-nav .nav-link,
.navbar-nav .nav-link {
  color: #536173 !important;
  font-family: "Poppins", sans-serif;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1;
  padding: 12px 8px !important;
  letter-spacing: 0 !important;
  transition: color 0.2s ease;
}

.premium-nav .nav-link:hover,
.premium-nav .nav-link.active,
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #0a2a5a !important;
  transform: none !important;
}

.premium-nav .nav-link:after,
.navbar-nav .nav-link:after {
  bottom: 4px !important;
  height: 2px !important;
}

.glow-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px !important;
  margin-left: 12px;
  border-radius: 6px !important;
  color: #fff !important;
  font-family: "Poppins", sans-serif;
  font-size: 15px !important;
  font-weight: 600 !important;
  background: linear-gradient(135deg, #1e88e5 0%, #21c7c5 100%) !important;
  box-shadow: 0 8px 22px rgba(30, 136, 229, 0.22) !important;
  animation: none !important;
  text-decoration: none !important;
}

/* Hero */
.reconstructed_hero {
  position: relative !important;
  min-height: calc(100vh - 96px);
  padding: 100px 0 36px !important;
  background: #fff !important;
  background-image: none !important;
  border: 0 !important;
  outline: 0 !important;
  overflow: hidden !important;
}

.reconstructed_hero::before,
.reconstructed_hero::after {
  display: none !important;
  content: none !important;
}

.reconstructed_hero > .container {
  position: relative;
  z-index: 3;
}

.reconstructed_hero .banner_text {
  display: flex !important;
  align-items: center;
  min-height: calc(100vh - 176px);
  height: auto !important;
}

.reconstructed_hero .banner_text_iner {
  display: block !important;
  max-width: 660px;
  vertical-align: initial !important;
  position: relative;
  z-index: 5;
}

.reconstructed_hero .banner_text_iner > h5:not(.hero-eyebrow-fixed),
.reconstructed_hero .hero_highlights,
.reconstructed_hero .banner_text .btn_1 {
  display: none !important;
}

.reconstructed_hero .hero-eyebrow-fixed {
  display: block !important;
  margin: 0 0 24px;
  color: #586477;
  font-family: "Poppins", sans-serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: uppercase;
}

.reconstructed_hero .banner_text h1 {
  max-width: 660px;
  margin: 0 0 28px;
  padding-bottom: 4px;
  color: var(--alpha-ink);
  font-family: "Poppins", sans-serif;
  font-size: clamp(44px, 4.4vw, 72px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.reconstructed_hero .banner_text p {
  max-width: 600px;
  color: var(--alpha-muted);
  font-family: "Roboto", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.7;
}

.reconstructed_hero .hero-bg-tint {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #fff;
  pointer-events: none;
}

.reconstructed_hero .hero-illustration {
  position: absolute;
  z-index: 2;
  right: clamp(12px, 4vw, 86px);
  bottom: 160px;
  width: min(46vw, 680px);
  max-width: none;
  height: auto;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  pointer-events: none;
  user-select: none;
  opacity: 0.95;
}

.reconstructed_hero .carousel-control-prev,
.reconstructed_hero .carousel-control-next,
.reconstructed_hero .swiper-button-prev,
.reconstructed_hero .swiper-button-next,
.reconstructed_hero .owl-nav {
  display: none !important;
}

/* Typography and color consistency */
.section_tittle h2,
.big-title,
.premium_feature_text h2,
.premium_learning_text h2,
.course_title,
.hero_title {
  font-family: "Poppins", sans-serif;
  letter-spacing: 0;
}

.course_section,
.premium_feature_section,
.premium_learning_section,
.testimonial_section_3d,
.activities_section {
  isolation: isolate;
}

@media (max-width: 991px) {
  body {
    padding-top: 88px !important;
  }

  .alpha-navbar {
    min-height: 68px;
    display: flex !important;
    flex-flow: row nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
  }

  html body header.premium-header a.navbar-brand img.header-logo,
  html body header.premium-header a.navbar-brand img,
  html body .premium-header .navbar-brand img {
    height: 38px !important;
    width: auto !important;
    max-width: 140px !important;
    margin: 0 !important;
  }

  .alpha-navbar .navbar-collapse {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    padding: 12px 16px 18px;
    background: #fff;
    border-bottom: 1px solid rgba(10, 42, 90, 0.08);
    box-shadow: 0 18px 28px rgba(10, 42, 90, 0.1);
  }

  .premium-nav,
  .navbar-nav {
    align-items: stretch !important;
    gap: 2px !important;
  }

  .glow-btn {
    width: 100%;
    margin: 10px 0 0;
  }

  .reconstructed_hero {
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
    padding: 100px 0 60px !important;
  }

  .reconstructed_hero .banner_text {
    min-height: auto;
  }

  .reconstructed_hero .hero-illustration {
    position: relative;
    display: block;
    right: auto;
    bottom: auto;
    width: min(92vw, 520px);
    margin: 28px auto 0;
    opacity: 0.95;
  }

  .reconstructed_hero .hero-eyebrow-fixed {
    font-size: 16px;
  }

  .reconstructed_hero .banner_text h1 {
    font-size: 42px;
  }

  .reconstructed_hero .banner_text p {
    font-size: 18px;
  }

  .home-hero,
  .reconstructed_hero,
  .banner_part.reconstructed_hero {
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
    padding-top: 110px !important;
    padding-bottom: 60px !important;
  }

  .home-hero .banner_text {
    min-height: auto !important;
  }
}

@media (max-width: 576px) {
  .home-hero-actions {
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    margin-top: 24px !important;
    margin-bottom: 30px !important;
  }

  .home-primary-btn,
  .home-secondary-btn {
    width: 100% !important;
    text-align: center !important;
    min-height: 48px !important;
  }
}

/* Home page refinement */
.home-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--alpha-blue);
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--alpha-blue), #21c7c5);
}

.home-primary-btn,
.home-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  border-radius: 8px;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.home-primary-btn {
  color: #fff !important;
  background: linear-gradient(135deg, var(--alpha-blue), var(--alpha-blue-dark));
  box-shadow: 0 12px 28px rgba(58, 119, 255, 0.28);
}

.home-secondary-btn {
  color: var(--alpha-blue-dark) !important;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(58, 119, 255, 0.2);
  box-shadow: 0 8px 22px rgba(10, 42, 90, 0.08);
}

.home-primary-btn:hover,
.home-secondary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(58, 119, 255, 0.34);
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
  margin-bottom: 50px;
}

.home-hero {
  min-height: 960px;
  padding-top: 160px !important;
  padding-bottom: 80px !important;
}

.home-hero .banner_text {
  min-height: 590px;
}

.home-hero .hero-bg-tint {
  background:
    radial-gradient(circle at 84% 15%, rgba(58, 119, 255, 0.08), transparent 30%),
    linear-gradient(180deg, #fff 0%, #fbfdff 100%);
}

.home-hero .hero-illustration {
  right: clamp(4px, 2vw, 40px);
  bottom: 220px;
  width: min(44vw, 660px);
  filter: drop-shadow(0 28px 34px rgba(10, 42, 90, 0.12));
}

.home-stats-strip {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 1170px;
  margin-top: 60px;
  overflow: hidden;
  border: 1px solid rgba(58, 119, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 44px rgba(58, 119, 255, 0.14);
  backdrop-filter: blur(16px);
}

.home-stat {
  padding: 32px 36px;
  background: rgba(255, 255, 255, 0.72);
}

.home-stat strong,
.home-stat span {
  display: block;
  font-family: "Poppins", sans-serif;
}

.home-stat strong {
  color: var(--alpha-blue-dark);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.1;
}

.home-stat span {
  margin-top: 6px;
  color: #64748b;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.home-section-heading {
  max-width: 780px;
  margin: 0 auto 46px;
}

.home-section-heading .home-kicker {
  justify-content: center;
}

.home-section-heading h2 {
  color: #0e1f4d;
  font-family: "Poppins", sans-serif;
  font-size: clamp(34px, 3.4vw, 48px);
  font-weight: 800;
  line-height: 1.16;
  margin-bottom: 14px;
}

.home-section-heading p {
  color: #64748b;
  font-size: 17px;
  line-height: 1.7;
  margin: 0;
}

.home-feature-section {
  padding: 120px 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(58, 119, 255, 0.09), transparent 28%),
    linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%);
}

.home-intro-card,
.home-feature-card .single_feature_part,
.home-course-card,
.home-activity-slide,
.home-activity-card {
  border-radius: 18px !important;
}

.home-intro-card {
  min-height: 100%;
  padding: 34px 28px !important;
}

.home-intro-card h2 {
  color: #0e1f4d !important;
  font-family: "Poppins", sans-serif;
  font-size: 30px !important;
  line-height: 1.18;
  margin-bottom: 16px;
}

.home-feature-card .single_feature_part {
  min-height: 100%;
  padding: 34px 26px !important;
}

.home-feature-card h3 {
  color: #0e1f4d;
  font-family: "Poppins", sans-serif;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.25;
  margin: 12px 0;
}

.home-feature-card p,
.home-intro-card p {
  color: #59677c !important;
  line-height: 1.68 !important;
}

.home-about-section {
  padding: 140px 0;
  position: relative;
  overflow: hidden;
  background: 
    radial-gradient(circle at 10% 20%, rgba(58, 119, 255, 0.05), transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(33, 199, 197, 0.05), transparent 40%),
    #fff;
}

.premium_learning_section {
  padding: 140px 0;
  position: relative;
  background: #f8fbff;
  overflow: hidden;
}

.premium_learning_section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #fff, #3a77ff, #fff, #3a77ff);
  background-size: 300% 300%;
  animation: rgbFlow 4s linear infinite;
}

.premium_learning_img {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(10, 42, 90, 0.1);
  background: #fff;
  padding: 12px;
}

.premium_learning_img::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 30px;
  padding: 3px;
  background: linear-gradient(90deg, #fff, #3a77ff, #fff, #3a77ff);
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: rgbFlow 3s linear infinite;
}

.premium_learning_text h5 {
  color: #3a77ff;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.premium_learning_text h2 {
  font-size: 48px;
  font-weight: 900;
  color: #0e1f4d;
  line-height: 1.1;
  margin-bottom: 25px;
}

.premium_learning_text p {
  font-size: 18px;
  color: #59677c;
  line-height: 1.8;
  margin-bottom: 30px;
}

.premium_learning_text ul {
  margin-bottom: 40px;
}

.premium_learning_text ul li {
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.premium_learning_text ul li span {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #3a77ff, #fff);
  background-size: 200% 200%;
  animation: rgbFlow 3s ease infinite;
  color: #0e1f4d;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  box-shadow: 0 10px 20px rgba(58, 119, 255, 0.15);
}

.premium_learning_section .btn_1 {
  background: linear-gradient(90deg, #3a77ff, #fff, #3a77ff);
  background-size: 200% 200%;
  animation: rgbFlow 3s linear infinite;
  color: #0e1f4d !important;
  font-weight: 800;
  padding: 18px 45px;
  border-radius: 50px;
  border: none;
  box-shadow: 0 15px 30px rgba(58, 119, 255, 0.2);
  transition: all 0.3s ease;
}

.premium_learning_section .btn_1:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(58, 119, 255, 0.3);
}

.home-courses-section {
  padding: 140px 0;
  background:
    radial-gradient(circle at 10% 8%, rgba(58, 119, 255, 0.12), transparent 30%),
    linear-gradient(135deg, #f7faff 0%, #edf4ff 100%);
}

.home-course-card {
  height: calc(100% - 30px);
  margin-bottom: 30px;
}

.home-course-card .special_img {
  height: 230px;
  object-fit: cover;
}

.home-course-card .special_cource_text {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  padding-bottom: 20px;
}

.home-course-card h3 {
  color: #0e1f4d !important;
  font-family: "Poppins", sans-serif;
  font-size: 22px !important;
  line-height: 1.25;
}

.home-course-card p {
  color: #59677c !important;
  line-height: 1.65 !important;
}

.home-section-action {
  margin-top: 18px;
}

.home-activities-section {
  padding: 140px 0;
  background:
    radial-gradient(circle at 85% 0%, rgba(58, 119, 255, 0.1), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #eef5ff 100%);
}

.home-activity-slide {
  min-width: 380px;
  border: 1px solid rgba(58, 119, 255, 0.12);
  background: rgba(255, 255, 255, 0.86) !important;
  box-shadow: 0 16px 36px rgba(58, 119, 255, 0.14) !important;
}

.home-activity-slide .activity_img {
  height: 220px;
  object-fit: cover;
}

.activity_title,
.home-activity-card h4 {
  color: #0e1f4d;
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.28;
}

.activity_desc,
.home-activity-card p {
  color: #64748b;
  line-height: 1.65;
}

.home-activity-card {
  height: calc(100% - 20px);
  border: 1px solid rgba(58, 119, 255, 0.12);
}

.home-activity-card .activity_thumb {
  height: 210px;
  object-fit: cover;
}

.testimonial_section_3d {
  padding: 104px 0 !important;
}

.testimonial_section_3d .big-title {
  margin-bottom: 34px;
}

.threeD_card {
  border-radius: 18px !important;
}

@media (max-width: 1199px) {
  .home-hero .hero-illustration {
    width: min(48vw, 640px);
    right: 0;
  }

  .reconstructed_hero .banner_text h1 {
    font-size: clamp(50px, 5.2vw, 70px);
  }
}

@media (max-width: 991px) {
  .home-hero {
    min-height: auto;
  }

  .home-hero-actions {
    margin-top: 22px;
  }

  .home-stats-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 32px;
  }

  .home-feature-section,
  .home-about-section,
  .home-courses-section,
  .home-activities-section,
  .testimonial_section_3d {
    padding: 76px 0 !important;
  }

  .home-about-card {
    margin-top: 28px;
  }
}

@media (max-width: 575px) {
  .home-primary-btn,
  .home-secondary-btn {
    width: 100%;
  }

  .home-stats-strip {
    grid-template-columns: 1fr;
  }

  .home-course-card .special_img,
  .home-activity-slide .activity_img,
  .home-activity-card .activity_thumb {
    height: 190px;
  }

  .home-activity-slide {
    min-width: 300px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   DARK MODE TOGGLE BUTTON (Header)
   ═══════════════════════════════════════════════════════════════ */

.dark-mode-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 2px solid rgba(58, 119, 255, 0.15);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.3s ease;
  margin-left: 8px;
  margin-right: 4px;
  padding: 0;
}

.dark-mode-toggle:hover {
  border-color: var(--alpha-blue);
  transform: rotate(20deg);
  box-shadow: 0 4px 16px rgba(58, 119, 255, 0.15);
}

.dark-mode-toggle__icon {
  font-size: 18px;
  line-height: 1;
}

/* ═══════════════════════════════════════════════════════════════
   GLOBAL DARK MODE — Applied via html.dark-mode
   ═══════════════════════════════════════════════════════════════ */

html.dark-mode {
  color-scheme: dark;
}

html.dark-mode body {
  background: #0c0f17;
  color: #d0d5df;
}

/* ── Header ── */
html.dark-mode .premium-header {
  background: rgba(14, 17, 24, 0.97) !important;
  border-bottom: 1px solid rgba(88, 157, 240, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

html.dark-mode .premium-header.scrolled {
  background: rgba(14, 17, 24, 0.98) !important;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.4) !important;
}

html.dark-mode .header-logo,
html.dark-mode .premium-header .navbar-brand img {
  filter: brightness(1.6) saturate(0.9);
}

html.dark-mode .premium-nav .nav-link,
html.dark-mode .navbar-nav .nav-link {
  color: #99a3b6 !important;
}

html.dark-mode .premium-nav .nav-link:hover,
html.dark-mode .premium-nav .nav-link.active,
html.dark-mode .navbar-nav .nav-link:hover,
html.dark-mode .navbar-nav .nav-link.active {
  color: #e8ecf4 !important;
}

html.dark-mode .glow-btn {
  background: linear-gradient(135deg, #3a77ff 0%, #589df0 100%) !important;
  box-shadow: 0 8px 22px rgba(58, 119, 255, 0.25) !important;
}

html.dark-mode .dark-mode-toggle {
  background: rgba(26, 28, 36, 0.8);
  border-color: rgba(88, 157, 240, 0.15);
}

html.dark-mode .dark-mode-toggle:hover {
  border-color: #589df0;
}

/* Mobile hamburger */
html.dark-mode .alpha-navbar .navbar-collapse {
  background: #0e1118;
  border-bottom-color: rgba(88, 157, 240, 0.08);
  box-shadow: 0 18px 28px rgba(0, 0, 0, 0.4);
}

html.dark-mode .navbar-toggler-icon {
  filter: invert(1);
}

/* ── Hero ── */
html.dark-mode .reconstructed_hero {
  background: #0c0f17 !important;
}

html.dark-mode .reconstructed_hero .hero-bg-tint {
  background: #0c0f17 !important;
}

html.dark-mode .home-hero .hero-bg-tint {
  background:
    radial-gradient(circle at 84% 15%, rgba(58, 119, 255, 0.06), transparent 30%),
    linear-gradient(180deg, #0c0f17 0%, #111520 100%) !important;
}

html.dark-mode .reconstructed_hero .hero-eyebrow-fixed {
  color: #8893a8;
}

html.dark-mode .reconstructed_hero .banner_text h1 {
  color: #e8ecf4;
}

html.dark-mode .reconstructed_hero .banner_text p {
  color: #8893a8;
}

html.dark-mode .home-secondary-btn {
  color: #c0d0f0 !important;
  background: rgba(26, 28, 36, 0.8);
  border-color: rgba(88, 157, 240, 0.2);
}

html.dark-mode .home-stats-strip {
  background: rgba(20, 22, 30, 0.82);
  border-color: rgba(88, 157, 240, 0.1);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
}

html.dark-mode .home-stat {
  background: rgba(20, 22, 30, 0.72);
}

html.dark-mode .home-stat strong {
  color: #589df0;
}

html.dark-mode .home-stat span {
  color: #8893a8;
}

/* ── Feature Section ── */
html.dark-mode .home-feature-section {
  background:
    radial-gradient(circle at 10% 0%, rgba(58, 119, 255, 0.04), transparent 28%),
    linear-gradient(135deg, #0e1118 0%, #111520 100%) !important;
}

html.dark-mode .home-intro-card {
  background: #1a1c24 !important;
}

html.dark-mode .home-intro-card h2 {
  color: #e8ecf4 !important;
}

html.dark-mode .home-intro-card p,
html.dark-mode .home-feature-card p {
  color: #8893a8 !important;
}

html.dark-mode .home-feature-card .single_feature_part {
  background: #1a1c24 !important;
  border-color: rgba(88, 157, 240, 0.06);
}

html.dark-mode .home-feature-card h3 {
  color: #e8ecf4;
}

/* ── GIF / Icon images in dark mode ── */
html.dark-mode .home-feature-card img,
html.dark-mode .premium_feature_card .pf_icon img,
html.dark-mode .iconContainer img,
html.dark-mode .single_feature_part img {
  filter: invert(1) hue-rotate(180deg) brightness(1.3);
}

html.dark-mode .premium_learning_img img {
  filter: brightness(0.82) saturate(0.9);
  border-radius: 18px;
}

/* ── Section Headings ── */
html.dark-mode .home-section-heading h2 {
  color: #e8ecf4;
}

html.dark-mode .home-section-heading p {
  color: #8893a8;
}

html.dark-mode .home-kicker {
  color: #589df0;
}

/* ── Learning / About Section ── */
html.dark-mode .premium_learning_section {
  background: #0e1118 !important;
}

html.dark-mode .premium_learning_section::before {
  background: linear-gradient(90deg, #0e1118, #3a77ff, #0e1118, #3a77ff) !important;
  background-size: 300% 300%;
}

html.dark-mode .premium_learning_section .container,
html.dark-mode .premium_learning_section .row,
html.dark-mode .premium_learning_section [class*="col-"] {
  background: transparent !important;
  border-color: transparent !important;
}

html.dark-mode .premium_learning_img {
  background: #14161e;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
}

html.dark-mode .premium_learning_img::after {
  background: linear-gradient(90deg, #14161e, #3a77ff, #14161e, #3a77ff) !important;
  background-size: 300% 300%;
}

html.dark-mode .premium_learning_text {
  background: transparent !important;
  border-color: transparent !important;
}

html.dark-mode .premium_learning_text h5 {
  color: #589df0;
}

html.dark-mode .premium_learning_text h2 {
  color: #e8ecf4;
}

html.dark-mode .premium_learning_text p {
  color: #8893a8;
}

html.dark-mode .premium_learning_text ul li {
  color: #c0c8d8;
}

html.dark-mode .premium_learning_text ul li span {
  background: rgba(58, 119, 255, 0.12) !important;
  color: #589df0 !important;
  box-shadow: 0 6px 18px rgba(58, 119, 255, 0.1);
  animation: none;
}

html.dark-mode .premium_learning_section .btn_1 {
  color: #e8ecf4 !important;
  background: linear-gradient(90deg, #3a77ff, #1a1c24, #3a77ff) !important;
  background-size: 200% 200%;
  animation: rgbFlow 3s linear infinite;
}

/* ── Courses ── */
html.dark-mode .home-courses-section {
  background:
    radial-gradient(circle at 10% 8%, rgba(58, 119, 255, 0.04), transparent 30%),
    linear-gradient(135deg, #0e1118 0%, #111520 100%) !important;
}

html.dark-mode .home-course-card {
  background: #1a1c24 !important;
  border-color: rgba(88, 157, 240, 0.06) !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25) !important;
}

html.dark-mode .home-course-card h3 {
  color: #e8ecf4 !important;
}

html.dark-mode .home-course-card p {
  color: #8893a8 !important;
}

html.dark-mode .home-course-card .special_cource_text {
  background: #1a1c24;
}

html.dark-mode .home-course-card .btn_4 {
  background: rgba(88, 157, 240, 0.12) !important;
  color: #589df0 !important;
}

/* ── Activities ── */
html.dark-mode .home-activities-section {
  background:
    radial-gradient(circle at 85% 0%, rgba(58, 119, 255, 0.04), transparent 30%),
    linear-gradient(180deg, #0e1118 0%, #111520 100%) !important;
}

html.dark-mode .home-activity-slide {
  background: rgba(26, 28, 36, 0.86) !important;
  border-color: rgba(88, 157, 240, 0.06) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3) !important;
}

html.dark-mode .activity_title,
html.dark-mode .home-activity-card h4 {
  color: #e8ecf4;
}

html.dark-mode .activity_desc,
html.dark-mode .home-activity-card p {
  color: #8893a8;
}

html.dark-mode .home-activity-card {
  background: #1a1c24;
  border-color: rgba(88, 157, 240, 0.06);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

/* ── About Page — Breadcrumb ── */
html.dark-mode .premium_breadcrumb {
  background: linear-gradient(135deg, #111520, #0e1118) !important;
}

html.dark-mode .breadcrumb_content h2 {
  color: #e8ecf4 !important;
}

html.dark-mode .breadcrumb_content p {
  color: #8893a8 !important;
}

/* ── About Page — Feature Cards ── */
html.dark-mode .premium_feature_section {
  background: #0e1118 !important;
}

html.dark-mode .premium_feature_text {
  background: #1a1c24 !important;
}

html.dark-mode .premium_feature_text h2 {
  color: #e8ecf4 !important;
}

html.dark-mode .premium_feature_text p {
  color: #8893a8 !important;
}

html.dark-mode .premium_feature_card {
  background: #1a1c24 !important;
  border-color: rgba(88, 157, 240, 0.06) !important;
}

html.dark-mode .premium_feature_card h4 {
  color: #e8ecf4 !important;
}

html.dark-mode .premium_feature_card p {
  color: #8893a8 !important;
}

/* ── Courses Page ── */
html.dark-mode .courses_page_hero {
  background: linear-gradient(135deg, #111520, #0e1118) !important;
}

html.dark-mode .hero_title {
  color: #e8ecf4 !important;
}

html.dark-mode .hero_subtitle {
  color: #8893a8 !important;
}

html.dark-mode .course_section {
  background: #0c0f17 !important;
}

html.dark-mode .course_section:nth-child(even) {
  background: #0e1118 !important;
}

html.dark-mode .course_title {
  color: #e8ecf4 !important;
}

html.dark-mode .course_desc {
  color: #8893a8 !important;
}

html.dark-mode .sub_heading {
  color: #c0c8d8 !important;
}

html.dark-mode .teaching_list li {
  color: #8893a8 !important;
}

html.dark-mode .course_img_wrap {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

html.dark-mode .duration_card {
  background: #1a1c24 !important;
  border-color: rgba(88, 157, 240, 0.08) !important;
}

html.dark-mode .duration_card h5 {
  color: #589df0 !important;
}

html.dark-mode .duration_card li {
  color: #8893a8 !important;
}

html.dark-mode .enroll_btn {
  background: linear-gradient(135deg, #3a77ff, #589df0) !important;
  color: #fff !important;
}

/* ── Activities Page ── */
html.dark-mode .activities_section {
  background: #0c0f17 !important;
}

html.dark-mode .activities_title {
  color: #e8ecf4 !important;
}

html.dark-mode .activities_subtitle {
  color: #8893a8 !important;
}

html.dark-mode .tab_btn {
  background: #1a1c24 !important;
  color: #8893a8 !important;
  border-color: rgba(88, 157, 240, 0.08) !important;
}

html.dark-mode .tab_btn.active {
  background: linear-gradient(135deg, #3a77ff, #589df0) !important;
  color: #fff !important;
}

html.dark-mode .activity_video {
  border-color: rgba(88, 157, 240, 0.1);
}

/* ── Login / Register ── */
html.dark-mode .registration_page_wrapper {
  background: linear-gradient(135deg, #0c0f17, #111520) !important;
}

html.dark-mode .glass-form {
  background: rgba(26, 28, 36, 0.85) !important;
  border-color: rgba(88, 157, 240, 0.1) !important;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4) !important;
}

html.dark-mode .form-title {
  color: #e8ecf4 !important;
}

html.dark-mode .input-field {
  background: #14161e !important;
  border-color: rgba(88, 157, 240, 0.1) !important;
  color: #d0d5df !important;
}

html.dark-mode .input-field::placeholder {
  color: #555 !important;
}

html.dark-mode .input-group i {
  color: #589df0 !important;
}

html.dark-mode .submit-btn {
  background: linear-gradient(135deg, #3a77ff, #589df0) !important;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER — Base Light Mode Styles
   ═══════════════════════════════════════════════════════════════ */

.premium_footer {
  background: #0e1f4d;
  padding: 80px 0 0;
  color: #b0bdd0;
}

.footer_block {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 20px 0;
}

.footer_logo {
  display: block;
  width: 180px;
  height: auto;
  margin-bottom: 20px;
  filter: brightness(1.8) saturate(0.8);
}

.footer_title {
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
}

.footer_title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #3a77ff, #589df0);
}

.footer_about {
  color: #8b9cc0;
  font-size: 15px;
  line-height: 1.75;
  margin: 0;
}

.footer_links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer_links li {
  margin-bottom: 12px;
}

.footer_links a {
  color: #8b9cc0 !important;
  font-size: 15px;
  text-decoration: none !important;
  transition: color 0.25s ease, padding-left 0.25s ease;
  display: inline-block;
}

.footer_links a:hover {
  color: #fff !important;
  padding-left: 6px;
}

.footer_newsletter {
  display: flex;
  gap: 0;
  margin-top: 16px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer_newsletter input {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  border: none;
  outline: none;
  background: rgba(255, 255, 255, 0.06);
  color: #d0d5df;
  font-size: 14px;
  font-family: "Roboto", sans-serif;
}

.footer_newsletter input::placeholder {
  color: #6b7a9a;
}

.footer_newsletter button {
  padding: 14px 24px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #3a77ff, #589df0);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: filter 0.2s ease;
}

.footer_newsletter button:hover {
  filter: brightness(1.15);
}

.footer_bottom_icons {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 40px;
  padding-bottom: 28px;
  position: static !important;
  bottom: auto !important;
  transform: none !important;
  width: 100% !important;
  left: auto !important;
  right: auto !important;
}

.footer_bottom_icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.footer_bottom_icons a:hover {
  background: rgba(58, 119, 255, 0.18);
  border-color: rgba(88, 157, 240, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(58, 119, 255, 0.25);
}

.footer_bottom_icons a img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: brightness(1.4);
  transition: filter 0.25s ease;
}

.footer_bottom_icons a:hover img {
  filter: brightness(1.8);
}

.footer_divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 0;
}

.footer_bottom {
  padding: 20px 0;
  text-align: center;
}

.footer_bottom p {
  color: #5a6b8a;
  font-size: 14px;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER — Dark Mode Overrides
   ═══════════════════════════════════════════════════════════════ */

html.dark-mode .premium_footer {
  background: #060810 !important;
  border-top: 1px solid rgba(88, 157, 240, 0.06);
}

html.dark-mode .footer_block {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

html.dark-mode .footer_title {
  color: #e0e4ec !important;
}

html.dark-mode .footer_about {
  color: #6b7a9a !important;
}

html.dark-mode .footer_links a {
  color: #6b7a9a !important;
}

html.dark-mode .footer_links a:hover {
  color: #589df0 !important;
}

html.dark-mode .footer_newsletter {
  border-color: rgba(88, 157, 240, 0.1);
}

html.dark-mode .footer_newsletter input {
  background: rgba(255, 255, 255, 0.04) !important;
  color: #d0d5df !important;
}

html.dark-mode .footer_newsletter input::placeholder {
  color: #4a5568 !important;
}

html.dark-mode .footer_newsletter button {
  background: linear-gradient(135deg, #3a77ff, #589df0) !important;
}

html.dark-mode .footer_bottom_icons a {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(88, 157, 240, 0.12);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

html.dark-mode .footer_bottom_icons a:hover {
  background: rgba(58, 119, 255, 0.15);
  border-color: rgba(88, 157, 240, 0.35);
  box-shadow: 0 6px 22px rgba(58, 119, 255, 0.3);
}

html.dark-mode .footer_bottom_icons a img {
  filter: brightness(1.6);
}

html.dark-mode .footer_divider {
  border-color: rgba(88, 157, 240, 0.06) !important;
}

html.dark-mode .footer_bottom p {
  color: #4a5568 !important;
}

html.dark-mode .footer_logo {
  filter: brightness(1.6) saturate(0.8);
}

/* ── Generic helpers ── */
html.dark-mode .btn_1 {
  color: #e8ecf4 !important;
}

html.dark-mode section {
  border-color: rgba(88, 157, 240, 0.06);
}

/* ── Smooth transitions ── */
body,
.premium-header,
section,
.t2-section,
.premium_footer,
.registration_page_wrapper,
.glass-form {
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
