/* =============================================================
   PYTHON MODERN — Phase 1 Design System
   File: css/python_modern.css
   Scope: Hero + Hero statistics row (python.php)
   Load AFTER style.css so these rules win the cascade.
   All selectors are scoped with a "py-" prefix / "py-" classes
   so nothing outside the redesigned sections is touched.
   ============================================================= */

/* ============ 1. DESIGN TOKENS ============ */
:root {
  /* Brand gradient family */
  --py-orange-50:  #FFF4EC;
  --py-orange-100: #FFE3CE;
  --py-orange-400: #FF9153;
  --py-orange-500: #FF7A30;
  --py-orange-600: #F2590F;
  --py-pink-400:   #FF5FA0;
  --py-pink-500:   #FF2E7E;
  --py-pink-600:   #E01468;

  --py-gradient-hero:   linear-gradient(135deg, var(--py-orange-500) 0%, var(--py-pink-500) 100%);
  --py-gradient-cta:    linear-gradient(95deg, var(--py-orange-500) 0%, var(--py-pink-500) 100%);
  --py-gradient-soft:   linear-gradient(135deg, rgba(255,122,48,0.10) 0%, rgba(255,46,126,0.10) 100%);
  --py-gradient-text:   linear-gradient(95deg, var(--py-orange-600) 0%, var(--py-pink-600) 100%);

  /* Neutrals */
  --py-ink-900: #1C1626;
  --py-ink-700: #3E3852;
  --py-ink-500: #6B6478;
  --py-surface-0:  #FFFFFF;
  --py-surface-50: #FFFBF8;
  --py-border: rgba(28, 22, 38, 0.08);
  --py-border-on-dark: rgba(255, 255, 255, 0.22);

  /* Typography */
  --py-font-display: 'Nunito', 'Heebo', sans-serif;
  --py-font-body: 'Heebo', 'Nunito', sans-serif;

  /* Radius scale */
  --py-radius-sm: 10px;
  --py-radius-md: 16px;
  --py-radius-lg: 24px;
  --py-radius-xl: 32px;
  --py-radius-pill: 999px;

  /* Shadow scale */
  --py-shadow-sm: 0 2px 8px rgba(28, 22, 38, 0.06);
  --py-shadow-md: 0 12px 30px rgba(28, 22, 38, 0.10);
  --py-shadow-lg: 0 24px 60px rgba(28, 22, 38, 0.14);
  --py-shadow-glow: 0 10px 30px rgba(255, 46, 126, 0.35);

  /* Spacing scale (4px base) */
  --py-space-1: 4px;
  --py-space-2: 8px;
  --py-space-3: 12px;
  --py-space-4: 16px;
  --py-space-5: 24px;
  --py-space-6: 32px;
  --py-space-7: 48px;
  --py-space-8: 64px;
}
/* old style.css styling to keep the page working  */
.features-data-engineering{
  border-bottom: none;
}
/*** Logo ***/
#logo {
  width: 5%;
  margin-left: 20px;
}
@media (max-width: 750px) {
  #logo {
    width: 7%;
    /* margin-left: 20px; */
  }
}
@media (max-width: 480px) {
  #logo {
    width: 11%;
    /* margin-left: 20px; */
  }
  /* .navbar-brand {
    padding: 0;
    margin: 0;
  } */
}
@media (max-width: 400px) {
  #logo {
    width: 11%;
    margin-left: 10px;
  }
  .navbar-brand{
    margin-right: 0;
  }
  .navbar-brand h2{
    font-size: 24px;
  }
}

/*** Navbar ***/
.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
  margin-right: 30px;
  padding: 25px 0;
  color: #ffffff;
  font-size: 18px;
  /* text-transform: lowercase; */
  outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: var(--primary);
}

@media (max-width: 991.98px) {
  .navbar-light .navbar-nav .nav-link {
    margin-right: 0;
    padding: 5px 0;
  }

  .navbar-light .navbar-nav {
    border-top: 1px solid #eeeeee;
  }
}
@media (max-width: 500px) {
  .navbar-light .navbar-nav .nav-link {
    margin-right: 0;
    padding: 0;
    margin: 3px 0px;
  }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
  height: 75px;
}
.navbar-brand {
  padding: 24px;
  /* margin: 0; */
}

.navbar-light .navbar-nav .nav-link {
  color: var(--dark);
  font-weight: 500;
}

