/* CSS RESET & NORMALIZATION */
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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F5F7FA;
  color: #083156;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #083156;
  font-weight: 800;
  text-shadow: 0 2px 8px rgba(0,49,120,0.08);
}
h1 { font-size: 2.4rem; line-height: 1.15; margin-bottom: 20px; }
h2 { font-size: 2rem; line-height: 1.2; margin-bottom: 18px; }
h3 { font-size: 1.25rem; line-height: 1.3; margin-bottom: 14px; }
p {
  margin-bottom: 16px;
  font-size: 1rem;
  letter-spacing: .01em;
}
strong, b { font-weight: 800; }

/* BRAND COLORS -- Vibrant Energetic Palette */
:root {
  --primary: #083156;
  --secondary: #C0B283;
  --accent: #F5F7FA;
  --electric-blue: #29D6E6;
  --vivid-purple: #7C35FC;
  --hot-orange: #FF8C42;
  --magenta: #FF55A5;
  --white: #fff;
  --dark: #06192B;
  --card-shadow: 0 8px 32px rgba(8,49,86,0.10), 0 2px 8px rgba(44,69,135,0.06);
  --radius: 16px;
}

/* ------------ LAYOUT BASICS --------------- */
.container {
  width: 100%;
  max-width: 1180px;
  padding: 0 16px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  position: relative;
  transition: box-shadow .2s;
}
.card:hover {
  box-shadow: 0 12px 36px rgba(44,53,178,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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  color: var(--primary);
  padding: 20px 28px 20px 28px;
  margin-bottom: 20px;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(44,45,135,0.10);
  max-width: 600px;
  transition: transform .18s, box-shadow .18s;
}
.testimonial-card blockquote {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.5;
  margin: 0 0 6px 0;
  quotes: "\201C" "\201D";
}
.testimonial-card blockquote:before {
  content: open-quote;
  color: var(--hot-orange);
  font-size: 2.2rem;
  vertical-align: top;
  margin-right: 4px;
}
.testimonial-card span {
  color: var(--vivid-purple);
  font-weight: 600;
  letter-spacing: .01em;
}
.testimonial-card:hover {
  transform: translateY(-4px) scale(1.025);
  box-shadow: 0 8px 32px rgba(44,53,178,0.22);
}

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

/* ------------ NAVIGATION & HEADER ------------ */
header {
  background: linear-gradient(87deg, var(--primary) 90%, var(--electric-blue) 210%);
  box-shadow: 0 4px 22px rgba(8,49,86,0.10);
  position: relative;
  z-index: 11;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 16px 16px 16px;
}
header a img {
  height: 44px;
  min-width: 54px;
}
.main-nav {
  display: flex;
  gap: 25px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .02em;
  padding: 8px 12px;
  border-radius: 24px;
  color: var(--white);
  transition: background .14s, color .13s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--vivid-purple);
  color: var(--electric-blue);
}
.main-nav .cta-button {
  background: var(--electric-blue);
  color: var(--primary);
  padding: 9px 24px 9px 24px;
  border-radius: 32px;
  font-weight: 900;
  font-size: 1.03rem;
  box-shadow: 0 2px 10px rgba(44,173,253,0.17);
  margin-left: 8px;
  transition: background .18s, color .18s, box-shadow .26s;
}
.main-nav .cta-button:hover, .main-nav .cta-button:focus {
  background: var(--hot-orange);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(255,140,66,0.17);
}

.mobile-menu-toggle {
  display: none;
  background: var(--hot-orange);
  color: #fff;
  border: none;
  padding: 8px 13px;
  border-radius: 8px;
  font-size: 2rem;
  cursor: pointer;
  transition: background .15s;
  z-index: 22;
  margin-left: 8px;
}
.mobile-menu-toggle:focus { outline: 2px solid var(--electric-blue); }

/* MOBILE NAVIGATION ANIMATION & STYLE */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(14,20,52,0.98);
  transform: translateX(100%);
  transition: transform .34s cubic-bezier(.77,.12,.29,.88);
  z-index: 99;
  box-shadow: 0 8px 60px rgba(8,49,86,0.23);
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  width: 100vw;
  min-height: 100vh;
  padding-top: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  padding: 22px 24px 12px 16px;
  align-self: flex-end;
  cursor: pointer;
  transition: color .14s;
}
.mobile-menu-close:hover { color: var(--hot-orange); }

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
  margin-top: 18px;
  padding-left: 24px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  color: #fff;
  padding: 12px 8px 12px 6px;
  border-radius: 10px;
  font-weight: 700;
  transition: color .16s, background .11s;
  min-width: 180px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--electric-blue);
  background: rgba(44,173,253,0.09);
}
.mobile-nav .cta-button {
  background: var(--electric-blue);
  color: var(--primary);
  box-shadow: 0 2px 10px rgba(41,214,230,0.13);
  margin-top: 15px;
  padding: 11px 28px 11px 28px;
  border-radius: 32px;
  font-size: 1.1rem;
  font-weight: 900;
}
.mobile-nav .cta-button:hover {
  background: var(--hot-orange);
  color: var(--white);
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .main-nav a:not(.cta-button) {
    font-size: .97rem;
    padding: 7px 7px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    padding: 12px 10px 10px 10px;
  }
  header a img {
    height: 38px;
  }
}

