/* --- RESET & BASE --- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  color: #F6F7F9;
  background: #14192c; /* fallback for deep dark backdrop */
  background-color: #151a2e;
  line-height: 1.55;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a {
  color: #32B09D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #dbfeff;
  outline: none;
}
button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}
button:focus {
  outline: 2px solid #32B09D;
  outline-offset: 2px;
}
ul, ol {
  list-style: none;
}
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #f4faff;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

/* --- CONTAINER & LAYOUT --- */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(33,45,80,0.95);
  border-radius: 18px;
  box-shadow: 0 8px 48px 0 rgba(45,80,150,0.13);
}

@media (max-width: 768px) {
  .section {
    padding: 28px 7px;
    margin-bottom: 32px;
  }
  .container {
    padding: 0 7px;
  }
}

/* --- FLEXBOX PATTERNS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #19224a;
  border-radius: 16px;
  box-shadow: 0 2px 24px 0 rgba(39,122,186,0.09);
  transition: transform 0.25s, box-shadow 0.21s;
}
.card:hover {
  transform: translateY(-4px) scale(1.022);
  box-shadow: 0 4px 44px 0 rgba(50,176,157,0.23);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 24px;
  gap: 10px;
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #f7fcff;
  color: #24304A;
  border-radius: 14px;
  box-shadow: 0 2px 18px 0 rgba(59,168,204,0.10);
  margin-bottom: 20px;
  position: relative;
  min-width: 0;
}
.testimonial-card p {
  font-size: 1.11rem;
  color: #14192c;
  line-height: 1.5;
  margin-bottom: 0;
}
.testimonial-card strong {
  display: block;
  font-size: 0.98rem;
  color: #24447B;
  margin-left: 6px;
  letter-spacing: 0.01em;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #182142;
  border-radius: 14px;
  padding: 24px 18px;
  min-width: 210px;
  box-shadow: 0 2px 18px 0 rgba(59,168,204,0.08);
  transition: box-shadow 0.23s, background 0.3s;
}
.feature-item:hover {
  background: #212e53;
  box-shadow: 0 6px 30px 0 rgba(50,176,157,0.13);
}
.feature-item img {
  width: 40px;
  height: 40px;
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  padding: 56px 0 48px 0;
  background: linear-gradient(95deg, #24447B 0%, #32B09D 96%);
  box-shadow: 0 4px 40px 0 rgba(44,148,248,0.11);
}
.hero h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #f6f7f9;
  font-size: 2.7rem;
  margin-bottom: 10px;
  text-shadow: 0 2px 18px rgba(32,230,215,0.19);
}
.hero .subheadline {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.21rem;
  color: #f4fbfa;
  margin-bottom: 22px;
  letter-spacing: 0.01em;
  line-height: 1.55;
  max-width: 540px;
}
@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.4rem;
  }
  .hero {
    padding: 32px 0 30px 0;
  }
}

/* --- NAVIGATION --- */
header {
  width: 100%;
  background: #19224a;
  position: relative;
  z-index: 12;
  box-shadow: 0 2px 20px 0 rgba(63,126,190,0.12);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 18px;
}
.brand-logo img {
  width: 54px;
  height: auto;
  margin-right: 15px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.03rem;
  color: #d9eaff;
  padding: 7px 10px;
  border-radius: 8px;
  transition: background 0.15s, color 0.21s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: #32B09D;
  background: rgba(50,176,157,0.11);
}
.cta.primary {
  background: #32B09D;
  color: #fff;
  border-radius: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 11px 28px;
  margin-left: 20px;
  box-shadow: 0 2px 16px 0 rgba(47,255,232,0.13);
  letter-spacing: 0.06em;
  transition: background 0.17s, box-shadow 0.18s, color 0.14s, transform 0.20s;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  z-index: 2;
}
.cta.primary:hover, .cta.primary:focus {
  background: #18fece;
  color: #24304A;
  transform: translateY(-2px) scale(1.045);
  box-shadow: 0 4px 32px 0 #19dacf33;
  border: 2px solid #24447B;
}
.cta.secondary {
  background: transparent;
  color: #32B09D;
  border: 2px solid #32B09D;
  border-radius: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 11px 28px;
  margin-top: 26px;
  margin-bottom: 0;
  letter-spacing: 0.06em;
  box-shadow: none;
  transition: background 0.18s, color 0.09s, border 0.16s;
  cursor: pointer;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #32B09D;
  color: #fff;
  border-color: #24447B;
}

