/* =================== CSS RESET & NORMALIZE =================== */
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,i,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{
  margin:0; padding:0; border:0; font-size:100%; font:inherit; vertical-align:baseline;
}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{
  display:block;
}
body{line-height:1;}
ol,ul{list-style:none;}
blockquote,q{quotes:none;}
blockquote:before,blockquote:after,q:before,q:after{
  content:''; content:none;
}
table{border-collapse:collapse; border-spacing:0;}

/* =================== ROOT BRAND VARIABLES =================== */
:root {
  /* Brand Colors */
  --clr-primary: #2C3E50;
  --clr-secondary: #ffffff;
  --clr-accent: #C03909;
  --clr-accent-glow: #E67E22;
  --clr-card-bg: #202c3a;
  --clr-card-light: #F9E79F;
  --clr-text-primary: #ffffff;
  --clr-text-dark: #21242a;
  --clr-testimonial-bg: #f8fafc;
  /* Futuristic Neons / Glows */
  --clr-neon-blue: #23d6ff;
  --clr-neon-orange: #FF8F38;
  --clr-neon-yellow: #ffd700;
  /* Shadows */
  --shadow-main: 0 8px 32px 0 rgba(34,60,90,.16);
  --shadow-card: 0 2px 16px 0 rgba(35,214,255,.12),0 0 4px 0 rgba(192,57,9,.08);
  /* Spacing scale */
  --sp-xxs: 8px;  --sp-xs: 12px;  --sp-sm: 16px;  --sp-md: 24px;  --sp-lg: 32px;  --sp-xl: 48px;  --sp-xxl: 60px;
  /* Radius */
  --radius-md: 18px;  --radius-lg: 32px;  --radius-full: 999px;
  /* Transitions */
  --tr-fast: 0.15s cubic-bezier(.66,0,.48,1);
  --tr-main: 0.22s cubic-bezier(.66,0,.48,1);
  /* Fonts */
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/* =================== BASE TYPOGRAPHY =================== */
html {
  font-size: 16px;
}
body {
  font-family: var(--font-body);
  background: var(--clr-primary);
  color: var(--clr-text-primary);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: var(--sp-sm);
  color: var(--clr-neon-blue);
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.3rem;
  margin-bottom: var(--sp-md);
  line-height: 1.15;
  text-shadow: 0 0 12px var(--clr-neon-blue);
}
h2 {
  font-size: 1.8rem;
  margin-bottom: var(--sp-md);
  line-height: 1.22;
}
h3 {
  font-size: 1.23rem;
  margin-bottom: var(--sp-xs);
  line-height: 1.3;
  color: var(--clr-accent-glow);
}
p, ul, ol, li {
  font-size: 1rem;
  margin-bottom: var(--sp-xs);
  color: var(--clr-text-primary);
}
ul,ol{
  margin-left: var(--sp-md);
}
strong{font-weight:700;}
a {
  color: var(--clr-neon-blue);
  text-decoration: none;
  transition: color var(--tr-fast);
}
a:hover, .main-nav a.active, .mobile-nav a.active {
  color: var(--clr-accent-glow);
}

/* ========== LAYOUT CONTAINER & FLEX PATTERNS ========== */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--sp-sm);
  padding-right: var(--sp-sm);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

.section {
  margin-bottom: var(--sp-xxl);
  padding: var(--sp-lg) var(--sp-sm);
  background: linear-gradient(130deg, rgba(44,62,80,0.98) 80%, rgba(35,214,255,0.12));
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-main);
}