.navbar-light.sticky-top {
  top: -100px;
  transition: 0.5s;
}
/* #signin {
  position: absolute !important;
  top: 200px;
  right: 200px;

} */
#signin-btn {
  color: var(--light);
  background-color: var(--primary);
  /* border: 2px solid red; */
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  width: 100px;
  height: 75px;
  font-size: 18px;

  display: flex;
  justify-content: center;
  align-items: center;
}
@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    margin-top: 0;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
  }

  .navbar .dropdown-menu.fade-down {
    top: 100%;
    transform: rotateX(-75deg);
    transform-origin: 0% 0%;
  }

  .navbar .nav-item:hover .dropdown-menu {
    top: 100%;
    transform: rotateX(0deg);
    visibility: visible;
    transition: 0.5s;
    opacity: 1;
  }
}

/* ============ 2. TYPE + BASE UTILITIES ============ */
.py-hero, .py-hero *, .py-stats-row, .py-stats-row * {
  box-sizing: border-box;
}

.py-eyebrow {
  font-family: var(--py-font-body);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.py-gradient-text {
  background: var(--py-gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============ 3. BUTTON SYSTEM ============ */
.py-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--py-font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 16px 30px;
  border-radius: var(--py-radius-pill);
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
}

.py-btn:focus-visible {
  outline: 3px solid var(--py-pink-400);
  outline-offset: 2px;
}

.py-btn-primary,
.py-hero-cta.py-btn-primary {
  background: var(--py-gradient-cta);
  color: #fff !important;
  box-shadow: var(--py-shadow-glow);
}

.py-btn-primary:hover,
.py-hero-cta.py-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(255, 46, 126, 0.45);
  color: #fff !important;
}

.py-btn-outline {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1.5px solid var(--py-border-on-dark);
  backdrop-filter: blur(6px);
}

.py-btn-outline:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-3px);
  color: #fff;
}

/* ============ 4. CARD & GLASSMORPHISM ============ */
.py-card {
  background: var(--py-surface-0);
  border-radius: var(--py-radius-lg);
  box-shadow: var(--py-shadow-md);
  border: 1px solid var(--py-border);
}

.py-card-glass {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--py-radius-lg);
}

.py-card-hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.py-card-hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: var(--py-shadow-lg);
}

/* ============ 5. BADGE / PILL ============ */
.py-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--py-radius-pill);
  font-family: var(--py-font-body);
  font-size: 0.85rem;
  font-weight: 600;
}

.py-badge-glass {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
}

.py-badge-glass .fa {
  font-size: 0.8rem;
}

/* ============ 6. HERO SECTION ============ */
.py-hero {
  position: relative;
  background-image:
    linear-gradient(to bottom, transparent 80%, #ffffff 100%),
    radial-gradient(rgba(255, 255, 255, 0.16) 1.5px, transparent 1.5px),
    radial-gradient(circle at 92% 78%, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 60%),
    radial-gradient(circle at 6% 88%, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 55%),
    var(--py-gradient-hero) !important;
  background-repeat: no-repeat, repeat, no-repeat, no-repeat, no-repeat;
  background-size: auto, 22px 22px, auto, auto, auto;
  background-position: bottom, top right, top right, bottom left, center;
  overflow: hidden;
  padding: var(--py-space-6) 0 var(--py-space-4);
  isolation: isolate;
}

/* soft decorative blobs, purely visual, sit behind content */
.py-hero::before,
.py-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  z-index: -1;
  opacity: 0.55;
}

.py-hero::before {
  width: 420px;
  height: 420px;
  background: rgba(255, 255, 255, 0.12);
  top: -160px;
  right: -120px;
}

.py-hero::after {
  width: 280px;
  height: 280px;
  background: rgba(255, 255, 255, 0.10);
  bottom: -140px;
  left: -80px;
}

.py-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: var(--py-space-6);
  align-items: center;
}

.py-hero .py-hero-container {
  max-width: 1360px;
  min-height: 500px;
  padding: 40px 0;
}

.py-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--py-space-4);
  width: 100%;
}

.py-hero-badge {
  margin-bottom: var(--py-space-4);
}

.py-hero-badge .fa-star {
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.15));
}

.py-hero-title.display-5 {
  font-family: var(--py-font-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
  font-size: clamp(2rem, 3vw + 0.8rem, 3rem);
  margin-bottom: 0;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.12);
}

.py-hero-desc {
  font-family: var(--py-font-body);
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 66ch;
  margin-bottom: 0;
}

