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

body {
  line-height: 1.5;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F6F6F6;
  color: #163B5B;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*, *:before, *:after {
  box-sizing: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #163B5B;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover,
a:focus {
  color: #FFC733;
}

ul, ol {
  margin-left: 24px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
  font-weight: 800;
  color: #163B5B;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  line-height: 1.15;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.375rem;
}
h4 {
  font-size: 1.125rem;
}
p, li, dd, dt {
  font-size: 1rem;
  color: #163B5B;
}
strong {
  font-weight: 700;
}

section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 32px 0 rgba(22,59,91,0.08);
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.text-section { 
  margin-bottom: 20px;
}

.feature-grid,
.card-container,
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  margin-bottom: 0;
}

.feature-grid > div {
  background: #F6F6F6;
  border-radius: 16px;
  padding: 28px 24px;
  flex: 1 1 210px;
  min-width: 240px;
  box-shadow: 0 2px 16px rgba(22,59,91,0.03);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.2s;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 24px 0 rgba(22,59,91,0.15);
}
.feature-grid img {
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
}

.card { 
  position: relative;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(22,59,91,0.06);
  padding: 24px;
  display: flex;
  flex-direction: column;
  min-width: 220px;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

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

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

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F6F6F6;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px 0 rgba(22,59,91,0.08);
  border: 2.5px solid #FFC733;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.testimonial-card p {
  font-size: 1.06rem;
  line-height: 1.5;
  color: #222E3A;
  font-family: 'Merriweather', serif;
}
.testimonial-card strong {
  color: #163B5B;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px rgba(22,59,91,0.13);
  border-color: #FAAC09;
}

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

