/* === CSS RESET & NORMALIZATION === */
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 {
  box-sizing: border-box;
  font-size: 16px;
  background: #fff;
  height: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: linear-gradient(135deg, #fafdff 0%, #f7f8fc 90%);
  color: #2B3A67;
  line-height: 1.65;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
*, *:before, *:after { box-sizing: inherit; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.22s; }
ul, ol { margin-left: 1.5em; }

/* =========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #2B3A67;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.7rem;
  line-height: 1.18;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  font-weight: 600;
}
h4,
h5,
h6 {
  font-size: 1.09rem;
}
p, .subtitle, .thank-you-message, .text-section {
  font-size: 1.07rem;
  margin-bottom: 18px;
  color: #233053;
}
.subtitle {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.35rem;
  color: #2B3A67;
  margin-bottom: 26px;
}
.text-section p { margin-bottom: 12px; }
.text-section {
  margin-bottom: 18px;
}

b, strong { font-weight: 600; }
u { color: #F7B32B; text-decoration-thickness: 2px; }

/* =========== LAYOUT CONTAINERS ========== */
.container {
  max-width: 1160px;
  padding: 0 20px;
  margin: 0 auto;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 900px) {
  .section {
    padding: 28px 10px;
    margin-bottom: 38px;
  }
  .container {
    max-width: 100vw;
    padding: 0 8px;
  }
}

/* =========== HEADER & NAVIGATION ========== */
header {
  background: linear-gradient(90deg, #2B3A67 58%, #43539A 100%);
  box-shadow: 0 4px 16px rgba(43,58,103,0.09);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 18px;
}
.brand-logo img {
  height: 46px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  color: #FFFFFF;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 5px 0;
  position: relative;
  transition: color 0.2s;
}
.main-nav a:hover, .footer-menu a:hover {
  color: #F7B32B;
}
.main-nav .cta.primary {
  background: linear-gradient(90deg,#F7B32B 55%, #FAE17C 100%);
  color: #2B3A67;
  padding: 9px 24px;
  border-radius: 50px;
  box-shadow: 0 2px 10px rgba(39,53,101,0.11);
  font-weight: 700;
  border: none;
  transition: background 0.3s,color 0.3s;
  margin-left: 12px;
  letter-spacing: 0.01em;
}
.main-nav .cta.primary:hover {
  background: #ffd469;
  color: #2B3A67;
}
.mobile-menu-toggle {
  display: none;
}
.mobile-menu{
  display: none;
}
/* ================= MOBILE NAVIGATION ================== */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: none;
    color: #F7B32B;
    border: none;
    cursor: pointer;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    transition: background 0.2s;
    z-index: 91;
  }
  .mobile-menu-toggle:focus,
  .mobile-menu-toggle:hover {
    background: rgba(255, 230, 146, 0.13);
  }
  .mobile-menu {
    position: fixed;
    left: 0; top: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(120deg, #2B3A67 90%, #FFDA83 120%);
    color: #fff;
    z-index: 100;
    transform: translateX(104vw);
    transition: transform 0.35s cubic-bezier(.61,.01,.67,.94);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 0;
    display: block;
  }
  .mobile-menu.open {
    transform: translateX(0);
  }
  .mobile-menu-close {
    margin-top: 28px;
    margin-right: 28px;
    font-size: 2.3rem;
    color: #F7B32B;
    font-weight: bold;
    background: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    padding: 0 6px;
    border-radius: 50%;
  }
  .mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 52px 42px 32px 42px;
    align-items: flex-end;
    width: 100%;
  }
  .mobile-nav a {
    color: #fff;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    padding: 8px 0;
    transition: color 0.18s;
    width: 100%;
    text-align: right;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .mobile-nav a:last-child { border-bottom: none; }
  .mobile-nav a:hover {
    color: #F7B32B;
  }
}

@media (max-width: 515px) {
  .mobile-nav { padding: 37px 0 0 0; }
  .mobile-menu-close { margin-top:15px; margin-right: 12px; }
}

/* =========== HERO SECTIONS ============= */
section:first-child, .hero-section, .section.hero {
  background: linear-gradient(120deg, #fef9e2 0%, #F7B32B 39%, #ffe5a0 95%);
  border-radius: 0 0 66px 16px;
  box-shadow: 0 2px 18px 0 rgba(54,54,94,0.07);
  margin-bottom: 58px;
  padding-top: 46px;
  padding-bottom: 52px;
}
@media (max-width: 900px) {
  section:first-child, .hero-section, .section.hero {
    border-radius: 0 0 34px 8px;
    margin-bottom: 32px;
    padding-top: 32px;
    padding-bottom: 36px;
  }
}

/* == Feature Grid and Cards == */
.feature-grid, .course-overview, .course-cards-grid, .workshop-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
  align-items: stretch;
}
.feature-card, .course-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 16px 0 rgba(43,58,103,0.07);
  padding: 28px 28px 22px 28px;
  flex: 1 1 250px;
  min-width: 230px;
  max-width: 340px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.22s;
}
.feature-card:hover, .course-card:hover {
  box-shadow: 0 8px 34px 0 rgba(43,58,103,0.13);
  transform: translateY(-3px) scale(1.02);
}
.feature-card img, .course-card img {
  height: 42px;
  margin-bottom: 6px;
}
.price {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #F7B32B;
  font-weight: 700;
  font-size: 1.07rem;
}
.course-details {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 8px;
}

@media (max-width: 900px) {
  .feature-grid, .course-overview, .course-cards-grid, .workshop-cards {
    flex-direction: column;
    gap: 18px;
  }
  .feature-card, .course-card {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    padding: 22px 15px 17px 15px;
  }
}

/* Cards container (e.g. testimonials) */
.card-container, .testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 20px;
}
.card { margin-bottom: 20px; position: relative; }
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

/* =========== CTA BUTTONS ========== */
.cta, .cta.primary, .cta.secondary {
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.07rem;
  font-weight: 700;
  padding: 10px 30px;
  border-radius: 35px;
  border: none;
  background: linear-gradient(90deg,#F7B32B 60%, #ffeba7 100%);
  color: #2B3A67;
  box-shadow: 0 2px 6px 0 rgba(245,195,74,0.15);
  cursor: pointer;
  margin-top: 8px;
  margin-bottom: 8px;
  transition: box-shadow 0.17s, background 0.23s, color 0.22s;
  outline: none;
}
.cta.primary {
  background: linear-gradient(90deg,#F7B32B 60%, #ffd469 100%);
  color: #2B3A67;
}
.cta.secondary {
  background: #2B3A67;
  color: #fff;
  box-shadow: 0 2px 8px 0 rgba(43,58,103,0.12);
}
.cta:hover {
  box-shadow: 0 5px 22px 0 rgba(39,53,101,0.16);
  background: #ffe79c;
  color: #2B3A67;
}
.cta.secondary:hover {
  background: #43539A;
  color: #F7B32B;
}

/* =========== TESTIMONIALS ========== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 24px 0 rgba(43,58,103,0.09);
  padding: 20px 28px 19px 28px;
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 480px;
}
.testimonial-card .text-section {
  color: #232846;
  font-size: 1.07rem;
  font-style: italic;
  margin-bottom: 3px;
}
.testimonial-meta {
  color: #2B3A67;
  font-weight: 600;
  font-size: 0.97rem;
  letter-spacing: 0.01em;
}
@media (max-width: 690px) {
  .testimonial-card {
    max-width: 99vw;
    padding: 14px 10px 13px 15px;
  }
}

/* =========== FOOTER ========== */
footer {
  background: linear-gradient(90deg, #2B3A67 80%, #43539A 100%);
  color: #fff;
  padding-top: 34px;
  padding-bottom: 20px;
  margin-top: 25px;
}
.footer-top, .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.footer-top {
  border-bottom: 1.5px solid #3b5594;
  padding-bottom: 18px;
}
.brand-logo img {
  height: 40px;
  width: auto;
}
.footer-menu {
  display: flex;
  gap: 27px;
}
.footer-menu a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  transition: color .2s;
}
.contact-snippet, .address-map-snippet {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.98rem;
  color: #d6e4fb;
}
.contact-snippet span, .contact-brief span {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 2px;
}
.footer-bottom .social-links {
  display: flex;
  gap: 20px;
}
.social-links a img {
  height: 24px;
  width: auto;
  opacity: 0.88;
  transition: opacity 0.15s;
}
.social-links a:hover img {
  opacity: 1;
}
@media (max-width:900px) {
  .footer-top, .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer-menu, .social-links {
    gap: 16px;
  }
}

/* =========== LISTS, ULs, Content ========== */
ul {
  color: #2B3A67;
  margin-bottom: 15px;
  margin-left: 1.3em;
}
ul li {
  margin-bottom: 7px;
  font-size: 1.07rem;
  line-height: 1.62;
  position: relative;
  padding-left: 8px;
}
ul li b {
  color: #2B3A67;
}

li img {
  height: 21px;
  width: auto;
  margin-right: 5px;
  vertical-align: -4px;
}

.schedule-info, .what-to-expect {
  background: #f7f7fd;
  color: #233053;
  border-radius: 11px;
  padding: 13px 18px;
  margin-bottom: 15px;
  font-size: 1.03rem;
  box-shadow: 0 1.5px 7px 0 rgba(82, 111, 185, 0.06);
}

/* =========== SPACING AND LAYOUT CLASSES ========== */
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

@media (max-width:900px) {
  .content-grid, .card-container { flex-direction: column; gap: 16px; }
}
@media (max-width:768px) {
  .text-image-section { flex-direction: column; gap: 16px; align-items: flex-start; }
}

/* =========== CONTACT DETAIL PANELS/BRIEFS ========== */
.contact-brief {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 10px;
  margin-bottom: 0;
}
.contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 15px;
}
.address-map-snippet {
  margin-top: 9px;
  font-size: 0.99rem;
  color: #2B3A67;
  background: #fcf5e2;
  border-radius: 7px;
  padding: 8px 12px;
  box-shadow: 0 1px 6px 0 rgba(82, 111, 185, 0.06);
}

@media (max-width: 690px) {
  .contact-brief { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ============ ABOUT PAGE VISUAL ============ */
.about-us-visual img {
  width: 70px;
  height: auto;
  margin-top: 8px;
  margin-bottom: 10px;
  opacity: 0.94;
}

/* ============ THANK YOU PAGE ============ */
.thank-you-message {
  font-size: 1.13rem;
  color: #2B3A67;
  margin-bottom: 18px;
  font-weight: 500;
  background: #fffadd;
  border-radius: 9px;
  padding: 18px 20px;
  box-shadow: 0 0.5px 12px 0 rgba(247,179,43,0.13);
}

/* =========== MICRO-INTERACTIONS / FOCUS ========== */
main a:focus, .cta:focus, button:focus, input:focus, select:focus {
  outline: 3px solid #F7B32B;
  outline-offset: 2px;
}

/* Animations and Transitions */
.cta, .main-nav a, .mobile-menu,
.course-card, .feature-card, .testimonial-card {
  transition: all .22s cubic-bezier(.44,.09,.51,1.05);
}

/* =========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #2B3A67;
  color: #fff;
  box-shadow: 0 -6px 28px 0 rgba(43,58,103,0.17);
  z-index: 1400;
  padding: 20px 32px 20px 24px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  justify-content: space-between;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.24s, transform 0.3s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(60px);
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 13px;
}

.cookie-btn {
  display: inline-block;
  font-family: 'Montserrat',Arial,Helvetica,sans-serif;
  font-size: 1rem;
  padding: 7px 20px;
  border-radius: 50px;
  background: #F7B32B;
  color: #2B3A67;
  font-weight: 700;
  border: none;
  box-shadow: 0 1.5px 6px 0 rgba(247,179,43,0.09);
  transition: background 0.15s, color 0.17s;
  cursor: pointer;
}
.cookie-btn:hover {
  background: #ffd469;
  color: #2B3A67;
}
.cookie-btn.cookie-settings {
  background: #fff;
  color: #2B3A67;
  border: 1.5px solid #F7B32B;
}
.cookie-btn.cookie-settings:hover {
  background: #F7B32B;
  color: #2B3A67;
}

@media (max-width: 850px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
    padding: 15px 14px 16px 14px;
    font-size: .97rem;
  }
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1500;
  background: rgba(33,48,108, .47);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.23s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 6px 32px 0 rgba(43,58,103,.19);
  padding: 38px 36px 24px 36px;
  min-width: 315px;
  max-width: 94vw;
  color: #2B3A67;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  z-index: 1510;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: cookieModalIn 0.5s cubic-bezier(.42,1.39,.42,1) 1;
}
@keyframes cookieModalIn {
  0% { transform: scale(0.88) translateY(60px); opacity: 0; }
  85% { opacity: 0.9; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-categories {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cookie-modal-title {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.28rem;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fafdff;
  border-radius: 7px;
  padding: 11px 14px;
}
.cookie-toggle {
  appearance: none;
  width: 34px;
  height: 20px;
  background: #e2e7f2;
  border-radius: 14px;
  position: relative;
  outline: none;
  border: none;
  cursor: pointer;
  transition: background 0.13s;
}
.cookie-toggle:checked {
  background: #F7B32B;
}
.cookie-toggle::before {
  content: '';
  position: absolute;
  left: 2.1px;
  top: 2.1px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 6px 0 rgba(43,58,103,0.06);
  transition: transform 0.22s;
}
.cookie-toggle:checked::before {
  transform: translateX(13px);
}
.cookie-category span {
  font-size: 1rem;
  color: #2B3A67;
}

.cookie-modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 16px;
}
.cookie-modal button {
  font-size: 1rem;
  padding: 8px 18px;
  border-radius: 38px;
  border: none;
  font-family: 'Montserrat',Arial,Helvetica,sans-serif;
  font-weight: 700;
  cursor: pointer;
  background: #F7B32B;
  color: #2B3A67;
  transition: background 0.14s, color 0.18s;
}
.cookie-modal button:hover {
  background: #ffd469;
}
.cookie-modal .close-cookie-modal {
  background: #fff;
  color: #2B3A67;
  outline: 1.2px solid #F7B32B;
}
.cookie-modal .close-cookie-modal:hover {
  background: #F7B32B;
  color: #2B3A67;
}

@media (max-width: 540px) {
  .cookie-modal {
    padding: 22px 7vw 22px 7vw;
    min-width: 0;
    font-size: 0.97rem;
  }
  .cookie-modal-title {
    font-size: 1.10rem;
  }
  .cookie-modal-actions { gap: 8px; }
}

/* ============ MEDIA-QUERIES FOR RESPONSIVENESS ============ */
@media (max-width: 730px) {
  h1 { font-size: 2.05rem; }
  h2 { font-size: 1.38rem; }
  .footer-top, .footer-bottom { gap: 8px; }
  .cta, .cta.primary, .cta.secondary { font-size: 0.98rem; padding: 9px 15px; }
  .feature-card, .course-card {
    padding: 14px 8px 11px 8px;
    font-size: 0.97rem;
  }
}
@media (max-width: 420px) {
  .footer-top, .footer-bottom {
    padding-left: 0;
    padding-right: 0;
  }
  .section { padding: 13px 2px; }
}

/* ============ GRADIENT MODERN EFFECTS ============ */
::-webkit-scrollbar { width: 12px; background: #fafdff; }
::-webkit-scrollbar-thumb { background: #e3e8f6; border-radius: 6px; }

/* =========== MISC ========== */
a{text-underline-offset: 3px;}
::selection { background: #ffe6a5; color: #2B3A67; }

/* Hide outlines for mouse clicks but keep for keyboard */
:focus:not(:focus-visible) { outline: none; }

/* Utility classes */
.bg-primary { background: #2B3A67 !important; color:#fff !important; }
.bg-accent { background: #FAE17C !important; color:#2B3A67 !important; }
.bg-secondary { background: #F7B32B !important; color:#2B3A67 !important; }

/* Hide visually but accessible */
.sr-only { position: absolute !important; left:-9999px !important; width:1px; height:1px; overflow:hidden; }
