/* RESET AND 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,
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;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  background-color: #FAFAFA;
  color: #1A2633;
  font-size: 16px;
}
a {
  color: #30475E;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #E23C3C;
  text-underline-offset: 2px;
  outline: none;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 16px;
}
img {
  max-width: 100%;
  border: 0;
  display: inline-block;
}
button, input, select, textarea {
  font-family: inherit;
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
  font-size: 16px;
}
::-webkit-input-placeholder{color:#888;}
::-moz-placeholder{color:#888;}
:-ms-input-placeholder{color:#888;}
::placeholder{color:#888;}

/* TYPOGRAPHY */
h1 {
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 700;
  font-size: 2.4rem;
  letter-spacing: 0.5px;
  line-height: 1.2;
  color: #30475E;
  margin-bottom: 24px;
}
h2 {
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 600;
  font-size: 2rem;
  letter-spacing: 0.2px;
  color: #30475E;
  margin-bottom: 20px;
  line-height: 1.25;
}
h3 {
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 500;
  font-size: 1.3rem;
  color: #1A2633;
  margin-bottom: 10px;
  line-height: 1.25;
}
h4, h5, h6 {
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 500;
  color: #1A2633;
  margin-bottom: 10px;
}
p, li {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  color: #2D3848;
  font-size: 1rem;
  margin-bottom: 12px;
  line-height: 1.7;
}
strong {
  font-weight: 600;
  color: #30475E;
}

/* CONTAINERS & LAYOUT */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
  margin-bottom: 12px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFFFFF;
  border-radius: 14px;
  box-shadow: 0 2px 18px 0 rgba(30,27,43,0.06);
}

