/* ----------------------------------------------------
   CSS RESET & BASICS
---------------------------------------------------- */
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 {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  background: #F7F7F7;
}
body {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  background: #F7F7F7;
  color: #2B3A55;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
}
img {
  max-width: 100%;
  vertical-align: middle;
}
a {
  color: #2B3A55;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #B49C5A;
  outline: none;
}
ul, ol {
  list-style: none;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  background: none;
  border: none;
}
button {
  cursor: pointer;
}

/* ----------------------------------------------------
   BRAND TYPOGRAPHY & ELEGANT CLASSIC HIERARCHY
---------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, 'Times New Roman', Times, serif;
  color: #2B3A55;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 { font-size: 2.75rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.38rem; margin-bottom: 8px; }
h4 { font-size: 1.13rem; margin-bottom: 8px; }
h5, h6 { font-size: 1rem; margin-bottom: 8px; }
p, li, blockquote {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  color: #3B435D;
}
blockquote {
  font-style: italic;
  border-left: 4px solid #E5E3D7;
  background: #FBFAF7;
  margin: 0 0 12px 0;
  padding: 12px 24px;
}
strong {
  font-weight: 700;
  color: #17213C;
}
.text-section h2, .text-section h3 {
  margin-top: 24px;
}

/* ----------------------------------------------------
   CONTAINER & LAYOUT SPACING & FLEXBOX RULES
---------------------------------------------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 30px rgba(43,58,85,0.05);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 32px;
  }
  .container {
    padding: 0 8px;
  }
}

/* FLEX CONTAINER & GAP STRUCTURES */
.card-container,
.card-grid,
.feature-grid,
.team-grid,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(43,58,85,0.07);
  margin-bottom: 20px;
  position: relative;
  padding: 24px;
  min-width: 260px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 4px 22px rgba(43,58,85,0.12);
  transform: translateY(-4px);
}
.features, .about-values ul, .about-values ol, .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #F7F7F7;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(43,58,85,0.06);
  padding: 20px 32px 20px 32px;
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 520px;
  margin-right: 20px;
  transition: box-shadow 0.15s;
}
.testimonial-card:hover {
  box-shadow: 0 5px 32px rgba(43,58,85,0.13);
}
.star-rating {
  color: #F2C94C;
  letter-spacing: 2px;
  font-size: 1.35rem;
  font-family: 'Merriweather', Georgia, serif;
  margin-bottom: 4px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.team-grid {
  gap: 24px;
  margin-bottom: 20px;
}
.team-member {
  background: #FBFAF7;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(43,58,85,0.05);
  padding: 22px 20px 14px 20px;
  flex: 1 1 240px;
  min-width: 220px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}


/* ----------------------------------------------------
   HEADER & NAVIGATION
---------------------------------------------------- */
header {
  background: #FFF;
  padding: 0 0 0 0;
  box-shadow: 0 2px 10px rgba(43,58,85,0.05);
  position: sticky;
  top: 0;
  z-index: 40;
}
.header .container {
  flex-direction: row;
  align-items: center;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  margin-right: 20px;
  height: 56px;
}
.logo img {
  height: 52px;
  width: auto;
  display: block;
}
.main-nav, .footer-nav {
  
  gap: 20px;
  flex-wrap: wrap;
}
.main-nav a {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1rem;
  color: #2B3A55;
  padding: 8px 8px;
  border-radius: 4px;
  transition: color 0.18s, background 0.18s;
  position: relative;
  background: transparent;
}
.main-nav a[aria-current="page"],
.main-nav a.active {
  color: #F2C94C;
  font-weight: bold;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #F2C94C22;
}
.cta-primary {
  background: #2B3A55;
  color: #fff;
  padding: 12px 38px;
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.13rem;
  border-radius: 32px;
  letter-spacing: 0.03em;
  margin-left: 24px;
  font-weight: 700;
  box-shadow: 0 2px 16px #2B3A5522;
  text-align: center;
  transition: background 0.22s, color 0.22s, box-shadow 0.19s;
  border: 2px solid #2B3A55;
  outline: none;
  display: inline-block;
}
.cta-primary:hover, .cta-primary:focus {
  background: #F2C94C;
  color: #2B3A55;
  border-color: #B49C5A;
  box-shadow: 0 5px 32px #2B3A552A;
}
.cta-secondary {
  background: #fff;
  color: #2B3A55;
  border: 1.5px solid #2B3A55;
  padding: 10px 28px;
  border-radius: 32px;
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s, border 0.17s;
  margin-top: 14px;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #F2C94C;
  color: #2B3A55;
  border-color: #B49C5A;
}

/* Footer Navigation */
footer {
  background: #2B3A55;
  color: #fff;
  padding: 48px 0 12px 0;
  margin-top: 64px;
  font-size: 0.98em;
}
footer .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.footer-nav {
  flex-wrap: wrap;
  gap: 16px;
}
.footer-nav a {
  color: #fff;
  opacity: 0.91;
  padding: 3px 10px;
  border-radius: 3px;
  transition: background 0.15s, color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #F2C94C;
  color: #2B3A55;
}
.footer-contact {
  color: #fff;
  opacity: 0.8;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1em;
  margin-top: 2px;
}

/* ---------------------------------------------------
   HERO SECTIONS STYLING
-----------------------------------------------------*/
.hero {
  background: #F7F7F7;
  min-height: 360px;
  padding: 48px 0 38px 0;
  text-align: left;
  display: flex;
  align-items: center;
}
.hero .container {
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 14px;
}
.hero h1 {
  font-size: 2.7rem;
  font-family: 'Merriweather', Georgia, serif;
  color: #2B3A55;
  margin-bottom: 12px;
}
.hero p {
  font-size: 1.22rem;
  color: #3B435D;
  margin-bottom: 22px;
}
.hero .cta-primary {
  margin-left: 0;
}
@media (max-width: 768px) {
  .hero { padding: 28px 0 14px 0; min-height: 190px; }
  .hero h1 { font-size: 2rem; }
}

/* ---------------------------------------------------
   FEATURE GRID, CARDS & ADVANTAGES
--------------------------------------------------- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
}
.feature {
  background: #fff;
  border-radius: 14px;
  padding: 28px 18px 20px 18px;
  box-shadow: 0 2px 13px #2B3A551A;
  min-width: 260px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.18s, transform .13s;
}
.feature img { height: 42px; margin-bottom: 7px; }
.feature:hover {
  box-shadow: 0 8px 30px #2B3A5530;
  transform: translateY(-4px);
}
.feature h3 { font-size: 1.18rem; margin-bottom: 6px; }
@media (max-width: 975px) {
  .feature-grid { flex-direction: column; gap: 22px; }
  .feature { min-width: 80%; }
}

/* ---------------------------------------------
   TESTIMONIALS SECTION & CARDS
--------------------------------------------- */
.testimonials .testimonial-card {
  background: #fff;
  color: #2B3A55;
  border-left: 4px solid #F2C94C;
  box-shadow: 0 2px 10px #2B3A5520;
  min-width: 240px;
  margin-right: 28px;
  margin-bottom: 28px;
}
.testimonials h2 {
  margin-bottom: 24px;
}
.testimonial-card blockquote {
  border: none;
  background: transparent;
  font-style: italic;
  padding: 0 0 0 0;
  margin-bottom: 6px;
  color: #3B435D;
}
.testimonial-card p {
  color: #2B3A55;
  font-weight: 600;
  font-size: 1.05em;
  margin-bottom: 0;
}

/* -----------------------------------------------
   FAQ & LEGAL SECTION STRUCTURES
----------------------------------------------- */
.faq .faq-block {
  background: #FBFAF7;
  border-radius: 12px;
  padding: 20px 25px 14px 25px;
  margin-bottom: 20px;
  box-shadow: 0 1px 6px #2B3A5510;
}
.legal {
  background: #fff;
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 18px;
  box-shadow: 0 3px 30px rgba(43,58,85,0.06);
}
.legal ul {
  margin-left: 16px;
  margin-bottom: 12px;
  padding-left: 10px;
  list-style: disc;
}
.legal li {
  margin-bottom: 6px;
  font-size: 1.02em;
}

/* -----------------------------------------------
   CONTACT & LIST SECTIONS
----------------------------------------------- */
.contact-details, .contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}
.contact-list li, .contact-details li {
  font-size: 1.06em;
  display: flex;
  align-items: center;
  gap: 11px;
  background: #FBFAF7;
  padding: 9px 12px;
  border-radius: 8px;
  margin-bottom: 8px;
}
.contact-list img, .contact-details img {
  width: 20px;
  height: 20px;
  filter: grayscale(0.2) contrast(0.9);
}
.text-section {
  margin-top: 20px;
}
.text-section h3 {
  margin-bottom: 8px;
  font-size: 1.18em;
}