/* --- HAMBURGER (MOBILE MENU) --- */
.mobile-menu-toggle {
  display: none;
  font-size: 2.0rem;
  color: #ffffff;
  background: none;
  border: none;
  border-radius: 8px;
  padding: 5px 10px;
  z-index: 21;
  margin-left: 10px;
  transition: background 0.18s, color .12s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #32B09D;
}

@media (max-width: 1040px) {
  .main-nav {
    gap: 7px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 3px;
    font-size: .99rem;
  }
  .cta.primary {
    padding: 10px 19px;
  }
}

@media (max-width: 900px) {
  .main-nav,
  .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* --- MOBILE NAVIGATION MENU --- */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  z-index: 130;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #171d32ee;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 44px 0 rgba(65,241,227,0.15);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.74,0,.21,1.04);
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.25rem;
  color: #32B09D;
  padding: 15px 20px;
  align-self: flex-end;
  transition: color 0.16s;
}
.mobile-menu-close:focus {
  outline: 2px solid #32B09D;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: flex-start;
  padding: 18px 32px 0 32px;
  gap: 14px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.14rem;
  color: #f3fdff;
  padding: 13px;
  border-radius: 7px;
  margin-bottom: 2px;
  width: 100%;
  transition: background 0.14s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #20325d;
  color: #32B09D;
}

