/* CSS RESET & BASE STYLES */
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 {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  background: #F5F4F0;
  color: #21272B;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.68;
  min-height: 100vh;
  letter-spacing: 0.03em;
}
* {
  box-sizing: border-box;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #005A89;
  text-decoration: none;
  transition: color 0.22s;
}
a:hover, .main-nav a:focus {
  color: #D18500;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
}

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

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #0F2940;
  font-weight: 900;
  letter-spacing: 0.01em;
  text-shadow: 1px 1px 0 rgba(0,90,137,0.07);
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

p, li, span {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #21272B;
}
p, li {
  margin-bottom: 12px;
}
.tagline {
  font-style: italic;
  color: #005A89;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.privacy-hint {
  font-size: 0.96rem;
  color: #B94600;
  margin-bottom: 12px;
}

/* CONTAINER LAYOUTS */
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
}
.content-wrapper {
  padding: 0 0 0 0;
}
.text-section {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
  margin-bottom: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(0,90,137,0.11), 0 0.5px 1.5px 0 rgba(221,133,0,0.14);
  padding: 28px 22px 22px 22px;
  transition: box-shadow 0.23s, transform 0.23s;
  min-width: 265px;
  flex: 1 1 300px;
}
.card:hover {
  box-shadow: 0 4px 36px 0 rgba(0,90,137,0.15), 0 2px 16px 0 rgba(221,133,0,0.13);
  transform: translateY(-5px) scale(1.03);
  z-index: 3;
}
.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: 8px;
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: 0 4px 18px 0 rgba(0,90,137,0.08);
  border-left: 5px solid #FFB400;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.testimonial-card p {
  font-size: 1.1rem;
  color: #21272B;
  line-height: 1.7;
}
.testimonial-card span {
  color: #005A89;
  font-weight: 500;
}
.testimonial-card span:last-child {
  color: #D18500;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.15em;
  font-weight: 700;
  font-size: 1.3em;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px 0 rgba(0,90,137,0.12);
  border-color: #D18500;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 24px;
  padding: 18px;
  border-radius: 14px;
  background: #F5F4F0;
  box-shadow: 0 2px 12px 0 rgba(221,133,0,0.08);
}

/* BUTTONS & CTAs */
.cta-btn {
  display: inline-block;
  background: linear-gradient(90deg,#005A89 60%, #D18500 100%);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.14rem;
  font-weight: 700;
  border: none;
  border-radius: 40px;
  padding: 14px 38px;
  margin-top: 24px;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 12px 0 rgba(0,90,137,0.15);
  cursor: pointer;
  position: relative;
  transition: background 0.24s, box-shadow 0.21s, transform 0.13s;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #D18500 60%, #005A89 100%);
  box-shadow: 0 6px 28px 0 rgba(221,133,0,0.18);
  transform: translateY(-2px) scale(1.025);
  outline: none;
}

button, .mobile-menu-toggle, .mobile-menu-close {
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 2rem;
  color: #005A89;
  outline: none;
  transition: color 0.19s;
}
button:focus, .mobile-menu-toggle:focus {
  color: #D18500;
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 4px 18px 0 rgba(0,90,137,0.07);
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 12px;
  padding-bottom: 12px;
}
header img {
  height: 48px;
  width: auto;
  margin-right: 24px;
}
.main-nav {
  display: flex;
  gap: 30px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #005A89;
  letter-spacing: 0.05em;
  padding: 2px 4px;
  border-radius: 5px;
  transition: background 0.19s, color 0.16s;
}
.main-nav a:hover, .main-nav a.active {
  background: #FFB400;
  color: #fff;
}

.mobile-menu-toggle {
  display: none;
  margin-left: 12px;
  line-height: 1;
  background: #F5F4F0;
  border-radius: 7px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  z-index: 23;
  position: relative;
  transition: background 0.16s, color 0.18s;
}
.mobile-menu-toggle:hover {
  background: #D18500;
  color: #fff;
}

/* MOBILE NAVIGATION OVERLAY */
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: #fff;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  z-index: 9999;
  padding: 32px 0 0 0;
  transform: translateX(101vw);
  transition: transform 0.33s cubic-bezier(.77,.24,.25,.85);
  box-shadow: 0 0 12px 3px rgba(0,90,137,0.04);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: #D18500;
  background: none;
  border: none;
  position: absolute;
  right: 22px;
  top: 30px;
  z-index: 10002;
  opacity: 0.82;
  transition: color 0.2s, opacity 0.14s;
}
.mobile-menu-close:hover {
  color: #005A89;
  opacity: 1;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 64px;
  align-items: flex-start;
  padding-left: 42px;
  z-index: 10001;
}
.mobile-nav a {
  color: #005A89;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  padding: 9px 0;
  border-radius: 8px;
  transition: color .14s, background .14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #D18500;
  background: #FFF6E6;
}