/* ------------- HERO & SECTIONS ------------- */
.hero {
  background: linear-gradient(87deg, var(--electric-blue) 26%, var(--vivid-purple) 100%);
  padding: 60px 0 0 0;
  color: var(--primary);
  min-height: 370px;
  position: relative;
  overflow: hidden;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
  position: relative;
}
.hero h1 {
  color: var(--dark);
  text-shadow: 0 6px 24px rgba(41,214,230,0.13);
  font-size: 2.7rem;
  letter-spacing: .01em;
}
.hero p {
  color: var(--dark);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 12px;
}
@media (max-width: 768px) {
  .hero {
    padding: 40px 0 0 0;
    min-height: 230px;
  }
  .hero h1 {
    font-size: 1.55rem;
  }
  .hero .content-wrapper {
    gap: 10px;
  }
}
.section h2 {
  color: var(--primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2rem;
  font-weight: 700;
}
.text-section {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(72,183,252,0.06);
  padding: 24px 22px 22px 22px;
  margin-bottom: 24px;
}
.text-section ul {
  list-style: disc inside;
  margin-top: 12px;
  padding-left: 16px;
}
.text-section li {
  margin-bottom: 9px;
  font-size: 1.05rem;
  color: var(--primary);
  font-weight: 500;
}

/* ------------- FEATURES & LISTS ------------- */
li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.09rem;
  margin-bottom: 10px;
  letter-spacing: .01em;
  line-height: 1.5;
}
li img {
  width: 28px; height: 28px;
  filter: drop-shadow(0 2px 8px rgba(41,214,230,0.14));
  margin-right: 3px;
}
@media (max-width: 600px) {
  li img {
    width: 22px; height: 22px;
  }
}

/* ------------- CTA BUTTONS ------------- */
.cta-button {
  display: inline-block;
  background: var(--electric-blue);
  color: var(--primary);
  border: none;
  border-radius: 36px;
  padding: 11px 36px;
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
  letter-spacing: .04em;
  cursor: pointer;
  margin: 12px 0;
  box-shadow: 0 6px 20px rgba(41,214,230,0.17);
  transition: background .17s, color .17s, box-shadow .21s, transform .11s;
  text-shadow: 0 2px 6px rgba(8,49,86,0.14);
}
.cta-button:hover, .cta-button:focus {
  background: var(--vivid-purple);
  color: #fff;
  box-shadow: 0 10px 40px rgba(44,53,178,0.22);
  transform: translateY(-2px) scale(1.025);
}

/* ------------ CARD & FLEX CONTAINERS ------------ */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ------------- TESTIMONIALS ------------- */
/* Already covered in .testimonial-card */

/* ---------- FOOTER ----------- */
footer {
  background: var(--primary);
  color: #fff;
  padding: 32px 0 18px 0;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 50px;
  align-items: flex-start;
  width: 100%;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.footer-nav a {
  color: #fff;
  font-size: .97rem;
  font-weight: 600;
  transition: color .11s;
  letter-spacing: .03em;
}
.footer-nav a:hover { color: var(--electric-blue); }
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: .97rem;
  color: var(--accent);
  font-weight: 500;
  line-height: 1.7;
}
.contact-info img {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: middle;
}
.contact-info a {
  color: var(--electric-blue);
  text-decoration: underline;
  font-weight: 600;
}
.social-links {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}
.social-links a img {
  width: 28px; height: 28px;
  filter: drop-shadow(0 2px 8px var(--hot-orange));
}
@media (max-width: 850px) {
  footer .content-wrapper {
    gap: 22px;
  }
}
@media (max-width: 600px) {
  footer {
    padding: 22px 0 12px 0;
  }
  footer .container, footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-nav {
    flex-direction: row;
    gap: 16px;
    flex-wrap: wrap;
  }
}

