/* ========== CSS RESET & BASE ========== */
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 {
  background: #F4F4F6;
  color: #20436B;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  min-height: 100vh;
}
a {
  color: #20436B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #D13900;
}
img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}
strong {
  font-weight: 600;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #20436B;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -1px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 4px 18px 0 rgba(32,67,107,0.08);
}
@media (max-width: 670px) {
  section {
    padding: 32px 6vw;
    margin-bottom: 40px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
}
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  margin: 0 auto;
  width: 100%;
}

/* ========== HEADER & NAVIGATION ========== */
header {
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(32,67,107,0.05);
  position: relative;
  z-index: 1200;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  justify-content: flex-start;
  padding: 20px 24px;
}
.logo-link {
  margin-right: 28px;
  flex: none;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 15px;
  border-radius: 32px;
  color: #20436B;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #FDE8E1;
  color: #D13900;
}
.cta-btn {
  background: #D13900;
  color: #fff !important;
  padding: 11px 28px;
  font-size: 1.1rem;
  border-radius: 34px;
  font-weight: 700;
  margin-left: auto;
  transition: background 0.22s, box-shadow 0.22s, color 0.22s;
  box-shadow: 0 2px 8px 0 rgba(209,57,0,0.05);
  border: none;
  outline: none;
  cursor: pointer;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #b32d00;
  color: #fff !important;
  box-shadow: 0 4px 16px 0 rgba(209,57,0,0.13);
}
/* ========= MOBILE MENU ========= */
.mobile-menu-toggle {
  background: #fff;
  border: none;
  color: #20436B;
  font-size: 2rem;
  cursor: pointer;
  display: none;
  z-index: 1301;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  box-shadow: 0 3px 8px 0 rgba(32,67,107,0.04);
  transition: background 0.2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #FDE8E1;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: #FFF;
  z-index: 2200;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.86,.01,.11,.99);
  box-shadow: 0 0 32px 8px rgba(32,67,107,0.11);
  padding-top: 32px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #F4F4F6;
  color: #20436B;
  border: none;
  font-size: 2.2rem;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  margin-left: 18px;
  margin-bottom: 24px;
  display: flex;
  cursor: pointer;
  transition: background 0.18s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: #FDE8E1;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin-left: 30px;
  margin-top: 20px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  color: #20436B;
  padding: 12px 0;
  border-radius: 13px;
  transition: background 0.23s, color 0.2s;
  font-weight: 600;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FDE8E1;
  color: #D13900;
}
@media (max-width: 1080px) {
  .main-nav {
    gap: 14px;
    padding: 16px 7vw 14px 7vw;
  }
  .main-nav a {
    padding: 8px 10px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 12px;
    padding-left: 16px;
    padding-right: 16px;
  }
}
@media (max-width: 820px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
    position: absolute;
    right: 22px;
    top: 17px;
  }
  .mobile-menu {
    display: flex;
  }
}

/* ========== LAYOUT & COMPONENTS ========== */
ul, ol {
  margin-left: 20px;
  margin-bottom: 20px;
  padding-left: 25px;
}
ul li, ol li {
  margin-bottom: 9px;
  font-size: 1rem;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: #FFF7F3;
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 2px 10px 0 rgba(221,97,48,0.045), 0 0.5px 0.5px #f7e9e4;
  font-size: 1rem;
}

.features-grid, .team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
  justify-content: space-between;
}
.team-grid {
  gap: 24px;
  justify-content: flex-start;
}
.feature-item, .team-profile {
  background: #FFF7F3;
  border-radius: 21px;
  padding: 24px 20px 16px 20px;
  flex: 1 1 240px;
  min-width: 220px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  box-shadow: 0 4px 22px 0 rgba(209,57,0,0.06);
  transition: transform 0.17s, box-shadow 0.17s;
}
.feature-item:hover, .team-profile:hover {
  transform: translateY(-5px) scale(1.018);
  box-shadow: 0 6px 28px 0 rgba(209,57,0,0.13);
}
.team-profile img, .feature-item img {
  width: 48px;
  height: 48px;
  margin-bottom: 3px;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(32,67,107,0.09);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 24px 0 rgba(32,67,107,0.05);
  margin-bottom: 20px;
  padding: 32px 22px;
  flex: 1 1 320px;
  transition: box-shadow 0.22s, transform 0.17s;
}
.card:hover {
  box-shadow: 0 10px 38px 0 rgba(32,67,107,0.13);
  transform: translateY(-6px) scale(1.02);
}
.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;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 26px;
  margin-bottom: 20px;
  background: #FFF7F3;
  border-radius: 18px;
  box-shadow: 0 4px 18px 0 rgba(32,67,107,0.07);
  min-height: 90px;
  flex-wrap: wrap;
}
.testimonial-card p {
  font-size: 1.06rem;
  color: #20436B;
  margin-bottom: 0px;
  font-style: italic;
  font-family: 'Roboto', Arial, sans-serif;
  flex: 1;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: #b32d00;
  font-weight: 600;
  margin-left: 20px;
  font-family: 'Montserrat', Georgia, serif;
}
@media (max-width: 880px) {
  .features-grid, .team-grid, .content-grid, .card-container, .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  .feature-item, .team-profile {
    min-width: unset;
    width: 100%;
    max-width: 100%;
  }
}
@media (max-width: 580px) {
  .card, .feature-item, .team-profile {
    padding: 18px 9vw 18px 7vw;
  }
  .testimonial-card {
    padding: 16px 10px;
    flex-direction: column;
    gap: 10px;
  }
}