/* FOOTER */
footer {
  background: #fff;
  padding: 32px 0 24px 0;
  box-shadow: 0 -4px 18px 0 rgba(0,90,137,0.07);
  margin-top: 80px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 8px;
  justify-content: center;
}
.footer-nav a {
  font-size: 1rem;
  color: #005A89;
  transition: color 0.17s;
}
.footer-nav a:hover {
  color: #D18500;
}
.footer-contact {
  text-align: center;
  font-size: 1rem;
  color: #50565B;
  margin-top: 2px;
}
.footer-contact span {
  color: #50565B;
  margin: 0 3px;
  font-size: 1rem;
}

/* HOMEPAGE HIGHLIGHTS */
section ul {
  margin-top: 10px;
  margin-bottom: 10px;
}
section ul li {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #FFF6E6;
  padding: 16px 18px;
  border-radius: 13px;
  margin-bottom: 12px;
  font-size: 1.13rem;
  box-shadow: 0 2px 8px 0 rgba(221,133,0,0.06);
  transition: background 0.18s, box-shadow 0.19s;
}
section ul li img {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
section ul li:hover {
  background: #FFB400;
  color: #fff;
  box-shadow: 0 5px 16px rgba(0,90,137,0.10);
}
section ul li strong {
  color: #005A89;
}
section ul li span {
  color: #D18500;
  font-weight: 700;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #FFB400;
  color: #21272B;
  z-index: 10003;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 12px 18px 12px;
  box-shadow: 0 -6px 24px rgba(0,90,137,0.17);
  animation: fadeUp 0.61s cubic-bezier(.83,.03,.19,1);
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner p {
  font-size: 1.01rem;
  color: #21272B;
  margin-bottom: 10px;
  text-align: center;
}
.cookie-controls {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.cookie-banner .cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 34px;
  border: none;
  padding: 9px 28px;
  margin-top: 0;
  transition: background 0.17s, box-shadow 0.21s, color 0.17s;
  cursor: pointer;
}
.cookie-btn.accept {
  background: #005A89;
  color: #fff;
}
.cookie-btn.accept:hover {
  background: #033D59;
}
.cookie-btn.reject {
  background: #F5F4F0;
  color: #005A89;
  border: 2px solid #005A89;
}
.cookie-btn.reject:hover {
  background: #fff;
  color: #D18500;
  border-color: #D18500;
}
.cookie-btn.settings {
  background: #fff;
  color: #D18500;
  border: 2px solid #D18500;
}
.cookie-btn.settings:hover {
  background: #FFE9BF;
}

/* Cookie Modal */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 10005;
  left: 0; right: 0; top: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(33,39,43,0.47);
  align-items: center;
  justify-content: center;
  animation: fadeInCookieModal 0.37s;
}
.cookie-modal-overlay.open {
  display: flex;
}
@keyframes fadeInCookieModal {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #21272B;
  border-radius: 20px;
  width: 95vw;
  max-width: 410px;
  max-height: 90vh;
  padding: 32px 30px 24px 30px;
  box-shadow: 0 12px 48px 0 rgba(0,90,137,0.27);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: scaleUpModal 0.31s cubic-bezier(.77,.21,.28,1.04);
}
@keyframes scaleUpModal {
  from { transform: scale(0.88); opacity:0; }
  to   { transform: scale(1); opacity:1; }
}
.cookie-modal h2 {
  font-size: 1.45rem;
  color: #005A89;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #F5F4F0;
  padding: 9px 17px;
  border-radius: 12px;
  margin-bottom: 9px;
}
.cookie-category label {
  font-weight: 500;
  color: #21272B;
  font-size: 1.07rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: #005A89;
  width: 20px; height: 20px;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #D18500;
  cursor: pointer;
  z-index: 10007;
  opacity: 0.83;
}
.cookie-modal .close-cookie-modal:hover {
  color: #005A89;
  opacity: 1;
}
.cookie-modal .cookie-btn {
  margin-top: 8px;
  width: 48%;
}
.cookie-modal .cookie-controls {
  justify-content: flex-end;
  gap: 14px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1100px) {
  .container {
    max-width: 960px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 750px;
  }
  header img {
    height: 42px;
  }
  .main-nav {
    gap: 17px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    align-items: center;
    gap: 6px;
  }
  .main-nav,
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    position: relative;
  }
  .mobile-menu {
    display: flex;
    transition: transform 0.37s cubic-bezier(.83,.03,.19,1);
  }
  .container {
    padding-left: 9px;
    padding-right: 9px;
  }
  h1 {
    font-size: 1.6rem;
  }
  h2 {
    font-size: 1.3rem;
  }
  .section, .content-wrapper {
    padding: 24px 7px;
  }
  .card {
    min-width: 90vw;
    padding: 16px 10px 14px 10px;
  }
  .testimonial-card {
    padding: 15px 10px;
  }
  .footer-nav {
    gap: 12px;
    font-size: 0.9rem;
  }
  .text-image-section, .content-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 11px;
  }
}
@media (max-width: 500px) {
  .container, .section, .content-wrapper {
    padding-left: 2px;
    padding-right: 2px;
  }
  .cookie-modal {
    max-width: 98vw;
    padding: 20px 7px 18px 10px;
  }
}

