/* ----------------------------------
   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, 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;
}
html {
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background: #F8F5F2;
  color: #222C35;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  letter-spacing: 0.01em;
  position: relative;
}
*, *::before, *::after {
  box-sizing: inherit;
}
a {
  color: #233D58;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #CFA96C;
  text-decoration: underline;
}
ul, ol {
  list-style: disc inside;
}
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
}

/* ----------------------------------
   Typography
---------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', 'Times New Roman', Times, serif;
  font-weight: 700;
  color: #222C35;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.75rem;
  line-height: 1.1;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  line-height: 1.15;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.375rem;
  line-height: 1.18;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.125rem;
}
p, li {
  font-size: 1rem;
  margin-bottom: 12px;
  color: #222C35;
}
strong {
  font-weight: 700;
}
blockquote {
  background: #EDF1F4;
  border-left: 5px solid #CFA96C;
  padding: 12px 18px;
  font-style: italic;
  color: #233D58;
  margin-bottom: 8px;
}

/* ----------------------------------
   Layout Containers & Spacing
---------------------------------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Card container */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}

.card {
  background: #FFF;
  box-shadow: 0 2px 12px rgba(51, 64, 81, 0.09), 0 1.5px 7px rgba(51, 64, 81, 0.04);
  border-radius: 12px;
  padding: 28px 24px 22px 24px;
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
  flex: 1 1 310px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 6px 20px rgba(35,61,88,0.12),0 3px 12px rgba(100,100,100,0.07);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.feature-grid > div {
  background: #FFF;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(35, 45, 56, 0.08);
  padding: 24px 18px 20px 18px;
  flex: 1 1 210px;
  min-width: 220px;
  max-width: 350px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.14s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 26px rgba(35,61,88,0.13),0 4px 16px rgba(51,51,51,0.06);
  transform: translateY(-2px) scale(1.012);
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #F8F5F2;
  border-radius: 10px;
  box-shadow: 0 0.5px 4px rgba(35,61,88,0.05);
  padding: 20px;
  margin-bottom: 20px;
}
.testimonial-card blockquote {
  background: none;
  border: none;
  color: #222C35;
  font-style: normal;
  font-size: 1.08rem;
  line-height: 1.6;
  font-family: 'Roboto Slab', serif;
}
.testimonial-card p {
  color: #233D58;
  font-size: 0.95rem;
  margin-bottom: 0;
}

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

.section > .container,
.section > .content-wrapper {
  gap: 20px;
}

/* ----------------------------------
   Header & Navigation
---------------------------------- */
header {
  width: 100%;
  background: #222C35;
  color: #fff;
  box-shadow: 0 2px 10px rgba(35,61,88,0.08);
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 12px;
  padding-bottom: 12px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
header nav a {
  color: #ECF0F7;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 1rem;
  position: relative;
  padding: 4px 3px;
  transition: color 0.18s;
}
header nav a:hover, header nav a.active {
  color: #CFA96C;
}
header img {
  max-height: 40px;
  vertical-align: middle;
}
.mobile-menu-toggle {
  display: none;
  background: transparent;
  color: #CFA96C;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  margin-left: 18px;
  padding: 8px 10px;
  transition: background 0.13s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: rgba(207,169,108,0.07);
}

/* ----------------------------------
   Mobile Navigation
---------------------------------- */
.mobile-menu {
  display: none;
  position: fixed;
  z-index: 1050;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,44,53,0.98);
  transition: transform 0.36s cubic-bezier(.8,-0.1,.29,1.11);
  transform: translateX(100%);
  flex-direction: column;
  justify-content: flex-start;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: transparent;
  border: none;
  color: #CFA96C;
  font-size: 2.4rem;
  padding: 12px 18px 8px 18px;
  margin: 0 0 0 0;
  cursor: pointer;
  transition: color 0.21s;
  z-index: 1070;
}
.mobile-menu-close:hover {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  padding: 40px 26px;
  margin-top: 40px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.3rem;
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 8px 0;
  width: 100%;
  border-bottom: 1px solid rgba(207,169,108,0.11);
  transition: color 0.14s, background 0.18s;
}
.mobile-nav a:hover {
  color: #CFA96C;
  background: rgba(207,169,108,0.05);
}

/* Hide desktop nav, show burger on mobile */
@media (max-width: 980px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .section {
    padding: 24px 6px;
    margin-bottom: 36px;
  }
  .card, .feature-grid > div {
    max-width: 100%;
    min-width: 0;
    padding: 18px 9px 16px 12px;
  }
  .feature-grid {
    gap: 12px;
    flex-direction: column;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    padding: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 10px;
  }
}

/* ----------------------------------
   Hero Section & CTAs
---------------------------------- */
.hero {
  background: linear-gradient(90deg, #233D58 45%, #30475B 100%);
  color: #fff;
  padding: 48px 0 48px 0;
}
.hero .content-wrapper {
  color: #fff;
  gap: 20px;
}
.hero h1 {
  color: #fff;
  margin-bottom: 14px;
}
.hero p {
  color: #ECF0F7;
  font-size: 1.22rem;
  margin-bottom: 22px;
}
.cta-btn {
  display: inline-block;
  background: #CFA96C;
  color: #222C35;
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 13px 34px;
  border-radius: 30px;
  box-shadow: 0 2px 14px rgba(200,170,100,0.13);
  outline: none;
  cursor: pointer;
  transition: background 0.17s, color 0.17s, transform 0.08s;
  border: none;
  border-bottom: 2px solid #B99147;
  margin-top: 6px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #b99147;
  color: #fff;
  transform: translateY(-2px) scale(1.01);
}

/* ----------------------------------
   Forms (Contact page, newsletter)
---------------------------------- */
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 6px;
  border: 1.5px solid #B5B9BE;
  background: #F8F5F2;
  color: #232B37;
  font-size: 1rem;
  margin-bottom: 18px;
  transition: border-color 0.15s;
}
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: #CFA96C;
  background: #fff;
}
label {
  color: #222C35;
  font-family: 'Roboto Slab', serif;
  font-weight: 600;
  margin-bottom: 4px;
  display: inline-block;
}

