/* =========================
   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,
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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #F6F6F6;
  color: #232323;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

/* =========================
   BRAND COLORS & VARIABLES
========================= */
:root {
  --color-primary: #22447D;
  --color-secondary: #C9AC77;
  --color-accent: #FFFFFF;
  --color-bg: #F6F6F6;
  --color-bg-dark: #1B2845;
  --color-border: #E5E5E5;
  --color-text: #232323;
  --color-link: #22447D;
  --color-footer-bg: #18223A;
  --color-shadow: rgba(34, 44, 80, 0.07);
  --color-card-bg: #FFFFFF;
  --color-cookie-bg: #232323;
  --color-cookie-text: #FAF4E3;

  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: local('Montserrat Bold'), local('Montserrat-Bold'), url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: local('Montserrat Regular'), local('Montserrat-Regular'), url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400&display=swap');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans Regular'), local('OpenSans-Regular'), url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap');
}

/* =========================
   TYPOGRAPHY & COLOURS
========================= */
h1, .hero h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 20px;
}
h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 12px;
}
.subheadline {
  font-family: var(--font-body);
  font-size: 1.25rem;
  color: #444;
  margin-bottom: 16px;
  line-height: 1.65;
}
p, li {
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.65;
}
strong {
  color: var(--color-primary);
  font-weight: 700;
}

/* Responsive Typography */
@media (max-width: 480px) {
  body {
    font-size: 15px;
  }
  h1, .hero h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  .subheadline {
    font-size: 1.1rem;
  }
}

/* =========================
   LINKS 
========================= */
a {
  color: var(--color-link);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: var(--color-secondary);
  outline: none;
  text-decoration: underline;
}

/* =========================
   CONTAINER & LAYOUT
========================= */
.container {
  max-width: 1160px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0; /* for explicit section gap use .section spacing below */
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* =========================
   HEADER & NAVIGATION
========================= */
header {
  background: #fff;
  box-shadow: 0 2px 18px -8px var(--color-shadow);
  padding: 0;
  position: relative;
  z-index: 80;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  min-height: 88px;
}
header a img {
  height: 45px;
  width: auto;
  margin-right: 26px;
  vertical-align: middle;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 36px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: var(--color-primary);
  position: relative;
  padding: 8px 0;
  transition: color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-secondary);
}
.main-nav a.active, .main-nav a[aria-current="page"] {
  color: var(--color-secondary);
  border-bottom: 2px solid var(--color-secondary);
}

/* MOBILE NAV BUTTON */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 24px;
  z-index: 121;
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  color: var(--color-secondary);
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  box-shadow: 0 2px 8px -2px var(--color-shadow);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  align-items: center;
  justify-content: center;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--color-secondary);
}

/* =========================
   MOBILE MENU OVERLAY
========================= */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34, 44, 125, 0.97);
  z-index: 120;
  display: flex;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.57,.26,.23,.96);
  flex-direction: column;
  align-items: flex-start;
  padding-top: 0;
  padding-left: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin-top: 28px;
  margin-left: 24px;
  margin-bottom: 36px;
  background: none;
  border: none;
  color: var(--color-secondary);
  font-size: 2.2rem;
  cursor: pointer;
  align-self: flex-start;
  transition: color 0.2s;
}
.mobile-menu-close:focus {
  outline: 2px solid var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 12px;
  align-items: flex-start;
  padding-left: 32px;
}
.mobile-nav a {
  color: var(--color-accent);
  font-size: 1.2rem;
  font-family: var(--font-display);
  font-weight: 500;
  padding: 12px 0;
  width: 90%;
  border-radius: 5px;
  margin-bottom: 2px;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}

/* Hide main menu on mobile */
@media (max-width: 991px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
}

@media (min-width: 992px) {
  .mobile-menu { display: none !important; }
}

/* =========================
   HERO SECTION
========================= */
.hero {
  background: linear-gradient(120deg, var(--color-accent) 50%, #ece3d2 100%);
  border-radius: 36px;
  box-shadow: 0 10px 32px -14px var(--color-shadow);
  margin-top: 22px;
  padding: 56px 0 52px 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.hero .container {
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
}

/* =========================
   CTA BUTTONS
========================= */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 38px;
  background: var(--color-primary);
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  border: none;
  border-radius: 24px;
  box-shadow: 0 4px 20px -10px var(--color-shadow);
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.22s, color 0.18s, box-shadow 0.22s, transform 0.15s;
  margin-top: 22px;
  outline: none;
}
.cta-button:hover, .cta-button:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  box-shadow: 0 8px 24px -10px var(--color-shadow);
  transform: translateY(-2px) scale(1.03);
}

