/* --- CSS RESET & FONT IMPORTS --- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

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,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:inherit; box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background: #FAFAFA;
  color: #183153;
  min-height: 100vh;
  line-height: 1.65;
}
img {
  display: block; max-width: 100%; height: auto;
}
ul,ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 10px;
}
a {
  color: #F8B400;
  text-decoration: none;
  transition: color 0.2s;
  outline: none;
}
a:hover, a:focus {
  color: #183153;
  text-decoration: underline;
}
button {
  font-family: inherit; border: none; background: none; cursor: pointer; outline: none;
}

/* --- TYPOGRAPHY / HEADERS / TEXT --- */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  line-height: 1.15;
}
h1 {
  font-size: 2.5rem;
  color: #183153;
  margin-bottom: 20px;
  text-shadow: 0 3px 10px rgba(248,180,0,0.07);
  letter-spacing: -1px;
}
h2 {
  font-size: 2rem;
  color: #141B30;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  color: #F8B400;
  font-weight: bold;
  margin-bottom: 8px;
}

strong { font-weight: 700; color: #183153; }
p {
  margin-bottom: 16px;
  font-size: 1rem;
  color: #222E4F;
}
.text-section p, .text-section ul, .text-section ol {
  font-size: 1.07rem;
}

/* --- GLOBAL LAYOUT CONTAINERS --- */
.container {
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
  padding: 0 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* --- MAIN NAVIGATION / HEADER --- */
header {
  background: #fff;
  box-shadow: 0 4px 24px rgba(24,49,83, 0.05);
  padding: 0 0 0 0;
  position: relative;
  z-index: 100;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  padding: 10px 0 10px 0;
  font-family: 'Montserrat', Arial, sans-serif;
}
.main-nav img {
  height: 48px;
  width: auto;
  margin-right: 18px;
}
.main-nav a {
  font-size: 1rem;
  font-weight: 600;
  color: #183153;
  border-radius: 18px;
  padding: 8px 16px;
  transition: background 0.12s, color 0.1s;
  text-align: center;
}
.main-nav a.cta-button {
  background: #F8B400;
  color: #fff;
  font-weight: 900;
  font-size: 1.08rem;
  margin-left: 10px;
  border-radius: 22px;
  box-shadow: 0 2px 10px rgba(248,180,0,0.07);
  transition: box-shadow .2s, background 0.18s;
  letter-spacing: 0.03em;
}
.main-nav a.cta-button:hover, .main-nav a.cta-button:focus {
  background: #183153;
  color: #F8B400;
  box-shadow: 0 6px 18px rgba(24,49,83,0.12);
}
.main-nav a:hover, .main-nav a:focus {
  background: #F8B40033;
  color: #FA9600;
}

/* --- MOBILE MENU / BURGER MENU --- */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 2rem;
  color: #183153;
  background: #F8B400;
  border-radius: 50%;
  width: 44px; height: 44px;
  justify-content: center;
  align-items: center;
  z-index: 110;
  transition: box-shadow .15s;
  box-shadow: 0 3px 8px rgba(24,49,83,0.11);
}
.mobile-menu-toggle:active {
  box-shadow: 0 2px 5px rgba(248,180,0,0.13);
}
.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(24,49,83, 0.94);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.77,0,0.175,1);
  z-index: 999;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  color: #fff;
  background: #F8B400;
  font-size: 2rem;
  border-radius: 40px;
  margin: 18px 22px 0 0;
  width: 44px; height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: flex-end;
  box-shadow: 0 3px 10px rgba(248,180,0,0.15);
  transition: background 0.15s;
}
.mobile-menu-close:hover {
  background: #183153;
  color: #F8B400;
}
.mobile-nav {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
  align-items: center;
}
.mobile-nav a {
  font-size: 1.22rem;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 14px 36px;
  border-radius: 16px;
  width: 90%;
  display: flex;
  justify-content: center;
  background: transparent;
  transition: background 0.08s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F8B400;
  color: #183153;
}

/* --- HERO SECTION --- */
section:first-of-type .content-wrapper {
  min-height: 340px;
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
}

