/* ===============================
   PYROCITE FLUX GLOBAL CSS RESET
   =============================== */
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;
}
html {
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background: #FCFDFE;
  color: #203979;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  min-height: 100vh;
}
*, *::before, *::after {
  box-sizing: inherit;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}
h1, h2, h3, h4, h5, h6 {
  color: #203979;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0.5px;
}
h1 { font-size: 2.4rem; margin-bottom: 18px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; }
h4, h5, h6 { font-size: 1.125rem; margin-bottom: 6px; }
p, li, blockquote {
  font-size: 1rem;
}
strong {  font-weight: 700; }

/* ===============================
   BRAND STRUCTURE & MAIN LAYOUT
   =============================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

@media (min-width: 768px) {
  .section {
    padding: 60px 0;
    margin-bottom: 64px;
  }
  .content-wrapper {
    gap: 32px;
  }
}

/* Geometric Grids & Cards */
.card-container,
.course-cards,
.pricing-table {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 28px;
}
@media (max-width: 640px) {
  .card-container,
  .course-cards,
  .pricing-table {
    flex-direction: column;
    gap: 20px;
  }
}
.card, .service-card, .plan-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(32, 57, 121, 0.06), 0 1.5px 4px rgba(32, 57, 121, 0.05);
  border: 2px solid #e8eaf6;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 255px;
  max-width: 320px;
  flex: 1 1 280px;
  padding: 30px 24px 26px 24px;
  transition: box-shadow 0.2s;
}
.card:hover, .service-card:hover, .plan-card:hover {
  box-shadow: 0 8px 32px rgba(32, 57, 121, 0.11), 0 3px 12px rgba(255, 185, 0, 0.06);
  border-color: #2039791A;
  z-index: 2;
}

/* Utility geometric styling */
.card, .service-card, .plan-card {
  clip-path: polygon(0 0, 94% 0, 100% 5%, 100% 100%, 0 100%);
}

/* ===============================
   HERO SECTION
   =============================== */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #203979;
  color: #FCFDFE;
  border-bottom: 8px solid #FFB900;
  min-height: 265px;
  margin-bottom: 42px;
  padding-top: 50px;
  padding-bottom: 44px;
}
.hero h1 {
  color: #fff;
  margin-bottom: 18px;
  font-size: 2.4rem;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.5px;
  font-weight: 800;
  text-shadow: 0 2px 6px rgba(32,57,121,0.15);
}
.hero p {
  color: #f4f8ff;
  font-size: 1.1rem;
  max-width: 540px;
}
@media (max-width: 767px) {
  .hero {
    min-height: 140px;
    padding: 18px 0 20px 0;
    border-bottom-width: 6px;
  }
  .hero h1 {
    font-size: 1.55rem;
  }
}

/* ===============================
   HEADER & NAVIGATION
   =============================== */
header {
  background: #FCFDFE;
  border-bottom: 2.5px solid #E1E6F4;
  z-index: 20;
  position: relative;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
  justify-content: flex-start;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
}
header nav a {
  font-family: inherit;
  padding: 6px 10px;
  border-radius: 7px;
  color: #203979;
  transition: background 0.12s, color 0.12s;
  position: relative;
  letter-spacing: 0.01em;
}
header nav a.cta {
  background: #FFB900;
  color: #203979;
  padding: 7px 22px;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 150px 16px 150px 16px/18px 60px 18px 45px;
  box-shadow: 0 1.5px 7px rgba(255,185,0,0.06);
  margin-left: auto;
  border: 2.5px solid #20397910;
  transition: background 0.16s, color 0.16s;
}
header nav a.cta:hover,
.cta:hover {
  background: #203979;
  color: #FFB900;
  border-color: #FFB90060;
}
header nav a:hover {
  background: #EAF2FF;
  color: #203979;
}
header nav img {
  height: 36px;
  width: auto;
  margin-right: 7px;
  border-radius: 0 8px 0 8px;
}