.py-hero-cta {
  margin-top: var(--py-space-3);
}

.py-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--py-space-3);
}

.py-hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--py-space-3);
  margin-top: var(--py-space-2);
}

.py-hero-trust-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 10px 16px;
  border-radius: var(--py-radius-md);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.py-hero-trust-badge strong {
  font-family: var(--py-font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
  line-height: 1.1;
}

.py-hero-trust-badge span {
  font-family: var(--py-font-body);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
}

.py-hero-trust-badge.py-hero-rating {
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.py-hero-trust-badge.py-hero-rating span:first-child {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}

/* --- Hero visual column --- */
.py-hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

.py-hero-illustration-wrap {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.py-hero-illustration-wrap img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.25));
  animation: pyFloat 6s ease-in-out infinite;
}

/* floating tech chips, reusing words already present in the page copy */
.py-hero-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--py-radius-sm);
  font-family: var(--py-font-body);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--py-ink-900);
  background: var(--py-surface-0);
  box-shadow: var(--py-shadow-md);
}

.py-hero-chip::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--py-gradient-cta);
  flex: 0 0 auto;
}

.py-hero-chip-1 { top: 4%;  right: -2%; animation: pyFloat 5.5s ease-in-out infinite; }
.py-hero-chip-2 { top: 32%; right: -6%; animation: pyFloat 6.5s ease-in-out infinite 0.4s; }
.py-hero-chip-3 { top: 60%; right: -3%; animation: pyFloat 5.8s ease-in-out infinite 0.8s; }
.py-hero-chip-4 { top: 86%; right: -1%; animation: pyFloat 6.2s ease-in-out infinite 1.2s; }

/* Best-effort navbar/hero blend — a self-contained glow, does not touch navbar.php */
body.data_eng_course_page-body-container .py-navbar-wrap {
  position: relative;
  z-index: 5;
}

body.data_eng_course_page-body-container .py-navbar-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -24px;
  height: 24px;
  background: linear-gradient(180deg, rgba(255, 122, 48, 0.12), rgba(255, 122, 48, 0));
  pointer-events: none;
}

/* ============ 7. HERO STATISTICS ROW ============ */
.py-stats-row {
  position: relative;
  z-index: 2;
  max-width: 1140px;
  margin: calc(-1 * var(--py-space-5)) auto var(--py-space-6) !important;
  background: var(--py-surface-0);
  border-radius: var(--py-radius-lg);
  box-shadow: var(--py-shadow-lg);
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  padding: var(--py-space-5) var(--py-space-4);
}

.py-stats-row .vl {
  display: none;
}

.py-stat-card {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--py-space-2);
  padding: var(--py-space-3) var(--py-space-2);
  border-right: 1px solid var(--py-border);
  transition: transform 0.25s ease;
}

.py-stat-card:last-child {
  border-right: none;
}

.py-stat-card:hover {
  transform: translateY(-4px);
}

.py-stat-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--py-radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--py-gradient-soft);
  margin-bottom: var(--py-space-1);
}

.py-stat-icon-wrap img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.py-stat-card .top {
  font-family: var(--py-font-display);
  font-weight: 700;
  color: var(--py-ink-900);
  margin: 0;
  font-size: 1rem;
}

.py-stat-card .bottom {
  font-family: var(--py-font-body);
  color: var(--py-ink-500);
  margin: 0;
  font-size: 0.85rem;
}

/* ============ 8. SECTION SPACING / CTA UTILITIES (prepared for later phases) ============ */
.py-section {
  padding: var(--py-space-8) 0;
}

.py-section-sm { padding: var(--py-space-6) 0; }
.py-section-lg { padding: calc(var(--py-space-8) + var(--py-space-5)) 0; }

.py-cta-block {
  background: var(--py-gradient-hero);
  border-radius: var(--py-radius-xl);
  padding: var(--py-space-6);
  color: #fff;
}

/* ============ 9. FOOTER STYLES (prepared, not yet applied) ============ */
.py-footer {
  background: var(--py-ink-900);
  color: rgba(255, 255, 255, 0.75);
}

.py-footer a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}

.py-footer a:hover {
  color: #fff;
}

.py-footer-heading {
  font-family: var(--py-font-display);
  font-weight: 700;
  color: #fff;
}

/* ============ 10. FLOATING BUTTON STYLES (prepared, not yet applied) ============ */
.py-floating-btn {
  position: fixed;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--py-shadow-lg);
  z-index: 999;
  transition: transform 0.25s ease;
}

