/* --- 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%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.6;
  background: #F5F7FA;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #2f3440;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}
a {
  color: #28A87A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #153A56;
  outline: none;
}
ul,ol {
  margin-left: 24px;
  margin-bottom: 24px;
}
li {
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.7;
}
strong, b {
  font-weight: 600;
}
hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 32px 0;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #153A56;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}
h1 {
  font-size: 32px;
  margin-bottom: 24px;
  letter-spacing: -1px;
}
h2 {
  font-size: 24px;
  margin-bottom: 20px;
}
h3 {
  font-size: 18px;
  margin-bottom: 16px;
}
h4 { font-size: 16px; }
h5 { font-size: 14px; }
h6 { font-size: 14px; }
p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 18px;
}
blockquote {
  font-size: 18px;
  font-style: italic;
  position: relative;
  color: #2f3440;
  margin-bottom: 12px;
  padding-left: 24px;
  border-left: 4px solid #FFD385;
}
cite {
  font-size: 15px;
  color: #7C4A1D;
  font-style: normal;
  margin-left: 6px;
}

/* --- GLOBAL LAYOUT CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.text-section {
  background: #fff;
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: 0 2px 16px rgba(235, 161, 67, 0.12);
  margin-bottom: 20px;
}

/* ===============
   SECTION SPACING
================== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

/* ===============
   HEADER & NAVBAR
================== */
header {
  background: #FFD6A0;
  border-bottom: 1px solid #ffe0b8;
  box-shadow: 0 2px 8px rgba(255, 184, 94, 0.09);
}
header nav {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 0 0;
  flex-wrap: wrap;
  background: none;
}
header nav a img {
  height: 42px; border-radius: 0;
}
header nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin: 0 24px 0 0;
}
header nav ul li {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}
header nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #2f3440;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
header nav ul li a:hover {
  background: #FFEACB;
  color: #28A87A;
}
header nav .cta-primary {
  background: #28A87A;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  padding: 10px 28px;
  border-radius: 22px;
  box-shadow: 0 2px 8px rgba(40, 168, 122, 0.07);
  font-weight: 700;
  transition: background 0.18s, box-shadow 0.18s;
  margin-left: 8px;
}
header nav .cta-primary:hover, .cta-primary:focus {
  background: #153A56;
  box-shadow: 0 4px 14px rgba(40,168,122,0.09);
  color: #fff;
}

/* ====== MOBILE NAV ====== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #153A56;
  cursor: pointer;
  z-index: 102;
  padding: 6px 14px;
  border-radius: 12px;
  transition: background 0.12s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #FFD385;
}

.mobile-menu {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: #FFD6A0;
  z-index: 120;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.33,1.02,.48,1.13);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 24px 36px 32px;
  width: 100vw;
  min-height: 100vh;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #153A56;
  align-self: flex-end;
  margin-bottom: 24px;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.mobile-nav a {
  font-size: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #2f3440;
  padding: 13px 0;
  border-bottom: 1px solid #FFE8C8;
  width: 100%;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #28A87A;
  background: #FFF2D9;
  border-radius: 12px;
}

/* ======= HIDE/SHOW NAV DESKTOP/MOBILE ======= */
@media (max-width: 1020px) {
  header nav ul {
    gap: 8px;
  }
  header nav {
    gap: 12px;
  }
}
@media (max-width: 900px) {
  header nav ul {
    display: none;
  }
  header nav .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
}

/* --- FOOTER --- */
footer {
  background: #F5F7FA;
  border-top: 1.5px solid #FFD6A0;
  padding: 28px 0 20px 0;
  color: #835A2D;
  font-size: 15px;
  margin-top: 40px;
}
footer .container {
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  justify-content: flex-start;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 2px;
  font-size: 15px;
}
footer nav a {
  color: #835A2D;
  font-size: 15px;
  border-radius: 5px;
  padding: 2px 6px;
  transition: letter-spacing .2s, background .15s, color .17s;
}
footer nav a:hover, footer nav a:focus {
  color: #28A87A;
  background: #FFD6A0;
  letter-spacing: 0.5px;
}
footer .footer-contact {
  font-size: 15px;
  line-height: 1.5;
  margin-top: 10px;
  color: #835A2D;
}
footer img {
  height: 38px;
  border-radius: 0;
  margin-bottom: 18px;
}

