/* CSS RESET & NORMALIZE (Mobile-first) */
html {
  box-sizing: border-box;
  font-size: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F9F9FB;
  color: #22334E;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}
a {
  color: #22334E;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F4973E;
  outline: none;
}
ul, ol {
  padding-left: 1.2em;
}
li+li {
  margin-top: 8px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #22334E;
  margin-bottom: 16px;
  line-height: 1.15;
}
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.125rem; }

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

/* HEADER & NAVIGATION */
header {
  background: linear-gradient(90deg, #22334E 60%, #F4973E 100%);
  color: #F9F9FB;
  box-shadow: 0 2px 8px rgba(34,51,78,0.04);
  position: relative;
  z-index: 40;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
}
.main-nav a {
  color: #F9F9FB;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.2s;
  letter-spacing: 0.01em;
  padding: 6px 8px;
  border-radius: 6px;
  position: relative;
}
.main-nav a.cta {
  background: #F4973E;
  color: #22334E;
  padding: 8px 18px;
  border-radius: 24px;
  margin-left: 8px;
  box-shadow: 0 2px 8px rgba(244,151,62,0.07);
  font-weight: bold;
  transition: background 0.2s, color 0.2s;
}
.main-nav a.cta:hover, .main-nav a.cta:focus {
  background: #22334E;
  color: #F4973E;
}
.main-nav a:hover, .main-nav a:focus {
  color: #F4973E;
  background: rgba(255,255,255,0.08);
}
.main-nav img {
  height: 34px;
  margin-right: 12px;
}
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F4973E;
  color: #22334E;
  border: none;
  border-radius: 7px;
  font-size: 1.7rem;
  padding: 7px 15px;
  box-shadow: 0 2px 8px rgba(244,151,62,0.07);
  margin-left: auto;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  z-index: 104;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #22334E;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #22334E;
  color: #fff;
  z-index: 110;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.8,.3,.3,1.07);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 32px;
  padding-left: 0;
  width: 100%;
  max-width: 400px;
  box-shadow: -4px 0 32px rgba(34,51,78,0.21);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2rem;
  margin-left: auto;
  margin-right: 26px;
  cursor: pointer;
  padding: 8px 8px 4px 8px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 16px;
  padding: 22px 36px 0 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  color: #F9F9FB;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  transition: color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #F4973E;
}

