/* RESET & BASE STYLES */
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, 
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0; padding: 0; border: 0; box-sizing: border-box;
  font: inherit; vertical-align: baseline;
}
article,aside,details,figcaption,figure,
footer,header,hgroup,main,menu,nav,section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F6F6F6;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #203149;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img {max-width:100%; display: block;}
a { text-decoration: none; color:inherit; transition: color .2s;}
ul, ol {list-style: none;}
:focus { outline: 2px solid #EED179; outline-offset: 2px;}

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

/* COLOR VARIABLES */
:root {
  --primary: #203149;
  --secondary: #EED179;
  --accent: #F6F6F6;
  --vibrant-blue: #2E8AFF;
  --vibrant-pink: #E84B8C;
  --vibrant-yellow: #FED600;
  --white: #fff;
  --black: #091320;
  --box-shadow-strong: 0 6px 32px rgba(32,49,73,.14);
  --box-shadow-soft: 0 2px 8px rgba(32,49,73,.10);
}

/* CONTAINER */
.container {
  width: 100%; max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex; flex-direction: column;
}

/* HEADER LAYOUT */
header {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 24px rgba(32,49,73,.10);
  position: sticky; top: 0; z-index: 1002;
}
header .container {
  flex-direction: row; align-items: center; justify-content: space-between;
  height: 72px;
  gap: 20px;
}
.logo img {
  height: 48px;
  width: auto;
  display: block;
}
/* Main Nav */
.main-nav {
  display: flex; gap: 24px; align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.01em;
  color: var(--secondary);
  padding: 8px 4px;
  border-radius: 4px;
  transition: color .18s, background .18s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--vibrant-pink);
  background: var(--white);
}
.cta-button {
  background: linear-gradient(90deg, var(--vibrant-pink), var(--vibrant-blue), var(--vibrant-yellow));
  background-size: 200% 200%;
  background-position: left;
  color: var(--primary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 18px;
  padding: 12px 28px;
  border: none;
  border-radius: 32px;
  box-shadow: var(--box-shadow-strong);
  cursor: pointer;
  margin-left: 12px;
  transition: background-position .3s, transform .15s;
  letter-spacing: 0.03em;
}
.cta-button:hover,
.cta-button:focus {
  background-position: right;
  transform: translateY(-2px) scale(1.05);
  color: var(--white);
  text-shadow: 0 2px 6px rgba(32,49,73,0.12);
}

.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: var(--primary);
  border: none;
  font-size: 32px;
  border-radius: 8px;
  padding: 6px 12px;
  margin-left: 10px;
  box-shadow: var(--box-shadow-soft);
  cursor: pointer;
  transition: background .2s, color .2s, transform .12s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--vibrant-pink);
  color: var(--white);
  transform: scale(1.09);
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: var(--primary);
  color: var(--white);
  z-index: 1100;
  display: flex; flex-direction: column;
  align-items: flex-start;
  transform: translateX(-105%);
  transition: transform .35s cubic-bezier(.7,0,.3,1);
  box-shadow: 8px 0 24px rgba(32,49,73,0.18);
  padding: 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end; margin: 22px 24px 16px 0;
  background: transparent;
  color: var(--secondary);
  border: none;
  font-size: 36px; cursor: pointer;
  transition: color .2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--vibrant-yellow);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0 32px;
}
.mobile-nav a {
  font-family: 'Montserrat',sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--secondary);
  padding: 10px 2px;
  border-radius: 6px;
  transition: background .18s, color .18s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--white);
  background: var(--vibrant-pink);
}

/* SECTIONS & LAYOUTS */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper, .text-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.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: flex-start;
    gap: 18px;
  }
}
.card-container, .card-grid, .features {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--box-shadow-soft);
  padding: 32px 20px;
  min-width: 260px; /* prevent squish */
  flex: 1;
  margin-bottom: 20px;
  position: relative;
  transition: transform .17s, box-shadow .21s;
}
.card:hover, .card:focus-within {
  transform: translateY(-5px) scale(1.015);
  box-shadow: 0 9px 36px rgba(32,49,73,.16);
  z-index: 2;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--accent);
  border-radius: 18px;
  padding: 28px 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 11px rgba(32,49,73,.09);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
@media (max-width: 768px) {
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}

