/* ============================
   CSS RESET & BASE STYLES
   ============================ */
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, menu, 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, 
main, 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;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Arial', 'Helvetica Neue', Arial, sans-serif;
  color: #181818;
  background: #fff;
  min-height: 100vh;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  background-color: #F4F4F9;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #174179;
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}
a:hover, a:focus {
  color: #EDA530;
  outline: none;
}
ul, ol {
  margin-left: 20px;
  margin-bottom: 16px;
}
strong {
  font-weight: bold;
}
hr { border: none; border-top: 1px solid #E5E7EB; margin: 24px 0; }

/* Typography Hierarchy */
h1, .h1 {
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-size: 2.5rem;
  line-height: 1.15;
  color: #181818;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -1.5px;
}
h2, .h2 {
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-size: 2rem;
  line-height: 1.2;
  color: #222;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: -1px;
}
h3, .h3 {
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #1A1A1A;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}
h4, .h4 {
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: #181818;
}
p, li, span, blockquote {
  font-family: Arial, sans-serif;
  font-size: 1rem;
  color: #232323;
}
.subheadline {
  font-size: 1.25rem;
  color: #535353;
  margin-bottom: 28px;
  font-family: 'Montserrat', 'Arial', sans-serif;
}
blockquote {
  font-size: 1.18rem;
  line-height: 1.6;
  color: #222;
  margin: 0 0 10px 0;
  border-left: 3px solid #174179;
  padding-left: 16px;
  font-style: italic;
}

/* =========================
     CORE LAYOUT STRUCTURE
   ========================= */
.container {
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-right: 20px;
  padding-left: 20px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 8px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* =============================
     HEADER & NAVIGATION STYLES
   ============================= */
header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #E5E7EB;
  position: sticky;
  top: 0;
  z-index: 99;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
}
header img {
  height: 36px;
  width: auto;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}
header nav a {
  color: #232323;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 4px;
  font-weight: 500;
  position: relative;
  transition: color 0.16s;
}
header nav a:hover, header nav a:focus {
  color: #174179;
}
.cta-primary {
  background: #181818;
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.03em;
  border: none;
  border-radius: 8px;
  padding: 11px 28px;
  margin-left: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.13s;
  display: inline-block;
  outline: none;
  text-align: center;
}
.cta-primary:hover, .cta-primary:focus {
  background: #174179;
  color: #EDA530 !important;
  box-shadow: 0 3px 14px rgba(23,65,121,0.12);
  transform: translateY(-2px) scale(1.035);
}

.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #174179;
  cursor: pointer;
  margin-left: 14px;
  transition: color 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #EDA530;
}

/* ================================
      MOBILE MENU & OVERLAY STYLE
   ================================ */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.40,1.2,.6,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
  box-shadow: 2px 0 24px rgba(0,0,0,0.12);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.25rem;
  color: #181818;
  cursor: pointer;
  margin: 24px 0 8px 24px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  margin-top: 24px;
}
.mobile-nav a {
  color: #222;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.17rem;
  font-weight: 500;
  padding: 14px 32px;
  border-radius: 0 25px 25px 0;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F4F4F9;
  color: #174179;
}

/* =============================
        HERO & SECTION STYLES
   ============================= */
.hero {
  background: #fff;
  box-shadow: 0 3px 24px rgba(23,65,121,0.02);
  min-height: 340px;
  display: flex;
  align-items: center;
  padding: 44px 0 30px 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 26px rgba(20,20,30,0.06);
}

/* ================================
     FLEXBOX CARD & GRID LAYOUTS
   ================================ */
.feature-grid, .article-list, .listing-grid, .value-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 30px 0 0 0;
}
.feature-grid > div,
.article-list > div, 
.listing-grid > div, 
.value-list > li {
  background: #F4F4F9;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(20,20,30,0.03), 0 0px 1.5px 0 #E7EAF1;
  padding: 28px 22px;
  flex: 1 1 265px;
  min-width: 225px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, border 0.18s, background 0.20s;
  border: 1px solid #EFF0F3;
}
.feature-grid > div:hover, .article-list > div:hover, .listing-grid > div:hover, .value-list > li:hover {
  box-shadow: 0 8px 36px rgba(23,65,121,0.09);
  background: #fff;
  border: 1.5px solid #17417933;
}
.feature-grid img, .value-list img {
  height: 32px;
  width: 32px;
  margin-bottom: 12px;
}

