/* ========================
   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, 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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: #F9FAFB;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: #244272;
  background: #F9FAFB;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: #244272;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #E9C46A;
}
ul, ol {
  margin-left: 1.5em; 
  margin-bottom: 1em;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  display: block;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #244272;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
  line-height: 1.15;
}
h1 {
  font-size: 2.5rem;
  letter-spacing: -0.02em;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.4rem;
}
h4 {
  font-size: 1.15rem;
}
p {
  margin-bottom: 1.25em;
  font-size: 1rem;
  line-height: 1.5;
  color: #244272;
}
strong {
  font-weight: 700;
}

/* =========================
   GEOMETRIC STRUCTURED THEME
========================= */
:root {
  --primary: #244272;
  --secondary: #E9C46A;
  --accent: #FFFFFF;
  --gray-bg: #F9FAFB;
  --border: #D8DEE9;
  --shadow: 0 2px 8px 0 rgba(28,39,70,0.06);
  --radius: 12px;
}

body {
  background-color: var(--gray-bg);
}

.container {
  width: 100%;
  max-width: 1110px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  padding: 0;
}

.text-section {
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 24px;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* Hero Section */
.hero {
  background: linear-gradient(120deg, #E9C46A 0%, #F9FAFB 100%);
  border-radius: 0 0 64px 64px / 0 0 54px 54px;
  box-shadow: 0 6px 24px 0 rgba(36,66,114,0.08);
  margin-bottom: 64px;
  padding: 50px 0 40px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .container {
  width: 100%;
}
.hero .content-wrapper {
  align-items: flex-start;
  text-align: left;
  gap: 20px;
}
.hero h1 {
  color: var(--primary);
  font-size: 2.3rem;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: -0.03em;
}
.hero p {
  font-size: 1.15rem;
  color: #45597B;
}

/* =====================
      NAVIGATION
===================== */
header {
  position: relative;
  background: var(--accent);
  box-shadow: 0 1px 10px 0 rgba(36,66,114,0.04);
  z-index: 120;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 0.5rem 0;
  max-width: 1110px;
  margin: 0 auto;
}
.main-nav .logo img {
  height: 46px;
  width: auto;
}
.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav li {
  display: flex;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 8px 18px;
  font-size: 1rem;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
  position: relative;
}
.main-nav a.primary-btn {
  background: var(--primary);
  color: var(--accent);
  font-weight: 800;
  border-radius: 24px;
  border: none;
  box-shadow: 0 1px 6px 0 rgba(36,66,114,0.09);
  margin-left: 10px;
  transition: background 0.18s, transform 0.13s;
  font-size: 1.06rem;
}
.main-nav a.primary-btn:hover, .main-nav a.primary-btn:focus {
  background: var(--secondary);
  color: var(--primary);
  transform: translateY(-2px) scale(1.036);
}
.main-nav a:hover:not(.primary-btn), .main-nav a:focus:not(.primary-btn) {
  background: #ECF0F4;
}
/* Hide burger by default */
.mobile-menu-toggle {
  display: none;
}

/* ============================
    MOBILE NAVIGATION
============================ */
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: var(--primary);
  border: none;
  border-radius: 8px;
  font-size: 2.3rem;
  padding: 5px 18px 1px;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 151;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--primary);
  color: var(--accent);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: var(--primary);
  color: var(--accent);
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(100vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.5s cubic-bezier(.54,.12,.49,.96), opacity 0.18s;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  color: var(--secondary);
  font-size: 2.4rem;
  border: none;
  padding: 24px 20px 12px 20px;
  cursor: pointer;
  align-self: flex-end;
  transition: color 0.17s;
  z-index: 250;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  width: 100%;
  padding: 16px 32px 0 40px;
}
.mobile-nav a {
  color: var(--accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  padding: 15px 0 15px 2px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
  min-width: 70vw;
  margin-bottom: 4px;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}

@media (max-width: 1100px) {
  .main-nav {
    padding: 0.5rem 1.5rem;
  }
}

@media (max-width: 940px) {
  .main-nav ul {
    gap: 10px;
  }
}

@media (max-width: 900px) {
  .main-nav ul {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

@media (max-width: 900px) {
  .main-nav .logo img {
    height: 42px;
  }
}

/* =============================
    FEATURES & CARDS (Index)
============================= */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
  margin: 36px 0 0 0;
}
.feature {
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  flex: 1 1 250px;
  max-width: 260px;
  min-width: 240px;
  padding: 26px 18px;
  text-align: center;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  border: 2.4px solid var(--border);
  position: relative;
  transition: border 0.18s, transform 0.16s, box-shadow 0.16s;
}
.feature img {
  height: 54px;
  margin-bottom: 10px;
}
.feature h3 {
  font-size: 1.18rem;
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.01em;
}
.feature p {
  font-size: 1rem;
  color: #53688A;
  margin-bottom: 0;
}
.feature:hover, .feature:focus-within {
  border: 2.4px solid var(--secondary);
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 6px 24px 0 rgba(36,66,114,0.10);
  z-index: 2;
}

/* .feature-item pattern for possible future use */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =============
   CTA BUTTONS
================ */
.primary-btn, .btn, button, input[type="submit"] {
  background: var(--primary);
  color: var(--accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  display: inline-block;
  padding: 13px 32px;
  border: none;
  border-radius: 32px;
  box-shadow: 0 2px 12px 0 rgba(36,66,114,0.08);
  cursor: pointer;
  transition: background 0.21s, box-shadow 0.14s, color 0.21s, transform 0.13s;
  margin-top: 10px;
  letter-spacing: 0.04em;
}
.primary-btn:hover,.primary-btn:focus,
.btn:hover,.btn:focus,
button:hover,button:focus,
input[type="submit"]:hover,input[type="submit"]:focus {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 4px 22px 0 rgba(36,66,114,0.17);
  transform: translateY(-1.5px) scale(1.034);
}

/* =============
      FAQ / Lists
================ */
dt {
  font-size: 1.12rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-top: 10px;
  color: var(--primary);
}
dd {
  color: #48597B;
  font-size: 1rem;
  margin-bottom: 11px;
  margin-left: 0.7em;
}
li {
  margin-bottom: 8px;
  color: #466175;
  font-size: 1rem;
  line-height: 1.5;
}

/* =============
    TESTIMONIALS
=============== */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: 32px 12px 32px 12px / 12px 32px 12px 32px;
  box-shadow: 0 4px 28px 0 rgba(36,66,114,0.12);
  min-width: 210px;
  flex: 1 1 290px;
  padding: 28px 30px;
  margin-bottom: 20px;
  border-left: 5px solid var(--secondary);
  border-bottom: 2.5px solid #E7EAF1;
  position: relative;
}
.testimonial-card p {
  color: #18304B;
  font-size: 1.03rem;
  margin-bottom: 0;
  line-height: 1.48;
}
.testimonial-details {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.97rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-top: 6px;
  letter-spacing: 0.01em;
}

/* =============
    FOOTER
============== */
footer {
  margin-top: 70px;
  background: #244272;
  color: #fff;
  border-radius: 80px 0 0 0/ 52px 0 0 0;
  box-shadow: 0 -4px 32px 0 rgba(36,66,114,0.10);
  position: relative;
  padding: 36px 0 14px 0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.footer-nav a {
  color: var(--secondary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  transition: color 0.16s;
  margin: 0 10px;
  padding: 6px 10px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  background: var(--primary);
}
.footer-info {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
  font-size: 0.97rem;
  color: #ECF0F4;
  font-family: 'Roboto', Arial, sans-serif;
}

/* =============
   RESPONSIVENESS
================ */
@media (max-width: 900px) {
  .container {
    max-width: 97vw;
  }
  .content-wrapper, .text-section {
    padding: 20px 7px;
    gap: 12px;
  }
  .testimonials {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .feature-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .feature {
    max-width: 500px;
    margin: 0 auto 20px auto;
    padding: 20px 12px;
  }
  .hero {
    padding: 36px 0 26px 0;
    border-radius: 0 0 48px 48px / 0 0 26px 26px;
    margin-bottom: 34px;
  }
  .section {
    margin-bottom: 35px;
    padding: 24px 7px;
  }
  .testimonials {
    gap: 15px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.3rem;
  }
  .testimonial-card {
    padding: 18px 14px;
  }
  .footer-info {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 1.32rem;
  }
  .feature {
    min-width: unset;
  }
}

/* =============
   FLEX CONTENT SECTIONS
====================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 22px 18px;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
@media (max-width: 768px) {
  .content-grid { flex-direction: column; }
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 18px; }
}

/* ================
   ANIMATIONS & MICROINTERACTIONS
================ */
.primary-btn, .feature, .testimonial-card, .card, .mobile-nav a {
  transition: box-shadow 0.13s, border 0.16s, background 0.18s, color 0.18s, transform 0.13s;
}

/* SUBTLE SHADOW HOVER EFFECTS */
.card:hover, .testimonial-card:hover {
  box-shadow: 0 9px 24px 0 rgba(36,66,114,0.18);
  transform: translateY(-3px) scale(1.016);
}


/* =====================
 COOKIE CONSENT BANNER
===================== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--primary);
  color: var(--accent);
  box-shadow: 0 -4px 32px 0 rgba(28,39,70,0.12);
  z-index: 8000;
  padding: 22px 14px 20px 14px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 40px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  letter-spacing: 0.01em;
  transition: transform 0.4s cubic-bezier(.58,.16,.37,1.05), opacity 0.14s;
}
.cookie-banner.hide {
  transform: translateY(160px);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner-content {
  flex: 4;
  min-width: 0;
}
.cookie-banner-btns {
  display: flex;
  gap: 12px;
  flex-direction: row;
  flex: 1.2;
}
.cookie-btn {
  background: var(--secondary);
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  padding: 8px 19px;
  border-radius: 7px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.12s;
}
.cookie-btn.settings {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid #E9C46A;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--primary);
  color: var(--secondary);
  transform: scale(1.04);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--secondary);
  color: #244272;
}

@media (max-width: 768px) {
  .cookie-banner{
    flex-direction: column;
    gap: 16px;
    text-align: center;
    font-size: 0.97rem;
    padding: 16px 8px;
  }
  .cookie-banner-btns {
    flex-direction: column;
    gap: 7px;
    width: 100%;
    align-items: center;
    justify-content: center;
  }
}

/* ===================
   COOKIE MODAL
=================== */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(36,66,114,0.48);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: var(--primary);
  padding: 2.1rem 1.6rem 1.6rem 1.6rem;
  border-radius: 24px;
  max-width: 410px;
  width: 95vw;
  box-shadow: 0 6px 40px 0 rgba(36,66,114,0.23);
  display: flex;
  flex-direction: column;
  gap: 22px;
  z-index: 15000;
  position: relative;
  animation: modalpop .38s cubic-bezier(.51,.15,.38,1.01);
}
@keyframes modalpop {
  0% {
    transform: scale(0.66) translateY(60px);
    opacity: 0;
  }
  100% {
    transform: none;
    opacity: 1;
  }
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  color: var(--primary);
  border: none;
  font-size: 2.1rem;
  cursor: pointer;
  z-index: 101;
}
.cookie-modal h2 {
  font-size: 1.28rem;
  margin-bottom: 0.3em;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
}
.cookie-category label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
}
.cookie-switch {
  width: 44px;
  height: 26px;
  border-radius: 13px;
  background: #C3CEDF;
  position: relative;
  cursor: pointer;
  transition: background 0.18s;
  display: inline-flex;
  align-items: center;
}
.cookie-switch input[type="checkbox"] {
  opacity: 0; width: 100%; height: 100%; margin: 0;
  position: absolute; left: 0; top: 0; cursor: pointer;
}
.cookie-switch .slider {
  position: absolute;
  left: 2.5px; top: 3px; bottom: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px 0 rgba(36,66,114,0.07);
  transition: left 0.18s, background 0.18s;
}
.cookie-switch input[type="checkbox"]:checked + .slider {
  left: 21px;
  background: var(--secondary);
}
.cookie-switch input[type="checkbox"]:checked ~ .cookie-switch {
  background: var(--secondary);
}
.cookie-category .desc {
  font-size: 0.97rem;
  color: #53688A;
  margin-left: 6px;
  flex: 1 1 0%;
}
.cookie-category .locked {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}
.cookie-modal-actions .cookie-btn {
  flex: 1;
  width: 100%;
}

/* ============
   UTILITY
============== */
.d-none {
  display: none !important;
}

/* ============
   OTHER ELEMENTS
============== */
input, textarea, select {
  border-radius: 7px;
  border: 1.5px solid #D7DDE9;
  font-size: 1rem;
  padding: 8px 9px;
  margin-bottom: 11px;
  font-family: 'Roboto', Arial, sans-serif;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--secondary);
}
::-webkit-input-placeholder { color: #B3C0D2; }
::-moz-placeholder { color: #B3C0D2; }
:-ms-input-placeholder { color: #B3C0D2; }
::placeholder { color: #B3C0D2; }

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

/* ===============
   GEOMETRIC DECORATIVE ELEMENTS (suggestion)
================ */
/* Example of geometric decorative div, can be used for future as decoration */
.geometric-shape {
  background: var(--secondary);
  width: 74px;
  height: 74px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  opacity: 0.07;
  position: absolute;
  top: -22px;
  left: -22px;
  z-index: 0;
  pointer-events: none;
}