/* ----------- COOKIE BANNER & MODAL ----------- */
#cookie-banner, .cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: linear-gradient(90deg, var(--vivid-purple) 30%, var(--electric-blue) 120%);
  color: #fff;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 14px 24px 14px;
  box-shadow: 0 0 40px 0 rgba(44,53,178,0.13);
  transition: transform .32s, opacity .3s;
  gap: 20px;
  font-size: 1.08rem;
  flex-wrap: wrap;
}
@media (max-width: 600px) {
  #cookie-banner, .cookie-banner {
    flex-direction: column;
    gap: 16px;
    font-size: .97rem;
    padding: 18px 8px;
    align-items: stretch;
  }
}
.cookie-banner .cookie-btn {
  background: #fff;
  color: var(--primary);
  border: none;
  border-radius: 32px;
  padding: 9px 24px;
  font-size: 1.05rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  margin-left: 10px;
  margin-bottom: 0;
  box-shadow: 0 2px 6px rgba(44,53,178,0.11);
  cursor: pointer;
  transition: background .13s, color .13s;
}
.cookie-banner .cookie-btn:first-child { margin-left: 0; }
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: var(--hot-orange);
  color: #fff;
}
.cookie-banner .cookie-btn.cookie-reject {
  background: var(--magenta);
  color: #fff;
}
.cookie-banner .cookie-btn.cookie-reject:hover {
  background: var(--hot-orange);
}
.cookie-banner .cookie-btn.cookie-settings {
  background: var(--electric-blue);
  color: var(--primary);
}
.cookie-banner .cookie-btn.cookie-settings:hover {
  background: var(--vivid-purple);
  color: #fff;
}

/* Cookie Settings Modal */
#cookie-modal, .cookie-modal {
  position: fixed;
  top: 0;
  left: 0; right: 0; bottom: 0;
  background: rgba(14,20,52,0.92);
  z-index: 1500;
  display: none;
  align-items: center;
  justify-content: center;
  transition: opacity .36s;
}
.cookie-modal.open { display: flex; }
.cookie-modal .modal-content {
  background: #fff;
  color: var(--primary);
  border-radius: 20px;
  box-shadow: 0 22px 88px -2px rgba(72,40,183,0.13);
  padding: 30px 25px;
  max-width: 350px;
  width: 96vw;
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: stretch;
}
.cookie-modal .modal-content h2 {
  color: var(--primary);
  font-size: 1.28rem;
  margin-bottom: 6px;
}
.cookie-modal .modal-content .category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  font-size: 1.04rem;
  margin-bottom: 10px;
}
.cookie-modal .modal-content .category input[type=checkbox] {
  accent-color: var(--electric-blue);
  width: 19px; height: 19px;
  cursor: pointer;
}
.cookie-modal .modal-content .category label {
  color: var(--primary);
  font-weight: 600;
}
.cookie-modal .modal-content .category.essential {
  opacity: .70;
  pointer-events: none;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 10px;
}
.cookie-modal .modal-actions .cookie-btn {
  flex: 1 1 40%;
}
.cookie-modal .modal-close {
  background: none;
  border: none;
  color: var(--magenta);
  font-size: 2.0rem;
  font-weight: bold;
  position: absolute;
  top: 12px; right: 18px;
  cursor: pointer;
  z-index: 1510;
}
.cookie-modal .modal-close:hover {
  color: var(--hot-orange);
}
@media (max-width: 480px) {
  .cookie-modal .modal-content {
    padding: 18px 8px;
    font-size: .99rem;
    gap: 14px;
  }
}

/* --------- SPACING, GAP, FLEX WRAP ----------- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 700px) {
  section {
    padding: 24px 4vw;
    margin-bottom: 32px;
  }
}
.card-container, .card-grid, .features {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-item, .text-section ul, .content-grid {
  gap: 20px;
}
.card {
  margin-bottom: 20px;
}
/* for all cards in card-container, add min-width for wrap responsiveness */
.card-container > .card {
  min-width: 260px;
  flex: 1 1 290px;
}

/* --------- GENERAL INTERACTIVE EFFECTS --------- */
a, .cta-button, button, .cookie-btn {
  transition: background .18s, color .18s, border-color .17s, box-shadow .21s;
  outline: none;
}
a:focus, .cta-button:focus, button:focus, .cookie-btn:focus {
  outline: 2px solid var(--vivid-purple);
  outline-offset: 2px;
}

/* --------- TYPOGRAPHY SCALE --------- */
@media (max-width: 600px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.05rem; }
  h3 { font-size: .98rem; }
  body, p { font-size: .96rem; }
}

/* --------- UTILITY --------- */
.hide {
  display: none !important;
}
.d-flex { display: flex !important; }
.flex-col { flex-direction: column !important; }
.align-center { align-items: center !important; }
.justify-center { justify-content: center !important; }

/* --------------- END CSS --------------- */