@media (min-width: 901px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* --- TABLES --- */
.price-table, .pricing-table {
  width: 100%;
  margin-top: 22px;
  border-collapse: collapse;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 22px 0 rgba(50,112,157,0.06);
  background: #f5fcfc;
}
.price-table th, .pricing-table th {
  background: #32B09D;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 700;
  padding: 13px 7px;
}
.price-table td, .pricing-table td {
  font-family: 'Roboto', Arial, sans-serif;
  color: #24447B;
  font-size: 1.08rem;
  padding: 11px 9px;
  border-bottom: 1px solid #e7eeef;
}
.price-table tbody tr:last-child td, .pricing-table tbody tr:last-child td {
  border-bottom: none;
}

/* --- LISTS, UL, ETC. --- */
.service-list li, .value-list li, .methodology-list li, .personalized-learning-points li, .flexibility-points li, .exam-focus-points li, .benefit-list li {
  font-size: 1.12rem;
  margin-bottom: 12px;
  color: #ebf4f3;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-left: 5px;
}
.value-list li img {
  width: 28px;
  height: 28px;
  margin-right: 5px;
}
.service-list span {
  font-weight: bold;
  color: #32B09D;
  margin-left: 8px;
  letter-spacing: 0.01em;
}
.service-list strong {
  color: #fff;
}

/* --- CARDS & BANNERS --- */
.service-card {
  background: #182142;
  border-radius: 14px;
  box-shadow: 0 2px 20px 0 rgba(39,124,186,0.07);
  padding: 28px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 230px;
  transition: box-shadow 0.19s, background 0.21s;
}
.service-card:hover {
  background: #252f50;
  box-shadow: 0 6px 32px 0 rgba(44,255,220,0.09);
}
.service-card h2 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.service-price {
  color: #32B09D;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: 10px;
}

.cta-banner {
  background: linear-gradient(96deg, #24447B 0%, #32B09D 100%);
  border-radius: 14px;
  color: #fff;
  box-shadow: 0 2px 24px 0 rgba(44,180,210,0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 24px 18px;
  margin-top: 16px;
}
.cta-banner p {
  margin-bottom: 0;
  font-size: 1.13rem;
}
.cta-banner .cta.primary {
  margin-left: 0;
}
@media (max-width: 700px) {
  .cta-banner {
    flex-direction: column;
    gap: 16px;
    padding: 19px 10px;
  }
}

/* --- FOOTER --- */
footer {
  background: #161b30;
  color: #f3fdff;
  margin-top: 48px;
  padding: 0 0 12px 0;
  box-shadow: 0 -2px 20px 0 rgba(65,140,216,0.04);
}
.footer-top {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 34px;
  border-bottom: 1px solid #253360;
  padding: 32px 0 18px 0;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 22px;
}
.footer-menu a {
  color: #32B09D;
  font-size: 1.03rem;
  transition: color 0.14s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #20feab;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #bffbf2;
  font-size: 1rem;
  margin-left: 10px;
}
.footer-contact a {
  color: #32B09D;
  text-decoration: underline;
  transition: color 0.16s;
}
.footer-contact a:hover {
  color: #20feab;
}
.footer-bottom {
  text-align: center;
  color: #95a9cf;
  margin-top: 16px;
  font-size: 0.98rem;
  padding-bottom: 8px;
}
.footer-top img {
  width: 55px;
  margin-right: 12px;
}
@media (max-width: 900px) {
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 22px 0;
  }
  .footer-menu {
    margin: 0 0 10px 0;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }
  .footer-contact {
    margin-left: 0;
  }
}


/* --- TEXT SECTIONS --- */
.text-section {
  margin-bottom: 18px;
  padding-left: 2px;
}
.text-section:last-child {
  margin-bottom: 0;
}
.text-section h2, .text-section h3 {
  color: #32B09D;
  margin-bottom: 10px;
}
.text-section ul {
  margin-top: 9px;
  margin-bottom: 0;
}

/* --- SPECIAL SECTIONS/CLASSES --- */
.digital-materials-overview, .teacher-support, .program-outlines, .success-rate-stat, .next-steps, .map-location, .contact-details, .pricing-details {
  background: #202846;
  border-radius: 10px;
  color: #eefaff;
  padding: 18px 14px;
  margin-bottom: 18px;
  box-shadow: 0 2px 14px 0 rgba(50,176,157,0.09);
}
.success-rate-stat strong {
  color: #32B09D;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}

/* --- RESPONSIVE FEATURE GRIDS --- */
.feature-grid, .service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid > *, .service-grid > * {
  flex: 1 1 240px;
  min-width: 230px;
  max-width: 320px;
}
@media (max-width: 900px) {
  .feature-grid, .service-grid {
    gap: 14px;
  }
  .feature-grid > *, .service-grid > * {
    min-width: 170px;
    max-width: 100%;
  }
}
@media (max-width: 690px) {
  .feature-grid, .service-grid {
    flex-direction: column;
    gap: 12px;
  }
  .feature-grid > *, .service-grid > * {
    min-width: 0;
  }
}

/* --- SPACING SYSTEM --- */
main section, main .section {
  margin-bottom: 60px;
  border-radius: 20px;
}
@media (max-width: 768px) {
  main section, main .section {
    margin-bottom: 32px;
    border-radius: 8px;
  }
}

/* --- ANIMATIONS & EFFECTS --- */
.cta, .service-card, .feature-item, .testimonial-card, .card {
  transition: box-shadow .18s, background .19s, transform .20s;
}
.cta:active { transform: scale(0.96); }
.card:active, .service-card:active, .feature-item:active { transform: scale(0.97); }

/* --- SCROLLBAR STYLING --- */
::-webkit-scrollbar {
  width: 9px;
  background: #182142;
}
::-webkit-scrollbar-thumb {
  background: #24304A;
  border-radius: 11px;
  border: 2px solid #19224a;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #19224A;
  color: #fff;
  padding: 26px 20px 20px 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  z-index: 1200;
  box-shadow: 0 -2px 32px 0 #28ebe29a;
  border-radius: 16px 16px 0 0;
  gap: 20px;
  transform: translateY(100%);
  transition: transform 0.36s cubic-bezier(.69,.03,.25,.99);
}
.cookie-banner.visible {
  transform: translateY(0);
}
.cookie-banner__text {
  flex-grow: 2;
  font-size: 1.11rem;
  line-height: 1.48;
  color: #f4f7fa;
  margin-bottom: 0;
  margin-right: 22px;
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-btn {
  border-radius: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .01em;
  padding: 8px 18px;
  border: none;
  box-shadow: 0 2px 12px 0 #1830b71a;
  transition: background 0.13s, color .13s, box-shadow .15s;
}
.cookie-btn.accept {
  background: #32B09D;
  color: #fff;
}
.cookie-btn.accept:hover {
  background: #18fece;
  color: #24304A;
}
.cookie-btn.reject {
  background: #d0d9e8;
  color: #24447B;
}
.cookie-btn.reject:hover {
  background: #ffdada;
  color: #a31422;
}
.cookie-btn.settings {
  background: #24447B;
  color: #f5faff;
}
.cookie-btn.settings:hover {
  background: #32B09D;
  color: #fff;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 10px;
    padding: 14px 8px 14px 8px;
  }
  .cookie-banner__actions {
    gap: 10px;
    width: 100%;
    flex-wrap: wrap;
  }
}
/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 3001;
  inset: 0 0 0 0;
  background: #162030d0;
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #f7fcff;
  color: #24304A;
  border-radius: 18px;
  max-width: 375px;
  width: 94%;
  padding: 28px 22px 14px 22px;
  box-shadow: 0 4px 44px #12e7e98e;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 4000;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 17px;
  background: none;
  border: none;
  color: #32B09D;
  font-size: 1.8rem;
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #24447B;
}
.cookie-modal h3 {
  color: #32B09D;
  font-size: 1.18rem;
}
.cookie-switch-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-switch {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-switch label {
  font-size: 1.1rem;
  color: #24447B;
  font-weight: 500;
}
.cookie-switch input[type="checkbox"] {
  appearance: none;
  width: 36px;
  height: 20px;
  border-radius: 10px;
  background: #d0e6f6;
  position: relative;
  outline: none;
  transition: background 0.18s;
  cursor: pointer;
}
.cookie-switch input[type="checkbox"]:checked {
  background: #32B09D;
}
.cookie-switch input[type="checkbox"]:disabled {
  background: #b9bdbf;
  opacity: 0.66;
}
.cookie-switch input[type="checkbox"]::before {
  content: '';
  display: block;
  width: 17px;
  height: 17px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 1.5px;
  left: 2px;
  transition: left 0.18s;
}
.cookie-switch input[type="checkbox"]:checked::before {
  left: 17px;
}

/* --- GENERAL RESPONSIVE & TYPOGRAPHY --- */
@media (max-width: 900px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.28rem; }
  h3 { font-size: 1.1rem; }
  .content-wrapper { gap: 18px; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.18rem; }
  h2 { font-size: 1.02rem; }
  .container { padding: 0 4px; }
  .footer-bottom { font-size: 0.94rem; }
}

/* --- VISUAL FOCUS & NEON ACCENTS (Futuristic) --- */
.cta.primary, .cta.secondary, .service-card, .feature-item {
  box-shadow: 0 0 8px 0 #22f2e84c, 0 2px 22px rgba(45,80,150,0.09);
}
.cta.primary:focus, .cta.secondary:focus {
  outline: 2px solid #18fece;
  box-shadow: 0 0 0 4px #32B09D88;
}
.card, .service-card, .feature-item {
  border: 1.3px solid rgba(50,176,157,0.14);
}

.feature-item h3, .service-card h2, .program-outlines h3, .teacher-support h3 {
  color: #32B09D;
}

::-moz-selection { background: #32B09D; color: #fff; }
::selection { background: #32B09D; color: #fff; }

/* ---- SPECIAL UTILITIES & OVERRIDES ---- */
.hide { display: none!important; }
.visually-hidden { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); border:0; }

/* --- END --- */