/* FLEXBOX UTILITY CLASSES */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #ECECEC;
  border-radius: 10px;
  padding: 24px 20px;
  box-shadow: 0 2px 10px 0 rgba(60,70,95,0.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.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: #FAFAFA;
  border: 1px solid #ECECEC;
  border-radius: 12px;
  box-shadow: 0 1px 8px 0 rgba(30,27,43,0.05);
  margin-bottom: 20px;
  min-width: 0;
  max-width: 460px;
  flex: 1 1 300px;
  transition: box-shadow 0.23s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 30px 0 rgba(30,27,43,0.11);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* COURSE CARDS, FAQ CARDS, ETC. */
.course-card {
  background: #F9F8F6;
  border: 1px solid #ECECEC;
  border-radius: 12px;
  padding: 28px 22px 24px 22px;
  box-shadow: 0 2px 10px 0 rgba(60,70,95,0.06);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 275px;
  min-width: 240px;
}

.most-popular-badge {
  background: #E23C3C;
  color: #fff;
  font-size: 0.85rem;
  padding: 2px 10px;
  border-radius: 10px;
  margin-left: 8px;
  vertical-align: middle;
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* BUTTONS */
.btn-primary {
  display: inline-block;
  padding: 12px 32px;
  font-family: 'Montserrat', serif;
  font-size: 1.05rem;
  font-weight: 600;
  border: none;
  border-radius: 27px;
  background: #30475E;
  color: #ffffff;
  box-shadow: 0 2px 10px 0 rgba(60,70,95,0.07);
  margin: 12px 0 0 0;
  cursor: pointer;
  transition: background 0.25s, box-shadow 0.23s, transform 0.20s;
  letter-spacing: 0.04em;
}
.btn-primary:hover, .btn-primary:focus {
  background: #E23C3C;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 24px 0 rgba(60,70,95,0.12);
  outline: none;
}
.btn-secondary {
  display: inline-block;
  padding: 12px 32px;
  font-family: 'Montserrat', serif;
  font-size: 1.03rem;
  font-weight: 600;
  border: 2px solid #30475E;
  border-radius: 27px;
  background: #fff;
  color: #30475E;
  margin: 12px 0 0 0;
  cursor: pointer;
  transition: background 0.2s, border 0.2s, color 0.2s, transform 0.17s;
  letter-spacing: 0.04em;
}
.btn-secondary:hover, .btn-secondary:focus {
  border-color: #E23C3C;
  color: #E23C3C;
  background: #F8EAEA;
  transform: translateY(-1.5px) scale(1.02);
  outline: none;
}

/* HEADER & NAVIGATION */
header {
  background: #FFFFFF;
  border-bottom: 1.5px solid #ECECEC;
  box-shadow: 0 2px 18px 0 rgba(30,27,43,0.03);
  padding: 0;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 20px 18px 20px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1.01rem;
  font-weight: 500;
  color: #30475E;
  padding: 3px 2px 3px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.16s, border-bottom 0.16s;
}
header nav a:focus, header nav a:hover {
  color: #E23C3C;
  border-bottom: 2px solid #E23C3C;
  outline: none;
}
header img {
  height: 45px;
  width: auto;
  margin-right: 12px;
}
header .btn-primary {
  margin: 0 0 0 24px;
}
.mobile-menu-toggle {
  display: none;
  background: #30475E;
  color: #fff;
  font-size: 2rem;
  border-radius: 8px;
  padding: 6px 16px;
  margin-left: 12px;
  cursor: pointer;
  border: none;
  transition: background 0.18s;
  z-index: 1033;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #E23C3C;
  outline: none;
}

/* MOBILE NAV */
.mobile-menu {
  display: none;
  position: fixed;
  background: #fff;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  flex-direction: column;
  align-items: flex-start;
  z-index: 1050;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(.9,.02,.09,.98);
  box-shadow: 3px 0 22px 0 rgba(0,0,0,0.09);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.1rem;
  margin: 28px 22px 20px auto;
  background: none;
  color: #30475E;
  border: none;
  cursor: pointer;
  z-index: 1200;
  padding: 0 8px;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #E23C3C;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  padding: 8px 38px;
  margin-top: 12px;
}
.mobile-nav a {
  font-family: 'Montserrat', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #30475E;
  padding: 12px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.17s, border-bottom 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #E23C3C;
  border-bottom: 2px solid #E23C3C;
  outline: none;
}

/* MAIN ELEMENTS */
main {
  width: 100%;
  margin-bottom: 50px;
  min-height: 40vh;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 18px 0 rgba(30,27,43,0.03);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
section:last-child {
  margin-bottom: 0;
}

/* FOOTER */
footer {
  background: #30475E;
  color: #fff;
  padding: 40px 0 24px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
footer nav a {
  font-family: 'Montserrat', serif;
  color: #ffffff;
  font-size: 1.01rem;
  font-weight: 500;
  transition: color 0.17s;
  border-bottom: 2px solid transparent;
  padding-bottom: 1px;
}
footer nav a:hover, footer nav a:focus {
  color: #E23C3C;
  border-bottom: 2px solid #E23C3C;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #ECECEC;
  font-size: 0.95rem;
  line-height: 1.6;
}
.footer-contact img {
  width: 18px;
  height: 18px;
  margin-right: 7px;
  vertical-align: middle;
  margin-bottom: -3px;
}
.footer-brand {
  font-family: 'Montserrat', serif;
  font-size: 0.98rem;
  color: #BFCBD6;
  margin-top: 10px;
}

/* RESPONSIVE STYLES */
@media (max-width: 1200px) {
  .container {
    max-width: 96vw;
  }
}
@media (max-width: 900px) {
  .content-wrapper, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .card, .testimonial-card, .course-card {
    max-width: 100%;
    min-width: 0;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 1.65rem;
  }
  h2 {
    font-size: 1.27rem;
  }
  .container {
    padding: 0 7vw;
    gap: 16px;
  }
  header .container {
    flex-direction: row;
    gap: 12px;
    padding: 14px 7vw 10px 7vw;
  }
  main {
    margin-bottom: 30px;
  }
  section {
    padding: 24px 7vw;
    margin-bottom: 34px;
    border-radius: 11px;
    gap: 9px;
  }
  .text-image-section, .content-wrapper, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card, .course-card, .card {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    padding: 18px 10px;
    font-size: 0.99rem;
  }
  .footer-contact {
    font-size: 0.93rem;
  }
  .btn-primary, .btn-secondary {
    padding: 10px 19px;
    font-size: 0.99rem;
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 1.27rem;
    margin-bottom: 16px;
  }
  h2 {
    font-size: 1.08rem;
    margin-bottom: 12px;
  }
  .footer-contact {
    font-size: 0.86rem;
  }
}
@media (max-width: 1024px) {
  header nav {
    gap: 14px;
  }
  header img {
    height: 36px;
  }
}
@media (max-width: 900px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .btn-primary {
    display: none;
  }
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
}

/* LISTS & ICONS IN SECTIONS */
ul li, ol li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 12px;
  font-size: 1rem;
  line-height: 1.7;
}
ul li img, ol li img {
  width: 28px;
  height: 28px;
  vertical-align: middle;
  position: relative;
  margin-right: 13px;
  top: 2px;
}

/* HIERARCHY & SPACING */
.content-wrapper > * {
  flex: 1 1 200px;
  min-width: 0;
  margin-bottom: 0px;
}
.card-container > *, .content-grid > *, .feature-item > * {
  margin-bottom: 0px;
}

/* MICRO-INTERACTIONS */
.card, .course-card, .testimonial-card {
  transition: box-shadow 0.18s, border-color 0.13s;
}
.card:hover, .course-card:hover {
  box-shadow: 0 8px 24px 0 rgba(60,70,95,0.11);
  border-color: #E23C3C;
}

/* ACCENT COLOR UTILITIES */
.text-accent, .accent {
  color: #E23C3C;
}
.bg-accent {
  background: #E23C3C !important;
  color: #fff !important;
}

/* COOKIE CONSENT */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100%;
  background: #FFFFFF;
  color: #1A2633;
  box-shadow: 0 -2px 12px 0 rgba(40,44,60,0.10);
  z-index: 2000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  transition: transform 0.21s;
  font-size: 1rem;
  gap: 24px;
}
.cookie-banner.hide {
  transform: translateY(140%);
}
.cookie-banner button {
  margin-left: 12px;
  font-family: 'Montserrat', serif;
  font-weight: 600;
  border-radius: 24px;
  border: none;
  box-shadow: none;
  padding: 9px 24px;
  font-size: 1rem;
  transition: background 0.18s, color 0.18s;
  cursor: pointer;
}
.cookie-banner .accept-btn {
  background: #30475E;
  color: #fff;
}
.cookie-banner .accept-btn:hover, .cookie-banner .accept-btn:focus {
  background: #E23C3C;
  color: #fff;
}
.cookie-banner .reject-btn {
  background: #E23C3C;
  color: #fff;
  margin-left: 0;
}
.cookie-banner .reject-btn:hover, .cookie-banner .reject-btn:focus {
  background: #30475E;
  color: #fff;
}
.cookie-banner .settings-btn {
  background: #fff;
  color: #30475E;
  border: 2px solid #30475E;
  margin-left: 0;
}
.cookie-banner .settings-btn:hover, .cookie-banner .settings-btn:focus {
  background: #F2F6FB;
  color: #E23C3C;
  border-color: #E23C3C;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 3000;
  inset: 0;
  background: rgba(35,38,43, 0.39);
  display: none;
  justify-content: center;
  align-items: center;
  transition: opacity 0.21s;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: #1A2633;
  border-radius: 20px;
  padding: 36px 28px 26px 28px;
  box-shadow: 0 6px 32px 0 rgba(40,44,60,0.17);
  width: 96vw;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: modalPopIn 0.35s cubic-bezier(.17,.67,.73,1.39);
}
@keyframes modalPopIn {
  0% { transform: scale(0.83); opacity: 0; }
  100% {  transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.25rem;
  margin-bottom: 9px;
}
.cookie-modal .cookie-pref-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 11px;
}
.cookie-modal .cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #F2F6FB;
  border-radius: 13px;
  padding: 11px 20px;
  color: #30475E;
  font-size: 1rem;
}
.cookie-modal .toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 1rem;
}
.cookie-modal .toggle input[type=checkbox] {
  width: 22px;
  height: 22px;
  accent-color: #30475E;
}
.cookie-modal .cookie-save-btn {
  padding: 10px 24px;
  font-size: 1.02rem;
  border-radius: 24px;
  background: #30475E;
  color: #fff;
  border: none;
  margin-top: 10px;
  font-family: 'Montserrat', serif;
  font-weight: 600;
  transition: background 0.20s;
}
.cookie-modal .cookie-save-btn:hover, .cookie-modal .cookie-save-btn:focus {
  background: #E23C3C;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  background: none;
  border: none;
  color: #30475E;
  font-size: 1.8rem;
  cursor: pointer;
  transition: color 0.20s;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  color: #E23C3C;
}