/* ==== FLEXBOX GROUPS AS REQUIRED ==== */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-md);
  justify-content: space-between;
}
.services-list,
.courses-list,
.webinar-list  {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-md);
}
.features-grid .feature, .services-list .service, .courses-list .course, .webinar-list .webinar {
  background: var(--clr-card-bg);
  color: var(--clr-text-primary);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: var(--sp-md);
  margin-bottom: var(--sp-sm);
  flex: 1 1 250px;
  min-width: 240px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
  border-left: 4px solid var(--clr-neon-blue);
  transition: box-shadow var(--tr-main), border-color var(--tr-fast);
}
.features-grid .feature:hover,
.services-list .service:hover,
.courses-list .course:hover, .webinar-list .webinar:hover {
  box-shadow: 0 2px 24px 0 var(--clr-neon-blue),
    0 0 14px 0 var(--clr-neon-orange), var(--shadow-main);
  border-left: 4px solid var(--clr-accent);
}
.services-list .service-price,
.courses-list .course-price,
.webinar-list .webinar-price {
  font-weight: 700;
  margin-top: var(--sp-xs);
  color: var(--clr-neon-yellow);
  font-size: 1.08rem;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
  flex-wrap: wrap;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-md);
}
.card {
  background: var(--clr-card-bg);
  color: var(--clr-text-primary);
  padding: var(--sp-md);
  margin-bottom: var(--sp-sm);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  position: relative;
  min-width: 220px;
  flex: 1 1 240px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-md);
  justify-content: space-between;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-xs);
  background: var(--clr-testimonial-bg);
  color: var(--clr-text-dark);
  padding: var(--sp-md);
  border-radius: var(--radius-md);
  margin-bottom: var(--sp-sm);
  box-shadow: 0 2px 10px 0 rgba(44,62,80,0.10);
  border-left: 6px solid var(--clr-neon-blue);
  position: relative;
  min-width: 200px;
  transition: box-shadow var(--tr-main);
}
.testimonial-card:hover {
  box-shadow: 0 2px 32px 0 var(--clr-neon-blue), 0 0 16px 0 var(--clr-accent-glow), var(--shadow-main);
}
.testimonial-author {
  margin-top: var(--sp-xs);
  font-weight: 600;
  font-size: 1rem;
  color: var(--clr-accent);
  letter-spacing: 0.025em;
}
.rating-stars {
  margin-top: 4px;
  font-size: 1.2rem;
  color: var(--clr-neon-orange);
  letter-spacing: 0.05em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ========== BUTTONS & CTAs ========== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  padding: 12px 34px;
  border: none;
  border-radius: var(--radius-full);
  box-shadow: 0 0 16px 0 var(--clr-neon-orange);
  cursor: pointer;
  letter-spacing: 0.02em;
  outline: none;
  text-shadow: 0 1px 8px rgba(0,0,0,.18);
  transition: background var(--tr-main), box-shadow var(--tr-main), transform var(--tr-fast);
  margin-top: var(--sp-xs);
  margin-bottom: var(--sp-xs);
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--clr-neon-blue);
  color: var(--clr-text-dark);
  box-shadow: 0 0 24px 0 var(--clr-neon-blue);
  transform: translateY(-2px) scale(1.035);
}

/* =================== HEADER & NAVIGATION =================== */
header {
  background: var(--clr-primary);
  width: 100%;
  box-shadow: 0 2px 16px 0 rgba(35,214,255,0.07);
  position: sticky;
  top: 0; left: 0; z-index: 67;
}
.logo {
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
  margin-right: var(--sp-lg);
}
.logo img {
  height: 42px; width: auto; display: block;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  gap: var(--sp-md);
  min-height: 80px;
}
.main-nav, .footer-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
}
.main-nav a, .footer-nav a {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--clr-text-primary);
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color var(--tr-fast), border-bottom var(--tr-fast);
  position: relative;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--clr-neon-blue);
  border-bottom: 2px solid var(--clr-accent-glow);
}

header .btn-primary {
  margin-left: var(--sp-md);
  margin-bottom: 0;
  margin-top: 0;
}

/* ========== RESPONSIVE NAVIGATION ========== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  right: var(--sp-md);  top: var(--sp-md);
  background: var(--clr-card-bg);
  color: var(--clr-neon-blue);
  border: none;
  font-size: 2rem;
  border-radius: var(--radius-full);
  box-shadow: 0 0 12px 0 var(--clr-neon-blue);
  z-index: 200;
  width: 48px; height: 48px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--tr-fast), box-shadow var(--tr-fast);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--clr-accent);
  color: #fff;
  box-shadow: 0 0 16px 0 var(--clr-neon-orange);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  background: rgba(35, 50, 65, 0.97);
  transform: translateX(-100vw);
  transition: transform 0.3s cubic-bezier(.66,0,.44,1);
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: var(--sp-xl) var(--sp-md) var(--sp-md) var(--sp-md);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;  right: 24px;  top: 18px;
  background: transparent;
  border: none;
  color: var(--clr-neon-blue);
  font-size: 2.1rem;
  cursor: pointer;
  z-index: 333;
  border-radius: var(--radius-full);
  padding: 2px 8px;
  transition: background var(--tr-fast), color var(--tr-fast);
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--clr-accent);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
  align-items: flex-start;
  margin-top: var(--sp-xl);
  width: 100%;
}
.mobile-nav a {
  color: var(--clr-text-primary);
  font-size: 1.15rem;
  font-weight: 600;
  padding: 12px 0;
  width: 100%;
  border-bottom: 1px solid rgba(44,62,80,.18);
  transition: color var(--tr-fast), border-bottom var(--tr-fast);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--clr-neon-blue);
  border-bottom: 1px solid var(--clr-neon-blue);
}
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  header .btn-primary {
    display: none;
  }
}

@media (max-width: 768px) {
  
  .container {
    padding-left: var(--sp-xs);
    padding-right: var(--sp-xs);
  }
  .features-grid, .services-list, .courses-list, .webinar-list, .content-grid, .card-container {
    flex-direction: column;
    gap: var(--sp-md);
  }
  .text-image-section {
    flex-direction: column;
    gap: var(--sp-md);
    align-items: flex-start;
  }
  header .container {
    min-height: 64px;
    gap: var(--sp-xs);
  }
}

/* ================= MAIN SECTION SPACING ================= */
main section {
  margin-bottom: var(--sp-xxl);
  padding: var(--sp-lg) var(--sp-none);
  border-radius: var(--radius-md);
  box-shadow: 0 0 32px 0 rgba(35,214,255,0.04);
  background: none;
}
main section:last-child {
  margin-bottom: 0;
}

