/* ============================================
   Sparkle Learning – Geometric Structured CSS
   ============================================ */
/* ===== 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;
}
html { line-height: 1.15; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { background: #F2F6FB; color: #162336; font-family: 'Roboto', Arial, sans-serif; min-height: 100vh; }
article, aside, footer, header, nav, section, main { display: block; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
button { background: none; border: none; cursor: pointer; }

/* ===== Fonts ===== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #185480;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; line-height: 1.1; margin-bottom: 24px; }
h2 { font-size: 2rem; line-height: 1.2; margin-bottom: 20px; }
h3 { font-size: 1.375rem; line-height: 1.25; margin-bottom: 12px; }
h4 { font-size: 1.125rem; }
p, li, td, th, ul, ol {
  font-size: 1rem;
  line-height: 1.68;
  color: #1A293D;
  font-family: 'Roboto', Arial, sans-serif;
}
strong { font-weight: 700; }

/* Typography hierarchy */
.display {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.section-title {
  border-left: 6px solid #FFB800;
  padding-left: 14px;
  margin-bottom: 24px;
  font-size: 2.125rem;
  line-height: 1.1;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #185480;
  font-weight: bold;
}

/* ===== Color Variables (with fallback) ===== */
:root {
  --clr-primary: #185480;
  --clr-secondary: #F2F6FB;
  --clr-accent: #FFB800;
  --clr-bg: #F2F6FB;
  --clr-danger: #C0392B;
}

/* ===== General Container ===== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

/* ===== Header Navigation ===== */
header {
  background: #fff;
  box-shadow: 0 3px 18px rgba(24, 84, 128, 0.06);
  border-bottom: 2px solid #F2F6FB;
  position: relative;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}
header nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #185480;
  font-size: 1rem;
  padding: 6px 12px;
  text-transform: uppercase;
  border-radius: 8px;
  transition: background .18s, color .18s;
}
header nav a:hover, header nav a:focus {
  background: var(--clr-secondary);
  color: var(--clr-accent);
}
header img {
  height: 40px;
  margin-right: 16px;
}
.cta-primary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  background: var(--clr-primary);
  color: #fff;
  border-radius: 12px;
  padding: 12px 34px;
  font-size: 1.125rem;
  letter-spacing: .025em;
  box-shadow: 0 3px 16px 0 rgba(24, 84, 128, 0.09);
  border: 0;
  text-align: center;
  text-decoration: none;
  transition: background .19s, box-shadow .19s, color .19s;
  margin-left: 18px;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--clr-accent);
  color: #185480;
  box-shadow: 0 5px 24px rgba(255, 184, 0, 0.1);
}

/* ===== Mobile Nav Hamburger ===== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 24px;
  z-index: 300;
  width: 48px;
  height: 48px;
  font-size: 2.5rem;
  background: #fff;
  border-radius: 12px;
  color: var(--clr-primary);
  border: 2px solid #E9EDF2;
  box-shadow: 0 2px 8px 0 rgba(24, 84, 128, 0.06);
  transition: box-shadow .23s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  box-shadow: 0 4px 18px 0 rgba(24, 84, 128, 0.17);
  background: var(--clr-secondary);
  color: var(--clr-accent);
}

/* ===== Mobile Nav Overlay ===== */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 8px 34px 4px rgba(12, 32, 48, 0.28);
  z-index: 1000;
  transform: translateX(-102vw);
  transition: transform .35s cubic-bezier(.44,1.56,.55,.99);
  overflow-y: auto;
  padding: 32px 28px 28px 32px;
  gap: 32px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.2rem;
  background: none;
  color: var(--clr-primary);
  margin-bottom: 36px;
  border-radius: 40px;
  transition: background .16s;
  width: 48px;
  height: 48px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--clr-secondary);
  color: var(--clr-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  margin-top: 16px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.12rem;
  color: #185480;
  padding: 16px 0;
  border-bottom: 1px solid #E2EBF4;
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: color .16s, background .16s;
}
.mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--clr-accent);
  background: var(--clr-secondary);
}

