/* ================================
   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, 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, 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F1F3F7;
  color: #283347;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ul, ol {
  list-style: none;
}
a {
  color: #1F4763;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus, a:hover {
  color: #B8891F;
  outline: none;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 32px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(31,71,99,0.04);
}
th, td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid #E2E6EC;
}
th {
  background: #F1F3F7;
  font-weight: 600;
}

/* ================================
   TYPOGRAPHY
   ================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1F4763;
  font-weight: 700;
  margin-bottom: 20px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 32px;
  letter-spacing: -0.5px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 28px;
  letter-spacing: -0.3px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 18px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 12px;
}
p, li {
  color: #283347;
  font-size: 1rem;
  margin-bottom: 16px;
  line-height: 1.6;
}
strong {
  font-weight: 600;
  color: #1F4763;
}

/* ================================
   CONTAINER, SECTIONS, GAPS, LAYOUT
   ================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(31,71,99,0.07);
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  margin-bottom: 20px;
  position: relative;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(31,71,99,0.04);
  padding: 32px 24px;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #F1F3F7;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 14px rgba(31,71,99,0.05);
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 18px rgba(31,71,99,0.09);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ==============
   HEADER & NAV
   =============== */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(31,71,99,0.06);
  position: sticky;
  top: 0;
  z-index: 1002;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 75px;
  gap: 24px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.main-nav a {
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 1rem;
  transition: background 0.18s, color 0.18s;
}
.main-nav a.cta-btn,
.cta-btn {
  background: #1F4763;
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 7px;
  font-size: 1.05rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(31,71,99,.09);
  box-shadow: 0 2px 8px rgba(31,71,99,0.12);
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  margin-left: 10px;
  letter-spacing: 0.02em;
}
.main-nav a.cta-btn:hover, .cta-btn:hover, .main-nav a.cta-btn:focus, .cta-btn:focus {
  background: #274F78;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(31,71,99,0.17);
  text-decoration: none;
}
.main-nav a:not(.cta-btn):hover, .main-nav a:not(.cta-btn):focus {
  background: #F1F3F7;
  color: #1F4763;
}
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #1F4763;
  cursor: pointer;
  z-index: 1201;
  padding: 6px 12px;
  border-radius: 5px;
  transition: background 0.15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #E2E6EC;
}

/* =======================
   MOBILE MENU STYLES
   ======================= */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: -5px 0 24px rgba(31,71,99,0.09);
  z-index: 1300;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0.2,0.3,1);
  display: flex;
  flex-direction: column;
  padding: 24px 24px 0 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #1F4763;
  margin-bottom: 16px;
  cursor: pointer;
  z-index: 1400;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.15s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #E2E6EC;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 16px;
}
.mobile-nav a {
  font-size: 1.15rem;
  font-weight: 600;
  color: #1F4763;
  padding: 10px 12px;
  border-radius: 5px;
  transition: background 0.16s, color 0.16s;
  font-family: 'Montserrat', Arial, sans-serif;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #F1F3F7;
  color: #B8891F;
}

/* ================================
   HERO SECTION
   ================================ */
.hero {
  background: linear-gradient(90deg, #F1F3F7 60%, #FFFFFF 100%);
  padding: 64px 0 48px 0;
  margin-bottom: 0;
  border-radius: 0 0 24px 24px;
  box-shadow: 0 6px 30px rgba(31,71,99,0.05);
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  max-width: 680px;
}
.hero h1 {
  font-size: 2.8rem;
  line-height: 1.13;
  margin-bottom: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.hero p {
  font-size: 1.25rem;
  color: #36526F;
  margin-bottom: 22px;
}
.hero .cta-btn {
  margin-top: 0;
}

/* ================================
   FEATURES SECTION
   ================================ */
.features .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(31,71,99,0.04);
  flex: 1 1 250px;
  padding: 28px 18px 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 220px;
  transition: box-shadow 0.17s, transform 0.17s;
}
.feature:hover {
  box-shadow: 0 6px 20px rgba(31,71,99,0.10);
  transform: translateY(-2px) scale(1.022);
}
.feature img {
  width: 48px;
  margin-bottom: 8px;
}
.feature h3 {
  font-size: 1.13rem;
  margin-bottom: 6px;
}

/* ================================
   TESTIMONIALS
   ================================ */
.testimonials {
  background: #f7f9fb;
  border-radius: 14px;
  padding: 40px 20px;
}
.testimonials .testimonial-card {
  margin-bottom: 20px;
  background: #fff;
  color: #1F4763;
}
.testimonial-card p {
  font-size: 1.12rem;
  line-height: 1.75;
  color: #243553;
}
.testimonial-info {
  color: #1F4763;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  opacity: 0.90;
}

/* ================================
   CTA SECTION
   ================================ */
.cta {
  background: #1F4763;
  color: #fff;
  border-radius: 14px;
  padding: 44px 20px;
  display: flex;
  align-items: center;
}
.cta h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 18px;
}
.cta .cta-btn {
  background: #B8891F;
  color: #fff !important;
  margin-top: 10px;
}
.cta .cta-btn:hover, .cta .cta-btn:focus {
  background: #997016;
}