/* =================== IMAGES =================== */
img {
  max-width: 100%;
  display: block;
  height: auto;
}
.features-grid .feature img,
.services-list .service img {
  width: 44px; height: 44px;
  margin-bottom: var(--sp-xs);
  filter: drop-shadow(0 0 8px var(--clr-accent-glow));
}

/* ================= FOCUS STYLES =============== */
:focus {
  outline: 2px solid var(--clr-neon-blue);
  outline-offset: 2px;
}

/* =================== FOOTER =================== */
footer {
  background: var(--clr-primary);
  color: var(--clr-text-primary);
  padding-top: var(--sp-lg);
  padding-bottom: var(--sp-lg);
  margin-top: var(--sp-xl);
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
  margin-bottom: var(--sp-md);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-neon-blue);
  font-size: 0.98rem;
  opacity: 0.75;
}
.footer-nav {
  gap: var(--sp-sm);
}
.footer-nav a:hover {
  color: var(--clr-accent-glow);
}
footer .logo, footer .footer-top img {
  height: 38px;
}
@media (max-width: 700px) {
  .footer-top {
    flex-direction: column;
    gap: var(--sp-sm);
    justify-content: flex-start;
    align-items: flex-start;
  }
}

/* ========= SPECIAL CLASSES ========= */
.price-list {
  font-size: 1.11rem;
  color: var(--clr-neon-yellow);
  font-weight: 600;
  margin: var(--sp-sm) 0;
}
.mentoring-stages ol {
  padding-left: var(--sp-sm);
  margin-bottom: var(--sp-sm);
}
.mentor-profiles h3 {
  color: var(--clr-neon-blue);
  font-size: 1.1rem;
  margin-bottom: var(--sp-xs);
}
.mentor-profiles ul li {
  color: var(--clr-text-primary);
}