/* Hide desktop nav / show burger on mobile */
@media (max-width: 980px) {
  header nav, .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 981px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ===== MAIN SECTION SPACING ===== */
main {
  width: 100%;
  margin-top: 0;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
section .container {
  padding: 0;
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(110deg, #F2F6FB 46%, #fff 100%);
  border-radius: 0 0 48px 48px;
  box-shadow: 0 10px 32px rgba(24,84,128,0.045);
  margin-bottom: 64px;
  padding-top: 80px;
  padding-bottom: 60px;
}
.hero .content-wrapper {
  max-width: 700px;
  margin: 0 auto;
  gap: 24px;
  align-items: flex-start;
}
.hero h1 {
  color: #185480;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: -0.012em;
  font-weight: 800;
}
.hero p {
  font-size: 1.25rem;
  color: #34526b;
  margin-bottom: 14px;
}

/* ===== FEATURE GRID ===== */
.feature-grid, .service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.feature-grid > div, .service-cards > .text-section {
  flex: 1 1 calc(22% - 24px);
  min-width: 265px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(24,84,128,0.045);
  border: 2.5px solid #E2EBF4;
  padding: 32px 20px 22px 20px;
  align-items: flex-start;
  display: flex; flex-direction: column;
  transition: box-shadow .18s, border-color .18s;
  position: relative;
  margin-bottom: 20px;
}
.feature-grid > div:hover, .service-cards > .text-section:hover {
  border-color: #FFB800;
  box-shadow: 0 6px 32px rgba(255,184,0,0.08);
}
.feature-grid img, .service-cards img {
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  border-radius: 13px;
  background: #F2F6FB;
  padding: 6px;
  box-shadow: 0 2px 8px 0 rgba(24,84,128,0.08);
}
.feature-grid h3, .service-cards h2 {
  font-size: 1.22rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 8px;
  color: #185480;
}
.service-price {
  display: inline-block;
  font-weight: 700;
  background: #185480;
  color: #fff;
  border-radius: 8px;
  padding: 6px 16px;
  font-size: 1rem;
  margin-top: 14px;
  letter-spacing: .02em;
}

/* ===== CARDS & FLEX CONTAINERS ===== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 20px;
}
.card {
  background: #fff;
  border: 2.5px solid #E2EBF4;
  border-radius: 17px;
  box-shadow: 0 2px 12px 0 rgba(24,84,128,0.04);
  padding: 28px 20px 22px 22px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow .18s, border-color .18s;
}
.card:hover {
  border-color: #FFB800;
  box-shadow: 0 5px 22px rgba(255,184,0,0.07);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.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;
}

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

/* ===== PRICING TABLE ===== */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  margin: 24px 0 18px 0;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(24,84,128,0.045);
  overflow: hidden;
  font-family: 'Montserrat', Arial, sans-serif;
}
.pricing-table th, .pricing-table td {
  padding: 16px 18px;
  font-size: 1rem;
  border-bottom: 2px solid #E2EBF4;
  color: #1A293D;
}
.pricing-table th {
  background: #F2F6FB;
  font-weight: 700;
  color: #185480;
  font-size: 1.065rem;
}
.pricing-table tr:last-child td {
  border-bottom: 0;
}
.pricing-table td strong { color: #185480; }

.all-inclusive-note {
  margin-top: 8px;
  font-size: 0.96rem;
  color: #98adc1;
}

/* ===== Accordions ===== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 12px;
}
.faq-accordion div {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 6px 0 rgba(24,84,128,0.04);
  border: 1.8px solid #E2EBF4;
  padding: 18px 20px;
}
.faq-accordion h3 {
  font-size: 1.15rem;
  margin-bottom: 9px;
  color: #185480;
}

/* ===== Trust Badges ===== */
.trust-badges {
  display: flex;
  flex-direction: row;
  gap: 28px;
  margin-top: 22px;
  flex-wrap: wrap;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #185480;
  font-weight: 600;
}
.trust-badges span {
  background: #F2F6FB;
  border-radius: 10px;
  padding: 6px 16px;
}

/* ===== Testimonial Cards ===== */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  box-shadow: 0 3px 18px rgba(24,84,128,0.07);
  border-radius: 18px;
  border: 2.5px solid #E2EBF4;
  padding: 32px 24px 22px 24px;
  margin-bottom: 20px;
  min-width: 268px;
  max-width: 430px;
  flex: 1 1 calc(48% - 24px);
  transition: box-shadow .18s, border-color .18s;
}
.testimonial-card:hover {
  border-color: #FFB800;
  box-shadow: 0 8px 32px rgba(255,184,0,0.08);
}
.testimonial-card p {
  color: #18324B;
  font-size: 1.13rem;
  line-height: 1.55;
  font-weight: 500;
  font-family: 'Roboto', Arial, sans-serif;
}
.testimonial-author {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: .98rem;
  color: #185480;
  font-weight: 700;
  margin-top: 4px;
}
.stars {
  color: #FFB800;
  letter-spacing: 4px;
  font-size: 1.5rem;
}

/* ===== Contact Details, Thank You, Small Sections ===== */
.text-section {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.contact-email {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #185480;
  font-weight: 600;
  font-size: 1.13rem;
  background: #F2F6FB;
  border-radius: 8px;
  padding: 6px 18px;
  transition: background .12s, color .15s;
}
.contact-email:hover {
  color: #FFB800;
  background: #fff2cc;
}
.cta-form-hint p {
  font-size: .99rem;
  color: #8DA2B6;
}

/* ===== Footer ===== */
footer {
  background: #fff;
  border-top: 2.5px solid #E2EBF4;
  margin-top: 24px;
  padding: 0 0 0 0;
  width: 100%;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 38px;
  justify-content: space-between;
  padding: 28px 0 12px 0;
}
.footer-top img {
  height: 36px;
  margin-right: 16px;
}
.footer-top nav {
  display: flex;
  gap: 22px;
}
.footer-top nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: .97rem;
  color: #185480;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background .12s;
}
.footer-top nav a:hover, .footer-top nav a:focus {
  background: #F2F6FB;
  color: #FFB800;
}
.footer-bottom {
  margin-top: 0;
  padding: 13px 0 19px 0;
  color: #8DA2B6;
  font-size: .97rem;
  font-family: 'Roboto', Arial, sans-serif;
  border-top: 1.5px dashed #E2EBF4;
}

/* ===== Cookie Consent Banner ===== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 3000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background: #fff;
  border-top: 2px solid #185480;
  box-shadow: 0 -4px 24px 0 rgba(24,84,128,0.09);
  padding: 24px 28px;
  gap: 32px;
  justify-content: space-between;
  min-height: 68px;
  transition: transform .35s cubic-bezier(.63,.21,.74,1.57), opacity .24s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner p {
  color: #162336;
  max-width: 540px;
  font-size: 1rem;
}
.cookie-actions {
  display: flex;
  gap: 20px;
}
.cookie-actions button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #fff;
  padding: 10px 22px;
  border-radius: 10px;
  font-weight: 700;
  border: 0;
  background: #185480;
  transition: background .16s, color .15s;
}
.cookie-actions button.reject {
  background: #E34320;
}
.cookie-actions button.settings {
  background: #FFB800;
  color: #185480;
}
.cookie-actions button:hover, .cookie-actions button:focus {
  opacity: 0.9;
  filter: brightness(1.05);
}

/* ===== Cookie Modal ===== */
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(1);
  z-index: 4000;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 44px rgba(24,84,128,0.15);
  min-width: 350px;
  max-width: 98vw;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  opacity: 1;
  transition: transform .3s, opacity .2s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -30%) scale(0.97);
}
.cookie-modal h2 {
  margin-bottom: 10px;
  color: #185480;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
}
.cookie-category label {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #185480;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
}
.cookie-category input[type="checkbox"] {
  accent-color: #185480;
  width: 22px;
  height: 22px;
}
.cookie-essential {
  font-style: italic;
  color: #8DA2B6;
  font-size: .94rem;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 18px;
}
.cookie-modal-actions button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 9px 26px;
  border-radius: 10px;
  border: none;
  background: #185480;
  color: #fff;
  transition: background .13s;
}
.cookie-modal-actions button.cancel {
  background: #E2EBF4;
  color: #185480;
}
.cookie-modal-actions button.save {
  background: #FFB800;
  color: #185480;
}
.cookie-modal-actions button.cancel:hover,
.cookie-modal-actions button.save:hover,
.cookie-modal-actions button:hover {
  filter: brightness(1.07);
}
.cookie-modal-close {
  position: absolute;
  top: 19px;
  right: 24px;
  font-size: 1.8rem;
  background: none;
  border-radius: 40px;
  color: #185480;
  border: 0;
  transition: background .1s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #F2F6FB;
  color: #FFB800;
}