/* --- FEATURE GRID --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 14px;
  justify-content: space-between;
}
.feature-grid > div {
  background: #fff;
  border-radius: 23px;
  box-shadow: 0 5px 20px rgba(24,49,83,0.09);
  padding: 26px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  min-width: 220px;
  flex: 1 1 220px;
  transition: transform 0.17s, box-shadow 0.19s;
  position: relative;
  margin-bottom: 20px;
}
.feature-grid > div:hover {
  box-shadow: 0 18px 38px rgba(248,180,0,0.13), 0 4px 24px rgba(24,49,83,0.07);
  transform: translateY(-4px) scale(1.04) rotate(-1deg);
}
.feature-grid img {
  display: block;
  width: 40px; height: 40px;
  margin-bottom: 6px;
  animation: bounce 1.7s infinite alternate cubic-bezier(0.2,0.8,0.4,1.0);
}
@keyframes bounce {
  from { transform: translateY(0); }
  to   { transform: translateY(-8px); }
}

/* --- CTA BUTTON STYLES --- */
.cta-button {
  background: #F8B400;
  color: #fff;
  font-weight: 800;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  padding: 14px 32px;
  border-radius: 40px;
  box-shadow: 0 3px 14px rgba(248,180,0,0.11);
  transition: background 0.17s, color 0.19s, box-shadow 0.22s, transform .12s;
  margin-top: 6px;
  display: inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: #183153;
  color: #F8B400;
  box-shadow: 0 10px 22px rgba(24,49,83,0.17);
  transform: scale(1.06) rotate(-1.5deg);
}


/* --- TESTIMONIALS (CARDS) --- */
.testimonial-card {
  background: #fffbea;
  border-radius: 18px;
  box-shadow: 0 5px 22px rgba(24,49,83,0.07);
  color: #1B223C;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  min-width: 0;
  position: relative;
  border-left: 7px solid #F8B400;
  font-size: 1.08rem;
  transition: box-shadow 0.17s, transform 0.12s;
}
.testimonial-card p {
  color: #141B30;
  margin: 0;
  flex: 1 1 auto;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
}
.testimonial-card span {
  font-size: 0.97rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #183153;
  font-weight: 600;
  padding-left: 12px;
  white-space: nowrap;
}

.testimonial-card:hover {
  box-shadow: 0 14px 36px rgba(248,180,0,0.18);
  transform: scale(1.01) rotate(-1deg);
}

/* --- CARDS GENERIC --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  border-radius: 22px;
  box-shadow: 0 6px 20px rgba(24,49,83,0.09);
  background: #fff;
  position: relative;
  transition: box-shadow 0.18s, transform 0.09s;
  min-width: 260px;
}
.card:hover {
  box-shadow: 0 12px 30px rgba(248,180,0,0.11);
  transform: translateY(-3px) scale(1.025);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 16px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* --- TABLE STYLES --- */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  box-shadow: 0 2px 10px rgba(24,49,83,0.05);
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 14px;
}
thead {
  background: #fffbea;
}
th, td {
  padding: 16px 18px;
  font-size: 1.04rem;
  text-align: left;
  border-bottom: 1.5px solid #F8B40011;
}
th {
  color: #183153;
  font-weight: 700;
  background: #fffbea;
}
tr:last-child td {
  border-bottom: none;
}

