/* === CSS RESET & 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, 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;
}
body {
  line-height: 1.5;
  background: #F7F8FA;
  color: #182642;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

/* === FONT IMPORT === */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Open+Sans:wght@400;600&display=swap');

:root {
  --brand-primary: #19417A;
  --brand-secondary: #36B77A;
  --brand-accent: #F7F8FA;
  --brand-error: #E94E77;
  --brand-warning: #FFC63B;
  --brand-electric1: #00C7FA;
  --brand-electric2: #EB3BE7;
  --brand-electric3: #FFC63B;
  --brand-dark: #182642;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  background: var(--brand-accent);
  color: var(--brand-dark);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--brand-primary);
  line-height: 1.1;
  margin-bottom: 18px;
  font-weight: 900;
}

h1 {
  font-size: 2.75rem;
  margin-bottom: 20px;
  letter-spacing: -1px;
  text-shadow: 0 2px 18px rgba(0,199,250,0.09);
}

h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  font-weight: 800;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  font-weight: 700;
}

p, li, blockquote {
  font-size: 1rem;
  margin-bottom: 12px;
  line-height: 1.6;
  color: #1B334A;
}
strong {
  font-weight: 700;
}

/* === LAYOUT CONTAINERS === */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* === SHADOWS, RADIUS FOR MODERNITY === */
.card, .feature-item, .testimonial-card, .course-card, .value-item, .team-member {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 24px 0 rgba(30,85,170,0.09), 0 1.5px 9px 0 rgba(54,183,122,0.07);
  padding: 28px 28px 24px 28px;
  transition: box-shadow 0.24s cubic-bezier(.23,1.11,.62,1), transform 0.24s;
}
.card:hover, .feature-item:hover, .testimonial-card:hover, .course-card:hover, .value-item:hover, .team-member:hover {
  box-shadow: 0 6px 38px 0 rgba(30,85,170,0.16), 0 3px 14px 0 rgba(54,183,122,0.13);
  transform: translateY(-4px) scale(1.025);
  cursor: pointer;
}

/* === MAIN NAVIGATION === */
header {
  background: #fff;
  box-shadow: 0 3px 20px 0 rgba(25,65,122,0.06);
  position: sticky;
  top: 0;
  z-index: 20;
}
.main-nav {
  display: flex;
  align-items: center;
  padding: 0 30px;
  min-height: 72px;
  gap: 17px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1em;
  background: none;
}
.main-nav img {
  height: 36px;
  margin-right: 16px;
}
.main-nav a {
  color: var(--brand-primary);
  padding: 8px 14px;
  border-radius: 10px;
  position: relative;
  transition: background 0.15s, color 0.15s;
}
.main-nav a.cta-primary {
  background: var(--brand-secondary);
  color: #fff;
  margin-left: 20px;
  font-weight: 900;
  box-shadow: 0 3px 12px rgba(54,183,122,0.12);
  transition: background 0.16s cubic-bezier(.23,1.11,.62,1), box-shadow 0.21s;
}
.main-nav a.cta-primary:hover, .main-nav a.cta-primary:focus {
  background: var(--brand-primary);
  color: #fff;
  box-shadow: 0 8px 22px rgba(25,65,122,.13);
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--brand-electric1);
  color: #fff;
}

/* === MOBILE NAVIGATION === */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 20px;
  right: 28px;
  padding: 8px 10px;
  background: var(--brand-electric2);
  color: #fff;
  font-size: 2.2rem;
  border-radius: 10px;
  cursor: pointer;
  z-index: 35;
  border: none;
  transition: background 0.18s;
}
.mobile-menu-toggle:active {
  background: var(--brand-secondary);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(25,65,122, 0.97);
  transition: transform 0.34s cubic-bezier(.51,.13,.39,.97);
  z-index: 100;
  transform: translateX(-120%);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 0;
}
body.mobile-menu-open .mobile-menu {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 24px 0 0 20px;
  background: var(--brand-electric3);
  color: var(--brand-primary);
  font-size: 2rem;
  font-weight: 700;
  border-radius: 12px;
  border: none;
  padding: 8px 18px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(255,198,59,0.14);
  transition: background 0.17s, color 0.17s;
}
.mobile-menu-close:active {
  background: var(--brand-electric2);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 36px;
  gap: 6px;
  font-family: var(--font-display);
}
.mobile-nav a {
  display: block;
  width: 100%;
  padding: 18px 32px;
  margin: 0;
  font-size: 1.28rem;
  color: #fff;
  text-align: left;
  border-radius: 0;
  font-weight: 700;
  border-left: 6px solid transparent;
  transition: background 0.16s, border-color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  border-left: 6px solid var(--brand-electric3);
}