/* ===== Utility Flex Layouts (MANDATORY CLASSES) ===== */
.section {
  margin-bottom: 60px !important;
  padding: 40px 20px !important;
}
.card-container {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 24px !important;
}
.card {
  margin-bottom: 20px !important;
  position: relative !important;
}
.content-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 20px !important;
  justify-content: space-between !important;
}
.text-image-section {
  display: flex !important;
  align-items: center !important;
  gap: 30px !important;
  flex-wrap: wrap !important;
}
.testimonial-card {
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
  padding: 20px !important;
}
.feature-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 15px !important;
}

/* ===== Animations, Transitions, Micro-Interactions ===== */
a, button, .card, .feature-grid > div, .service-cards > .text-section, .testimonial-card, .cookie-banner, .cta-primary {
  transition: color .18s, background .18s, border-color .18s, box-shadow .18s;
}

/* ===== Responsive Design ===== */
@media (max-width: 1160px) {
  .container { max-width: 96vw; }
}
@media (max-width: 900px) {
  .feature-grid, .service-cards, .testimonial-slider {
    flex-direction: column;
    gap: 22px;
  }
  .feature-grid > div, .service-cards > .text-section, .testimonial-card {
    min-width: 100%;
    max-width: 100%;
    flex: 1 1 100%;
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.38rem; }
  .container { padding: 0 10px; }
  .hero {
    padding-top: 42px;
    padding-bottom: 34px;
    border-radius: 0 0 28px 28px;
  }
  .feature-grid, .service-cards {
    flex-direction: column;
    gap: 18px;
  }
  .content-wrapper, .text-section, .card-container, .content-grid, .testimonial-slider {
    flex-direction: column !important;
    gap: 20px !important;
  }
  .testimonial-card {
    flex-direction: column !important;
    gap: 12px !important;
    padding: 16px !important;
    min-width: 100%;
  }
  .section { padding: 24px 5vw !important; }
  .mobile-menu {
    padding-top: 75px;
  }
}
@media (max-width: 600px) {
  body { font-size: .99rem; }
  .section { padding: 14px 2vw !important; margin-bottom: 38px !important; }
  .footer-top img, header img {
    height: 32px;
  }
}

/* ===== Geometric & Structured Visual Cues ===== */
.card, .feature-grid > div, .service-cards > .text-section, .testimonial-card, .faq-accordion div {
  outline: 2.5px solid transparent;
  outline-offset: -2.5px;
}
.card:focus-within, .feature-grid > div:focus-within, .testimonial-card:focus-within {
  outline: 2.5px solid var(--clr-accent);
}

/* Subtle inner accent triangle for visual direction on cards */
.card::before, .feature-grid > div::before, .service-cards > .text-section::before {
  content: '';
  display: block;
  width: 0; height: 0;
  border-left: 26px solid var(--clr-accent);
  border-top: 26px solid transparent;
  position: absolute;
  top: 0; right: 0;
  z-index: 3;
  border-radius: 0 16px 0 0;
  opacity: 0.06;
}

/* Angular highlights for buttons */
.cta-primary, .cookie-actions button, .cookie-modal-actions button {
  border-bottom: 5px solid #18548033;
  border-right: 5px solid #FFD20033;
  border-top: 0; border-left: 0;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* ===== Accessibility: Focus States ===== */
a:focus, button:focus, .cta-primary:focus {
  outline: 2.5px solid #FFB800;
  outline-offset: 1.2px;
}

/* ENDS */
