/* =====================
   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; }
*, *:before, *:after { box-sizing: inherit; }
body {
  min-height: 100vh;
  color: #2b2b2b;
  background: #fdfcfb;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #f3f6fa;
}
img { max-width: 100%; border: 0; display: block; }
a { text-decoration: none; color: #19587d; transition: color .2s; }
a:hover, a:focus { color: #e5804e; }
ul, ol { margin-left: 24px; padding-left: 0; }
strong, b { font-weight: 700; }

/* =============
  TYPOGRAPHY
  ============= */
h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: #19587d;
  margin-bottom: 16px;
  line-height: 1.15;
  letter-spacing: -1px;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #e5804e;
  margin-bottom: 16px;
  line-height: 1.18;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #19587d;
  margin-bottom: 12px;
  line-height: 1.2;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #2b2b2b;
  margin-bottom: 10px;
  font-weight: 500;
}
p {
  margin-bottom: 16px;
  color: #333;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
}
ul, ol {
  margin-bottom: 16px;
  color: #333;
}

/* ========================
   OVERALL LAYOUT HELPER CLASSES
   ======================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(43,42,42,0.10);
  padding: 40px 24px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ========================
   HEADER + NAVIGATION
   ======================== */
header {
  width: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  box-shadow: 0 2px 8px rgba(229,128,78,.08);
  padding: 14px 0;
  z-index: 100;
}
.logo {
  display: flex;
  align-items: center;
  margin-right: 24px;
}
.logo img {
  display: block;
  height: 44px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-left: 20px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #19587d;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background-color .18s, color .18s;
}
.main-nav a:hover, .main-nav a:focus {
  background-color: #fbe9e3;
  color: #e5804e;
}
.cta-button {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #e5804e;
  color: #fff;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 11px 28px;
  border-radius: 28px;
  box-shadow: 0 2px 8px rgba(229,128,78,0.13);
  cursor: pointer;
  margin-left: 28px;
  transition: background .2s, box-shadow .2s, transform .18s;
  outline: none;
  display: inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: #fcbb88;
  color: #19587d;
  box-shadow: 0 3px 16px rgba(229,128,78,0.17);
  transform: translateY(-2px) scale(1.04);
}

.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  color: #19587d;
  border: none;
  cursor: pointer;
  margin-left: 24px;
  transition: color .2s;
  z-index: 205;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: #e5804e;
}

/* ===================
   MOBILE MENU
   =================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(243, 246, 250, 0.97);
  z-index: 2010;
  padding: 0;
  width: 100vw;
  height: 100vh;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.4,1,.32,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #e5804e;
  font-size: 2rem;
  margin: 32px 0 0 28px;
  cursor: pointer;
  align-self: flex-start;
  transition: color .2s;
  z-index: 2020;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #19587d;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 36px 34px 0 34px;
  width: 100vw;
}
.mobile-nav a {
  color: #19587d;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  padding: 13px 10px 13px 0;
  border-radius: 7px;
  transition: background .16s, color .16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #fcbb88;
  color: #fff;
}

/* ===========================
   HERO, FEATURES & OTHER SECTIONS
   =========================== */
