/* RESET & BASE TYPOGRAPHY ---------------------------- */
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #16315C;
  background: linear-gradient(135deg, #fff 0%, #f0f4fa 100%);
  font-size: 16px;
  min-height: 100vh;
  -webkit-tap-highlight-color: transparent;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #16315C;
  text-decoration: none;
  transition: color 0.3s;
}
a:hover, a:focus {
  color: #FFB703;
  outline: none;
}
ul, ol {
  list-style: none;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
}

/* TYPOGRAPHY -----------------------------*/
h1, .h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #16315C;
  line-height: 1.15;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: #16315C;
  line-height: 1.2;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: #16315C;
}
p, ul, ol, li, address {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #16315C;
}
p {
  margin-bottom: 18px;
  font-size: 1.05rem;
}
strong, b {
  font-weight: 700;
}

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

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  position: relative;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  margin-bottom: 20px;
  padding: 28px 22px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 18px 0 rgba(22,49,92,0.07);
  transition: box-shadow .3s, transform .3s;
  position: relative;
  min-width: 260px;
}
.card:hover {
  box-shadow: 0 4px 28px 0 rgba(22,49,92,0.14);
  transform: translateY(-4px) scale(1.02);
}

.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: 20px;
  margin-bottom: 20px;
  background: #F0F4FA;
  box-shadow: 0 2px 12px rgba(22,49,92,0.07);
  border-radius: 14px;
  max-width: 500px;
  color: #16315C;
}
.testimonial-card p {
  font-size: 1.1rem;
  font-style: italic;
  color: #16315C;
  margin-bottom: 6px;
}
.testimonial-card span {
  font-size: 0.99rem;
  color: #16315C;
  opacity: 0.7;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(22,49,92,0.05);
  padding: 22px 18px;
  margin-bottom: 20px;
}

/* FEATURE LISTS ----------------- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 0 -8px;
}
.feature-grid li {
  flex: 1 1 210px;
  min-width: 210px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 10px rgba(22,49,92,0.05);
  padding: 22px 16px 20px 16px;
  align-items: flex-start;
  transition: box-shadow 0.3s, transform 0.3s;
}
.feature-grid li:hover {
  box-shadow: 0 4px 20px 0 rgba(255,183,3,0.08);
  transform: translateY(-2px) scale(1.01);
}
.feature-grid img {
  width: 36px;
  height: 36px;
}
.feature-grid h3 {
  font-size: 1.16rem;
  margin-bottom: 5px;
}

.benefits-grid li {
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
  font-size: 1rem;
}
.benefits-grid li:before {
  content: '\2022';
  color: #FFB703;
  font-weight: bold;
  display: inline-block;
  width: 12px;
  margin-left: -18px;
}

/* BLOG LIST ----------------- */
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 30px;
}
.blog-list article {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(22,49,92,0.07);
  padding: 22px 18px 18px 18px;
  min-width: 250px;
  flex: 1 1 295px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.blog-list article:hover {
  box-shadow: 0 4px 20px rgba(255,183,3,0.10);
  transform: translateY(-3px) scale(1.01);
}
.blog-list h2 {
  font-size: 1.19rem;
  margin-bottom: 8px;
}
.read-more {
  color: #FFB703;
  font-weight: 700;
  margin-top: 8px;
  align-self: flex-start;
  font-size: 1rem;
  transition: color 0.22s;
}
.read-more:hover {
  color: #16315C;
  text-decoration: underline;
}

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 36px;
}
.category-filters span {
  font-size: 1rem;
  font-weight: 600;
  color: #16315C;
}
.category-filters a {
  padding: 6px 16px;
  border-radius: 14px;
  background: #F0F4FA;
  color: #16315C;
  font-size: 0.98rem;
  transition: background 0.2s, color 0.2s;
}
.category-filters a:hover {
  background: #FFB703;
  color: #1A2738;
}

.featured-article {
  background: #fffbe6;
  border-radius: 13px;
  padding: 18px 16px;
  box-shadow: 0 2px 8px rgba(255,183,3,0.08);
  margin-bottom: 20px;
}
.featured-article h3 {
  color: #16315C;
  font-size: 1.14rem;
}

.review-highlights li {
  margin-bottom: 8px;
  padding-left: 18px;
  position: relative;
}
.review-highlights li:before {
  content: '\2022';
  color: #16315C;
  font-weight: bold;
  display: inline-block;
  width: 12px;
  margin-left: -14px;
}

