/* CSS RESET & BASE ------- */
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;
  box-sizing: border-box;
  font: inherit;
  vertical-align: baseline;
}
html {
  box-sizing: border-box;
  width: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #fff;
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  color: #1E3956;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a {
  color: #1E3956;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #7BACC6;
  outline: none;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  padding-left: 20px;
  margin-bottom: 24px;
  font-size: 16px;
}
li {
  margin-bottom: 12px;
  line-height: 1.5;
}
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 32px;
}
th, td {
  padding: 12px 16px;
  border-bottom: 1px solid #F2EDE3;
  text-align: left;
}
caption {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1E3956;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 8px;
}

/* TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #1E3956;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  margin-top: 0;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 16px;
}
h4 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}
p {
  font-size: 1rem;
  margin-bottom: 18px;
}
strong, b {
  font-weight: 600;
}
blockquote {
  border-left: 4px solid #7BACC6;
  margin: 20px 0;
  padding: 12px 20px;
  color: #1E3956;
  background: #F2EDE3;
}
address {
  font-style: normal;
  font-size: 1rem;
  color: #1E3956;
  margin-bottom: 18px;
}

/* CONTAINER & LAYOUT ---- */
.container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(30,57,86,0.04);
}

/* FLEXBOX PATTERNS ------- */
.features-grid,
.courses-grid,
.success-story-list,
.testimonials-carousel,
.card-container,
.card-grid,
.content-grid
{
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.features-grid > div,
.courses-grid > div,
.success-story-list > div,
.card,
.blog-post-list > article,
.testimonial-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 18px rgba(30,57,86,0.06);
  padding: 28px 20px;
  min-width: 260px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.18s;
}
@media (hover: hover) and (pointer: fine) {
  .features-grid > div:hover,
  .courses-grid > div:hover,
  .success-story-list > div:hover,
  .blog-post-list > article:hover,
  .testimonial-card:hover {
    box-shadow: 0 6px 28px 0 rgba(30,57,86,0.08);
    transform: translateY(-2px) scale(1.011);
  }
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(30,57,86,0.06);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 20px rgba(30,57,86,0.10);
  padding: 20px;
  margin-bottom: 20px;
  color: #1E3956;
  transition: box-shadow 0.18s, transform 0.18s;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* SPACING & ALIGNMENT ---- */
section {
  margin-bottom: 60px;
}
section:last-child {
  margin-bottom: 0;
}
.main-nav a:not(:last-child) {
  margin-right: 20px;
}
.content-wrapper > * + * {
  margin-top: 18px;
}
div:not(.content-wrapper) > .card,
div:not(.content-wrapper) > .testimonial-card {
  margin-bottom: 20px;
}

/* HERO SECTION ----------- */
.hero {
  background: #F2EDE3;
  border-radius: 0 0 22px 22px;
  margin-bottom: 60px;
  padding-top: 48px;
  padding-bottom: 48px;
}
.hero h1 {
  font-size: 2.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
.hero p {
  font-size: 1.15rem;
}
@media (max-width: 600px) {
  .hero {
    padding: 28px 0 28px 0;
  }
  .hero h1 {
    font-size: 1.4rem;
  }
}

/* BUTTONS --------------- */
.cta, .main-nav .cta, .mobile-nav .cta, .cookie-btn, .cookie-settings-btn {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  background: #1E3956;
  color: #fff! important;
  border: none;
  outline: none;
  border-radius: 22px;
  padding: 12px 32px;
  margin-top: 10px;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(30,57,86,0.08);
  transition: background 0.20s, color 0.20s, box-shadow 0.22s, transform 0.18s;
}
.cta:hover, .main-nav .cta:hover, .cookie-btn:hover, .cookie-settings-btn:hover {
  background: #7BACC6;
  color: #1E3956!important;
  transform: scale(1.025);
  box-shadow: 0 4px 18px rgba(30,57,86,0.12);
}
.cta:active, .main-nav .cta:active, .cookie-btn:active {
  background: #192d48;
}

/* NAVIGATION ------------- */
header {
  background: #fff;
  box-shadow: 0 0 16px 0 rgba(30,57,86,0.06);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 40;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.main-nav {
  display: flex;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  color: #1E3956;
  font-weight: 500;
  padding: 6px 0;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
  margin-right: 0;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F2EDE3;
  color: #7BACC6;
}
.main-nav .cta {
  margin-left: 18px;
}

/* MOBILE NAVIGATION ------ */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  font-size: 2rem;
  color: #1E3956;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 6px;
  margin-left: 18px;
  transition: background 0.15s, color 0.18s;
  z-index: 209;
}
.mobile-menu-toggle:focus {
  background: #F2EDE3;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  position: fixed;
  z-index: 200;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  padding: 36px 24px 22px 24px;
  overflow-y: auto;
  box-shadow: 0 0 48px rgba(30,57,86,.09);
  transform: translateX(-100%);
  transition: transform 320ms cubic-bezier(.41,.31,.35,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  background: none;
  color: #1E3956;
  border: none;
  outline: none;
  padding: 4px 4px;
  margin-bottom: 20px;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.15s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: #F2EDE3;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  color: #1E3956;
  font-weight: 500;
  padding: 10px 0;
  border-radius: 6px;
  width: 100%;
  transition: background 0.14s, color 0.12s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #F2EDE3;
  color: #7BACC6;
}
.mobile-nav .cta {
  margin-top: 16px;
}
@media (max-width: 1020px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: inline-flex; }
  .mobile-menu { display: flex; }
}
@media (min-width: 1021px) {
  .main-nav { display: flex; }
  .mobile-menu-toggle, .mobile-menu { display: none !important; }
}

/* FOOTER ---------------- */
footer {
  background: #F2EDE3;
  padding-top: 44px;
  padding-bottom: 28px;
  color: #1E3956;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 42px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #1E3956;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 4px;
  transition: color 0.15s;
  opacity: 0.90;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #7BACC6;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.footer-contact img {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
}

/* BLOG TAGS ------------- */
.blog-tag {
  display: inline-block;
  background: #7BACC6;
  color: #fff;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 9px;
  margin-right: 8px;
  vertical-align: middle;
}
.blog-post-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
  margin-bottom: 20px;
}
.blog-post-list article {
  min-width: 230px;
}
.blog-post-list article a {
  margin-top: 12px;
  color: #7BACC6;
  font-weight: 600;
  font-size: 15px;
  transition: color 0.15s;
}
.blog-post-list article a:hover { color: #1E3956; }

/* MAP PLACEHOLDER -------- */
.map-placeholder {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
  margin-bottom: 16px;
  background: #F2EDE3;
  border-radius: 10px;
  padding: 14px;
  font-size: 1rem;
}
.map-placeholder img {
  width: 36px; height: 36px;
}

/* PRICING TABLE ---------- */
.pricing-table th {background: #F2EDE3; font-weight: 600; color: #1E3956;}
.pricing-table td {color: #1E3956; background: #fff;}
.pricing-table tr:nth-child(even) td {background: #F8F6F1;}

/* RESPONSIVE BREAKPOINTS -- */
@media (max-width: 900px) {
  .container, footer .container {
    flex-direction: column;
    gap: 30px;
    padding-left: 12px; padding-right: 12px;
  }
  footer .container {
    align-items: flex-start;
  }
  .features-grid,
  .courses-grid,
  .success-story-list,
  .testimonials-carousel,
  .blog-post-list,
  .card-container {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .container,
  .content-wrapper {
    padding-left: 0;
    padding-right: 0;
  }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.25rem; }
  .section, section {
    margin-bottom: 44px;
    padding: 26px 8px 26px 8px;
    border-radius: 9px;
  }
  .features-grid > div, .courses-grid > div, .testimonial-card, .card {
    padding: 18px 12px;
    min-width: 0;
    font-size: 0.97rem;
  }
}
@media (max-width: 540px) {
  body { font-size: 15px; }
  h1 {font-size: 1.15rem;}
  h2 {font-size: 1rem;}
  .container { padding-left: 4px; padding-right: 4px; }
}

/* MICRO-INTERACTIONS ----- */
.cta, .main-nav .cta, .cookie-btn, .cookie-settings-btn {
  transition: background 0.18s, color 0.15s, box-shadow 0.19s, transform 0.12s;
}
.card, .features-grid > div, .testimonial-card, .courses-grid > div, .blog-post-list > article {
  transition: box-shadow 0.17s, transform 0.13s;
}

/* TESTIMONIALS CONTRAST -- */
.testimonial-card,
.success-story-list > .testimonial-card {
  background: #fff;
  color: #1E3956;
  border-left: 5px solid #7BACC6;
  font-size: 1.05rem;
  box-shadow: 0 2px 20px rgba(30,57,86,0.12);
}
.testimonial-card span {
  color: #7BACC6;
  font-size: 1.2rem;
  letter-spacing: 0.11em;
}
/* COOKIE CONSENT --------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5500;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  box-shadow: 0 -2px 32px 0 rgba(30,57,86,0.09);
  border-top: 1px solid #F2EDE3;
  padding: 26px 18px 18px 18px;
  gap: 16px;
}
.cookie-banner p {
  color: #1E3956;
  font-size: 15px;
  margin-bottom: 0;
  text-align: center;
}
.cookie-actions {
  display: flex;
  gap: 16px;
}
.cookie-btn, .cookie-settings-btn {
  background: #1E3956;
  color: #fff! important;
  border-radius: 20px;
  padding: 8px 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  min-width: 80px;
  border: none;
  cursor: pointer;
}
.cookie-btn.reject {
  background: #fff;
  color: #7BACC6! important;
  border: 1.2px solid #7BACC6;
}
.cookie-btn.reject:hover {
  background: #F2EDE3;
  color: #1E3956!important;
  border-color: #1E3956;
}
.cookie-settings-btn {
  background: #7BACC6;
  color: #fff!important;
}
.cookie-settings-btn:hover {
  background: #1E3956;
  color: #fff !important;
}
@media (max-width: 620px) {
  .cookie-actions { flex-direction: column; gap: 10px; }
  .cookie-banner {
    align-items: stretch;
    padding-left: 8px; padding-right: 8px;
  }
  .cookie-btn, .cookie-settings-btn { width: 100%; }
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  left: 0; right: 0;
  top: 0; bottom: 0;
  z-index: 6000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30,57,86,0.32);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.31s;
}
.cookie-modal.open {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 16px;
  max-width: 400px;
  padding: 36px 26px 28px 26px;
  box-shadow: 0 8px 36px rgba(30,57,86,0.07);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  margin: 16px;
}
.cookie-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  font-size: 1.35rem;
  color: #1E3956;
  cursor: pointer;
  border-radius: 6px;
  padding: 2px 6px;
  transition: background 0.14s;
}
.cookie-modal-close:focus,
.cookie-modal-close:hover {
  background: #F2EDE3;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  margin-top: 20px;
  margin-bottom: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-category input[type='checkbox'] {
  accent-color: #7BACC6;
  width: 18px; height: 18px;
  border-radius: 4px;
}
.cookie-category.essential label {
  color: #1E3956;
  font-weight: 600;
}
.cookie-category.essential input {
  display: none;
}

/* ---------- UTILITIES ---------- */
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.space-between { justify-content: space-between !important; }
.center { align-items: center !important; justify-content: center !important; }

/* CUSTOM SCROLLBAR (optional, modern, minimal) */
::-webkit-scrollbar {
  width: 8px;
  background: #F2EDE3;
}
::-webkit-scrollbar-thumb {
  background: #e1e1e1;
  border-radius: 6px;
}

/* FOCUS & ACCESSIBILITY ------- */
a:focus, button:focus, .cta:focus,
.mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 2px solid #7BACC6;
  outline-offset: 1.5px;
}

/* Z-INDEX MANAGEMENT --------- */
header { z-index: 100; }
.mobile-menu { z-index: 200; }
.cookie-banner { z-index: 5500; animation: fadeFromBottom 0.33s cubic-bezier(.42,.31,.38,.94); }
.cookie-modal { z-index: 6000; }

/* ANIMATIONS ------------------- */
@keyframes fadeFromBottom {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes slideInMenu {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(0); }
}
@keyframes slideOutMenu {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* BRAND FONTS IMPORT ----------- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500,600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
