/* ====================================================
   CSS Reset & Normalize (Mobile-first)
   ==================================================== */
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 {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #FAFAF6;
  color: #222;
  font-family: 'Georgia', Times, 'Times New Roman', serif;
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
button { cursor: pointer; }
:focus { outline: 2px solid #1A365D; outline-offset: 2px; }

/* ====================================================
   Brand Typography (Elegant Classic)
   ==================================================== */
:root {
  --primary: #1A365D;
  --secondary: #4DB6AC;
  --accent: #FFE082;
  --bg-light: #FAFAF6;
  --text-main: #1A365D;
  --text-body: #232323;
  --text-light: #f7f7f5;
  --muted: #e3e3dd;

  --font-display: "Georgia", "Montserrat", serif;
  --font-body: "Georgia", "Roboto", serif;
  --shadow-card: 0 4px 24px 0 rgba(26, 54, 93, 0.12);
  --transition: 0.3s cubic-bezier(.39,.58,.57,1);
}
body {
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--bg-light);
  color: var(--text-body);
  font-size: 1rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-main);
}
h1 { font-size: 2.25rem; margin-bottom: 24px; line-height: 1.15; }
h2 { font-size: 1.5rem; margin-bottom: 20px; line-height: 1.18; }
h3 { font-size: 1.125rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 8px; }
p, ul, ol { font-size: 1rem; margin-bottom: 16px; }

strong { font-weight: 700; letter-spacing: 0.01em; }
em { font-style: italic; }

/* ====================================================
   Containers and Layout
   ==================================================== */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
main {
  flex: 1;
}
.content-wrapper {
  margin: 0 auto;
  width: 100%;
  max-width: 760px;
  padding: 0;
}
.section {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  padding: 32px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  flex: 1 1 260px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.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: center;
  gap: 20px;
  background: #FAFAF6;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(26,54,93,0.08);
  min-width: 220px;
  max-width: 370px;
  margin-bottom: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.customer-logos {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 30px;
  margin-bottom: 10px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.feature-grid, .testimonial-slider, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.feature-grid > div {
  background: #F6F6F2;
  border-radius: 16px;
  padding: 28px 18px;
  flex: 1 1 220px;
  box-shadow: 0 2px 8px rgba(26,54,93,0.07);
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.testimonial-slider {
  gap: 24px;
}
.testimonial-list {
  gap: 24px;
}
/* Spacing for feature and values lists */
ul, ol {
  margin-bottom: 1.25em;
  margin-top: 0.25em;
  padding-left: 0;
}
li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
  font-size: 1rem;
  color: var(--text-body);
}
ul li::before {
  content: "\2022";
  color: var(--secondary);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0.1em;
}

/* ====================================================
   Header & Desktop Navigation
   ==================================================== */
header {
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(26, 54, 93, 0.08);
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  position: sticky;
  top: 0;
  z-index: 800;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.desktop-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.desktop-nav a {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-main);
  padding: 4px 10px;
  border-radius: 5px;
  transition: background var(--transition), color var(--transition);
}
.desktop-nav a:hover, .desktop-nav a:focus {
  background: var(--secondary);
  color: #fff;
}
.cta-button {
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  padding: 10px 30px;
  border-radius: 30px;
  margin-left: 16px;
  box-shadow: 0 2px 12px rgba(26,54,93,0.11);
  border: none;
  transition: background 0.21s, color 0.19s, transform 0.15s;
  outline: none;
  display: inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: var(--secondary);
  color: var(--primary);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 4px 24px rgba(77,182,172,0.10);
}
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: var(--secondary);
  color: var(--primary);
  border-radius: 6px;
  font-size: 2rem;
  margin-left: 18px;
  transition: background var(--transition);
  border: none;
  outline: none;
  z-index: 850;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--accent);
  color: var(--primary);
}

/* Hide desktop nav and cta on mobile, hide burger on desktop */
@media (max-width: 992px) {
  .desktop-nav, .cta-button { display: none !important; }
  .mobile-menu-toggle { display: inline-flex !important; }
}
@media (min-width: 993px) {
  .mobile-menu-toggle { display: none; }
}