@media (min-width: 920px) {
  .mobile-menu-toggle,
  .mobile-menu {
    display: none !important;
  }
}
@media (max-width: 919px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* HERO SECTION */
.hero {
  background: linear-gradient(100deg, #22334E 68%, #F4973E 108%);
  color: #fff;
  border-radius: 0 0 36px 36px;
  box-shadow: 0 6px 19px 0 rgba(34,51,78,.08);
  margin-bottom: 36px;
}
.hero .container {
  padding-top: 44px;
  padding-bottom: 44px;
  display: flex;
  flex-direction: column;
}
.hero h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 24px;
  color: #fff;
  max-width: 600px;
}
.hero .cta {
  background: #F4973E;
  color: #22334E;
  border: none;
  border-radius: 24px;
  padding: 13px 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  box-shadow: 0 3px 16px rgba(244,151,62,0.09);
  transition: background 0.19s, color 0.17s, box-shadow 0.22s;
  cursor: pointer;
  letter-spacing: 0.01em;
  text-decoration: none;
  display: inline-block;
}
.hero .cta:hover, .hero .cta:focus {
  background: #fff;
  color: #22334E;
  box-shadow: 0 5px 24px rgba(244,151,62,0.19);
  outline: none;
}

/* SECTION AND CONTENT LAYOUTS */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 3px 14px 0 rgba(34,51,78,.04);
}
section:last-of-type { margin-bottom: 0; }
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.categories {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 28px;
  margin-top: 6px;
}
.categories > div {
  background: #F9F9FB;
  border-radius: 18px;
  box-shadow: 0 3px 10px 0 rgba(34,51,78,.04);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-width: 220px;
  flex: 1 1 162px;
}
.categories h3 {
  font-size: 1.16rem;
  margin-bottom: 3px;
}
.categories p {
  font-size: 0.97rem;
}
.categories a {
  display: inline-block;
  margin-top: 6px;
  color: #F4973E;
  font-weight: 700;
  letter-spacing: 0.01em;
  font-size: 1.01rem;
  transition: color 0.2s;
}
.categories a:hover, .categories a:focus { color: #22334E; }

@media (min-width: 700px) {
  .categories {
    flex-direction: row;
    gap: 36px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(34,51,78,.05);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 220px;
  flex: 1 1 240px;
  overflow: hidden;
  transition: box-shadow 0.21s;
}
.card:hover {
  box-shadow: 0 5px 18px 0 rgba(34,51,78,.14);
  z-index: 2;
}

.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;
}
.text-section {
  flex: 1 1 200px;
  min-width: 240px;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .hero .container {
    padding-top: 32px;
    padding-bottom: 32px;
  }
  .section, section {
    padding: 26px 10px;
  }
  .categories {
    gap: 18px;
  }
  .content-grid,
  .card-container {
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* Typography scale */
body, input, button,
select, textarea {
  font-size: 16px;
}
h1 { font-size: 2.2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.18rem; }
p, li {
  font-size: 1rem;
  color: #22334E;
}
.testimonial-author {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 6px;
  color: #22334E;
}
@media (max-width: 480px) {
  h1 { font-size: 1.38rem; }
  h2 { font-size: 1.13rem; }
}

/* BUTTON STYLES */
button, .cta {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #F4973E;
  color: #22334E;
  border: none;
  border-radius: 22px;
  padding: 11px 24px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
  box-shadow: 0 2px 8px rgba(244,151,62,0.09);
}
button:hover, button:focus, .cta:hover, .cta:focus {
  background: #22334E !important;
  color: #F4973E !important;
  box-shadow: 0 5px 20px rgba(34,51,78,0.10);
  outline: none;
}

input[type="email"], input[type="text"], textarea {
  font-family: 'Open Sans', Arial, sans-serif;
  border-radius: 12px;
  border: 1px solid #d2d7e6;
  padding: 11px 15px;
  margin-right: 14px;
  font-size: 1rem;
  margin-top: 6px;
  margin-bottom: 9px;
  transition: border-color 0.18s;
}
input[type="email"]:focus,
input[type="text"]:focus,
textarea:focus {
  border-color: #F4973E;
  outline: none;
}

form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}
form button {
  align-self: flex-start;
}
@media (min-width: 540px) {
  form {
    flex-direction: row;
    align-items: center;
    gap: 18px;
  }
  form button {
    margin-top: 0;
  }
}

/* TESTIMONIALS */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F9F9FB;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(34,51,78,0.07);
  margin-bottom: 20px;
  min-width: 240px;
  max-width: 680px;
  flex: 1 1 320px;
  color: #22334E;
  position: relative;
}
.testimonial-card p {
  margin-bottom: 0px;
  color: #22334E;
  font-size: 1.07rem;
  max-width: 340px;
}
.testimonial-card .testimonial-author {
  margin-left: 14px;
  color: #22334E;
  font-weight: 500;
}
.testimonial-card img {
  height: 20px;
  width: 20px;
  display: inline-block;
}
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
  }
}