/* MICRO-INTERACTIONS & ANIMATIONS */
.cta-btn, .cookie-btn, .main-nav a, .mobile-nav a, .card, .testimonial-card {
  transition: all 0.20s cubic-bezier(.9,.13,.33,.99);
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 8px 32px 0 rgba(0,90,137,0.11);
  transform: translateY(-4px) scale(1.018);
}
li:hover, .feature-item:hover {
  box-shadow: 0 6px 16px 0 rgba(0,90,137,0.09);
  transform: scale(1.03);
}

/* Z-INDEX for overlays */
.mobile-menu,
.cookie-banner,
.cookie-modal-overlay {
  z-index: 9999;
}

/* SCROLLBAR Styling for modern browsers */
::-webkit-scrollbar {
  width: 8px;
  background: #F5F4F0;
}
::-webkit-scrollbar-thumb {
  background: #D18500;
  border-radius: 8px;
}

/* UNIQUE ARTISTIC ELEMENTS */
h1, h2, h3 {
  text-decoration: underline wavy #D18500 2px;
  text-underline-offset: 0.22em;
}
.card {
  border: 2px solid #FFB400;
  border-image: linear-gradient(90deg, #FFB400, #005A89 80%) 1;
  box-shadow:
    0 1.5px 8px 0 rgba(0,90,137,0.11),
    0 2.5px 18px 0 rgba(221,133,0,0.12);
}

/* ARTISTIC FOCUS: Add subtle brush decorations (decorative only) */
.card:before {
  content: '';
  display: block;
  position: absolute;
  left: -16px; top: -14px;
  width: 60px;
  height: 19px;
  background: url('../assets/brush.svg');
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 0;
  opacity: 0.13;
  pointer-events: none;
}
/* Only decorative, never for text alignment! */

/* MISC SPACING & LAYOUT ENFORCEMENT */
.section {
  margin-bottom: 60px !important;
  padding: 40px 20px !important;
}
.card-container, .content-grid {
  gap: 24px !important;
}
.card {
  margin-bottom: 20px !important;
}
.text-image-section {
  gap: 30px !important;
}
.testimonial-card {
  gap: 20px !important;
  padding: 20px !important;
}
.feature-item {
  gap: 15px !important;
}

/* ENSURE NO OVERLAPS */
.card, .testimonial-card, .feature-item, .footer-nav a, .main-nav a, .mobile-nav a {
  margin-right: 0;
  margin-left: 0;
}

/* FOCUS HIGHLIGHTS */
a:focus, button:focus, .cta-btn:focus, .cookie-btn:focus {
  outline: 3px solid #FFB400;
  outline-offset: 2px;
  background: #fff5db;
  color: #21272B !important;
}

/* END OF CSS */