/* =============================
   CSS RESET AND 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;
  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.5;
  background: #ffffff;
  color: #1A2233;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a {
  color: #1A2233;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #E2A720;
}
ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* ============ BRAND FONTS =============== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.75rem; line-height: 1.15; }
h2 { font-size: 2rem; line-height: 1.18; }
h3 { font-size: 1.3rem; line-height: 1.21; }
h4, h5, h6 { font-size: 1.1rem; }

p, li, address {
  font-size: 1.07rem;
  line-height: 1.7;
  color: #21293C;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 500;
}
strong {
  font-weight: bold;
}

/* =============================
   CONTAINER & LAYOUT
   ============================= */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

/* ===============
  MAIN SECTIONS
================ */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ================
    BOLD COLORS
================== */
:root {
  --brand-primary: #1A2233;
  --brand-secondary: #E2A720;
  --brand-accent: #FFFFFF;
  --brand-bg-light: #F7F7FA;
  --brand-bg-card: #fff;
  --shadow: 0 6px 32px 0 rgba(26,34,51,0.07), 0 1.5px 3px 0 rgba(26,34,51,0.12);
}

/* CTA BUTTONS */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-secondary);
  color: var(--brand-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.14rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  border-radius: 30px;
  padding: 16px 40px;
  transition: background 0.18s, color 0.18s, transform 0.15s;
  box-shadow: 0 4px 20px 0 rgba(226,167,32,0.11);
  border: none;
  margin-top: 12px;
}
.cta-button:hover, .cta-button:focus {
  background: var(--brand-primary);
  color: #fff;
  transform: translateY(-2px) scale(1.035);
}

/* =============================
   HEADER & NAVIGATION
   ============================= */
header {
  background: var(--brand-primary);
  box-shadow: 0 3px 24px 0 rgba(26,34,51,0.14);
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0 0 0 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 0 20px;
  min-height: 70px;
}
header img {
  height: 48px;
  width: auto;
}
nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.03rem;
  color: var(--brand-accent);
  padding: 10px 14px;
  border-radius: 7px;
  transition: background 0.18s, color 0.16s;
}
nav a:hover, nav a:focus {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
nav .cta-button {
  color: var(--brand-primary);
  background: var(--brand-secondary);
  margin-left: 6px;
}
nav .cta-button:hover {
  background: #fff;
  color: var(--brand-primary);
}

/* MOBILE MENU BUTTON */
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  background: none;
  color: var(--brand-accent);
  border: none;
  margin-left: 12px;
  transition: color 0.19s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  color: var(--brand-secondary);
}

/* =============================
    MOBILE MENU
============================= */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  max-width: 94vw;
  height: 100vh;
  z-index: 9999;
  background: var(--brand-primary);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.42, 0, 0.21, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 26px 24px 32px;
  box-shadow: -8px 0 34px 0 rgba(26,34,51,0.23);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.1rem;
  color: var(--brand-secondary);
  align-self: flex-end;
  background: none;
  margin-bottom: 24px;
  padding: 0 8px;
  border-radius: 5px;
  transition: background 0.12s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: rgba(255,255,255,0.08);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.2rem;
  color: var(--brand-accent);
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 13px 0;
  border-radius: 6px;
  font-weight: 700;
  transition: background 0.13s, color 0.13s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
@media (max-width: 980px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    gap: 0;
  }
}
@media (min-width: 981px) {
  .mobile-menu {
    display: none !important;
  }
}

/* =============================
   HERO + BOLD HEADINGS
============================= */
section:first-of-type h1 {
  font-size: 2.75rem;
  margin-bottom: 14px;
  color: var(--brand-primary);
  font-weight: 900;
  letter-spacing: 0.01em;
}

@media (max-width: 768px) {
  section {
    padding: 30px 8px;
    margin-bottom: 36px;
  }
  h1 {
    font-size: 2.1rem;
  }
  h2 {
    font-size: 1.49rem;
  }
  h3 {
    font-size: 1.13rem;
  }
}

