/* =============================
   CSS RESET & BASE STYLES
   ============================= */
html {
  box-sizing: border-box;
  font-size: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #1C355A;
  background: #F4F6FA;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  letter-spacing: 0;
}
a {
  color: #1C355A;
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 500;
}
a:hover, a:focus {
  color: #23A087;
  outline: none;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 16px;
}
ul:last-child, ol:last-child {
  margin-bottom: 0;
}
img {
  max-width: 100%;
  display: block;
}
hr {
  border: 0;
  border-top: 1px solid #D3D8E1;
  margin: 32px 0;
}
strong {
  font-weight: 700;
}

/* =============================
   TYPOGRAPHY & HEADINGS
   ============================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #1C355A;
  margin-bottom: 16px;
  font-weight: 700;
  line-height: 1.2;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4 { font-size: 1.125rem; }
p {
  margin-bottom: 15px;
  color: #253A53;
}

/* =============================
   LAYOUT CONTAINERS & STRUCTURE
   ============================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(28, 53, 90, 0.06);
}

section.cta {
  background: #1C355A;
  color: #fff;
  text-align: center;
  margin-bottom: 60px;
  border-radius: 12px;
  box-shadow: 0 2px 24px rgba(28,53,90,.09);
}
section.cta .cta-btn {
  margin-top: 12px;
}
.cta .content-wrapper p,
.cta .content-wrapper h2,
.footer-contact p{
  color: #fff;
}

@media (max-width: 767px) {
  section {
    margin-bottom: 40px;
    padding: 30px 0;
  }
  .container {
    padding: 0 12px;
  }
  .content-wrapper {
    gap: 18px;
  }
}

/* =============================
   HEADER/NAVIGATION
   ============================= */
header {
  background: #fff;
  box-shadow: 0 1px 10px rgba(28,53,90,.07);
  position: relative;
  z-index: 1000;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 18px;
}
header a img {
  height: 44px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.cta-btn.nav-btn {
  margin-left: 20px;
  padding: 11px 26px;
  font-size: 1rem;
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #1C355A;
  cursor: pointer;
  margin-left: 18px;
}

@media (max-width: 992px) {
  header nav {
    gap: 12px;
  }
  .cta-btn.nav-btn {
    padding: 9px 16px;
    font-size: 0.95rem;
  }
}

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

/* =============================
   MOBILE NAVIGATION MENU
   ============================= */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(28,53,90,0.95);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.78,.13,.15,.99);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  margin: 20px 0 0 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  align-self: flex-end;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-left: 36px;
  margin-top: 38px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #fff;
  font-size: 1.25rem;
  padding: 6px 0;
  letter-spacing: 0.2px;
  transition: color 0.2s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #FFD947;
}
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
}

/* =============================
   SECTIONS, CARDS, FLEXBOX LAYOUTS
   ============================= */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 10px rgba(28,53,90,0.08);
  margin-bottom: 20px;
  padding: 28px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  max-width: 340px;
  flex: 1 1 260px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.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 {
  background: #F4F6FA;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(28,53,90,0.05);
  color: #1C355A;
  margin-bottom: 20px;
  border-left: 5px solid #23A087;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 4px 24px rgba(28,53,90,0.12);
  border-left: 5px solid #FFD947;
}
.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: #253A53;
  font-weight: 500;
}