/* === HERO AND CTA BUTTONS === */
.cta-primary, .cta-secondary {
  display: inline-block;
  border: none;
  border-radius: 10px;
  padding: 16px 36px;
  font-size: 1.18rem;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: .5px;
  background: var(--brand-secondary);
  color: #fff;
  box-shadow: 0 3px 12px rgba(54,183,122,0.12);
  margin-top: 16px;
  cursor: pointer;
  transition: background 0.2s, transform 0.17s, box-shadow 0.17s;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--brand-electric2);
  color: #fff;
  transform: scale(1.04) translateY(-2px);
  box-shadow: 0 12px 24px #EB3BE726;
}
.cta-secondary {
  background: var(--brand-primary);
  color: #fff;
  box-shadow: 0 3px 12px rgba(25,65,122,0.08);
  margin-top: 24px;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--brand-electric1);
  color: #fff;
  transform: scale(1.03);
}

/* === FLEX PATTERNS & GENERAL STRUCTURE === */
.card-container, .card-grid, .feature-grid, .values-grid, .team-list, .course-list, .course-card-grid, .testimonial-slider, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card-container { gap: 24px; }
.card {
  flex: 1 1 265px;
  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;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 22px rgba(25,65,122,0.13);
  min-width: 260px;
  max-width: 360px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 210px;
  flex: 1 1 215px;
  background: #fff;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 5px 14px rgba(0,199,250,0.07);
}
/* course cards */
.course-card, .team-member, .value-item {
  flex: 1 1 275px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(25,65,122,0.07);
  padding: 24px 22px;
  margin-bottom: 20px;
  transition: box-shadow 0.21s, transform 0.15s;
}
.course-card:hover, .team-member:hover, .value-item:hover {
  box-shadow: 0 10px 28px rgba(54,183,122,0.10);
  transform: scale(1.015);
}

/* === HOMEPAGE COURSE LIST === */
.course-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 14px;
  justify-content: flex-start;
}

/* COURSE CARD GRIDS */
.course-card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 24px;
}

/* === TESTIMONIALS === */
.testimonial-slider, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card p {
  font-size: 1.05rem;
  color: #1B334A;
  font-style: italic;
}
.testimonial-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.96rem;
}
.testimonial-name {
  font-weight: bold;
  color: var(--brand-primary);
}
.testimonial-location {
  color: var(--brand-secondary);
}
.testimonial-stars img {
  display: inline;
  width: 16px;
  height: 16px;
}

/* === VALUES === */
.values-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.value-item {
  flex: 1 1 215px;
  min-width: 200px;
  margin-bottom: 20px;
}

/* === TEAM === */
.team-list {
  gap: 24px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.team-member {
  min-width: 230px;
  flex: 1 1 230px;
}

/* === ACCORDION FAQ === */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}
.faq-item {
  background: #fff;
  border-radius: 13px;
  padding: 18px 22px;
  box-shadow: 0 1.5px 9px rgba(0,199,250,0.05);
}
.faq-item h3 {
  color: var(--brand-electric2);
  font-size: 1.12rem;
  margin-bottom: 7px;
}
.faq-item p {
  margin: 0;
}

/* === LEGAL SECTIONS === */
.legal-section {
  background: #fff;
  border-radius: 12px;
  padding: 18px 24px;
  box-shadow: 0 1.5px 9px rgba(25,65,122,0.07);
  margin-bottom: 24px;
}
.legal-section h3 {
  color: var(--brand-electric1);
  margin-top: 18px;
  font-size: 1.07rem;
}

/* === FOOTER === */
footer {
  background: var(--brand-primary);
  color: #fff;
  margin-top: 40px;
  padding-top: 40px;
  font-family: var(--font-body);
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 20px;
}
.footer-main img {
  height: 38px;
  margin-bottom: 12px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
  font-size: 1rem;
}
.footer-nav a {
  color: #fff;
  opacity: 0.8;
  padding: 4px 0;
  border-radius: 8px;
  font-weight: 600;
  transition: color 0.21s, background 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--brand-secondary);
  background: #fff2;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.95em;
  opacity: 0.93;
  font-family: var(--font-body);
}
.footer-contact img {
  width: 16px;
  height: 16px;
  margin-right: 7px;
  vertical-align: middle;
}
.footer-bottom {
  border-top: 1px solid #ffffff22;
  text-align: center;
  margin-top: 13px;
  padding: 12px 0 32px;
  font-size: 0.98em;
  opacity: 0.85;
}

/* === MICRO-INTERACTIONS & HOVERS === */
a, button, .cta-primary, .cta-secondary {
  transition: color 0.18s, background 0.18s, box-shadow 0.17s, transform 0.18s;
}
a:focus, button:focus, .cta-primary:focus, .cta-secondary:focus {
  outline: 2px dashed var(--brand-electric1);
  outline-offset: 3px;
}