/* =============================
   FEATURES GRIDS AND FLEX CARDS
============================= */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 12px;
  width: 100%;
  justify-content: flex-start;
}
.features-grid > div {
  flex: 1 1 220px;
  background: var(--brand-bg-card);
  border-radius: 18px;
  box-shadow: var(--shadow);
  min-width: 220px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  padding: 28px 22px 22px 22px;
  transition: box-shadow 0.18s, transform 0.19s;
  border: 2.5px solid var(--brand-bg-light);
}
.features-grid > div img {
  height: 44px;
  width: 44px;
  margin-bottom: 8px;
}
.features-grid > div h3 {
  color: var(--brand-primary);
  font-size: 1.22rem;
  margin-top: 0;
  margin-bottom: 5px;
}
.features-grid > div p {
  font-size: 1rem;
  color: #21293C;
}
.features-grid > div:hover {
  box-shadow: 0 10px 32px 0 rgba(26,34,51,0.14);
  transform: translateY(-3px) scale(1.025);
  border-color: var(--brand-secondary);
}

@media (max-width: 900px) {
  .features-grid {
    gap: 18px;
  }
  .features-grid > div {
    min-width: 150px;
    padding: 20px 13px 17px 14px;
  }
}
@media (max-width: 640px) {
  .features-grid {
    flex-direction: column;
    gap: 20px;
  }
  .features-grid > div {
    width: 100%;
    min-width: unset;
    max-width: unset;
    flex: 1 1 100%;
  }
}

/* =============================
   CARDS & SECTION PATTERNS
============================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--brand-bg-card);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 26px 22px 20px 22px;
  margin-bottom: 20px;
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.19s, transform 0.18s;
  border: 2.2px solid #f3eeee;
}
.card h3 {
  margin-top: 6px;
  color: var(--brand-primary);
  font-size: 1.14rem;
}
.card p {
  color: #21293C;
  font-size: 1rem;
  font-weight: 500;
}
.card:hover {
  box-shadow: 0 11px 38px -2px rgba(26,34,51,0.18);
  transform: translateY(-2px) scale(1.022);
  border-color: var(--brand-secondary);
}
@media (max-width: 900px) {
  .card {
    min-width: 170px;
    padding: 18px 12px 13px 13px;
  }
}
@media (max-width: 640px) {
  .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .card {
    width: 100%;
    min-width: unset;
    max-width: unset;
    flex: 1 1 100%;
  }
}

/* Course cards, post-list, curriculum-snippet reuse card style */
.course-cards,
.post-list, 
.curriculum-snippet ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
  margin-top: 12px;
}
.curriculum-snippet strong {
  color: var(--brand-primary);
  font-weight: 800;
  margin-bottom: 6px;
  display: block;
}
@media (max-width: 640px) {
  .course-cards,
  .post-list,
  .curriculum-snippet ul {
    flex-direction: column;
    gap: 19px;
  }
}

/* Spacing, List and Section */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =============================
   TESTIMONIAL CARDS
============================= */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff9ea;
  border-radius: 15px;
  box-shadow: 0 5px 32px -2px rgba(226,167,32,0.11);
  padding: 20px;
  margin-bottom: 20px;
  border: 2.7px solid #FFECCF;
  color: #1A2233;
  font-family: 'Open Sans', Arial, sans-serif;
  transition: box-shadow 0.17s, transform 0.15s;
  font-size: 1.07rem;
}
.testimonial-card p {
  color: #1A2233;
  font-weight: 700;
  margin-bottom: 0;
}
.testimonial-card strong {
  color: var(--brand-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 1.03rem;
}
.testimonial-card:hover {
  box-shadow: 0 18px 50px -7px rgba(226,167,32,0.19);
  transform: scale(1.018);
  background: #fff5d6;
}

/* =============================
   BLOG CATEGORY FILTERS
============================= */
.category-filter ul, .filter-options ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 9px;
}
.category-filter li, .filter-options li {
  padding: 9px 19px;
  border-radius: 30px;
  background: #F7F7FA;
  color: var(--brand-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.17s, color 0.17s;
  border: 1.6px solid #ebe4d3;
}
.category-filter li:hover, .filter-options li:hover {
  background: var(--brand-secondary);
  color: #fff;
  border-color: var(--brand-secondary);
}

/* =============================
  FOOTER
============================= */
footer {
  padding: 38px 0 24px;
  background: var(--brand-primary);
  color: var(--brand-accent);
  font-family: 'Open Sans', Arial, sans-serif;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
  border-bottom: 1.5px solid #262D41;
  padding-bottom: 16px;
}
.footer-menu a {
  color: #FFD768;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.04rem;
  transition: color 0.16s;
}
.footer-menu a:hover {
  color: #fff;
}
footer .contact-info {
  display: flex;
  flex-direction: column;
  gap: 11px;
  align-items: flex-start;
}
footer .contact-info img {
  height: 33px;
  margin-bottom: 9px;
}
footer address {
  font-style: normal;
  color: #FFD768;
  font-size: 1rem;
  margin-bottom: 3px;
}
footer .contact-info div {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #E2A720;
  font-size: 1rem;
}
footer .contact-info div img {
  height: 19px;
  width: auto;
  margin-right: 2px;
}

@media (max-width: 728px) {
  footer .footer-menu {
    flex-direction: column;
    gap: 9px;
    align-items: flex-start;
  }
  footer .container {
    gap: 22px;
  }
}

/* =============================
   COOKIE CONSENT BANNER
============================= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #151b28;
  color: #fff;
  z-index: 20000;
  padding: 24px 20px 18px 20px;
  box-shadow: 0 -4px 32px 0 rgba(26,34,51,0.16);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.27s, transform 0.24s;
  transform: translateY(100%);
}
.cookie-banner.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 6px;
}
.cookie-banner button {
  padding: 10px 24px;
  border-radius: 25px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, color 0.16s, box-shadow 0.15s;
  border: none;
}
.cookie-banner .accept {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #FFD768;
}
.cookie-banner .reject {
  background: #fff;
  color: var(--brand-primary);
  border: 1.5px solid #c8bb98;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #ffecc7;
}
.cookie-banner .settings {
  background: none;
  color: #FFD768;
  border: 1.5px solid #FFD768;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #2a2e38;
  color: #fff;
}

/* COOKIE MODAL */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(26,34,51,0.68);
  z-index: 22000;
  display: none;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}
