/* -----------------------------------------------------------
   CSS RESET & BASE LAYOUT
----------------------------------------------------------- */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #232C44;
  background: #F5F5F5;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border-style: none;
}
a {
  color: #232C44;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #ECA400;
  outline: none;
}
ul, ol {
  margin-left: 1.3em;
  padding-left: 0.6em;
}
li {
  margin-bottom: 8px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #232C44;
  margin-bottom: 16px;
  font-weight: 700;
}
h1 { font-size: 2.75rem; line-height: 1.15; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
p { margin-bottom: 1.25em; }
small { font-size: 0.93em; color: #556080; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* -----------------------------------------------------------
   HEADER & NAVIGATION
----------------------------------------------------------- */
header {
  background: #fff;
  border-bottom: 1px solid #e5e8f0;
  position: sticky;
  top: 0;
  z-index: 100;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 20px;
}
header nav > a img {
  height: 44px;
  width: auto;
  vertical-align: middle;
}
header nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
}
header nav ul li {
  margin: 0;
}
header nav ul li a {
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #232C44;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
header nav ul li a:hover, header nav ul li a.active {
  background: #ECA40022;
  color: #ECA400;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: #232C44;
  cursor: pointer;
  margin-left: 16px;
  z-index: 102;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #ECA400;
}

/* -----------------------------------------------------------
   MOBILE MENU OVERLAY
----------------------------------------------------------- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #232C44dc;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  z-index: 400;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.65,0,0.35,1);
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 30px 0 40px 30px;
  font-size: 2.2rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  align-self: flex-start;
  transition: color 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #ECA400;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100vw;
  padding-left: 30px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.22rem;
  font-weight: 600;
  padding: 12px 0;
  line-height: 1.3;
  transition: color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #ECA400;
}
@media (max-width: 1060px) {
  header nav ul {
    gap: 7px;
  }
  header nav > a img {
    height: 36px;
  }
}
@media (max-width: 900px) {
  header nav ul {
    gap: 2px;
  }
}
@media (max-width: 768px) {
  header nav ul {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header nav {
    padding: 0 12px;
  }
}
/* -----------------------------------------------------------
   HERO, SECTIONS, CONTAINER & FLEX LAYOUTS
----------------------------------------------------------- */
.hero {
  background: linear-gradient(120deg,#F5F5F5 60%, #E6EAF5 110%);
  padding: 38px 0 0 0;
  margin-bottom: 40px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px 0 rgba(35,44,68,.06);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.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;
}
@media (max-width: 768px) {
  .content-grid,
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  .hero {
    padding: 22px 0 0 0;
  }
  .section {
    padding: 28px 8px;
    margin-bottom: 34px;
  }
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  margin-bottom: 20px;
  position: relative;
  border-radius: 12px;
  box-shadow: 0 4px 16px 0 rgba(35,44,68,0.07);
  overflow: hidden;
  min-width: 250px;
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.22s, transform 0.22s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(35,44,68,0.14);
  transform: translateY(-4px) scale(1.01);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px 22px 24px 22px;
}

/* -----------------------------------------------------------
   FEATURE/ADVANTAGE LAYOUTS
----------------------------------------------------------- */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F5F5F5;
  border-radius: 10px;
  box-shadow: 0 1px 4px 0 rgba(35,44,68,0.07);
  padding: 16px 22px;
  margin-bottom: 20px;
}
.feature-item img {
  height: 32px;
  width: 32px;
  margin-right: 8px;
}

/* -----------------------------------------------------------
   TESTIMONIALS
----------------------------------------------------------- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F5F5F5;
  border-radius: 12px;
  box-shadow: 0 2px 14px 0 rgba(35,44,68,0.07);
  margin-bottom: 20px;
  color: #232C44;
  font-size: 1.05rem;
  font-style: italic;
}
.testimonial-card p {
  margin: 0;
  flex: 1;
  color: #232C44;
}
.testimonial-card small {
  min-width: 130px;
  color: #232C44;
  font-weight: bold;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-style: normal;
}
@media (max-width: 650px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    gap: 10px;
  }
}

/* -----------------------------------------------------------
   BUTTONS & CTA
----------------------------------------------------------- */
.cta,
button, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #232C44;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.11rem;
  font-weight: 600;
  border: none;
  border-radius: 7px;
  padding: 13px 32px;
  margin-top: 12px;
  margin-bottom: 4px;
  cursor: pointer;
  transition: background 0.19s, color 0.18s, box-shadow 0.18s, transform 0.18s;
  box-shadow: 0 2px 8px rgba(70, 80, 105, 0.07);
  outline: none;
  text-align: center;
  text-decoration: none;
}
.cta.primary,
.button-primary, .btn-primary {
  background: #ECA400;
  color: #232C44;
}
.cta.primary:hover, .button-primary:hover, .btn-primary:hover {
  background: #FFD96B;
  color: #232C44;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 16px 0 rgba(236,164,0,0.12);
}
.cta:hover, .btn:hover, button:hover,
.cta:focus, .btn:focus, button:focus {
  background: #101629;
  color: #FFD96B;
  box-shadow: 0 6px 18px 0 rgba(35,44,68,0.16);
  outline: 2px solid #ECA400;
  outline-offset: 2px;
  transform: translateY(-2px) scale(1.03);
}
.cta.primary:focus {
  outline: 2px solid #232C44;
}

/* -----------------------------------------------------------
   LIST ICONS / SERVICES ICONS
----------------------------------------------------------- */
.content-wrapper ul li img {
  height: 22px;
  width: 22px;
  margin-right: 8px;
  vertical-align: middle;
}
.content-wrapper ul li {
  display: flex;
  align-items: center;
  font-size: 1.02rem;
  margin-bottom: 13px;
  padding-left: 0;
}
.content-wrapper ul {
  margin-bottom: 0;
  list-style: none;
  padding: 0;
}

/* For non-icon lists */
.content-wrapper.text-section ul li img {
  display: none;
}
.content-wrapper.text-section ul li {
  padding-left: 0.8em;
  position: relative;
}
.content-wrapper.text-section ul li::before {
  content: '\2022';
  color: #ECA400;
  font-size: 1.4em;
  position: absolute;
  left: 0;
  top: 0;
}

/* -----------------------------------------------------------
   TEXT SECTIONS
----------------------------------------------------------- */
.text-section {
  max-width: 720px;
  margin: 0 auto;
}
.text-section h1,
.text-section h2,
.text-section h3 {
  text-align: left;
}

/* -----------------------------------------------------------
   FOOTER
----------------------------------------------------------- */
footer {
  background: #232C44;
  color: #fff;
  margin-top: 60px;
  padding: 32px 0 18px 0;
  border-top: 8px solid #ECA400;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
footer nav a {
  color: #fff;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  opacity: 0.92;
  transition: color 0.2s, text-decoration 0.2s;
}
footer nav a:hover, footer nav a:focus {
  color: #ECA400;
  text-decoration: underline;
}
footer .text-section p {
  color: #DEE1ED;
  margin: 0;
  font-size: 0.98rem;
}
@media (max-width: 650px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  footer nav {
    flex-direction: column;
    gap: 8px;
  }
}

/* -----------------------------------------------------------
   COOKIE CONSENT BANNER & MODAL
----------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #232C44;
  color: #fff;
  box-shadow: 0 -2px 18px 0 rgba(35,44,68,0.12);
  padding: 19px 18px 18px 18px;
  z-index: 9999;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1rem;
  animation: slideUpIn 0.38s cubic-bezier(0.91,0.02,0.49,1.06);
}
@keyframes slideUpIn {
  from { transform: translateY(100px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  flex: 2;
  margin: 0 10px 0 0;
  color: #fff;
  font-size: 1rem;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cookie-banner .cookie-btns button {
  background: #ECA400;
  color: #232C44;
  border: none;
  border-radius: 6px;
  font-size: 1.05rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 8px 22px;
  margin: 0;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.18s, box-shadow 0.18s;
}
.cookie-banner .cookie-btns button:not(:first-child) {
  background: #F5F5F5;
  color: #232C44;
}
.cookie-banner .cookie-btns button:hover,
.cookie-banner .cookie-btns button:focus {
  background: #FFD96B;
  color: #232C44;
  transform: scale(1.05);
  outline: none;
}

/* Cookie preference modal */
.cookie-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  width: 95vw;
  max-width: 420px;
  background: #fff;
  color: #232C44;
  border-radius: 12px;
  box-shadow: 0 8px 48px 0 rgba(35,44,68,0.22);
  transform: translate(-50%,-50%) scale(1.02);
  z-index: 10001;
  padding: 32px 30px 28px 30px;
  animation: fadeInCookieModal 0.3s cubic-bezier(.76,0,.24,1);
}
@keyframes fadeInCookieModal {
  from { opacity: 0; transform: translate(-50%,-40%) scale(0.98); }
  to   { opacity: 1; transform: translate(-50%,-50%) scale(1.02); }
}
.cookie-modal.active {
  display: block;
}
.cookie-modal h2 {
  font-size: 1.29rem;
  margin-bottom: 18px;
  color: #232C44;
}
.cookie-modal ul {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
}
.cookie-modal li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-size: 1.08rem;
  color: #232C44;
}
.cookie-modal li label {
  flex: 1;
}
.cookie-modal li input[type="checkbox"] {
  accent-color: #ECA400;
  width: 20px;
  height: 20px;
  margin-left: 8px;
}
.cookie-modal .cookie-modal-btns {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-btns button {
  background: #ECA400;
  color: #232C44;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  padding: 9px 20px;
  cursor: pointer;
  transition: background 0.19s, color 0.19s;
}
.cookie-modal .cookie-modal-btns button:last-child {
  background: #F5F5F5;
  color: #232C44;
}
.cookie-modal .cookie-modal-btns button:hover,  .cookie-modal .cookie-modal-btns button:focus {
  background: #FFD96B;
  color: #232C44;
  outline: none;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  top: 8px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #232C44;
  cursor: pointer;
  opacity: 0.67;
  transition: opacity 0.19s, color 0.19s;
}
.cookie-modal .close-cookie-modal:hover {
  opacity: 1;
  color: #ECA400;
}

/* -----------------------------------------------------------
   RESPONSIVE TYPOGRAPHY & UTILITIES
----------------------------------------------------------- */
@media (max-width: 520px) {
  h1 { font-size: 2.04rem; }
  h2 { font-size: 1.33rem; }
  h3 { font-size: 1.04rem; }
  .cta,
  .btn,
  .cookie-banner .cookie-btns button {
    font-size: 0.94rem;
    padding: 11px 16px;
  }
  .cookie-modal {
    padding: 18px 7px 16px 7px;
    border-radius: 8px;
  }
}
@media (max-width: 400px) {
  .cookie-modal {
    max-width: 99vw;
    padding: 7px 2px 10px 2px;
  }
  .cookie-banner {
    font-size: 0.97rem;
    padding: 7px 2px 7px 2px;
  }
}

/* -----------------------------------------------------------
   MICRO-ANIMATIONS
----------------------------------------------------------- */
.cta, .btn, button {
  position: relative;
  overflow: hidden;
}
.cta::after, .btn::after, button::after {
  content: '';
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  background: rgba(236,164,0,.22);
  border-radius: 100%;
  opacity: 0;
  pointer-events: none;
  transition: width 0.3s, height 0.3s, opacity 0.3s;
}
.cta:active::after, .btn:active::after, button:active::after {
  width: 140px;
  height: 140px;
  left: 50%;
  top: 50%;
  opacity: 1;
  transform: translate(-50%, -50%);
  transition: 0s;
}
/* Accent shadow hover effect for cards */
.card:hover, .feature-item:hover {
  box-shadow: 0 8px 42px 0 rgba(236,164,0,0.1);
}
/* -----------------------------------------------------------
   FORMS (if present in the future)
----------------------------------------------------------- */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  border: 1px solid #dee1ed;
  border-radius: 6px;
  padding: 12px 13px;
  background: #fff;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid #ECA400;
  border-color: #ECA400;
}

