/* ========== 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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F1FAEE;
  color: #1D3557;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  text-align: left;
  padding: 12px 16px;
}
th {
  background: #1D3557;
  color: #fff;
  font-weight: 700;
}

/* ========== BRAND FONTS ========== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Roboto:wght@400;500;700&display=swap');

body, input, button, textarea, select {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #1D3557;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #1D3557;
  margin-bottom: 0.6em;
}
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

p, li, td {
  font-size: 1rem;
  line-height: 1.6;
}

strong {
  font-weight: 700;
}

.text-section h2,
.text-section h3 {
  margin-top: 12px;
}

/* ========== GLOBAL CONTAINER AND LAYOUT ========== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(29,53,87,0.06);
}

/* ========== HEADER & NAVIGATION ========== */
header {
  background: #ffffff;
  border-bottom: 1px solid #dee2e6;
  position: sticky;
  top: 0;
  z-index: 1010;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}
header img {
  height: 48px;
  width: auto;
  margin-right: 28px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  padding: 10px 0;
  margin: 0 2px;
  font-weight: 500;
  color: #1D3557;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:not(.btn-primary):hover {
  background: #edf3fa;
  color: #457B9D;
}
/* Call to Action Button */
.btn-primary,
.main-nav .btn-primary {
  background: #1D3557;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 22px;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  box-shadow: 0 2px 10px rgba(29,53,87,0.10);
  cursor: pointer;
  margin-left: 18px;
  outline: none;
  transition: background 0.18s, box-shadow 0.2s, transform 0.18s;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #23406d;
  box-shadow: 0 4px 16px rgba(29,53,87,0.2);
  transform: translateY(-2px) scale(1.03);
}

/* ========== MOBILE MENU BUTTON ========== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #1D3557;
  cursor: pointer;
  margin-left: 16px;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: #E63946;
}

/* ========== MOBILE MENU OVERLAY ========== */
.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(29,53,87,0.98);
  z-index: 3010;
  padding: 24px 20px 48px 20px;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.53,.01,.38,1.01);
  box-sizing: border-box;
}
.mobile-menu.active {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  position: absolute;
  top: 25px;
  right: 24px;
  cursor: pointer;
  z-index: 3100;
  transition: color .18s;
}
.mobile-menu-close:hover {
  color: #E63946;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  margin-top: 70px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  padding: 8px 0;
  border-radius: 6px;
  width: 100%;
  transition: background .17s, color .17s;
}
.mobile-nav a:hover {
  background: #26406f;
  color: #F1FAEE;
}