/* BUTTONS & CTA -----------------------------*/
.cta {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.09rem;
  border-radius: 26px;
  padding: 12px 34px;
  display: inline-block;
  border: none;
  outline: none;
  background: #FFB703;
  color: #16315C;
  box-shadow: 0 1px 8px rgba(22,49,92,0.06);
  transition: background .25s, color .25s, box-shadow .2s, transform .2s;
  margin-top: 10px;
  text-align: center;
  cursor: pointer;
}
.cta.primary {
  background: linear-gradient(90deg, #FFB703 0%, #FFE066 100%);
  color: #16315C;
}
.cta:hover, .cta:focus {
  background: #16315C;
  color: #fff;
  box-shadow: 0 4px 18px rgba(22,49,92,0.20);
  transform: translateY(-2px) scale(1.04);
}

/* HEADER & NAVIGATION -----------------------------*/
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 16px rgba(22,49,92,0.05);
  position: sticky;
  top: 0;
  z-index: 999;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 10px 20px;
}
.brand-label img {
  height: 44px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 14px;
  border-radius: 16px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:not(.cta):hover, .main-nav a.active {
  background: #F0F4FA;
  color: #FFB703;
}
.main-nav .cta {
  margin-left: 10px;
}
.mobile-menu-toggle {
  display: none;
  background: #FFB703;
  color: #16315C;
  border-radius: 10px;
  font-size: 2rem;
  padding: 5px 15px;
  margin-left: 14px;
  border: none;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #16315C;
  color: #fff;
}

/* MOBILE MENU ----------------------*/
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  box-shadow: 0 2px 24px rgba(22,49,92,0.15);
  z-index: 2000;
  transform: translateX(-100%);
  transition: transform 0.28s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  padding-top: 0;
  padding-bottom: 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.1rem;
  color: #16315C;
  background: none;
  padding: 18px 30px 8px 18px;
  align-self: flex-end;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #FFB703;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 18px 32px 16px 32px;
  margin-top: 12px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.17rem;
  color: #16315C;
  padding: 10px 0 10px 0;
  font-weight: 600;
  border-radius: 14px;
  width: 100%;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: #F0F4FA;
  color: #FFB703;
}


/* MAIN SECTIONS & SPECIALS -----------------------------*/
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  position: relative;
  background: transparent;
}
section:last-child {
  margin-bottom: 0;
}

.text-section {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(22,49,92,0.04);
  padding: 30px 22px;
  margin-bottom: 20px;
}

.course-highlights ul, .benefits-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.enrollment-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 18px;
}

.rating-summary {
  margin-top: 32px;
  background: #fffbe6;
  border-radius: 10px;
  padding: 16px 18px;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(255,183,3,0.07);
  color: #16315C;
}
.rating-summary h2 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  color: #16315C;
}

/* FOOTER -----------------------------*/
footer {
  background: #16315C;
  color: #fff;
  padding-top: 30px;
  padding-bottom: 20px;
}
footer section {
  background: transparent;
  padding: 0 0 0 0;
  margin: 0;
}
footer .container {
  padding: 0 20px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
}
.footer-contact img {
  height: 36px;
  width: auto;
  margin-bottom: 5px;
}
.footer-contact address {
  font-size: 0.95rem;
  font-style: normal;
  color: #fff;
  margin-top: 3px;
  line-height: 1.7;
}
.footer-contact a {
  color: #fff;
  border-bottom: 1px dotted #FFB703;
  transition: color .2s;
}
.footer-contact a:hover {color: #FFB703;}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-menu a {
  color: #fff;
  opacity: 0.86;
  font-size: 0.97rem;
  transition: color .2s, opacity .2s;
}
.footer-menu a:hover {
  color: #FFB703;
  opacity: 1;
}

/* CONTACT, LOCATION MAP -----------------------------*/
.contact-details, .location-map {
  background: #F0F4FA;
  border-radius: 10px;
  padding: 24px 18px 20px 18px;
  margin-bottom: 20px;
  font-size: 1rem;
}
.contact-details p, .location-map p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