.py-floating-btn:hover {
  transform: scale(1.08);
}

.py-floating-btn-call {
  background: var(--py-gradient-cta);
  color: #fff;
  left: var(--py-space-4);
  bottom: 88px;
}

.py-floating-btn-whatsapp {
  background: #25D366;
  color: #fff;
  left: var(--py-space-4);
  bottom: 24px;
}

/* ============ 11. ANIMATION UTILITIES ============ */
@keyframes pyFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes pyFadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.py-anim-fade-up {
  animation: pyFadeInUp 0.8s ease both;
}

.py-anim-delay-1 { animation-delay: 0.15s; }
.py-anim-delay-2 { animation-delay: 0.3s; }
.py-anim-delay-3 { animation-delay: 0.45s; }

@media (prefers-reduced-motion: reduce) {
  .py-hero-illustration-wrap img,
  .py-hero-chip,
  .py-anim-fade-up,
  .py-stat-card,
  .py-floating-btn {
    animation: none !important;
    transition: none !important;
  }
}

/* ============ 12. RESPONSIVE UTILITIES ============ */
@media (max-width: 991.98px) {
  .py-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .py-hero-content {
    align-items: center;
  }

  .py-hero-desc {
    max-width: 60ch;
    margin-left: auto;
    margin-right: auto;
  }

  .py-hero-actions,
  .py-hero-trust-row {
    justify-content: center;
  }

  .py-hero-visual {
    min-height: 0;
    margin-top: var(--py-space-5);
  }

  .py-hero-illustration-wrap {
    max-width: 360px;
    margin: 0 auto;
  }

  .py-stats-row {
    grid-template-columns: repeat(2, 1fr);
    row-gap: var(--py-space-5);
  }

  .py-stat-card:nth-child(2) {
    border-right: none;
  }

  .py-stat-card:nth-child(1),
  .py-stat-card:nth-child(2) {
    border-bottom: 1px solid var(--py-border);
    padding-bottom: var(--py-space-4);
  }
}

@media (max-width: 575.98px) {
  .py-hero {
    padding: var(--py-space-5) 0 var(--py-space-3);
  }

  .py-hero-chip {
    font-size: 0.72rem;
    padding: 6px 12px;
  }

  .py-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .py-hero-actions .py-btn {
    width: 100%;
  }

  .py-hero-trust-row {
    gap: var(--py-space-2);
  }

  .py-hero-trust-badge {
    padding: 8px 12px;
  }

  .py-stats-row {
    grid-template-columns: 1fr 1fr;
    margin-left: var(--py-space-3) !important;
    margin-right: var(--py-space-3) !important;
    padding: var(--py-space-4) var(--py-space-3);
  }
}
/* ============================================================
   13. HERO POLISH (refinements only — colors/layout/illustration untouched)
   ============================================================ */

/* Slightly shorter hero: padding adjusted to perfectly accommodate the overlapping stats row */
.py-hero {
  padding: var(--py-space-6) 0 calc(var(--py-space-7) + var(--py-space-3));
}

.py-hero .py-hero-container {
  height: auto;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.py-hero-grid {
  width: 100%;
}

/* Clearer rhythm: heading → paragraphs → CTAs → trust row */
.py-hero-content {
  gap: var(--py-space-5);
}

/* Pull the two description paragraphs slightly closer to each other
   than to the heading/actions around them, so they read as one group */
.py-hero-desc + .py-hero-desc {
  margin-top: calc(-1 * var(--py-space-3));
}

.py-hero-desc {
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.94);
}

.py-hero-actions {
  margin-top: var(--py-space-2);
}

.py-hero-trust-row {
  margin-top: var(--py-space-3);
  gap: var(--py-space-4);
}

.py-hero-trust-badge {
  padding: 12px 18px;
}

/* Center the illustration against the (taller) text column more deliberately */
.py-hero-visual {
  align-self: center;
}

.py-hero-illustration-wrap {
  max-width: 520px;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .py-hero-visual {
    padding-top: var(--py-space-4);
  }
}

@media (max-width: 991.98px) {
  .py-hero .py-hero-container {
    min-height: 0;
  }

  .py-hero-visual {
    margin-top: var(--py-space-4);
  }
}

@media (max-width: 575.98px) {
  .py-hero {
    padding: var(--py-space-4) 0 var(--py-space-3);
  }

  .py-hero-content {
    gap: var(--py-space-4);
  }

  .py-hero-trust-row {
    gap: var(--py-space-2);
  }
}