/* ================================
   CARDS & SERVICE CARD GRIDS
   ================================ */
.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(31,71,99,0.03);
  flex: 1 1 240px;
  min-width: 220px;
  padding: 26px 18px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  min-height: 258px;
  transition: box-shadow 0.16s, transform 0.16s;
}
.service-card img {
  width: 42px;
  margin-bottom: 10px;
}
.service-card h2 {
  font-size: 1.18rem;
  margin-bottom: 6px;
}
.service-card p {
  margin-bottom: 0;
  color: #2d415c;
}
.service-card strong {
  color: #B8891F;
  font-weight: 700;
  font-size: 1.06rem;
}
.service-card:hover {
  box-shadow: 0 6px 20px rgba(31,71,99,0.11);
  transform: translateY(-2px) scale(1.018);
}

/* ================================
   STEPPER / OL
   ================================ */
.stepper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}
.stepper li {
  font-size: 1.08rem;
  position: relative;
  padding-left: 32px;
}
.stepper li:before {
  content: '';
  position: absolute;
  left: 4px;
  top: 10px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #1F4763;
}

/* ================================
   FAQ ACCORDION & FAQ LIST
   ================================ */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-item {
  background: #f6f8fa;
  border-radius: 9px;
  padding: 18px 18px 10px 18px;
  box-shadow: 0 1px 6px rgba(31,71,99,0.03);
  transition: box-shadow 0.15s;
}
.faq-item h3 {
  font-size: 1.07rem;
  color: #1F4763;
  margin-bottom: 6px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-list li {
  background: #fff;
  border-radius: 6px;
  padding: 14px 16px;
  box-shadow: 0 1px 6px rgba(31,71,99,0.04);
  color: #1F4763;
}

/* ================================
   CATEGORY TABS
   ================================ */
.categories-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.11rem;
}
.categories-tabs a {
  color: #1F4763;
  background: #F1F3F7;
  border-radius: 6px;
  padding: 7px 14px;
  font-weight: 500;
  transition: background 0.18s, color 0.18s;
}
.categories-tabs a:hover, .categories-tabs a:focus {
  color: #B8891F;
  background: #fff;
  text-decoration: underline;
}

/* ================================
   CONTACT DETAILS SECTION
   ================================ */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}
.contact-details a {
  color: #1F4763;
  text-decoration: underline;
}
.contact-details a:hover {
  color: #B8891F;
}

/* ================================
   FOOTER
   ================================ */
footer {
  background: #F1F3F7;
  padding: 0;
  margin-top: 60px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  border-top: 1px solid #e2e6ec;
  padding: 40px 0 38px 0;
}
.brand-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 180px;
  max-width: 260px;
}
.brand-footer img {
  width: 52px;
  height: 52px;
}
.brand-footer span {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #1F4763;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 13px;
  min-width: 180px;
}
.footer-links a {
  color: #243553;
  font-size: 1rem;
  padding: 3px 0;
  transition: color 0.17s;
}
.footer-links a:hover, .footer-links a:focus {
  color: #B8891F;
}
.contact-snippet {
  color: #1F4763;
  font-size: 0.97rem;
  min-width: 220px;
  max-width: 300px;
  word-break: break-word;
}
.contact-snippet a {
  color: #1F4763;
  text-decoration: underline;
  transition: color 0.16s;
}
.contact-snippet a:hover {
  color: #B8891F;
}