.feature-grid, .feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature {
  background: #F4F6FA;
  border-radius: 10px;
  flex: 1 1 210px;
  min-width: 210px;
  max-width: 300px;
  padding: 28px 18px 22px 18px;
  box-shadow: 0 1px 8px rgba(28,53,90,0.07);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s;
}
.feature img {
  margin-bottom: 16px;
  height: 46px;
}
.feature h3 {
  font-size: 1.17rem;
  color: #1C355A;
}
.feature:hover {
  box-shadow: 0 6px 26px rgba(35, 160, 135, 0.09);
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.service-list li {
  flex: 1 1 220px;
  min-width: 220px;
  background: #F4F6FA;
  border-radius: 10px;
  padding: 22px 18px;
  margin-bottom: 20px;
  box-shadow: 0 1px 8px rgba(28,53,90,0.07);
}
.service-list h3 {
  font-size: 1.09rem;
  margin-bottom: 6px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.faq-item {
  background: #F4F6FA;
  border-radius: 10px;
  padding: 20px 24px;
  box-shadow: 0 1px 8px rgba(28,53,90,0.06);
  color: #1C355A;
}
.faq-item h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

/* =============================
   BUTTONS & CTAS
   ============================= */
.cta-btn,
button.cta-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  display: inline-block;
  border: none;
  background: #23A087;
  color: #fff;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1.13rem;
  padding: 13px 32px;
  box-shadow: 0 2px 16px rgba(35,160,135,0.10);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  text-align: center;
}
.cta-btn.primary {
  background: #1C355A;
  color: #fff;
}
.cta-btn:hover, .cta-btn:focus
button.cta-btn:hover, button.cta-btn:focus {
  background: #FFD947;
  color: #1C355A;
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 4px 28px rgba(255,217,71,0.13);
  outline: none;
}

/* =============================
   FOOTER
   ============================= */
footer {
  background: #1C355A;
  color: #fff;
  padding: 42px 0 24px 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
}
.footer-nav a {
  color: #FFD947;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: 0.04em;
  transition: color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #23A087;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.96rem;
  color: #fff;
}
.footer-contact img {
  height: 18px;
  width: 18px;
  margin-right: 7px;
  vertical-align: middle;
}

@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .footer-nav {
    gap: 14px;
  }
}

/* =============================
   HERO SECTION
   ============================= */
