/* === 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 {
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  font-family: 'Roboto', Arial, sans-serif;
  color: #1E3C4E;
  background: #FAFBFF;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img, picture, svg {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
button, input, select, textarea {
  font-family: inherit;
  outline: none;
}
li {
  list-style: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #24527A;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; line-height: 1.1; }
h2 { font-size: 2rem; line-height: 1.2; }
h3 { font-size: 1.5rem; line-height: 1.3; }
h4 { font-size: 1.25rem; line-height: 1.3; }
p, ul, ol { font-size: 1rem; margin-bottom: 16px; }
strong { font-weight: 700; }

/* === BRAND COLORS === */
:root {
  --clr-primary: #24527A;
  --clr-secondary: #1E3C4E;
  --clr-accent: #F2C756;
  --clr-electric: #13C9E6;
  --clr-pop: #F8206B;
  --clr-white: #FFFFFF;
  --clr-bg: #FAFBFF;
  --clr-card: #FFFFFF;
  --clr-muted: #D7E3F2;
  --clr-dark: #1E3C4E;
}

/* === SPACING & CONTAINERS === */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--clr-bg);
  border-radius: 18px;
}
@media (max-width: 768px) {
  .section {
    padding: 24px 8px;
    margin-bottom: 32px;
  }
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.text-section {
  max-width: 700px;
}

/* === FLEXBOX LAYOUTS === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--clr-card);
  box-shadow: 0 4px 24px 0 rgba(36,82,122,0.07), 0 1.5px 8px 0 rgba(242,199,86,0.10);
  border-radius: 16px;
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(36,82,122,0.17), 0 4px 32px 0 rgba(248,32,107,0.09);
  transform: translateY(-4px) scale(1.025);
}
@media (max-width: 768px) {
  .card-container {
    flex-direction: column;
    gap: 20px;
  }
}

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

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--clr-accent);
  color: #1E3C4E;
  border-radius: 15px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px 0 rgba(36,82,122,0.055);
  position: relative;
  transition: box-shadow 0.2s, transform 0.19s;
}
.testimonial-card blockquote {
  font-size: 1.1rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  margin: 0;
  color: #1E3C4E;
  quotes: "\201C" "\201D";
}
.testimonial-card div {
  font-size: 0.98rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-style: italic;
  color: #24527A;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px 0 rgba(248,32,107,0.17), 0 4px 32px 0 rgba(36,82,122,0.09);
  transform: translateY(-2px) scale(1.01);
}

@media (max-width: 768px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
  }
}

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

/* === BUTTONS === */
.cta-primary, .mobile-nav a.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.13rem;
  background: var(--clr-pop);
  color: var(--clr-white) !important;
  border: none;
  padding: 13px 32px;
  margin-top: 10px;
  border-radius: 32px;
  box-shadow: 0 4px 16px 0 rgba(36,82,122,0.15);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  transition: background 0.2s, color 0.17s, box-shadow 0.2s, transform 0.17s;
  text-align: center;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--clr-electric);
  color: var(--clr-dark) !important;
  box-shadow: 0 8px 24px 0 rgba(36,82,122,0.20);
  transform: translateY(-2px) scale(1.03);
}
button, .button {
  border: none;
  border-radius: 32px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  padding: 11px 24px;
  background: var(--clr-electric);
  color: var(--clr-dark);
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.19s, color 0.14s, transform 0.12s;
}
button:hover, .button:hover, button:focus, .button:focus {
  background: var(--clr-pop);
  color: var(--clr-white);
  transform: translateY(-1px) scale(1.026);
}

/* === NAVIGATION HEADER === */
header {
  background: var(--clr-primary);
  box-shadow: 0 2px 18px 0 rgba(36,82,122,0.12);
  padding: 0;
  position: relative;
  z-index: 20;
}
header nav {
  display: flex;
  align-items: center;
  gap: 22px;
  justify-content: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 80px;
}
header nav img {
  max-height: 48px;
  margin-right: 24px;
}
header nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--clr-white);
  font-weight: 700;
  font-size: 1rem;
  padding: 8px 16px;
  border-radius: 18px;
  transition: background 0.16s, color 0.14s;
}
header nav a:hover, header nav a:focus {
  background: var(--clr-electric);
  color: var(--clr-dark);
}
header nav a.cta-primary {
  background: var(--clr-accent);
  color: var(--clr-primary) !important;
  margin-left: auto;
  box-shadow: 0 2px 12px 0 rgba(242,199,86,0.22);
}
header nav a.cta-primary:hover, header nav a.cta-primary:focus {
  background: var(--clr-pop);
  color: #fff !important;
}

