/* 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;
}

/* 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;
  min-height: 100vh;
  background: #F7F7F9;
  color: #244B73;
  font-family: 'Open Sans', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; transition: color .2s; }
img { max-width: 100%; display: block; }
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  outline: none;
  border: none;
  background: none;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 16px;
  font-weight: 700;
  color: #244B73;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 24px;
  line-height: 1.15;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}
h4, h5, h6 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}
p, li, span, label {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: #344155;
}
p {
  margin-bottom: 16px;
}
strong {
  font-weight: 600;
}

/* CONTAINER & GLOBAL SPACING */
.container {
  width: 100%;
  max-width: 1160px;
  padding: 0 20px;
  margin-left: auto;
  margin-right: auto;
}
.content-wrapper {
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: 28px;
}

@media (max-width: 768px) {
  .section {
    margin-bottom: 40px;
    padding: 28px 10px;
  }
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: #F2F8FC;
  box-shadow: 0 3px 16px rgba(110,148,188,0.07);
  position: relative;
  z-index: 101;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 14px;
  gap: 20px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #244B73;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background .16s, color .16s;
}
header nav a:hover,
header nav a:focus {
  background: #e4f0fd;
  color: #21609a;
}
header .cta-btn {
  margin-left: 24px;
}

@media (max-width: 1023px) {
  header .container {
    flex-wrap: wrap;
  }
  header nav {
    gap: 10px;
  }
  header .cta-btn {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  header nav {
    display: none;
  }
  header .cta-btn {
    display: none;
  }
}

/* CTA BUTTONS */
.cta-btn {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  background: #8BC4E2;
  color: #244B73;
  font-size: 1.08rem;
  padding: 13px 28px;
  border-radius: 30px;
  margin: 12px 0;
  box-shadow: 0 2px 12px rgba(131,190,226,0.13);
  transition: background .18s, color .18s, box-shadow .18s, transform .12s;
  cursor: pointer;
  border: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #244B73;
  color: #ffffff;
  box-shadow: 0 5px 24px rgba(36,75,115,0.20);
  transform: translateY(-2px) scale(1.06);
}
.cta-btn.secondary {
  background: #FDC9BB;
  color: #244B73;
}
.cta-btn.secondary:hover, .cta-btn.secondary:focus {
  background: #ef9d7a;
  color: white;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 18px;
  right: 21px;
  z-index: 999;
  background: #8BC4E2;
  color: #244B73;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(56,123,161,0.18);
  border: none;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s, box-shadow .2s;
}
.mobile-menu-toggle:active {
  background: #244B73;
  color: #fff;
}
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(251, 255, 255, 0.92);
  box-shadow: 0 0 40px rgba(36,75,115,0.10);
  z-index: 1000;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.33s cubic-bezier(.79,.01,.17,1), opacity .2s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 28px 8px 0;
  background: #8BC4E2;
  color: #244B73;
  font-size: 2rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0 2px 14px rgba(36,75,115,0.08);
  transition: background .18s, color .18s;
}
.mobile-menu-close:active {
  background: #244B73;
  color: white;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  align-items: flex-start;
  padding: 30px 30px 0 38px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 600;
  color: #244B73;
  background: none;
  border-radius: 10px;
  padding: 13px 7px 13px 0;
  margin-bottom: 8px;
  width: 100%;
  display: block;
  transition: background .13s, color .13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #e4f0fd;
  color: #21609a;
}
@media (min-width: 769px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* HERO SECTION */
.hero {
  background: linear-gradient(102deg, #F7F7F9 0%, #E4F0FD 100%);
  border-radius: 32px;
  box-shadow: 0 2px 24px 0 rgba(171, 209, 239, 0.10);
  margin-bottom: 44px;
  padding: 48px 0 44px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.hero h1 {
  color: #244B73;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
.hero p {
  font-size: 1.15rem;
  color: #244B73;
  opacity: .85;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .hero {
    padding: 28px 0 30px 0;
    margin-bottom: 24px;
    border-radius: 20px;
  }
}

/* LIST FEATURES/SECTIONS */
.features {
  margin-bottom: 60px;
}
.features .content-wrapper {
  width: 100%;
}
.features ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 10px;
}
.features ul li {
  background: #FEF5F5;
  padding: 18px 22px;
  border-radius: 16px;
  color: #244B73;
  font-size: 1.05rem;
  box-shadow: 0 2px 12px rgba(244,196,212,0.06);
  margin-bottom: 0;
  font-family: 'Open Sans', Arial, sans-serif;
}
.features strong {
  color: #244B73;
}
@media (max-width: 768px) {
  .features ul {
    gap: 12px;
  }
  .features ul li {
    padding: 12px 10px;
    font-size: .98rem;
  }
}

/* SERVICES/PLANS/CARDS */
.service-grid, .plan-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-top: 24px;
}
.service-grid > div, .plan-cards > div {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 3px 18px 0 rgba(139,196,226,.08);
  padding: 32px 22px;
  flex: 1 1 220px;
  min-width: 230px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  transition: box-shadow .18s, transform .13s;
}
.service-grid > div:hover, .plan-cards > div:hover {
  box-shadow: 0 8px 36px 0 rgba(36,75,115,.12);
  transform: translateY(-3px) scale(1.04);
}
.service-grid h3, .plan-cards h3 {
  color: #244B73;
  font-size: 1.2rem;
  margin-bottom: 12px;
  font-weight: 700;
}
.service-grid p, .plan-cards ul li {
  font-size: 1rem;
  color: #35537a;
  margin-bottom: 0.8em;
}
.plan-cards ul {
  list-style: disc;
  margin-left: 18px;
}
@media (max-width: 900px) {
  .service-grid, .plan-cards {
    gap: 16px;
    justify-content: flex-start;
  }
  .service-grid > div, .plan-cards > div {
    min-width: 170px;
    padding: 16px 12px;
  }
}
@media (max-width: 650px) {
  .service-grid, .plan-cards {
    flex-direction: column;
    gap: 18px;
  }
  .service-grid > div, .plan-cards > div {
    max-width: 100%;
    width: 100%;
  }
}

/* TESTIMONIALS */
.testimonials {
  background: #F6F5FB;
  border-radius: 24px;
  padding: 42px 0 42px 0;
  margin-bottom: 60px;
}
.testimonials h2 {
  margin-bottom: 32px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 28px 29px 22px 26px;
  background: #FEFAF7;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(95,153,194,0.08);
  margin-bottom: 20px;
  margin-right: 0;
  margin-left: 0;
  max-width: 580px;
}
.testimonial-card p {
  font-size: 1.15rem;
  color: #244B73;
  font-style: italic;
  margin-bottom: 4px;
}
.testimonial-card span {
  font-size: 0.96rem;
  color: #5278A3;
  font-weight: 600;
  letter-spacing: .01em;
}
@media (max-width: 768px) {
  .testimonial-card {
    padding: 15px 14px 14px 14px;
    border-radius: 13px;
    font-size: 1rem;
    max-width: 99%;
  }
}

/* CTA SECTION */
.cta {
  background: #E4F0FD;
  border-radius: 32px;
  box-shadow: 0 1px 11px 0 rgba(139,196,226,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 60px;
  padding: 32px 0 32px 0;
}
.cta .content-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  justify-content: center;
}
.cta-btn {
  margin-right: 16px;
}
@media (max-width: 600px) {
  .cta .content-wrapper {
    flex-direction: column;
    gap: 16px;
  }
  .cta-btn {
    margin-right: 0;
  }
}

/* TEXT-SECTIONS, LISTS, ICONS */
.text-section {
  margin-bottom: 24px;
}
.text-section ul {
  padding-left: 12px;
}
.text-section ul li {
  margin-bottom: 12px;
  padding-left: 2px;
  font-size: 1rem;
  color: #35537A;
  display: flex;
  align-items: center;
  gap: 7px;
}
.text-section ul li img {
  width: 21px;
  margin-right: 8px;
}
.text-section a {
  color: #5278A3;
  text-decoration: underline;
  word-break: break-word;
}
.text-section a:hover, .text-section a:focus {
  color: #244B73;
  text-decoration: none;
}
.course-update-bar {
  background: #FEF5F5;
  color: #244B73;
  border-radius: 8px;
  padding: 12px 16px;
  margin-top: 18px;
  font-size: .98rem;
  box-shadow: 0 1px 6px rgba(239,181,181,0.08);
}

/* CONTENT LAYOUTS BY REQUIREMENT */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 16px 0 rgba(139,196,226,0.08);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 20px;
  min-width: 230px;
  max-width: 99%;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.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) {
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .card-container {
    flex-direction: column;
    gap: 12px;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* FOOTER */
footer {
  background: #F2F8FC;
  border-top: 1.5px solid #e4f0fd;
  padding-top: 38px;
  padding-bottom: 32px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-nav, .footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 4px;
  align-items: center;
}
.footer-nav a, .footer-legal a {
  font-size: .97rem;
  color: #5278A3;
  transition: color .13s;
}
.footer-nav a:hover, .footer-legal a:hover {
  color: #244B73;
}
.footer-social {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 4px;
}
.footer-social a img {
  height: 27px;
  width: auto;
  filter: grayscale(.18) contrast(0.92) brightness(1.06);
  transition: filter .18s;
}
.footer-social a:hover img {
  filter: none;
}
.footer-brand p {
  font-size: 1.09rem;
  color: #35537a;
  font-style: italic;
  margin-top: 5px;
  opacity: 0.82;
}
@media (max-width: 600px) {
  footer .container, .footer-nav, .footer-legal {
    flex-direction: column;
    gap: 9px;
    align-items: flex-start;
  }
  .footer-social {
    margin-top: 6px;
  }
}

/* COOKIE CONSENT BANNER */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fffbe8;
  color: #244B73;
  padding: 22px 18px 18px 18px;
  box-shadow: 0 -4px 22px rgba(36,75,115,0.12);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  z-index: 9999;
  transition: transform .23s, opacity .21s;
}
.cookie-consent-banner.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-consent-banner .cookie-btns {
  display: flex;
  gap: 14px;
  margin-top: 2px;
}
.cookie-consent-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 18px;
  padding: 10px 21px;
  background: #8BC4E2;
  color: #244B73;
  box-shadow: 0 2px 8px rgba(139,196,226,.09);
  border: none;
  outline: none;
  cursor: pointer;
  transition: background .13s, color .13s, box-shadow .13s;
}
.cookie-consent-banner button:hover, .cookie-consent-banner button:focus {
  background: #244B73;
  color: white;
}
.cookie-consent-banner button.cookie-reject {
  background: #FDC9BB;
  color: #244B73;
}
.cookie-consent-banner button.cookie-reject:hover, .cookie-consent-banner button.cookie-reject:focus {
  background: #ef9d7a;
  color: white;
}
.cookie-consent-banner button.cookie-settings {
  background: #e4f0fd;
  color: #244B73;
}
.cookie-consent-banner button.cookie-settings:hover, .cookie-consent-banner button.cookie-settings:focus {
  background: #8BC4E2;
  color: #244B73;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 10000;
  background: rgba(52,76,111, 0.31);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .19s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #f7fafd;
  border-radius: 23px;
  box-shadow: 0 2px 32px rgba(36,75,115,0.18);
  width: 98vw;
  max-width: 410px;
  padding: 27px 24px 20px 26px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.cookie-modal-content h3 {
  font-size: 1.4rem;
  margin-bottom: 9px;
  color: #244B73;
}
.cookie-modal-content .cookie-category {
  font-weight: 600;
  color: #244B73;
  margin-bottom: 6px;
}
.cookie-modal-content ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-left: 0;
  margin-bottom: 12px;
}
.cookie-modal-content li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #5278A3;
}
.cookie-modal-content input[type="checkbox"] {
  width: 19px;
  height: 19px;
  accent-color: #8BC4E2;
  margin-right: 9px;
  border-radius: 6px;
  border: 1.5px solid #244B73;
}
.cookie-modal-close {
  align-self: flex-end;
  margin-bottom: -7px;
  margin-top: -20px;
  background: #8BC4E2;
  color: #244B73;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background .11s, color .11s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #244B73;
  color: #fff;
}
.cookie-modal-content .cookie-save {
  background: #244B73;
  color: #fff;
  padding: 10px 24px;
  border-radius: 18px;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  transition: background .12s;
  border: none;
  margin-top: 7px;
  box-shadow: 0 2px 9px rgba(36,75,115,0.11);
}
.cookie-modal-content .cookie-save:hover {
  background: #8BC4E2;
  color: #244B73;
}

