/* RESET & GENERAL --------------------------------------------------------------------------------- */
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;
  box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  min-height: 100vh;
  background: #1a2530;
  color: #F6F8FB;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background-color: #1a2530;
  /* subtle dark, techy background pattern */
  background-image: linear-gradient(135deg,#223B53 0%, #1a2530 100%);
}
*, *::before, *::after {
  box-sizing: border-box;
}
a {
  color: #4EA37B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #86efbc; /* lighter neon */
}
ul, ol {
  padding-left: 20px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  font-family: inherit;
}

/* TYPOGRAPHY ---------------------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #F6F8FB;
  line-height: 1.2;
  letter-spacing: 1px;
}
h1 { font-size: 2.75rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.4rem; margin-bottom: 10px; color: #fff; }
h4 { font-size: 1.1rem; margin-bottom: 8px; }
p, li, span, label, input, button {
  font-family: 'Roboto', Arial, sans-serif;
}
p, li, span {
  font-size: 1rem;
  margin-bottom: 10px;
}
.subheadline {
  color: #86efbc;
  font-size: 1.15rem;
  margin-bottom: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
}
strong, b { color: #86efbc; }

/* CONTAINER & GLOBAL SPACING -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* HEADER & NAVIGATION -------------------------------------------------------------------------------- */
header {
  width: 100%;
  background: #223B53;
  box-shadow: 0 2px 16px 0 rgba(76,255,186,0.07);
  position: relative;
  z-index: 50;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 24px;
  padding: 20px 0;
}
.main-nav a {
  color: #F6F8FB;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 10px;
  border-radius: 10px;
  transition: background 0.18s, color 0.2s;
}
.main-nav a.cta-btn {
  background: #4EA37B;
  color: #fff;
  box-shadow: 0 3px 18px 0 rgba(76,255,186,0.23);
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 1px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 18px;
  margin-left: 8px;
  transition: background 0.18s, box-shadow 0.2s, color 0.2s;
}
.main-nav a.cta-btn:hover, .main-nav a.cta-btn:focus {
  background: #daffe5;
  color: #223B53;
  box-shadow: 0 6px 24px 0 #4EA37B66;
}
.main-nav a:hover, .main-nav a:focus {
  background: #2a445e;
  color: #86efbc;
}
.main-nav img {
  height: 36px;
  margin-right: 16px;
  vertical-align: middle;
}

