/* 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,
main, 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;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
}
body {
  background: #F8F8F8;
  color: #1A2333;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  letter-spacing: 0.02em;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #17A589;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #003366;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #003366;
  margin-bottom: 14px;
}
h1 {
  font-size: 2.75rem;
  line-height: 1.15;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.325rem;
  margin-bottom: 8px;
}
h4 {
  font-size: 1.125rem;
}
p {
  margin-bottom: 14px;
  color: #24344d;
}
strong { font-weight: 700; }
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: #f7fafe;
  box-shadow: 0 2px 12px 0 rgba(0,44,102,0.04);
  z-index: 100;
  position: relative;
}
header .container {
  min-height: 72px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo-link {
  display: flex;
  align-items: center;
  margin-right: 32px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #003366;
  padding: 6px 12px;
  border-radius: 5px;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #eaf5fa;
  color: #17A589;
}
.btn-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  background: linear-gradient(90deg,#17A589 0%,#41dec7 100%);
  color: #fff;
  font-size: 1.1rem;
  border: none;
  border-radius: 6px;
  box-shadow: 0 2px 10px 0 rgba(23,165,137,0.14);
  padding: 12px 28px;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-left: 18px;
  cursor: pointer;
  transition: background 0.25s, box-shadow 0.25s, transform 0.2s;
  display: inline-block;
  text-align: center;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg,#003366 0%,#17A589 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 18px 0 rgba(19,100,158,0.19);
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  background: transparent;
  border: none;
  color: #17A589;
  font-size: 2.2rem;
  display: none;
  margin-left: 20px;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  transition: color 0.2s;
  z-index: 201;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #003366;
}
/* .mobile-menu styles are expanded below for mobile */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(248, 248, 248, 0.99);
  transform: translateX(-110vw);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  z-index: 202;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 48px;
  padding-bottom: 36px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #eaf5fa;
  color: #003366;
  font-size: 1.7rem;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  align-self: flex-end;
  margin: 8px 24px 16px 0;
  cursor: pointer;
  transition: background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #17A589;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 12px 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  color: #003366;
  padding: 13px 0 13px 24px;
  border-radius: 5px;
  font-weight: 500;
  background: none;
  transition: background 0.2s, color 0.2s, padding-left 0.21s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #eaf5fa;
  color: #17A589;
  padding-left: 37px;
}

@media (max-width: 1100px) {
  header .container {
    max-width: 100%;
    padding: 0 12px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 16px;
  }
}
@media (max-width: 820px) {
  header .container {
    gap: 10px;
  }
  .main-nav {
    gap: 10px;
  }
}
@media (max-width: 900px) {
  header .container {
    flex-wrap: wrap;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none !important;
  }
  .btn-primary {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    min-height: 60px;
  }
}

/* ---------- HERO SECTION ---------- */
.hero {
  min-height: 380px;
  width: 100%;
  background: linear-gradient(105deg, #f8f8f8 15%, #eaf5fa 85%);
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  padding: 40px 0 32px 0;
}
.hero .container {
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  text-align: left;
  z-index: 1;
}
.hero h1 {
  color: #003366;
  font-size: 2.3rem;
}
.hero p {
  color: #24344d;
  font-size: 1.15rem;
  margin-bottom: 0;
}
@media (min-width: 850px) {
  .hero {
    padding: 80px 0 56px 0;
  }
  .hero h1 {
    font-size: 3rem;
  }
  .hero .content-wrapper {
    gap: 30px;
  }
}

/* SECTION SPACING, CONTAINER, CARDS, FEATURES */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.text-section {
  gap: 18px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 3px 16px 0 rgba(0,44,102,0.10);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  max-width: 460px;
  transition: box-shadow 0.18s, transform 0.16s;
}
.card:hover {
  box-shadow: 0 12px 36px 0 rgba(0,44,102,0.16);
  transform: translateY(-3px) scale(1.015);
  z-index: 2;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 28px 24px 24px 24px;
}

/* FEATURE GRID & ITEMS */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: flex-start;
  margin: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(23,165,137,0.09);
  min-width: 245px;
  max-width: 350px;
  padding: 27px 26px;
  margin-bottom: 20px;
  transition: box-shadow 0.21s, transform 0.16s;
}
.feature-item:hover {
  box-shadow: 0 6px 30px 0 rgba(23,165,137,0.15);
  transform: translateY(-2px) scale(1.02);
}
.feature-item img {
  width: 46px;
  height: 46px;
  margin-bottom: 10px;
}
.feature-item h3 {
  margin-bottom: 3px;
}
.feature-item p {
  color: #256173;
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .feature-grid {
    gap: 20px;
  }
  .feature-item {
    min-width: 120px;
    max-width: 100%;
    padding: 18px 12px;
  }
}
@media (max-width: 730px) {
  .feature-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature-item {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
}

.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: 20px;
  }
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* TESTIMONIALS */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 12px;
  padding: 20px 28px;
  box-shadow: 0 6px 24px 0 rgba(0,44,102,0.10);
  margin-bottom: 20px;
  font-style: italic;
  font-size: 1.08rem;
  color: #232A39;
  transition: box-shadow 0.2s, transform 0.17s;
}
.testimonial-card p {
  margin-bottom: 0;
  color: #232A39;
}
.testimonial-card div {
  font-style: normal;
  font-size: 1rem;
  color: #17A589;
  font-weight: 500;
  margin-left: 14px;
}
.testimonial-card:hover {
  box-shadow: 0 10px 30px 0 rgba(0,44,102,0.16);
  transform: translateY(-1px) scale(1.018);
}
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 12px;
    font-size: 1rem;
  }
  .testimonial-card div {
    margin-left: 0;
  }
}