/* -----------------------------------------------
   THANK YOU/PAGE SUCCESS STYLING
----------------------------------------------- */
.thank-you .text-section {
  background: #FBFAF7;
  padding: 26px 22px;
  border-radius: 14px;
  box-shadow: 0 2px 10px #2B3A5510;
  margin-top: 18px;
}
.thank-you ul {
  margin-left: 18px;
  margin-bottom: 10px;
  list-style: disc;
}

/* -----------------------------------------------
   MOBILE NAVIGATION
----------------------------------------------- */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2.2rem;
  line-height: 1;
  color: #2B3A55;
  margin-left: 18px;
  display: none;
  z-index: 100;
}
@media (max-width: 1020px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(43,58,85,0.96);
  color: #fff;
  display: flex;
  opacity: 0;
  visibility: hidden;
  z-index: 110;
  transition: opacity 0.28s cubic-bezier(.39,.58,.57,1),
    visibility 0s linear 0.28s;
  align-items: stretch;
}
.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s cubic-bezier(.39,.58,.57,1),
    visibility 0s;
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 80px auto 0 auto;
  padding: 30px 0;
  width: 90vw;
  max-width: 320px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 28px #2B3A5570;
}
.mobile-menu .mobile-nav a {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-weight: 600;
  font-size: 1.12rem;
  color: #2B3A55;
  padding: 15px 20px;
  border-radius: 8px;
  margin: 0 16px;
  text-align: center;
  background: transparent;
  transition: background 0.17s, color 0.17s;
}
.mobile-menu .mobile-nav a:hover, 
.mobile-menu .mobile-nav a:focus {
  background: #F2C94C;
  color: #2B3A55;
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 28px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.9rem;
  z-index: 120;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #F2C94C;
}
@media (max-width: 768px) {
  .mobile-menu nav { margin: 38px auto 0 auto; padding: 18px 0; }
  .mobile-menu .mobile-nav a { font-size: 1.08rem; padding: 13px 14px; }
}

