/* ================= 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,
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F3F6F9;
  color: #293347;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #D1A224;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #ff3e7f;
  outline: none;
}

ul, ol {
  margin-bottom: 24px;
  padding-left: 20px;
}
ul li, ol li {
  margin-bottom: 10px;
}
strong {
  font-weight: bold;
}

/* ============ Typography (Vibrant Energetic) ============ */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  color: #293347;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}
h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
p, li, blockquote {
  font-size: 1rem;
  color: #293347;
  opacity: 0.95;
}
blockquote {
  font-family: 'Montserrat', Arial, sans-serif;
  font-style: italic;
  background: #FFD26622;
  color: #293347;
  padding: 14px 24px 14px 18px;
  border-left: 5px solid #D1A224;
  border-radius: 6px;
  margin-bottom: 14px;
  font-size: 1.1rem;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 12px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* =================== Layout & Sections =================== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 30px 0 #d1a22422;
}

@media (max-width: 768px) {
  .section {
    padding: 25px 8px;
    margin-bottom: 36px;
    border-radius: 10px;
  }
}

/* ==================== Header & Nav ======================= */
header {
  width: 100%;
  background: #293347;
  padding: 0 0 0 0;
  position: sticky;
  top: 0;
  z-index: 120;
  display: flex;
  flex-direction: row;
  align-items: center;
  min-height: 68px;
  box-shadow: 0 2px 12px 0 #1112;
}
header > a {
  padding: 10px 18px;
  display: flex;
  align-items: center;
}
header img {
  height: 46px;
  width: auto;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-left: 8px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #F3F6F9;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 1.05rem;
  padding: 8px 6px;
  border-radius: 8px;
  transition: background .20s, color .18s;
  position: relative;
}
header nav a:hover, header nav a:focus {
  color: #D1A224;
  background: #fff3;
}

.mobile-menu-toggle {
  background: none;
  border: none;
  color: #D1A224;
  font-size: 2.3rem;
  font-weight: 700;
  margin-left: auto;
  cursor: pointer;
  padding: 8px 18px;
  line-height: 1;
  display: none;
  z-index: 999;
  transition: color .18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #ff3e7f;
  outline: none;
}

/* --- Mobile Nav Menu --- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #293347cc;
  backdrop-filter: blur(3px);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.77,.2,.05,1.0);
  opacity: 0;
  visibility: hidden;
  z-index: 2000;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #D1A224;
  font-size: 2.2rem;
  font-weight: 800;
  margin: 18px 24px 0 0;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: color 0.18s, background 0.15s;
}
.mobile-menu-close:hover,.mobile-menu-close:focus {
  background: #fff3;
  color: #ff3e7f;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 36px;
  align-items: flex-start;
  padding: 0 2.3rem;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: bold;
  color: #fff;
  background: none;
  border-radius: 8px;
  padding: 13px 0 13px 8px;
  width: 100%;
  margin: 0;
  transition: background .16s, color .18s;
  display: block;
}
.mobile-nav a:active, .mobile-nav a:hover {
  background: #fff2;
  color: #D1A224;
}

@media (max-width: 980px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 981px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ======================== Main & Sections ======================= */
main {
  padding-top: 42px;
  min-height: 65vh;
  display: flex;
  flex-direction: column;
  gap: 0px;
  z-index: 2;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 30px 0 #d1a22422;
}
@media (max-width: 768px) {
  section {
    margin-bottom: 40px;
    padding: 22px 8px;
    border-radius: 10px;
  }
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 14px;
  justify-content: flex-start;
}
.feature-grid > div {
  background: #FFD26612;
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 #d1a22418;
  padding: 28px 18px 22px 18px;
  margin-bottom: 18px;
  min-width: 220px;
  flex: 1 1 255px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  transition: box-shadow 0.18s, background 0.14s, transform 0.12s;
  border: 2px solid transparent;
}
.feature-grid > div:hover, .feature-grid > div:focus-within {
  background: #FEF8E6;
  box-shadow: 0 3px 28px 0 #D1A22455;
  border-color: #D1A22444;
  transform: translateY(-5px) scale(1.02);
}
.feature-grid img {
  height: 48px;
  width: 48px;
}
.feature-grid h3 {
  margin-bottom: 6px;
  font-size: 1.08rem;
  color: #D1A224;
}

