/* --- CSS RESET & NORMALIZE --- */
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 {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #F7FAFC;
  color: #212D3B;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0.01em;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 24px;
}
li {
  margin-bottom: 12px;
}
main {
  flex: 1 1 auto;
}
a {
  color: #5596C8;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFD541;
  outline: none;
}
strong {
  font-weight: bold;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #212D3B;
  margin-bottom: 8px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  color: #212D3B;
}
h2 {
  font-size: 2rem;
  line-height: 1.15;
}
h3 {
  font-size: 1.375rem;
  line-height: 1.2;
}
h4 {
  font-size: 1.125rem;
}

p {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #2D3E50;
}

/* --- HERO SECTION --- */
.hero {
  background: #212D3B;
  color: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 32px rgba(33,45,59,0.10);
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
}
.hero h1 {
  color: #FFD541;
  font-size: 2.6rem;
  font-weight: 900;
  margin-bottom: 18px;
  text-shadow: 2px 2px 0 #212D3B, 0 4px 16px rgba(0,0,0,0.10);
}
.hero p {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 24px;
  max-width: 680px;
}

/* --- BUTTONS --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  background: #FFD541;
  color: #212D3B;
  font-size: 1.125rem;
  padding: 14px 32px;
  border: none;
  border-radius: 32px;
  cursor: pointer;
  box-shadow: 0 2px 20px rgba(255,213,65,0.20);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
  margin-top: 8px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #5596C8;
  color: #fff;
  box-shadow: 0 4px 24px rgba(85,150,200,0.25);
  transform: translateY(-2px) scale(1.04);
  outline: none;
}

/* --- HEADER NAVIGATION --- */
header {
  background: #fff;
  border-bottom: 2px solid #f0f2f5;
  padding: 0;
  z-index: 12;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 20px;
  flex-wrap: wrap;
}
header nav {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #212D3B;
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}
header nav a:hover, header nav a:focus {
  background: #FFD541;
  color: #212D3B;
}
header .btn-primary {
  margin-left: 24px;
}
header img {
  height: 42px;
  width: auto;
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  background: #FFD541;
  color: #212D3B;
  border: none;
  font-size: 2rem;
  border-radius: 8px;
  padding: 6px 16px;
  position: absolute;
  right: 20px;
  top: 18px;
  z-index: 100;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #FFD541;
}
.mobile-menu-toggle:hover {
  background: #5596C8;
  color: #fff;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #212D3B;
  color: #fff;
  transition: transform 0.35s cubic-bezier(0.77,0,0.175,1), opacity 0.3s;
  transform: translateX(-100vw);
  opacity: 0;
  z-index: 999;
  padding: 0 32px;
}
.mobile-menu.open {
  opacity: 1;
  transform: translateX(0);
  box-shadow: 0 0 64px 0 rgba(33,45,59,0.24);
}
.mobile-menu-close {
  background: none;
  color: #FFD541;
  font-size: 2rem;
  border: none;
  align-self: flex-end;
  margin-top: 28px;
  margin-bottom: 16px;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.mobile-nav a {
  padding: 14px 8px;
  font-size: 1.3rem;
  color: #FFD541;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  text-transform: uppercase;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #FFD541;
  color: #212D3B;
}

@media (max-width: 1040px) {
  header .container {
    flex-wrap: wrap;
    gap: 10px;
  }
  header nav, header .btn-primary {
    margin-top: 8px;
  }
}

@media (max-width: 900px) {
  header nav {
    gap: 12px;
  }
  header .btn-primary {
    margin-left: 8px;
    padding: 10px 16px;
    font-size: 1rem;
  }
  header img {
    height: 38px;
  }
}
@media (max-width: 860px) {
  header nav {
    display: none;
  }
  header .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 861px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* --- FEATURES FLEX LAYOUTS --- */
.features .feature-grid, .features .feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 16px rgba(33,45,59,0.08);
  padding: 28px 26px;
  min-width: 250px;
  flex: 1 1 260px;
  max-width: 360px;
  transition: box-shadow 0.15s, transform 0.15s, border-color 0.15s;
  border: 2px solid transparent;
  margin-bottom: 20px;
}
.feature-item:hover, .feature-item:focus-within {
  border-color: #5596C8;
  box-shadow: 0 8px 28px 0 rgba(85,150,200,0.18), 0 1.5px 4px 0 #FFD541;
  transform: translateY(-3px) scale(1.032);
}
.feature-item img {
  height: 48px;
  width: 48px;
  margin-bottom: 6px;
}
.feature-item h3 {
  color: #212D3B;
  margin-bottom: 2px;
}
.feature-item p, .feature-item span {
  color: #2D3E50;
  font-size: 1.08rem;
  font-family: 'Source Sans Pro', Arial, sans-serif;
}

@media (max-width: 768px) {
  .features .feature-grid, .features .feature-list {
    flex-direction: column;
    gap: 18px;
  }
}


/* --- CARDS & FLEX CONTAINERS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(33,45,59,0.08);
  padding: 32px 22px;
  margin-bottom: 20px;
  position: relative;
}

.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) {
  .text-image-section {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
}

/* --- TESTIMONIALS --- */
.testimonials {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 22px rgba(33,45,59,0.08);
}
.testimonials h2 {
  color: #212D3B;
}
.testimonial-slider, .testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 20px 0;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  background: #F7FAFC;
  color: #212D3B;
  border-radius: 20px;
  padding: 24px 30px 21px 30px;
  box-shadow: 0 1.5px 12px 0 rgba(85,150,200,0.08);
  min-width: 260px;
  flex: 1 1 320px;
  max-width: 600px;
  margin-bottom: 20px;
  border: 2px solid #FFD541;
  transition: box-shadow 0.14s, border-color 0.14s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  border-color: #5596C8;
  box-shadow: 0 6px 28px 0 rgba(33,45,59,0.13);
}
.testimonial-card p {
  color: #212D3B;
  font-size: 1.13rem;
  font-style: italic;
}
.testimonial-card span {
  color: #5596C8;
  font-weight: 700;
  font-size: 1rem;
  font-style: normal;
}
@media (max-width:900px) {
  .testimonial-slider, .testimonial-grid {
    flex-direction: column;
    gap: 16px;
  }
}
.client-logos {
  display: flex;
  gap: 30px;
  margin-top: 20px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.client-logos img {
  height: 48px;
  width: auto;
  opacity: 0.83;
  filter: grayscale(0.5) brightness(1.1);
  transition: opacity 0.15s;
}
.client-logos img:hover {
  opacity: 1;
}

/* --- CONTACT & THANK YOU --- */
.contact-info, .contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}
.contact-item, .contact-details p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  color: #212D3B;
}
.contact-item img, .contact-details img {
  height: 22px;
  width: 22px;
}

