/* CSS RESET & BASELINE 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, 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, 
figcaption, figure, 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 { height: 100%; scroll-behavior: smooth; }
body { height: 100%; min-height: 100vh; line-height: 1.5; background: #fff; color: #193855; font-family: 'Roboto', Arial, Helvetica, sans-serif; }
main, nav, section, aside, header, footer { display: block; }
ol, ul { list-style: none; }
a { background: transparent; color: inherit; text-decoration: none; transition: color 0.2s; }
img { border: 0; max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; line-height: inherit; border: none; background: none; }
button { cursor: pointer; }
strong { font-weight: 600; }

/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;600&family=Roboto:wght@400;500;700&display=swap');
h1, h2, h3, h4, h5, h6 { font-family: 'Montserrat', Arial, Helvetica, sans-serif; font-weight: 700; letter-spacing: -0.01em; color: #193855; }
h1 { font-size: 2.5rem; margin-bottom: 24px; line-height: 1.1; }
h2 { font-size: 2rem; margin-bottom: 20px; line-height: 1.18; }
h3 { font-size: 1.25rem; margin-bottom: 10px; font-weight: 600; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 6px; }
p, li, ul, ol { font-family: 'Roboto', Arial, Helvetica, sans-serif; font-size: 1rem; color: #193855; }
p:not(:last-child) { margin-bottom: 14px; }

/* LAYOUT & SPACING PATTERNS */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(25,56,85,0.07);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  flex: 1 1 280px;
}
.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: center;
  gap: 20px;
  padding: 20px;
  background: #F6F8FC;
  border-radius: 16px;
  box-shadow: 0 1.5px 8px 0 rgba(25,56,85,0.05);
  margin-bottom: 20px;
  max-width: 560px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0px 1px 5px 0 rgba(25, 56, 85, 0.04);
  padding: 22px 18px;
  min-width: 190px;
  flex: 1 1 220px;
}

/* HEADER & NAVIGATION */
header {
  background: #fff;
  border-bottom: 1px solid #F6F8FC;
  padding: 0 0 0 0;
}
header .container {
  display: flex;
  align-items: center;
  height: 80px;
  justify-content: space-between;
  gap: 24px;
}
header img {
  height: 36px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #193855;
  font-weight: 500;
  padding: 8px 4px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F6F8FC;
  color: #27BBA7;
}
.cta-primary {
  display: inline-block;
  background: #27BBA7;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 24px;
  padding: 10px 30px;
  margin-left: 18px;
  text-align: center;
  box-shadow: 0 2px 8px 0 rgba(39, 187, 167, 0.08);
  transition: background 0.15s, box-shadow 0.15s, transform 0.15s;
  border: none;
}
.cta-primary:hover, .cta-primary:focus {
  background: #193855;
  color: #fff;
  transform: translateY(-1.5px) scale(1.025);
  box-shadow: 0 4px 24px 0 rgba(25,56,85,0.12);
}

/* MOBILE MENU */
.mobile-menu-toggle {
  background: none;
  color: #27BBA7;
  border: none;
  font-size: 2rem;
  padding: 9px 14px;
  margin-left: 15px;
  border-radius: 8px;
  transition: background 0.18s;
  display: none;
  z-index: 202;
  line-height: 1;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F6F8FC;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 201;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4, 0.0, 0.2, 1);
  box-shadow: -2px 0 8px 0 rgba(25,56,85,0.10);
  padding: 36px 28px;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #193855;
  border: none;
  font-size: 1.75rem;
  align-self: flex-end;
  margin-bottom: 18px;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #F6F8FC;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.15rem;
  color: #193855;
  padding: 12px 0;
  border-radius: 4px;
  transition: background 0.17s, color 0.17s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F6F8FC;
  color: #27BBA7;
}

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

.hero, .cta-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
.cta-section h2 {
  margin-bottom: 10px;
}

.feature-grid, .service-listing, .course-grid, .event-list, .team-section, .blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}
.service-listing, .course-grid {
  gap: 24px;
}
.service-card, .event-card, .blog-article, .instructor-bio, .faq-item {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1.5px 8px 0 rgba(25,56,85,0.05);
  padding: 28px 24px;
  margin-bottom: 20px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 250px;
}
.service-card a, .event-card a {
  display: inline-block;
  margin-top: 12px;
  background: #193855;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 20px;
  padding: 8px 22px;
  text-align: center;
  box-shadow: 0 1.5px 7px 0 rgba(25,56,85,0.06);
  transition: background 0.15s, box-shadow 0.15s, transform 0.14s;
}
.service-card a:hover, .event-card a:hover, .course-card a:hover {
  background: #27BBA7;
  color: #fff;
  transform: translateY(-1.5px) scale(1.025);
  box-shadow: 0 3px 18px 0 rgba(25,56,85,0.13);
}