.card-container, .card-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 #29334718;
  padding: 24px 18px;
  transition: box-shadow 0.16s, background 0.16s, transform 0.16s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 24px 0 #D1A22444;
  background: #FFFBEA;
  transform: translateY(-2px) scale(1.01);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

ul li:last-child, ol li:last-child {
  margin-bottom: 0;
}

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

/**************** Testimonials ****************/
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #FEF8E6;
  box-shadow: 0 2px 20px 0 #D1A22424;
  border-radius: 14px;
  font-size: 1.05em;
  flex-wrap: wrap;
  color: #293347;
}
.testimonial-card blockquote {
  color: #293347;
  line-height: 1.3;
  margin-bottom: 0;
  background: transparent;
  border-left: 5px solid #D1A224;
}
.testimonial-card p {
  color: #293347;
  opacity: .95;
  margin-left: 10px;
  font-size: 1em;
}

/**************** CTA Buttons ****************/
.cta-button {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  text-transform: uppercase;
  background: #D1A224;
  color: #293347;
  font-weight: 800;
  font-size: 1.16rem;
  padding: 16px 32px;
  border: none;
  border-radius: 6px;
  box-shadow: 0 2px 20px 0 #d1a22444;
  letter-spacing: 2px;
  transition: background 0.14s, color 0.16s, transform .14s, box-shadow .14s;
  margin-top: 14px;
  cursor: pointer;
  outline: none;
}
.cta-button:hover, .cta-button:focus {
  background: #ff3e7f;
  color: #fff;
  transform: translateY(-3px) scale(1.035);
  box-shadow: 0 5px 25px 0 #ff3e7f62;
}

/**************** Footer ****************/
footer {
  width: 100%;
  background: #293347;
  color: #fff;
  padding: 32px 0 0 0;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  z-index: 10;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 12px;
}
footer nav a {
  color: #FFD266;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  text-transform: uppercase;
  opacity: 0.93;
  letter-spacing: 1px;
  transition: color .16s;
  padding: 8px 4px;
  border-radius: 6px;
}
footer nav a:hover, footer nav a:focus {
  background: #FFD26621;
  color: #ff3e7f;
}
.footer-branding {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  margin-bottom: 22px;
}
.footer-branding img {
  height: 34px;
  width: auto;
}
.footer-branding p {
  font-size: 0.99rem;
  letter-spacing: 1px;
  opacity: .75;
  color: #fff;
}

/* ================= Cookie Banner & Modal ================= */
.cookie-banner {
  position: fixed;
  left: 14px;
  bottom: 14px;
  right: 14px;
  background: #fff;
  color: #293347;
  border-radius: 16px;
  box-shadow: 0 2px 40px 0 #D1A22466, 0 1px 6px 0 #4441;
  padding: 28px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  z-index: 2200;
  opacity: 1;
  transition: opacity .34s, bottom .32s;
  font-family: 'Open Sans', Arial, sans-serif;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  bottom: 0px;
}
.cookie-banner p {
  font-size: 1rem;
  color: #293347;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
  font-weight: bold;
  background: #D1A224;
  color: #293347;
  border: none;
  border-radius: 6px;
  padding: 12px 22px;
  margin-right: 8px;
  cursor: pointer;
  box-shadow: 0 2px 12px 0 #d1a22442;
  transition: background 0.18s, color 0.13s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #ff3e7f;
  color: #fff;
}
.cookie-banner .cookie-settings-btn {
  background: transparent;
  color: #293347;
  border: 2px solid #D1A224;
  transition: background .13s, color .13s, border-color .13s;
}
.cookie-banner .cookie-settings-btn:hover,
.cookie-banner .cookie-settings-btn:focus {
  background: #FFD266;
  color: #293347;
  border-color: #ff3e7f;
}