/* ================ COOKIE CONSENT BANNER & MODAL ================ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: rgba(35, 50, 65, 0.98);
  color: var(--clr-text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-md);
  padding: var(--sp-sm) var(--sp-md);
  box-shadow: 0 0 24px 0 var(--clr-neon-blue);
  z-index: 5015;
  animation: bannerIn 0.7s cubic-bezier(.66,0,.44,1);
}
@keyframes bannerIn {
  0% {transform: translateY(120%); opacity:0;}
  100% {transform: translateY(0); opacity:1;}
}
.cookie-banner__actions {
  display: flex;
  gap: var(--sp-sm);
}
.btn-cookie, .cookie-banner button {
  background: var(--clr-card-bg);
  color: var(--clr-neon-blue);
  border: none;
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: var(--radius-full);
  padding: 8px 18px;
  transition: background var(--tr-fast), color var(--tr-fast);
  cursor: pointer;
  box-shadow: 0 0 8px 0 var(--clr-neon-blue);
}
.btn-cookie.accept {
  background: var(--clr-neon-blue);
  color: #fff;
}
.btn-cookie.accept:hover, .btn-cookie.accept:focus {
  background: var(--clr-accent);
  color: #fff;
}
.btn-cookie.reject {
  background: transparent;
  color: var(--clr-accent);
  border: 1px solid var(--clr-accent);
}
.btn-cookie.reject:hover, .btn-cookie.reject:focus {
  background: var(--clr-accent-glow);
  color: var(--clr-text-dark);
}
.btn-cookie.settings {
  background: var(--clr-neon-yellow);
  color: var(--clr-text-dark);
}
.btn-cookie.settings:hover, .btn-cookie.settings:focus {
  background: var(--clr-neon-orange);
  color: #fff;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: var(--sp-xs);
    align-items: stretch;
    padding: var(--sp-xs) var(--sp-xs);
    font-size: 0.97rem;
  }
}

.cookie-modal-overlay {
  position: fixed;
  z-index: 5100;
  inset: 0;
  background: rgba(44,62,80,0.85);
  animation: modalFadeIn .3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
@keyframes modalFadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}
.cookie-modal {
  background: var(--clr-card-bg);
  color: var(--clr-text-primary);
  border-radius: var(--radius-lg);
  max-width: 400px;
  padding: var(--sp-lg) var(--sp-md);
  box-shadow: 0 0 36px 0 var(--clr-neon-blue),0 2px 8px 0 rgba(44,62,80,.18);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
  animation: modalSlideIn .4s cubic-bezier(.81,0,.2,1);
}
@keyframes modalSlideIn {
  0% {transform: translateY(70px);opacity:0}
  100%{transform: translateY(0);opacity:1}
}
.cookie-modal__header {
  display: flex; gap: var(--sp-sm); align-items: center;
  font-family: var(--font-display);
  font-size:1.22rem;
}
.cookie-modal__category {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-sm);
  padding: var(--sp-xs) 0;
}
.cookie-modal__toggle {
  width: 44px; height: 24px; border-radius: 14px;
  background: var(--clr-testimonial-bg);
  border: 1px solid var(--clr-neon-blue);
  position: relative; cursor: pointer; transition: background .18s;
}
.cookie-modal__toggle input[type=checkbox] { display:none; }
.cookie-modal__toggle span {
  position: absolute; left: 2px; top: 2px;
  width: 20px; height: 20px; border-radius: 50%; background: var(--clr-neon-blue);
  transition: left .18s;
  z-index: 1;
}
.cookie-modal__toggle input:checked + span {
  left: calc(100% - 22px); background: var(--clr-accent-glow);
}
.cookie-modal__close {
  position: absolute; right: 16px; top: 18px;
  background: none; border: none;
  color: var(--clr-neon-blue);
  font-size: 2rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: color var(--tr-fast), background var(--tr-fast);
}
.cookie-modal__close:hover{
  background: var(--clr-accent-glow);color:var(--clr-text-dark);
}
.cookie-modal__actions {
  display: flex; gap: var(--sp-sm); justify-content: flex-end;
}

/* ======= SCROLLBAR ========== */
::-webkit-scrollbar {
  width: 12px; background: var(--clr-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--clr-neon-blue); border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--clr-accent-glow);
}

/* ====== ANIMATIONS ====== */
.btn-primary, .card, .testimonial-card, .feature, .service, .webinar, .mobile-menu-toggle, .btn-cookie {
  transition: box-shadow var(--tr-main), background var(--tr-main), color var(--tr-main), border-color var(--tr-main), transform var(--tr-fast);
}

/* ====== UTILITIES ===== */
.mt-xxl {margin-top: var(--sp-xxl);}
.mb-xxl {margin-bottom: var(--sp-xxl);}
.mt-lg {margin-top: var(--sp-lg);}
.mb-lg {margin-bottom: var(--sp-lg);}
.mt-md {margin-top: var(--sp-md);}
.mb-md {margin-bottom: var(--sp-md);}

/* ====== ACCESSIBILITY ===== */
@media (prefers-color-scheme: dark) {
  body {
    background: var(--clr-primary);
    color: var(--clr-text-primary);
  }
  .testimonial-card {
    background: #222b36;
    color: var(--clr-neon-yellow);
  }
}

/* === FOCUS STATES for accessibility === */
input:focus, button:focus, select:focus, textarea:focus {
  outline: 2px solid var(--clr-neon-blue);
  outline-offset: 2px;
}

/* ===== Misc styles for links & lists in content ===== */
.text-section a {
  color: var(--clr-accent-glow);
  border-bottom: 1px dashed var(--clr-accent-glow);
  transition: border-color var(--tr-fast), color var(--tr-fast);
}
.text-section a:hover {
  color: var(--clr-accent);
  border-bottom: 1px solid var(--clr-neon-yellow);
}
.text-section ul, .text-section ol, .section ul, .section ol {
  margin-bottom: var(--sp-sm);
  color: var(--clr-neon-yellow);
}

/* ==== Hide scroll when mobile menu or cookie modal open (JS should toggle body.no-scroll) ==== */
body.no-scroll {
  overflow: hidden;
  touch-action: none;
  overscroll-behavior: none;
}

/* =================== END OF STYLE.CSS =================== */