/* ============================================================
   14. FEATURE CARDS — premium redesign (Learning Format / Live Classes /
       Career Services / Certification). Same content, new presentation.
   ============================================================ */

.py-stats-row.py-feature-grid {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  max-width: 1200px;
  gap: var(--py-space-5);
}

.py-feature-grid .vl {
  display: none;
}

.py-feature-grid .py-feature-card {
  position: relative;
  background: var(--py-surface-0);
  border: 1px solid var(--py-border);
  border-right: none;
  border-radius: var(--py-radius-lg);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.06), 0 10px 20px -5px rgba(234, 88, 12, 0.04);
  padding: var(--py-space-6) var(--py-space-5);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* thin gradient accent that sweeps in on hover */
.py-feature-grid .py-feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--py-gradient-cta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.py-feature-grid .py-feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--py-shadow-lg);
  border-color: transparent;
}

.py-feature-grid .py-feature-card:hover::before {
  transform: scaleX(1);
}

.py-feature-grid .py-feature-icon {
  width: 68px;
  height: 68px;
  border-radius: var(--py-radius-pill);
  background: var(--py-gradient-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--py-space-2);
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.py-feature-grid .py-feature-icon i {
  font-size: 1.6rem;
  color: var(--py-pink-600);
  transition: color 0.3s ease;
}

.py-feature-grid .py-feature-card:hover .py-feature-icon {
  background: var(--py-gradient-cta);
  transform: scale(1.08) rotate(-4deg);
  box-shadow: var(--py-shadow-glow);
}

.py-feature-grid .py-feature-card:hover .py-feature-icon i {
  color: #fff;
}

.py-feature-grid .py-feature-title {
  font-family: var(--py-font-display);
  font-weight: 800;
  font-size: 1.08rem;
  color: var(--py-ink-900);
  margin: 0;
}

.py-feature-grid .py-feature-sub {
  font-family: var(--py-font-body);
  font-size: 0.9rem;
  color: var(--py-ink-500);
  margin: 0;
}

@media (max-width: 991.98px) {
  .py-stats-row.py-feature-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: var(--py-space-5);
  }

  .py-feature-grid .py-feature-card {
    border-bottom: none;
    padding-bottom: var(--py-space-5);
  }
}

@media (max-width: 575.98px) {
  .py-stats-row.py-feature-grid {
    grid-template-columns: 1fr;
    margin-left: var(--py-space-3) !important;
    margin-right: var(--py-space-3) !important;
    padding: 0;
  }

  .py-feature-grid .py-feature-card {
    padding: var(--py-space-5) var(--py-space-4);
  }
}
/* ============================================================
   15. PREMIUM LEARNING PATH (ROADMAP)
   ============================================================ */
.py-roadmap-section {
  position: relative;
  padding: var(--py-space-8) 0;
  background: linear-gradient(180deg, #ffffff 0%, #fff8f5 40%, #fff8f5 60%, #ffffff 100%);
  overflow: hidden;
  z-index: 1;
}

/* Background ambient glow effects */
.py-roadmap-section::before,
.py-roadmap-section::after {
  content: "";
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  filter: blur(150px);
  z-index: -1;
  opacity: 0.15;
}

.py-roadmap-section::before {
  top: -200px;
  left: -200px;
  background: var(--py-orange-500);
}

.py-roadmap-section::after {
  bottom: -200px;
  right: -200px;
  background: var(--py-pink-500);
}

.py-roadmap-header {
  margin-bottom: var(--py-space-6);
}

.py-roadmap-subtitle {
  font-family: var(--py-font-body);
  color: var(--py-ink-500);
  font-size: 1.1rem;
  max-width: 600px;
  margin: var(--py-space-2) auto 0;
}

/* The Grid */
.py-roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--py-space-5); /* 24px gap */
  position: relative;
  max-width: 1360px;
  margin: 0 auto;
}

/* The Node Card (Glassmorphism) */
.py-node-card {
  position: relative;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--py-radius-lg);
  padding: var(--py-space-4);
  box-shadow: var(--py-shadow-sm);
  display: flex;
  align-items: center;
  gap: var(--py-space-3);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  z-index: 2;
  cursor: default;
}

.py-node-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--py-shadow-lg);
  border-color: rgba(255, 46, 126, 0.3);
  background: #ffffff;
  z-index: 5;
}