.cookie-modal-backdrop.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: #1A2233;
  border-radius: 18px;
  box-shadow: 0 8px 48px -3px rgba(26,34,51,0.15);
  min-width: 288px;
  max-width: 98vw;
  padding: 34px 22px 31px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-modal h2 {
  color: var(--brand-primary);
  font-size: 1.44rem;
  margin-bottom: 6px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px solid #f3eee4;
}
.cookie-category label {
  font-size: 1.09rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--brand-secondary);
  width: 19px;
  height: 19px;
}
.cookie-category .essential {
  color: #6e760f;
  font-weight: 600;
}
.cookie-modal .modal-footer {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  font-size: 1.43rem;
  color: var(--brand-primary);
  border: none;
  transition: color 0.16s;
}
.cookie-modal .close-modal:hover,
.cookie-modal .close-modal:focus {
  color: var(--brand-secondary);
}

@media (max-width:480px) {
  .cookie-modal {
    padding: 22px 7px 20px 12px;
    min-width: 160px;
  }
}

/* =============================
   GOOGLE MAP EMBED (Contact)
============================= */
.google-map-embed {
  width: 100%;
  height: 155px;
  background: #eee;
  border-radius: 14px;
  margin-top: 12px;
}

/* =============================
   FORM & MISC.
============================= */
::-webkit-input-placeholder { color: #bdbdbd; }
::-moz-placeholder { color: #bdbdbd; }
:-ms-input-placeholder { color: #bdbdbd; }
::placeholder { color: #bdbdbd; }
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #1A2233;
}

/* =============================
   MEDIA QUERIES
   ============================= */
@media (max-width: 600px) {
  .container {
    padding: 0 8px;
  }
  .section, section {
    padding: 16px 2px;
    margin-bottom: 23px;
  }
  footer {
    padding-top: 22px;
    padding-bottom: 10px;
  }
}

/* =============================
   ANIMATIONS
============================= */
.cta-button, .card, .features-grid > div, .testimonial-card, .mobile-menu, .cookie-banner, .cookie-modal {
  transition-timing-function: cubic-bezier(0.8,.1,0.05,1.01);
}

@media (hover: none) and (pointer: coarse) {
  .cta-button:hover, .card:hover, .features-grid > div:hover, .testimonial-card:hover {
    box-shadow: var(--shadow);
    transform: none;
    border-color: var(--brand-secondary);
    background: inherit;
  }
}

/* =============================
   PRINT STYLE (MINIMAL)
============================= */
@media print {
  header, nav, .mobile-menu, .cookie-banner, .cookie-modal, footer {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
  section, .section {
    padding: 0 !important;
    margin-bottom: 15px;
  }
}