/* ====================================================
   Mobile Menu (Slide-in, Burger)
   ==================================================== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(26,54,93,0.90);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 999;
  transform: translateX(-100vw);
  transition: transform 0.4s cubic-bezier(.38,.74,.41,1.01);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: var(--accent);
  color: var(--primary);
  border-radius: 7px;
  border: none;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  margin: 16px 0 16px 16px;
  align-items: center;
  justify-content: center;
  display: flex;
  transition: background var(--transition);
  z-index: 1002;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--secondary);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 38px;
  width: 100%;
  align-items: flex-start;
  padding: 0 36px;
  z-index: 1000;
}
.mobile-nav a {
  font-family: var(--font-body);
  color: #fff;
  font-size: 1.18rem;
  letter-spacing: 0.02em;
  background: none;
  border-radius: 6px;
  padding: 9px 10px 9px 0;
  width: 100%;
  transition: background 0.17s, color 0.15s;
  min-width: 170px;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: var(--primary);
}

/* ====================================================
   Main Content & Classic Section Patterns
   ==================================================== */
section {
  background: none;
  margin-bottom: 60px;
  padding: 0;
}
.section {
  background: #fff;
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 20px;
}
.text-section {
  margin-bottom: 32px;
  margin-top: 16px;
}

/* Responsive columns in feature, team, testimonial cards */
@media (max-width: 1100px) {
  .feature-grid > div, .testimonial-card {
    flex: 1 1 280px;
  }
}
@media (max-width: 800px) {
  .feature-grid, .testimonial-slider, .testimonial-list, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid > div, .testimonial-card {
    max-width: 100%;
    min-width: 180px;
  }
  .customer-logos { gap: 18px; }
}
@media (max-width: 700px) {
  .content-wrapper, .container {
    max-width: 94vw;
    padding: 0 4vw;
  }
  h1 { font-size: 1.44rem; }
  h2 { font-size: 1.18rem; }
  .card { padding: 18px 9px; }
  .section { padding: 26px 7px; }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
}
@media (max-width: 530px) {
  .section, .content-wrapper, .container {
    padding-left: 0; padding-right: 0;
  }
}

/* ====================================================
   Footer
   ==================================================== */