/* =========================
   FEATURES, LISTS, CARDS
========================= */
.features-list, .trend-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 24px;
  list-style: none;
}
.features-list li, .trend-list li {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-size: 1.08rem;
  gap: 12px;
  padding: 10px 0;
}
.features-list img, .trend-list img {
  height: 24px;
  width: 24px;
  filter: brightness(1.08) drop-shadow(0 0 2px #dec49c);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  justify-content: flex-start;
}
.card {
  background: var(--color-card-bg);
  box-shadow: 0 2px 16px -6px var(--color-shadow);
  border-radius: 20px;
  margin-bottom: 20px;
  padding: 28px 22px;
  min-width: 270px;
  max-width: 100%;
  flex: 1 1 340px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.18s;
  border: 1.5px solid #e3decf;
}
.card:hover {
  box-shadow: 0 8px 28px -10px var(--color-shadow), 0 0 0 2px var(--color-secondary);
  border-color: var(--color-secondary);
  transform: translateY(-2px) scale(1.01);
  z-index: 2;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 16px 0;
}

@media (max-width: 991px) {
  .content-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
}

/* =========================
   TESTIMONIALS
========================= */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F9F7F3;
  box-shadow: 0 2px 12px -6px var(--color-shadow);
  border-radius: 16px;
  margin-bottom: 20px;
  border-left: 5px solid var(--color-secondary);
  font-size: 1.095rem;
  color: #222;
  transition: box-shadow 0.18s, border 0.18s;
}
.testimonial-card blockquote {
  font-family: var(--font-body);
  color: #232323;
  font-size: 1.13rem;
  font-style: italic;
  border-left: none;
  margin: 0;
}
.testimonial-meta {
  font-family: var(--font-display);
  font-size: 0.98rem;
  color: var(--color-primary);
  font-weight: 600;
  line-height: 1.3;
  margin-left: 14px;
}

@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 15px 10px;
  }
  .testimonial-meta {
    margin-left: 0;
  }
}

/* =========================
   FOOTER
========================= */
footer {
  background: var(--color-footer-bg);
  color: var(--color-accent);
  padding: 44px 0 10px 0;
}
footer .container {
  flex-direction: column;
  gap: 18px;
}
.footer-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 10px;
}
.footer-navigation a {
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-size: 1rem;
  transition: color 0.2s;
}
.footer-navigation a:hover, .footer-navigation a:focus {
  color: var(--color-accent);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 1rem;
  color: var(--color-accent);
  margin-bottom: 8px;
}
.footer-contact img {
  height: 19px;
  width: 19px;
  margin-right: 8px;
  vertical-align: middle;
  position: relative;
  top: 3px;
}
.footer-contact span {
  margin-top: 5px;
}
.footer-copy {
  margin-top: 15px;
  font-size: 0.92rem;
  color: #eee;
  opacity: 0.76;
  letter-spacing: 0.01em;
}

@media (max-width: 600px) {
  .footer-navigation {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
  }
}

/* =========================
   TEXT & INLINE IMAGES
========================= */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 24px;
}
.text-section img {
  height: 21px;
  width: 21px;
  margin-right: 9px;
  vertical-align: middle;
  position: relative;
  top: 2px;
}