/* HERO SECTION */
.hero {
  background: linear-gradient(90deg, var(--vibrant-yellow) 0 35%, var(--secondary) 70% 100%);
  border-radius: 0 0 48px 48px;
  box-shadow: 0 7px 38px rgba(32,49,73,.13);
  min-height: 270px;
  padding-top: 58px;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
}
.hero .container {
  flex-direction: column;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 24px;
  padding: 0;
}

.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 2.8rem;
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: var(--primary);
  text-shadow: 0 3px 15px rgba(255,255,255,.2);
}
.hero p {
  font-size: 1.25rem;
  font-family: 'Open Sans', sans-serif;
  color: var(--primary);
  font-weight: 600;
}
@media (max-width: 768px) {
  .hero {
    min-height: 180px;
    padding-top: 28px;
    padding-bottom: 10px;
    border-radius: 0 0 34px 34px;
  }
  .hero h1 {font-size: 1.65rem;}
}

/* TYPOGRAPHY */
h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 2.4rem;
  color: var(--primary);
  line-height: 1.11;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
}
h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: var(--vibrant-blue);
  margin-bottom: 8px;
}
h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight:700;
  font-size:1.25rem;
  color: var(--primary);
  margin-bottom: 8px;
}
p, li, address {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.03rem;
  color: var(--primary);
  margin-bottom: 6px;
}
strong {font-weight:700; color:var(--vibrant-pink);}
blockquote {
  font-family: 'Open Sans', sans-serif;
  font-style: italic;
  color: var(--primary);
  font-size: 1.1rem;
  margin-top: 0;
  margin-bottom: 8px;
  border-left: 4px solid var(--vibrant-pink);
  padding-left: 18px;
  background: var(--accent);
}
ul,ol {
  padding-left: 20px;
  margin-bottom: 12px;
}
ul li, ol li {
  margin-bottom: 8px;
  font-size: 1.06rem;
}
ul li:before {
  content:'';
  display:none; /* Custom icons via text as per HTML */
}


/* CTA LINK */
.cta-link {
  color: var(--vibrant-blue);
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  padding: 8px 6px;
  border-radius: 6px;
  transition: background .16s, color .16s;
  border: 2px solid transparent;
}
.cta-link:hover, .cta-link:focus {
  background: var(--vibrant-pink);
  color: var(--white);
  border-color: var(--vibrant-blue);
}

/* TESTIMONIALS */
.testimonial-card {
  display: flex; align-items: center; gap: 20px; padding: 20px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--box-shadow-soft);
  margin-bottom: 20px;
  color: var(--primary);
  min-width: 260px;
}
.testimonial-card blockquote {
  color: var(--black);
  background: transparent;
  border-left: 5px solid var(--vibrant-blue);
  margin-bottom: 0;
  padding-left: 16px;
  font-size: 1.08rem;
}
.testimonial-card p {
  min-width: 130px;
  color: var(--vibrant-pink);
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
}
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap:12px;
  }
}

/* FOOTER */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 38px 0 22px 0;
  border-radius: 36px 36px 0 0;
  box-shadow: 0 -2px 20px rgba(32,49,73,0.12);
}
footer .container {
  flex-direction:column;
  gap: 20px;
}
.footer-nav {
  display: flex; flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 10px;
}
.footer-nav a {
  font-family: 'Montserrat', sans-serif;
  color: var(--secondary);
  font-size: 16px;
  padding: 4px 4px;
  border-radius: 4px;
  transition: background .15s, color .18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--vibrant-yellow);
  background: var(--vibrant-pink);
}
footer address {
  font-style: normal;
  color: var(--vibrant-yellow);
  font-size: 1.01rem;
}

/* BUTTONS */
button, .cta-button, .cookie-btn {
  cursor: pointer;
  user-select: none;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  border-radius: 32px;
  transition: background .17s, color .17s, transform .14s;
  min-width: 120px;
}
.cookie-btn {
  padding: 10px 22px;
  background: var(--vibrant-blue);
  color: var(--white);
  font-weight: 700;
  margin-right: 18px;
}
.cookie-btn.settings {
  background: var(--vibrant-yellow);
  color: var(--primary);
  margin-right: 0;
}
.cookie-btn.reject {
  background: var(--secondary);
  color: var(--vibrant-pink);
}
.cookie-btn:hover, .cookie-btn:focus {
  filter: brightness(1.1);
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 3px 12px rgba(32,49,73,.16);
}

