/* === CSS RESET & BASELINE === */
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;
  -webkit-text-size-adjust: 100%;
  height: 100%;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  background: #fff;
  color: #173B6C;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #173B6C;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #FFA500;
}
a:hover, a:active {
  color: #FFA500;
}
ul, ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #173B6C;
  margin-bottom: 24px;
}
h1 { font-size: 2.25rem; line-height: 1.15; margin-bottom: 24px; }
h2 { font-size: 1.5rem; line-height: 1.2; margin-bottom: 16px; }
h3 { font-size: 1.125rem; line-height: 1.3; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 8px; }
p, .text-section p {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #1F2937;
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
  color: #173B6C;
}

/* === LAYOUT CONTAINER === */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* === SECTION SPACING & FLEXBOX === */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(23,59,108,0.03);
}
.features, .services, .about, .contact {
  margin-bottom: 60px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(23,59,108,0.07);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  flex: 1 1 280px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 6px 32px rgba(23,59,108,0.13);
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 24px;
  margin-bottom: 20px;
  background: #F1F5FB;
  border-radius: 14px;
  box-shadow: 0 1px 6px 0 rgba(23,59,108,0.06);
  max-width: 560px;
}
.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: #173B6C;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === HERO === */
.hero {
  background: #F1F5FB;
  box-shadow: none;
  border-radius: 0;
  margin-bottom: 60px;
  padding: 64px 20px 56px 20px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 12px;
}
.hero h1 {
  font-size: 2.5rem;
  color: #173B6C;
  font-weight: 700;
  margin-bottom: 16px;
}
.hero p {
  font-size: 1.125rem;
  color: #334263;
  margin-bottom: 24px;
}
.hero .cta {
  margin-top: 15px;
}

/* === HEADER & NAVIGATION === */
header {
  background: #fff;
  padding: 0;
  border-bottom: 1px solid #F1F5FB;
  box-shadow: 0 2px 8px 0 rgba(23,59,108,0.03);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
  padding-top: 10px;
  padding-bottom: 10px;
}
header a img {
  height: 38px;
  margin-right: 24px;
}
nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
nav a {
  padding: 7px 8px;
  font-size: 16px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  position: relative;
}
nav a.cta {
  background: #173B6C;
  color: #fff;
  border-radius: 24px;
  padding: 8px 22px;
  margin-left: 14px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(23,59,108,0.08);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
nav a.cta:hover, .cta:focus {
  background: #FFA500;
  color: #173B6C;
  box-shadow: 0 6px 24px rgba(255,165,0,0.07);
}

/* === MOBILE NAVIGATION === */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #173B6C;
  font-size: 2rem;
  padding: 10px;
  cursor: pointer;
  z-index: 102;
  transition: color 0.2s;
}
.mobile-menu-toggle:hover {
  color: #FFA500;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(23,59,108,0.97);
  z-index: 500;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0%);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 18px 0 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.1rem;
  cursor: pointer;
  transition: color 0.18s;
  z-index: 1002;
}
.mobile-menu-close:hover {
  color: #FFA500;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 32px;
  gap: 4px;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.25rem;
  color: #fff;
  padding: 16px 32px;
  border-radius: 8px;
  letter-spacing: 0.01em;
  width: 100%;
  transition: background 0.14s, color 0.18s;
  margin-bottom: 2px;
}
.mobile-nav a.cta {
  background: #FFA500;
  color: #173B6C;
  font-weight: 600;
}
.mobile-nav a:hover {
  background: #F1F5FB;
  color: #173B6C;
}

