/* ========================================================================
   CSS RESET & NORMALIZE - Ensures consistency across browsers
   ======================================================================== */
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 {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #091b36;
  color: #F2F2F2;
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
b, strong {
  font-weight: 700;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
  color: inherit;
  padding: 0;
  margin: 0;
}
:focus {
  outline: 2px solid #6FD84C;
  outline-offset: 2px;
}

/* ========================================================================
   BRAND COLORS & FONTS (with fallback for custom properties)
   ======================================================================== */
:root {
  --color-primary: #0D254B;
  --color-secondary: #6FD84C;
  --color-accent: #F2F2F2;
  --color-bg-gradient-start: #112042;
  --color-bg-gradient-end: #1c355d;
  --color-bg-gradient-overlay: #091b36;
  --color-bg-section: #122447;
  --color-bg-card: #152d57;
  --color-black: #091b36;
  --color-white: #F2F2F2;
  --color-neon: #6FD84C;
  --color-error: #fa4747;
  --color-warning: #ffbe3b;
  --color-muted: #c2cbe3;
  --shadow-glow: 0 0 12px 2px #6FD84C66;
  --shadow-card: 0 2px 16px 0 rgba(13,37,75,0.18),0 1.5px 9px 0 rgba(111,216,76,0.12);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* ========================================================================
   TYPOGRAPHY HIERARCHY & BASE STYLES
   ======================================================================== */
h1, .h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.14;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 16px;
  text-shadow: 0 2px 18px #0d254b99;
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--color-neon);
  letter-spacing: -0.5px;
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--color-accent);
  letter-spacing: 0;
}
h4, .h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 8px;
}
p, .p, li {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-accent);
  margin-bottom: 12px;
}
.subheadline {
  font-size: 1.2rem;
  color: var(--color-neon);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
}
.brand-tagline {
  font-size: 1.15rem;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--color-neon);
  margin-bottom: 24px;
}
strong {
  color: var(--color-neon);
  font-weight: 700;
}

/* ========================================================================
   LAYOUT CONTAINERS & SPACING
   ======================================================================== */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* Section backgrounds (applied via class, or by default on <section>) */
section,
.section {
  background: var(--color-bg-gradient-start);
  background: linear-gradient(120deg, var(--color-bg-gradient-start) 50%, var(--color-bg-gradient-end) 100%);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  margin-bottom: 48px;
}

/* Adjust for first & last sections */
section:first-of-type,
.section:first-of-type {
  margin-top: 24px;
}
section:last-of-type,
.section:last-of-type {
  margin-bottom: 0;
}