/* FOCUS STYLES & ACCESSIBILITY */
a:focus, button:focus, .btn-primary:focus, .btn-secondary:focus {
  outline: 2px solid #E23C3C;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #F2F6FB;
}

/* ELEGANT CLASSIC CARD/SHADOWS*/
.card, .course-card, section, .testimonial-card {
  border-radius: 12px;
}

/* GENERAL SPACING */
main, section, .container, .content-wrapper, .content-grid {
  gap: 24px;
}
.card-container, .feature-item, .testimonial-card, .text-section {
  gap: 16px;
}

/* SCROLLBAR */
body::-webkit-scrollbar {
  width: 10px;
}
body::-webkit-scrollbar-track {
  background: #ECECEC;
}
body::-webkit-scrollbar-thumb {
  background: #C0C9D7;
}
body::-webkit-scrollbar-thumb:hover {
  background: #30475E;
}

/* OVERRIDES FOR PRINT/REDUCE MOTION */
@media print {
  header, footer, .cookie-banner {
    display: none !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* UTILITY: ICON LISTS IN CONTACT/FOOTER */
.contact-details img {
  width: 20px; height: 20px;
  margin-right: 8px;
  vertical-align: middle;
}

/* FAQ/ACCORDION (if JS renders any) */
.faq-question {
  font-family: 'Montserrat', serif;
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: 8px;
}

/* ELEGANT CLASSIC ACCENTS */
h1,strong, .most-popular-badge, .btn-primary,.footer-brand {
  letter-spacing: 0.02em;
}


/* ENSURE PROPER Z-INDEX WHEN OVERLAY/MENU/BANNER */
.mobile-menu,
.cookie-banner,
.cookie-modal-overlay {
  z-index: 2100;
}
.mobile-menu.open {
  z-index: 2150;
}

/* TESTIMONIAL DARK TEXT/DARK CONTRAST */
.testimonial-card {
  background: #FAFAFA;
  color: #1A2633;
  border: 1.5px solid #ECECEC;
}
.testimonial-card p, .testimonial-card strong {
  color: #1A2633;
  font-size: 1.04rem;
}
.testimonial-card strong {
  font-weight: 600;
}

/* ELEGANT CLASSIC SHADOWS */
section, .card, .course-card, .testimonial-card {
  box-shadow: 0 2px 18px 0 rgba(30,27,43,0.07);
}

/* FORMS (if any added later) */
input, textarea, select {
  font-size: 1rem;
  background: #F2F6FB;
  border: 1.5px solid #ECECEC;
  border-radius: 7px;
  padding: 9px 14px;
  margin-bottom: 15px;
  color: #2D3848;
  width: 100%;
  box-sizing: border-box;
  transition: border 0.13s;
}
input:focus, textarea:focus, select:focus {
  border-color: #E23C3C;
  outline: none;
}

/* HIDE ALL OUTLINES ON CLICK BUT RETAIN WHEN TABBING/FORCE OUTLINE */
:focus:not(:focus-visible) {
  outline: none;
}

