/* === CSS RESET & NORMALIZATION === */
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, 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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #F3F6FA;
  font-family: 'Lato', Arial, sans-serif;
  color: #233554;
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
}
nav a, .footer-menu a, .mobile-nav a {
  text-decoration: none;
  color: inherit;
}
ol, ul {
  list-style: none;
}
a:focus {
  outline: 3px solid #F8B04E;
  outline-offset: 2px;
}
button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
  color: inherit;
}

/* === FONT IMPORTS === */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Lato:wght@400;700&display=swap');

/* === BRAND COLOR VARIABLES & UTILITY === */
:root {
  --color-primary: #245796;
  --color-secondary: #F3F6FA;
  --color-accent: #F8B04E;
  --color-dark: #233554;
  --color-light: #FFFFFF;
  --color-danger: #EE334E;
  --color-success: #20D073;
  --shadow-base: 0 4px 16px 0 rgba(36, 87, 150, 0.07), 0 1.5px 6px 0 rgba(40,40,80,0.13);
  --radius-lg: 18px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --transition-main: 0.17s cubic-bezier(.61,.37,.63,.9);
}

/* === CONTAINER AND LAYOUT === */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--radius-lg);
  background: var(--color-light);
  box-shadow: var(--shadow-base);
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  color: var(--color-primary);
  letter-spacing: -1px;
}
h1 {
  font-size: 2.6rem;
  line-height: 1.15;
  margin-bottom: 12px;
  text-shadow: 0 2px 0 #F8B04E22;
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 10px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 7px;
}
p, ul li, ol li {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1.05rem;
  color: var(--color-dark);
  margin-bottom: 7px;
  line-height: 1.75;
}
strong {
  font-weight: 700;
  color: var(--color-primary);
}

/* === BUTTONS === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  background: var(--color-accent);
  color: var(--color-dark);
  border: none;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px #F8B04E44;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background var(--transition-main), color var(--transition-main), box-shadow var(--transition-main), transform var(--transition-main);
  cursor: pointer;
  margin: 0 0 0 20px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #ff9f21;
  color: #fff;
  box-shadow: 0 4px 12px #F8B04E99;
  transform: translateY(-2px) scale(1.03);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  background: var(--color-primary);
  color: var(--color-light);
  border: none;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px #24579622;
  text-transform: uppercase;
  letter-spacing: .6px;
  transition: background var(--transition-main), color var(--transition-main), box-shadow var(--transition-main);
  cursor: pointer;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #1e4477;
  color: var(--color-accent);
  box-shadow: 0 4px 14px #24579655;
}

.btn-ghost {
  background: none;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: 10px 22px;
  font-weight: 700;
  transition: background var(--transition-main), color var(--transition-main);
}
.btn-ghost:hover, .btn-ghost:focus {
  background: var(--color-primary);
  color: var(--color-light);
}

/* === HEADER --- HORIZONTAL MAIN NAV === */
header {
  box-shadow: 0 2px 10px #2457960d;
  background: var(--color-light);
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 13px 20px;
  gap: 22px;
}
header img {
  height: 40px;
  margin-right: 22px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-primary);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: color var(--transition-main), background var(--transition-main);
}
header nav a:hover, header nav a:focus {
  color: var(--color-accent);
  background: #f3f4f9;
}
header .btn-primary {
  margin-left: 20px;
}

/* === BURGER (MOBILE) NAV TOGGLE === */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: var(--color-primary);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  position: fixed;
  right: 18px;
  top: 18px;
  z-index: 100;
  box-shadow: 0 2px 10px #F8B04E33;
  border: none;
  transition: background var(--transition-main), color var(--transition-main), transform var(--transition-main);
  cursor: pointer;
  display: none;
}
.mobile-menu-toggle:active {
  background: #ff9f21;
  transform: scale(0.96);
}

/* === MOBILE MENU === */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 340px;
  height: 100vh;
  background: var(--color-light);
  box-shadow: -3px 0 40px #24579622;
  z-index: 1200;
  padding: 32px 22px 22px 32px;
  transition: transform 0.33s cubic-bezier(.61,.3,.38,.81);
  transform: translateX(100%);
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  align-self: flex-end;
  background: transparent;
  color: var(--color-primary);
  font-size: 2.3rem;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  box-shadow: none;
  transition: background var(--transition-main), color var(--transition-main);
}
.mobile-menu-close:hover {
  background: #f3f4f9;
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.14rem;
  font-weight: 700;
  color: var(--color-primary);
  padding: 12px 0 12px 3px;
  border-radius: var(--radius-sm);
  transition: color var(--transition-main), background var(--transition-main);
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-accent);
  background: #f6f9fc;
}