/* Burger--Sliding Animation */
.mobile-menu {
  transform: translateX(-100vw);
  transition: 
    transform 0.36s cubic-bezier(.64,.01,.4,1),
    opacity 0.333s cubic-bezier(.64,.01,.4,1),
    visibility 0s linear 0.333s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  transition:
    transform 0.33s cubic-bezier(.48,.12,.32,1),
    opacity 0.34s cubic-bezier(.48,.12,.32,1);
}

/* ---------------------------------------------------
   COOKIE CONSENT BANNER & MODAL
--------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 1500;
  background: #ffffffdd;
  color: #2B3A55;
  border-top: 2.2px solid #F2C94C;
  box-shadow: 0 -3px 18px #2B3A5511;
  padding: 30px 16px 20px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 26px;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1rem;
  transition: transform 0.26s, opacity 0.25s;
  opacity: 1;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-btn {
  padding: 10px 28px;
  border-radius: 32px;
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1em;
  font-weight: 700;
  margin: 0 6px;
  border: 2px solid #2B3A55;
  background: #F2C94C;
  color: #2B3A55;
  box-shadow: 0 2px 10px #2B3A5513;
  transition: background 0.2s, color 0.2s, border 0.15s;
}
.cookie-banner .cookie-btn.accept {
  background: #2B3A55;
  color: #fff;
  border: 2px solid #2B3A55;
}
.cookie-banner .cookie-btn.reject {
  background: #fff;
  color: #2B3A55;
  border: 2px solid #2B3A55;
}
.cookie-banner .cookie-btn.settings {
  background: #FBFAF7;
  color: #2B3A55;
  border: 2px solid #F2C94C;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #F2C94C;
  color: #2B3A55;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 15px 6px 13px 6px;
    font-size: 0.98em;
  }
  .cookie-banner .cookie-btn { margin-bottom: 4px; }
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 2000;
  width: 100vw;
  height: 100vh;
  background: rgba(43,58,85,0.66);
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.show {
  display: flex;
  animation: fadeInModal 0.33s;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  min-width: 280px;
  max-width: 90vw;
  box-shadow: 0 6px 34px #2B3A5526;
  padding: 34px 30px 24px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  color: #2B3A55;
  animation: modalShow 0.23s;
}
@keyframes modalShow {
  from { transform: scale(0.97) translateY(24px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  margin-bottom: 6px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.cookie-toggle {
  appearance: none;
  width: 34px;
  height: 19px;
  border-radius: 12px;
  background: #D3D6DF;
  position: relative;
  outline: none;
  border: none;
  margin-left: 10px;
  vertical-align: middle;
  cursor: pointer;
  transition: background 0.17s;
}
.cookie-toggle:checked {
  background: #F2C94C;
}
.cookie-toggle:before {
  content: "";
  display: block;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 2px;
  left: 2px;
  box-shadow: 0 0.5px 2px #2B3A5516;
  transition: left 0.17s;
}
.cookie-toggle:checked:before {
  left: 17px;
}
.cookie-modal .modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 13px;
  margin-top: 8px;
}
.cookie-modal .cookie-btn {
  font-size: 1rem;
  padding: 8px 22px;
}
.cookie-modal .cookie-btn.close {
  background: #fff;
  color: #2B3A55;
  border: 2px solid #2B3A55;
}
.cookie-modal .cookie-btn.save {
  background: #2B3A55;
  color: #fff;
  border: 2px solid #2B3A55;
}
.cookie-modal .cookie-btn.save:hover {
  background: #F2C94C;
  color: #2B3A55;
}

/* --------------------------------------------------
   RESPONSIVE LAYOUTS (FLEX ONLY)
-------------------------------------------------- */
@media (max-width: 1020px) {
  .card-container, .content-grid, .team-grid, .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .card, .feature, .team-member,
  .testimonial-card { min-width: 94%; }
}
@media (max-width: 768px) {
  .content-wrapper {max-width: 99vw; padding: 0;}
  .features, .feature-grid, .card-container, .team-grid, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card, .feature, .team-member, .card {
    min-width: 96vw;
    border-radius: 14px;
    margin-right: 0;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .section {
    border-radius: 0;
  }
  .hero {
    border-radius: 0;
    padding-bottom: 22px;
  }
}

/* --------------------------------------------------
   MICRO-ANIMATIONS & INTERACTIONS
-------------------------------------------------- */
.card, .feature {
  transition: box-shadow 0.22s, transform 0.16s;
}
.card:hover, .feature:hover {
  box-shadow: 0 8px 35px rgba(43,58,85,0.10);
  transform: translateY(-3px) scale(1.015);
}
.cta-primary, .cta-secondary, .cookie-btn {
  transition: background 0.21s, color 0.21s, box-shadow 0.19s, border 0.15s;
}
.cta-primary:active, .cta-secondary:active, .cookie-btn:active {
  transform: scale(0.98);
}
.main-nav a, .footer-nav a {
  transition: color 0.15s, background 0.14s;
}

/* --------------------------------------------------
   OTHER ELEMENTS: SCROLLBAR, SELECTION, ETC.
-------------------------------------------------- */
::-webkit-scrollbar {
  width: 10px;
  background: #F7F7F7;
}
::-webkit-scrollbar-thumb {
  background: #DDE1EA;
  border-radius: 8px;
}
::selection {
  color: #fff;
  background: #F2C94C;
}

/* --------------------------------------------------
   ACCESSIBILITY, CONTRAST, UTILITIES
-------------------------------------------------- */
.testimonial-card, .testimonial-card p, .testimonial-card blockquote {
  color: #2B3A55 !important;
  background: #fff !important;
}
*:focus {
  outline: 2px solid #F2C94C;
  outline-offset: 2px;
}

/* END */