/* === SPACING BETWEEN ALL CARDS/SECTIONS === */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container, .feature-grid, .testimonial-slider, .testimonial-list, .course-card-grid, .team-list, .values-grid {
  gap: 24px;
}
.card, .course-card, .feature-item, .testimonial-card, .team-member, .value-item {
  margin-bottom: 20px;
}

/* === SUPPORT ELEMENTS === */
.text-section {
  background: #fff;
  border-radius: 14px;
  padding: 18px 24px;
  box-shadow: 0 1.5px 9px rgba(25,65,122,0.09);
  font-size: 1.05rem;
  margin-bottom: 15px;
}
.success-metrics {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #fff;
  border-radius: 10px;
  padding: 16px 24px;
  box-shadow: 0 1.5px 8px #19417A14;
  margin-top: 14px;
  font-size: 1.03rem;
}

/* === SUPPORT/LINKS === */
.support-contact-link {
  margin-top: 20px;
}
.support-contact-link a {
  color: var(--brand-electric2);
  border-bottom: 2px solid var(--brand-electric2);
  font-weight: 700;
  padding-bottom: 1px;
  transition: color 0.16s;
}
.support-contact-link a:hover, .support-contact-link a:focus {
  color: var(--brand-secondary);
  border-color: var(--brand-secondary);
}

/* === RESPONSIVE DESIGN (MOBILE-FIRST) === */
@media (max-width: 1040px) {
  .footer-main { gap: 20px; }
}
@media (max-width: 900px) {
  .main-nav { flex-wrap: wrap; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.42rem; }
  .container { padding: 0 10px; }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-main {
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
  }
  .card-container, .course-card-grid, .feature-grid, .values-grid, .team-list, .testimonial-slider, .testimonial-list {
    flex-direction: column;
    gap: 18px;
  }
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  .feature-item, .course-card, .testimonial-card, .team-member, .value-item { min-width: 0; }
}
@media (max-width: 540px) {
  h1, h2, h3, h4, h5 { text-align: left; }
  .cta-primary, .cta-secondary {
    font-size: 1.03rem;
    padding: 13px 16px;
  }
}

/* === COOKIE CONSENT BANNER === */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  color: #132652;
  box-shadow: 0 -3px 32px rgba(25,65,122,0.16);
  z-index: 140;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 20px 16px 18px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: transform 0.29s cubic-bezier(.57,.13,.41,.95);
  transform: translateY(0);
}
.cookie-consent-banner.hide {
  transform: translateY(120%);
}
.cookie-consent-banner .cookie-msg {
  flex: 3;
  min-width: 200px;
  max-width: 440px;
  color: var(--brand-primary);
}
.cookie-consent-banner .cookie-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-btn {
  border-radius: 7px;
  padding: 9px 20px;
  border: none;
  font-weight: 700;
  font-size: 1rem;
  margin: 2px;
  cursor: pointer;
  transition: background 0.19s, color 0.14s, box-shadow 0.19s;
  box-shadow: 0 2px 8px rgba(54,183,122,0.07);
}
.cookie-btn.accept {
  background: var(--brand-secondary);
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--brand-electric2);
}
.cookie-btn.reject {
  background: #EB3BE7;
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #FF92F7;
}
.cookie-btn.settings {
  background: var(--brand-primary);
  color: #fff;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--brand-electric1);
  color: var(--brand-primary);
}

/* === COOKIE MODAL === */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(25,65,122,0.82);
  z-index: 160;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.28s;
  opacity: 1;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 10px 36px rgba(25,65,122,0.12);
  width: 98%;
  max-width: 400px;
  padding: 32px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal-content h2 {
  color: var(--brand-electric2);
  font-size: 1.25rem;
  margin-bottom: 9px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 6px;
}
.cookie-category input[type=checkbox] {
  accent-color: var(--brand-secondary);
  width: 22px; height: 22px; margin-right: 7px;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: #F7F8FA;
  color: var(--brand-electric2);
  border: none;
  font-size: 1.35rem;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--brand-electric2);
  color: #fff;
}

/* === MISCELLANEOUS OVERRIDES === */
::-webkit-scrollbar {
  width: 10px; background: #e3e9f0;
}
::-webkit-scrollbar-thumb {
  background: var(--brand-secondary);
  border-radius: 7px;
  box-shadow: 0 0 7px #EB3BE733;
}

/* Highlight some icons and buttons with vibrancy */
.feature-item img, .testimonial-stars img, .footer-contact img {
  filter: drop-shadow(0 2px 5px var(--brand-electric1)) drop-shadow(0 2px 6px var(--brand-electric2));
  opacity: 0.95;
}

/* === UTILITY CLASSES === */
.hide {
  display: none !important;
}

/* === END === */