/* -------------------------------
   CSS RESET & BASELINE
------------------------------- */
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, main, 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;
}
html {
  box-sizing: border-box;
  -webkit-text-size-adjust: none;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #F8FAFC;
  color: #14213D;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}
img, svg {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #14213D;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #FCA311;
  outline-offset: 2px;
}
ul, ol {
  padding-left: 1.2em;
  margin-bottom: 1.3em;
}
strong {
  font-weight:600;
}

/* -------------------------------
   BRAND FONTS
------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Roboto:wght@400;500;700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #14213D;
  margin-bottom: 0.7em;
  line-height: 1.18;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  letter-spacing: -1px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  font-weight: 600;
}
.subheadline {
  font-size: 1.1rem;
  color: #222C47;
  margin-bottom: 24px;
  line-height: 1.5;
}
@media (max-width: 480px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.25rem; }
}

/* -------------------------------
  LAYOUT: CONTAINER/PAGE SECTIONS
------------------------------- */
.container {
  width: 100%;
  max-width: 1130px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 32px 0 rgba(20, 33, 61, 0.045);
}

/* -------------------------------
   HERO SECTIONS
------------------------------- */
.hero {
  background: linear-gradient(100deg, #14213D 0%, #4961C2 51%, #FCA311 110%);
  background-size: 200% 100%;
  color: #fff;
  padding: 64px 0 56px 0;
  position: relative;
  overflow: hidden;
  margin-bottom: 60px;
}
.hero .container {
  align-items: flex-start;
}
.hero .content-wrapper {
  max-width: 650px;
  align-items: flex-start;
  gap: 20px;
}
.hero h1, .hero h2, .hero h3 {
  color: #fff !important;
}
.hero .subheadline {
  color: #E5E5E5;
}
.hero .cta.primary {
  margin-top: 14px;
}

/* -------------------------------
   FLEXBOX PATTERNS & CARD LAYOUTS
------------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 14px 0 rgba(20,33,61, 0.055);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.23s;
}
.card:hover {
  box-shadow: 0 6px 32px 0 rgba(20,33,61, 0.15);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 24px 24px 16px 24px;
}

.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: 10px;
  background: #F7F7F9;
  color: #222C47;
  padding: 20px;
  border-radius: 18px;
  box-shadow: 0 2.5px 13px 0 rgba(20,33,61,0.06);
  margin-bottom: 20px;
  min-width: 270px;
  max-width: 500px;
}
.testimonial-card p {
  font-size: 1.08rem;
  margin-bottom: 4px;
}
.testimonial-card span {
  color: #FCA311;
  font-weight: 500;
  font-size: 0.99em;
  margin-top: 6px;
  letter-spacing: 0.04em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* -------------------------------
   FEATURE GRIDS
------------------------------- */
.features {
  background: linear-gradient(109deg, #F9FAFB 60%, #E9EDFC 100%);
  margin-bottom: 60px;
  border-radius: 22px;
}
.features .container {
  gap: 0;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 30px;
}
.feature {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 9px 0 rgba(20,33,61,0.045);
  flex: 1 1 240px;
  min-width: 212px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 29px 22px 22px 22px;
  gap: 14px;
  margin-bottom: 20px;
  transition: box-shadow 0.22s, transform 0.2s;
  position: relative;
}
.feature:hover {
  box-shadow: 0 5px 32px 0 rgba(20,33,61,0.13);
  transform: translateY(-4px) scale(1.025);
}
.feature img {
  width: 44px;
  height: 44px;
  margin-bottom: 7px;
}
.feature h3 {
  font-size: 1.17rem;
  color: #14213D;
}

/* -------------------
   BUTTONS & LINKS
-------------------- */
.cta {
  display: inline-block;
  border-radius: 30px;
  padding: 13px 32px;
  font-size: 1.09rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  transition: background 0.23s, color 0.23s, box-shadow 0.23s, border 0.17s;
  box-shadow: 0 2.5px 13px 0 rgba(20,33,61,0.09);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  margin-top: 8px;
  cursor: pointer;
}
.cta.primary {
  background: #FCA311;
  color: #fff;
  border: none;
}
.cta.primary:hover, .cta.primary:focus {
  background: #14213D;
  color: #FCA311;
}
.cta.secondary {
  background: #fff;
  color: #14213D;
  border: 2px solid #14213D;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #14213D;
  color: #fff;
}
nav a.cta.primary {
  margin-left: 13px;
}

/* ----------------------
   NAVIGATION & HEADER
------------------------ */
header {
  background: #fff;
  box-shadow: 0 2px 7px 0 rgba(20,33,61,0.07);
  position: relative;
  z-index: 301;
}
header .container {
  flex-direction: row;
  gap: 0;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}
.logo img {
  height: 48px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  margin-left: 32px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  padding: 9px 13px;
  border-radius: 19px;
  color: #14213D;
  transition: color 0.15s, background 0.20s;
}
.main-nav a:hover:not(.cta), .main-nav a:focus:not(.cta) {
  background: #FCA31111;
  color: #FCA311;
}

/* ----------------------
    FOOTER
----------------------- */
footer {
  background: #14213D;
  color: #fff;
  padding: 52px 0 30px 0;
  margin-top: 60px;
}
footer .container {
  flex-direction: column;
  gap: 24px;
}
.footer-menu {
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin-bottom: 18px;
}
.footer-menu a {
  color: #FCA311;
  font-weight: 500;
  font-size: 1.02rem;
  text-decoration: underline;
  transition: color 0.19s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #fff;
}
.footer-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}
.footer-brand img {
  width: 46px;
  height: 46px;
  display: block;
}
.footer-brand span {
  font-size: 1.05rem;
  color: #F4F4F4;
  opacity: 0.93;
}

/* -------------------------------
   CONTACT DETAILS BLOCK
------------------------------- */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.contact-details p {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1rem;
  color: #14213D;
}
.contact-details img {
  width: 22px;
  height: 22px;
}

/* -------------------------------
   ABOUT & LEGAL PAGES
------------------------------- */
.about {
  margin-bottom: 60px;
  background: none !important;
  border-radius: 0px !important;
}
.legal {
  margin-bottom: 60px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 32px 0 rgba(20,33,61,0.045);
  padding: 41px 21px;
}
.legal h1, .legal h2, .legal h3 {
  color: #14213D;
}

/* -------------------------------
   SERVICES SECTION
------------------------------- */
.services {
  background: #FDFAF1;
  border-radius: 20px;
  margin-bottom: 60px;
}
.services .content-wrapper {
  gap: 16px;
}
.services ul{
    margin-bottom: 17px;
}

/* -------------------------------
   THANK-YOU PAGE
------------------------------- */
.thank-you {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 62vh;
}

/* -------------------------------
   RESPONSIVE DESIGN
------------------------------- */
@media (max-width: 1120px){
  .container { max-width: 97vw; }
}
@media (max-width: 900px){
  .feature-grid {
    flex-direction: column;
    align-items: stretch;
  }
  .features .container, .about .container, .services .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 820px) {
  .main-nav { gap: 8px; }
  .footer-menu { gap: 12px; }
}
@media (max-width: 768px){
  .container { padding: 0 6vw; }
  .main-nav { display: none !important; }
  .mobile-menu-toggle { display: block!important; }
  .footer-menu { flex-direction: column; gap: 7px; align-items: flex-start; }
  .text-image-section { flex-direction: column; gap: 17px; }
  .feature-grid { flex-direction: column; gap: 20px; }
}
@media (max-width: 650px){
  .hero { padding: 38px 0; }
  .section, .legal { padding: 24px 6vw; }
  .footer-brand { flex-direction: column; align-items: flex-start; gap: 7px; }
}
@media (max-width: 480px){
  .container { padding: 0 3vw; }
  .section, .legal { padding: 12px 2vw; }
}

/* -------------------------------
   MOBILE BURGER MENU
------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.17rem;
  color: #14213D;
  margin-left: 13px;
  cursor: pointer;
  z-index: 1004;
  transition: color 0.22s;
}
.mobile-menu-toggle:focus {
  color: #FCA311;
  outline: 2px solid #FCA311;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: #fff;
  z-index: 1100 !important;
  display: flex;
  flex-direction: column;
  transform: translateX(105vw);
  transition: transform 0.38s cubic-bezier(.71,0,.38,1.01);
  box-shadow: 0 8px 38px 0 rgba(20,33,61,0.20);
}
.mobile-menu.open {
  transform: translateX(0vw);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.3rem;
  color: #14213D;
  align-self: flex-end;
  margin: 21px 20px 0 0;
  cursor: pointer;
  z-index: 1102;
  transition: color 0.22s;
}
.mobile-menu-close:focus {
  color: #FCA311;
  outline: 2px solid #FCA311;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 16px;
  gap: 20px;
  padding: 18px 0 0 34px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.21rem;
  font-weight: 600;
  color: #14213D;
  border-radius: 19px;
  padding: 11px 17px;
  transition: background 0.2s, color 0.2s;
  width: 95vw;
  max-width: 335px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FCA31118;
  color: #FCA311;
}

/* Hide scroll when mobile menu is open */
body.menu-open {
  overflow: hidden;
}

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

/* -------------------------------
   COOKIE CONSENT BANNER
------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  width: 100vw;
  background: #14213D;
  color: #fff;
  padding: 22px 20px;
  z-index: 1200 !important;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  box-shadow: 0 -6px 22px 0 rgba(20,33,61, 0.23);
  gap: 36px;
  transition: transform 0.35s cubic-bezier(.77,.07,.27,1.02);
}
.cookie-banner.hide {
  transform: translateY(110%);
}
.cookie-banner__text {
  font-size: 1rem;
  color: #fff;
  margin-right: 21px;
  max-width: 420px;
  line-height: 1.32;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-btn {
  background: #FCA311;
  color: #fff;
  border: none;
  border-radius: 21px;
  padding: 10px 25px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  margin-left: 0;
  box-shadow: 0 2.5px 13px 0 rgba(20,33,61,0.075);
  cursor: pointer;
  transition: background 0.21s, color 0.21s, box-shadow 0.20s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #fff;
  color: #FCA311;
  outline: 2px solid #FCA311;
}
.cookie-btn.settings {
  background: #fff;
  color: #14213D;
  border: 1.5px solid #E5E5E5;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  color: #fff;
  background: #14213D;
}

@media (max-width: 700px){
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 20px 12px;
  }
  .cookie-banner__text {
    margin-right: 0;
    max-width: none;
  }
}

/* -----------------------
   COOKIE CONSENT MODAL
------------------------ */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1220;
  left: 0; right: 0; top: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(20,33,61, 0.27);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.21s;
}
.cookie-modal-overlay.open {
  pointer-events: all;
  opacity: 1;
}
.cookie-modal {
  background: #fff;
  color: #14213D;
  border-radius: 18px;
  box-shadow: 0 4px 32px 0 rgba(20,33,61,0.16);
  padding: 40px 32px 28px 32px;
  max-width: 442px;
  width: 90vw;
  min-width: 270px;
  z-index: 1221;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  animation: fadeInModal .33s cubic-bezier(.63,-0.025,.44,1.26);
}
@keyframes fadeInModal{
  from{ opacity:0; transform: scale(0.96) translateY(45px); }
  to{ opacity:1; transform: scale(1) translateY(0); }
}
.cookie-modal h3 {
  margin-bottom: 8px;
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 13px;
}
.cookie-modal .category-info {
  flex: 1;
}
.cookie-modal .category-toggle {
  width: 44px;
  height: 24px;
  background: #E5E5E5;
  border-radius: 17px;
  position: relative;
  cursor: pointer;
  margin-left: 16px;
}
.cookie-modal .category-toggle input {
  display: none;
}
.cookie-modal .toggle-slider {
  position: absolute;
  height: 20px;
  width: 20px;
  top: 2px;
  left: 2px;
  background: #fff;
  border-radius: 50%;
  transition: left .19s cubic-bezier(.5,0,.5,1), background 0.28s;
  box-shadow: 0 1.5px 5px 0 #cccccc22;
}
.cookie-modal .category-toggle input:checked + .toggle-slider {
  left: 22px;
  background: #FCA311;
}
.cookie-modal .category[aria-disabled='true'] {
  opacity: 0.68;
  pointer-events: none;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 19px;
}
.cookie-modal .cookie-btn {
  padding: 10px 22px;
  font-size: 0.98rem;
}
.cookie-modal-close {
  position: absolute;
  top: 10px; right: 10px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #14213D;
  cursor: pointer;
}
.cookie-modal-close:focus {
  color: #FCA311;
  outline: 2px solid #FCA311;
}

@media (max-width: 480px) {
  .cookie-modal { padding: 23px 8px 17px 8px; max-width: 97vw; }
}

/* -------------------------------
  LISTS, UL/OL
------------------------------- */
ul {
  margin-bottom: 14px;
}
ul li {
  margin-bottom: 8px;
}

/* -------------------------------
   SPACING & GAPS
------------------------------- */
section, .section {
  margin-bottom: 60px;
  padding-top: 0;
  padding-bottom: 0;
}
.feature, .card, .testimonial-card, .feature-item {
  margin-bottom: 20px !important;
}
.content-grid, .feature-grid, .card-container {
  gap: 24px !important;
}

/* -------------------------------
   SHADOWS & MODERN EFFECTS
------------------------------- */
.card, .feature, .testimonial-card, .cookie-modal {
  box-shadow: 0 3px 14px 0 rgba(20,33,61, 0.07);
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover, .feature:hover {
  box-shadow: 0 8px 32px 0 rgba(20,33,61, 0.11);
  transform: translateY(-4px) scale(1.01);
}

/* -------------------------------
   TYPING ENHANCEMENTS & ANIMATIONS
------------------------------- */
.cta, .cookie-btn {
  transition: background 0.21s, color 0.21s, box-shadow 0.18s, border 0.13s;
}
.feature, .feature-grid, .testimonial-card, .cookie-banner, .cookie-modal {
  transition: all .22s cubic-bezier(.67,-0.12,.55,1.2);
}

/* -------------------------------
   MISC SMALL UTILITIES
------------------------------- */
::-webkit-scrollbar {
  width: 9px;
  background: #E5E5E5;
}
::-webkit-scrollbar-thumb {
  background: #FCA311;
  border-radius: 6px;
}
::selection {
  background: #FCA31133;
  color: #14213D;
}

/* Hide visually, not from screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* -------------------------------
   END OF STYLE.CSS
------------------------------- */