/* =========================
   COOKIE CONSENT BANNER
========================= */
#cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 900;
  width: 100vw;
  background: var(--color-cookie-bg);
  color: var(--color-cookie-text);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 22px 16px 22px 20px;
  box-shadow: 0 -2px 24px -8px var(--color-shadow);
  font-size: 1rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(60px);
  transition: opacity 0.3s, transform 0.38s cubic-bezier(.57,.22,.26,1.07);
  gap: 18px;
}
#cookie-banner.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
#cookie-banner p {
  margin-bottom: 0;
  max-width: 460px;
}
.cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-btn {
  padding: 9px 24px;
  border-radius: 7px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  box-shadow: 0 2px 8px -3px var(--color-shadow);
  cursor: pointer;
  margin-left: 0;
  transition: background 0.18s, color 0.18s, box-shadow 0.22s;
  outline: none;
}
.cookie-btn.accept {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--color-accent);
  color: var(--color-primary);
  box-shadow: 0 3px 12px 0 var(--color-secondary);
}
.cookie-btn.reject {
  background: transparent;
  color: var(--color-cookie-text);
  border: 1.5px solid #948253;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #403214;
}
.cookie-btn.settings {
  background: none;
  color: var(--color-secondary);
  border: 1.5px solid var(--color-secondary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
@media (max-width: 600px) {
  #cookie-banner { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px 8px; }
  .cookie-btns { flex-wrap: wrap; }
}

/* =========================
   COOKIE MODAL
========================= */
#cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 999;
  background: rgba(27, 40, 69, 0.90);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s cubic-bezier(.51,.26,.22,1.04);
}
#cookie-modal.visible {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-box {
  background: #faf6ec;
  color: #232323;
  border-radius: 20px;
  box-shadow: 0 9px 36px -12px var(--color-shadow);
  padding: 36px 32px 24px 32px;
  max-width: 440px;
  width: 90%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  right: 18px; top: 16px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--color-primary);
  cursor: pointer;
}
#cookie-modal h2 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-size: 1.36rem;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid #eee1c2;
  padding: 7px 0 7px 0;
  font-size: 1.02rem;
}
.cookie-category .toggle {
  width: 45px;
  height: 26px;
  background: #E4E0DB;
  border-radius: 13px;
  position: relative;
  user-select: none;
  flex-shrink: 0;
  cursor: pointer;
  transition: background 0.23s;
}
.cookie-category .toggle.enabled {
  background: var(--color-secondary);
}
.cookie-category .toggle:after {
  content: '';
  display: block;
  position: absolute;
  top: 4px;
  left: 5px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 6px 0 #ab9e86;
  transition: left 0.20s;
}
.cookie-category .toggle.enabled:after {
  left: 22px;
  background: #fffbe9;
}
.cookie-category[aria-disabled='true'] .toggle { opacity: 0.4; pointer-events: none; }
.cookie-category-desc {
  color: #7b7367;
  font-size: 0.98rem;
  font-style: italic;
  margin-top: 2px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal-actions .cookie-btn {
  font-size: 1rem;
  padding: 9px 20px;
}

@media (max-width: 450px) {
  .cookie-modal-box {
    padding: 18px 6px 12px 6px;
    gap: 14px;
  }
}

/* =========================
   SPACING & GENERAL STYLES
========================= */
ul, ol {
  margin-left: 25px;
  margin-bottom: 18px;
}
ul.features-list, ul.trend-list {
  margin-left: 0;
}
li {
  margin-bottom: 3px;
}
section {
  margin-bottom: 60px;
  padding: 40px 0px;
}

/* =========================
   RESPONSIVENESS
========================= */
@media (max-width: 1200px) {
  .container { max-width: 96vw; }
}
@media (max-width: 991px) {
  .container { padding: 0 13px; }
  header .container { min-height: 62px; }
  .section, section { padding: 32px 0; margin-bottom: 38px; border-radius: 17px; }
  .hero { padding: 32px 0; border-radius: 18px; }
}
@media (max-width: 768px) {
  .card-container { gap: 14px; }
  .card { padding: 16px 8px; border-radius: 13px; }
  .content-grid { gap: 13px; }
  .features-list, .trend-list { gap: 8px; }
}
@media (max-width: 600px) {
  header .container { min-height: 54px; }
  .section, section { padding: 20px 0; margin-bottom: 20px; }
  .hero { padding: 17px 0; }
}

/* =========================
   SCROLLBAR STYLING (subtle)
========================= */
body::-webkit-scrollbar {
  width: 8px;
  background: #ece3d2;
}
body::-webkit-scrollbar-thumb {
  background: #bfa45d;
  border-radius: 6px;
}
body {
  scrollbar-width: thin;
  scrollbar-color: #bfa45d #ece3d2;
}

/* =========================
   MICRO-INTERACTIONS
========================= */
.card, .testimonial-card, .cta-button, .cookie-btn {
  will-change: transform, box-shadow;
  transition: box-shadow 0.17s, transform 0.12s, background 0.16s, color 0.13s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 8px 24px -10px var(--color-shadow), 0 0 0 2px var(--color-secondary);
  transform: scale(1.011) translateY(-3px);
}

/* =========================
   ACCESSIBILITY
========================= */
:focus-visible, .cta-button:focus-visible, .cookie-btn:focus-visible, a:focus-visible {
  outline: 2px dotted var(--color-secondary) !important;
  outline-offset: 2px;
}
img, svg { max-width: 100%; height: auto; }

/* =========================
   Hide visually but retain accessibility
========================= */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

/* =========================
   PRINT STYLES (optional)
========================= */
@media print {
  header, footer, .mobile-menu, #cookie-banner, #cookie-modal { display: none !important; }
  body { background: #fff; color: #232323; }
}

.cookie-btn.reject{background-color:#18223A}