/* PASTEL COLOR PALETTE (SOFT DREAMY) */
:root {
  --pastel-blue: #E4F0FD;
  --pastel-mint: #B4F0E1;
  --pastel-rose: #FEF5F5;
  --pastel-lavender: #F4F3FE;
  --pastel-yellow: #fffbe8;
  --soft-accent: #FDC9BB;
  --brand-primary: #244B73;
  --brand-secondary: #8BC4E2;
  --brand-accent: #F7F7F9;
}


/* ANIMATIONS */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero, .section, .cta, .services, .testimonials, .card, .plan-cards > div {
  animation: fadeInUp .7s cubic-bezier(.19,.81,.46,1.18) both;
}

/* SCROLLBAR STYLING FOR MODERN BROWSERS */
::-webkit-scrollbar {
  width: 9px;
  background: #F7F7F9;
}
::-webkit-scrollbar-thumb {
  background: #E4F0FD;
  border-radius: 16px;
}

/* FORMS, INPUTS, NEWSLETTER (optional extension) */
input[type="text"], input[type="email"], textarea {
  background: #F7F7F9;
  border: 1.5px solid #BED9F5;
  border-radius: 11px;
  padding: 13px 15px;
  font-size: 1.06rem;
  color: #244B73;
  transition: border-color .14s;
  margin-bottom: 16px;
  box-sizing: border-box;
  width: 100%;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border-color: #8BC4E2;
  outline: none;
}
textarea {
  min-height: 85px;
  max-width: 100%;
}
button[type="submit"] {
  background: #8BC4E2;
  color: #244B73;
  border: none;
  border-radius: 18px;
  padding: 13px 26px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  transition: background .13s;
  cursor: pointer;
  margin-top: 8px;
  box-shadow: 0 2px 9px rgba(139,196,226,.08);
}
button[type="submit"]:hover,
button[type="submit"]:focus {
  background: #244B73;
  color: #fff;
}

/* MISC UTILITIES */
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 18px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 18px; }
.text-center { text-align: center; }

/* ACCESSIBILITY - FOCUS OUTLINE */
a:focus, button:focus, input:focus {
  outline: 2px solid #8BC4E2;
  outline-offset: 2px;
}

/* DARK TEXT FOR TESTIMONIALS & REVIEW (READABILITY) */
.testimonial-card, .testimonials p, .testimonials span {
  color: #244B73 !important;
}

/* RESPONSIVE FIXES */
@media (max-width: 400px) {
  .hero h1,
  h1 {
    font-size: 2rem;
    line-height: 1.16;
  }
  .cta .content-wrapper {
    gap: 8px;
  }
}
