/* --- 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;
  box-sizing: border-box;
  vertical-align: baseline;
}
html { box-sizing: border-box; height: 100%; }
*, *:before, *:after { box-sizing: inherit; }
body {
  min-height: 100vh;
  line-height: 1.6;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #FFF;
  color: #222968;
  font-size: 16px;
}
:root {
  --primary: #222968;
  --secondary: #0E3646;
  --accent: #F8C410;
  --bg-light: #FCFCFF;
  --bg-card: #F4F7FE;
  --shadow: 0 4px 16px rgba(14, 54, 70, 0.08);
  --radius: 18px;
  --radius-card: 16px;
}
img, svg { display: block; max-width: 100%; height: auto; }
ul, ol { list-style-position: outside; padding-left: 1.2em; }
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: var(--accent); outline: none; }

/* --- Typography (Playful + Dynamic) --- */
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.15;
}
h1 { font-size: 2.5rem; color: var(--primary); letter-spacing: -1px; margin-bottom: 16px; }
h2 { font-size: 2rem; color: var(--secondary); margin-bottom: 16px; }
h3 { font-size: 1.32rem; margin-bottom: 12px; }
h4 { font-size: 1.15rem; margin-bottom: 10px; }
p,li,td,th,em { font-family: 'Roboto', Arial, sans-serif; }
p, ul, ol, table { font-size: 1rem; margin-bottom: 18px; }
strong, b { font-weight: 700; color: var(--primary); }
em { font-style: italic; color: var(--secondary); }

/* --- Container & Layout --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}
.content-wrapper {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 32px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FFF;
  border-radius: var(--radius-card);
  box-shadow: 0 2px 12px rgba(248,196,16,0.12);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 20px;
  min-width: 240px;
  flex: 1 1 220px;
  transition: transform 0.18s, box-shadow 0.22s;
  will-change: transform, box-shadow;
}
.card:hover {
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 8px 32px rgba(34, 41, 104, 0.18);
}
.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: flex-start;
  gap: 20px;
  padding: 20px;
  background: #FEFAEA;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(248,196,16,0.12);
  margin-bottom: 20px;
  border-left: 8px solid var(--accent);
  max-width: 520px;
  transition: box-shadow 0.21s, transform 0.21s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(248,196,16,0.18);
  transform: scale(1.018);
}
.testimonial-card p {
  color: #2E2E2E;
  font-size: 1rem;
}
.testimonial-card strong {
  color: var(--primary);
  font-size: 1.08rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.testimonial-card div {
  color: #F8C410;
  font-size: 1.25rem;
  letter-spacing: 2px;
  margin-top: -10px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #FFF8D5;
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: 0 2px 10px rgba(248,196,16,0.08);
}

.text-section {
  background: #E5F3FA;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(14,54,70, 0.08);
}

/* --- Header & Navigation --- */
header {
  background: var(--primary);
  color: #FFF;
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 18px;
}
header img {
  height: 44px;
  width: auto;
  margin-right: 16px;
  filter: drop-shadow(0 2px 4px rgba(14,54,70,0.12));
}
header nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
header nav a {
  color: #FFF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 100px;
  padding: 8px 18px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  position: relative;
}
header nav a.cta {
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(248,196,16,0.18);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.5px;
}
header nav a:hover, header nav a:focus {
  background: #fff;
  color: var(--primary);
}
header nav a.cta:hover, header nav a.cta:focus {
  background: #FFF9D8;
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(248,196,16,0.32);
}

/* --- Mobile Navigation Styles --- */
.mobile-menu-toggle {
  display: none;
  background: var(--accent);
  color: var(--primary);
  border: none;
  border-radius: 50%;
  font-size: 2.1rem;
  width: 50px;
  height: 50px;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(248,196,16,0.15);
  align-items: center;
  justify-content: center;
  transition: background 0.18s, color 0.18s;
  z-index: 202;
}
.mobile-menu-toggle:active {
  background: #FCE86C;
  color: var(--primary);
}