/* ========== CARD & FLEXBOX SPACING ========= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  background: var(--color-bg-card);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 22px;
  min-width: 260px;
  flex: 1 1 280px;
  transition: transform 0.17s,box-shadow 0.17s;
  border: 1px solid #193366;
}
.card:hover {
  transform: translateY(-4px) scale(1.024);
  box-shadow: 0 0 28px 0 #6FD84C33, var(--shadow-card);
  border-color: var(--color-neon);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F2F2F2;
  color: #152d57;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(13,37,75,0.12);
  position: relative;
  margin-bottom: 20px;
  flex: 1 1 340px;
  min-width: 270px;
  max-width: 420px;
  border-left: 6px solid var(--color-neon);
}
.testimonial-card .testimonial-name {
  display: block;
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 700;
  margin-top: 10px;
}
.testimonial-card .stars {
  margin-left: auto;
  font-size: 1.35rem;
  color: #ffe600;
  letter-spacing: 2px;
  text-shadow: 0 0 2px #d7d03a;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 24px 18px;
  background: #152d57;
  border-radius: 15px;
  box-shadow: 0 1.5px 10px 0 #6FD84C22, 0 1px 6px #02132908;
  border: 1px solid #193366;
  margin-bottom: 20px;
  min-width: 210px;
  flex: 1 1 210px;
  transition: box-shadow 0.16s, border-color 0.15s;
}
.feature-item:hover {
  box-shadow: 0 0 32px 4px #6FD84C3a, var(--shadow-card);
  border-color: var(--color-neon);
}
.feature-item img {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 0 4px #6FD84C);
}

/* ========== FEATURE / TESTIMONIAL/ SERVICE GRIDS =========== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.service-card-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.service-card {
  background: #152d57;
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  padding: 22px 18px;
  margin-bottom: 20px;
  min-width: 220px;
  flex: 1 1 220px;
  border: 1.5px solid #112042;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 0.2s, border 0.17s, filter 0.16s;
  position: relative;
}
.service-card .service-price {
  color: var(--color-neon);
  font-weight: 700;
  font-size: 1.05rem;
  margin-top: 6px;
}
.service-card:hover {
  border: 1.5px solid var(--color-neon);
  box-shadow: 0 0 28px 1px #6FD84C33, var(--shadow-card);
  filter: brightness(1.08);
}

.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
  justify-content: flex-start;
}
.value-list, .benefit-list, .feature-list, .course-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
}
.value-list li, .benefit-list li, .feature-list li, .course-list li {
  background: #122447;
  color: var(--color-accent);
  border-radius: 10px;
  padding: 16px 18px;
  flex: 1 1 260px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.value-list img, .benefit-list img, .feature-list img, .course-list img {
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 0 4px #6FD84C55);
}

.embedded-map-placeholder {
  background: #112042;
  border: 1.5px dashed #6FD84C44;
  color: #b7e5d2;
  border-radius: 12px;
  padding: 21px 15px;
  margin-bottom: 16px;
  font-size: 1.08em;
  text-align: center;
}

/* ========================================================================
   HEADER & NAVIGATION (Desktop)
   ======================================================================== */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 22px 18px 22px;
  background: #091b36;
  box-shadow: 0 2px 24px 0 #0d254b38;
  border-bottom: 2.5px solid #173a62;
  position: relative;
  z-index: 1100;
}
header img {
  height: 48px;
  width: auto;
  margin-right: 20px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
header nav a {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--color-accent);
  padding: 6px 10px;
  border-radius: 16px;
  position: relative;
  transition: color 0.18s, background 0.18s;
}
header nav a.active,
header nav a:hover {
  color: var(--color-neon);
  background: #13275a;
}
.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-neon);
  color: #152d57;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  border-radius: 24px;
  padding: 11px 38px;
  box-shadow: 0 1.8px 12px 0 #6FD84C44, 0 1.5px 9px 0 rgba(13,37,75,0.13);
  letter-spacing: 0.4px;
  border: none;
  margin-left: 24px;
  cursor: pointer;
  transition: background 0.18s, color 0.16s, box-shadow 0.16s, filter 0.13s;
}
.cta-primary:hover, .cta-primary:focus {
  background: #80ff61;
  color: #0d1d40;
  box-shadow: 0 0 18px 2px #6FD84Caa, 0 1.5px 9px 0 rgba(13,37,75,0.16);
  filter: brightness(1.07);
}
.cta-secondary {
  display: inline-flex;
  align-items: center;
  background: #193366;
  color: var(--color-neon);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.06rem;
  border-radius: 20px;
  padding: 10px 27px;
  border: 1.5px solid var(--color-neon);
  margin-top: 10px;
  cursor: pointer;
  transition: background 0.18s, color 0.16s, filter 0.13s;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--color-neon);
  color: #132960;
}

/* ========================================================================
   MOBILE NAVIGATION
   ======================================================================== */
.mobile-menu-toggle {
  display: none;
}
.mobile-menu {
  display: none;
}