/* ========== HERO SECTION ========== */
.hero {
  background: linear-gradient(110deg, #F1FAEE 60%, #d8e6f6 100%);
  min-height: 360px;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  padding: 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding-top: 50px;
  padding-bottom: 50px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.hero h1 {
  font-size: 2.2rem;
  color: #1D3557;
}
.hero p {
  color: #23406d;
  font-size: 1.23rem;
}

/* ========== FEATURES LIST ========== */
.features .content-wrapper ul,
.services .content-wrapper ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 8px;
}
.features .content-wrapper ul li,
.services .content-wrapper ul li {
  background: #f8fbff;
  border: 1px solid #e5eaf2;
  border-radius: 12px;
  padding: 18px 22px 16px 22px;
  min-width: 245px;
  flex: 1 1 290px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  box-shadow: 0 2px 12px rgba(29,53,87,0.03);
  transition: box-shadow 0.14s, border 0.14s;
}
.features .content-wrapper ul li:hover,
.services .content-wrapper ul li:hover {
  border-color: #a3bcd8;
  box-shadow: 0 6px 18px rgba(29,53,87,0.06);
}
.features .content-wrapper ul img,
.services .content-wrapper ul img {
  margin-bottom: 8px;
  height: 32px;
  width: 32px;
}
.features .content-wrapper ul strong { font-size: 1.13rem; }

/* ========== TESTIMONIALS ========== */
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.testimonial-card {
  background: #F1FAEE;
  border-left: 5px solid #1D3557;
  border-radius: 10px;
  box-shadow: 0 3px 20px rgba(29,53,87,0.07);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 28px 18px 32px;
  flex: 1 1 320px;
  min-width: 260px;
  margin-bottom: 20px;
  transition: box-shadow 0.14s, border .14s;
}
.testimonial-card:hover {
  border-left-color: #E63946;
  box-shadow: 0 6px 32px rgba(29,53,87,0.10);
}
.testimonial-card p {
  color: #1D3557;
  font-size: 1.1rem;
}
.testimonial-card span {
  color: #243447;
  font-size: 0.98rem;
  font-weight: 500;
}

/* ========== SERVICES ========== */
.services .content-wrapper ul span {
  display: inline-block;
  color: #E63946;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 12px;
}
.services .content-wrapper ul strong {
  font-size: 1.09rem;
}

/* ========== CONTACT SECTION ========== */
.contact .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}
.contact .text-section {
  flex: 1 1 320px;
  min-width: 240px;
  margin-bottom: 12px;
}
.contact ul {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact ul li {
  display: flex;
  align-items: center;
  font-size: 1.06rem;
  color: #1D3557;
}
.contact ul img {
  width: 28px;
  height: 28px;
  margin-right: 14px;
}
.contact a {
  color: #1D3557;
  text-decoration: underline;
  font-weight: 500;
}
.contact a:hover {
  color: #E63946;
  text-decoration: underline;
}

/* ========== TABLES ========== */
table {
  box-shadow: 0 2px 10px rgba(29,53,87,0.05);
  border-radius: 9px;
  overflow: hidden;
  background: #fff;
  margin-bottom: 28px;
}
thead {
  background: #1D3557;
}
th, td {
  font-size: 1rem;
}
tr:nth-child(even) td {
  background: #F5F8FB;
}

/* ========== CARDS ========== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid #e6eaf0;
  border-radius: 11px;
  box-shadow: 0 3px 18px rgba(29,53,87,0.07);
  padding: 32px 28px;
  flex: 1 1 340px;
  min-width: 240px;
  position: relative;
  margin-bottom: 20px;
  transition: box-shadow .17s, border .17s;
}
.card:hover {
  border-color: #a3bcd8;
  box-shadow: 0 8px 24px rgba(29,53,87,0.14);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

/* ========== GENERIC FLEX UTILITIES ========== */
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ========== FOOTER ========== */
footer {
  background: #1D3557;
  color: #fff;
  padding: 40px 0 18px 0;
  border-top: 1px solid #dee2e6;
  margin-top: 54px;
}
footer .container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
footer img {
  height: 46px;
  margin-right: 18px;
}
.footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #F1FAEE;
  font-size: 1rem;
  margin-right: 8px;
  opacity: 0.95;
  transition: opacity .12s, color .18s;
}
.footer-nav a:hover {
  color: #E63946;
  opacity: 1;
}
footer .text-section {
  color: #dbeafe;
  font-size: 0.97rem;
  line-height: 1.55;
}

/* ========== BUTTONS, LINKS & INTERACTIONS ========== */
button, .btn-primary {
  cursor: pointer;
  transition: box-shadow .18s, background .17s, color .13s;
  outline: none;
}
button:focus-visible, .btn-primary:focus-visible {
  outline: 2px solid #23406d;
  outline-offset: 2px;
}

