/* RESET & TYPOGRAPHY —————————————————————————————————————— */
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 {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  font-family: inherit;
  font-weight: inherit;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  box-sizing: border-box;
}
body {
  min-height: 100vh;
  color: #24527A;
  background: #F8F8F8;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: 0.01em;
  font-smooth: always;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #24527A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F0A500;
}
ul, ol {
  margin-left: 1.5rem;
  margin-bottom: 1.4em;
  padding-left: 0;
}
li {
  margin-bottom: 0.5em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #24527A;
  letter-spacing: 0.02em;
  margin-bottom: 0.5em;
  line-height: 1.15;
  text-transform: none;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 1em;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 0.8em;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6em;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 0.4em;
}
blockquote {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  quotes: none;
  padding: 0 1em;
  border-left: 4px solid #F0A500;
  color: #24527A;
  font-size: 1.1rem;
  background: #F8F8F8;
}

/* BRAND COLOR VARIABLES */
:root {
  --primary: #24527A;
  --secondary: #F0A500;
  --accent: #F8F8F8;
  --deep-bg: #e8eef4;
  --card-bg: #fff;
  --on-primary: #fff;
  --on-secondary: #fff;
  --on-accent: #24527A;
  --shadow: 0 4px 14px 0 rgba(36, 82, 122, 0.10);
}

/* CONTAINER & LAYOUT ———————————————————————————— */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: 20px;
  /* Ensure sections don't abut */
}

section {
  background: transparent;
  margin-bottom: 60px;
  padding: 0;
}
.content-wrapper:last-child {
  margin-bottom: 0;
}

/* HEADER ———————————————————————————————————————— */
header {
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: 0 2px 16px 0 rgba(36, 82, 122, 0.10);
  position: relative;
  z-index: 10;
  padding-top: 0;
  padding-bottom: 0;
}

.header-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 24px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.header-flex a img {
  height: 44px;
  width: auto;
  margin-right: 0.5rem;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  color: var(--on-primary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 10px;
  transition: color 0.20s, background 0.20s;
  border-radius: 7px;
  letter-spacing: 0.02em;
  /* geometric, angular */
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--primary);
  background: var(--secondary);
  outline: none;
}

.cta.primary {
  background: var(--secondary);
  color: var(--primary);
  border: none;
  border-radius: 6px;
  padding: 10px 28px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow);
  margin-left: 10px;
  display: inline-block;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
  position: relative;
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: 0 6px 24px 0 rgba(240, 165, 0, .16);
  transform: translateY(-2px) scale(1.03) skew(-2deg, 0deg);
  outline: none;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--on-primary);
  cursor: pointer;
  padding: 0 12px;
  line-height: 1;
  border-radius: 7px;
  transition: background 0.15s;
  z-index: 202;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--secondary);
  color: var(--primary);
}
/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: var(--primary);
  color: var(--on-primary);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  z-index: 3000;
  padding: 30px 20px 10px 40px;
  box-shadow: 0 0 28px rgba(36,82,122,0.18);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--on-primary);
  font-size: 2.5rem;
  padding: 6px 18px;
  margin-right: -15px;
  cursor: pointer;
  margin-bottom: 18px;
  border-radius: 7px;
  transition: background 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--secondary);
  color: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  margin-top: 1em;
}
.mobile-nav a {
  color: var(--on-primary);
  font-size: 1.2rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  border-radius: 7px;
  padding: 11px 8px;
  background: transparent;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: var(--secondary);
  color: var(--primary);
}

@media (max-width: 1020px) {
  .main-nav {
    gap: 12px;
  }
}