/* ----------------------------------
   Footer
---------------------------------- */
footer {
  background: #233D58;
  color: #F8F5F2;
  padding: 30px 0 0 0;
  box-shadow: 0 -1px 12px rgba(35,61,88,0.06);
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 16px;
  border-bottom: 1px solid #28384a;
}
.footer-main a {
  color: #fff;
  font-family: 'Roboto Slab', serif;
  font-size: 1rem;
  margin-bottom: 6px;
  font-weight: 600;
  transition: color 0.17s;
}
.footer-main a:hover {
  color: #CFA96C;
}
.footer-main img {
  max-height: 35px;
}
.footer-main nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 160px;
}
.footer-main .contact-info p {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #98A6B8;
  font-size: 0.98rem;
  margin-bottom: 5px;
}
.footer-main .contact-info img {
  width: 20px;
  height: 20px;
}
footer small {
  display: block;
  color: #B5B9BE;
  text-align: center;
  margin-top: 18px;
  padding-bottom: 16px;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .footer-main {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  footer {
    padding: 20px 0 0 0;
  }
}

/* ----------------------------------
   Miscellaneous & Utilities
---------------------------------- */
.social-links {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  justify-content: center;
  box-shadow: 0 1.5px 8px rgba(207,169,108,0.08);
  transition: background 0.18s, transform 0.14s;
}
.social-links a:hover {
  background: #CFA96C;
  transform: scale(1.06);
}
.social-links img {
  width: 20px;
  height: 20px;
}

/* ----------------------------------
   Cookie Consent Banner
---------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #233D58;
  color: #fff;
  z-index: 2000;
  padding: 18px 16px 18px 16px;
  box-shadow: 0 -3px 20px rgba(51,64,81,0.14);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  transition: transform 0.38s cubic-bezier(.7,-0.1,.25,1.14), opacity 0.38s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner .button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}
.cookie-btn,
.cookie-settings-btn {
  background: #CFA96C;
  color: #222C35;
  border: none;
  border-radius: 20px;
  padding: 9px 24px;
  margin: 0 8px 0 0;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Roboto Slab', serif;
  cursor: pointer;
  transition: background 0.18s, color 0.14s;
  box-shadow: 0 0.5px 10px rgba(207,169,108,0.10);
}
.cookie-btn:hover, .cookie-settings-btn:hover, .cookie-btn:focus, .cookie-settings-btn:focus {
  background: #B99147;
  color: #fff;
}
.cookie-btn.reject {
  background: #ECF0F7;
  color: #222C35;
}
.cookie-btn.reject:hover {
  background: #B5B9BE;
  color: #222C35;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2050;
  left: 0; right: 0;top: 0;bottom: 0;
  background: rgba(34,44,53,0.54);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.26s;
}
.cookie-modal {
  max-width: 420px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 6px 32px rgba(35,61,88,0.24);
  padding: 32px 24px 22px 24px;
  color: #222C35;
  position: relative;
  animation: fadeinCookieModal 0.34s cubic-bezier(.5,-0.1,.76,1.12);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@keyframes fadeinCookieModal {
  0% { opacity: 0; transform: scale(.95); }
  100% { opacity: 1; transform: scale(1); }
}
.cookie-modal h2 {
  font-size: 1.42rem;
  margin-bottom: 8px;
  color: #233D58;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 10px 0;
}
.cookie-switch {
  appearance: none;
  width: 42px; height: 22px;
  background: #B5B9BE;
  border-radius: 11px;
  position: relative;
  outline: none;
  transition: background 0.13s;
  cursor: pointer;
}
.cookie-switch:checked {
  background: #CFA96C;
}
.cookie-switch:before {
  content: "";
  display: block;
  width: 17px; height: 17px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(31,31,31,0.08);
  position: absolute;
  top: 2.5px; left: 3px;
  transition: left 0.14s;
}
.cookie-switch:checked:before {
  left: 22px;
}
.cookie-modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 11px; right: 13px;
  border: none;
  background: transparent;
  color: #B5B9BE;
  font-size: 1.6rem;
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-modal .close-modal:hover {
  color: #222C35;
}

@media (max-width: 600px) {
  .cookie-modal {
    max-width: 98vw;
    padding: 18px 7vw 12px 7vw;
    font-size: 0.97rem;
  }
}

/* ----------------------------------
   Responsive, Flex-only Tweaks
---------------------------------- */
@media (max-width: 980px) {
  .card-container,
  .content-grid,
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .card, .feature-grid > div {
    width: 100%;
    max-width: 100%;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.32rem; }
  h3 { font-size: 1.05rem; }
  .section {
    padding: 12px 2px;
    margin-bottom: 25px;
  }
}

/* ----------------------------------
   Visual Hierarchy & Effects
---------------------------------- */
.card, .feature-grid > div, .testimonial-card {
  transition: box-shadow 0.21s, background 0.13s, transform 0.13s;
}
.card:focus-within,
.feature-grid > div:focus-within {
  box-shadow: 0 6px 32px rgba(35,61,88,0.15);
  outline: 1.5px solid #CFA96C;
}

/* ----------------------------------
   Lists & Misc
----------------------------------*/
ul {
  padding-left: 0;
  margin-left: 20px;
  margin-bottom: 14px;
}
li {
  margin-bottom: 5px;
}

/* ----------------------------------
   Utility classes
---------------------------------- */
.d-none {
  display: none !important;
}
.w-100 {
  width: 100%;
}
.flex-row {
  display: flex;
  flex-direction: row;
}
.flex-col {
  display: flex;
  flex-direction: column;
}
.align-center {
  align-items: center;
}
.justify-between {
  justify-content: space-between;
}

/* ----------------------------------
   Z-Index Management
----------------------------------*/
header {
  z-index: 30;
}
footer {
  z-index: 15;
}
.mobile-menu {
  z-index: 1050;
}
.cookie-banner {
  z-index: 2000;
}
.cookie-modal-overlay {
  z-index: 2050;
}

/* ----------------------------------
   End
---------------------------------- */