/* MODAL OVERLAYS (COOKIE) */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(32,49,73, 0.38);
  z-index: 2003;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn .2s;
}
@keyframes fadeIn {
  from { opacity: 0 }
  to { opacity: 1 }
}
.cookie-modal {
  background: var(--white);
  padding: 36px 28px 32px 28px;
  border-radius: 22px;
  box-shadow: 0 10px 40px rgba(32,49,73,.33);
  max-width: 420px;
  width: 92vw;
  display: flex; flex-direction: column;
  gap: 22px;
  position: relative;
  animation: popIn .22s cubic-bezier(.7,0,.2,1);
}
@keyframes popIn {
  0% {transform: scale(0.94); opacity:0;}
  85%{opacity:1;}
  100% {transform: scale(1); opacity:1;}
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
  font-size: 1rem;
}
.cookie-category input[type=checkbox] {
  width: 20px;
  height: 20px;
  accent-color: var(--vibrant-blue);
}
.cookie-category.essential label {
  color: var(--vibrant-blue);
  font-weight: 700;
}
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 18px;
  background: transparent;
  color: var(--vibrant-pink);
  font-size: 28px;
  border: none;
  cursor: pointer;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--vibrant-yellow);
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: var(--white);
  color: var(--primary);
  width: 100vw;
  z-index: 2000;
  box-shadow: 0 -2px 30px rgba(32,49,73,.11);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px 28px;
  font-size: 1rem;
  animation: bannerFadeIn .23s;
}
@keyframes bannerFadeIn {
  from { opacity: 0; bottom: -60px }
  to { opacity: 1; bottom: 0}
}
.cookie-banner p {
  flex: 1 1 200px;
  margin: 0 12px 0 0;
  font-size: 1.04rem;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 10px;
    gap: 10px;
  }
  .cookie-banner p {margin-bottom: 10px;}
}

/* RESPONSIVE HEADER MENU */
@media (max-width:1000px) {
  header .container {gap: 8px;}
  .main-nav {gap: 13px;}
}
@media (max-width: 820px) {
  .main-nav {display:none;}
  .mobile-menu-toggle {display: block !important;}
  header .container {gap:10px;}
  .cta-button {margin-left: 0;}
}

/* GENERAL RESPONSIVE RULES */
@media (max-width: 768px) {
  h1 {font-size: 1.45rem;}
  h2 {font-size:1.15rem;}
  .cta-button {font-size: 1rem; padding: 10px 18px; max-width: 100%; min-width:94px;}
  section {padding: 24px 6px; margin-bottom:32px;}
  .card {padding: 18px 10px; min-width: 170px;}
}

/* MISC */
::-webkit-scrollbar {width:8px; background: var(--accent);}
::-webkit-scrollbar-thumb {background: var(--secondary); border-radius: 4px;}

::selection {background: var(--vibrant-pink); color:var(--white);}

/* UTILITIES */
.mb-0 {margin-bottom:0!important;}
.gap-20 {gap:20px!important;}
.text-center {text-align: center!important;}

/* HIGH ENERGY SHADOWS / EFFECTS */
.card, .testimonial-card, .feature-item, .cookie-modal {
  box-shadow: 0 4px 20px 0 rgba(32,49,73,.12), 0 0px 8px 0 rgba(32,49,73,.07) ;
}

/* MICROINTERACTIONS FOR LINKS */
a, button, .cta-link, .cta-button {
  transition: color .15s, background .16s, transform .16s, box-shadow .17s;
}

/* ANIMATION - BUTTON BOUNCE */
.cta-button:active {transform: scale(0.96);}

/* CARD HIGHLIGHT */
.card:focus-within, .feature-item:focus-within {
  border: 2px solid var(--vibrant-blue);
}

/* DISABLED BUTTONS */
button[disabled], .cta-button[disabled] {
  opacity: 0.6;
  pointer-events: none;
  filter: grayscale(0.2);
}

/* ACCESSIBILITY: FOCUS VISIBLE */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--vibrant-yellow);
  outline-offset: 2px;
}

/* CONTACT PAGE SPECIALS */
.text-section {
  gap: 18px;
}
.text-section a.cta-button {
  margin-top: 10px;
}

/* THANK YOU PAGE */
@media (max-width: 640px) {
  .thankyou-content h1 {font-size:1.15rem;}
}

/* PRINT STYLES */
@media print {
  header, footer, .cookie-banner, .mobile-menu {display: none !important;}
  body {background: var(--white);}
}