footer {
  background: #fff;
  box-shadow: 0 -1px 12px 0 rgba(26,54,93,0.06);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  margin-top: 55px;
}
footer .container {
  padding: 32px 20px 28px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-branding {
  min-width: 120px;
  margin-bottom: 12px;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  align-items: center;
  color: var(--text-main);
  font-size: 1rem;
  margin-bottom: 12px;
}
.footer-contact img {
  width: 20px; height: 20px; margin-right: 6px; margin-left: 4px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
footer nav a {
  color: var(--primary);
  font-size: 1rem;
  text-decoration: underline;
  border-radius: 4px;
  padding: 2px 6px;
  transition: color var(--transition), background var(--transition);
}
footer nav a:hover, footer nav a:focus {
  background: var(--secondary);
  color: #fff;
}
.footer-social {
  display: flex;
  gap: 16px;
}
.footer-social a {
  display: inline-flex;
  border-radius: 50%;
  background: var(--accent);
  padding: 7px;
  margin: 2px;
  transition: background var(--transition), transform 0.14s;
}
.footer-social a:hover, .footer-social a:focus {
  background: var(--secondary);
  transform: translateY(-2px) scale(1.08);
}

@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* ====================================================
   Testimonial Styles & Contrast
   ==================================================== */
.testimonial-card p {
  color: #232323;
  font-size: 1.08rem;
  font-style: italic;
  margin-bottom: 12px;
}
.testimonial-card span {
  color: var(--primary);
  font-size: 1rem;
  letter-spacing: 0.01em;
  opacity: .93;
}
.testimonial-card strong {
  font-weight: 700;
  color: var(--secondary);
}

/* LOGOS and minimalist icon sections */
.customer-logos img {
  width: 52px;
  height: 52px;
  filter: grayscale(0.18) brightness(1.1);
  opacity: 0.95;
}

/* ====================================================
   Buttons, Links, Interactions
   ==================================================== */
button, .cta-button {
  transition: background 0.19s, color 0.19s, box-shadow 0.18s, transform 0.15s;
}
button:active, .cta-button:active {
  transform: scale(0.99);
  filter: brightness(98%);
}
/* General links */
a {
  color: var(--primary);
  transition: color 0.17s, text-decoration 0.19s;
}
a:hover, a:focus { text-decoration: underline; }

/* ====================================================
   Card Animations
   ==================================================== */
.card, .feature-grid > div, .testimonial-card {
  transition: box-shadow 0.25s, transform 0.19s;
}
.card:hover, .feature-grid > div:hover, .testimonial-card:hover {
  box-shadow: 0 8px 36px rgba(26,54,93,0.17);
  transform: translateY(-4px) scale(1.01);
  z-index: 4;
}

/* Some subtle fading animation for appearance */
.card, .feature-grid > div, .testimonial-card, .section {
  animation: fadeIn .7s both;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ====================================================
   Cookie Consent Banner & Modal
   ==================================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -4px 22px rgba(26,54,93,0.12);
  z-index: 1100;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 24px 12vw 24px 22px;
  border-top-left-radius: 13px;
  border-top-right-radius: 13px;
  font-family: var(--font-body);
  color: var(--text-main);
  font-size: 1rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(80px);
  transition: opacity 0.32s, transform 0.36s;
}
.cookie-banner.show {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.cookie-banner__text {
  flex: 1;
  margin-right: 9px;
  color: var(--text-body);
  font-size: 1rem;
}
.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-consent-btn, .cookie-settings-btn {
  font-family: var(--font-display);
  font-weight: 500;
  border-radius: 24px;
  padding: 7px 21px;
  border: none;
  outline: none;
  font-size: 0.97rem;
  color: #fff;
  background: var(--primary);
  transition: background var(--transition), color var(--transition);
  box-shadow: 0 2px 8px rgba(26,54,93,0.08);
}
.cookie-consent-btn:hover, .cookie-consent-btn:focus {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-consent-btn.reject {
  background: #cccfd1;
  color: var(--primary);
}
.cookie-settings-btn {
  background: var(--accent);
  color: var(--primary);
  font-weight: 600;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: var(--secondary);
  color: #fff;
}

/* Cookie preferences modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(26,54,93,0.76);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.33s;
}
.cookie-modal-overlay.show { opacity: 1; pointer-events: all; }
.cookie-modal {
  background: #fff;
  border-radius: 19px;
  box-shadow: 0 8px 38px 0 rgba(26,54,93,0.16);
  padding: 40px 26px;
  max-width: 440px;
  width: 94vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  animation: fadeIn .7s both;
  position: relative;
}
.cookie-modal h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 10px;
}
.cookie-modal__category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-bottom: 6px;
}
.cookie-modal__cat-label {
  min-width: 120px;
  font-size: 1.04rem;
  color: var(--primary);
}
.cookie-modal__switch {
  width: 36px; height: 20px;
  background: #e6e7e9;
  border-radius: 16px;
  position: relative;
  transition: background 0.22s;
  cursor: pointer;
}
.cookie-modal__switch input {
  display: none;
}
.cookie-modal__slider {
  position: absolute;
  top: 1.5px; left: 2px;
  width: 18px; height: 18px;
  background: var(--secondary);
  border-radius: 50%;
  transition: transform 0.25s;
}
.cookie-modal__switch.on {
  background: var(--secondary);
}
.cookie-modal__switch.on .cookie-modal__slider {
  transform: translateX(14px);
  background: var(--primary);
}
.cookie-modal__switch.disabled {
  opacity: .35;
  pointer-events: none;
}
.cookie-modal__actions {
  display: flex;
  gap: 18px;
  margin-top: 12px;
}
.cookie-modal__close {
  position: absolute;
  right: 18px;
  top: 18px;
  background: var(--accent);
  border: none;
  color: var(--primary);
  font-size: 1.3rem;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: var(--secondary);
  color: #fff;
}

/* Responsive cookie banner/modal */
@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 10px 18px 10px;
    font-size: 0.98rem;
    gap: 15px;
  }
  .cookie-banner__actions {
    width: 100%;
    gap: 8px;
  }
  .cookie-modal { padding: 29px 9px; }
  .cookie-modal__actions { gap: 7px; }
}

/* ====================================================
   Misc
   ==================================================== */
::-webkit-scrollbar {
  width: 8px;
  background: #ececec;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb {
  background: #dbdad6;
  border-radius: 4px;
}
/* Icon images */
img[alt^="icon-"] { filter: grayscale(15%) brightness(1.07); }

/* 
  Ensure all cards, sections, testimonials, features, etc. 
  DO NOT overlap and always have min 20px spacing between them
*/
.section, .card, .testimonial-card, .feature-grid > div {
  margin-bottom: 20px;
}

/* Utility spacing helpers */
.mt-20 { margin-top: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }
.gap-20 { gap: 20px !important; }

/*
  End stylesheet
*/