/******** Cookie Modal *********/
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #293347cc;
  z-index: 3000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s;
}
.cookie-modal-backdrop.show {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  color: #293347;
  border-radius: 18px;
  box-shadow: 0 8px 50px 0 #D1A22477;
  padding: 38px 30px 26px 30px;
  min-width: 320px;
  max-width: 98vw;
  max-height: 80vh;
  overflow: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-family: 'Open Sans', Arial, sans-serif;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .21s, transform .21s;
}
.cookie-modal-backdrop.show .cookie-modal {
  opacity: 1;
  transform: translateY(0);
}
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 9px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  background: #FFD26626;
  border-radius: 8px;
  padding: 13px 12px;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category.disabled {
  opacity: 0.66;
}
.cookie-modal label {
  font-size: 1.01rem;
  flex: 1 1 auto;
}
.cookie-modal .cookie-toggle {
  width: 44px;
  height: 23px;
  background: #D1A22444;
  border-radius: 16px;
  position: relative;
  cursor: pointer;
}
.cookie-modal .cookie-toggle input {
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  position: absolute;
  left: 0; top: 0;
  z-index: 1;
}
.cookie-modal .cookie-toggle .slider {
  position: absolute;
  width: 22px;
  height: 22px;
  left: 1px; top: 1px;
  background: #fff;
  border-radius: 50%;
  transition: transform .19s, background .16s;
  box-shadow: 0 2px 7px #d1a22466;
}
.cookie-modal .cookie-toggle input:checked ~ .slider {
  background: #D1A224;
  transform: translateX(21px);
}
.cookie-modal .cookie-category.disabled .cookie-toggle {
  pointer-events: none;
  opacity: 0.7;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 12px; right: 16px;
  background: none;
  border: none;
  color: #D1A224;
  font-size: 2rem;
  cursor: pointer;
  padding: 4px;
  border-radius: 8px;
  transition: color 0.14s, background 0.13s;
}
.cookie-modal .cookie-modal-close:hover {
  color: #ff3e7f;
  background: #FFD26633;
}
.cookie-modal button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: bold;
  background: #D1A224;
  color: #293347;
  border: none;
  border-radius: 6px;
  padding: 10px 16px;
  transition: background .14s, color .13s;
  box-shadow: 0 1px 11px 0 #d1a22432;
  outline: none;
  cursor: pointer;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: #ff3e7f;
  color: #fff;
}

/**************** Misc & Utility *****************/
div[role=dialog] {
  z-index: 5000;
}
.form-group {
  margin-bottom: 20px;
}
.text-center { text-align: center; }
.mb-40 { margin-bottom: 40px; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }

/******** Accessibility Focus Styles *********/
a:focus, button:focus, input:focus, .cta-button:focus {
  outline: 3px solid #ff3e7f55;
  outline-offset: 1px;
}

/**************** Responsive Tweaks *******************/
@media (max-width: 1024px) {
  .feature-grid {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding: 0 6px;
  }
  .feature-grid > div {
    min-width: 190px;
    padding: 20px 10px;
  }
}
@media (max-width: 670px) {
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.2rem; }
  .cta-button { font-size: 1rem; padding: 12px 16px; }
  .cookie-modal { padding: 14px 7px 12px 10px; border-radius: 10px; }
}

/* Bold accent underline for high energy feel */
h2, .feature-grid h3 {
  position: relative;
}
h2::after {
  content: '';
  display: block;
  width: 44px;
  height: 5px;
  margin-top: 11px;
  background: #D1A224;
  border-radius: 3px;
  mix-blend-mode: multiply;
}

/**************** Form Elements ****************/
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  padding: 10px 12px;
  font-size: 1rem;
  border-radius: 6px;
  border: 1.5px solid #D1A224;
  background: #fff;
  color: #293347;
  margin-bottom: 12px;
  outline: none;
  box-shadow: 0 1.5px 8px 0 #d1a22422;
  transition: border 0.16s;
}
input:focus, textarea:focus, select:focus {
  border-color: #ff3e7f;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #293347;
  margin-bottom: 8px;
  display: block;
  font-size: 1rem;
}

/*************** Animations ****************/
@keyframes ctaBounce {
  0%, 100% { transform: translateY(0); }
  25% { transform: translateY(-4px); }
  50% { transform: translateY(2px); }
  75% { transform: translateY(-2px); }
}
.cta-button {
  animation: ctaBounce 2.25s infinite alternate ease-in-out;
}
/* Reduce animation on mobile for performance */
@media (max-width: 600px) {
  .cta-button { animation: none; }
}

/*************** Selection Color *************/
::selection {
  background: #D1A224;
  color: #293347;
}

/***************** Custom Scrollbar *****************/
body::-webkit-scrollbar {
  width: 10px;
  background: #fff;
}
body::-webkit-scrollbar-thumb {
  background: #D1A22466;
  border-radius: 6px;
}

/* =============== End CSS =============== */