/* === MAIN CONTENT === */
main {
  min-height: calc(100vh - 100px);
  margin-top: 32px;
  margin-bottom: 48px;
}
.section,
main > section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* === CARD, TESTIMONIAL, AND FLEX SECTIONS === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 28px 22px;
  box-shadow: var(--shadow-base);
  margin-bottom: 20px;
  position: relative;
  min-width: 220px;
}
.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: 20px;
  padding: 20px;
  background: #fcfdff;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  box-shadow: 0 3px 15px #2457960c;
  border-left: 5px solid var(--color-accent);
  transition: box-shadow var(--transition-main), transform var(--transition-main);
}
.testimonial-card p {
  color: #17203a;
  font-size: 1.13rem;
  margin-bottom: 2px;
}
.testimonial-card span {
  color: #4b5671;
  font-size: 0.98rem;
  font-style: italic;
}
.testimonial-card:hover {
  box-shadow: 0 10px 32px #24579622;
  transform: translateY(-3px) scale(1.02);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #f9fbff;
  border-radius: var(--radius-sm);
  padding: 18px 15px;
  min-width: 140px;
  box-shadow: 0 2px 6px #24579610;
}

/* Spacing for helper classes */
.mt-0 { margin-top: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-32 { margin-bottom: 32px; }
.mb-60 { margin-bottom: 60px; }

/* === UL, OL === */
ul, ol {
  margin-bottom: 12px;
  margin-left: 0;
  padding-left: 0;
}
ul li, ol li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
ul li img, ol li img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  margin-right: 6px;
}

/* === FOOTER === */
footer {
  background: #233554;
  color: #fff;
  width: 100%;
  box-shadow: 0 -2px 12px #24579633;
  padding: 0; 
}
footer .container {
  padding: 38px 20px 26px 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.footer-brand {
  display: flex;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.28rem;
  font-weight: 900;
  gap: 18px;
  color: var(--color-accent);
}
.footer-brand img {
  height: 44px;
  margin-right: 12px;
}
.footer-menu {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-menu a {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  position: relative;
  transition: color var(--transition-main);
}
.footer-menu a:hover, .footer-menu a:focus {
  color: var(--color-accent);
  text-shadow: 0 1px 8px #f8b04e46;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 1rem;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #c3d4ee;
}
.footer-contact img {
  width: 18px;
  height: 18px;
  vertical-align: middle;
}

/* === TEXT SECTIONS === */
.text-section {
  background: #F3F6FA;
  border-radius: var(--radius-md);
  padding: 18px 16px;
  margin-bottom: 15px;
  box-shadow: 0 1.5px 5px #24579611;
}
.text-section h2, .text-section h3 {
  margin-top: 10px;
}

/* === COOKIE CONSENT BANNER & MODAL === */
.cookie-banner {
  position: fixed;
  z-index: 2000;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -3px 16px #24579622;
  border-top: 4px solid var(--color-accent);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 28px;
  font-size: 1rem;
  animation: cookieBannerIn 0.5s cubic-bezier(.46,.75,.61,1.23) 0s 1;
}
@keyframes cookieBannerIn {
  from { transform: translateY(110%); opacity:0; }
  to { transform: translateY(0); opacity:1; }
}
.cookie-banner__text {
  color: var(--color-dark);
  font-family: 'Lato', Arial, sans-serif;
  margin-right: auto;
  max-width: 700px;
}
.cookie-banner__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-banner .btn-primary, .cookie-banner .btn-secondary, .cookie-banner .btn-ghost {
  font-size: 0.97rem;
  padding: 10px 20px;
  margin: 0;
  border-radius: var(--radius-sm);
}
.cookie-banner .btn-secondary {
  background: var(--color-primary);
  color: #fff;
  border: none;
}
.cookie-banner .btn-ghost {
  background: none;
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
  font-weight: 700;
}

.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2050;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30,50,90,0.4);
  animation: modalFadeIn 0.35s cubic-bezier(.62,.21,.43,1.24) 0s 1;
}
@keyframes modalFadeIn {
  from { opacity:0; }
  to { opacity:1; }
}
.cookie-modal__box {
  background: #fff;
  padding: 38px 32px 28px 32px;
  border-radius: var(--radius-lg);
  min-width: 315px;
  min-height: 240px;
  box-shadow: 0 8px 36px #24579644;
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 96vw;
}
.cookie-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cookie-modal__close {
  background: none;
  color: var(--color-primary);
  font-size: 1.9rem;
  border-radius: 50%;
  border: none;
  width: 36px;
  height: 36px;
  margin-left: 18px;
  transition: background var(--transition-main);
}
.cookie-modal__close:hover {
  background: #f3f4f9;
  color: var(--color-accent);
}
.cookie-modal__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}
.cookie-category__label {
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-primary);
  font-size: 1.13rem;
}
.cookie-category__desc {
  font-size: 0.99rem;
  color: var(--color-dark);
}
.cookie-switch {
  width: 46px;
  height: 26px;
  background: #eee;
  border-radius:14px;
  position: relative;
  cursor: pointer;
  transition: background 0.21s;
}
.cookie-switch input {
  display: none;
}
.cookie-switch .slider {
  position: absolute;
  left: 3px; top: 3px;
  width: 20px;
  height: 20px;
  background: var(--color-primary);
  border-radius: 50%;
  transition: transform .23s cubic-bezier(.46,.73,.39,1.31);
}
.cookie-switch input:checked + .slider {
  background: var(--color-success);
  transform: translateX(18px);
}