/* --- FOOTER --- */
footer {
  background: #183153;
  color: #fff;
  margin-top: 34px;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 0px 24px rgba(24,49,83,0.08);
  padding: 30px 0 22px 0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.footer-nav a {
  color: #F8B400;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 16px;
  background: #183153;
  transition: color 0.14s, background 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #F8B400;
  color: #183153;
}
.footer-copy {
  text-align: center;
  font-size: 0.97rem;
  margin-top: 6px;
  opacity: 0.83;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #183153;
  color: #fff;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 22px 26px 22px 22px;
  box-shadow: 0 -4px 30px rgba(24,49,83,0.16);
  z-index: 2000;
  border-radius: 22px 22px 0 0;
  transition: transform 0.4s;
  font-size: 1.06rem;
  animation: banner-slidein .6s cubic-bezier(0.07,1,0.34,1.17);
}
@keyframes banner-slidein {
  from { transform: translateY(88px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  flex: 2 1 320px;
}
.cookie-banner__actions {
  display: flex;
  gap: 16px;
  flex: 1 1 200px; min-width: 200px;
}
.cookie-btn {
  background: #F8B400;
  color: #183153;
  border-radius: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 22px;
  font-size: 1rem;
  font-weight: 700;
  transition: background .13s, color .14s, box-shadow .15s;
  box-shadow: 0 2px 10px rgba(248,180,0,0.13);
  margin-right: 2px;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #fff;
  color: #F8B400;
  box-shadow: 0 5px 18px #F8B40033;
}
.cookie-btn--settings {
  background: #fff;
  color: #F8B400;
  border: 1.5px solid #F8B400;
}
.cookie-btn--settings:hover {
  background: #F8B400;
  color: #183153;
}

/* --- COOKIE MODAL --- */
.cookie-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -100vh);
  background: #fff;
  color: #183153;
  z-index: 3000;
  min-width: 340px;
  max-width: 98vw;
  border-radius: 32px;
  box-shadow: 0 10px 44px rgba(24,49,83,0.21);
  padding: 34px 26px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  pointer-events: none;
  opacity: 0;
  transition: transform 0.37s cubic-bezier(0.39,1.21,0.22,1), opacity 0.24s;
}
.cookie-modal.open {
  transform: translate(-50%, -54%);
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal h3 {
  color: #F8B400;
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.08rem;
  margin-bottom: 8px;
  user-select: none;
  cursor: pointer;
}
.cookie-toggle {
  width: 39px; height: 22px;
  appearance: none;
  background: #ddd;
  border-radius: 15px;
  outline: 0;
  transition: background .18s;
  position: relative;
}
.cookie-toggle:checked {
  background: #F8B400;
}
.cookie-toggle::-webkit-slider-thumb {
  appearance: none;
}
.cookie-toggle::after {
  content: '';
  display: block;
  position: absolute;
  left: 5px; top: 4px;
  width: 15px; height: 14px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 4px #18315322;
  transition: left .18s;
}
.cookie-toggle:checked::after {
  left: 19px;
}
.cookie-modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
}
.cookie-modal__close {
  position: absolute;
  top: 14px; right: 16px;
  font-size: 1.5rem;
  background: transparent;
  color: #F8B400;
  border: none;
  cursor: pointer;
  padding: 0;
}
.cookie-modal__close:hover {
  color: #183153;
}

/* --- GENERIC UTILITIES --- */
.mb-0  { margin-bottom: 0     !important; }
.mb-10 { margin-bottom: 10px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-32 { margin-bottom: 32px !important; }
.mt-20 { margin-top: 20px !important; }
.mt-30 { margin-top: 30px !important; }

/* --- SPACING FOR ALL CONTENT CARDS AND SECTIONS --- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container, .content-grid, .feature-grid, .text-image-section {
  gap: 20px;
}
.card, .feature-grid > div, .testimonial-card {
  margin-bottom: 20px;
}

/* --- FORMS, INPUTS, LABELS --- */
input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 12px;
  border: 1.3px solid #18315322;
  padding: 12px 18px;
  margin-bottom: 18px;
  background: #fbfbfd;
  transition: border 0.13s;
}
input:focus, select:focus, textarea:focus {
  border: 1.5px solid #F8B400;
  outline: none;
}
label {
  font-weight: 600;
  color: #183153;
}

/* --- LISTS --- */
ul, ol {
  margin-bottom: 16px;
  padding-left: 2em;
}
li {
  font-size: 1rem;
  margin-bottom: 6px;
}

/* --- LINKS (general) --- */
a:focus {
  outline: 2px solid #F8B40088;
}

/* --- RESPONSIVE / MEDIA QUERIES --- */
@media (max-width: 1080px){
  .container { max-width: 98vw; }
}
@media (max-width: 900px){
  .feature-grid, .content-grid {
    flex-wrap: wrap;
    gap: 24px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .section,
  section {
    padding: 24px 6px;
    margin-bottom: 42px;
  }
  .content-wrapper,
  .feature-grid,
  .content-grid,
  .card-container,
  .text-image-section {
    flex-direction: column !important;
    gap: 16px !important;
  }
  .feature-grid > div,
  .card {
    min-width: 0;
    width: 100%;
  }
  .main-nav a.cta-button { margin-left: 0; }
  .cta-button { width: 100%; text-align: center; }
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.25rem; }
  .footer-nav { gap: 16px; }
}
@media (max-width: 520px){
  .feature-grid, .content-grid, .footer-nav, .cookie-banner__actions {
    flex-direction: column;
    gap: 16px 0;
    align-items: stretch;
  }
  .cookie-banner__actions { min-width: unset; width: 100%; }
  .cookie-banner { padding: 14px 7px 14px 8px; font-size: .98rem; }
}

/* --- ANIMATIONS & MICRO-INTERACTIONS --- */
.cta-button, .main-nav a.cta-button, .footer-nav a, .card, .feature-grid > div, .testimonial-card, .mobile-nav a, .cookie-btn {
  transition: 
    transform 0.13s, 
    box-shadow 0.14s, 
    background 0.17s, 
    color 0.13s, 
    border .11s;
}
.card:active, .feature-grid > div:active, .testimonial-card:active {
  transform: scale(0.97) rotate(-1deg);
}

/* --- MISC --- */
hr {
  border: none; border-top: 1.5px dashed #F8B40033; margin: 24px 0;
}
/* Hide cookie modal background if not open */
.cookie-modal:not(.open) { pointer-events: none; }

/* --- END --- */