/* -----------------------------------------------------------
   ACCESSIBILITY & FOCUS
----------------------------------------------------------- */
:focus-visible {
  outline: 2px solid #ECA400;
  outline-offset: 1px;
}
/* -----------------------------------------------------------
   SCROLLBAR FOR DESKTOP
----------------------------------------------------------- */
html::-webkit-scrollbar {
  width: 10px;
  background-color: #e6eaf5;
}
html::-webkit-scrollbar-thumb {
  background: #232C44;
  border-radius: 18px;
}

/* -----------------------------------------------------------
   SPACE BETWEEN SECTIONS & CARDS
----------------------------------------------------------- */
section, .section {
  margin-bottom: 60px;
  padding: 0;
}
section:last-child, .section:last-child {
  margin-bottom: 0;
}
.card, .feature-item, .testimonial-card {
  margin-bottom: 20px;
}
.content-wrapper, .content-grid, .card-container {
  gap: 20px;
}

/* -----------------------------------------------------------
   Z-INDEX ADJUST FOR OVERLAP (MOBILE MENU, COOKIE)
----------------------------------------------------------- */
.mobile-menu { z-index: 400; }
.cookie-banner { z-index: 9999; }
.cookie-modal { z-index: 10001; }
header { z-index: 100; }

/* -----------------------------------------------------------
   PRINT OVERRIDE
----------------------------------------------------------- */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body { color: #232C44; background: #fff; }
}