/* Call-to-Action (CTA) Section */
.cta {
  background: linear-gradient(90deg, #17A589 0%, #003366 110%);
  border-radius: 18px;
  padding: 40px 28px;
  color: #fff;
  box-shadow: 0 8px 40px 0 rgba(23,165,137,0.08);
  text-align: left;
  align-items: flex-start;
  gap: 19px;
}
.cta h2, .cta p {
  color: #fff;
}
@media (max-width:600px) {
  .cta {
    padding: 24px 10px;
  }
}

/* TABLE (Pricing, FAQ) */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: 0 2px 14px 0 rgba(0,44,102,0.10);
  font-size: 1rem;
}
.pricing-table thead {
  background: #f5fafe;
}
.pricing-table th, .pricing-table td {
  padding: 18px 18px;
  text-align: left;
  border-bottom: 1px solid #e8eef9;
}
.pricing-table th {
  color: #003366;
  font-size: 1.05rem;
  font-weight: 600;
}
.pricing-table tbody tr:last-child td {
  border-bottom: none;
}
@media (max-width: 630px) {
  .pricing-table, .pricing-table thead, .pricing-table tbody, .pricing-table th, .pricing-table td, .pricing-table tr {
    display: block;
    width: 100%;
  }
  .pricing-table th, .pricing-table td {
    padding: 12px 4px;
    border: none;
  }
  .pricing-table tr { margin-bottom: 18px; }
  .pricing-table thead { display: none; }
}

/* FOOTER */
footer {
  width: 100%;
  background: #003366;
  color: #fff;
  padding: 32px 0 12px 0;
  margin-top: 60px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}
footer img {
  height: 48px;
  margin-right: 18px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 18px;
}
.footer-menu a {
  color: #b7e8e1;
  font-size: 0.98rem;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.18s;
  border-radius: 4px;
}
.footer-menu a:hover {
  color: #fff;
  background: #17A589;
}
.footer-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.99rem;
  color: #d5e4f3;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    padding: 0 10px;
  }
}

/* FORM, CONTACT INFO, ICONS */
.text-section img {
  vertical-align: middle;
  margin-right: 10px;
  height: 1.25em;
  width: 1.25em;
}
.text-section p, .text-section li {
  font-size: 1.025rem;
}
.instructor-bio {
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 1px 7px 0 rgba(0,44,102,0.06);
  padding: 20px 18px 14px 18px;
  margin-bottom: 20px;
}
.instructor-bio h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.instructor-bio p {
  margin-bottom: 0;
}

/* GENERAL LAYOUT & RESPONSIVE RULES */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
@media (max-width: 900px) {
  section {
    padding: 30px 0;
    margin-bottom: 40px;
  }
}
@media (max-width: 640px) {
  section {
    padding: 17px 0;
    margin-bottom: 32px;
  }
  .container {
    padding: 0 7px;
  }
}

/* STYLE LINKS IN TEXT */
.text-section a {
  color: #17A589;
  border-bottom: 1.5px dotted #17A589;
  transition: color 0.18s, border 0.21s;
  font-weight: 500;
}
.text-section a:hover, .text-section a:focus {
  color: #003366;
  border-bottom: 1.5px solid #003366;
}