@media (max-width: 1024px) {
  header nav { display: none; }
  .mobile-menu-toggle { display: flex; }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(14,54,70,0.97);
  z-index: 500;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(.69,.10,.38,1.12);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 32px 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--accent);
  border: none;
  color: var(--primary);
  font-size: 2rem;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  position: absolute;
  top: 26px;
  right: 22px;
  cursor: pointer;
  z-index: 510;
  box-shadow: 0 2px 8px rgba(248,196,16,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu-close:active { background: #FFEDA7; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 54px;
  width: 100%;
  padding-left: 38px;
}
.mobile-nav a {
  color: #FFF;
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 12px 8px;
  border-radius: 10px;
  font-weight: 500;
  transition: background 0.16s, color 0.17s;
}
.mobile-nav a.cta {
  background: var(--accent);
  color: var(--primary);
  font-weight: bold;
  box-shadow: 0 2px 12px rgba(248,196,16,0.13);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(254,250,234,0.24);
  color: var(--accent);
}

@media (max-width: 1024px) {
  header .container { justify-content: space-between; }
}
@media (min-width: 1025px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* --- Main Layout & Section Spacing --- */
main {
  padding-top: 16px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  main { padding-top: 0; }
  .section, section {
    padding: 24px 5vw;
    margin-bottom: 32px;
  }
  .container {
    padding: 0 4vw;
  }
  .content-wrapper {
    padding: 20px 8px;
  }
}
@media (max-width: 600px) {
  .container{padding:0 1vw;}
  .content-wrapper{
    border-radius:12px;
    padding: 14px 5px;
  }
}

/* --- Flex Responsive Alignment for Sections --- */
.text-image-section { flex-direction: row; }
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 16px; align-items: flex-start; }
  .card-container, .content-grid { gap: 12px; }
}
.content-grid { gap: 20px; }
@media (max-width: 600px) {.content-grid{gap:10px;}}

/* --- Card Styling --- */
.card { min-width: 160px; }
.card strong {color:var(--primary);font-size:1.11em;}

/* --- Tables --- */
table {
  border-collapse: collapse;
  width: 100%;
  background: #FFF;
  border-radius: 15px;
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 22px;
}
th, td {
  padding: 14px 18px;
  text-align: left;
}
th {
  background: var(--accent);
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
}
td {
  border-top: 1px solid #F5DE80;
  font-size: 1.01rem;
}
table tr:last-child td { border-bottom: none;}
table tr:nth-child(even) td { background: #FFF9E4; }
table tr:hover td { background: #FFF2B2; }

/* --- Buttons & CTA --- */
a.cta, .cta, button.cta, input[type="submit"].cta {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.11rem;
  font-weight: bold;
  background: var(--accent);
  color: var(--primary);
  border: none;
  border-radius: 100px;
  padding: 13px 36px;
  margin-top: 10px;
  margin-bottom: 10px;
  box-shadow: 0 2px 12px rgba(248,196,16,0.13);
  cursor: pointer;
  transition: background 0.19s, box-shadow 0.19s, color 0.17s, transform 0.15s;
  letter-spacing: 0.5px;
  text-align: center;
}
a.cta:hover, .cta:hover, button.cta:hover, input[type="submit"].cta:hover,
a.cta:focus, .cta:focus, button.cta:focus, input[type="submit"].cta:focus {
  background: #fffbe1;
  color: var(--primary);
  box-shadow: 0 4px 16px rgba(248,196,16,0.22);
  transform: scale(1.037);
}

/* -- List Styles with Animated Icons -- */
ul li, ol li {
  position: relative;
  margin-bottom: 11px;
  padding-left: 40px;
  min-height: 32px;
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: var(--secondary);
}
ul li img {
  position: absolute;
  left: 0;
  width: 26px;
  height: 26px;
  animation: playful-bounce 1.2s infinite alternate;
}
@keyframes playful-bounce {
  0% { transform: translateY(0); }
  100% { transform: translateY(-7px) rotate(-8deg) scale(1.07); }
}
ul ul, ol ul, ul ol, ol ol { margin-bottom: 0; }
ul li strong { color: var(--primary);}

/* --- Footer --- */
footer {
  background: var(--secondary);
  color: #FEFAEA;
  padding: 0;
  margin-top: 28px;
  font-size: 0.99rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 26px 10px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  margin-bottom: 0;
  width: 100%;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
footer nav a {
  color: #FFF5B4;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.17s;
}
footer nav a:hover, footer nav a:focus { color: var(--accent); }
footer .socials {
  display: flex;
  gap: 20px;
  margin-top: 8px;
}
footer .socials img {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 2px 4px rgba(248,196,16,0.13));
  transition: transform 0.16s;
}
footer .socials img:hover { transform: scale(1.15) rotate(-8deg); }
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  z-index: 9000;
  background: #fffbe1;
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  box-shadow: 0 -6px 24px rgba(34,41,104,0.13);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
  gap: 20px;
  transition: transform 0.35s cubic-bezier(.69,.13,.33,1.05);
}
.cookie-banner.hide {
  transform: translateY(120px);
  pointer-events: none;
  opacity: 0;
}
.cookie-banner .cookie-text {
  flex: 1 1 50%;
  font-size: 1.01rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 18px;
  align-items: center;
}
.cookie-banner button {
  background: var(--accent);
  color: var(--primary);
  border: none;
  border-radius: 100px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 10px 26px;
  margin: 0;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.19s, color 0.17s;
  box-shadow: 0 1px 7px rgba(248,196,16,0.12);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--primary);
  color: var(--accent);
}
.cookie-banner .cookie-settings-btn {
  background: #E5F3FA;
  color: var(--primary);
  border: 1.8px solid var(--primary);
  font-weight: 500;
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: #FAEDBC;
  color: var(--primary);
  border-color: var(--accent);
}
@media (max-width: 720px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 12px;
  }
  .cookie-banner .cookie-actions {
    width: 100%;
    gap: 11px;
  }
}