/* Header & Nav */
header {
  background: #fff;
  border-bottom: 4px solid #FFC733;
  padding: 0;
  margin-bottom: 0;
  position: sticky;
  top: 0;
  z-index: 19;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
header nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
header nav a {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 1.055rem;
  color: #163B5B;
  letter-spacing: 0.2px;
  position: relative;
  padding: 4px 10px;
}
header nav a::after {
  content: '';
  display: block;
  margin: 0 auto;
  height: 3px;
  width: 0;
  background: #FFC733;
  border-radius: 4px;
  transition: width 0.22s cubic-bezier(.4,0,.2,1);
}
header nav a:hover::after,
header nav a:focus::after {
  width: 70%;
}

.cta-btn {
  background: #163B5B;
  color: #fff !important;
  font-family: 'Merriweather', serif;
  font-weight: 800;
  font-size: 1.09rem;
  letter-spacing: 1.2px;
  border: none;
  border-radius: 50px;
  padding: 13px 32px;
  margin-left: 18px;
  cursor: pointer;
  transition: background 0.22s, box-shadow 0.18s, color 0.15s;
  box-shadow: 0 3px 16px 0 rgba(22,59,91,0.08);
  outline: none;
  position: relative;
}
.cta-btn:hover, .cta-btn:focus {
  background: #FFC733;
  color: #163B5B !important;
  box-shadow: 0 6px 24px 0 rgba(255,199,51, 0.13);
}

/* Hamburger Menu */
.mobile-menu-toggle {
  display: none;
  background: #FFC733;
  border: none;
  font-size: 2rem;
  padding: 9px 18px;
  border-radius: 10px;
  color: #163B5B;
  position: fixed;
  top: 18px;
  right: 16px;
  z-index: 101;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(22,59,91,0.10);
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #FAAC09;
  color: #fff;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 200;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.8,0,.22,1);
  box-shadow: 0 0 0 0 transparent;
  opacity: 1;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 0 4px 60px 0 rgba(22,59,91,0.18);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #163B5B;
  align-self: flex-end;
  margin: 24px 32px 8px 0;
  cursor: pointer;
  transition: color .18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #FFC733;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  padding: 36px 42px 28px 32px;
}
.mobile-nav a {
  font-family: 'Merriweather', serif;
  font-size: 1.22rem;
  color: #163B5B;
  font-weight: 900;
  padding: 7px 0;
  border-radius: 8px;
  transition: background .18s, color .16s;
  width: 100%;
}
.mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus {
  color: #fff;
  background: #FFC733;
}

@media (max-width: 1024px) {
  header .container nav {
    gap: 18px;
  }
}

@media (max-width: 880px) {
  header .container {
    gap: 14px;
    flex-wrap: wrap;
    height: auto;
    padding: 14px 8px;
  }
  .cta-btn {
    margin-left: 6px;
  }
}

@media (max-width: 768px) {
  header .container nav,
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

@media (max-width: 730px) {
  section, .section {
    padding: 30px 6px;
    margin-bottom: 36px;
  }
  .feature-grid {
    gap: 12px;
  }
  .container {
    padding: 0 8px;
  }
}

@media (max-width: 540px) {
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.2rem;
  }
  h3 {
    font-size: 1rem;
  }
 .feature-grid > div, .card {
    padding: 16px 10px;
  }
  .testimonial-card {
    padding: 14px 6px;
  }
  .mobile-nav {
    padding: 24px 12px 16px 14px;
  }
}

@media (max-width: 768px) {
  .feature-grid, .card-container, .card-grid, .content-grid, .testimonial-section {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-section {
    flex-direction: column;
    gap: 10px;
  }
}
/* Footer */
footer {
  background: #163B5B;
  color: #fff;
  padding: 32px 0 22px 0;
  margin-top: 36px;
  border-radius: 0 0 24px 24px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 8px;
}
footer nav a {
  color: #FFC733;
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: 1rem;
  transition: color .18s;
}
footer nav a:hover, footer nav a:focus {
  color: #fff;
}
footer p {
  color: #fff;
  font-size: 0.94rem;
  text-align: center;
  margin: 0;
}
footer img {
  width: 49px;
  margin-bottom: 10px;
}
/* Responsive Table */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  background: #F6F6F6;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(22,59,91,0.04);
}
th, td {
  padding: 13px 18px;
  border-bottom: 1px solid #ddd;
  text-align: left;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
}
th {
  background: #FFC733;
  color: #163B5B;
  font-family: 'Merriweather', serif;
  font-weight: 900;
  font-size: 1.09rem;
}
@media (max-width: 600px) {
  table, thead, tbody, th, td, tr {
    display: block;
  }
  thead tr {
    display: none;
  }
  td {
    border: none;
    position: relative;
    padding-left: 50%;
    min-height: 48px;
    background: #FEF8DF;
    border-radius: 8px 8px 0 0;
    margin-bottom: 8px;
  }
  td:before {
    content: attr(data-label);
    position: absolute;
    left: 14px;
    top: 13px;
    font-weight: bold;
    color: #163B5B;
    font-size: 0.95em;
  }
}
/* Forms (for other possible pages / modals) */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border: 2px solid #FFC733;
  border-radius: 8px;
  padding: 11px 14px;
  background: #fff;
  margin-bottom: 18px;
  box-shadow: 0 1px 4px rgba(22,59,91,0.06);
  color: #163B5B;
  outline: none;
  transition: border-color 0.19s, box-shadow 0.17s;
}
input:focus, textarea:focus, select:focus {
  border-color: #163B5B;
  box-shadow: 0 2px 12px 0 rgba(22,59,91,0.09);
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 400;
  background: #fff;
  box-shadow: 0 -6px 36px 0 rgba(22,59,91,0.17);
  border-top: 4px solid #FFC733;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  padding: 24px 32px;
  max-width: 100vw;
  transition: transform 0.33s cubic-bezier(.7,0,.22,1);
}
.cookie-banner.hide {
  transform: translateY(120%);
  pointer-events: none;
  opacity: 0;
}
.cookie-banner p {
  font-size: 0.96rem;
  flex: 1 1 0;
  color: #163B5B;
  margin: 0;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: 'Merriweather', serif;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 40px;
  padding: 10px 22px;
  border: 2px solid #FFC733;
  background: #FFC733;
  color: #163B5B;
  cursor: pointer;
  transition: background 0.18s, color 0.16s, border-color 0.18s;
  outline: none;
}
.cookie-btn.reject {
  background: #fff;
  color: #163B5B;
}
.cookie-btn.settings {
  background: transparent;
  color: #163B5B;
  border-color: #ccc;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #163B5B;
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #FFC733;
  color: #163B5B;
}
.cookie-btn.settings:hover,.cookie-btn.settings:focus {
  background: #FFC733;
  color: #163B5B;
  border-color: #163B5B;
}
@media (max-width: 590px) {
  .cookie-banner {
    padding: 10px 6px;
    flex-direction: column;
    gap: 10px;
  }
  .cookie-banner .cookie-actions {
    gap: 10px;
  }
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 450;
  background: rgba(22,59,91, 0.66);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.3s;
  pointer-events: all;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 24px;
  padding: 38px 32px 22px 32px;
  max-width: 420px;
  width: 90vw;
  box-shadow: 0 12px 48px rgba(22,59,91,0.19);
  display: flex;
  flex-direction: column;
  gap: 24px;
  transform: scale(1);
  animation: modal-pop-in 0.34s cubic-bezier(.55,0,.25,1);
}
@keyframes modal-pop-in {
  0% {transform: scale(0.7); opacity: 0.1;}
  100% {transform: scale(1); opacity: 1;}
}
.cookie-modal h3 {
  margin: 0 0 12px 0;
  font-family: 'Merriweather', serif;
  font-size: 1.31rem;
  font-weight: 800;
  color: #163B5B;
}
.cookie-settings-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-setting {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.01rem;
  background: #F6F6F6;
  border-radius: 8px;
  padding: 13px 16px;
  margin-bottom: 3px;
}
.cookie-setting label {
  font-weight: 700;
  color: #163B5B;
}
.cookie-setting input[type="checkbox"] {
  accent-color: #FFC733;
  width: 20px;
  height: 20px;
  border-radius: 6px;
}
.cookie-setting input[disabled] {
  opacity: 0.5;
}
.cookie-modal .cookie-actions {
  margin-top: 12px;
  gap: 10px;
  justify-content: flex-end;
}
.cookie-modal .cookie-actions .cookie-btn {
  min-width: 120px;
}

/* Modern geometric accents (decorative only) */
.geoshape {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}
.geoshape.circle {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #FFC733;
  opacity: 0.2;
}
.geoshape.diamond {
  width: 35px; height: 35px;
  background: #163B5B;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  opacity: 0.14;
}

/* FAQ Styles */
dt {
  font-family: 'Merriweather', serif;
  font-weight: 800;
  color: #163B5B;
  margin-top: 18px;
}
dd {
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #F6F6F6;
}

/* General Animations */
.cta-btn, .feature-grid > div, .testimonial-card, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close {
  transition: box-shadow 0.18s, background 0.18s, color 0.17s, border-color 0.17s, transform 0.15s;
}

.cta-btn:active, .feature-grid > div:active, .testimonial-card:active, .cookie-btn:active, .mobile-menu-toggle:active {
  transform: scale(0.98);
}

/* Utility classes as layout helpers */
.mt-32 { margin-top: 32px !important; }
.mt-24 { margin-top: 24px !important; }
.mb-32 { margin-bottom: 32px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mr-16 { margin-right: 16px !important; }
.ml-16 { margin-left: 16px !important; }
.gap-24 { gap: 24px !important; }

/**** END OF CSS ****/
