/* 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;
  vertical-align: baseline;
  font-size: 100%;
  font: inherit;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F5F7FA;
  color: #123963;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  min-height: 100vh;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  vertical-align: middle;
}
a {
  color: #123963;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.4,1.4,.8,1); /* playful transition */
}
a:hover, a:focus {
  color: #8BC34A;
  outline: none;
}
ul, ol {
  list-style-position: inside;
  margin-bottom: 1em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: bold;
  margin-bottom: 12px;
  color: #123963;
}
h1 {
  font-size: 2.3rem;
  letter-spacing: -0.5px;
}
h2 {
  font-size: 1.7rem;
}
h3 {
  font-size: 1.2rem;
}
p, li {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 8px;
}
strong {
  color: #ff9800;
  font-weight: bold;
}
blockquote {
  background: #fff7e6;
  border-left: 6px solid #ffc107;
  padding: 16px 20px;
  border-radius: 16px 8px 16px 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  margin: 0 0 12px 0;
  color: #123963;
  position: relative;
}
cite {
  font-size: 1rem;
  color: #688ab6;
  display: block;
}

/* ---------- BASE STRUCTURE & BRAND ---------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

header {
  background: #fff;
  box-shadow: 0 4px 14px rgba(18,57,99,0.05);
  position: sticky;
  top: 0;
  z-index: 1001;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 20px;
}
header img {
  height: 42px;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: .01em;
  font-size: 1rem;
  padding: 8px 0;
  color: #123963;
  position: relative;
  transition: color 0.2s, background 0.2s;
}
.main-nav a::after {
  content: '';
  display: block;
  height: 3px;
  width: 0;
  background: #8BC34A;
  border-radius: 3px;
  transition: width 0.25s cubic-bezier(.85,2,.6,.9);
}
.main-nav a:hover::after, .main-nav a:focus::after {
  width: 100%;
}
.main-nav a:hover, .main-nav a.active {
  color: #8BC34A;
}

.cta-primary {
  appearance: none;
  display: inline-block;
  background: #8BC34A;
  color: #123963;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 12px 32px;
  border: none;
  border-radius: 32px 12px 32px 12px;
  box-shadow: 0 3px 12px rgba(139,195,74,0.08);
  cursor: pointer;
  position: relative;
  transition: background 0.18s, color 0.15s, box-shadow 0.18s, transform 0.18s;
  margin-left: 16px;
}
.cta-primary:hover, .cta-primary:focus {
  background: #123963;
  color: #fff;
  box-shadow: 0 6px 18px rgba(18,57,99,0.11);
  transform: translateY(-2px) scale(1.03) rotate(-2deg);
  outline: none;
  text-decoration: none;
}

button, .cta-primary {
  outline: none;
}

.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #8BC34A;
  color: #123963;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  margin-left: 12px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(139,195,74,0.09);
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #123963;
  color: #8BC34A;
  transform: rotate(20deg) scale(1.08);
}

@media (min-width: 992px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* ------- MOBILE MENU --------- */
.mobile-menu {
  position: fixed;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #123963;
  color: #fff;
  z-index: 2000;
  transform: translateX(-100vw);
  transition: transform 0.34s cubic-bezier(.25,1.7,.5,0.7);
  box-shadow: 4px 0 24px rgba(18,57,99,0.19);
  padding: 0 0 32px 0;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #8BC34A;
  font-size: 2.4rem;
  margin: 28px 0 18px 20px;
  align-self: flex-start;
  cursor: pointer;
  transition: color 0.2s, transform 0.11s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
  transform: scale(1.15) rotate(-10deg);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0 38px 0 28px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.18rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  padding: 12px 0;
  border-radius: 6px;
  margin-bottom: 4px;
  transition: background 0.17s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #8BC34A;
  color: #123963;
}

@media (min-width: 992px) {
  .mobile-menu { display: none !important; }
}