/* Essential cookies - always enabled */
.cookie-category.essential .cookie-switch {
  opacity: .5;
  cursor: not-allowed;
}

.cookie-modal__actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
}

/* === RESPONSIVE STYLES === */
@media (max-width: 1150px) {
  .container {
    max-width: 98vw;
    padding: 0 7vw;
  }
}
@media (max-width: 960px) {
  main {
    margin-top: 18px;
    margin-bottom: 26px;
  }
  .footer-brand { font-size: 1.05rem; }
  .footer-contact { gap: 14px; font-size: 0.97rem; }
  .footer-menu { gap: 14px; font-size: 0.97rem; }
  .container { padding: 0 10px; }
  section, .section { padding: 30px 13px; }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 8px;
  }
  header nav, header .btn-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .testimonial-card, .feature-item, .card {
    padding: 18px 10px;
  }
  .footer-brand img { height: 36px; }
  .footer-brand { font-size: 0.97rem; }
  .footer-contact, .footer-menu {
    flex-direction: column;
    gap: 11px;
  }
  .container {
    padding-left: 0; padding-right: 0;
  }
  .section, main > section { padding: 22px 5px; }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.23rem; }
  .content-wrapper { gap: 16px; }
  .text-image-section { flex-direction: column; gap: 18px; }
  .content-grid, .card-container { flex-direction: column; gap: 16px; }
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 10px 20px 11px;
    font-size: .98rem;
  }
  .footer-brand { font-size: 0.88rem; }
  .cookie-modal__box { padding: 17px 8px 17px 12px; }
}

/* === Micro-Interaction/Animation FX for Buttons, Cards === */
.card, .feature-item, .testimonial-card, .btn-primary, .btn-secondary, .btn-ghost {
  transition: box-shadow var(--transition-main), transform var(--transition-main), background var(--transition-main), color var(--transition-main);
}
.card:hover, .feature-item:hover {
  box-shadow: 0 4px 24px #24579613;
  transform: translateY(-2px) scale(1.01);
}

/* === Z-INDEX LAYERING (NAV + BANNERS) === */
.mobile-menu { z-index: 1200; }
.mobile-menu-toggle { z-index: 1220; }
.cookie-banner { z-index: 2000; }
.cookie-modal { z-index: 2050; }
header { z-index: 20; }
footer { z-index: 10; }

/* === UTILITY CLASS === */
.hide { display: none !important; }

/* === ACCENT SHAPE: For future decorative use (not content) === */
.accent-shape {
  position: absolute;
  pointer-events: none;
  opacity: 0.12;
  z-index: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--color-accent);
  filter: blur(15px);
}

/* === SCROLLBAR (MODERN) === */
body::-webkit-scrollbar {
  width: 10px;
  background: #f3f6fa;
}
body::-webkit-scrollbar-thumb {
  background: #dbe7fc;
  border-radius: 5px;
}

/* === OVERRIDE autofill styles (keep on-brand bg color) === */
input:-webkit-autofill { background: #f6fbff !important; color: #17203a !important; }

/* === END === */