/* ========== BUTTONS & INTERACTIVES ========== */
button, .cta-btn, input[type='submit'] {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  cursor: pointer;
  border-radius: 30px;
  background: #D13900;
  color: #fff;
  min-width: 144px;
  padding: 12px 25px;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.22s, box-shadow 0.18s, color 0.22s;
  outline: none;
}
button:focus,
.cta-btn:focus,
input[type='submit']:focus {
  outline: 2px solid #FBB59F;
  outline-offset: 2px;
}
button:hover,
.cta-btn:hover,
input[type='submit']:hover {
  background: #b32d00;
  color: #fff;
  box-shadow: 0 4px 16px 0 rgba(209,57,0,0.12);
}

/* ========== FOOTER ========== */
footer {
  background: #20436B;
  color: #fff;
  padding: 50px 0 15px 0;
  margin-top: 40px;
}
.footer-branding {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  margin-bottom: 20px;
}
.footer-branding img {
  width: 62px;
  height: auto;
  margin-bottom: 8px;
  background: #fff;
  border-radius: 17px;
}
.footer-branding p {
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.7;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 8px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 7px 10px;
  border-radius: 22px;
  background: rgba(255,255,255,0.07);
  transition: background 0.18s, color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #D13900;
  color: #fff;
}

@media (max-width: 860px) {
  footer .content-wrapper,
  .footer-branding, .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .footer-nav {
    align-items: flex-start;
  }
}
@media (max-width: 600px) {
  footer {
    padding: 32px 0;
  }
}

/* ========== COOKIE CONSENT BANNER ========== */
#cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2700;
  background: #fff7f3;
  color: #20436B;
  padding: 24px 14vw 20px 14vw;
  box-shadow: 0 -3px 18px 0 rgba(32,67,107,0.08);
  border-radius: 23px 23px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  transition: transform 0.32s cubic-bezier(.92,.13,.16,1);
}
#cookie-consent-banner[hidden] {
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}
.cookie-btns button {
  background: #D13900;
  color: #fff;
  border-radius: 22px;
  padding: 10px 22px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  transition: background 0.21s, color 0.19s, box-shadow 0.14s;
  box-shadow: 0 2px 8px 0 rgba(209,57,0,0.05);
}
.cookie-btns .cookie-reject-btn {
  background: #20436B;
}
.cookie-btns button:focus,
.cookie-btns button:hover {
  background: #b32d00;
  color: #fff;
}
.cookie-btns .cookie-reject-btn:focus,
.cookie-btns .cookie-reject-btn:hover {
  background: #335886;
}
.cookie-btns .cookie-settings-btn {
  background: #fff;
  color: #20436B;
  border: 1.7px solid #D13900;
  box-shadow: none;
}
.cookie-btns .cookie-settings-btn:focus,
.cookie-btns .cookie-settings-btn:hover {
  background: #FDE8E1;
  color: #b32d00;
}
@media (max-width: 700px) {
  #cookie-consent-banner {
    padding: 18px 3vw 18px 3vw;
    border-radius: 16px 16px 0 0;
  }
}