.thankyou {
  background: #FFD541;
  border-radius: 20px;
  color: #212D3B;
  padding: 40px 20px;
  margin-bottom: 60px;
  text-align: center;
  box-shadow: 0 5px 36px 0 rgba(33,45,59,0.14);
}
.thankyou h1 {
  color: #212D3B;
}
.thankyou p, .thankyou ul li {
  color: #2D3E50;
  font-size: 1.25rem;
  margin: 8px 0;
}
.thankyou .btn-primary {
  margin-top: 26px;
}

/* --- FOOTER --- */
footer {
  background: #212D3B;
  color: #fff;
  padding: 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  justify-content: space-between;
  padding: 36px 20px 18px 20px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  flex: 1 1 200px;
}
.footer-brand img {
  height: 34px;
  width: auto;
}
.footer-brand p {
  color: #FFD541;
  font-weight: 700;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 120px;
}
.footer-menu a {
  color: #FFD541;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 3px 0;
  transition: color 0.17s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #fff;
  text-decoration: underline;
  outline: none;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 250px;
  color: #CDE6FF;
  font-size: 1.03rem;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-contact img {
  height: 18px;
  width: 18px;
}
.footer-social {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-top: 8px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  width: 36px;
  background: #fff;
  border-radius: 50%;
  transition: background 0.16s, box-shadow 0.16s;
  box-shadow: 0 0.5px 3px #5596C8;
}
.footer-social a:hover, .footer-social a:focus {
  background: #FFD541;
  outline: none;
  box-shadow: 0 1px 10px #FFD541;
}
.footer-social img {
  height: 20px;
  width: 20px;
}
.footer-copy {
  width: 100%;
  color: #A9BED7;
  margin-top: 16px;
  text-align: left;
  font-size: 0.96rem;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 20px 12px 20px;
  }
  .footer-menu, .footer-contact {
    flex: 1 1 100%;
    width: 100%;
  }
}

/* --- LEGAL PAGES --- */
.legal {
  background: #F7FAFC;
  border-radius: 18px;
  color: #212D3B;
  box-shadow: 0 2px 14px 0 rgba(85,150,200,0.09);
}
.legal h1, .legal h2 {
  color: #5596C8;
}
.legal ul, .legal ol {
  margin-bottom: 18px;
}
.legal ul li, .legal ol li {
  color: #212D3B;
  font-size: 1.01rem;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #212D3B;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 1200;
  padding: 16px 24px;
  box-shadow: 0 -4px 24px 0 rgba(33,45,59,0.14);
  animation: cookieSlideIn 0.8s cubic-bezier(0.45,0,0.55,1);
}
.cookie-banner p {
  color: #fff;
  margin: 0;
  font-size: 1.08rem;
  max-width: 540px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 9px 18px;
  margin: 0;
  border: none;
  border-radius: 32px;
  cursor: pointer;
  font-weight: 700;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}
