/* ------------------------------------------
   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,
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;
}
article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
  display: block;
}
body {
  line-height: 1;
  background: #F6F8FA;
  min-height: 100vh;
  color: #0A2351;
}
ol, ul {
  list-style: none;
}
a {
  background: transparent;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #E7511E;
  outline-offset: 2px;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
h1, h2, h3, h4, h5, h6, strong, b {
  font-weight: 700;
}
button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
}
input, textarea, select, button {
  font-family: inherit;
  font-size: 100%;
  color: inherit;
  outline: none;
}

/* ------------------------------------------
   BRAND FONTS
   ------------------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;700&display=swap');

html {
  font-size: 16px;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #0A2351;
  background: #F6F8FA;
  font-weight: 400;
  letter-spacing: 0.01em;
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
  color: #0A2351;
}
h1 {
  font-size: 2.375rem;  /* 38px */
  line-height: 1.16;
}
h2 {
  font-size: 2rem;    /* 32px */
  line-height: 1.22;
}
h3 {
  font-size: 1.5rem;    /* 24px */
  line-height: 1.27;
}
h4 {
  font-size: 1.125rem;  /* 18px */
}
p, li, address, td, th, dd, dt, span {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #242A3D;
}
strong, b {
  font-weight: 700;
}

/* ------------------------------------------
   UNIVERSAL CONTAINERS & LAYOUT
   ------------------------------------------ */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Sections / Spacing */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 4px 20px rgba(10,35,81,0.07);
  position: relative;
}

/* Responsive Section Styling */
@media (max-width: 900px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  section {
    padding-left: 12px;
    padding-right: 12px;
  }
}
@media (max-width: 600px) {
  section {
    padding: 28px 6px;
    margin-bottom: 38px;
    border-radius: 14px;
  }
}

/* ------------------------------------------
   FLEXBOX PATTERNS
   ------------------------------------------ */
.card-container,
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(10,35,81,0.09);
  border-radius: 20px;
  padding: 28px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 270px;
  transition: box-shadow 0.22s cubic-bezier(.4,0,.2,1), transform 0.18s cubic-bezier(.4,0,.2,1);
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px rgba(231,81,30,0.21);
  transform: translateY(-3px) scale(1.012);
  z-index: 1;
}
.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: #F6F8FA;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(10,35,81,0.07);
  margin-bottom: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Flex Responsive Adjustments */
@media (max-width: 768px) {
  .text-image-section,
  .content-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .card-container, .card-grid {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 12px;
  }
}

/* ------------------------------------------
   HEADER & NAVIGATION
   ------------------------------------------ */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 16px rgba(10,35,81,0.04);
  position: sticky;
  top: 0;
  z-index: 99;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 18px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1rem;
  color: #0A2351;
  padding: 10px 2px;
  border-radius: 4px;
  transition: color 0.16s, background 0.16s;
}
header nav a:hover,
header nav a:focus {
  color: #E7511E;
  background: #F6F8FA;
}
header nav a.cta {
  color: #fff;
  background: #E7511E;
  padding: 10px 26px;
  border-radius: 22px;
  font-weight: 900;
  font-size: 1.09rem;
  box-shadow: 0 2px 8px rgba(231,81,30,0.13);
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
}
header nav a.cta:hover, header nav a.cta:focus {
  background: #0A2351;
  color: #fff;
  box-shadow: 0 6px 24px rgba(10,35,81,0.17);
}

/* Hamburger button */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: #E7511E;
  color: #fff;
  border-radius: 10px;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  transition: background 0.16s, color 0.16s, box-shadow 0.15s;
  box-shadow: 0 2px 8px rgba(231,81,30,0.08);
  position: relative;
  z-index: 103;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #0A2351;
  outline-offset: 2px;
}

@media (max-width: 992px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* ------------------------------------------
   MOBILE MENU
   ------------------------------------------ */
.mobile-menu {
  position: fixed;
  z-index: 9999;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(10,35,81,0.92);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100%);
  transition: transform 0.42s cubic-bezier(.65,.05,.36,1);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 32px 32px 0 0;
  font-size: 2.2rem;
  background: #E7511E;
  color: #fff;
  border-radius: 10px;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.14s;
  box-shadow: 0 2px 8px rgba(231,81,30,0.18);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #0A2351;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 50px 32px 0 32px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  color: #fff;
  font-size: 1.34rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 14px 0 14px 0px;
  border-bottom: 1px solid rgba(246,248,250,0.07);
  transition: color 0.15s, background 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #E7511E;
  background: rgba(231,81,30,0.06);
}
.mobile-nav a:last-child {
  border-bottom: none;
}

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

/* ------------------------------------------
   HERO & CTA BUTTONS
   ------------------------------------------ */
.cta, .cta-btn {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  color: #fff;
  background: #E7511E;
  border-radius: 28px;
  padding: 15px 38px;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow: 0 4px 20px rgba(231,81,30,0.15);
  margin-top: 8px;
  transition: background 0.18s, color 0.15s, transform 0.16s, box-shadow 0.18s;
  border: 0;
}
.cta:hover, .cta:focus {
  background: #0A2351;
  color: #fff;
  transform: scale(1.04);
  box-shadow: 0 8px 32px rgba(10,35,81,0.19);
}