.value-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}
.value-list li div {
  color: #535353;
  font-size: 1rem;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  box-shadow: 0 2px 10px rgba(20,20,30,0.04);
  border-radius: 12px;
  padding: 24px 18px;
  min-width: 270px;
  flex: 1 1 270px;
  display: flex;
  flex-direction: column;
}

.section:not(:last-child) {
  margin-bottom: 60px;
}

.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;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(23,65,121,0.10);
  border-radius: 11px;
  margin-bottom: 20px;
  flex-direction: column;
  max-width: 610px;
  border-left: 5px solid #174179;
  transition: box-shadow 0.16s, border 0.16s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 34px rgba(23,65,121,0.13);
  border-left: 5px solid #EDA530;
}
.testimonial-card blockquote {
  margin-bottom: 6px;
  color: #222;
  font-size: 1.12rem;
  font-style: italic;
}
.testimonial-card span {
  font-size: 1rem;
  color: #535353;
  font-weight: 500;
}

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

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 18px;
}
.faq-item {
  background: #F9F9FC;
  border-radius: 8px;
  padding: 20px 18px;
  box-shadow: 0 2px 9px rgba(23,65,121,0.07);
  border-left: 4px solid #174179;
}
.faq-item h3 {
  margin-bottom: 6px;
  font-size: 1.13rem;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 32px;
  align-items: center;
  margin: 10px 0 18px 0;
}
.contact-info > div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #232323;
}
.contact-info img {
  height: 20px;
  width: 20px;
}

.timeline {
  display: flex;
  gap: 16px;
  margin-top: 22px;
}
.timeline > div {
  background: #F4F4F9;
  color: #555;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 0.98rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  box-shadow: 0 1px 4px rgba(23,65,121,0.05);
}

/* ====================================
          FOOTER STYLES
   ==================================== */
footer {
  background: #181818;
  padding: 32px 0 24px 0;
  color: #fff;
  font-size: 1rem;
  position: relative;
  z-index: 10;
  margin-top: 60px;
}
footer .container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
footer img {
  height: 32px;
  width: auto;
  margin-bottom: 10px;
}
footer nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}
footer nav a {
  color: #fff;
  padding: 2px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  transition: color 0.16s;
}
footer nav a:hover, footer nav a:focus {
  color: #EDA530;
}
footer div:last-child {
  color: #C0C2CC;
  font-size: 0.93rem;
  margin-top: 12px;
}

/* ===============================
     BUTTONS & INTERACTIONS
   =============================== */
button, .button {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  background: #222;
  color: #FFF;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 8px;
  padding: 10px 24px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.14s;
  box-shadow: 0 1px 8px rgba(20,20,30,0.06);
  outline: none;
}
button:hover, .button:hover,
button:focus, .button:focus {
  background: #174179;
  color: #EDA530;
  transform: translateY(-1.5px) scale(1.025);
  box-shadow: 0 5px 18px rgba(23,65,121,0.14);
}

/* ===============================
   COOKIE BANNER & MODAL STYLES
   =============================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 2001;
  background: #232323;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px 36px;
  padding: 22px 18px;
  border-top: 1.5px solid #1A1A1A;
  box-shadow: 0 -2px 18px rgba(0,0,0,0.17);
  font-size: 1rem;
  animation: cookieSlideIn 0.45s cubic-bezier(.48,1.3,.55,.91);
}
@keyframes cookieSlideIn {
  0% { transform: translateY(100%); opacity: 0; }
  80% { transform: translateY(-8px); opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 16px;
}
.cookie-banner button {
  font-size: 1rem;
  padding: 6px 20px;
  border-radius: 7px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  background: #222;
  transition: background 0.17s, color 0.17s;
}
.cookie-banner button.accept {
  background: #174179;
}
.cookie-banner button.accept:hover, .cookie-banner button.accept:focus {
  background: #EDA530;
  color: #222;
}
.cookie-banner button.settings {
  background: #fff;
  color: #181818;
}
.cookie-banner button.settings:hover, .cookie-banner button.settings:focus {
  background: #EDA530;
  color: #fff;
}
.cookie-banner button.reject {
  background: #e8e8e8;
  color: #1A1A1A;
}
.cookie-banner button.reject:hover, .cookie-banner button.reject:focus {
  background: #8f8f8f;
  color: #fff;
}

.cookie-modal-overlay {
  position: fixed;
  top:0; left:0;
  width:100vw; height:100vh;
  background: rgba(34, 38, 58, 0.35);
  z-index: 2003;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInCookieOverlay 0.32s;
}
@keyframes fadeInCookieOverlay {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #181818;
  padding: 36px 28px 28px 28px;
  border-radius: 18px;
  box-shadow: 0 10px 44px rgba(23,65,121,0.14);
  min-width: 330px;
  max-width: 94vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookieModalIn 0.46s cubic-bezier(0.47, 1.63, 0.41, 1.01);
  position: relative;
}
@keyframes cookieModalIn {
  from { transform: translateY(80px) scale(0.88); opacity:0; }
  to   { transform: translateY(0) scale(1); opacity:1; }
}
.cookie-modal h2 {
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #174179;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 9px 0;
  font-size: 1.05rem;
  color: #232323;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #174179;
  width: 19px;
  height: 19px;
}
.cookie-modal .cookie-essential {
  opacity: 0.66;
  cursor: not-allowed;
}
.cookie-modal .modal-actions {
  margin-top: 20px;
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 8px; right: 12px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #174179;
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  color: #EDA530;
}

/* ================================
            RESPONSIVE
   ================================ */