@media (max-width: 968px) {
  header nav {
    display: none;
  }
  .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
    position: fixed;
    right: 24px;
    top: 19px;
    z-index: 1501;
    font-size: 2.3rem;
    color: var(--color-neon);
    background: #0D254B;
    border-radius: 14px;
    border: 2.4px solid #193366;
    padding: 6px 17px;
    cursor: pointer;
    box-shadow: 0 2px 12px #0d254b44;
    transition: background 0.2s, color 0.19s;
  }
  .mobile-menu-toggle:active, .mobile-menu-toggle:focus {
    background: #112042;
    color: #a1ff7f;
  }
  .mobile-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background: rgba(17,32,66,0.93);
    backdrop-filter: blur(4px);
    z-index: 1600;
    transform: translateX(-100vw);
    transition: transform 0.33s cubic-bezier(.54,.09,.46,1.19);
    box-shadow: 7px 0 70px #091b3688;
  }
  .mobile-menu.open {
    transform: translateX(0);
  }
  .mobile-menu-close {
    display: inline-flex;
    align-self: flex-end;
    margin: 24px 30px 8px 0;
    font-size: 2.2rem;
    background: none;
    color: #fff;
    cursor: pointer;
    border-radius: 50%;
    border: 1.8px solid var(--color-neon);
    padding: 4px 13px;
    z-index: 1640;
    transition: background 0.18s, color 0.13s;
  }
  .mobile-menu-close:hover, .mobile-menu-close:focus {
    background: #0D254B;
    color: var(--color-neon);
  }
  .mobile-nav {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 17px;
    align-items: flex-start;
    padding: 26px 38px 0 34px;
  }
  .mobile-nav a {
    font-family: var(--font-body);
    font-size: 1.24rem;
    color: #fff;
    background: none;
    border-radius: 16px;
    padding: 13px 0 13px 3px;
    width: 100%;
    display: block;
    transition: background 0.17s, color 0.17s;
  }
  .mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
    background: #152d57;
    color: var(--color-neon);
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 98vw;
    padding: 0 7px;
  }
  .section {
    margin-bottom: 36px;
    padding: 22px 8px;
    border-radius: 10px;
  }
  header {
    padding: 11px 7px;
  }
  header img {
    height: 38px;
    margin-right: 6px;
  }
  .card, .feature-item, .service-card, .testimonial-card {
    min-width: 95vw;
    flex: 1 1 95vw;
    padding: 21px 9px;
  }
  .feature-grid, .service-card-list, .testimonial-list, .card-container, .value-list, .benefit-list, .feature-list, .course-list {
    flex-direction: column;
    gap: 17px !important;
    align-items: stretch;
  }
  .content-grid,
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

/* ========================================================================
   UTILITY AND CONTENT BLOCK CLASSES
   ======================================================================== */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.steps {
  margin-top: 7px;
  margin-bottom: 16px;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.steps li {
  color: var(--color-accent);
  font-size: 1.07rem;
  list-style-type: decimal;
}
.course-schedule {
  margin-top: 19px;
}
.course-schedule h3 {
  color: var(--color-neon);
  margin-bottom: 7px;
  font-size: 1.12rem;
}
.course-schedule ul {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 13px;
  padding: 18px 17px;
  background: #152d57;
  border-radius: 12px;
  border: 1.5px solid #193366;
}
.contact-info-block a {
  color: var(--color-neon);
  word-break: break-all;
}
.info-text {
  background: #112042;
  border-radius: 9px;
  padding: 12px 10px;
  color: #b7e5d2;
  font-size: 1.02rem;
}
.thank-you-text {
  padding: 18px 13px;
  border-radius: 9px;
  background: #112042;
  color: #b7e5d2;
  margin-bottom: 15px;
}
.legal-text {
  background: #122447;
  border-radius: 11px;
  padding: 16px 13px;
  color: #F2F2F2;
}

.cta-section {
  display: flex;
  align-items: center;
  gap: 24px;
}
.cta-section p {
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--color-accent);
}

.footer-info {
  margin-top: 18px;
  text-align: center;
  color: #aaa;
  font-size: 0.95rem;
}

/* ========================================================================
   FOOTER 
   ======================================================================== */
footer {
  background: #0D254B;
  padding: 30px 0 16px 0;
  margin-top: 36px;
  box-shadow: 0 -2px 18px #0d254b33;
  border-top: 2.2px solid #132960;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  margin-bottom: 10px;
}
footer nav a {
  color: var(--color-neon);
  font-size: 1rem;
  font-family: var(--font-body);
  padding: 6px 9px;
  border-radius: 16px;
  transition: background 0.15s, color 0.15s;
}
footer nav a:hover, footer nav a:focus {
  background: var(--color-bg-section);
  color: #fff;
}