/* COOKIE BANNER & MODAL -----------------------------*/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #16315C;
  color: #fff;
  padding: 18px 18px 12px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  box-shadow: 0 -4px 20px rgba(22,49,92,0.13);
  z-index: 3500;
  border-radius: 18px 18px 0 0;
  animation: fadeup 0.5s;
  font-size: 0.97rem;
}
.cookie-banner a {
  color: white;
}
@keyframes fadeup {
  from {transform: translateY(100%);opacity: 0;}
  to {transform: translateY(0);opacity: 1;}
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 14px;
  margin-top: 4px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.96rem;
  padding: 8px 22px;
  border-radius: 22px;
  border: none;
  margin: 0 0 0 0;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.cookie-banner .accept {
  background: #FFB703;
  color: #16315C;
  font-weight: 600;
}
.cookie-banner .accept:hover {
  background: #fff;
  color: #16315C;
}
.cookie-banner .reject {
  background: #fff;
  color: #16315C;
  font-weight: 500;
}
.cookie-banner .reject:hover {
  background: #FFB703;
  color: #16315C;
}
.cookie-banner .settings {
  background: #16315C;
  color: #FFB703;
  border: 1px solid #FFB703;
  font-weight: 500;
}
.cookie-banner .settings:hover {
  background: #F0F4FA;
  color: #16315C;
}

.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(22,49,92,0.25);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadein .18s;
}
@keyframes fadein {
  from {opacity: 0;}
  to {opacity: 1;}
}
.cookie-modal-inner {
  background: #fff;
  border-radius: 19px;
  padding: 36px 26px 24px 26px;
  max-width: 430px;
  width: 100%;
  color: #16315C;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 6px 34px rgba(22,49,92,0.12);
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 14px;
  background: none;
  color: #16315C;
  font-size: 2rem;
  border: none;
  transition: color 0.2s;
}
.cookie-modal-close:hover { color: #FFB703; }
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.04rem;
}
.cookie-category .switch {
  position: relative;
  width: 38px;
  height: 20px;
  display: inline-block;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #F0F4FA;
  border-radius: 20px;
  transition: background 0.25s;
}
.switch input:checked + .slider {
  background: #FFB703;
}
.slider:before {
  content: '';
  position: absolute;
  left: 3px;
  width: 14px;
  height: 14px;
  bottom: 3px;
  background: #fff;
  transition: transform 0.22s;
  border-radius: 50%;
}
.switch input:checked + .slider:before {
  transform: translateX(18px);
}

/* Classes for hiding cookie banner/modal when not visible */
.cookie-banner.hidden, .cookie-modal.hidden {
  display: none !important;
}


/* ANIMATIONS & MICROINTERACTIONS -----------------------------*/
a, .cta, .mobile-menu-toggle, .main-nav a, .feature-grid li, .card, .blog-list article, .testimonial-card, .category-filters a {
  transition: all 0.22s cubic-bezier(.4,0,.2,1);
}

/* FORMATTING FOR ADDRESS SECTION IN FOOTER*/
.footer-contact address img {
  height: 18px;
  width: auto;
  margin-bottom: -3px;
  margin-right: 5px;
  display: inline-block;
  vertical-align: middle;
  opacity:0.85;
}

/* TABLET & MOBILE RESPONSIVE -----------------------------*/
@media (max-width: 1000px) {
  .container {
    max-width: 95vw;
    padding: 0 12px;
  }
  .feature-grid li, .card {
    min-width: 180px;
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  .footer .content-wrapper, footer .content-wrapper {
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  h1, .h1 { font-size: 1.85rem; }
  h2, .h2 { font-size: 1.35rem; }
  .container { padding: 0 7px; }
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .section, section { padding: 30px 8px; margin-bottom: 38px;}
  .content-wrapper, .content-grid, .feature-grid, .blog-list {
    flex-direction: column !important;
    gap: 18px !important;
    align-items: flex-start !important;
  }
  .feature-grid li { max-width: 100%; width:100%; }
  .testimonial-card { max-width: 100%; }
  .footer .content-wrapper, footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
}
@media (max-width: 500px) {
  .footer-contact img { height: 26px; }
  .cookie-modal-inner {
    padding: 20px 5px 18px 5px;
    max-width: 98vw;
  }
}

/* A11Y: FOCUS STATES */
a:focus, button:focus, .cta:focus {
  outline: 2px solid #FFB703;
  outline-offset: 2px;
}

/* END */