/* ------------------------------------------
   CARDS & FEATURE ELEMENTS
   ------------------------------------------ */
ul {
  padding-left: 0px;
  margin-bottom: 0;
  list-style: none;
}
li {
  margin-bottom: 18px;
  position: relative;
  padding-left: 40px;
  font-size: 1.06rem;
  font-weight: 500;
  color: #0A2351;
  letter-spacing: 0.01em;
}
ul li::before {
  content: '';
  width: 18px;
  height: 18px;
  background: #E7511E;
  border-radius: 4px;
  display: inline-block;
  position: absolute;
  left: 0;
  top: 5px;
}
ul li img {
  margin-right: 12px;
  vertical-align: sub;
  width: 20px;
  height: 20px;
  display: inline-block;
  position: relative;
  top: 3px;
  left: -3px;
}
ul li strong {
  color: #E7511E;
  font-weight: 900;
}

/* Feature List on About and Courses */
section ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (max-width: 800px) {
  ul li {
    font-size: 1rem;
  }
}
@media (max-width: 600px) {
  ul li {
    padding-left: 30px;
  }
  ul li img {
    width: 16px;
    height: 16px;
    left: -3px;
    top: 2px;
  }
}

/* Card & Info Tables */
table {
  width: 100%;
  margin: 20px 0;
  border-collapse: collapse;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(10, 35, 81, 0.07);
  font-size: 1rem;
}
thead tr {
  background: #0A2351;
  color: #fff;
}
th, td {
  padding: 18px 14px;
  border-bottom: 1px solid #F0F3F8;
  text-align: left;
  font-size: 1rem;
}
th {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  font-size: 1.09rem;
}
tr:last-child td {
  border-bottom: none;
}
tbody tr {
  transition: background 0.12s;
}
tbody tr:hover {
  background: #F6F8FA;
}
table {
  margin-bottom: 18px;
}
@media (max-width: 600px) {
  table, thead, tbody, th, td, tr {
    display: block;
    width: 100%;
  }
  thead {
    display: none;
  }
  td {
    padding-left: 48px;
    position: relative;
    border-bottom: 1px solid #F0F3F8;
  }
  td:before {
    content: attr(data-label);
    position: absolute;
    left: 10px;
    top: 12px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 800;
    color: #E7511E;
    font-size: 0.98rem;
    white-space: nowrap;
  }
  tr { margin-bottom: 18px; }
}

/* ------------------------------------------
   TESTIMONIALS & BLOCKQUOTES
   ------------------------------------------ */
.testimonial-card {
  background: #F6F8FA;
  color: #0A2351;
  border-left: 8px solid #E7511E;
  font-size: 1.08rem;
  line-height: 1.7;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(10,35,81,0.12);
  margin-bottom: 20px;
  gap: 20px;
}
.testimonial-card strong {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #0A2351;
}
.testimonial-card p:last-child {
  color: #E7511E;
  font-weight: 900;
  font-size: 1.09rem;
  margin-top: 10px;
}

blockquote {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.19rem;
  font-weight: 700;
  color: #0A2351;
  border-left: 8px solid #E7511E;
  background: #F6F8FA;
  padding: 18px 26px;
  border-radius: 9px;
  margin-bottom: 18px;
}

/* ------------------------------------------
   Footer
   ------------------------------------------ */
footer {
  background: #0A2351;
  color: #fff;
  padding: 54px 0 30px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
footer nav {
  display: flex;
  gap: 24px;
  margin-top: 6px;
}
footer nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  padding: 6px 0;
  margin-right: 0;
  transition: color 0.16s;
}
footer nav a:hover, footer nav a:focus {
  color: #FFB39B;
  text-decoration: underline;
}
footer address {
  font-size: 0.98rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-style: normal;
  color: #F2F7FF;
  text-align: right;
  line-height: 1.7;
}
footer img {
  width: 54px;
  height: auto;
  margin-bottom: 10px;
}
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  footer address {
    text-align: left;
  }
}
@media (max-width: 600px) {
  footer {
    padding: 32px 0 14px 0;
  }
}

/* ------------------------------------------
   BLOG CATEGORIES & TAGS
   ------------------------------------------ */
strong + span, .blog-category {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  color: #E7511E;
  margin-right: 8px;
}
span {
  font-family: 'Roboto', Arial, sans-serif;
  color: #0A2351;
}

/* ------------------------------------------
   FAQ, DL/DT/DD
   ------------------------------------------ */
dl {
  margin-top: 12px;
  margin-bottom: 18px;
}
dt {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #E7511E;
  font-weight: 800;
  margin-top: 14px;
  font-size: 1.1rem;
}
dd {
  margin-left: 0px;
  margin-bottom: 12px;
  color: #0A2351;
}

/* ------------------------------------------
   Animations & Microinteractions
   ------------------------------------------ */