@media (max-width: 900px) {
  .main-nav {
    gap: 5px;
  }
  .header-flex .cta.primary {
    margin-left: 4px;
    padding: 9px 12px;
    font-size: 1rem;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* MAIN ————————————————————————————————————————*/
main {
  min-height: 400px;
}
.hero-section {
  background: #fff;
  border-radius: 24px 24px 32px 32px;
  box-shadow: var(--shadow);
  padding: 48px 24px 44px 24px;
  margin-bottom: 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.features-section, .services-section, .stats-section, .tips-section, .faq-section, .howto-section {
  background: var(--card-bg);
  border-radius: 20px;
  box-shadow: 0 2px 14px 0 rgba(36, 82, 122, 0.06);
  padding: 38px 20px 38px 20px;
  margin-bottom: 40px;
}

.features-section h2, .services-section h2, .faq-section h2, .stats-section h2, .tips-section h2, .howto-section h2 {
  text-align: left;
}

.features-grid, .services-list, .stats-grid, .team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0 24px 0;
  justify-content: space-between;
}
.features-grid > div, .services-list > div, .stats-grid > div, .team-grid > div {
  flex: 1 1 220px;
  min-width: 220px;
  background: var(--deep-bg);
  padding: 22px 16px;
  border-radius: 15px;
  box-shadow: 0 2px 8px 0 rgba(36, 82, 122, 0.05);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.15s, transform 0.15s;
}
.features-grid > div:hover, .services-list > div:hover, .stats-grid > div:hover,
.team-grid > div:hover {
  box-shadow: 0 8px 22px -4px rgba(36, 82, 122, 0.10);
  transform: translateY(-3px) scale(1.02);
}
.features-grid img, .services-list img {
  margin-bottom: 10px;
  width: 38px;
  height: 38px;
}
ul li strong {
  color: var(--primary);
}
ul {
  margin-top: 1rem;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--deep-bg);
  border-radius: 14px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  padding: 24px 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s;
}
.card:hover, .card:focus {
  box-shadow: 0 8px 22px 0 rgba(36, 82, 122, 0.10);
}

.stats-grid > div strong {
  font-family: 'Montserrat', sans-serif;
  color: var(--primary);
  font-size: 2rem;
  font-weight: 800;
}
.stats-grid > div span {
  display: block;
  margin-top: 8px;
  font-size: 1rem;
  color: #24527A;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-top: 18px;
  margin-bottom: 18px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

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

/* TESTIMONIALS ————————————————————————————————————— */
.testimonials-section {
  background: var(--accent);
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(36, 82, 122, 0.07);
  padding: 28px 20px;
}
.testimonials-section h2 {
  margin-bottom: 20px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 24px;
  background: var(--card-bg);
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(36, 82, 122, 0.06);
  border: 2.5px solid #e6ebf0;
  font-size: 1.07rem;
  color: #122235;
}
.testimonial-card blockquote {
  border: none;
  background: none;
  font-size: 1.09rem;
  font-weight: 500;
  color: #1e344b;
}
.testimonial-card span {
  display: block;
  font-family: 'Montserrat', sans-serif;
  color: #1e344b;
  font-size: 1rem;
  font-weight: 600;
  margin-left: 18px;
}

/* FAQ & Contact Blocks ———————————————————————— */
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 18px 0;
}
.faq-list > div {
  flex: 1 1 260px;
  min-width: 220px;
  background: var(--deep-bg);
  border-radius: 12px;
  padding: 18px 16px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px #f0a50011;
  transition: box-shadow 0.14s;
}
.faq-list > div:hover {
  box-shadow: 0 8px 22px -4px rgba(36, 82, 122, 0.11);
}

/* Contact info block */
.contact-info-block {
  margin-top: 1.2em;
  background: var(--deep-bg);
  border-radius: 13px;
  padding: 20px 18px;
  box-shadow: 0 2px 8px 0 rgba(36, 82, 122, 0.04);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-info-block p {
  display: flex;
  align-items: center;
  gap: 15px;
  line-height: 1.65;
  font-size: 1rem;
  color: #1e344b;
}
.contact-info-block img {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

/* Buttons, Links, CTA ——————————————————————————— */
button, .cta {
  cursor: pointer;
  border: none;
  appearance: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.19s, box-shadow 0.19s, color 0.19s, transform 0.18s;
  outline: none;
}
.cta {
  background: var(--primary);
  color: var(--on-primary);
  border-radius: 6px;
  padding: 12px 28px;
  margin-top: 14px;
  margin-bottom: 14px;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.04em;
  display: inline-block;
  min-width: 170px;
  box-shadow: 0 2px 8px #24527a18;
}
.cta.primary {
  background: var(--secondary);
  color: var(--primary);
}
.cta:active {
  transform: scale(0.97);
}

.cta:focus {
  outline: 2.5px dashed var(--secondary);
  outline-offset: 2.5px;
}

.cta.secondary {
  background: var(--primary);
  color: var(--on-primary);
}
.cta.secondary:hover, .cta.secondary:focus {
  background: var(--secondary);
  color: var(--primary);
}

.cta:hover, .cta:focus {
  filter: brightness(1.04);
  background: var(--primary);
  color: var(--on-primary);
}


/* CARDS & SPECIAL SECTIONS ———————————————————————– */
.card,
.features-grid > div,
.services-list > div,
.faq-list > div,
.stats-grid > div,
.team-grid > div,
.legal-section, .thankyou-section {
  border-radius: 13px;
  box-shadow: 0 2px 10px 0 rgba(36, 82, 122, 0.06);
  background: var(--card-bg);
}
.legal-section, .thankyou-section {
  padding: 38px 18px;
}

.cta-section {
  background: var(--deep-bg);
  border-radius: 14px;
  padding: 38px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 60px;
}

/* Footer ———————————————————————————————————————— */
footer {
  background: var(--primary);
  color: var(--on-primary);
  padding-top: 36px;
  padding-bottom: 24px;
  margin-top: 50px;
  font-size: 1rem;
}
.footer-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 36px;
  justify-content: space-between;
}
.footer-flex > a img {
  height: 42px;
  width: auto;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: var(--on-primary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 7px;
  padding: 5px 7px;
  transition: background 0.18s, color 0.18s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}
.footer-contact {
  font-size: 1rem;
  line-height: 1.7;
}
.footer-contact a, .footer-contact p {
  color: var(--on-primary);
  font-size: 1rem;
}


/* COOKIE BANNER —————————————————————————————————- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  color: var(--primary);
  box-shadow: 0 -4px 22px 0 rgba(36, 82, 122, 0.10);
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 26px 22px 20px 22px;
  z-index: 4000;
  font-size: 1rem;
  border-radius: 32px 32px 0 0;
  flex-wrap: wrap;
}
.cookie-banner__text {
  flex: 1 1 260px;
  margin-bottom: 13px;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-banner button {
  min-width: 142px;
  border-radius: 7px;
  padding: 10px 22px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  transition: background 0.17s, color 0.17s;
  font-size: 1rem;
  border: none;
  margin-right: 8px;
  margin-bottom: 6px;
}
.cookie-banner .accept {
  background: var(--primary);
  color: #fff;
}
.cookie-banner .accept:hover,
.cookie-banner .accept:focus {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-banner .reject {
  background: #f8fafb;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.cookie-banner .reject:hover,
.cookie-banner .reject:focus {
  background: var(--primary);
  color: #fff;
}
.cookie-banner .settings {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-banner .settings:hover,
.cookie-banner .settings:focus {
  background: var(--primary);
  color: #fff;
}
/* COOKIE MODAL */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 5000;
  inset: 0;
  background: rgba(36, 82, 122, 0.19);
  transition: opacity 0.25s;
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal {
  max-width: 430px;
  background: #fff;
  border-radius: 18px;
  padding: 32px 28px;
  color: var(--primary);
  box-shadow: 0 8px 32px 0 rgba(36, 82, 122, 0.13);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.2s, opacity 0.18s;
  transform: translateY(30px) scale(0.98);
  opacity: 1;
}
.cookie-modal.open {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.cookie-modal h2 {
  font-size: 1.24rem;
  color: var(--primary);
  margin-bottom: 0.8em;
}
.cookie-modal .categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 12px;
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 23px;
  font-size: 1rem;
}
.cookie-modal .category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--secondary);
  border-radius: 5px;
  margin-left: 12px;
}
.cookie-modal .category input[disabled] {
  opacity: 0.7;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 11px;
  justify-content: flex-end;
  margin-top: 13px;
}
.cookie-modal .modal-actions button {
  font-size: 1rem;
  min-width: 98px;
  padding: 9px 20px;
  border-radius: 6px;
}

/* UTILITIES & HELPERS ——————————————————————————————- */
.mb-0 {margin-bottom: 0!important;}
.mb-24 {margin-bottom:24px!important;}
.text-center {text-align:center;}
.text-left {text-align:left;}
.text-section {text-align: left;}
.nowrap {white-space:nowrap;}

/* ******** RESPONSIVE LAYOUTS ——————————————————————————*/
@media (max-width: 1010px) {
  .features-grid > div,
  .services-list > div,
  .faq-list > div,
  .stats-grid > div,
  .team-grid > div {
    min-width:170px;
    flex: 1 1 170px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding-left: 12px;
    padding-right: 12px;
  }
  .features-grid, .services-list, .stats-grid {
    gap: 16px;
  }
}
@media (max-width: 800px) {
  h1 {font-size: 1.55rem;}
  h2 {font-size: 1.17rem;}
  section, .content-wrapper {
    padding-left: 12px;
    padding-right: 12px;
  }
  .footer-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}
@media (max-width: 768px) {
  .features-grid, .services-list, .faq-list, .stats-grid, .team-grid,
  .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
.text-image-section { flex-direction: column; gap: 18px;}
  .container {padding-left:8px; padding-right:8px;}
  .content-wrapper, .hero-section, section, .legal-section, .thankyou-section {
    padding: 28px 6px 32px 6px;
  }
  .footer-contact, .footer-nav, .footer-flex {font-size:0.97rem;}
}

@media (max-width: 480px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 7px 14px 7px;
    font-size: 0.97rem;
  }
  .cookie-banner__actions {
    flex-direction: column;
    gap: 6px;
    width: 100%;
  }
  .cookie-banner button {
    margin-right: 0;
    width: 100%;
  }
}

/* FOCUS STYLES */
:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}
button:focus {
  outline: 2px dashed var(--primary);
}

/* GEOMETRIC DECOR ———————————————————————————————– */
/* Example geometric shapes for accents; you may add geometric SVG backgrounds as needed in the final project. */
.features-section, .services-section, .stats-section, .tips-section, .faq-section, .howto-section, .testimonials-section {
  position: relative;
}
.features-section::after {
  content: '';
  display: block;
  position: absolute;
  right: 30px;
  top: 16px;
  width: 48px;
  height: 48px;
  background: var(--secondary);
  border-radius: 14% 86% 38% 62%/61% 49% 51% 39%;
  opacity: 0.08;
  z-index: 1;
  pointer-events: none;
}
.services-section::before {
  content: '';
  display: block;
  position: absolute;
  left: 14px;
  bottom: 12px;
  width: 31px;
  height: 31px;
  background: var(--primary);
  clip-path: polygon(0 0, 100% 48%, 100% 100%, 0% 100%);
  border-radius: 7px;
  opacity: 0.13;
  z-index: 1;
  pointer-events: none;
}

/* END ————————————————————————————————————————————— */