/* === SERVICES/COURSES/BLOG PREVIEW === */
.course-preview,
.blog-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 32px 0 26px 0;
}
.course-preview > div,
.blog-preview > article {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 8px 0 rgba(23,59,108,0.06);
  padding: 24px 20px 16px 20px;
  flex: 1 1 270px;
  min-width: 230px;
  margin-bottom: 0;
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.course-preview > div:hover, .blog-preview > article:hover {
  box-shadow: 0 4px 20px 0 rgba(23,59,108,0.11);
}
.highlight {
  display: inline-block;
  background: #F1F5FB;
  color: #173B6C;
  padding: 3px 11px;
  border-radius: 11px;
  font-size: 0.95em;
  font-weight: 500;
  margin-top: 6px;
}

.categories-list {
  margin-top: 16px;
  font-size: 1rem;
  color: #173B6C;
}
.tag-cloud {
  margin-top: 16px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tag-cloud span {
  background: #F1F5FB;
  color: #173B6C;
  font-size: 0.97em;
  border-radius: 7px;
  padding: 3px 10px;
}

/* === CTA BUTTONS & FORMS === */
.cta {
  display: inline-block;
  background: #173B6C;
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 24px;
  box-shadow: 0 1px 12px 0 rgba(23,59,108,0.08);
  transition: background 0.20s, color 0.20s, box-shadow 0.20s;
  border: none;
  margin-top: 20px;
  cursor: pointer;
  letter-spacing: 0.025em;
}
.cta:hover, .cta:focus {
  background: #FFA500;
  color: #173B6C;
  box-shadow: 0 6px 24px 0 rgba(255,165,0,0.11);
  outline: none;
}

/* === FOOTER === */
footer {
  background: #F1F5FB;
  padding: 0 0 14px 0;
  border-top: 1px solid #e2e8f0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 28px;
  justify-content: center;
  align-items: flex-start;
  padding: 32px 20px 12px 20px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  margin-bottom: 10px;
}
footer nav a {
  font-size: 16px;
  color: #173B6C;
  padding: 2px 2px;
}
.footer-contact {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20px;
  font-size: 15px;
  color: #334263;
}
.footer-contact div {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 180px;
}
.branding {
  font-size: 14px;
  color: #A0AEC0;
  margin-top: 10px;
  padding-bottom: 4px;
}

/* === MISC: LISTS, ICONS, MAPS === */
.text-section ul {
  margin-bottom: 18px;
  padding-left: 0;
}
.text-section li {
  padding-bottom: 6px;
  line-height: 1.5;
  padding-left: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.text-section img, .footer-contact img {
  height: 20px;
  width: 20px;
  vertical-align: middle;
  margin-right: 4px;
}
.map {
  margin-top: 14px;
}
.map p {
  color: #3D4658;
  font-size: 15px;
}

/* === MODALS & BANNERS === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  color: #173B6C;
  box-shadow: 0 -2px 12px 0 rgba(23,59,108,0.09);
  padding: 22px 16px 16px 16px;
  z-index: 9999;
  transition: transform 0.3s cubic-bezier(.77,0,.18,1), opacity 0.2s;
  gap: 14px;
  font-size: 15px;
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0;
}
.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
}
.cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 8px;
}
.cookie-buttons button {
  padding: 9px 18px;
  border-radius: 18px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  background: #F1F5FB;
  color: #173B6C;
  margin: 0;
  transition: background 0.18s, color 0.18s;
}
.cookie-buttons button.accept {
  background: #173B6C;
  color: #fff;
}
.cookie-buttons button.accept:hover, .cookie-buttons button.accept:focus {
  background: #FFA500;
  color: #173B6C;
}
.cookie-buttons button.reject {
  background: #fff;
  border: 1px solid #173B6C;
  color: #173B6C;
}
.cookie-buttons button.reject:hover {
  background: #F1F5FB;
}
.cookie-buttons button.settings {
  background: #FFA500;
  color: #173B6C;
}
.cookie-buttons button.settings:hover {
  background: #173B6C;
  color: #fff;
}

.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(23,59,108,0.45);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.23s;
  pointer-events: auto;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  padding: 36px 28px 24px 28px;
  box-shadow: 0 8px 40px rgba(23,59,108,.16);
  min-width: 290px;
  max-width: 420px;
  z-index: 10011;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modal-enter 0.26s cubic-bezier(.46,1.13,.35,1.07);
}
@keyframes modal-enter {
  from { opacity: 0; transform: translateY(38px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal h2 {
  font-size: 1.17rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  margin-bottom: 10px;
}
.cookie-categories {
  margin-bottom: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 11px 0;
  font-size: 1rem;
  border-bottom: 1px solid #F1F5FB;
}
.cookie-category label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"]:not(:disabled) {
  accent-color: #173B6C;
  width: 18px;
  height: 18px;
}
.cookie-category input[disabled] {
  accent-color: #A0AEC0;
}
.cookie-modal .cookie-buttons {
  margin-top: 5px;
  justify-content: flex-end;
}

/* === RESPONSIVE DESIGN (MOBILE-FIRST) === */
@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  section, .hero {
    padding: 32px 10px;
  }
  .footer-contact {
    flex-direction: column;
    gap: 6px;
    margin-bottom: 10px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.18rem; }
  .container {
    padding: 0 8px;
  }
  .hero {
    padding: 48px 8px 32px 8px;
  }
  .content-wrap, .content-wrapper {
    padding: 0;
  }
  .course-preview,
  .blog-preview {
    flex-direction: column;
    gap: 18px;
  }
  .content-grid {
    flex-direction: column;
    gap: 15px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .card-container {
    flex-direction: column;
    gap: 18px;
  }
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    padding-top: 6px;
    padding-bottom: 6px;
  }
  .footer-contact {
    flex-direction: column;
    gap: 12px;
  }
}
@media (max-width: 540px) {
  section, .hero {
    padding: 20px 2vw;
    border-radius: 0;
  }
  .cookie-modal {
    padding: 20px 7vw 16px 7vw;
    border-radius: 10px;
  }
  .cookie-banner {
    padding: 10px 6px 10px 6px;
    font-size: 14px;
    border-radius: 0;
  }
}

/* === MICRO-INTERACTIONS (TRANSITIONS & HOVERS) === */
nav a, .cta, .card, .testimonial-card, .mobile-menu-toggle, .mobile-menu-close,
.course-preview > div, .blog-preview > article, .cookie-buttons button {
  transition: background 0.17s, color 0.17s, box-shadow 0.20s;
}

/* === UTILITY CLASSES === */
.text-center { text-align: center; }
.d-flex { display: flex; }
.flex-col { flex-direction: column; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-24 { margin-top: 24px; }
.mb-16 { margin-bottom: 16px; }
.gap-24 { gap: 24px; }

/* === ACCESSIBILITY === */
:focus-visible {
  outline: 2px solid #FFA500;
  outline-offset: 2px;
}

/* === PRINT (Optional minimal styles) === */
@media print {
  header, footer, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  section, .container, .content-wrapper { box-shadow: none !important; background: #fff !important; }
}