/* --- HERO (LANDING) --- */
section:first-of-type {
  background: #FFEACB;
  background: linear-gradient(105deg, #FFD6A0 30%, #FFEACB 100%);
  border-radius: 0 0 32px 32px;
  box-shadow: 0 10px 32px rgba(255,195,98,0.06);
  margin-bottom: 60px;
  padding-top: 50px;
  padding-bottom: 50px;
}
section:first-of-type h1 {
  color: #153A56;
  font-size: 36px;
  margin-bottom: 18px;
}

/* ===============
      CARDS & GRIDS
================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 20px;
  margin-top: 4px;
}
.feature-grid > div {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(250, 194, 98, 0.12);
  padding: 28px 26px 22px 26px;
  min-width: 250px;
  flex: 1 1 280px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.22s, transform 0.19s;
}
.feature-grid > div:hover, .feature-grid > div:focus-within {
  box-shadow: 0 6px 28px rgba(253, 160, 28, 0.17);
  transform: translateY(-3px) scale(1.025);
  outline: none;
}
.feature-grid img {
  height: 45px; width: 45px; min-width: 38px;
  margin-bottom: 8px;
  background: #FFEACB;
  border-radius: 50%;
  object-fit: contain;
  box-shadow: 0 1.5px 7px rgba(253, 197, 28, 0.08);
  padding: 6px;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 10px;
}
.team-grid .text-section {
  flex: 1 1 320px;
  margin-bottom: 0;
  background: #fff9ef;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(253, 160, 28, 0.07);
  padding: 26px 18px 18px 22px;
  min-width: 220px;
  transition: box-shadow 0.18s;
}
.team-grid .text-section:hover {
  box-shadow: 0 4px 16px rgba(253, 160, 28, 0.13);
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fffbe9;
  border-radius: 20px;
  box-shadow: 0 4px 18px rgba(255, 196, 92, 0.07);
  margin-bottom: 24px;
  margin-top: 10px;
  flex-direction: column;
  border-left: 5px solid #FFD385;
  max-width: 630px;
}
.testimonial-card blockquote {
  margin: 0 0 2px 0;
  color: #153A56;
  font-size: 19px;
  font-weight: 400;
}
.testimonial-card cite {
  color: #835A2D;
  font-size: 15px;
  font-style: normal;
  margin-left: 10px;
}

/* --- CONTENT LAYOUTS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(253, 160, 28, 0.09);
  padding: 24px 20px;
  transition: box-shadow 0.18s, transform 0.16s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 30px rgba(253, 160, 28, 0.18);
  transform: translateY(-2px) scale(1.022);
}

.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;
  margin-bottom: 30px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.categories-filter {
  margin-top: 20px;
  font-size: 16px;
  color: #835A2D;
  letter-spacing: 0.02em;
}
.categories-filter span {
  background: #FFD6A0;
  border-radius: 10px;
  padding: 2px 10px;
  color: #153A56;
  font-weight: 600;
  margin: 0 3px;
  font-size: 16px;
}

/* --- BUTTONS & CTAs --- */
.cta-primary {
  display: inline-block;
  background: #28A87A;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 18px;
  padding: 13px 34px;
  border: none;
  border-radius: 24px;
  box-shadow: 0 2px 18px rgba(40,168,122,0.11);
  cursor: pointer;
  text-align: center;
  transition: background 0.18s, box-shadow 0.20s, transform 0.13s;
  margin-top: 12px;
}
.cta-primary:hover, .cta-primary:focus {
  background: #153A56;
  color: #fff;
  box-shadow: 0 6px 22px rgba(40,168,122,0.20);
  outline: none;
  transform: translateY(-1.5px) scale(1.034);
}

button, .button, input[type="submit"], input[type="button"] {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  border-radius: 16px;
  min-width: 100px;
  padding: 10px 16px;
  border: none;
  background: #FFD6A0;
  color: #2f3440;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 7px rgba(253, 160, 28, 0.09);
  transition: background 0.15s, color 0.16s, box-shadow 0.17s, transform 0.13s;
}
button:hover, .button:hover, input[type="submit"]:hover, input[type="button"]:hover,
button:focus, .button:focus, input[type="submit"]:focus, input[type="button"]:focus {
  background: #28A87A;
  color: #fff;
  box-shadow: 0 4px 16px rgba(40,168,122,0.16);
  outline: none;
  transform: translateY(-2px) scale(1.043);
}

/* --- FORM STYLES (minimal) --- */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  border-radius: 12px;
  padding: 11px 13px;
  border: 1px solid #E6B66E;
  background: #FFF;
  margin-bottom: 16px;
  transition: border 0.14s;
  width: 100%;
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: #28A87A;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #FFD6A0;
  color: #2f3440;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 22px 16px;
  z-index: 2100;
  box-shadow: 0 -4px 22px rgba(253,160,28,0.12);
  font-size: 17px;
  border-top: 2px solid #ffe3b7;
  animation: cookieAppear 0.7s cubic-bezier(.22,.61,.36,1) 1;
}
@keyframes cookieAppear {
  0% { transform: translateY(100%); opacity: 0; } 
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cookie-consent-banner button {
  font-size: 16px;
  border-radius: 16px;
  min-width: 110px;
  background: #28A87A;
  color: #fff;
  padding: 9px 14px;
  font-weight: 700;
  border: none;
  transition: background .18s, color .11s, transform .11s;
  cursor: pointer;
}
.cookie-consent-banner button.cookie-settings {
  background: #FFD6A0;
  color: #153A56;
  border: 1.2px solid #28A87A;
}
.cookie-consent-banner button.cookie-settings:hover, .cookie-consent-banner button.cookie-settings:focus {
  background: #FFE8C8;
}
.cookie-consent-banner button:hover, .cookie-consent-banner button:focus {
  background: #153A56;
  color: #fff;
  transform: translateY(-1px) scale(1.03);
}

/* --- COOKIE CONSENT MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2102;
  background: rgba(21, 58, 86, 0.23);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.18s;
}
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  max-width: 97vw;
  width: 400px;
  padding: 36px 30px 28px 30px;
  box-shadow: 0 8px 30px rgba(253, 160, 28, 0.20);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: popupShow 0.33s cubic-bezier(.08,.71,.31,1.36) 1;
}
@keyframes popupShow {
  from { transform: scale(0.9) translateY(50px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 21px;
  margin-bottom: 8px;
  color: #153A56;
}
.cookie-modal .cookie-category {
  margin: 12px 0;
  font-size: 17px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-modal label {
  font-size: 16px;
  color: #2f3440;
  display: flex;
  align-items: center;
}
.cookie-modal input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-right: 10px;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  right: 19px; top: 18px;
  font-size: 2rem;
  background: none;
  border: none;
  color: #153A56;
  cursor: pointer;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 24px;
}
.cookie-modal .modal-actions button {
  padding: 11px 22px;
  border-radius: 16px;
  font-weight: 700;
  background: #28A87A;
  color: #fff;
  border: none;
}
.cookie-modal .modal-actions button.cancel {
  background: #FFD6A0;
  color: #153A56;
  border: 1.2px solid #28A87A;
}
.cookie-modal .modal-actions button.cancel:hover, .cookie-modal .modal-actions button.cancel:focus {
  background: #FFE8C8;
}
.cookie-modal .modal-actions button:hover {
  background: #153A56;
  color: #fff;
}

/* --- RESPONSIVE LAYOUTS --- */
@media (max-width: 900px) {
  .feature-grid {
    gap: 18px;
  }
  .team-grid {
    gap: 16px;
  }
  section {
    padding: 36px 8px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 25px; }
  h2 { font-size: 19px; }
  h3 { font-size: 16px; }
  .container {
    padding-left: 5px; padding-right: 5px;
  }
  .text-section {
    padding: 14px 8px;
    border-radius: 13px;
  }
  .content-wrapper {
    gap: 18px;
  }
  .feature-grid, .card-container, .team-grid, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid > div, .card {
    min-width: 0;
    width: 100%;
    padding: 18px 12px;
  }
  .testimonial-card {
    padding: 14px;
    border-radius: 13px;
    max-width: 99vw;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  section {
    margin-bottom: 38px;
    padding: 20px 2px;
  }
  header nav img {
    height: 34px;
  }
  footer img {
    height: 26px;
    margin-bottom: 10px;
  }
}
@media (max-width: 600px) {
  .cookie-consent-banner {
    flex-direction: column;
    gap: 13px;
    font-size: 15px;
    padding: 15px 4px;
    text-align: center;
  }
  .cookie-consent-banner .cookie-buttons {
    width: 100%; justify-content: center; gap: 9px;
  }
  .cookie-modal {
    width: 98vw;
    padding: 18px 7vw;
  }
}

/* --- MICRO INTERACTIONS --- */
.feature-grid > div:active, .card:active, .cta-primary:active, button:active {
  transform: scale(0.98);
  transition: none;
}
input[type="checkbox"] {
  accent-color: #28A87A;
}

/* --- ACCESSIBILITY, FOCUS STATES --- */
:focus-visible {
  outline: 2px solid #28A87A;
  outline-offset: 2px;
}
.cookie-modal .close-cookie-modal:focus {
  outline: 2px solid #28A87A;
  outline-offset: 2px;
}

/* --- UTILITY CLASSES (if needed) --- */
.hide {
  display: none !important;
  visibility: hidden !important;
}

.show {
  display: block !important;
  visibility: visible !important;
}
