/* 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, font, 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,
menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;  
}
html { font-size: 100%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { line-height: 1.5; font-family: 'Roboto', Arial, sans-serif; background: #F4F8FB; color: #17324D;}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
a { text-decoration: none; color: inherit; transition: color .2s; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; background: none; border: none; outline: none; }

/* Brand Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Roboto:wght@400;500;700&display=swap');

:root {
  --color-primary: #17324D;
  --color-secondary: #FBC02D;
  --color-accent: #F4F8FB;
  --color-white: #fff;
  --color-black: #131d28;
  --shadow-soft: 0 8px 30px rgba(21,45,90,0.08);
  --shadow-card: 0 2px 12px rgba(23,50,77,0.12);
  --radius: 18px;
  --transition: .28s cubic-bezier(.5,.2,.2,1);
}

/* Layout Containers */
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: box-shadow var(--transition);
}
main > section:not(:last-child) { margin-bottom: 60px; }

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  align-items: flex-start;
}

.feature-grid, .testimonial-card-group, .card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.content-grid {
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius);
  padding: 28px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: 0 8px 36px rgba(23,50,77,0.19);
  transform: translateY(-4px);
}

.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: 20px;
  padding: 24px 28px;
  margin-bottom: 20px;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  font-size: 1rem;
  min-width: 260px;
}
.testimonial-rating {
  display: flex;
  align-items: center;
  gap: 6px;
}
.testimonial-card p {
  color: #17324D;
  font-size: 1.04rem;
  font-weight: 400;
  margin-bottom: 6px;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: var(--color-primary);
  opacity: .85;
  letter-spacing: .01em;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Modern Gradient Hero */
section:first-of-type {
  background: linear-gradient(108deg, #17324D 0%, #3163a5 90%, #FBC02D 250%);
  color: var(--color-white);
  box-shadow: none;
  position: relative;
  overflow: hidden;
}
section:first-of-type h1, section:first-of-type h2, section:first-of-type p,
section:first-of-type a, section:first-of-type li, section:first-of-type strong {
  color: var(--color-white) !important;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
  line-height: 1.18;
}
h1 {
  font-size: 2.3rem;
  margin-bottom: 22px;
  letter-spacing: -.04em;
}
h2 {
  font-size: 1.8rem;
  margin-top: 20px;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.3rem;
  font-weight: 600;
}
p, li {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.04rem;
  color: var(--color-primary);
  margin-bottom: 12px;
  line-height: 1.6;
}
ul li {
  margin-bottom: 10px;
  font-size: 1.03rem;
}
strong { font-weight: 700; color: #17324D; }

/* Spacing & Alignment */
nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-contact {
  margin-top: 14px;
  font-size: .98rem;
}
.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}
.footer-brand { margin-bottom: 18px; }

/* Header & Footer */
header {
  background: #fff;
  box-shadow: var(--shadow-soft);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 16px;
  padding-bottom: 16px;
}
header nav a, .footer-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: var(--color-primary);
  padding: 7px 10px;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
}
header nav a:hover, .footer-nav a:hover {
  background: #FBC02D;
  color: #17324D;
}
footer {
  background: #17324D;
  color: var(--color-white);
  padding: 40px 0 18px 0;
  margin-top: 60px;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
footer a { color: var(--color-white) !important; opacity: .93; }
footer p {
  color: white;
}
.footer-brand img {
  height: 38px;
  filter: drop-shadow(0px 3px 8px rgba(251,192,45,0.05));
}

/* CTAs & Buttons */
.cta {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 999px;
  outline: none;
  border: none;
  padding: 13px 34px;
  font-size: 1.1rem;
  display: inline-block;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(23, 50, 77, 0.05);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  margin-top: 14px;
}
.cta.primary {
  background: linear-gradient(90deg, #FBC02D 15%, #ffd369 85%);
  color: #17324D;
  box-shadow: 0 8px 20px rgba(251,192,45,0.07);
}
.cta.primary:hover, .cta.primary:focus {
  background: linear-gradient(92deg,#ffd369 10%,#FBC02D 95%);
  color: #17324D;
  transform: translateY(-2px) scale(1.035);
}
.cta.secondary {
  background: #17324D;
  color: #fff;
  border: 2px solid #FBC02D;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #28588c;
  color: #FBC02D;
  border-color: #ffd369;
  transform: translateY(-2px) scale(1.025);
}

.tag {
  display: inline-block;
  background: #FBC02D;
  color: #17324D;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: .90rem;
  padding: 2px 13px;
  margin-left: 10px;
  border-radius: 12px;
  font-weight: 600;
  letter-spacing: .03em;
}

/* Feature Block/Icons */
.feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 28px 22px;
  width: 100%;
  max-width: 320px;
  gap: 16px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature:hover {
  box-shadow: 0 8px 32px rgba(23,50,77,0.15);
  transform: translateY(-2px) scale(1.01);
}
.feature img {
  height: 56px;
  margin-bottom: 12px;
}
.feature h3 { color: #17324D; }

/* Hamburger Menu Styles (Mobile Navigation) */
.mobile-menu-toggle {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 1101;
  background: #fff;
  color: #17324D;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: var(--shadow-soft);
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 2.05rem;
  transition: background var(--transition);
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #ffd369;
  color: var(--color-primary);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(108deg,#fff 70%,#ffd369 120%);
  z-index: 1200;
  transform: translateX(-100vw);
  transition: transform 0.40s cubic-bezier(.77,0,.18,1);
  box-shadow: 0 8px 60px 0 rgba(23,50,77,0.12);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 28px 0 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  background: transparent;
  color: #17324D;
  margin-bottom: 38px;
  margin-right: 6px;
  border-radius: 50%;
  padding: 6px 19px;
  transition: background var(--transition), color var(--transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #ffd369;
  color: #17324D;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.mobile-nav a {
  color: #17324D;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 8px;
  padding: 13px 0 13px 0;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #ffd369;
  color: #17324D;
}

/* Show Hamburger only on mobile */
@media (max-width: 1024px) {
  header nav, header .cta.primary { display: none !important; }
  .mobile-menu-toggle { display: flex; }
}
@media (min-width: 1025px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding-left: 9px;
    padding-right: 9px;
  }
  header .container {
    flex-direction: row;
    gap: 16px;
    min-width: 0;
  }
  .section {
    padding: 32px 6px;
    margin-bottom: 34px;
  }
  .content-wrapper {
    gap: 18px;
  }
  .feature-grid,
  .card-container,
  .testimonial-card-group,
  .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature,
  .card,
  .testimonial-card {
    max-width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    gap: 15px;
  }
  h1 {
    font-size: 1.45rem;
  }
  h2 {
    font-size: 1.18rem;
  }
  .cta {
    font-size: 0.98rem;
    padding: 11px 20px;
  }
  footer .container {
    flex-direction: column;
    gap: 18px;
  }
}

/*------------------- Cookie Consent Banner -------------------*/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2300;
  background: #fff;
  box-shadow: 0 -2px 18px 0 rgba(23,50,77,0.07);
  border-top: 2px solid #FBC02D;
  padding: 24px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
  justify-content: space-between;
  animation: cookie-banner-slide-in .6s cubic-bezier(.5,.14,.4,1);
}
@keyframes cookie-banner-slide-in {
  0% { transform: translateY(110%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  flex: 2 2 280px;
  margin: 0;
  font-size: 1rem;
  color: #17324D;
}
.cookie-banner .cookie-btn-group {
  display: flex;
  gap: 12px;
  align-items: center;
}
.cookie-banner .cookie-btn {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.04rem;
  font-weight: 600;
  border-radius: 20px;
  border: none;
  padding: 9px 26px;
  cursor: pointer;
  margin: 0 3px 0 0;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.cookie-banner .cookie-accept {
  background: linear-gradient(90deg, #FBC02D 15%, #ffd369 85%);
  color: #17324D;
}
.cookie-banner .cookie-accept:hover {
  filter: brightness(1.11);
  box-shadow: 0 2px 7px rgba(251,192,45,0.11);
}
.cookie-banner .cookie-reject {
  background: #17324D;
  color: #fff;
  border: 2px solid #FBC02D;
}
.cookie-banner .cookie-reject:hover {
  background: #fffbe7;
  color: #17324D;
}
.cookie-banner .cookie-settings {
  background: transparent;
  color: #17324D;
  border: 2px solid #17324D;
}
.cookie-banner .cookie-settings:hover {
  background: #ffd369;
  color: #17324D;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/*------------------- Cookie Preferences Modal -------------------*/
.cookie-modal-overlay {
  position: fixed;
  z-index: 2400;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(23,50,77,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-fade-in .33s cubic-bezier(.57,.01,.55,.95);
}
@keyframes modal-fade-in { 0%{ opacity:0;} 100%{ opacity:1;} }
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  min-width:280px;
  max-width:98vw;
  box-shadow: 0 4px 44px rgba(23,50,77,0.19);
  padding: 41px 28px 25px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modal-slide-up .35s cubic-bezier(.57,.01,.55,.95);
}
@keyframes modal-slide-up { 0%{ transform:translateY(40px);} 100%{ transform:translateY(0);} }
.cookie-modal h3 {
  color: #17324D;
  font-size: 1.29rem;
  margin-bottom: 6px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 8px 0 0 0;
  padding-bottom: 8px;
  border-bottom: 1px solid #F4F8FB;
}
.cookie-modal .cookie-category label {
  font-size: 1rem;
  color: #17324D;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-modal .cookie-switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 22px;
}
.cookie-modal .cookie-switch input { display: none; }
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  background: #ddd;
  border-radius: 22px;
  top: 0; left: 0; right: 0; bottom: 0;
  transition: background 0.2s;
}
.cookie-modal .slider:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(23,50,77,0.12);
}
.cookie-modal .cookie-switch input:checked + .slider {
  background: linear-gradient(90deg,#FBC02D 50%, #ffd369 100%);
}
.cookie-modal .cookie-switch input:checked + .slider:before {
  transform: translateX(18px);
}
.cookie-modal .cookie-category .label-essential {
  font-weight: 600;
}
.cookie-modal .cookie-close {
  position: absolute;
  top: 12px;
  right: 20px;
  background: none;
  font-size: 2.2rem;
  color: #17324D;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
  border-radius: 50%;
  padding: 1px 12px;
}
.cookie-modal .cookie-close:hover { background: #ffd369; }
.cookie-modal .cookie-modal-actions {
  margin-top: 8px;
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  padding: 10px 24px;
  border-radius: 999px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #17324D;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  transition: background var(--transition);
}
.cookie-modal .cookie-btn.accept {
  background: linear-gradient(90deg, #FBC02D 15%, #ffd369 85%);
  color: #17324D;
}
.cookie-modal .cookie-btn.accept:hover {
  filter: brightness(1.09);
}
.cookie-modal .cookie-btn.secondary {
  background: #fff;
  color: #17324D;
  border: 2px solid #17324D;
}
.cookie-modal .cookie-btn.secondary:hover {
  background: #ffd369;
}

/*------------------- Misc Utilities -------------------*/
.hide { display: none !important; }
.visible-mobile { display: none; }
@media (max-width: 768px) {
  .visible-mobile { display: inline-block !important; }
}
/* Decorative Divider */
hr {
  border: none;
  border-top: 1px solid #e1e8ed;
  margin: 36px 0;
}

/* --------------- Shadows & Card Effects --------------- */
.card, .feature, .testimonial-card {
  box-shadow: var(--shadow-card);
  border-radius: var(--radius);
  transition: box-shadow var(--transition);
  background: #fff;
}
.card:hover, .feature:hover, .testimonial-card:hover {
  box-shadow: 0 14px 48px 0 rgba(23,50,77,0.18);
}

/* Use white-on-dark or dark-on-light for optimal contrast for testimonial/review blocks */
.testimonial-card {
  background: #fff;
  color: #17324D;
  box-shadow: var(--shadow-soft);
}
/*------------- Animation for micro-interactions  ----------*/
a, .cta, button, .feature, .card, .testimonial-card {
  transition: background .18s, box-shadow .24s, color .17s, transform .17s;
}

/*------------------- End of CSS -------------------*/