/* ========================================================================
   COOKIE CONSENT BANNER & MODAL
   ======================================================================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #111e33fa;
  color: #F2F2F2;
  border-top: 3px solid var(--color-neon);
  padding: 23px 14px 18px 14px;
  box-shadow: 0 -2px 38px 0 #0d254b44;
  z-index: 1900;
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 1rem;
  animation: cookieSlideUp 0.5s ease;
}
@keyframes cookieSlideUp {
  from { opacity:0; transform: translateY(80px); }
  to   { opacity:1; transform: translateY(0); }
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  align-items: center;
}
.cookie-banner button {
  padding: 9px 17px;
  border-radius: 17px;
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 1.6px 7px #0d254b23;
  border: none;
  outline: none;
  transition: background 0.16s, color 0.13s;
}
.cookie-banner .accept {
  background: var(--color-neon);
  color: #152d57;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #b5ff8f;
}
.cookie-banner .reject {
  background: #0d254b;
  color: #F2F2F2;
  border: 1.1px solid var(--color-neon);
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #193366;
  color: var(--color-neon);
}
.cookie-banner .settings {
  background: #193366;
  color: var(--color-neon);
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: var(--color-neon);
  color: #152d57;
}

.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(13,37,75,0.8);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.17s;
  animation: cookieFadeIn 0.38s;
}
@keyframes cookieFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal-content {
  background: #111e33fa;
  color: #fff;
  padding: 32px 23px 22px 23px;
  border-radius: 18px;
  max-width: 440px;
  min-width: 270px;
  box-shadow: 0 2.5px 24px #0d254b88;
  position: relative;
}
.cookie-modal-content h3 {
  color: var(--color-neon);
  font-size: 1.15rem;
  margin-bottom: 13px;
}
.cookie-modal-content ul {
  margin-bottom: 21px;
}
.cookie-modal-content li {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 9px;
  font-size: 1rem;
}
.cookie-modal-content .toggle {
  appearance: none;
  width: 32px;
  height: 18px;
  border-radius: 11px;
  background: #193366;
  position: relative;
  transition: background 0.17s;
  outline: none;
  border: 1px solid #6FD84C44;
  cursor: pointer;
}
.cookie-modal-content .toggle:checked {
  background: var(--color-neon);
}
.cookie-modal-content .toggle:before {
  content: '';
  display: block;
  position: absolute;
  top: 2px;
  left: 2.2px;
  width: 14px; height: 14px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 4px #0d254b33;
  transition: left 0.19s;
}
.cookie-modal-content .toggle:checked:before {
  left: 16px;
}
.cookie-modal-content .close-modal {
  position: absolute;
  top: 10px;
  right: 16px;
  background: none;
  color: #fff;
  font-size: 1.7rem;
  border: none;
  cursor: pointer;
  z-index: 10;
  transition: color 0.13s;
}
.cookie-modal-content .close-modal:hover {
  color: var(--color-neon);
}

@media (max-width:600px) {
  .cookie-modal-content {
    max-width: 96vw;
    min-width: 82vw;
    padding: 16px 7px 14px 7px;
    font-size: 0.97rem;
  }
}

/* ========================================================================
   MICRO-INTERACTIONS & ANIMATIONS
   ======================================================================== */
a, .cta-primary, .cta-secondary, button, .feature-item, .service-card, .card {
  transition: all 0.17s cubic-bezier(.6,.07,.38,.94);
}
h1, h2 {
  transition: text-shadow 0.17s, color 0.17s;
}
.feature-item:hover h3,
.service-card:hover h3,
.card:hover h3 {
  color: var(--color-neon);
}

input[type="checkbox"], input[type="radio"] {
  accent-color: var(--color-neon);
}

/* ========================================================================
   ACCESSIBILITY
   ======================================================================== */
::selection {
  background: var(--color-neon);
  color: #152d57;
}

/* ========================================================================
   SCROLLBAR (modern browsers)
   ======================================================================== */
body::-webkit-scrollbar {
  width: 12px;
}
body::-webkit-scrollbar-thumb {
  background: #193366;
  border-radius: 12px;
}
body::-webkit-scrollbar-track {
  background: #0d254b;
}

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