* {
  transition-property: color, background, box-shadow, border, transform;
  transition-duration: 0.16s;
  transition-timing-function: cubic-bezier(.4,0,.2,1);
}
a, button, .card, .testimonial-card,
.cta, .mobile-menu-toggle,
.mobile-menu-close, .cookie-banner {
  transition-property: color, background, box-shadow, border, transform, opacity;
  transition-duration: 0.17s;
  transition-timing-function: cubic-bezier(.4,0,.2,1);
}

/* ------------------------------------------
   Cookie Consent Banner & Modal
   ------------------------------------------ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: #0A2351;
  color: #fff;
  box-shadow: 0 -2px 14px rgba(10,35,81,0.08);
  padding: 24px 20px 20px 20px;
  z-index: 99000;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1.1rem;
  font-family: 'Roboto', Arial, sans-serif;
  gap: 14px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.2s, transform 0.3s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner-btn-group {
  display: flex;
  gap: 18px;
  margin-top: 2px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  background: #E7511E;
  color: #fff;
  border-radius: 100px;
  border: none;
  padding: 10px 28px;
  font-size: 1.08rem;
  cursor: pointer;
  transition: background 0.14s, color 0.14s;
  margin: 0;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #fff;
  color: #E7511E;
}
.cookie-banner button.cookie-settings {
  background: #fff;
  color: #E7511E;
  border: 2px solid #E7511E;
  box-shadow: 0 2px 8px rgba(231,81,30,0.11);
}
.cookie-banner button.cookie-settings:hover, .cookie-banner button.cookie-settings:focus {
  background: #E7511E;
  color: #fff;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 100002;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(10,35,81,0.68);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.32s;
  pointer-events: auto;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: #0A2351;
  border-radius: 24px;
  box-shadow: 0 2px 20px rgba(10,35,81,0.15);
  padding: 34px 24px 24px 24px;
  min-width: 320px;
  max-width: 94vw;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 22px;
}
.cookie-modal h3 {
  color: #E7511E;
  font-size: 1.2rem;
  margin-bottom: 8px;
  font-family: 'Montserrat',Arial, sans-serif;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 18px;
}
.cookie-category label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
.cookie-modal-close {
  align-self: flex-end;
  font-size: 1.6rem;
  line-height: 1;
  background: #fff;
  color: #E7511E;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  margin-bottom: 12px;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #fff;
  background: #E7511E;
}

/* Category toggles */
.cookie-toggle {
  appearance: none;
  outline: none;
  width: 36px;
  height: 20px;
  background: #F6F8FA;
  border: 2px solid #E7511E;
  border-radius: 14px;
  position: relative;
  transition: background 0.16s, border 0.18s;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: #E7511E;
}
.cookie-toggle:before {
  content: '';
  display: block;
  background: #fff;
  border-radius: 50%;
  width: 14px; height: 14px;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: left 0.16s;
}
.cookie-toggle:checked:before {
  left: 18px;
  background: #fff;
}
.cookie-category .cookie-toggle[disabled],
.cookie-category .cookie-toggle[disabled]:before {
  background: #eee;
  cursor: not-allowed;
}
.cookie-category .cookie-toggle[disabled]:before {
  background: #ddd;
}

@media (max-width: 480px) {
  .cookie-modal {
    min-width: 0;
    padding: 22px 8px 16px 8px;
  }
}

/* ------------------------------------------
   RESPONSIVE - TYPOGRAPHY & LAYOUT
   ------------------------------------------ */
@media (max-width: 600px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.22rem; }
  h3 { font-size: 1.05rem; }
  .cta, .cta-btn { padding: 12px 18px; font-size: 0.97rem; }
  .content-wrapper { gap: 10px; }
  .card, .testimonial-card {
    padding: 16px 6px;
    border-radius: 13px;
  }
  .blog-category, .blog-tags {
    font-size: 0.98rem;
  }
}

/* ------------------------------------------
   MISC: ADDRESS, FORMS
   ------------------------------------------ */
address {
  font-style: normal;
  margin-top: 10px;
  color: #30383F;
}

/* ------------------------------------------
   GEOMETRIC DECORATIVE SHAPES
   ------------------------------------------ */
section:after {
  content: '';
  display: block;
  position: absolute;
  top: -22px; right: 28px;
  width: 60px; height: 60px;
  background: #E7511E;
  opacity: 0.05;
  border-radius: 22px 0 44px 0;
  z-index: 0;
}
section:nth-child(even):after {
  left: 24px; right: auto; top: auto; bottom: -22px;
  border-radius: 0 22px 0 44px;
}
@media (max-width: 600px) {
  section:after { display: none; }
}

/* ------------------------------------------
   UTILITIES
   ------------------------------------------ */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.mt-1 { margin-top: 8px; }
.my-2 { margin-top: 18px; margin-bottom: 18px; }
.mb-2 { margin-bottom: 18px; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 18px; }

/* ------------------------------------------
   PRINT OVERRIDES (for fallback)
   ------------------------------------------ */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  section { box-shadow: none !important; background: #fff !important; }
}