.hero {
  background: linear-gradient(113deg, #1C355A 85%, #23A087 100%);
  background-color: #1C355A;
  color: #fff;
  margin-bottom: 60px;
  border-radius: 0 0 14px 14px;
  box-shadow: 0 8px 40px rgba(28,53,90,0.10);
  padding: 60px 0 48px 0;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 20px;
}
.hero h1, .hero p {
  color: #fff;
}
@media (max-width: 768px) {
  .hero {
    padding: 34px 0 24px 0;
    margin-bottom: 40px;
  }
}

/* =============================
   SPACING UTILITIES (DO NOT USE POSITION:ABSOLUTE)
   ============================= */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-20 { margin-bottom: 20px !important; }
.mt-32 { margin-top: 32px !important; }
p + ul, p + ol { margin-top: -8px; }

/* =============================
   MISCELLANEOUS
   ============================= */
::-webkit-input-placeholder { color: #7d94ad; }
::-moz-placeholder { color: #7d94ad; }
:-ms-input-placeholder { color: #7d94ad; }
::placeholder { color: #7d94ad; }

/* =============================
   RESPONSIVE FLEX DIRECTION
   ============================= */
@media (max-width: 768px) {
  .feature-grid, .card-container, .service-list, .content-grid, .testimonial-list {
    flex-direction: column !important;
    gap: 20px !important;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .card {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 20px 12px;
  }
  .feature {
    min-width: 0;
    max-width: 100%;
    padding: 20px 10px 16px 10px;
  }
  .service-list li {
    min-width: 0;
    max-width: 100%;
    padding: 16px 10px;
  }
}

/* =============================
   COOKIE CONSENT BANNER
   ============================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #1C355A;
  color: #fff;
  z-index: 3500;
  box-shadow: 0 -2px 24px rgba(28,53,90,.16);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 14px 18px 14px;
  gap: 14px;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.45s cubic-bezier(.78,.13,.15,.99), opacity 0.45s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner p {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0;
  text-align: center;
  margin-right: 0;
}
.cookie-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 9px 22px;
  font-weight: 700;
  border: 0;
  border-radius: 5px;
  margin: 0 2px;
  background: #FFD947;
  color: #1C355A;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
}
.cookie-btn.reject {
  background: #23A087;
  color: #fff;
}
.cookie-btn.settings {
  background: transparent;
  border: 1.5px solid #FFD947;
  color: #FFD947;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #1C355A;
  color: #FFD947;
  outline: none;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #FFD947;
  color: #1C355A;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #FFD947;
  color: #1C355A;
}

@media (max-width: 480px) {
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}

/* =============================
   COOKIE CONSENT MODAL
   ============================= */
.cookie-modal-bg {
  position: fixed;
  z-index: 3600;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(28,53,90,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.3s;
}
.cookie-modal-bg.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 14px;
  width: 90%;
  max-width: 430px;
  box-shadow: 0 2px 48px rgba(28,53,90,.13);
  padding: 34px 24px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: fadein-modal 0.36s cubic-bezier(.5,1.5,.13,.96);
  color: #1C355A;
}
@keyframes fadein-modal {
  from { opacity: 0; transform: translateY(40px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal h2 {
  font-size: 1.45rem;
  margin-bottom: 8px;
  color: #1C355A;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #D2D5DF;
}
.cookie-modal .cookie-category:last-child {
  border-bottom: none;
}
.cookie-modal .cookie-category label {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.cookie-modal-toggle {
  width: 42px;
  height: 23px;
  background: #D3D8E1;
  border-radius: 14px;
  border: none;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.21s;
}
.cookie-modal-toggle.enabled {
  background: #23A087;
}
.cookie-modal-toggle .slider {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.23s;
}
.cookie-modal-toggle.enabled .slider {
  left: 22px;
  background: #FFD947;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: none;
  border: none;
  font-size: 1.45rem;
  color: #1C355A;
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal-close:hover {
  color: #FFD947;
}

/* =============================
   VISUAL EFFECTS & MICRO-INTERACTIONS
   ============================= */
.card, .feature, .service-list li, .faq-item {
  transition: box-shadow 0.18s, border 0.18s, transform 0.22s;
}
.card:hover, .service-list li:hover, .faq-item:hover {
  box-shadow: 0 8px 26px rgba(35,160,135,0.13), 0 2px 8px rgba(28,53,90,0.10);
  transform: translateY(-3px) scale(1.01);
}

.cta-btn, .cookie-btn {
  transition: background 0.21s, color 0.18s, box-shadow 0.19s, transform 0.15s;
}

input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 6px;
  border: 1.5px solid #CDD2DF;
  padding: 10px 13px;
  background: #F8FAFD;
  margin-bottom: 14px;
  color: #253A53;
  outline: none;
  transition: border 0.16s;
}
input:focus, textarea:focus, select:focus {
  border-color: #23A087;
}

/* =============================
   SCROLLBARS FOR CONSISTENT CORPORATE FEEL
   ============================= */
::-webkit-scrollbar {
  width: 10px;
  background: #E5E9F1;
}
::-webkit-scrollbar-thumb {
  background: #D3D8E1;
  border-radius: 6px;
}

/* =============================
   PRINT & SELECTION
   ============================= */
::selection {
  color: #fff;
  background: #23A087;
}

/* =============================
   ACCESSIBILITY
   ============================= */
:focus {
  outline: 2px dotted #FFD947;
  outline-offset: 2px;
}

/* =============================
   DARK TEXT ON LIGHT BACKGROUND (for testimonials/feedback)
   ============================= */
.testimonial-card, .faq-item {
  background: #F4F6FA;
  color: #1C355A;
}
.testimonial-card p, .testimonial-card .testimonial-meta {
  color: #253A53;
}

/* =============================
   SCALING: TYPOGRAPHY
   ============================= */
@media (max-width: 420px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.23rem; }
  .cta-btn, .cookie-btn { font-size: 0.95rem; padding: 11px 14px; }
}