/* Pure CSS Connector Line (No SVG Math Needed) */
.py-node-card::after {
  content: '';
  position: absolute;
  top: 50%;
  right: calc(-1 * var(--py-space-5));
  width: var(--py-space-5);
  height: 2px;
  background: var(--py-gradient-cta);
  opacity: 0.3;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.py-node-card:hover::after {
  opacity: 0.8;
}

/* Desktop: 4 columns, hide connector on every 4th child (end of row) */
.py-node-card:nth-child(4n)::after {
  display: none;
}

/* Node Icon / Number */
.py-node-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: var(--py-radius-md);
  background: var(--py-surface-0);
  border: 1px solid var(--py-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--py-orange-600);
  font-family: var(--py-font-display);
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: 0 4px 10px rgba(28, 22, 38, 0.04);
  transition: all 0.3s ease;
}

.py-node-card:hover .py-node-icon {
  background: var(--py-gradient-cta);
  color: #fff;
  border-color: transparent;
  transform: rotate(-6deg) scale(1.1);
  box-shadow: var(--py-shadow-glow);
}

.py-node-content {
  display: flex;
  flex-direction: column;
}

.py-node-title {
  font-family: var(--py-font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--py-ink-900);
  margin: 0;
  line-height: 1.25;
  transition: color 0.3s ease;
}

.py-node-card:hover .py-node-title {
  color: var(--py-pink-600);
}

/* Tablet Landscape: 3 columns */
@media (max-width: 1199.98px) {
  .py-roadmap-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .py-node-card:nth-child(4n)::after { display: block; } /* reset */
  .py-node-card:nth-child(3n)::after { display: none; }
}

/* Tablet Portrait: 2 columns */
@media (max-width: 991.98px) {
  .py-roadmap-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--py-space-4);
  }
  .py-node-card::after {
    right: calc(-1 * var(--py-space-4));
    width: var(--py-space-4);
  }
  .py-node-card:nth-child(3n)::after { display: block; } /* reset */
  .py-node-card:nth-child(2n)::after { display: none; }
}

/* Mobile: 1 column (Vertical Flow) */
@media (max-width: 767.98px) {
  .py-roadmap-section {
    padding: var(--py-space-6) 0;
  }
  .py-roadmap-grid {
    grid-template-columns: 1fr;
    gap: var(--py-space-3);
    max-width: 400px;
    margin: 0 auto;
  }
  .py-node-card {
    padding: var(--py-space-3);
  }
  /* Turn horizontal connector into a vertical drop-down line pointing to next card */
  .py-node-card::after {
    top: auto;
    bottom: calc(-1 * var(--py-space-3));
    left: 42px; /* Aligned perfectly under the icon */
    right: auto;
    width: 2px;
    height: var(--py-space-3);
  }
  .py-node-card:nth-child(2n)::after { display: block; } /* reset */
  .py-node-card:last-child::after { display: none; }
}

/* ============================================================
   16. NAVBAR REDESIGN (VIA OVERRIDES)
   ============================================================ */
.py-navbar-wrap {
  position: relative;
  z-index: 1050;
}

.py-navbar-wrap .navbar {
  background: rgba(255, 255, 255, 0.90) !important;
  /* backdrop-filter is moved to ::before to prevent containing block for fixed elements */
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03) !important;
  transition: all 0.3s ease;
  padding: 12px 0 !important;
}

.py-navbar-wrap .navbar::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: -1;
  pointer-events: none;
}