/* BURGER/MOBILE NAVIGATION ------------------------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #4EA37B;
  position: absolute;
  right: 24px;
  top: 14px;
  z-index: 100;
  border-radius: 8px;
  transition: background 0.2s;
  padding: 2px 10px;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #11202a;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(23, 34, 45, 0.98);
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 22px 24px 0 0;
  background: none;
  border: none;
  color: #4EA37B;
  font-size: 2rem;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #15212e;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: flex-start;
  gap: 8px 0;
  padding: 24px 36px;
}
.mobile-nav a {
  display: block;
  padding: 16px 0;
  font-size: 1.25rem;
  color: #86efbc;
  border-bottom: 1px solid #274a63;
  width: 100%;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:active, .mobile-nav a:focus {
  color: #fff;
  background: #4EA37B44;
  border-radius: 8px;
}

/* RESPONSIVE NAV MEDIA QUERIES --------------------------------------------------------------- */
@media (max-width: 992px) {
  .main-nav {
    flex-wrap: wrap;
    gap: 8px 14px;
    padding: 16px 0;
  }
}
@media (max-width: 900px) {
  .main-nav a:not(.cta-btn):not(:first-child) {
    font-size: 0.98rem;
    padding: 8px 5px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .mobile-menu {
    display: flex;
  }
}

/* HERO & CTA BANNER ------------------------------------------------------------------------ */
.hero {
  width: 100%;
  padding: 68px 0 44px 0;
  background: linear-gradient(120deg, #223B53 60%, #4EA37B 100%);
  box-shadow: 0 8px 56px 0 rgba(33, 111, 104, 0.15);
  position: relative;
  z-index: 1;
}
.hero h1, .hero .subheadline {
  color: #fff;
}
.cta {
  background: #223B53;
  box-shadow: 0 0 16px 0 #121e2c50;
  padding-top: 40px; padding-bottom: 40px;
}
.cta-banner {
  background: #24394f;
  border-radius: 24px;
  box-shadow: 0 4px 36px 0 #4EA37B33;
  text-align: center;
  padding: 32px 20px;
  margin: 0 auto;
  max-width: 700px;
}
.cta-btn {
  display: inline-block;
  background: linear-gradient(90deg, #4EA37B 60%, #31F1C2 100%);
  color: #223B53;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.09rem;
  font-weight: 700;
  padding: 12px 30px;
  border-radius: 28px;
  margin-top: 16px;
  cursor: pointer;
  letter-spacing: 0.8px;
  box-shadow: 0 2px 16px 0 #31F1C265;
  transition: background 0.17s, color 0.17s, box-shadow 0.18s;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #31F1C2 40%, #4EA37B 100%);
  color: #fff;
  box-shadow: 0 4px 24px #31F1C280;
  text-shadow: 0 1px 2px #223B5340;
}
.cta-link {
  color: #31F1C2;
  font-weight: 600;
  text-decoration: underline;
  margin-top: 22px;
  display: inline-block;
  transition: color 0.15s;
}
.cta-link:hover, .cta-link:focus { color: #fff; }

/* FEATURES & CARDS --------------------------------------------------------------------------- */
.features, .services, .about, .faq, .legal, .contact, .confirmation, .testimonials {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.feature-grid, .feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 30px;
  margin-top: 20px;
  list-style: none;
}
.feature-grid li, .feature-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #24394f;
  padding: 20px 18px;
  border-radius: 16px;
  color: #F6F8FB;
  font-weight: 500;
  letter-spacing: .1px;
  box-shadow: 0 1px 8px 0 #4EA37B22;
  min-width: 200px;
  flex: 1 1 210px;
  margin-bottom: 20px;
}
.feature-grid img, .feature-list img {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 0 8px #4EA37BCC);
}

.course-overview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 30px;
  justify-content: space-between;
}
.course-card {
  background: #19252e;
  border: 2px solid #223B53;
  border-radius: 18px;
  box-shadow: 0 2px 18px #31F1C222, 0 1.5px 8px #223B5328;
  flex: 1 1 280px;
  min-width: 250px;
  margin-bottom: 20px;
  padding: 30px 20px 24px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.course-badge {
  display: inline-block;
  background: #31F1C2;
  color: #223B53;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.93rem;
  font-weight: 600;
  border-radius: 12px;
  padding: 5px 18px;
  margin-top: 10px;
  margin-bottom: 0;
  box-shadow: 0 1px 4px #31F1C242;
  letter-spacing: 0.5px;
}
/* Grid for learning methods etc. */
.learning-methods-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-top: 22px;
}
.learning-methods-grid > div {
  background: #24394f;
  padding: 26px 20px 20px 20px;
  border-radius: 16px;
  flex: 1 1 250px;
  min-width: 220px;
  box-shadow: 0 1px 8px #4EA37B22;
  margin-bottom: 20px;
}

/* TESTIMONIALS ------------------------------------------------------------------------------ */
.testimonials {
  background: #1a2530;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 28px 0 32px 0;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 26px 22px 20px 22px;
  background: #F6F8FB;
  color: #223B53;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 4px 28px 0 #4EA37B17, 0 0.5px 3px #223B5326;
  min-width: 240px;
  flex: 1 1 310px;
  border-left: 4px solid #4EA37B;
  position: relative;
}
.testimonial-card p {
  color: #223B53;
  font-size: 1.08rem;
  font-weight: 500;
  margin-bottom: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.testimonial-card span {
  font-size: 0.99rem;
  color: #4EA37B;
  font-weight: 600;
}

/* FAQ ACCORDION & MINI FAQ ------------------------------------------------------------------ */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 30px;
}
.faq-item {
  background: #24394f;
  border-radius: 14px;
  box-shadow: 0 1px 8px #4EA37B13;
  padding: 24px 20px;
  color: #F6F8FB;
  margin-bottom: 20px;
  transition: box-shadow 0.2s;
}
.faq-item:hover, .faq-item:focus-within {
  box-shadow: 0 3px 18px #4EA37B28;
}
.faq-item h3 {
  margin-bottom: 8px;
  color: #31F1C2;
  font-size: 1.18rem;
}
.mini-faq-list {
  list-style: none;
  background: #24394f;
  padding: 18px 16px;
  border-radius: 12px;
  margin-bottom: 20px;
  color: #F6F8FB;
}
.mini-faq-list li {
  margin-bottom: 8px;
  font-size: 1rem;
}

/* ABOUT & LEGAL TEXT BLOCKS ----------------------------------------------------------------- */
.text-section {
  margin-top: 18px;
}
.text-section ul {
  margin-top: 10px;
}
.text-section ul li {
  margin-bottom: 8px;
  padding-left: 2px;
}
.legal {
  background: #19252e;
  border-radius: 14px;
  margin-top: 18px;
}
.legal .text-section h3 {
  color: #4EA37B;
  margin-top: 18px;
}

/* CONTACT PAGE BLOCKS ----------------------------------------------------------------------- */
.contact-info-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 24px 0 10px 0;
}
.address-block, .phone-block, .email-block, .hours-block {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #24394f;
  color: #F6F8FB;
  padding: 14px 16px;
  border-radius: 10px;
  min-width: 210px;
  font-size: 1rem;
}
.address-block img,
.phone-block img,
.email-block img,
.hours-block img {
  width: 20px;
  height: 20px;
  filter: drop-shadow(0 0 8px #4EA37BCC);
}

/* FOOTER ------------------------------------------------------------------------------------ */
footer {
  width: 100%;
  background: #1a2530;
  color: #F6F8FB;
  border-top: 2px solid #2e4258;
  padding: 46px 0 18px 0;
  margin-top: 50px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 16px;
  align-items: center;
}
.footer-nav a {
  color: #86efbc;
  font-size: 0.96rem;
  transition: color 0.18s;
  padding: 3px 9px;
  border-radius: 8px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  background: #274a63;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 18px;
  align-items: center;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.97rem;
}
.footer-contact img {
  width: 20px;
  height: 20px;
  filter: drop-shadow(0 0 3px #4EA37BCC);
}
.footer-copy {
  display: block;
  font-size: 0.92rem;
  color: #557a99;
  margin-top: 10px;
}

/* CONFIRMATION PAGE -------------------------------------------------------------------------- */
.confirmation {
  background: linear-gradient(100deg,#223B53,#4EA37B70);
  border-radius: 20px;
  margin-bottom: 40px;
  box-shadow: 0 2px 28px #31F1C229;
  color: #F6F8FB;
}
.confirmation .cta-btn {
  margin-top: 18px;
}

/* COOKIE CONSENT BANNER & MODAL -------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9500;
  background: #223B53;
  color: #F6F8FB;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 25px 20px 23px 20px;
  box-shadow: 0 -1px 14px #4EA37B44;
  font-size: 1rem;
  animation: cookiebanner-in 0.7s cubic-bezier(.77,0,.18,1);
}
@keyframes cookiebanner-in {
  0% { transform: translateY(80px); opacity:0; }
  100% { transform: translateY(0); opacity:1; }
}
.cookie-banner p { margin-bottom: 0; max-width: 510px; }
.cookie-banner .cookie-btn {
  background: #4EA37B;
  color: #223B53;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  padding: 10px 24px;
  margin-left: 12px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.19s, color 0.12s;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #31F1C2;
  color: #fff;
}
.cookie-banner .cookie-settings-btn {
  background: transparent;
  border: 1.5px solid #4EA37B;
  color: #4EA37B;
  margin-left: 0;
  margin-right: 8px;
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: #15212e;
  color: #fff;
  border-color: #31F1C2;
}

.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: rgba(12, 24, 40, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookie-modal-fadein 0.32s;
}
@keyframes cookie-modal-fadein {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.cookie-modal {
  background: #223B53;
  padding: 38px 24px 30px 24px;
  border-radius: 16px;
  min-width: 320px;
  max-width: 98vw;
  box-shadow: 0 8px 65px #223B5317, 0 1.5px 9px #31F1C240;
  position: relative;
  z-index: 10001;
}
.cookie-modal h3 {
  color: #31F1C2;
  margin-bottom: 18px;
  font-size: 1.18rem;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: #F6F8FB;
}
.cookie-modal-category label {
  font-size: 1rem;
}
.cookie-modal-category input[type='checkbox'] {
  width: 20px;
  height: 20px;
  accent-color: #4EA37B;
  margin-right: 4px;
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 12px;
  background: none;
  border: none;
  color: #31F1C2;
  font-size: 2rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.19s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #15212e;
}
.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.cookie-modal-actions .cookie-btn {
  padding: 10px 22px;
  min-width: 120px;
}
.cookie-modal .cookie-note {
  font-size: 0.95rem;
  color: #86efbc;
  margin-top: 14px;
}

/* FLEXBOX LAYOUTS: CARD CONTAINERS ---------------------------------------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #24394f;
  border-radius: 15px;
  box-shadow: 0 1.5px 7px #223B5317;
  padding: 24px 18px;
  color: #F6F8FB;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  /* Already styled above for readability */
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* GENERIC BUTTONS ------------------------------------------------------ */
button, .cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  outline: none;
  border: none;
}

/* RESPONSIVE MEDIA QUERIES (mobile-first) -------------------------------------- */
@media (max-width: 768px) {
  .container, .content-wrapper, .cta-banner {
    max-width: 100vw;
    padding-left: 8px;
    padding-right: 8px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.33rem; }
  .hero {
    padding: 40px 0 28px 0;
  }
  .feature-grid, .feature-list, .course-overview-grid, .learning-methods-grid, .testimonial-slider {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid li, .feature-list li {
    min-width: 0;
    padding: 16px 10px;
  }
  .course-card, .learning-methods-grid > div, .testimonial-card {
    min-width: 0;
    padding: 22px 12px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .content-grid {
    flex-direction: column;
  }
  .contact-info-grid {
    flex-direction: column;
    gap: 14px;
  }
  .cta-banner {
    padding: 22px 8px;
  }
  .mobile-nav {
    padding: 14px 12px;
  }
  .footer-contact {
    flex-direction: column;
    gap: 10px;
  }
  .footer-nav {
    gap: 10px 14px;
    flex-direction: column;
    align-items: flex-start;
  }
}
/* Extra Small Screens */
@media (max-width: 480px) {
  h1 { font-size: 1.33rem; }
  h2 { font-size: 1.08rem; }
  .cta-btn { font-size: 0.98rem; }
  .feature-grid li, .feature-list li {
    font-size: 0.97rem;
  }
  .testimonial-card p {
    font-size: 0.97rem;
  }
}


/* MODERN MICRO-INTERACTIONS --------------------------------------------------- */
.cta-btn, .main-nav a.cta-btn, .cookie-btn {
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.13s;
}
.cta-btn:hover, .main-nav a.cta-btn:hover, .cookie-btn:hover, .cta-btn:focus, .main-nav a.cta-btn:focus {
  transform: translateY(-1px) scale(1.033);
}
.card, .course-card, .learning-methods-grid > div, .faq-item {
  transition: box-shadow 0.22s, border 0.19s, background 0.18s;
}
.card:hover, .card:focus-within, .course-card:hover, .learning-methods-grid > div:hover {
  box-shadow: 0 6px 32px #31F1C229,0 12px 28px #223B5317;
  border-color: #31F1C2;
  background: #24394f;
}
.feature-grid li:hover, .feature-list li:hover {
  background: #2a445e;
  box-shadow: 0 3px 17px #31F1C222;
}

/* NEON DECORATIVE (subtle bottom glow for cards, not content positioning) */
.card::after, .testimonials .testimonial-card::after, .course-card::after {
  content: '';
  display: block;
  position: absolute;
  left: 18%; right: 18%;
  bottom: 5px;
  height: 4px;
  border-radius: 8px;
  background: #31F1C240;
  filter: blur(6px);
  z-index: 0;
  pointer-events: none;
}

/* ACCESSIBILITY: FOCUS STATE --------------------------------------------------- */
a:focus, button:focus, .cta-btn:focus, .cookie-btn:focus {
  outline: 2px solid #31F1C2;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #4EA37B55, 0 0 4px #31F1C2BB;
}

/* SCROLLBAR MODERN STYLES (webkit) --------------------------------------------- */
::-webkit-scrollbar {
  width: 9px;
  background: #1a2530;
}
::-webkit-scrollbar-thumb {
  background: #223B53;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #4EA37B;
}

/* END OF CSS */