/* ===== Cookie Preferences Modal ==== */
#cookie-modal-overlay {
  display: none;
}
#cookie-modal-overlay.active {
  display: flex;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 3200;
  background: rgba(32,67,107,0.17);
  align-items: center;
  justify-content: center;
}
#cookie-modal {
  background: #fff7f3;
  border-radius: 24px;
  min-width: 340px;
  max-width: 92vw;
  padding: 32px 20px 24px 20px;
  box-shadow: 0 8px 36px 0 rgba(209,57,0,0.10);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: modalpop 0.32s cubic-bezier(.86,.01,.11,.99);
}
@keyframes modalpop {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
#cookie-modal h2 {
  font-size: 1.28rem;
  margin-bottom: 2px;
  color: #b32d00;
}
.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 12px;
}
.cookie-category label {
  font-size: 1.08rem;
  font-weight: 600;
  color: #20436B;
}
.cookie-category .switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
}
.cookie-category .switch input {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-category .slider {
  position: absolute;
  cursor: pointer;
  background: #F4F4F6;
  border-radius: 15px;
  top: 0; left: 0; right: 0; bottom: 0;
  transition: .3s;
  box-shadow: 0 2px 8px 0 rgba(32,67,107,0.04);
}
.cookie-category .slider:before {
  position: absolute;
  content: "";
  height: 16px; width: 16px;
  left: 3px;
  bottom: 3px;
  background: #20436B;
  border-radius: 50%;
  transition: .3s;
}
.cookie-category .switch input:checked + .slider {
  background: #FBB59F;
}
.cookie-category .switch input:checked + .slider:before {
  transform: translateX(14px);
  background: #D13900;
}
/* Always enabled state */
.cookie-category[data-disabled="true"] label {
  color: #b32d00;
}
.cookie-category[data-disabled="true"] .switch {
  opacity: 0.6;
  pointer-events: none;
}
#cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 14px;
}
#cookie-modal .cookie-modal-close {
  position: absolute;
  top: 16px; right: 18px;
  background: #F4F4F6;
  color: #20436B;
  font-size: 1.5rem;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  transition: background 0.21s;
  cursor: pointer;
}
#cookie-modal .cookie-modal-close:hover, #cookie-modal .cookie-modal-close:focus {
  background: #FFDFCF;
}
@media (max-width: 520px) {
  #cookie-modal {
    padding: 23px 4vw 18px 4vw;
    min-width: unset;
  }
}

/* ========== COMMON UTILS & ACCENTS ========== */
::-webkit-scrollbar { width: 8px; background: #F4F4F6; }
::-webkit-scrollbar-thumb { background: #ECCABF; border-radius: 8px; }
hr {
  border: none;
  border-top: 1.5px solid #ffa48828;
  margin: 36px 0;
}
blockquote {
  background: #FFF7F3;
  border-left: 5px solid #FF6B3D;
  padding: 22px 26px;
  border-radius: 16px;
  font-size: 1.15rem;
  margin: 22px 0;
  color: #20436B;
  font-family: 'Roboto', Arial, sans-serif;
  box-shadow: 0 2px 10px 0 rgba(221,97,48,0.045), 0 0.5px 0.5px #f7e9e4;
}

/* ========== RESPONSIVE MEDIA QUERIES ========== */
@media (max-width: 670px) {
  .container {
    padding: 0 0;
    max-width: 98vw;
  }
  .footer-branding img {
    width: 54px;
  }
}
@media (max-width: 420px) {
  h1 { font-size: 1.38rem; }
  h2 { font-size: 1.18rem; }
  h3, .feature-item h3, .team-profile h3 { font-size: 1rem; }
}

/* ========== TYPOGRAPHY SCALE ========== */
body,
p,
ul li,
ol li {
  font-size: 16px;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.13rem; }

@media (max-width: 580px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.23rem; }
  h3 { font-size: 1.02rem; }
  .footer-nav a, .main-nav a, .mobile-nav a { font-size: 1rem; }
}

/* ========== FORM ELEMENTS ========== */
input,
textarea {
  border-radius: 15px;
  border: 1.5px solid #ECCABF;
  padding: 11px 17px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 14px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(32,67,107,0.02);
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, textarea:focus {
  border-color: #D13900;
  outline: none;
  box-shadow: 0 3px 12px 0 rgba(221,97,48,0.08);
}

/* ========== MICRO-INTERACTIONS & ANIMATIONS ========== */
.cta-btn,
.card,
.team-profile,
.feature-item,
.testimonial-card,
button,
.footer-nav a,
.main-nav a,
.mobile-nav a {
  transition: background 0.21s, color 0.19s, box-shadow 0.19s, transform 0.16s;
}

.card:hover,
.feature-item:hover,
.team-profile:hover {
  box-shadow: 0 10px 28px 0 rgba(32,67,107,0.13),0 2px 4px #d1390024;
  transform: translateY(-4px) scale(1.01);
}

@media (hover: hover) and (pointer: fine) {
  .cta-btn:hover,
  .footer-nav a:hover,
  .main-nav a:hover,
  .mobile-nav a:hover {
    filter: brightness(1.12);
    text-decoration: none;
  }
}

/* ===== Custom accent ellipse for hero sections (optional) ===== */
.hero-bg-ellipse {
  position: absolute;
  top: -98px; right: -100px;
  width: 370px; height: 190px;
  background: #FDDCCB;
  border-radius: 78% 36% 72% 61% / 48% 82% 28% 88%;
  z-index: 0;
  opacity: 0.18;
  pointer-events: none;
}

/* ===== Accessibility: Improved focus styles ===== */
a:focus, button:focus, .cta-btn:focus, .footer-nav a:focus {
  outline: 2.2px solid #b32d00;
  outline-offset: 2px;
  background: #FDE8E1;
}