/* Hamburger menu (mobile) */
.mobile-menu-toggle {
  display: none;
  background: #203979;
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 13px 13px 40px 40px;
  padding: 7px 14px 7px 14px;
  margin-left: auto;
  cursor: pointer;
  transition: background 0.17s;
  z-index: 201;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #FFB900;
  color: #203979;
}
@media (max-width: 900px) {
  header nav a:not(.cta):not(:first-child) {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
/* Mobile Menu Off-canvas */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(32,57,121,0.97);
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(.77,0,.18,1);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding-top: 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #FFB900;
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 0 28px 12px 0;
  cursor: pointer;
  z-index: 202;
  padding: 2px 12px;
  border-radius: 12px;
  transition: background 0.18s, color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #FFB900;
  color: #203979;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: start;
  margin-left: 38px;
  margin-top: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.2rem;
  padding: 14px 0 8px 0;
  letter-spacing: 0.02em;
  border-bottom: 2.5px solid transparent;
  margin-bottom: 3px;
  transition: color 0.18s, border-bottom 0.18s;
  border-radius: 4px;
  width: 100%;
  display: block;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  color: #FFB900;
  border-bottom: 2.5px solid #FFB900;
  background: #20397917;
}

@media (max-width: 768px) {
  header nav {
    flex-wrap: wrap;
    gap: 14px;
    padding: 13px 0;
  }
  .mobile-menu-toggle {
    font-size: 1.7rem;
    padding: 4px 13px;
  }
}
/* ===============================
   BUTTONS, CTAs, LINKS
   =============================== */
.cta {
  background: #FFB900;
  color: #203979;
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 13px 36px;
  border-radius: 32px 11px 32px 11px / 17px 38px 16px 36px;
  box-shadow: 0 2px 8px rgba(32, 57, 121, 0.08);
  border: 2px solid #2039791A;
  text-transform: uppercase;
  margin-top: 14px;
  cursor: pointer;
  transition: background 0.13s, color 0.13s, box-shadow 0.15s;
}
.cta:focus,
.cta:hover {
  background: #203979;
  color: #FFB900;
  border-color: #FFB90055;
  box-shadow: 0 6px 20px rgba(255,185,0,0.15);
}
button, [type="button"], [type="submit"] {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  cursor: pointer;
  transition: background 0.13s, color 0.13s;
}

/* ===============================
   FLEXBOX CONTENT PATTERNS
   =============================== */
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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: 15px;
  }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #FCFDFE;
  border: 2.5px solid #E3E9F1;
  border-radius: 16px 44px 16px 44px / 22px 34px 30px 38px;
  box-shadow: 0 2.5px 10px rgba(32, 57, 121, 0.05);
  margin-bottom: 20px;
  transition: box-shadow 0.2s;
  color: #232D51;
  max-width: 620px;
}
.testimonial-card:hover {
  box-shadow: 0 10px 36px rgba(32,57,121,0.13), 0 6px 18px rgba(255,185,0,0.07);
}
.testimonial-card blockquote {
  font-size: 1.13rem;
  color: #203979;
  font-family: 'Montserrat', Arial, sans-serif;
  line-height: 1.42;
  margin-bottom: 4px;
}
.testimonial-card span {
  font-size: 1rem;
  color: #203979;
  font-family: 'Montserrat', Arial, sans-serif;
}
.testimonial-card div {
  font-size: 0.98rem;
  color: #FFB900;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.05em;
}
/* Proper color contrast for testimonials */
.testimonial-card,
.testimonial-card blockquote,
.testimonial-card span {
  color: #232D51;
  background: #FCFDFE;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Content grid alt for features */
ul {
  margin-bottom: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

@media (max-width: 640px) {
  .card, .service-card, .plan-card {
    min-width: 0;
    width: 100%;
    max-width: none;
    padding-left: 16px;
    padding-right: 16px;
  }
  .testimonial-card {
    max-width: 100%;
  }
}

/* ===============================
   PLAN CARDS / PRICING TABLE
   =============================== */
.pricing-table {
  width: 100%;
  justify-content: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.plan-card {
  min-width: 235px;
  max-width: 300px;
  flex: 1 1 250px;
  padding: 30px 22px 24px 22px;
  background: #fff;
  border-radius: 16px 38px 16px 38px / 28px 22px 22px 38px;
  border: 2.5px solid #E1E6F4;
  box-shadow: 0 2.5px 12px rgba(32, 57, 121, 0.07);
  color: #232D51;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.18s, border-color 0.21s;
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.plan-card strong {
  color: #FFB900;
  font-size: 1.19rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-top: 11px;
}
.plan-card:hover {
  box-shadow: 0 7px 30px rgba(32, 57, 121, 0.13);
  border-color: #FFB90013;
}

/* ===============================
   TEXT-SECTION/INFORMATIVE
   =============================== */
.text-section {
  margin-bottom: 12px;
}
.text-section h3 {
  font-size: 1.15rem;
  color: #203979;
  margin-bottom: 6px;
}
 

/* ===============================
   FOOTER
   =============================== */
footer {
  background: #203979;
  border-top: 8px solid #FFB900;
  color: #fff;
  padding: 32px 0 0 0;
  font-size: 1rem;
  width: 100%;
  margin-top: 44px;
}
footer .container {
  padding-bottom: 8px;
}
footer .content-wrapper {
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
  gap: 34px;
  align-items: flex-start;
}
footer img {
  width: 44px;
  height: auto;
  border-radius: 7px 0 14px 0;
  margin-bottom: 13px;
}
footer nav {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
footer nav a {
  color: #FCFDFE;
  padding: 0 5px;
  border-radius: 3px;
  font-size: 0.99rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  transition: background 0.11s, color 0.11s;
}
footer nav a:hover {
  background: #FFB900;
  color: #203979;
}
footer .text-section {
  max-width: 320px;
  color: #f4f8ff;
  font-size: 0.91rem;
}
footer strong {
  color: #FFB900;
}
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
}
@media (max-width: 600px) {
  footer {
    font-size: 0.98rem;
    padding: 19px 0 0 0;
  }
}

/* ===============================
   SCROLLBAR STYLING
   =============================== */
::-webkit-scrollbar {
  width: 8px;
  background: #E8EBF5;
}
::-webkit-scrollbar-thumb {
  background: #20397944;
  border-radius: 3.5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #FFB90088;
}

/* ===============================
   ANIMATIONS & MICRO-INTERACTIONS
   =============================== */
.card, .service-card, .plan-card, .testimonial-card {
  transition: box-shadow 0.22s, transform 0.16s;
}
.card:hover, .service-card:hover, .plan-card:hover, .testimonial-card:hover {
  transform: translateY(-4px) scale(1.021);
  box-shadow: 0 10px 40px rgba(32,57,121,0.10), 0 4px 16px rgba(255,185,0,0.07);
  z-index: 2;
}
.cta, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.19s, color 0.2s, box-shadow 0.13s;
}

/* ===============================
   TYPOGRAPHY & VISUAL HIERARCHY
   =============================== */
@media (max-width: 767px) {
  h1 { font-size: 1.48rem; }
  h2 { font-size: 1.13rem; }
  .hero h1 { font-size: 1.6rem; }
}

/* ==========================
   COOKIE CONSENT BANNER
   ========================== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #203979;
  color: #fff;
  border-top: 3.5px solid #FFB900;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 16px 18px 16px;
  z-index: 3000;
  box-shadow: 0 -2px 12px rgba(32,57,121,0.15);
  font-size: 0.99rem;
  gap: 11px;
  animation: fadeupcookie 0.6s cubic-bezier(.88,-.2,.55,1.18);
}
@keyframes fadeupcookie {
  from { opacity: 0; transform: translateY(60px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 13px;
  margin-top: 4px;
}
.cookie-banner button,
.cookie-banner .cookie-settings-btn {
  border: none;
  padding: 9px 18px;
  border-radius: 16px 38px 16px 38px / 18px 22px 22px 28px;
  background: #FFB900;
  color: #203979;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.16s, color 0.15s;
}
.cookie-banner button:hover {
  background: #f4c93a;
}
.cookie-banner .cookie-settings-btn {
  background: #fff;
  color: #203979;
  border: 2px solid #FFB90060;
}
.cookie-banner .cookie-settings-btn:hover {
  background: #EAF2FF;
  color: #203979;
}

/* =========================
   COOKIE PREFERENCES MODAL
   ========================= */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  z-index: 4000;
  background: rgba(32, 57, 121, 0.62);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeincookie 0.13s cubic-bezier(.77,0,.18,1);
}
@keyframes fadeincookie {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #203979;
  border-radius: 22px 32px 18px 38px/22px 32px 18px 38px;
  box-shadow: 0 6px 36px rgba(32, 57, 121, 0.15);
  min-width: 300px;
  max-width: 98vw;
  width: 440px;
  padding: 40px 26px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: popupcookie 0.22s cubic-bezier(.76,.18,.11,1.01);
}
@keyframes popupcookie {
  from { transform: scale(0.89); opacity: 0.6; }
  to   { transform: scale(1); opacity: 1;   }
}
.cookie-modal h2 {
  font-size: 1.17rem;
  color: #203979;
  margin-bottom: 12px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  margin: 8px 0;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #FFB900;
  width: 18px;
  height: 18px;
  margin-right: 7px;
  border-radius: 5px;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  margin-top: 20px;
  justify-content: flex-end;
}
.cookie-modal .close-modal-btn {
  position: absolute;
  right: 16px;
  top: 12px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #203979;
  cursor: pointer;
  padding: 0 7px;
  border-radius: 8px;
  transition: background 0.13s, color 0.15s;
}
.cookie-modal .close-modal-btn:hover {
  background: #FFB900;
  color: #203979;
}
.cookie-modal .category-desc {
  color: #42527c;
  margin-left: 30px;
  font-size: 0.96rem;
}

/* ===============================
   RESPONSIVE DESIGN
   =============================== */
@media (max-width: 991px) {
  .card-container, .content-grid, .pricing-table, .course-cards {
    gap: 15px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 99vw;
    padding-inline: 12px;
  }
  .content-wrapper {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .section {
    padding: 24px 0;
    margin-bottom: 42px;
  }
  .card-container, .content-grid, .pricing-table, .course-cards {
    flex-direction: column;
    gap: 18px;
    margin-bottom: 16px;
  }
  .footer .text-section {
    max-width: 100%;
  }
}
/* ===============================
   ACCESSIBILITY 
   =============================== */
:focus-visible {
  outline: 2px solid #FFB900;
  outline-offset: 2px;
}

/* ===============================
   ADDITIONAL GEOMETRIC DECOR
   =============================== */
.card::before, .plan-card::before,
.service-card::before {
  content: '';
  position: absolute;
  top: -18px;
  right: -18px;
  width: 33px;
  height: 33px;
  background: #FFB90044;
  z-index: 0;
  border-radius: 4px 19px 4px 13px;
  transform: rotate(18deg);
  pointer-events: none;
  display: block;
}
.card::after, .plan-card::after,
.service-card::after {
  content: '';
  position: absolute;
  left: -14px;
  bottom: -12px;
  width: 17px;
  height: 17px;
  background: #20397911;
  border-radius: 0 7px 12px 0;
  transform: rotate(-13deg);
  pointer-events: none;
  z-index: 0;
}

/* ===============================
   PRINT OVERRIDE
   =============================== */
@media print {
  .mobile-menu, .cookie-banner, .cookie-modal-overlay {
    display: none !important;
  }
}