.py-navbar-wrap .navbar-brand h2 {
  font-family: var(--py-font-display);
  font-weight: 800;
  background: var(--py-gradient-cta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
}

.py-navbar-wrap .nav-item.nav-link,
.py-navbar-wrap .nav-link.dropdown-toggle {
  font-family: var(--py-font-body);
  font-weight: 600;
  color: var(--py-ink-700) !important;
  text-transform: capitalize;
  letter-spacing: 0.3px;
  padding: 8px 16px !important;
  margin: 0 2px;
  border-radius: var(--py-radius-md);
  transition: all 0.3s ease;
}

.py-navbar-wrap .nav-item.nav-link:hover,
.py-navbar-wrap .nav-link.dropdown-toggle:hover {
  color: var(--py-orange-600) !important;
  background: var(--py-surface-50);
}

.py-navbar-wrap .dropdown-menu {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  border-radius: var(--py-radius-md) !important;
  box-shadow: var(--py-shadow-lg) !important;
  padding: 10px 0 !important;
  margin-top: 10px !important;
}

.py-navbar-wrap .dropdown-item {
  font-weight: 500;
  color: var(--py-ink-700) !important;
  padding: 10px 24px !important;
  transition: all 0.2s ease;
}

.py-navbar-wrap .dropdown-item:hover {
  background: var(--py-surface-50) !important;
  color: var(--py-orange-600) !important;
  padding-left: 28px !important;
}

/* Adjust the floating call icon if it exists inside navbar wrap */
.py-navbar-wrap .schedule_call_icon {
  background: var(--py-gradient-cta) !important;
  box-shadow: var(--py-shadow-glow) !important;
  transition: transform 0.3s ease !important;
  position: fixed !important;
  left: 15px !important;
  right: auto !important;
  bottom: 85px !important;
  z-index: 1060 !important;
}

.py-navbar-wrap .schedule_call_icon:hover {
  transform: scale(1.1) !important;
}

@media (max-width: 530px) {
  .py-navbar-wrap .schedule_call_icon {
    bottom: 68px !important;
    left: 15px !important;
    right: auto !important;
  }
}

/* ============================================================
   17. FOOTER REDESIGN (VIA OVERRIDES)
   ============================================================ */
.py-footer-wrap .footer {
  background: var(--py-ink-900) !important;
  position: relative;
  overflow: hidden;
  padding-top: var(--py-space-6) !important;
}

/* Subtle glow behind footer */
.py-footer-wrap .footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--py-orange-500), var(--py-pink-500), transparent);
  opacity: 0.5;
}

.py-footer-wrap .footer h2 {
  font-family: var(--py-font-display);
  font-weight: 800;
  background: var(--py-gradient-cta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
  transition: opacity 0.3s ease;
}

.py-footer-wrap .footer h2:hover {
  opacity: 0.9;
}

.py-footer-wrap .footer h4 {
  font-family: var(--py-font-display);
  font-weight: 700;
  color: #fff !important;
  margin-bottom: var(--py-space-3);
}

.py-footer-wrap .hover-change {
  font-family: var(--py-font-body);
  color: var(--py-ink-300) !important;
  transition: all 0.3s ease;
  text-decoration: none !important;
}

.py-footer-wrap p.hover-change {
  line-height: 1.6;
}

.py-footer-wrap a.hover-change {
  display: inline-block;
  padding: 4px 0;
}

.py-footer-wrap a.hover-change:hover {
  color: var(--py-orange-400) !important;
  transform: translateX(6px);
}

.py-footer-wrap .btn-social {
  border-radius: var(--py-radius-md) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  background: rgba(255,255,255,0.02) !important;
  color: var(--py-ink-300) !important;
  transition: all 0.3s ease !important;
  margin-right: 8px;
}

.py-footer-wrap .btn-social:hover {
  background: var(--py-gradient-cta) !important;
  border-color: transparent !important;
  color: #fff !important;
  transform: translateY(-4px);
  box-shadow: var(--py-shadow-md);
}

.py-footer-wrap .copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: var(--py-space-5);
  padding: var(--py-space-4) 0;
  color: var(--py-ink-500);
}

/* ============================================================
   18. WHY CHOOSE US & WHO CAN APPLY
   ============================================================ */
.py-why-section {
  background: #ffffff;
}

.py-why-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.03);
  border-radius: var(--py-radius-lg);
  padding: var(--py-space-5);
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
  text-align: center;
}

.py-why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
  background: #fff;
}

.py-why-icon {
  width: 60px;
  height: 60px;
  background: var(--py-gradient-cta);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto var(--py-space-4);
  box-shadow: var(--py-shadow-glow);
}

.py-why-title {
  font-family: var(--py-font-display);
  font-weight: 700;
  color: var(--py-ink-700);
  margin-bottom: var(--py-space-2);
}

.py-why-desc {
  color: var(--py-ink-500);
  font-size: 0.95rem;
  margin: 0;
}