/* FOOTER */
footer {
  background: linear-gradient(91deg, #22334E 70%, #F4973E 100%);
  color: #F9F9FB;
  border-radius: 36px 36px 0 0;
  box-shadow: 0 -7px 14px 0 rgba(34,51,78,.10);
  padding: 40px 0 16px 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 29px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 10px;
}
.footer-menu a {
  color: #F9F9FB;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.23s;
  font-weight: 500;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #F4973E;
}
.footer-contact {
  color: #F9F9FB;
  font-size: 0.98rem;
  line-height: 1.7;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-contact img {
  vertical-align: middle;
  margin-right: 7px;
  margin-bottom: -3px;
  width: 18px;
  height: 18px;
}
.footer-brand {
  color: #F4973E;
  font-weight: 600;
  margin-top: 13px;
  font-size: 1rem;
}
@media (max-width: 800px) {
  footer .container {
    gap: 18px;
    padding-left: 0; padding-right: 0;
  }
  .footer-menu {
    gap: 11px;
    flex-wrap: wrap;
  }
  .footer-contact {
    gap: 10px;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* FEATURE ITEM (example for index landing page) */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  background: #F9F9FB;
  padding: 18px 22px;
  border-radius: 13px;
  box-shadow: 0 2px 12px rgba(34,51,78,0.04);
}

/* MODALS & BANNERS (COOKIE CONSENT) */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100%;
  background: #22334E;
  color: #fff;
  padding: 26px 20px 21px 20px;
  z-index: 1600;
  box-shadow: 0 -2px 16px 0 rgba(34,51,78,.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  font-size: 1rem;
  transition: transform 0.34s cubic-bezier(.45,.05,.62,1.3);
}
.cookie-consent-banner.hide {
  transform: translateY(140%);
  pointer-events: none;
  opacity: 0;
}
.cookie-consent-banner .cookie-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.cookie-consent-banner button {
  min-width: 110px;
  padding: 9px 22px;
  font-size: 1rem;
  border-radius: 18px;
  border: none;
  margin-left: 0;
  margin-right: 0;
  cursor: pointer;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  background: #F4973E;
  color: #22334E;
  box-shadow: 0 1px 8px rgba(244,151,62,0.07);
  transition: background 0.17s, color 0.13s;
}
.cookie-consent-banner button.secondary {
  background: #F9F9FB;
  color: #22334E;
}
.cookie-consent-banner button:focus {
  outline: 2px solid #F4973E;
}
.cookie-consent-banner button:hover {
  background: #22334E;
  color: #F4973E;
}

/* COOKIE MODAL OVERLAY */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 1700;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34,51,78,.46);
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: #22334E;
  border-radius: 21px;
  padding: 32px 26px 36px 26px;
  min-width: 330px;
  max-width: 98vw;
  box-shadow: 0 7px 26px 0 rgba(34,51,78,0.14);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookiePopIn 0.38s cubic-bezier(.4,1.3,.5,1) 1;
}
@keyframes cookiePopIn {
  0% { transform: scale(0.93) translateY(80px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  margin-bottom: 9px;
  font-size: 1.26rem;
}
.cookie-modal .cookie-cat {
  padding: 11px 0;
  border-bottom: 1px solid #e6e9f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cookie-modal .cookie-cat:last-of-type {
  border-bottom: none;
}
.cookie-modal label {
  font-size: 1rem;
  cursor: pointer;
}
.cookie-modal .toggle {
  /* Simple toggle styled as a switch */
  width: 37px;
  height: 21px;
  border-radius: 15px;
  background: #e0e3f0;
  position: relative;
  transition: background 0.18s;
  margin-left: 9px;
  display: inline-block;
}
.cookie-modal .toggle input {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-modal .toggle span {
  position: absolute;
  left: 2px; top: 2px;
  width: 17px;
  height: 17px;
  background: #F4973E;
  border-radius: 99px;
  transition: transform 0.19s, background 0.17s;
}
.cookie-modal .toggle input:checked + span {
  transform: translateX(16px);
  background: #22334E;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: flex-end;
}
.cookie-modal button {
  padding: 9px 22px;
  border-radius: 17px;
  background: #F4973E;
  color: #22334E;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.14s;
  box-shadow: 0 2px 6px rgba(244,151,62,0.07);
}
.cookie-modal button.secondary {
  background: #e6e9f0;
  color: #22334E;
}
.cookie-modal button:hover {
  background: #22334E;
  color: #F4973E;
}
.cookie-modal .close-modal {
  position: absolute;
  right: 15px;
  top: 13px;
  background: transparent;
  border: none;
  font-size: 1.7rem;
  color: #22334E;
  cursor: pointer;
  line-height: 1;
  padding: 3px 10px 5px 10px;
}

/* Utilities */
.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }
.mt-16 { margin-top: 16px; }
.mb-16 { margin-bottom: 16px; }
.rounded { border-radius: 16px; }
.shadow { box-shadow: 0 2px 15px rgba(34,51,78,0.07); }

/* Responsive adjustments */
@media (max-width: 600px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .cookie-consent-banner {
    padding: 14px 3vw 14px 3vw;
    font-size: 0.98rem;
  }
  .cookie-modal {
    min-width: 0;
    padding: 18px 9px 24px 9px;
    max-width: 95vw;
  }
}

/* Hide visually but available for screen readers */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Focus outline for accessibility */
:focus-visible {
  outline: 2px solid #F4973E !important;
  outline-offset: 2px;
}

/* Animate appearance */
.fade-in {
  animation: fadeIn 0.36s cubic-bezier(.32,1.2,.45,1.16) 1;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 9px;
  background: #e6e6ee;
}
::-webkit-scrollbar-thumb {
  background: #22334E;
  border-radius: 7px;
}

/* --- END OF CSS --- */