/* --- Cookie Modal --- */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(34,41,104,0.75);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transform: none;
  transition: opacity 0.35s, transform 0.35s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(40px);
}
.cookie-modal {
  background: #FAF6E2;
  border-radius: 22px;
  min-width: 320px;
  min-height: 210px;
  max-width: 97vw;
  max-height: 90vh;
  box-shadow: 0 4px 50px rgba(34,41,104,0.18);
  padding: 35px 30px 25px 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: modal-entry 0.43s cubic-bezier(.83,-0.11,.33,1.21);
}
@keyframes modal-entry {
  0% { opacity: 0; transform: scale(0.8) translateY(30px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal h3 {
  font-size: 1.28rem;
  color: var(--primary);
  margin-bottom: 8px;
}
.cookie-category {
  font-size: 1.02rem;
  color: var(--secondary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap:8px;
}
.cookie-toggle {
  display: inline-flex;
  align-items: center;
  margin-left: 12px;
  background: #E7F5F9;
  border-radius: 30px;
  padding: 2px 10px;
}
.cookie-toggle input[type=checkbox] {
  accent-color: var(--accent);
  width: 1.05em;
  height: 1.05em;
  margin-right: 0.4em;
  cursor: pointer;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 15px;
  background: var(--accent);
  color: var(--primary);
  border: none;
  border-radius: 50%;
  width: 36px; height: 36px;
  font-size: 1.29rem;
  cursor: pointer;
  display: flex;align-items: center;justify-content: center;
  box-shadow: 0 2px 10px rgba(248,196,16,0.10);
}
.cookie-modal-close:hover { background: #FFEE9A; }
@media (max-width: 520px) {
  .cookie-modal { padding: 16px 8px 8px 10px; min-width: 0; width:97vw;}
  .cookie-modal h3 {font-size:1.09rem;}
}

/* --- Animations & Micro-interactions --- */
.cta, a.cta, button.cta, .feature-item, .card, .testimonial-card {
  will-change: transform, box-shadow;
  transition: box-shadow 0.2s, transform 0.19s, background 0.22s;
}
.cta:active, a.cta:active, button.cta:active {
  transform: scale(0.98);
}

/* --- Utility Classes --- */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: 8px !important; }
.mt-4 { margin-top: 16px !important; }
.mb-2 { margin-bottom: 8px !important; }
.mb-4 { margin-bottom: 16px !important; }
.text-center { text-align: center !important; }

/* --- Responsive Typography --- */
@media (max-width: 820px) {
  h1{font-size:2rem;}
  h2{font-size:1.45rem;}
}
@media (max-width: 520px) {
  h1{font-size:1.35rem;}
  h2{font-size:1.05rem;}
  h3{font-size:1rem;}
  p,li,th,td{font-size:0.98rem;}
}

/* --- Misc. --- */
::selection { background: var(--accent); color: var(--primary); }

/* --- Accessibility Focus --- */
a:focus, button:focus, .cta:focus {
  outline: 2.5px dashed var(--accent);
  outline-offset: 3px;
}

/* --- Form (if any present) --- */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.06rem;
  border-radius: 9px;
  border: 1.4px solid #C1CCE6;
  padding: 9px 12px;
  margin-bottom: 16px;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  background: #FFFAE4;
  outline: none;
}

/* --- Hide scroll on modal open (for overlay) --- */
body.modal-open { overflow: hidden !important; }

/* --- End of File --- */