/* Who Can Apply */
.py-apply-section {
  background: linear-gradient(135deg, rgba(234, 88, 12, 0.03) 0%, rgba(219, 39, 119, 0.02) 50%, #ffffff 100%);
  overflow: hidden;
}

.py-apply-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.py-apply-item {
  display: flex;
  align-items: center;
  background: var(--py-surface-50);
  padding: 12px 20px;
  border-radius: var(--py-radius-md);
  border: 1px solid rgba(0,0,0,0.03);
  transition: all 0.2s ease;
}

.py-apply-item:hover {
  transform: translateX(10px);
  background: #fff;
  box-shadow: var(--py-shadow-md);
  border-color: rgba(0,0,0,0.05);
}

.py-check-icon {
  color: var(--py-orange-500);
  font-size: 20px;
  margin-right: 15px;
}

.py-apply-item span {
  font-weight: 600;
  color: var(--py-ink-700);
}

.py-image-card {
  position: relative;
  display: inline-block;
}

.py-image-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: var(--py-gradient-cta);
  filter: blur(80px);
  opacity: 0.4;
  z-index: 0;
}

.py-hover-lift {
  transition: transform 0.4s ease;
}

.py-hover-lift:hover {
  transform: translateY(-10px);
}

/* ============================================================
   19. TOOLS COVERED
   ============================================================ */
.py-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 24px;
  justify-items: center;
  align-items: center;
}

.py-tool-card {
  background: #fff;
  border-radius: var(--py-radius-md);
  padding: 20px;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.03);
  transition: all 0.3s ease;
  position: relative;
}

.py-tool-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--py-radius-md);
  background: var(--py-gradient-cta);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.py-tool-card:hover {
  transform: translateY(-8px);
}

.py-tool-card:hover::before {
  opacity: 1;
}

.py-tool-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.py-tool-card:hover img {
  transform: scale(1.1);
}

/* ============================================================
   20. CERTIFICATE & SALARY
   ============================================================ */
.py-outcomes-section {
  background: linear-gradient(180deg, #ffffff 0%, #faf8f7 50%, #ffffff 100%) !important;
}

.py-outcome-card {
  background: #fff;
  border-radius: var(--py-radius-xl);
  padding: var(--py-space-6);
  box-shadow: var(--py-shadow-lg);
  border: 1px solid rgba(0,0,0,0.03);
  height: 100%;
}

.py-salary-highlight {
  background: var(--py-surface-50);
  border-left: 4px solid var(--py-orange-500);
  padding: var(--py-space-4);
  border-radius: var(--py-radius-md);
}

.py-salary-label {
  font-family: var(--py-font-body);
  color: var(--py-ink-500);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}

.py-salary-value {
  font-family: var(--py-font-display);
  color: var(--py-ink-900);
  font-weight: 800;
  margin: 0;
}

.py-chart-container {
  position: relative;
  width: 100%;
  height: 300px;
}

.py-cert-frame {
  position: relative;
  display: inline-block;
  padding: 10px;
  background: #fff;
  border-radius: var(--py-radius-lg);
  box-shadow: var(--py-shadow-xl);
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform 0.5s ease;
}

.py-cert-frame:hover {
  transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.py-cert-frame img {
  border: 1px solid rgba(0,0,0,0.05);
}

/* ============================================================
   21. FAQ ACCORDION
   ============================================================ */
.py-faq-section {
  background: #ffffff;
}

.py-accordion {
  --bs-accordion-bg: transparent;
  --bs-accordion-border-width: 0;
  gap: 16px;
  display: flex;
  flex-direction: column;
}

.py-accordion-item {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: var(--py-radius-lg) !important;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  transition: all 0.3s ease;
}

.py-accordion-item:hover {
  box-shadow: var(--py-shadow-md);
}

.py-accordion-button {
  font-family: var(--py-font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--py-ink-700) !important;
  padding: 24px 30px;
  background: #fff !important;
  box-shadow: none !important;
}

.py-accordion-button:not(.collapsed) {
  color: var(--py-orange-600) !important;
  background: #fff !important;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,0.05) !important;
}

.py-accordion-button::after {
  background-size: 1.2rem;
  transition: transform 0.3s ease;
}

.py-accordion-body {
  padding: 24px 30px;
  color: var(--py-ink-500);
  font-size: 1rem;
  line-height: 1.8;
}

/* ============================================================
   22. CTA / REVIEWS SECTION
   ============================================================ */
.py-cta-section {
  background: #ffffff;
}

.py-cta-box {
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
  border-radius: var(--py-radius-xl);
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.py-cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, rgba(234, 88, 12, 0.20) 0%, rgba(219, 39, 119, 0.10) 35%, transparent 65%);
  pointer-events: none;
}

/* ============================================================
   23. GLOBAL BACKGROUND
   ============================================================ */
body {
  background: #ffffff !important;
}