/* Reset and 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;
}

/* 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: #F2F4F8;
  color: #1A2944;
  -webkit-font-smoothing: antialiased;
  font-family: 'Lato', Arial, sans-serif;
}
img {
  max-width: 100%;
  border: 0;
  display: block;
}

ul, ol {
  margin-left: 24px;
  margin-bottom: 20px;
}
li {
  margin-bottom: 8px;
}
a {
  color: #1A2944;
  text-decoration: none;
  transition: color 0.15s;
}
a:hover,
a:focus {
  color: #BDA065;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  color: #1A2944;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  line-height: 1.2;
}
h3 {
  font-size: 1.25rem;
  color: #BDA065;
  margin-bottom: 12px;
  line-height: 1.3;
  font-weight: 700;
}
h4, h5, h6 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

p, ul, ol {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  color: #1A2944;
  line-height: 1.7;
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
}

/* Container & Layout Patterns */
.container {
  width: 100%;
  max-width: 1240px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 40px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 14px rgba(26, 41, 68, 0.04);
}

.card-container, .feature-grid, .feature-list, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(26, 41, 68, 0.08);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow .23s cubic-bezier(.4,0,.2,1), transform .13s;
  padding: 28px 24px;
}
.card:hover {
  box-shadow: 0 4px 32px rgba(26,41,68,0.13);
  transform: translateY(-4px) scale(1.01);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.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;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Feature Items & Cards */
.feature-item,
.feature-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F2F4F8;
  padding: 28px 20px;
  border-radius: 18px;
  min-width: 250px;
  flex: 1 1 250px;
  box-shadow: 0 1px 6px rgba(26,41,68,0.06);
  border: 2px solid transparent;
  transition: border-color .19s, box-shadow .19s, transform .13s;
}
.feature-item img,
.feature-grid img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  margin-bottom: 10px;
}
.feature-item:hover,
.feature-grid > div:hover {
  border-color: #BDA065;
  box-shadow: 0 4px 20px rgba(189,160,101,.16);
  transform: translateY(-2px) scale(1.01);
}

/* Testimonials */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 24px 32px;
  background: #F2F4F8;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 2px 14px rgba(26, 41, 68, 0.08);
  border-left: 5px solid #BDA065;
}
.testimonial-card p {
  font-size: 1.15rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  text-align: center;
  color: #1A2944;
  margin-bottom: 8px;
}
.testimonial-card span {
  font-size: 1rem;
  font-family: 'Lato', Arial, sans-serif;
  color: #777;
}

/* CTA Button Styles */
.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1A2944;
  color: #fff;
  border-radius: 32px;
  padding: 16px 40px;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.2px;
  border: none;
  box-shadow: 0 2px 16px rgba(26,41,68,0.04);
  transition: background .16s, color .16s, box-shadow .19s, transform .11s;
  margin-top: 16px;
  cursor: pointer;
  text-transform: uppercase;
}
.cta-primary:hover, .cta-primary:focus {
  background: #BDA065;
  color: #fff;
  box-shadow: 0 6px 24px rgba(189,160,101,0.13);
  transform: translateY(-1.5px) scale(1.025);
  text-decoration: none;
}

/* Main Navigation */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 16px rgba(26,41,68,0.05);
  position: sticky;
  top: 0;
  z-index: 40;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  padding: 20px 0 16px 0;
}
.main-nav a {
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 700;
  color: #1A2944;
  font-size: 1rem;
  letter-spacing: .5px;
  position: relative;
  padding: 7px 14px;
  border-radius: 8px;
  transition: background .15s, color .15s, box-shadow .13s;
}
.main-nav a.cta-primary {
  margin-left: auto;
  margin-right: 0;
  box-shadow: 0 2px 8px rgba(189,160,101,0.10);
  font-size: 1.08rem;
  color: #fff;
  background: #BDA065;
}
.main-nav a.cta-primary:hover, .main-nav a.cta-primary:focus {
  background: #1A2944;
  color: #fff;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #BDA06533;
  color: #BDA065;
}
.main-nav img {
  height: 36px;
  width: auto;
  margin-right: 14px;
  display: block;
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: #fff;
  border: none;
  color: #BDA065;
  font-size: 2.1rem;
  font-weight: 800;
  cursor: pointer;
  margin-left: auto;
  position: relative;
  z-index: 99;
  border-radius: 8px;
  padding: 4px 16px;
  transition: background .13s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #F2F4F8;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #1A2944;
  transform: translateX(-100vw);
  transition: transform .33s cubic-bezier(.72,.04,.44,1.01);
  z-index: 95;
  padding: 36px 32px 24px 32px;
  overflow-y: auto;
  box-shadow: 0 6px 30px rgba(26,41,68,0.22);
  opacity: 0.98;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 18px;
  padding: 4px 12px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1.33rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  padding: 16px 6px;
  border-radius: 8px;
  transition: background .15s, color .15s;
  width: 100%;
  display: block;
  margin-left: 0;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #BDA065;
  color: #1A2944;
}