/* ------ HERO SECTION ------ */
.hero {
  background: linear-gradient(98deg, #8BC34A 0%, #F5F7FA 80%);
  border-bottom-left-radius: 86px 60px;
  box-shadow: 0 6px 24px rgba(18,57,99,0.09);
  min-height: 350px;
}
.hero .container {
  min-height: 320px;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.hero h1 {
  color: #123963;
  font-size: 2rem;
  font-family: 'Montserrat', cursive, sans-serif;
  margin-top: 10px;
}
.hero p {
  color: #234f85;
  font-size: 1.13rem;
  font-family: 'Source Sans Pro', sans-serif;
}
.hero .cta-primary {
  margin-top: 10px;
}

/* ------ FEATURES & CARDS ------ */
.features, .feature-section {
  background: #fff;
  border-radius: 60px 28px 60px 28px;
  box-shadow: 0 2px 14px rgba(18,57,99,0.06);
}
.features .feature-grid, .feature-section .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 24px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
  background: #f9fbfc;
  border-radius: 32px 12px 32px 12px;
  box-shadow: 0 2px 12px rgba(139,195,74,0.08);
  padding: 28px 22px;
  min-width: 200px;
  flex: 1 1 240px;
  margin-bottom: 20px;
  position: relative;
  transition: transform .14s cubic-bezier(.47,2.4,.68,.8), box-shadow .14s;
}
.feature-item img {
  width: 44px;
  height: 44px;
  margin-bottom: 6px;
  filter: drop-shadow(3px 3px 0 #8BC34A22);
  animation: bounce 2.2s cubic-bezier(.42,1.5,.68,1.2) infinite alternate;
}
@keyframes bounce {
  0% { transform: translateY(0); }
  80% { transform: translateY(-7px) rotate(-3deg); }
  100% { transform: translateY(0); }
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 8px 32px #8BC34A33;
  transform: translateY(-6px) rotate(-1deg) scale(1.03);
}
.feature-item h3 {
  color: #123963;
  font-size: 1.14rem;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 5px;
}
.feature-item p {
  color: #31507a;
  font-size: 1rem;
}

/* ------ CARDS GENERIC & GRID ------ */
.card-container, .content-grid, .tools-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.card {
  background: #fff;
  border-radius: 28px 12px 28px 12px;
  box-shadow: 0 2px 12px rgba(18,57,99,0.09);
  padding: 24px 22px;
  margin-bottom: 20px;
  position: relative;
  min-width: 220px;
  flex: 1 1 210px;
  transition: box-shadow 0.15s, transform 0.13s;
}
.card:hover {
  box-shadow: 0 8px 30px #8BC34A33;
  transform: translateY(-5px) scale(1.03);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ------ TESTIMONIALS ------ */
.testimonials {
  background: #fdefff;
  border-radius: 48px 18px 48px 18px;
  box-shadow: 0 4px 20px #c4afdd11;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 22px;
  background: #fff;
  border-radius: 24px 10px 24px 10px;
  box-shadow: 0 2px 11px rgba(18,57,99,0.06), 0 0px 13px #f8bbd047;
  margin-bottom: 24px;
  margin-top: 12px;
  min-width: 210px;
  transition: box-shadow 0.13s, transform 0.12s;
}
.testimonial-card:hover {
  background: #FFFBE6;
  transform: scale(1.02) rotate(-1.5deg);
  box-shadow: 0 8px 32px #ffecb366, 0 0px 13px #f8bbd047;
}
.testimonial-card blockquote {
  background: transparent;
  border-left: 4px solid #8BC34A;
  font-size: 1.08rem;
  padding: 10px 16px;
  border-radius: 18px 8px 18px 8px;
  color: #123963;
}
.testimonial-card cite {
  color: #31507a;
  font-weight: bold;
  font-size: 1rem;
  margin-top: 0px;
  align-self: flex-end;
}

/**** SECTIONS + SPACING ****/
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width:768px) {
  .section, section {
    padding: 28px 8px;
    margin-bottom: 38px;
  }
}
.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;
}
@media (max-width:768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/**** OTHERS (About, Listings) ****/
.about-short, .about-details, .unique-features, .contact, .info, .services, .success-stories, .dashboards-preview, .analytical-reports, .learning-outcomes, .before-after-comparisons {
  background: #fff;
  border-radius: 50px 18px 50px 18px;
  box-shadow: 0 1px 7px #e1e7f188;
}
.about-short ul, .unique-features ul, .services ul, .services ol {
  margin-top: 12px;
  padding-left: 22px;
}
.certified-logos {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-top: 16px;
}
.certified-logos img {
  height: 38px;
}

/**** CONTACT DETAILS ****/
.contact-details, .office-hours {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  margin-bottom: 10px;
  font-size: 1.08rem;
}
.contact-details img, .office-hours img {
  width: 22px;
  height: 22px;
  margin-right: 6px;
}
.map-embed {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #eef8e8;
  border-radius: 18px 6px 18px 6px;
  padding: 10px 18px;
  margin-top: 12px;
  font-size: 1rem;
}
.contact-action {
  margin-top: 20px;
}

/**** FOOTER ****/
footer {
  margin-top: 60px;
  background: #123963;
  color: #fff;
  border-top-left-radius: 64px 36px;
  box-shadow: 0 -2px 26px #1239630d;
  padding: 36px 0 16px 0;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 34px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1rem;
}
.footer-nav a {
  color: #8BC34A;
  margin-bottom: 2px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  text-decoration: underline;
}
.footer-brand {
  display: flex;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  letter-spacing: .03em;
  font-size: 1.04rem;
  margin-bottom: 8px;
}
.footer-brand img {
  height: 28px;
  margin-right: 8px;
}
.footer-contact {
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.footer-contact img {
  width: 18px;
  margin-right: 7px;
  vertical-align: middle;
}
.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 6px;
  align-items: center;
}
.footer-social a {
  transition: transform 0.14s;
}
.footer-social a:hover {
  transform: translateY(-5px) scale(1.14) rotate(-10deg);
}
.footer-social img {
  width: 26px;
}

@media (max-width: 992px) {
  footer .container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

/**** CTA SECTIONS (last, bundle) ****/
.cta-last, .cta-bundle {
  background: #8BC34A;
  border-radius: 46px 12px 46px 12px;
  box-shadow: 0 8px 32px #8BC34A11;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
}
.cta-last h2, .cta-bundle h2 {
  color: #123963;
  font-size: 1.32rem;
  margin-bottom: 16px;
}
.cta-last .cta-primary, .cta-bundle .cta-primary {
  margin-left: 0;
  background: #123963;
  color: #8BC34A;
  font-size: 1rem;
}
.cta-last .cta-primary:hover, .cta-bundle .cta-primary:hover {
  color: #fff;
  background: #204e83;
}

/**** FORM & INPUTS (if present) ****/
input[type="text"], input[type="email"], textarea {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1rem;
  padding: 9px 15px;
  border-radius: 12px;
  border: 1.5px solid #c1dbb9;
  background: #fff;
  margin-bottom: 14px;
  outline: none;
  transition: border 0.18s;
}
input:focus, textarea:focus {
  border: 1.6px solid #8BC34A;
}

/**** ACCORDIONS (FAQ) ****/
.faq-accordion h3 {
  margin-bottom: 14px;
}
.faq-accordion ul {
  list-style-type: disc;
  padding-left: 22px;
}
.faq-accordion li {
  padding: 6px 0;
}

/**** TYPOGRAPHY SCALE & HIERARCHY ****/
h1 { font-size: 2.3rem; line-height: 1.21; margin-bottom: 12px; }
h2 { font-size: 1.7rem; line-height: 1.16; margin-bottom: 10px; }
h3 { font-size: 1.2rem; margin-bottom: 5px; }
p, li, cite, blockquote { font-size: 1rem; }
.text-section h3 {
  font-size: 1.1rem;
  color: #8BC34A;
  margin-top: 12px;
  font-weight: bold;
  font-family: 'Montserrat', sans-serif;
}
.text-section ul {
  padding-left: 22px;
  margin-top: 7px;
}

/**** ANIMATIONS & MICRO-INTERACTIONS ****/
section, .section, .testimonial-card, .feature-item, .card {
  animation: fadein-up 0.65s cubic-bezier(.65,1.5,.5,1.13);
}
@keyframes fadein-up {
  0% { opacity: 0; transform: translateY(30px) scale(.98); }
  90% {opacity: 1; transform: translateY(-4px) scale(1.01);}
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* --------------- RESPONSIVE --------------- */
@media (max-width:768px) {
  .container {
    max-width: 100%;
    padding: 0 7px;
  }
  .main-nav {
    display: none;
  }
  .content-wrapper, .unique-features .content-wrapper {
    gap: 18px;
  }
  .feature-item, .card, .testimonial-card {
    min-width: unset;
    width: 100%;
    flex: 1 1 100%;
  }
  .feature-grid, .card-container, .content-grid, .tools-grid {
    flex-direction: column;
    gap: 18px;
    min-width: 0;
  }
  .certified-logos {
    flex-direction: row;
    gap: 14px;
  }
}
@media (max-width:540px) {
  h1 { font-size: 1.38rem;}
  h2 { font-size: 1.12rem;}
  .section, section { padding: 16px 2px; }
  .feature-item, .card, .testimonial-card { padding: 18px 10px; }
}

/**** COOKIE CONSENT BANNER ****/
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #123963;
  color: #fff;
  z-index: 3000;
  border-top-right-radius: 48px 16px;
  border-top-left-radius: 24px 8px;
  box-shadow: 0 -2px 24px #12396322;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 30px;
  font-size: 1rem;
  animation: popin-bottom 0.8s cubic-bezier(.74,2,0.6,.98);
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 8px;
}
.cookie-banner button {
  padding: 9px 19px;
  font-family: 'Montserrat', sans-serif;
  border-radius: 20px 8px 20px 8px;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  margin-left: 0px;
  cursor: pointer;
  transition: background 0.12s, color 0.11s, box-shadow 0.16s, transform .13s;
  box-shadow: 0 2px 8px #8BC34A22;
}
.cookie-banner .accept {
  background: #8BC34A;
  color: #123963;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #6EA32A;
  color: #fff;
}
.cookie-banner .reject {
  background: #f44336;
  color: #fff;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #A82316;
}
.cookie-banner .settings {
  background: #fff;
  color: #123963;
  border: 1.5px solid #8BC34A;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #8BC34A;
  color: #fff;
  border-color: #6EA32A;
}
@keyframes popin-bottom {
  0% { opacity: 0; transform: translateY(120%); }
  99% { opacity: 1; transform: translateY(-4%); }
  100% { opacity: 1; transform: translateY(0%); }
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 19px 10px;
    font-size: .98rem;
  }
}

/**** COOKIE PREFERENCES MODAL ****/
.cookie-modal-bg {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: #000b 78%;
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fade-bg .22s cubic-bezier(.27,2.1,.88,1.11);
}
@keyframes fade-bg {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 38px 13px 38px 13px;
  max-width: 96vw;
  width: 440px;
  box-shadow: 0 8px 32px #12396328;
  padding: 34px 25px 24px 25px;
  display: flex;
  flex-direction: column;
  animation: scalein .18s cubic-bezier(.46,1.5,.4,.96);
  position: relative;
}
@keyframes scalein {
  0% { opacity: 0; transform: scale(.7); }
  100% { opacity: 1; transform: scale(1); }
}
.cookie-modal h2 {
  color: #123963;
  font-size: 1.22rem;
  margin-bottom: 18px;
  font-family: 'Montserrat', sans-serif;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 14px;
}
.cookie-category label {
  font-size: 1rem;
  color: #123963;
}
.cookie-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #8BC34A;
  margin-right: 3px;
}
.cookie-pref-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 18px;
  flex-wrap: wrap;
}
.cookie-modal .close {
  position: absolute;
  top: 12px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #8BC34A;
  cursor: pointer;
  transition: color 0.17s, transform .1s;
}
.cookie-modal .close:hover, .cookie-modal .close:focus {
  color: #f44336;
  transform: scale(1.12) rotate(8deg);
}

