/* ---------------------------
   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-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  background: #fcfcfc;
  color: #31333b;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  word-break: break-word;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  border: none;
}
button {
  background: none;
  cursor: pointer;
  transition: background .2s, color .2s;
}

/* -----------------------
   BRAND COLORS & FONTS
----------------------- */
:root {
  --color-primary: #205072;
  --color-secondary: #F5A623;
  --color-accent: #FFFFFF;
  --color-grey-bg: #f8f8f8;
  --color-grey-text: #898b98;
  --color-shadow: rgba(32,80,114, 0.11);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* ----------------------
    GENERAL CONTAINER
---------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* ---------------------------------------
   TYPOGRAPHY: HEADINGS & BODY
----------------------------------------*/
h1, .h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.25rem; /* 36px */
  color: var(--color-primary);
  margin-bottom: 22px;
  letter-spacing: -1px;
  line-height: 1.2;
}
h2, .h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.75rem; /* 28px */
  margin-bottom: 20px;
  color: var(--color-primary);
  letter-spacing: -0.5px;
}
h3, .h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem; /* 20px */
  margin-bottom: 10px;
  color: var(--color-secondary);
  letter-spacing: 0;
}
h4, .h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--color-primary);
}
p, ul, ol, li {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #31333b;
  margin-bottom: 12px;
}
strong { font-weight: bold; }
.text-section {
  max-width: 750px;
  margin: 0 auto;
  text-align: center;
}

/* Artistic heading underline accent */
h2, .h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
}
h2:after {
  content: '';
  display: block;
  width: 44px;
  height: 4px;
  border-radius: 2px;
  margin: 8px auto 0 auto;
  background: var(--color-secondary);
}

/* ----------------------------------
   HEADER & NAVIGATION
-----------------------------------*/
header {
  background: var(--color-accent);
  box-shadow: 0 1px 6px 0 rgba(32,80,114, 0.08);
  position: sticky;
  top: 0;
  z-index: 90;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 18px;
  padding-bottom: 18px;
  min-height: 62px;
}
.logo img {
  height: 38px;
  width: auto;
  display: block;
}
nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.06rem;
  color: var(--color-primary);
  letter-spacing: 0.01em;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background .18s, color .2s;
  position: relative;
}
nav a.active, nav a:hover, nav a:focus {
  background: var(--color-secondary);
  color: #fff;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  background: var(--color-secondary);
  color: #fff;
  font-size: 1.13rem;
  border-radius: 28px;
  padding: 10px 32px;
  margin-left: 12px;
  box-shadow: 0 2px 14px 0 rgba(32, 80, 114, 0.1);
  transition: box-shadow .18s, background .18s;
}
.cta.primary {
  background: var(--color-primary);
  color: #fff;
}
.cta:hover, .cta:focus {
  box-shadow: 0 6px 18px 0 rgba(32, 80, 114, 0.22);
  background: #174258;
  color: #fff;
  outline: none;
}

/* -------------
  MOBILE MENU
---------------*/
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  color: var(--color-primary);
  background: none;
  border: none;
  outline: none;
  z-index: 120;
  margin-left: 8px;
  transition: color .2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: var(--color-secondary);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  box-shadow: 0 4px 34px rgba(32, 80, 114, 0.13);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform .32s ease;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.1rem;
  align-self: flex-end;
  margin: 24px 28px 18px 0;
  background: none;
  border: none;
  color: var(--color-primary);
  transition: color .18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--color-secondary);
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  padding: 0 32px;
}
.mobile-nav a {
  font-size: 1.20rem;
  padding: 10px 0;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: bold;
  width: 100%;
  border-radius: 8px;
  transition: background .15s, color .15s;
  margin-top: 0;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--color-accent);
  background: var(--color-primary);
}