.hero-section {
  background: #fbe9e3;
  border-radius: 20px;
  box-shadow: 0 4px 32px rgba(229,128,78,0.07);
  text-align: left;
  padding: 52px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 36px;
}
.features-section .feature-grid,
.services-section .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff7f0;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(229,128,78,0.08);
  padding: 32px 22px 26px 22px;
  min-width: 210px;
  max-width: 320px;
  flex: 1 1 220px;
  transition: box-shadow .19s, transform .17s;
}
.feature-item img {
  width: 39px;
  height: 39px;
  margin-bottom: 6px;
}
.feature-item:hover,
.feature-item:focus-within {
  box-shadow: 0 6px 30px rgba(229,128,78,0.13);
  transform: translateY(-4px) scale(1.035);
}
.about-section,
.team-section,
.timeline-section,
.legal-section,
.resources-section,
.contact-section {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(43,42,42,0.07);
  padding: 40px 24px;
}
.text-section {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.text-section ul {
  margin-bottom: 0;
}

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

/* For list-based layouts in features, teams, timelines, legal, etc. */
.feature-grid, .feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff7f0;
  border-radius: 16px;
  box-shadow: 0 2px 11px rgba(229,128,78,0.10);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow .18s;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(229,128,78,0.14);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* ==============
   CTA Section
   ============== */
.cta-section {
  background: #ffe7cf;
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(229,128,78,.12);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 12px;
  gap: 16px;
}
.cta-section h2,
.cta-section p {
  color: #19587d;
  margin-bottom: 0;
}
.cta-section .cta-button {
  margin-left: 0;
  margin-top: 10px;
}

/* =============
   TESTIMONIALS
   ============= */
.testimonials-section {
  background: #f2faf9;
  border-radius: 22px;
  box-shadow: 0 2px 16px rgba(43,42,42,0.06);
  padding: 44px 22px 32px 22px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(25,88,125,0.08);
  padding: 20px;
  max-width: 700px;
  margin-bottom: 20px;
  color: #224155;
  font-size: 1.05rem;
  transition: box-shadow .18s, transform .15s;
}
.testimonial-card p {
  color: #224155 !important;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 0;
  font-size: 1.05rem;
}
.testimonial-meta {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #e5804e;
  font-size: 0.95rem;
  margin-left: 10px;
  font-style: italic;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(25,88,125,0.10);
  transform: scale(1.022);
}
.client-logos {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

/* =============
   FOOTER
   ============= */
footer {
  margin-top: 44px;
  background: #19587d;
  color: #f3f6fa;
  border-radius: 0 0 22px 22px;
  padding: 34px 0 14px 0;
  box-shadow: 0 -4px 36px rgba(25,88,125,0.06);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  margin-bottom: 18px;
}
.footer-nav a {
  color: #e4e7ec;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 6px;
  padding: 5px 14px;
  transition: background .18s, color .18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #fbe9e3;
  color: #e5804e;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.footer-contact p {
  color: #fdfcfb;
  font-size: 0.96rem;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-contact img {
  width: 19px;
  height: 19px;
  vertical-align: middle;
  margin-right: 4px;
}

/* =============
   COOKIE CONSENT BANNER
   ============= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #ffe7cf;
  color: #19587d;
  padding: 26px 20px 18px 20px;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -4px 22px rgba(229,128,78,0.12);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  z-index: 4000;
  animation: slideUpBanner .45s cubic-bezier(.4,1,.32,1);
}
@keyframes slideUpBanner {
  from { transform: translateY(120%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin: 0 10px 0 0;
  font-size: 1rem;
  color: #19587d;
}
.cookie-banner .cookie-action {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 9px 22px;
  border-radius: 22px;
  border: none;
  cursor: pointer;
  box-shadow: 0 1px 6px rgba(229,128,78,0.05);
  margin-left: 0;
  margin-bottom: 4px;
  transition: background .20s, color .17s, box-shadow .17s;
}
.cookie-banner .cookie-accept {
  background: #e5804e;
  color: #fff;
}
.cookie-banner .cookie-accept:hover, .cookie-banner .cookie-accept:focus {
  background: #19587d;
  color: #fff;
}
.cookie-banner .cookie-reject {
  background: #fbe9e3;
  color: #e5804e;
}
.cookie-banner .cookie-reject:hover, .cookie-banner .cookie-reject:focus {
  background: #fcbb88;
  color: #fff;
}
.cookie-banner .cookie-settings {
  background: transparent;
  color: #19587d;
  text-decoration: underline;
  box-shadow: none;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  color: #e5804e;
  background: #f3f6fa;
}

/* ============
   COOKIE MODAL
   ============ */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 4020;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(25, 88, 125, 0.34);
}
.cookie-modal-overlay.open { display: flex; align-items: center; justify-content: center; }
.cookie-modal {
  background: #fff7f0;
  border-radius: 20px;
  max-width: 410px;
  width: 94vw;
  padding: 38px 32px 22px 32px;
  box-shadow: 0 8px 48px rgba(229,128,78,0.18);
  animation: slideInModal .39s cubic-bezier(.39,1.4,.24,1);
  flex-direction: column;
  gap: 18px;
  display: flex;
}
@keyframes slideInModal {
  from { transform: scale(.75) translateY(80px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  margin-bottom: 10px;
  color: #19587d;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.cookie-modal .cookie-category label {
  font-size: 1.05rem;
  color: #222;
}
.cookie-modal .cookie-toggle {
  appearance: none;
  width: 38px;
  height: 20px;
  background: #fbe9e3;
  border-radius: 20px;
  position: relative;
  outline: none;
  transition: background .16s;
  cursor: pointer;
}
.cookie-modal .cookie-toggle:checked {
  background: #e5804e;
}
.cookie-modal .cookie-toggle:before {
  content: "";
  display: block;
  position: absolute;
  left: 2px;
  top: 2px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(25,88,125, .04);
  transition: left .20s;
}
.cookie-modal .cookie-toggle:checked:before {
  left: 20px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 14px;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-actions button {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 7px 19px;
  border-radius: 18px;
  border: none;
  background: #fbe9e3;
  color: #e5804e;
  cursor: pointer;
  transition: background .17s;
}
.cookie-modal .cookie-modal-actions .cookie-save {
  background: #e5804e;
  color: #fff;
}
.cookie-modal .cookie-modal-actions .cookie-save:hover { background: #19587d; }
.cookie-modal .cookie-modal-actions .cookie-cancel:hover { background: #fde4d4; color: #19587d; }

/* ===================
   RESPONSIVE DESIGN
   =================== */
@media (max-width: 1060px) {
  .container {
    max-width: 94vw;
  }
  .main-nav a {
    font-size: 0.96rem;
    padding: 8px 10px;
  }
}
@media (max-width: 900px) {
  .hero-section,
  .features-section,
  .cta-section {
    padding: 36px 12px;
  }
}
@media (max-width: 768px) {
  header {
    flex-direction: row;
    align-items: center;
    padding: 12px 0;
    min-height: 60px;
  }
  .main-nav,
  .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container {
    padding: 0 9px;
  }
  .content-wrapper {
    padding: 25px 9px;
    gap: 14px;
    margin-bottom: 22px;
  }
  .hero-section, .features-section, .cta-section, .testimonials-section {
    padding: 24px 8px;
    border-radius: 15px;
    gap: 10px;
  }
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 10px;
    gap: 10px;
    max-width: 100%;
  }
  .footer-contact {
    align-items: flex-start;
    gap: 5px;
  }
  .client-logos {
    gap: 9px;
  }
  .about-section, .team-section, .timeline-section, .legal-section, .resources-section, .contact-section {
    padding: 18px 7px;
    border-radius: 11px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    padding: 18px 9px;
    border-radius: 11px 11px 0 0;
  }
  .cookie-modal {
    padding: 20px 8px 8px 8px;
    border-radius: 11px;
    max-width: 94vw;
  }
}
@media (max-width:420px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.1rem; }
  .feature-item, .testimonial-card, .card { padding: 14px 6px; border-radius: 8px; }
  .footer-contact p { font-size: 0.83rem; }
}

/* =============
   UTILITIES
   ============= */
.hide { display: none !important; }

/* =============
   SCROLLBAR
   ============= */
::-webkit-scrollbar { width: 10px; background: #f8f8f8; }
::-webkit-scrollbar-thumb { background: #fcbb88; border-radius: 6px; }

/* =============
   FORM ELEMENTS
   ============= */
input, textarea, select, button {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #e5e8ed;
  outline: none;
  box-shadow: none;
  padding: 9px 12px;
}
input:focus, textarea:focus, select:focus {
  border-color: #e5804e;
  background: #fffbe7;
}

/* =============
   MICRO-INTERACTIONS
   ============= */
.button, button, .cta-button {
  transition: background .22s, color .18s, box-shadow .16s, outline .17s, transform .14s;
}
.button:active, .cta-button:active { transform: scale(.97); }

/* =============
   HELPER FLEXBOX CLASSES (useful if needed in HTML)
   ============= */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-center { align-items: center; justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.text-center { text-align: center; }

/* END OF CSS */