/**** PLAYFUL ELEMENTS ****/
/* Random squiggle and animated underline on key headings can be added via SVG image as background where desired */
h2, .hero h1 {
  position: relative;
  z-index: 1;
}
h2::before, .hero h1::before {
  content: '';
  display: block;
  width: 54px;
  height: 10px;
  background: url('data:image/svg+xml;utf8,<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 90 12"><path d="M2 7c12-2.5 28-8.5 43 0s36.5 8.5 43 0" stroke='%238BC34A' stroke-width='4' fill='none' stroke-linecap='round'/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  margin-bottom: 7px;
  margin-left: -5px;
  opacity: 0.65;
}

/**** DYNAMIC COLOR ACCENTS ****/
strong, em {
  color: #fbc02d;
}

/**** PLAYFUL FONT for DISPLAY - large headings ****/
.hero h1, h1, h2 {
  font-family: 'Montserrat', 'Comic Sans MS', 'Comic Sans', cursive, sans-serif;
}

/**** MODAL OVERFLOW CONTROL (body class) ****/
body.modal-open {
  overflow: hidden;
}

/**** MISC UTILS ****/
.hide, .hidden {
  display: none !important;
}

/**** PRINT FRIENDLY ****/
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  section, .container { margin: 0 !important; padding: 0 !important; box-shadow: none !important; }
  body { background: #fff !important; color: #123963 !important; }
}