/* ========== ANIMATIONS & TRANSITIONS ========== */
a, button, .btn-primary, .card, .testimonial-card, .features .content-wrapper ul li, .services .content-wrapper ul li {
  transition-property: color, background, border, box-shadow, transform;
  transition-duration: .16s;
  transition-timing-function: cubic-bezier(.44,.13,.37,1.13);
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
  .container {
    max-width: 98vw;
    padding: 0 12px;
  }
  header .container,
  footer .container {
    gap: 14px;
  }
  .features .content-wrapper ul li,
  .services .content-wrapper ul li {
    min-width: 160px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 10px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero {
    min-height: 260px;
    padding: 0;
  }
  .features .content-wrapper ul,
  .services .content-wrapper ul,
  .testimonials .content-wrapper {
    flex-direction: column;
    gap: 20px;
  }
  .testimonials .testimonial-card,
  .card {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
  }
  .contact .content-wrapper {
    flex-direction: column;
    gap: 18px;
  }
  .section {
    padding: 24px 8px;
  }
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 560px) {
  h1 {
    font-size: 1.48rem;
  }
  h2 {
    font-size: 1.23rem;
  }
  .section {
    padding: 14px 2px;
    margin-bottom: 38px;
  }
  .hero .container {
    padding-top: 25px;
    padding-bottom: 26px;
  }
  th, td {
    font-size: 0.99rem;
    padding: 8px 8px;
  }
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #1D3557;
  color: #fff;
  padding: 22px 20px 22px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  justify-content: center;
  z-index: 8000;
  box-shadow: 0 -3px 20px rgba(29,53,87,0.15);
  opacity: 0;
  pointer-events: none;
  transform: translateY(64px);
  transition: opacity .18s, transform .22s;
}
.cookie-banner.active {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.cookie-banner__text {
  flex: 2 1 210px;
  font-size: 1rem;
  color: #F1FAEE;
  margin-bottom: 6px;
}
.cookie-banner__actions {
  display: flex;
  gap: 13px;
  flex: 1 1 150px;
  justify-content: flex-end;
}
.cookie-banner__btn {
  background: #F1FAEE;
  color: #1D3557;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  padding: 8px 20px;
  cursor: pointer;
  font-size: 0.99rem;
  margin-left: 2px;
  min-width: 100px;
  transition: background .15s, color .15s, box-shadow .14s;
}
.cookie-banner__btn:hover {
  background: #e9ecf4;
  color: #23406d;
  box-shadow: 0 2px 8px rgba(29,53,87,0.13);
}
.cookie-banner__btn.--accent {
  background: #E63946;
  color: #fff;
}
.cookie-banner__btn.--accent:hover {
  background: #b10019;
}
.cookie-banner__btn.--settings {
  background: #fff;
  color: #1D3557;
  border: 1px solid #d0d5dd;
}
.cookie-banner__btn.--settings:hover {
  background: #f1faee;
  color: #1d3557;
}

/* ========== COOKIE CONSENT MODAL ========== */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(29,53,87,0.50);
  z-index: 9998;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: #1D3557;
  border-radius: 16px;
  padding: 38px 28px 26px 28px;
  min-width: 320px;
  max-width: 94vw;
  box-shadow: 0 15px 60px rgba(29,53,87,0.42);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: cookieModalIn 0.38s cubic-bezier(.74,0,.45,1.49);
}
@keyframes cookieModalIn {
  0% { opacity:0; transform: scale(0.81) translateY(40px); }
  85% { opacity:1; transform: scale(1.07) translateY(-6px); }
  100% { opacity:1; transform: scale(1) translateY(0); }
}
.cookie-modal__close {
  position: absolute;
  right: 18px;
  top: 16px;
  font-size: 1.9rem;
  background: none;
  border: none;
  color: #1D3557;
  cursor: pointer;
  transition: color .17s;
  z-index: 10;
}
.cookie-modal__close:hover {
  color: #E63946;
}
.cookie-modal__title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.22rem;
  margin-bottom: 2px;
  color: #1D3557;
  font-weight: 700;
}
.cookie-modal__desc {
  color: #23406d;
  font-size: 1.01rem;
  margin-bottom: 18px;
}
.cookie-modal__category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 1.05rem;
  border-bottom: 1px solid #f1faee;
  padding-bottom: 10px;
}
.cookie-modal__category label {
  color: #1D3557;
  font-weight: 500;
}
.cookie-modal__category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #1D3557;
  outline: 1px solid #26406f;
}
.cookie-modal__category .cookie-locked {
  color: #6d7892;
  font-size: .98em;
  font-weight: 500;
}
.cookie-modal__actions {
  display: flex;
  gap: 11px;
  justify-content: flex-end;
  margin-top: 22px;
}
.cookie-modal__actions .cookie-banner__btn {
  min-width: 100px;
}

@media (max-width: 560px) {
  .cookie-modal {
    min-width: 0;
    padding: 16px 8px 18px 8px;
  }
}

/* ========== UTILITY CLASSES ========== */
.mt-30 { margin-top: 30px; }
.mb-30 { margin-bottom: 30px; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.gap-20 { gap: 20px; }
.bg-primary { background: #1D3557; color: #fff; }
.bg-accent { background: #E63946; color: #fff; }

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
  width: 8px;
  background: #e5eaf2;
}
::-webkit-scrollbar-thumb {
  background: #a3bcd8;
  border-radius: 8px;
}

/* ========== FOCUS VISIBLE OUTLINE ACCESSIBILITY ========== */
a:focus-visible {
  outline: 2px solid #1D3557;
  outline-offset: 2px;
}

/* ========== END STYLES ========== */