/* RESET & GENERAL NORMALIZE */
html { box-sizing: border-box; }
*,*::before,*::after { box-sizing: inherit; margin: 0; padding: 0; border: 0; }
body,html { width: 100%; min-height: 100%; font-family: 'Roboto', Arial, sans-serif; font-size: 16px; background: #F5F7FB; color: #123974; line-height: 1.6; }
img { max-width: 100%; display: block; height: auto; }
a { color: #18A085; text-decoration: none; transition: color .2s; }
a:hover,a:focus { color: #123974; text-decoration: underline; }
ul,ol { padding-left: 24px; margin-bottom: 16px; }
h1,h2,h3,h4,h5,h6 { font-family: 'Montserrat', Arial, sans-serif; font-weight: 700; }
h1 { font-size: 2.5rem; margin-bottom: 20px; letter-spacing: -1px; }
h2 { font-size: 2rem; margin-bottom: 16px; color: #18A085; letter-spacing: -1px; }
h3 { font-size: 1.5rem; margin-bottom: 12px; color: #123974; }
p { margin-bottom: 12px; }
strong { font-weight: 700; }
button, .cta-btn { font-size: 1rem; font-family: 'Montserrat', Arial, sans-serif; font-weight: 600; cursor: pointer; outline: none; border: none; border-radius: 28px; transition: background .2s, box-shadow .2s, transform .2s; padding: 13px 28px; background: #18A085; color: #fff; box-shadow: 0 2px 16px 0 rgba(24,160,133,0.12); }
button:active, .cta-btn:active { transform: scale(0.97); }
.cta-btn:hover, button:hover, .cta-btn:focus { background: #123974; color: #fff; box-shadow: 0 6px 24px 0 rgba(18,57,116,0.18); }

/* PLAYFUL DYNAMIC STYLE */
:root {
  --brand-primary: #123974;
  --brand-secondary: #18A085;
  --brand-accent: #F5F7FB;
  --yellow: #FFE066;
  --orange: #FF8B3D;
  --purple: #8E6CEB;
  --pink: #F44787;
  --card-bg: #fff;
  --fun-shadow: 0 4px 24px rgba(24,160,133,0.13);
  --radius-main: 22px;
  --gap-main: 24px;
}

body {
  background: linear-gradient(140deg, #F5F7FB 0%, #FFFFFF 70%, #FFE066 100%);
  transition: background .6s;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: var(--radius-main);
  transition: box-shadow .3s;
}

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

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: var(--card-bg);
  border-radius: var(--radius-main);
  box-shadow: var(--fun-shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px;
  min-width: 240px;
  transition: box-shadow .2s, transform .2s;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card:hover {
  box-shadow: 0 6px 28px 0 rgba(255,128,56,0.18),0 6px 42px 0 rgba(24,160,133,0.18);
  transform: translateY(-2px) scale(1.02);
}

.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;
  align-items: center;
  gap: 20px;
  background: #fffde4;
  color: #123974;
  padding: 20px;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(255,224,102,.15);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow .3s, transform .2s;
  min-width: 220px;
  flex: 1 1 300px;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px 0 rgba(252,87,135,0.14);
  transform: scale(1.015);
}
.testimonial-author {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #18A085;
  margin-left: 12px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  box-shadow: 0 2px 14px 0 rgba(142,108,235,0.12);
  border-radius: 16px;
  padding: 18px 18px;
  margin: 10px 0;
}

/* TABLES */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  margin-bottom: 24px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 16px 0 rgba(24,160,133,0.14);
  font-size: 1rem;
}
thead {
  background: #18A085;
  color: #fff;
}
thead th {
  padding: 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: .02em;
}
tbody td {
  padding: 14px;
  border-bottom: 1px solid #E0EFF8;
}
tbody tr:last-child td { border-bottom: none; }
caption {
  font-family: 'Montserrat', Arial, sans-serif;
  padding-bottom: 10px;
  color: #8E6CEB;
  font-size: 1.1rem;
}

/* HEADER & NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(18,57,116,0.05);
  position: sticky;
  top: 0;
  z-index: 400;
}
header .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 16px 20px;
}
header img[src$='logo.svg'] {
  height: 56px;
  margin-right: 24px;
  animation: logoBounce 1.2s cubic-bezier(.5,-0.4,.3,1.4) 1;
}
nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #123974;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 14px;
  border-radius: 18px;
  transition: background .2s, color .2s;
  position: relative;
}
nav a:hover, nav a:focus {
  background: #18A085;
  color: #fff;
}

/* HEADER CTA BTN */
.cta-btn {
  margin-left: 24px;
  background: linear-gradient(90deg,#18A085 65%,#FFE066 100%);
  color: #123974;
  border-radius: 28px;
  box-shadow: 0 4px 24px 0 rgba(255,224,102,0.14);
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
  display: inline-block;
  animation: ctaPop .7s 1;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg,#123974 65%,#F44787 100%);
  color: #fff;
  box-shadow: 0 6px 32px 0 rgba(252,87,135,0.16);
}

/* SOCIAL LINKS FOOTER */
.social-links {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 10px;
}
.social-links a img {
  width: 29px;
  height: 29px;
  filter: drop-shadow(0 2px 7px #ffe06690);
  opacity: .93;
  transition: filter .2s, opacity .2s, transform .15s;
}
.social-links a:hover img { opacity: 1; filter: brightness(1.15) drop-shadow(0 4px 16px #F4478790); transform: scale(1.15); }

/* FOOTER */
footer {
  background: #fff;
  color: #123974;
  border-top: 4px solid #18A085;
  margin-top: 60px;
  padding: 36px 0 18px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1rem;
}
.footer-contact {
  font-size: 1rem;
  line-height: 1.7;
  margin-top: 4px;
  color: #18A085;
}
.footer-contact img { height: 18px; width: 18px; margin-right: 6px; vertical-align: middle; }

/* MOBILE MENU STYLES */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 18px;
  right: 22px;
  z-index: 600;
  width: 50px;
  height: 50px;
  background: #18A085;
  color: #fff;
  border-radius: 50%;
  font-size: 2.2rem;
  box-shadow: 0 3px 16px rgba(18,57,116,.11);
  text-align: center;
  align-items: center;
  justify-content: center;
  border: none;
  transition: background .2s, box-shadow .2s, transform .2s;
  cursor: pointer;
}
.mobile-menu-toggle:active { transform: scale(.95); }

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(18,57,116,0.95);
  color: #fff;
  z-index: 9999;
  transform: translateX(110vw);
  transition: transform .38s cubic-bezier(.62,0,.37,1.01);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
  transition: transform .38s cubic-bezier(.62,0,.37,1.01), opacity .18s .12s;
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.5rem;
  border: none;
  margin: 22px 28px 18px 0;
  align-self: flex-end;
  cursor: pointer;
  transition: color .2s, transform .12s;
}
.mobile-menu-close:hover { color: #FFE066; transform: scale(1.1); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 32px 0 0 40px;
  font-size: 1.4rem;
}
.mobile-nav a {
  color: #FFF;
  text-decoration: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 12px;
  padding: 12px 18px;
  transition: background .18s, color .18s, transform .12s;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFE066;
  color: #123974;
  transform: scale(1.04);
}

@media (max-width: 990px) {
  header .container{
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 10px 12px;
  }
  footer .container{
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
}
@media (max-width: 840px) {
  nav, header .cta-btn { display: none !important; }
  .mobile-menu-toggle { display: flex !important; }
  header .container{ padding-right: 74px; }
}
@media (max-width: 700px) {
  .container, section, .section { padding-left: 7px; padding-right: 7px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  .content-wrapper { gap: 10px; }
  .testimonial-card, .card { min-width: 160px; padding: 15px 8px; }
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 15px; }
  .card-container, .content-grid, footer .container {
    flex-direction: column;
    gap: 18px;
  }
  .card, .testimonial-card { min-width: 0; flex: 1 1 100%; }
}
@media (max-width: 420px) {
  h1 { font-size: 1.22rem; }
  h2 { font-size: 1.08rem; }
}

/* ANIMATIONS */
@keyframes logoBounce {
  0% { transform: scale(.8) rotate(-8deg); }
  60% { transform: scale(1.08) rotate(3deg); }
  100% { transform: scale(1) rotate(0deg); }
}
@keyframes ctaPop {
  0% { transform: scale(.8) rotate(-10deg); box-shadow: 0 2px 8px 0 #ff8b3d77; }
  45% { transform: scale(1.09) rotate(2deg); box-shadow: 0 0px 36px 0 #ffe066cc; }
  100% { transform: scale(1) rotate(0); box-shadow: 0 4px 24px 0 #ffe06633; }
}

/* LISTS WITH FUN ICONS */
ul li, ol li {
  margin-bottom: 10px;
  padding-left: 0.4em;
  position: relative;
}
ul li::before {
  content: ''; display: inline-block; width: 13px; height: 13px; margin-right: 5px; border-radius: 3px; background: #18A085; box-shadow: 2px 2px 0 #FFE066, 0 0 0 2px #8E6CEB22; vertical-align: middle; }
ul li img { vertical-align: middle; margin-right: 5px; height: 20px; width: 20px; }

/* CONTACT INFO */
.contact-info ul {
  list-style: none;
  padding-left: 0;
}
.contact-info li {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 1rem;
  margin-bottom: 9px;
  background: #fff;
  border-radius: 11px;
  padding: 7px 11px;
  box-shadow: 0 1px 5px 0 #ffe06633;
}
.contact-info img { width: 20px; height: 20px; }

/* SPECIAL ACCENT SPANS  */
span.important, .highlight {
  color: #F44787;
  font-weight: bold;
  background: #fffde4;
  border-radius: 7px;
  padding: 3px 7px;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fffde4;
  color: #123974;
  box-shadow: 0 -6px 24px 0 rgba(255,224,102, 0.19);
  z-index: 11000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  padding: 25px 20px 18px 20px;
  animation: cookieSlideIn .6s cubic-bezier(.62, 0, .37, 1.01);
}
@keyframes cookieSlideIn {
  from { transform: translateY(120px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.cookie-btn {
  padding: 9px 24px;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  background: #18A085;
  color: #fff;
  box-shadow: 0 2px 8px 0 #8E6CEB22;
  cursor: pointer;
  font-size: 1rem;
  transition: background .16s, color .16s;
  margin: 0 2px;
}
.cookie-btn.settings { background: #FFE066; color: #123974; }
.cookie-btn.reject { background: #F44787; color: #fff; }
.cookie-btn:hover, .cookie-btn:focus { background: #123974; color: #fff; }
.cookie-btn.settings:hover, .cookie-btn.settings:focus { background: #F44787; color: #fff; }

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed; left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(18,57,116,0.72);
  z-index: 12000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.cookie-modal-overlay.open {
  opacity: 1; pointer-events: all;
}
.cookie-modal {
  background: #fff;
  color: #123974;
  border-radius: 22px;
  min-width: 310px;
  max-width: 99vw;
  padding: 32px 22px 16px 22px;
  box-shadow: 0 4px 32px 0 #18a08524;
  animation: modalPop .55s;
}
@keyframes modalPop {
  from { transform: scale(0.7) translateY(90px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.26rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 8px;
  color: #18A085;
}
.cookie-modal-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 18px 0 16px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
}
.cookie-category label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.04rem;
  font-weight: 500;
  margin-left: 8px;
}
.cookie-toggle {
  --toggle-size: 34px;
  width: var(--toggle-size);
  height: 18px;
  border-radius: 9px;
  background: #E0EFF8;
  position: relative;
  cursor: pointer;
  transition: background .18s;
  margin-right: 5px;
}
.cookie-toggle input {
  display: none;
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 2px; top: 2px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #F44787;
  transition: left .22s cubic-bezier(.79,-0.19,.59,1.23), background .22s;
}
.cookie-toggle input:checked + .cookie-toggle:before {
  left: 18px;
  background: #18A085;
}
.cookie-modal-close {
  font-family: 'Montserrat', Arial, sans-serif;
  position: absolute;
  top: 18px; right: 24px;
  background: none;
  color: #18A085;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  transition: color .2s;
}
.cookie-modal-close:hover { color: #F44787; }

@media (max-width: 500px) {
  .cookie-banner { font-size: .96rem; padding: 15px 4px 9px 4px; }
  .cookie-modal { min-width: 90vw; padding: 18px 4vw 7px 4vw; font-size: .94rem; }
  .cookie-modal-list { gap: 7px; }
}

/* VISUAL PLAYFUL EFFECTS */
h1, h2, h3 {
  position: relative;
}
h1::after, h2::after {
  content: '';
  display: block;
  position: absolute;
  left: 10px;
  bottom: -13px;
  width: 59px;
  height: 6px;
  border-radius: 3px;
  background-color: #FFE066;
  opacity: .76;
  z-index: 0;
  animation: lineSweep .9s cubic-bezier(.32, 1.2, .44, .89) 1;
}
@keyframes lineSweep {
  from { left: -200px; opacity: 0; width: 7px; }
  60% { left: 10px; width: 60px; opacity: 1; }
  to   { left: 10px; width: 59px; opacity: .76; }
}

/* SPACING FOR ALL CARDS */
.card, .testimonial-card, .feature-item, .section, section {
  margin-bottom: 20px;
}

/* RESPONSIVE TABLES */
@media (max-width: 630px) {
  table, thead, tbody, tr, th, td { display: block; width: 100%; }
  thead { display: none; }
  tr { margin-bottom: 8px; }
  td { padding: 13px; border: none; border-bottom: 1px solid #E0EFF8; text-align: left; }
  table { min-width: 0; font-size: .97rem; }
}

/* TYPOGRAPHY REFINEMENTS */
::-webkit-input-placeholder { color: #aaa; }
::-moz-placeholder { color: #aaa; }
:-ms-input-placeholder { color: #aaa; }
::placeholder { color: #aaa; }

/* MICRO-INTERACTIONS */
a:active { position: relative; top: 1px; }

/* ACCESSIBILITY & INTERACTIVE STATES */
button:focus, .cta-btn:focus, .cookie-btn:focus, .mobile-menu-close:focus {
  outline: 2px solid #FFE066;
  outline-offset: 2px;
}

/* Hide visually but keep for a11y */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; padding:0; }

/* Utility classes */
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* Hide .mobile-menu by default on desktop */
@media (min-width: 841px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* END CSS */