/* ==================
   MOBILE MENU STYLES
   ================== */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 24px;
  top: 18px;
  width: 44px;
  height: 44px;
  z-index: 102;
  font-size: 2.1rem;
  color: var(--clr-accent);
  background: var(--clr-primary);
  border: none;
  border-radius: 50%;
  transition: background 0.14s, color 0.11s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: var(--clr-pop);
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--clr-primary);
  z-index: 200;
  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.91, 0.01, 0, 1), opacity 0.18s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 0 0 0;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--clr-accent);
  font-size: 2rem;
  position: absolute;
  right: 28px;
  top: 24px;
  z-index: 210;
  cursor: pointer;
  transition: color 0.14s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: var(--clr-pop);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 90px 0 0 42px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--clr-white);
  font-size: 1.18rem;
  font-weight: 700;
  padding: 12px 24px 12px 0;
  border-radius: 8px;
  transition: background 0.16s, color 0.15s, padding-left 0.22s;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--clr-electric);
  color: var(--clr-dark);
  padding-left: 18px;
}
.mobile-nav a.cta-primary {
  background: var(--clr-pop);
  color: var(--clr-white) !important;
  margin-top: 16px;
  margin-left: 0;
}
.mobile-nav a.cta-primary:hover, .mobile-nav a.cta-primary:focus {
  background: var(--clr-accent);
  color: var(--clr-dark) !important;
}
header nav {
  /* hide on mobile */
}
@media (max-width: 1100px) {
  header nav {
    gap: 14px;
  }
  header nav img {
    margin-right: 12px;
  }
}
@media (max-width: 1024px) {
  header nav {
    gap: 8px;
    padding: 0 8px;
  }
}
@media (max-width: 900px) {
  header nav a:not(.cta-primary) {
    font-size: 0.92rem;
    padding: 6px 10px;
  }
}
@media (max-width: 800px) {
  header nav a {
    font-size: 0.88rem;
  }
}
@media (max-width: 768px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .mobile-menu {
    display: flex;
  }
}

/* === MAIN === */
main {
  padding-top: 26px;
  min-height: 60vh;
}

/* === LISTS & ICONS === */
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
  font-size: 1rem;
}
ul li, ol li {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--clr-secondary);
}
ul li img {
  width: 26px;
  height: 26px;
  margin-right: 7px;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 1.5px rgba(36,82,122,0.09));
}

/* === FOOTER === */
footer {
  background: var(--clr-secondary);
  padding: 32px 0 20px 0;
  margin-top: 68px;
}
footer nav {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}
footer nav a {
  color: var(--clr-accent);
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.17s, color 0.13s;
}
footer nav a:hover, footer nav a:focus {
  background: var(--clr-electric);
  color: var(--clr-primary);
}
footer .text-section {
  text-align: center;
  color: var(--clr-white);
  font-size: 1rem;
}

@media (max-width: 650px) {
  footer nav {
    flex-direction: column;
    gap: 11px;
  }
}

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100%;
  background: #fffbea;
  color: #243C2A;
  box-shadow: 0 -3px 32px 0 rgba(36,82,122,0.13);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 22px 18px;
  z-index: 9990;
  gap: 28px;
  font-size: 1rem;
  transition: transform 0.27s cubic-bezier(0.71,0.16,0.23,1); 
}
.cookie-banner.hide {
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner__text {
  flex: 1 1 auto;
  min-width: 0;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
}
.cookie-banner button {
  font-size: 1rem;
  padding: 9px 21px;
  border-radius: 16px;
  font-weight: 700;
  background: #1E3C4E;
  color: #fffbea;
  border: none;
  cursor: pointer;
  margin-left: 0;
  margin-right: 0;
  transition: background 0.15s, color 0.13s;
}
.cookie-banner button.accept {
  background: var(--clr-electric);
  color: var(--clr-dark);
}
.cookie-banner button.reject {
  background: var(--clr-pop);
}
.cookie-banner button.settings {
  background: var(--clr-accent);
  color: var(--clr-dark);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  opacity: 0.90;
  box-shadow: 0 5px 32px 0 rgba(36,82,122,0.12);
  transform: translateY(-1px) scale(1.01);
}
@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 8px;
  }
  .cookie-banner__actions {
    gap: 9px;
  }
}

