/* ==== 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #fff;
  color: #343554;
}
ol, ul {
  list-style: none; 
  padding-left: 0;
}
a {
  background: transparent;
  text-decoration: none;
  color: inherit;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
}

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

body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background: #fff;
  color: #343554;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  color: #343554;
  line-height: 1.1;
  letter-spacing: -1px;
}
h1 { font-size: 2.7rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.4rem; margin-bottom: 12px; font-weight: 700; }
h4, h5, h6 { font-weight: 700; }

p, li, blockquote {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #232346;
}
strong { color: #E96141; font-weight: 700; }

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 20px 0 rgba(52,53,84,0.10);
}

.container {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 16px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ====== HEADER & NAVIGATION ====== */
header {
  width: 100%;
  background: #343554;
  box-shadow: 0 2px 16px 0 rgba(52, 53, 84, 0.07);
  position: relative;
  z-index: 20;
}
header nav {
  display: flex;
  align-items: center;
  gap: 32px;
  justify-content: flex-start;
  padding: 16px 0;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 9px 18px;
  border-radius: 28px;
  background: none;
  color: #fff;
  letter-spacing: 0.2px;
  transition: background 0.18s, color 0.18s;
  position: relative;
  z-index: 5;
}
header nav a.cta {
  background: #E96141;
  color: #fff;
  box-shadow: 0 2px 10px 0 rgba(233,97,65,0.13);
  font-size: 1.06rem;
  font-weight: 900;
  border-radius: 100px;
  padding: 11px 30px;
  margin-left: auto;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
header nav a.cta:hover, header nav a.cta:focus {
  background: #fff;
  color: #E96141;
  transform: scale(1.06);
}
header nav a:hover, header nav a:focus {
  background: rgba(232,245,243,0.12);
}
header nav img {
  height: 40px;
  width: auto;
  margin-right: 22px;
  display: block;
}
.mobile-menu-toggle {
  display: none;
  background: #E96141;
  color: #fff;
  border-radius: 50%;
  font-size: 2rem;
  height: 48px;
  width: 48px;
  border: none;
  position: absolute;
  top: 14px;
  right: 18px;
  cursor: pointer;
  z-index: 35;
  box-shadow: 0 2px 12px rgba(233,97,65,0.08);
  transition: background 0.2s, box-shadow 0.2s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #cf5132;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #343554;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.4s cubic-bezier(.65,.05,.36,1);
  box-shadow: 2px 0 16px 0 rgba(52,53,84,0.19);
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 20px auto 0 0;
  background: #E96141;
  color: #fff;
  border-radius: 50%;
  border: none;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  align-self: flex-end;
  cursor: pointer;
  z-index: 120;
  box-shadow: 0 2px 12px rgba(233,97,65,0.12);
  transition: background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #fff;
  color: #E96141;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  margin: 36px 0 0 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.28rem;
  color: #fff;
  padding: 12px 10px 12px 0;
  border-radius: 5px;
  transition: color 0.18s, background 0.15s, padding-left 0.2s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #E96141;
  background: rgba(233,97,65,0.08);
  padding-left: 14px;
}

@media (max-width: 1023px) {
  header nav {
    gap: 12px;
    padding-right: 40px;
  }
  header nav a.cta {
    margin-left: 0; /* for better fit on tablets */
  }
}
@media (max-width: 900px) {
  header nav a, header nav a.cta {
    font-size: 0.97rem;
    padding: 9px 11px;
  }
  header nav {
    gap: 9px;
  }
}
@media (max-width: 768px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ===== HERO SECTION ===== */
.hero {
  width: 100%;
  padding: 62px 0 48px 0;
  margin-bottom: 14px;
  background: #E96141;
  color: #fff;
  border-radius: 0 0 42px 42px;
  box-shadow: 0 14px 28px -10px rgba(233,97,65,0.15);
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero .content-wrapper {
  gap: 18px;
  color: #fff;
}
.hero h1, .hero h2, .hero h3, .hero p, .hero a {
  color: #fff !important;
}
.hero a.cta {
  background: #fff;
  color: #E96141 !important;
  font-size: 1.24rem;
  font-weight: bold;
  border-radius: 80px;
  padding: 15px 34px;
  border: 2px solid #fff;
  box-shadow: 0 2px 14px rgba(255,255,255,.11);
  margin-top: 18px;
  display: inline-block;
  transition: background 0.18s, color 0.18s, border 0.18s, transform 0.18s;
}
.hero a.cta:hover, .hero a.cta:focus {
  background: transparent;
  color: #fff !important;
  border-color: #fff;
  box-shadow: 0 3px 18px rgba(233,97,65,0.09);
  transform: scale(1.03);
}

/* ===== CARDS & CARD CONTAINER ===== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(52,53,84,0.11);
  padding: 26px 22px;
  flex: 1 1 320px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
  transition: box-shadow 0.18s, transform 0.18s;
  border: 2.5px solid transparent;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 28px rgba(233,97,65,0.13);
  border: 2.5px solid #E96141;
  transform: translateY(-6px) scale(1.015);
  z-index: 4;
}
.card img {
  height: 50px;
  width: 50px;
  margin-bottom: 10px;
}

/* ===== FEATURE LISTS & ITEMS ===== */
ul, ol {
  margin-left: 0;
  margin-bottom: 20px;
}
ul li, ol li {
  position: relative;
  margin-bottom: 18px;
  padding-left: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-item img {
  height: 36px;
  width: auto;
}

/* ===== CONTENT GRID ===== */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* ====== TEXT-IMAGE SECTION ====== */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
}

/* ===== TESTIMONIAL CARD ===== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #E8F5F3;
  border-radius: 20px;
  box-shadow: 0 2px 18px 0 rgba(52,53,84,0.06);
  margin: 0 0 18px 0;
  flex-direction: column;
  transition: box-shadow 0.2s, background 0.2s;
  border: 2px solid transparent;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  background: #fff;
  border-color: #E96141;
  box-shadow: 0 4px 26px 0 rgba(233,97,65,0.10);
}
.testimonial-card blockquote {
  color: #343554;
  font-size: 1.14rem;
  font-style: italic;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 9px;
}
.testimonial-card p strong {
  color: #E96141;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}

/* Ensure testimonial text is dark for contrast */
.testimonial-card p, .testimonial-card blockquote {
  color: #232346;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: #E96141;
  color: #fff;
  padding: 40px 20px;
  margin-bottom: 0;
  border-radius: 20px;
  box-shadow: 0 6px 22px 0 rgba(233,97,65,0.12);
  width: 100%;
}
.cta-banner .content-wrapper {
  align-items: center;
  text-align: center;
}
.cta-banner h2 {
  color: #fff;
  margin-bottom: 12px;
}
.cta-banner .cta {
  background: #fff;
  color: #E96141;
  font-size: 1.22rem;
  font-weight: 800;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 14px 38px;
  border-radius: 99px;
  border: 2px solid #fff;
  box-shadow: 0 2px 14px rgba(255,255,255,.12);
  margin-top: 16px;
  display: inline-block;
  transition: background 0.18s, color 0.18s, border 0.18s, transform 0.18s;
}
.cta-banner .cta:hover, .cta-banner .cta:focus {
  background: transparent;
  color: #fff;
  border-color: #fff;
  box-shadow: 0 3px 18px rgba(233,97,65,0.10);
}

/* ===== BUTTONS & CTA LINKS ===== */
.cta {
  display: inline-block;
  border-radius: 999px;
  background: #E96141;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 1.11rem;
  padding: 13px 36px;
  border: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 3px 22px rgba(233,97,65,0.14);
  transition: background 0.16s, color 0.16s, box-shadow 0.16s, transform 0.17s;
}
.cta:hover, .cta:focus {
  background: #fff;
  color: #E96141;
  box-shadow: 0 6px 28px rgba(233,97,65,0.19);
  transform: scale(1.03);
  outline: none;
}

/* ===== FOOTER ===== */
footer {
  background: #343554;
  color: #fff;
  padding: 34px 0 22px 0;
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -8px 24px 0 rgba(52,53,84,0.11);
  margin-top: 40px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 16px;
}
footer nav a {
  color: #fff;
  background: transparent;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 8px 16px;
  border-radius: 18px;
  transition: background 0.15s, color 0.15s;
}
footer nav a:hover, footer nav a:focus {
  background: #E96141;
  color: #fff;
}
footer p {
  text-align: center;
  font-size: 0.97rem;
  opacity: 0.85;
}

/* ===== SPACING FOR SECTIONS & ELEMENTS ===== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
section:last-child {
  margin-bottom: 0;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

/* ====== RESPONSIVE DESIGN ====== */
@media (max-width: 1050px) {
  .container {
    max-width: 94vw;
  }
}
@media (max-width: 900px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.5rem; }
  section { padding: 32px 7vw; }
  .hero { padding: 42px 0 24px 0; }
}
@media (max-width: 768px) {
  section { padding: 28px 7vw; }
  .hero { padding: 38px 0 18px 0; }
  .container { padding: 0 4vw; }
  h1 { font-size: 1.42rem; }
  h2 { font-size: 1.18rem; }
  .card, .card-container, .card-content,
  .content-grid, .feature-item, .testimonial-card {
    flex-direction: column;
    align-items: stretch !important;
    gap: 18px;
    max-width: 100%;
  }
  .cta, .hero a.cta, .cta-banner .cta {
    width: 100%;
    padding: 14px 14px;
    text-align: center;
    font-size: 1.05rem;
  }
  .footer nav { flex-direction: column; gap: 8px; }
}

@media (max-width: 520px) {
  section { padding: 16px 2vw; }
  .container { padding: 0 2vw; }
  .hero { padding: 17px 0 6px 0; }
  .cta, .hero a.cta, .cta-banner .cta {
    padding-left: 0;
    padding-right: 0;
    font-size: 1rem;
  }
}

/* ===== LIST ITEM ICONS ===== */
ul li img, ol li img {
  float: left;
  margin-right: 12px;
  margin-top: -2px;
}

/* ===== MICRO-INTERACTIONS & TRANSITIONS ===== */
a, .cta, button, .card, .testimonial-card, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.15s, color 0.13s, box-shadow 0.18s, border 0.16s, transform 0.18s;
  cursor: pointer;
}

/* ====== COOKIE CONSENT BANNER ====== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #343554;
  color: #fff;
  z-index: 9999;
  padding: 24px 16px 24px 16px;
  box-shadow: 0 -6px 24px rgba(52,53,84,0.2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  font-size: 1rem;
  animation: cookie-slidein 0.74s cubic-bezier(.57,-0.04,.45,1.56);
}
@keyframes cookie-slidein {
  from { transform: translateY(120%); opacity: 0; }
  to { transform: translateY(0%); opacity: 1; }
}
.cookie-banner p {
  color: #fff;
  margin-bottom: 0;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 4px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 0.98rem;
  border-radius: 30px;
  padding: 11px 32px;
  border: none;
  margin: 0;
}
.cookie-banner .cookie-accept {
  background: #E96141;
  color: #fff;
  border: 2px solid #E96141;
  transition: background 0.2s, color 0.2s;
}
.cookie-banner .cookie-accept:hover, .cookie-banner .cookie-accept:focus {
  background: #fff;
  color: #E96141;
}
.cookie-banner .cookie-reject {
  background: #fff;
  color: #E96141;
  border: 2px solid #E96141;
  transition: background 0.2s, color 0.2s;
}
.cookie-banner .cookie-reject:hover, .cookie-banner .cookie-reject:focus {
  background: #E96141;
  color: #fff;
}
.cookie-banner .cookie-settings {
  background: #343554;
  color: #fff;
  border: 2px solid #fff;
  transition: background 0.2s, color 0.2s;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: #fff;
  color: #343554;
}

/* ===== COOKIE PREFERENCES MODAL ===== */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(52,53,84,0.70);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadein 0.35s;
}
@keyframes fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #343554;
  border-radius: 21px;
  box-shadow: 0 4px 40px rgba(52,53,84,0.22);
  max-width: 410px;
  width: 94vw;
  padding: 34px 26px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookie-modal-show .48s cubic-bezier(.66,-0.04,.36,1.2);
}
@keyframes cookie-modal-show {
  0% { transform: translateY(90px) scale(0.85); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.23rem;
  color: #E96141;
  margin-bottom: 10px;
  font-weight: 900;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 7px 0 7px 0;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: #E96141;
  width: 21px;
  height: 21px;
  margin-right: 7px;
}
.cookie-category .essential {
  color: #343554;
  font-weight: 700;
}
.cookie-category .locked {
  color: #aaa;
  font-size: 0.95rem;
  font-style: italic;
}
.cookie-modal-actions {
  display: flex;
  gap: 18px;
  margin-top: 18px;
  align-items: center;
  justify-content: flex-end;
}
.cookie-modal-actions button {
  padding: 10px 28px;
  border-radius: 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 0.99rem;
  border: 2px solid #343554;
}
.cookie-modal-actions .save {
  background: #E96141;
  color: #fff;
  border-color: #E96141;
}
.cookie-modal-actions .save:hover, .cookie-modal-actions .save:focus {
  background: #fff;
  color: #E96141;
  border-color: #E96141;
}
.cookie-modal-actions .cancel {
  background: #fff;
  color: #343554;
}
.cookie-modal-actions .cancel:hover, .cookie-modal-actions .cancel:focus {
  background: #E96141;
  color: #fff;
}

@media (max-width: 500px) {
  .cookie-modal {
    padding: 13vw 4vw;
    min-width: 0;
  }
}

/* ===== ACCESSIBILITY: FOCUS OUTLINE ===== */
a:focus, .cta:focus, button:focus {
  outline: 2.5px dashed #E96141;
  outline-offset: 2px;
}

/* ===== FORMS (if any) ===== */
input, textarea, select {
  font-size: 1rem;
  padding: 11px 14px;
  border-radius: 13px;
  border: 1.5px solid #E8F5F3;
  background: #F7FDFD;
  color: #343554;
  margin-bottom: 18px;
  transition: border 0.17s, box-shadow 0.17s;
  box-shadow: none;
}
input:focus, textarea:focus, select:focus {
  border-color: #E96141;
  box-shadow: 0 2px 10px #E9614199;
}

/* ===== MISC ===== */
::-webkit-scrollbar {
  width: 8px;
  background: #E8F5F3;
  border-radius: 40px;
}
::-webkit-scrollbar-thumb {
  background: #E96141;
  border-radius: 40px;
}
h1, h2, h3 {
  text-shadow: 0 2px 12px rgba(233,97,65,0.08);
}
section:not(.hero):not(.cta-banner) h2 {
  color: #E96141;
}

/* ===== BRAND TAGLINE (used on about) ===== */
.tagline {
  font-size: 1.08rem;
  color: #E8F5F3;
  background: #E96141;
  border-radius: 9px;
  font-weight: 700;
  display: inline-block;
  margin-top: 12px;
  padding: 8px 16px 7px 16px;
}

/* ====== VISUAL HIERARCHY ====== */
@media (min-width: 1050px) {
  .container { max-width: 1100px; }
  section.hero .container, .cta-banner .container { max-width: 1000px; }
}

/* ======= END OF STYLES ======= */