/* Footer */
footer {
  background: #1A2944;
  padding: 32px 0 16px 0;
  margin-top: 80px;
  color: #fff;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  margin-bottom: 16px;
}
.footer-nav a {
  color: #BDA065;
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  padding: 7px 10px;
  border-radius: 8px;
  transition: color .13s, background .13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  background: #BDA065;
}
.footer-credits {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  color: #fff;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
}
.footer-credits img {
  width: 42px;
  height: auto;
  margin-bottom: 5px;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  background: #1A2944;
  color: #fff;
  z-index: 1000;
  padding: 22px 20px 22px 20px;
  box-shadow: 0 -2px 28px rgba(0,0,0,0.11);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 1.09rem;
  font-family: 'Lato', Arial, sans-serif;
  transition: transform .23s cubic-bezier(.53,.09,.41,1.02);
}
.cookie-banner.hide {
  transform: translateY(100%);
}
.cookie-banner .cookie-btn {
  font-size: 1rem;
  font-family: 'Lato', Arial, sans-serif;
  border: none;
  border-radius: 32px;
  padding: 11px 28px;
  font-weight: 700;
  margin-left: 10px;
  cursor: pointer;
  margin-top: 6px;
  transition: background .13s, color .13s, box-shadow .1s;
}
.cookie-banner .accept {
  background: #BDA065;
  color: #1A2944;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #fff;
  color: #1A2944;
}
.cookie-banner .reject {
  background: #fff;
  color: #1A2944;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #BDA065;
  color: #fff;
}
.cookie-banner .settings {
  background: none;
  color: #BDA065;
  border: 2px solid #BDA065;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #BDA065;
  color: #fff;
}

/* Cookie Settings Modal */
.cookie-modal-backdrop {
  display: none;
  position: fixed;
  left: 0; top: 0; bottom: 0; right: 0;
  background: rgba(26,41,68,0.65);
  z-index: 1200;
  justify-content: center;
  align-items: center;
  transition: opacity .22s cubic-bezier(.51,.06,.36,1.01);
}
.cookie-modal-backdrop.open {
  display: flex;
  opacity: 1;
}
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  padding: 38px 32px 30px 32px;
  min-width: 310px;
  max-width: 98vw;
  max-width: 400px;
  box-shadow: 0 4px 40px rgba(26,41,68,0.18);
  color: #1A2944;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 26px;
  font-family: 'Lato', Arial, sans-serif;
}
.cookie-modal h2 {
  font-size: 1.35rem;
  font-family: 'Playfair Display', serif;
  color: #1A2944;
  margin-bottom: 12px;
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #F2F4F8;
}
.cookie-modal .category:last-child {
  border-bottom: none;
}
.cookie-modal label {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
}
.cookie-modal input[type='checkbox'] {
  width: 22px; height: 22px;
  accent-color: #BDA065;
  border-radius: 6px;
  margin-right: 8px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 18px; right: 20px;
  background: none;
  border: none;
  font-size: 1.35rem;
  color: #BDA065;
  cursor: pointer;
}
.cookie-modal .save-btn {
  background: #BDA065;
  color: #fff;
  border: none;
  border-radius: 24px;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 12px 0;
  width: 100%;
  margin-top: 12px;
  transition: background .13s;
  cursor: pointer;
}
.cookie-modal .save-btn:hover, .cookie-modal .save-btn:focus {
  background: #1A2944;
  color: #fff;
}

/* Misc Page Sections */
section {
  margin-bottom: 60px;
  padding: 40px 0;
  background: none;
  border-radius: 0;
  box-shadow: none;
}
section > .container > .content-wrapper {
  padding: 0;
}

/* Spacing */
section + section {
  margin-top: 0px;
}
.card + .card,
.testimonial-card + .testimonial-card {
  margin-top: 24px;
}
.content-wrapper > * + * {
  margin-top: 0px;
}

/* Responsive Layout */
@media (max-width: 1060px) {
  .main-nav {
    gap: 18px;
    padding-left: 8px; padding-right: 8px;
  }
  .container {
    max-width: 96vw;
    padding-left: 12px; padding-right: 12px;
  }
  .feature-grid, .card-container, .content-grid {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .section, section {
    padding: 18px 0;
  }
  .feature-grid > div,
  .feature-item {
    min-width: 188px;
    padding: 18px 14px;
  }
}

@media (max-width: 768px) {
  .content-wrapper,
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 24px;
  }
  .feature-grid > div,
  .feature-item {
    width: 100%;
    min-width: 0;
    margin-bottom: 20px;
  }
  .section, section {
    border-radius: 0;
    margin-bottom: 28px;
    padding-top: 22px;
    padding-bottom: 22px;
  }
  .testimonial-card {
    padding: 16px 10px;
  }
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-nav {
    gap: 14px;
    font-size: 0.98rem;
  }
}

@media (max-width: 520px) {
  h1 { font-size: 1.24rem; }
  h2 { font-size: 1rem; }
  .container {
    padding-left: 6px; padding-right: 6px;
  }
  .footer-credits {
    font-size: 0.93rem;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    font-size: 1rem;
  }
  .cookie-modal {
    min-width: 96vw;
    max-width: 99vw;
    padding: 19px 10px 18px 10px;
  }
}

/* Scrollbars */
::-webkit-scrollbar {
  width: 10px;
  background: #F2F4F8;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb {
  background: #BDA06544;
  border-radius: 6px;
}

/* Selection */
::selection {
  background: #BDA065;
  color: #fff;
}

/* Animations */
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slide-up {
  from { transform: translateY(48px); opacity:0; }
  to   { transform: translateY(0);   opacity:1; }
}

.testimonial-card {
  animation: slide-up .9s cubic-bezier(.8,.32,.24,1.02);
}
.cta-primary, .feature-item, .feature-grid > div {
  animation: fade-in .7s .13s cubic-bezier(.8,.32,.24,1.02) both;
}

/* Accessibility */
:focus {
  outline: 2px solid #BDA065;
  outline-offset: 2px;
}

/* Utility */
.text-center { text-align: center; }
.text-right  { text-align: right;  }
.text-left   { text-align: left;   }

/* Remove scrollbars in modal if needed */
.cookie-modal::-webkit-scrollbar {
  display: none;
}

/* Hide cookie modal close icon on mobile */
@media (max-width:500px) {
  .cookie-modal .close-modal {
    top: 6px; right: 8px;
    font-size: 1.1rem;
  }
}

/* END OF CSS */