/* === COOKIE MODAL === */
.cookie-modal {
  position: fixed;
  z-index: 11000;
  left: 0; right: 0; top: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(36, 82, 122, 0.30);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal__content {
  background: #fffbea;
  padding: 40px 32px 24px 32px;
  border-radius: 18px;
  box-shadow: 0 8px 40px 0 rgba(36,82,122,0.23);
  min-width: 320px;
  max-width: 98vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  position: relative;
  animation: cookieModalAppear 0.38s cubic-bezier(0.91, 0.01, 0, 1) both;
}
@keyframes cookieModalAppear {
  from { transform: scale(0.87) translateY(18px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal__header {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.32rem;
  margin-bottom: 6px;
  color: #243C2A;
}
.cookie-modal__close {
  position: absolute;
  top: 13px;
  right: 18px;
  color: var(--clr-pop);
  background: none;
  border: none;
  font-size: 1.7rem;
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  color: var(--clr-dark);
}
.cookie-modal__category {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-modal__category input[type=checkbox],
.cookie-modal__category input[type=radio] {
  accent-color: var(--clr-electric);
}
.cookie-modal__category .cookie-essential {
  font-size: 0.97rem;
  color: #889;
  font-style: italic;
}
.cookie-modal__footer {
  display: flex;
  gap: 12px;
  margin-top: 5px;
}
.cookie-modal button {
  font-size: 1rem;
  padding: 9px 23px;
  border-radius: 16px;
  font-weight: 700;
  background: var(--clr-pop);
  color: var(--clr-white);
  border: none;
  cursor: pointer;
  margin-left: 0;
  margin-right: 0;
  transition: background 0.15s, color 0.13s;
}
.cookie-modal button.accept {
  background: var(--clr-electric);
  color: var(--clr-dark);
}
.cookie-modal button.save {
  background: var(--clr-accent);
  color: var(--clr-dark);
}
.cookie-modal button:hover, .cookie-modal button:focus {
  opacity: 0.93;
}

/* === ANIMATIONS FOR ENERGETIC FEEL === */
.cta-primary, .button, .cookie-banner button, .cookie-modal button {
  transition: background 0.18s cubic-bezier(.3,1.4,.7,1), box-shadow 0.21s cubic-bezier(.3,1.4,.7,1), color 0.13s, transform 0.17s;
}

/* === MICRO-INTERACTIONS === */
a, .cta-primary, .button, .cookie-banner button {
  transition: box-shadow 0.19s, transform 0.17s, background 0.13s, color 0.13s;
}
.cta-primary:active, .button:active, .cookie-banner button:active {
  transform: scale(0.97);
}

/* === UTILITIES === */
.hide {
  display: none !important;
}
.center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.mt-32 {
  margin-top: 32px;
}
.mb-32 {
  margin-bottom: 32px;
}

/* === SCROLLBAR === */
::-webkit-scrollbar {
  background: var(--clr-card);
  width: 13px;
}
::-webkit-scrollbar-thumb {
  background: var(--clr-accent);
  border-radius: 9px;
  border: 3px solid var(--clr-card);
}

/* === TYPOGRAPHY SCALE / HIERARCHY === */
@media (max-width: 650px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.09rem; }
  .cta-primary, button, .button { font-size: 0.98rem; }
}

/* == DISTINCTIVE STYLES FOR VIBRANT/ENERGETIC THEME == */
.section {
  box-shadow: 0 2px 22px 0 rgba(18,201,230,0.06), 0 6px 42px 0 rgba(248,32,107,0.07);
  border-left: 9px solid var(--clr-pop);
  border-radius: 27px;
}

h1, h2, h3 {
  text-shadow: 0 2px 8px rgba(248,32,107,0.07), 0 1px 3px rgba(36,82,122,0.04);
}

@media (max-width: 650px) {
  .section { border-left-width: 3px; border-radius: 17px; }
}

/* === FOCUS STATES === */
a:focus, .cta-primary:focus, .button:focus, button:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 2px solid var(--clr-electric);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px rgba(36, 201, 230, 0.11);
}

/* === DARK TEXT ON LIGHT TESTIMONIALS === */
.testimonial-card, .testimonial-card blockquote, .testimonial-card div {
  color: #1E3C4E !important;
}

/* =====================================
     END OF CSS
===================================== */