@media (max-width: 1040px) {
  header .container {
    gap: 10px;
  }
  nav {
    gap: 12px;
  }
  .cta {
    padding: 10px 20px;
    font-size: 1rem;
  }
  .logo img {
    height: 34px;
  }
}
@media (max-width: 870px) {
  .logo img {
    height: 27px;
  }
}
@media (max-width: 860px) {
  nav {
    display: none !important;
  }
  .cta {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ----------------------------------
  HERO SECTION (Artistic)
-----------------------------------*/
.hero {
  background: linear-gradient(140deg, #F5A623 0%, #f8d13b 50%, #FFF 100%);
  background-size: 240% 180%;
  min-height: 330px;
  display: flex;
  align-items: center;
  position: relative;
  border-radius: 0 0 40px 40px;
  box-shadow: 0 12px 42px 0 rgba(245, 166, 35, 0.06);
  margin-bottom: 40px;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
}
.hero .content-wrapper {
  flex: 1;
  text-align: left;
  padding: 44px 12px;
  animation: fadein-up 0.8s cubic-bezier(.4,.8,.32,1) .07s;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-primary);
  margin-bottom: 18px;
  letter-spacing: -1.2px;
}
.hero p {
  font-size: 1.13rem;
  max-width: 530px;
  color: #37415f;
  margin-bottom: 22px;
}

@keyframes fadein-up {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}


/* -----------------------------------------
   SECTIONS, SPACING AND FLEX LAYOUT RULES
------------------------------------------*/
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.content-wrapper {
  margin: 0 auto;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  justify-content: center;
  margin-top: 20px;
}

.feature-item {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 24px 0 var(--color-shadow);
  flex: 1 1 230px;
  min-width: 220px;
  max-width: 290px;
  padding: 24px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow .22s, transform .17s;
  position: relative;
  border: 1.5px solid #e3e5f1;
  z-index: 1;
}
.feature-item img {
  width: 42px;
  height: 42px;
  margin-bottom: 4px;
  filter: drop-shadow(0 2px 5px #f5a62333);
}
.feature-item h3 {
  color: var(--color-secondary);
  font-size: 1.15rem;
}
.feature-item p {
  color: #4a4c5a;
  font-size: 1rem;
  line-height: 1.6;
}
.feature-item:hover,
.feature-item:focus-within {
  box-shadow: 0 14px 38px 0 rgba(32, 80, 114, 0.18);
  transform: translateY(-6px) scale(1.025);
  border-color: var(--color-secondary);
}

.text-section {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 18px 0 var(--color-shadow);
  margin-bottom: 20px;
  padding: 28px 22px;
  position: relative;
  flex: 1 1 280px;
  max-width: 380px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* --------------------------------
   TESTIMONIAL CARDS & REVIEWS
---------------------------------*/
.testimonial-card {
  background: #fff;
  border: 2.5px solid var(--color-primary);
  border-radius: 20px;
  box-shadow: 0 7px 30px 0 rgba(32, 80, 114, 0.10);
  padding: 20px 28px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 1.15rem;
  position: relative;
}
.testimonial-card p {
  color: #1b2537;
  font-size: 1.08rem;
  font-family: var(--font-body);
  font-style: italic;
}
.testimonial-card strong, .testimonial-card h3 {
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-size: 1rem;
  margin-top: 8px;
}
.review-summary {
  background: var(--color-grey-bg);
  border-radius: 14px;
  padding: 22px 28px;
  color: #1b2537;
  margin-bottom: 24px;
  border: 1.4px dashed var(--color-secondary);
}
.review-summary h3 {
  color: var(--color-primary);
  font-size: 1.20rem;
}
.review-summary ul {
  margin-top: 10px;
  margin-bottom: 0;
  font-size: 1rem;
  color: #31333b;
  list-style: disc inside;
}


/* ------------------
    FOOTER
-------------------*/
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 40px 0 0 0;
  box-shadow: 0 -7px 24px 0 rgba(32,80,114,0.08);
  font-size: 1rem;
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}
.footer-main nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-main nav a {
  color: #fff;
  font-size: 1.05rem;
  font-family: var(--font-display);
  padding: 3px 0;
}
.footer-main nav a:hover,
.footer-main nav a:focus {
  color: var(--color-secondary);
}
.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 7px;
}
.footer-meta a {
  color: #e8ecf2;
  font-size: .94rem;
  padding: 1.5px 0;
}
.footer-meta a:hover {
  color: var(--color-secondary);
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #fffc;
  font-size: .97rem;
}
.contact-details img {
  width: 18px;
  height: 18px;
  margin-right: 7px;
  vertical-align: middle;
  filter: brightness(0) invert(1);
}
.copyright {
  margin-top: 18px;
  font-size: .98rem;
  color: #cad5df;
  text-align: center;
  padding-bottom: 18px;
}

/* ---------------------------------
   LISTS, OL/UL for text sections
----------------------------------*/
.text-section ul, .text-section ol, ul, ol {
  margin: 12px 0 12px 20px;
  text-align: left;
  line-height: 1.7;
  color: #4a4c5a;
}
.text-section ul li, .text-section ol li {
  margin-bottom: 7px;
  list-style: disc;
}

/* ---------------------------------
    CUSTOM ELEMENTS & UNIQUENESS
----------------------------------*/
/* Artistic blobs/decor behind sections (optional) */
section.hero:before {
  content: '';
  position: absolute;
  left: 22%;
  top: -90px;
  width: 120px;
  height: 120px;
  background: #f8d13b;
  opacity: 0.18;
  border-radius: 38% 62% 55% 45%/46% 47% 53% 54%;
  z-index: 0;
}

section.hero:after {
  content: '';
  position: absolute;
  right: 8%;
  bottom: -74px;
  width: 150px;
  height: 64px;
  background: var(--color-secondary);
  opacity: 0.16;
  border-radius: 75% 34% 80% 20%/48% 70% 30% 52%;
  z-index: 0;
}

/* Adding artistic font for headings */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-feature-settings: 'ss01', 'ss04', 'salt';
  letter-spacing: -0.01em;
}

/* Decorative divider */
.divider {
  width: 78px;
  height: 3.5px;
  background: var(--color-secondary);
  border-radius: 2px;
  margin: 30px auto 8px auto;
}

/* Cards and Callouts with artistic border */
.card {
  border: 2px dashed var(--color-secondary);
}

/* Secondary accent background */
section[style*="background: #f8f8f8"] {
  background: var(--color-grey-bg) !important;
}

/* ---------------------------------
    BUTTON STYLES (All Calls to Action)
----------------------------------*/
button, .cta {
  transition: background .18s, color .18s, box-shadow .18s, transform .11s;
}
.cta.secondary {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cta.secondary:hover {
  background: #ffd367;
  color: #205072;
}

/* ---------------------------------
    ANIMATIONS/INTERACTIONS
----------------------------------*/
.feature-item, .card, .testimonial-card, .review-summary {
  transition: box-shadow .21s, transform .17s, border-color .17s;
  will-change: box-shadow, transform, border-color;
}

/* Subtle hover on review */
.testimonial-card:hover {
  box-shadow: 0 16px 38px 0 rgba(32, 80, 114, 0.14);
  border-color: var(--color-secondary);
}

/* ---------------------------------
  COOKIES BANNER & MODAL
-----------------------------------*/
.cookies-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  width: 100vw;
  background: #fffbe4;
  color: #1b2537;
  box-shadow: 0 -3px 18px 0 #0002;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 22px 16px;
  z-index: 5500;
  font-size: 1rem;
  flex-wrap: wrap;
  animation: fadein-up .5s .05s;
}
.cookies-banner p {
  margin: 0;
  color: #205072;
  max-width: 540px;
  font-size: 1rem;
}
.cookies-banner .btn {
  margin-left: 10px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 26px;
  padding: 7px 20px;
  font-weight: 600;
  font-family: var(--font-display);
  border: none;
  transition: background .14s, color .14s;
  font-size: .98rem;
}
.cookies-banner .btn.settings {
  background: var(--color-secondary);
  color: #205072;
}
.cookies-banner .btn:hover, .cookies-banner .btn:focus {
  background: #174258;
  color: #fff;
  outline: none;
}
.cookies-banner .btn.settings:hover, .cookies-banner .btn.settings:focus {
  background: #ffd367;
  color: #205072;
}

.cookie-modal-bg {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(32,80,114,0.32);
  z-index: 6900;
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadein-bg .22s;
}
@keyframes fadein-bg {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  max-width: 350px;
  width: 96vw;
  padding: 34px 24px 22px 24px;
  box-shadow: 0 8px 42px 0 #20507229;
  color: #205072;
  animation: fadein-up .23s;
}
.cookie-modal h2 {
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 20px;
}
.cookie-modal .cookie-category {
  margin-bottom: 16px;
  padding: 9px 0;
  border-bottom: 1px solid #efefef;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.03rem;
}
.cookie-modal .cookie-category:last-child {
  border-bottom: none;
  margin-bottom: 20px;
}
.cookie-modal .cookie-switch {
  margin-left: 12px;
  accent-color: var(--color-secondary);
  pointer-events: auto;
  width: 22px;
  height: 22px;
}
.cookie-modal .cookie-switch[disabled] {
  opacity: 0.45;
  pointer-events: none;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal .btn {
  font-family: var(--font-display);
  padding: 7px 16px;
  border-radius: 20px;
  border: none;
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  transition: background .13s, color .13s;
}
.cookie-modal .btn:hover,
.cookie-modal .btn:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}

/* --------------------------------
    RESPONSIVE DESIGN
---------------------------------*/
@media (max-width: 900px) {
  .features-grid, .footer-main {
    flex-wrap: wrap;
    gap: 16px;
  }
  .feature-item, .card {
    min-width: 170px;
    max-width: 100%;
    flex-basis: 100%;
  }
  .footer-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
@media (max-width: 700px) {
  h1, .h1 {
    font-size: 1.56rem;
  }
  h2, .h2 {
    font-size: 1.22rem;
  }
  h3, .h3 {
    font-size: 1rem;
  }
  .hero .content-wrapper {
    padding: 32px 0 32px 0;
    text-align: left;
  }
  .footer-main {
    flex-direction: column;
    align-items: flex-start;
  }
  .testimonials {
    flex-direction: column;
  }
  section.hero:before, section.hero:after {
    display: none;
  }
}
@media (max-width: 540px) {
  section {
    padding: 30px 10px;
  }
  .testimonial-card, .review-summary {
    padding: 16px 9px;
    font-size: 1rem;
  }
  .feature-item {
    border-radius: 13px;
    padding: 17px 9px;
    min-width: 140px;
  }
  .content-wrapper {
    padding-left: 0;
    padding-right: 0;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .features-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }
  .footer-main {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 8px;
  }
}
@media (max-width: 400px) {
  h1, .h1 { font-size: 1.05rem; }
  .feature-item h3 { font-size: .97rem; }
}

/* -------------------------------------------
    MISC SPACING & FLEXBOX LAYOUTS (MANDATORY)
--------------------------------------------*/
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ---------------------------------
    MISC FORMS, FOCUS, SELECTION
----------------------------------*/
input, textarea, select {
  border-radius: 7px;
  border: 1px solid #d3d4e8;
  padding: 9px 11px;
  font-size: 1rem;
  margin-bottom: 16px;
  transition: border-color .16s, box-shadow .13s;
  width: 100%;
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-secondary);
  box-shadow: 0 2px 12px #f5a62322;
}
::selection {
  background: #f5a62344;
}

/* ----------------------------------
 ARTISTIC FOCUS RING FOR ACCESSIBILITY
-----------------------------------*/
:focus-visible {
  outline: 2.5px solid var(--color-secondary) !important;
  outline-offset: 1.5px;
}

/* -----------------------------------
  PRINT & ACCESSIBILITY
------------------------------------*/
@media print {
  header, nav, footer, .cta, .mobile-menu { display: none !important; }
  .container { max-width: 100% !important; }
  body { color: #000; background: #fff; }
}


/* -----------------------------------
       END OF CSS
------------------------------------*/