.cookie-banner .accept-all {
  background: #FFD541;
  color: #212D3B;
}
.cookie-banner .accept-all:hover {
  background: #5596C8;
  color: #fff;
}
.cookie-banner .reject-all {
  background: #fff;
  color: #212D3B;
}
.cookie-banner .reject-all:hover {
  background: #FFD541;
  color: #212D3B;
}
.cookie-banner .cookie-settings {
  background: transparent;
  border: 2px solid #FFD541;
  color: #FFD541;
}
.cookie-banner .cookie-settings:hover {
  background: #FFD541;
  color: #212D3B;
}
@keyframes cookieSlideIn {
  0% { transform: translateY(120%); opacity: 0; }
  85% { transform: translateY(-6px); }
  100% { transform: translateY(0); opacity: 1; }
}

/* --- COOKIE MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(33,45,59,0.68);
  z-index: 1400;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.28s;
  opacity: 1;
}
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 32px 0 rgba(33,45,59,0.18);
  width: 96vw;
  max-width: 440px;
  padding: 34px 30px 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal h2 {
  color: #212D3B;
  font-size: 1.35rem;
  margin-bottom: 4px;
}
.cookie-modal .cookie-categories {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 1.09rem;
}
.cookie-modal .cookie-toggle {
  width: 45px;
  height: 26px;
  border-radius: 13px;
  background: #E5EEF7;
  position: relative;
  border: none;
  margin-left: auto;
  cursor: pointer;
  transition: background 0.14s;
  flex-shrink: 0;
  outline: none;
}
.cookie-modal .cookie-toggle.enabled {
  background: #5596C8;
}
.cookie-modal .cookie-toggle:before {
  content: '';
  display: block;
  position: absolute;
  left: 4px;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.13s, background 0.13s;
  box-shadow: 0 1px 8px #212D3B22;
}
.cookie-modal .cookie-toggle.enabled:before {
  background: #FFD541;
  left: 23px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 19px;
  right: 25px;
  background: none;
  border: none;
  font-size: 1.3rem;
  color: #5596C8;
  cursor: pointer;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-modal .cookie-save {
  background: #FFD541;
  color: #212D3B;
  border-radius: 32px;
  padding: 9px 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
}
.cookie-modal .cookie-save:hover {
  background: #5596C8;
  color: #fff;
}
.cookie-modal .cookie-cancel {
  background: #fff;
  border: 2px solid #5596C8;
  color: #5596C8;
  border-radius: 32px;
  padding: 9px 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}
.cookie-modal .cookie-cancel:hover {
  background: #5596C8;
  color: #fff;
}

/* --- GENERAL SPACING & BREATHING ROOM --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

@media (max-width: 700px) {
  .section {
    padding: 24px 8px;
    margin-bottom: 38px;
  }
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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) {
  .text-image-section {
    flex-direction: column;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- RESPONSIVE TYPO & FLEX --- */
@media (max-width:700px) {
  h1 {
    font-size: 1.75rem;
  }
  h2 {
    font-size: 1.3rem;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .btn-primary {
    padding: 10px 18px;
    font-size: 1rem;
  }
}

/* --- VIBRANT & ENERGETIC ACCENTS --- */
.section {
  box-shadow: 0 2px 18px rgba(85,150,200, 0.09);
  position: relative;
}
.section:before {
  content: '';
  display: block;
  position: absolute;
  left: -4px;
  top: -4px;
  width: 77px;
  height: 8px;
  border-radius: 16px;
  background: #FFD541;
  opacity: 0.97;
  z-index: 2;
}
.features:before {
  background: #5596C8;
  width: 64px;
}

@media (max-width:700px) {
  .section:before, .features:before {
    display: none;
  }
}
/* --- MICRO-INTERACTIONS --- */
.card, .feature-item, .testimonial-card {
  transition: box-shadow 0.18s, border 0.16s, transform 0.13s;
}
.card:hover, .feature-item:hover, .testimonial-card:hover {
  box-shadow: 0 7px 32px 0 rgba(85,150,200,0.17), 0 0.5px 2px 0 #FFD54122;
  transform: scale(1.016) translateY(-1px);
  z-index: 2;
}

/* --- REMOVE OUTLINE FOR MOUSE, SHOW FOR KEYBOARD --- */
:focus:not(:focus-visible) {
  outline: none;
}
:focus-visible {
  outline: 2.5px solid #FFD541;
  outline-offset: 2px;
}

/* --- SCROLLBAR STYLING --- */
::-webkit-scrollbar {
  width: 14px;
  background: #F7FAFC;
}
::-webkit-scrollbar-thumb {
  background: #FFD541cc;
  border-radius: 8px;
  border: 3px solid #F7FAFC;
}

/* --- PRINT --- */
@media print {
  header, footer, .cookie-banner {
    display: none !important;
  }
}

/* --- ACCESSIBILITY --- */
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after {
    transition: none !important;
    animation-duration: 0s !important;
  }
}