/* MICRO-INTERACTIONS & HOVER EFFECTS */
.button, .btn-primary {
  transition: background 0.23s, color 0.18s, transform 0.16s, box-shadow 0.17s;
}
.card, .feature-item, .testimonial-card, .instructor-bio {
  transition: box-shadow 0.22s, transform 0.15s;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #003366;
  color: #fff;
  z-index: 500;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between;
  padding: 22px 30px;
  box-shadow: 0 -2px 24px 0 rgba(0,44,102,0.18);
  font-size: 1rem;
  gap: 32px;
  min-height: 80px;
  animation: bannerSlideIn 0.52s ease;
}
@media (max-width:750px) {
  .cookie-banner {
    flex-direction: column;
    padding: 17px;
    gap: 14px;
    font-size: 0.98rem;
  }
}
@keyframes bannerSlideIn {
  0% { transform: translateY(100%);} 100% {transform:translateY(0)}
}
.cookie-banner .cookie-message {
  flex-grow: 1;
  max-width: 440px;
  color: #fff;
  font-size: 1.04rem;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-banner button {
  padding: 10px 19px;
  border: none;
  border-radius: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.19s, color 0.19s;
  box-shadow: 0 1px 5px 0 rgba(23,165,137,0.09);
  margin: 2px 0;
}
.cookie-banner .accept {
  background: #17A589;
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #148186;
}
.cookie-banner .reject {
  background: #ffffff;
  color: #003366;
  border: 1px solid #17A589;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #eaf5fa;
  color: #17A589;
}
.cookie-banner .settings {
  background: transparent;
  color: #fff;
  border: 1.5px solid #b7e8e1;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #003366;
  color: #17A589;
  border-color: #17A589;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(0,44,102,0.16);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.25s;
  animation: cookieModalFadeIn 0.28s;
}
@keyframes cookieModalFadeIn {0% {opacity:0;} 100%{opacity:1;}}
.cookie-modal .modal-content {
  background: #fff;
  border-radius: 16px;
  padding: 37px 28px 28px 28px;
  width: 96%;
  max-width: 450px;
  min-width: 0;
  box-shadow: 0 12px 38px 0 rgba(23,165,137,0.17);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal .modal-content h3 {
  color: #003366;
  margin-bottom: 6px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 19px;
  right: 22px;
  font-size: 1.4rem;
  color: #003366;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 5px 9px;
  border-radius: 50%;
  transition: background 0.19s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: #eaf5fa;
}
.cookie-pref-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 6px;
  background: #f7fafe;
  padding: 10px 14px;
}
.cookie-category.essential {
  opacity: 0.75;
}
.category-label {
  font-size: 1rem;
  color: #003366;
  font-weight: 500;
}
.cookie-toggle {
  width: 40px;
  height: 22px;
  border-radius: 11px;
  background: #eaeaea;
  position: relative;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.19s;
  margin-left: 6px;
  display: inline-block;
}
.cookie-toggle[data-state='on'] {
  background: #17A589;
}
.cookie-toggle:after {
  content: '';
  position: absolute;
  left: 4px;
  top: 4px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.17s;
}
.cookie-toggle[data-state='on']:after {
  left: 22px;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 10px;
}
.cookie-modal .modal-actions button {
  flex-grow: 1;
  border-radius: 6px;
  border: none;
  padding: 11px 0;
  font-size: 1.07rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  background: #17A589;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}
.cookie-modal .modal-actions .cancel {
  background: #eaf5fa;
  color: #003366;
}
.cookie-modal .modal-actions button:hover {
  background: #148186;
  color: #fff;
}
.cookie-modal .modal-actions .cancel:hover, .cookie-modal .modal-actions .cancel:focus {
  background: #c7f0e7;
  color: #17A589;
}

/* ACCESSIBILITY, FOCUS STATES */
:focus {
  outline: 2px solid #17A589;
  outline-offset: 2px;
}

/* TYPOGRAPHY SCALE & SPACING */
@media (max-width: 460px) {
  h1 { font-size: 1.48rem; }
  h2 { font-size: 1.1rem; }
}

/* Hide cookie banner/modal by default */
.cookie-banner[hidden], .cookie-modal[hidden] { display: none !important; }

/* Support visually-hidden content if needed */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
}

/* -------- CUSTOM FLEXBOX SPACING EXAMPLES --------  */
.section {
  margin-bottom: 60px; padding: 40px 20px;
}
.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;
}
.testimonial-card {
  display: flex; align-items: center; gap: 20px; padding: 20px;
}
.feature-item {
  display: flex; flex-direction: column; align-items: flex-start; gap: 15px;
}

/* ---------------- END OF STYLE.CSS ---------------- */