/* BLOG + ARTICLES */
.blog-list {
  gap: 24px;
}
.blog-article {
  border-left: 4px solid #27BBA7;
  background: #F6F8FC;
  box-shadow: 0 0.5px 5px 0 rgba(39, 187, 167, 0.04);
  transition: box-shadow 0.2s;
}
.blog-article a {
  color: #27BBA7;
  font-weight: 600;
  margin-top: 14px;
  transition: color 0.2s;
}
.blog-article a:hover {
  color: #193855;
}

.categories-filter {
  margin-top: 20px;
  font-size: 1rem;
  color: #193855;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.categories-filter a {
  color: #27BBA7;
  font-weight: 500;
  margin: 0 5px;
  transition: color 0.16s;
}
.categories-filter a:hover {
  color: #193855;
  text-decoration: underline;
}

/* TEAM + INSTRUCTORS */
.team-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.instructor-bio {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1.5px 7px 0 rgba(25,56,85,0.05);
  padding: 28px 20px;
  margin-bottom: 10px;
  min-width: 220px;
}

/* FAQ */
.faq-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item h3 {
  margin-bottom: 4px;
}

/* FOOTER */
footer {
  background: #F6F8FC;
  border-top: 1px solid #E0E6EF;
  padding: 48px 0 24px;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 60px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand {
  flex: 1 1 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.footer-brand img {
  height: 32px; margin-bottom: 8px;
}
.footer-links nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-links a {
  color: #193855;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  opacity: 0.95;
  transition: color 0.16s;
  display: block;
  padding: 3px 0;
}
.footer-links a:hover { color: #27BBA7; }
.footer-contact {
  font-size: 1rem;
  color: #193855;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-contact a { color: #27BBA7; }
.footer-social {
  display: flex;
  gap: 12px;
  align-items: center;
}
.footer-social a img {
  height: 24px; width: 24px;
  filter: grayscale(60%);
  transition: filter 0.15s;
}
.footer-social a:hover img {
  filter: grayscale(0%);
}
.footer-copyright {
  flex: 1 1 100%;
  margin-top: 28px;
  font-size: 0.95rem;
  color: #949494;
  text-align: left;
}

/* TESTIMONIALS */
.testimonial-card {
  background: #F6F8FC;
  color: #193855;
  box-shadow: 0 1.5px 10px 0 rgba(25,56,85,0.05);
  border-radius: 14px;
  padding: 28px 22px 22px 22px;
  gap: 14px;
  align-items: flex-start;
  max-width: 530px;
}
.testimonial-card p {
  font-size: 1.1rem;
  color: #193855;
  margin-bottom: 8px;
  font-style: italic;
}
.testimonial-name {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #193855;
  font-size: 1rem;
  font-weight: 600;
}
.testimonial-stars {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #27BBA7;
  font-size: 1.15rem;
  letter-spacing: 1px;
}

/* SPECIAL TEXT SECTIONS */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}
.text-section ul, .text-section ol {
  margin-left: 18px;
}
.text-section li {
  font-size: 1rem;
  margin-bottom: 6px;
  color: #193855;
}

/* GENERIC BUTTONS */
button, .button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif; font-size: 1rem;
  border: none;
  outline: none;
  background: #27BBA7;
  color: #fff;
  padding: 9px 26px;
  border-radius: 24px;
  font-weight: 600;
  transition: background 0.16s, box-shadow 0.16s, transform 0.13s;
  box-shadow: 0 1.5px 8px 0 rgba(39, 187, 167, 0.10);
}
button:hover, button:focus, .button:hover, .button:focus {
  background: #193855;
  color: #fff;
  transform: translateY(-1px) scale(1.015);
}

/* CONTACT-INFO SECTION */
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  background: #fff;
  box-shadow: 0 1.5px 8px 0 rgba(25,56,85,0.06);
  border-radius: 12px;
  padding: 30px 22px;
  margin-bottom: 18px;
}

/* EVENT LIST CARDS */
.event-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.event-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1.5px 7px 0 rgba(25,56,85,0.06);
  padding: 28px 24px;
  flex: 1 1 260px;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* STEP SECTION (How Courses Work) */
.step-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #F6F8FC;
  border-radius: 12px;
  padding: 26px 22px;
}
.step-section ol, .step-section ul {
  margin-left: 16px;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: #fff;
  box-shadow: 0 -3px 20px rgba(25,56,85,0.10);
  border-top: 1.5px solid #F6F8FC;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: center;
  animation: banner-down 0.34s cubic-bezier(0.42,0,0.58,1);
}
@keyframes banner-down {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  flex: 1 1 340px;
  font-size: 1rem;
  color: #193855;
}
.cookie-banner .cookie-btn, .cookie-banner .cookie-btn-settings {
  background: #27BBA7;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border: none;
  border-radius: 24px;
  padding: 8px 20px;
  font-weight: 600;
  margin-left: 8px;
  transition: background 0.18s, color 0.18s, transform 0.14s;
}
.cookie-banner .cookie-btn-reject {
  background: #fff;
  color: #193855;
  border: 1.5px solid #27BBA7;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border-radius: 24px;
  padding: 8px 20px;
  font-weight: 600;
  margin-left: 8px;
  transition: background 0.18s, color 0.18s, transform 0.14s, border 0.12s;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn-settings:hover {
  background: #193855;
}
.cookie-banner .cookie-btn-reject:hover {
  border-color: #193855;
  color: #27BBA7;
}


/* COOKIE SETTINGS MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(25,56,85,0.18);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-fadein 0.3s cubic-bezier(0.4,0,0.2,1);
}
@keyframes modal-fadein {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 3px 32px 0 rgba(25,56,85,0.15);
  padding: 38px 36px 28px 36px;
  max-width: 420px;
  width: 96%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modal-slideup 0.3s cubic-bezier(0.4,0,0.2,1);
}
@keyframes modal-slideup {
  0% { transform: translateY(30px); opacity: 0.4; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-modal h2 { margin: 0 0 10px 0; font-size: 1.3rem; }
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
}
.cookie-category input[type="checkbox"] {
  width: 18px; height: 18px; accent-color: #27BBA7;
}
.cookie-category label { font-size: 1rem; color: #193855; font-weight: 600; }
.category-desc { font-size: 0.98rem; color: #556a89; margin-left: 5px; font-weight: 400; }
.cookie-modal-buttons {
  display: flex;
  gap: 14px;
  margin-top: 10px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn, .cookie-modal .cookie-btn-reject {
  padding: 8px 20px;
}
.cookie-modal .cookie-btn-close {
  background: none;
  color: #555;
  border: none;
  font-size: 1.25rem;
  position: absolute;
  top: 12px; right: 18px;
  cursor: pointer;
}

/* TRANSITIONS & ANIMATIONS */
a, .cta-primary, .button, button, .main-nav a, .mobile-nav a {
  transition: color 0.18s, background 0.17s, box-shadow 0.18s, transform 0.18s;
}
.card, .feature-item, .service-card, .blog-article, .event-card, .testimonial-card {
  transition: box-shadow 0.16s, transform 0.17s;
}
.card:hover, .feature-item:hover, .service-card:hover, .blog-article:hover, .event-card:hover {
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 8px 32px 0 rgba(25,56,85,0.12);
}

/* MEDIA QUERIES - RESPONSIVENESS */
@media (max-width: 1100px) {
  .container { max-width: 94vw; }
  .feature-grid, .service-listing, .course-grid, .blog-list, .event-list {
    gap: 18px;
  }
  .card, .feature-item, .service-card, .blog-article, .event-card {
    padding: 22px 14px;
  }
}
@media (max-width: 900px) {
  .content-wrapper, .content-grid {
    gap: 18px;
  }
  footer .container {
    flex-wrap: wrap;
    gap: 24px 24px;
  }
}
@media (max-width: 768px) {
  header .container {
    padding: 0 12px;
    height: 68px;
    gap: 8px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container { max-width: 99vw; padding: 0 8px; }
  section, .section {
    margin-bottom: 40px;
    padding: 22px 0 4px 0;
  }
  .feature-grid, .service-listing, .course-grid, .blog-list, .event-list, .team-section {
    flex-wrap: wrap;
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .testimonial-card, .card, .feature-item, .service-card, .blog-article, .event-card, .instructor-bio {
    padding: 20px 12px;
    min-width: 0;
    box-sizing: border-box;
  }
  .cta-primary {
    width: 100%;
    margin-left: 0;
  }
  .content-wrapper {
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .footer-brand, .footer-contact, .footer-links, .footer-social {
    flex: 1 1 100%;
  }
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 1.56rem; }
  h2 { font-size: 1.22rem; }
  h3 { font-size: 1.06rem; }
  .testimonial-card, .footer-brand img { max-width: 95vw; }
  .cta-primary { font-size: 0.97rem; }
}

/* VISUAL HIERARCHY/ELEMENTS & MICRO-INTERACTIONS */
.card:active, .feature-item:active, .service-card:active {
  transform: scale(0.995) translateY(1px);
}
.card:focus-within, .service-card:focus-within, .blog-article:focus-within {
  box-shadow: 0 0 0 3px #27BBA7;
}
.main-nav a.active, .mobile-nav a.active {
  color: #27BBA7;
  font-weight: 700;
  background: #F6F8FC;
}

/* HIGH CONTRAST FOR TESTIMONIALS & REVIEW SECTIONS */
.testimonial-card { background: #F6F8FC; color: #193855; }
.testimonial-card p, .testimonial-card .testimonial-name { color: #193855; }
.testimonial-stars { color: #27BBA7; }

/* UTILITY CLASSES */
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.mt-12 { margin-top: 12px; }
.mb-12 { margin-bottom: 12px; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* Hide scrollbars in modal/mobile menu for cleaner appearance on some browsers */
.mobile-menu::-webkit-scrollbar, .cookie-modal-overlay::-webkit-scrollbar { display: none; }

/* END CSS */