@media (max-width: 1024px) {
  .container { max-width: 98vw; }
  .feature-grid > div, .article-list > div, .listing-grid > div, .value-list > li { min-width: 65vw; }
}
@media (max-width: 900px) {
  .feature-grid, .article-list, .listing-grid, .value-list {
    gap: 16px;
  }
  .feature-grid > div, .article-list > div, .listing-grid > div, .value-list > li {
    min-width: 92vw;
    max-width: 98vw;
    margin-bottom: 18px;
  }
  .testimonial-card {
    max-width: 94vw;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
  header .container {
    flex-wrap: wrap;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  header nav {
    display: none;
  }
  .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .feature-grid, .article-list, .listing-grid, .value-list {
    flex-direction: column;
    gap: 16px;
  }
  .contact-info {
    flex-direction: column;
    gap: 9px;
    align-items: flex-start;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    max-width: 98vw;
    padding: 16px 10px;
  }
  .text-image-section { flex-direction: column; gap: 18px; }
  .content-grid { flex-direction: column; gap: 12px; }
  .section { padding: 24px 8px; margin-bottom: 32px; border-radius: 14px; }
  main { padding-bottom: 40px; }
  footer .container { flex-direction: column; align-items: flex-start; gap: 13px; }
}
@media (max-width: 600px) {
  h1, .h1 { font-size: 1.52rem; }
  h2, .h2 { font-size: 1.18rem; }
  h3, .h3 { font-size: 1rem; }
  .section { padding: 15px 4px; }
  .mobile-nav a { font-size: 1.06rem; padding: 10px 18px; }
}

/* ============================================================
   ADDITIONAL MICRO-INTERACTIONS & SUBTLE ANIMATIONS
   ============================================================ */
.card, .feature-grid > div, .article-list > div, .testimonial-card, .faq-item {
  transition: box-shadow 0.18s, border 0.18s, background 0.18s, transform 0.14s;
}
.card:hover, .feature-grid > div:hover, .article-list > div:hover, .testimonial-card:hover, .faq-item:hover {
  box-shadow: 0 10px 27px rgba(23,65,121,0.11);
  transform: translateY(-2px) scale(1.018);
}

nav a[aria-current="page"] {
  color: #174179;
  font-weight: 700;
  border-bottom: 2px solid #EDA530;
}

/* ============================================
   SCROLLBAR STYLING FOR A MODERN APPEARANCE
   ============================================ */
::-webkit-scrollbar {
  width: 11px;
  background: #F4F4F9;
}
::-webkit-scrollbar-thumb {
  background: #dadce3;
  border-radius: 7px;
}
::-webkit-scrollbar-thumb:hover {
  background: #b2bbc8;
}

/* ===========================
    MONOCHROME EMPHASIS
   =========================== */
body, .section, .card, .faq-item, .testimonial-card, .feature-grid > div, .article-list > div, .listing-grid > div, .value-list > li {
  color: #232323;
}
h1, h2, h3, h4, h5, h6 {
  color: #181818;
}
.section, .card, .faq-item, .testimonial-card, .feature-grid > div, .article-list > div, .listing-grid > div, .value-list > li {
  background: #fff;
}

/* Ensure no element overlaps with another due to spacing */
.section, .card-container > *, .article-list > *, .value-list > *, .listing-grid > *, .faq-list > * {
  margin-bottom: 20px;
}