/* ================================
   COOKIE CONSENT BANNER
   ================================ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 2000;
  background: #1F4763;
  color: #fff;
  width: 100%;
  box-shadow: 0px -4px 24px rgba(31,71,99,0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  font-size: 1rem;
  gap: 16px;
  animation: slideUpBanner 0.45s cubic-bezier(0.45,1.15,0.55,1) 1;
}
@keyframes slideUpBanner {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-btn-group {
  display: flex;
  gap: 13px;
  align-items: center;
}
.cookie-banner button.cookie-btn, .cookie-banner .cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #fff;
  color: #1F4763;
  border: none;
  padding: 7px 20px;
  border-radius: 5px;
  font-weight: 700;
  transition: background 0.12s, color 0.12s;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 1px 4px rgba(31,71,99,0.09);
}
.cookie-banner .cookie-btn:hover {
  background: #B8891F;
  color: #fff;
}
.cookie-banner .cookie-btn.settings {
  background: #F1F3F7;
  color: #1F4763;
}
.cookie-banner .cookie-btn.settings:hover {
  background: #274F78;
  color: #fff;
}

/* COOKIE CONSENT MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2100;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(31,71,99,0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.2s cubic-bezier(.3,.68,.44,1.19);
}
@keyframes fadeInModal {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #1F4763;
  border-radius: 13px;
  box-shadow: 0 6px 32px rgba(31,71,99,0.19);
  max-width: 98vw;
  width: 420px;
  padding: 36px 28px 24px 28px;
  animation: popInModal 0.37s cubic-bezier(.22,1.35,.4,.97);
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-family: 'Open Sans', Arial, sans-serif;
}
@keyframes popInModal {
  0% { transform: scale(0.95); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  color: #1F4763;
  margin-bottom: 0;
  font-size: 1.22rem;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 13px;
}
.cookie-modal .cookie-category label {
  font-size: 1rem;
}
.cookie-modal .cookie-toggle {
  width: 40px;
  height: 22px;
  background: #E2E6EC;
  border-radius: 14px;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.18s;
}
.cookie-modal .cookie-toggle input {
  display: none;
}
.cookie-modal .cookie-toggle span {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: #1F4763;
  border-radius: 50%;
  transition: left 0.23s, background 0.18s;
}
.cookie-modal .cookie-toggle input:checked + span {
  left: 21px;
  background: #B8891F;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 11px;
  margin-top: 14px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn.confirm {
  background: #1F4763;
  color: #fff;
}
.cookie-modal .cookie-btn.confirm:hover,
.cookie-modal .cookie-btn.confirm:focus {
  background: #B8891F;
  color: #fff;
}
.cookie-modal .cookie-btn {
  background: #fff;
  color: #1F4763;
  font-weight: 600;
  padding: 6px 17px;
  min-width: 92px;
}
.cookie-modal .cookie-btn:not(.confirm):hover,
.cookie-modal .cookie-btn:not(.confirm):focus {
  background: #F1F3F7;
  color: #1F4763;
}

/* ================================
   MISC. GLOBAL ELEMENTS
   ================================ */
hr {
  border: 0;
  height: 1px;
  background: #E2E6EC;
  margin: 38px 0;
}
blockquote {
  border-left: 4px solid #B8891F;
  padding-left: 18px;
  color: #485364;
  font-style: italic;
}
del {
  text-decoration: line-through;
  color: #9ca5b4;
}

/* ================================
   RESPONSIVE MEDIA QUERIES
   ================================ */
@media (max-width: 1120px) {
  .container { max-width: 960px; }
  .footer-top { flex-direction: column; gap: 24px; }
}
@media (max-width: 900px) {
  .container { max-width: 770px; }
  .footer-top { flex-direction: column; gap: 22px; }
  .brand-footer, .contact-snippet, .footer-links { max-width: 100%; }
  .feature-grid,.service-grid,.card-container { flex-direction: column; }
  .footer-top { align-items: flex-start; }
}
@media (max-width: 768px) {
  
  /* Make navigation mobile */
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container { padding: 0 8px; }
  .section, .testimonials, .cta {
    padding: 24px 6px;
    margin-bottom: 36px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .footer-top {
    padding: 30px 0 25px 0;
    flex-direction: column;
    gap: 14px;
  }
  .brand-footer img { width: 45px; height: 45px; }
  .feature-grid, .service-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature, .service-card, .card {
    min-width: unset;
    padding: 18px 8px 16px 8px;
  }
  .stepper li { font-size: 1rem; padding-left: 21px; }
  .stepper li:before { width: 10px; height: 10px; top: 8px; left: 0; }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .categories-tabs {
    font-size: 0.99rem;
    gap: 6px;
    flex-wrap: wrap;
  }
  h1 { font-size: 1.6rem; margin-bottom: 18px; }
  h2 { font-size: 1.25rem; margin-bottom: 14px; }
  .hero { padding: 32px 0 24px 0; border-radius: 0 0 10px 10px; }
  .hero h1 { font-size: 1.6rem; }
}
@media (max-width: 540px) {
  .container { max-width: 98vw; padding: 0 2vw; }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 13px 9px;
    font-size: 0.98rem;
    gap: 7px;
  }
  .cookie-banner .cookie-btn-group { gap: 7px; }
  .cookie-modal {
    width: 97vw;
    min-width: unset;
    padding: 18px 5vw 10px 5vw;
  }
  .footer-top {
    padding: 19px 0 13px 0;
    gap: 8px;
  }
}

/* ================================
   PRINT STYLES
   ================================ */
@media print {
  header, .mobile-menu, .cta, .footer-top, .cookie-banner, .cookie-modal, .cookie-modal-overlay { display: none !important; }
  body { background: #fff; color: #000; }
  .container, .section, .content-wrapper { box-shadow: none !important; background: #fff !important; }
}
