/* ============================
   CSS RESET & BASE STYLES
   ============================ */
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-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  background: #f7fbfd;
  color: #181f29;
  min-height: 100vh;
  font-size: 1rem;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #06386C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #1BA87E;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
  background: none;
  color: inherit;
}

/* ===============
   COLOR VARIABLES
   =============== */
:root {
  --color-primary: #06386C;
  --color-secondary: #1BA87E;
  --color-accent: #FFFFFF;
  --color-bg-hero: #06386C;
  --color-cta-bg: #1BA87E;
  --color-cta-text: #FFFFFF;
  --color-text-dark: #181f29;
  --color-text-light: #F7FBFD;
  --color-border: #e0e7ef;
  --color-shadow: rgba(6,56,108,0.11);
  --color-shadow-strong: rgba(27,168,126,0.18);
  --color-warning: #FFD600;
  --color-danger: #D7263D;
  --color-success: #1BA87E;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/* =======================
   TYPOGRAPHY & HEADINGS
   ======================= */
h1, .h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.5rem;
  letter-spacing: -1.5px;
  color: var(--color-primary);
  margin-bottom: 16px;
  line-height: 1.15;
  text-shadow: 0 2px 8px rgba(6,56,108,0.06);
  text-transform: uppercase;
}
h2, .h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--color-secondary);
  letter-spacing: -1px;
  margin-bottom: 16px;
  line-height: 1.2;
}
h3, .h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: 12px;
}
h4, .h4 {
  font-size: 1.12rem;
  font-weight: 600;
}
h5, .h5 {
  font-size: 1rem;
  font-weight: 500;
}
h6, .h6 {
  font-size: 0.85rem;
  font-weight: 500;
}
p, li {
  color: var(--color-text-dark);
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 12px;
}
strong {
  color: var(--color-primary);
  font-weight: bold;
}
em {
  color: var(--color-secondary);
  font-style: italic;
}

/* ===================
   GLOBAL CONTAINERS
   =================== */
.container {
  width: 100%;
  max-width: 1170px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 18px var(--color-shadow);
}

/* ===============
   FLEX CONTAINERS
   =============== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px var(--color-shadow);
  padding: 28px 22px 24px 22px;
  transition: box-shadow 0.22s, transform 0.18s;
  flex: 1 1 260px;
  min-width: 270px;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 28px var(--color-shadow-strong);
  transform: translateY(-6px) scale(1.03);
  z-index: 2;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #f2fff6;
  border-radius: 16px;
  box-shadow: 0 2px 8px var(--color-shadow);
  margin-bottom: 20px;
  flex: 1 1 340px;
  min-width: 260px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 6px 24px var(--color-shadow-strong);
  transform: translateY(-3px) scale(1.018);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ===============
   BRANDING & HERO
   =============== */
.hero {
  background: var(--color-bg-hero);
  color: var(--color-accent);
  padding: 72px 0 56px 0;
  text-align: left;
  min-height: 380px;
}
.hero h1, .hero h2, .hero h3, .hero p {
  color: var(--color-accent);
}
.hero .cta {
  margin-top: 24px;
}
.hero .content-wrapper {
  align-items: flex-start;
}

/* ==================
   NAVIGATION HEADER
   ================== */
header {
  background: #fff;
  box-shadow: 0 2px 10px var(--color-shadow);
  position: sticky;
  top: 0;
  z-index: 40;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 0;
}
header nav a, .mobile-nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  transition: color 0.2s, background 0.18s, border-color 0.2s;
  padding: 8px 14px;
  border-radius: 8px;
  position: relative;
}
header nav a.cta {
  background: var(--color-cta-bg);
  color: var(--color-cta-text);
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px var(--color-shadow);
  transition: background 0.2s, box-shadow 0.18s;
}
header nav a.cta:hover, header nav a.cta:focus,
.cta:hover, .cta:focus {
  background: #12ddb8;
  color: #053768;
  box-shadow: 0 6px 20px var(--color-shadow-strong);
  outline: none;
}
header nav a:hover, header nav a:focus {
  color: var(--color-secondary);
  background: #f0faf5;
}
header nav img {
  height: 42px;
  margin-right: 20px;
}
.mobile-menu-toggle {
  display: none;
  background: var(--color-secondary);
  color: #fff;
  border-radius: 8px;
  width: 46px;
  height: 46px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-left: auto;
  z-index: 41;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.17s;
  border: none;
  box-shadow: 0 2px 10px var(--color-shadow);
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-primary);
  color: #fff;
}

/* ===============
   MOBILE NAV MENU
   =============== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 82vw;
  max-width: 370px;
  height: 100vh;
  background: var(--color-primary);
  color: #fff;
  box-shadow: -8px 0 24px rgba(6,56,108,0.22);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.6,0,.27,1);
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 0 40px 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 24px 0 0;
  background: none;
  color: #fff;
  border: none;
  font-size: 2.2rem;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 50%;
  transition: background 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--color-secondary);
  color: #06386C;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 18px 28px 0 32px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.1rem;
  font-weight: bold;
  background: none;
  border-left: 4px solid transparent;
  padding-left: 14px;
  margin-bottom: 2px;
  border-radius: 0 6px 6px 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: #06386C;
  border-left: 4px solid #fff566;
}

/* =====================
   BUTTONS & INTERACTIVE
   ===================== */
.cta, .btn, button, .newsletter-signup a {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: bold;
  background: var(--color-secondary);
  color: #fff;
  padding: 13px 32px;
  border-radius: 28px;
  border: none;
  box-shadow: 0 3px 24px var(--color-shadow-strong);
  cursor: pointer;
  outline: none;
  transition: background 0.22s, color 0.16s, box-shadow 0.19s, transform 0.17s;
  letter-spacing: 0.02em;
  display: inline-block;
  margin-top: 14px;
  margin-bottom: 8px;
  text-align: center;
  text-shadow: 0 2px 11px rgba(1,80,82,0.09);
}
.cta:hover, .btn:hover, .newsletter-signup a:hover, .cta:focus, .btn:focus, .newsletter-signup a:focus {
  background: #23eaca;
  color: #06386C;
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 6px 28px var(--color-shadow-strong);
}

section.services ul li a,
section.features ul li a {
  display: inline-block;
  font-size: 1rem;
  background: var(--color-primary);
  color: #fff;
  padding: 7px 18px;
  border-radius: 18px;
  margin-top: 8px;
  transition: background 0.18s, color 0.16s;
}
section.services ul li a:hover, section.features ul li a:hover {
  background: var(--color-secondary);
  color: #06386C;
}

/* =============
   LIST ELEMENTS
   ============= */
section.features ul,
section.about ul,
section.services ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 12px 0 0 0;
}
section.features ul li,
section.about ul li,
section.services ul li {
  font-size: 1.08rem;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f4fafd;
  color: #061b48;
  border-radius: 12px;
  padding: 15px 20px;
  box-shadow: 0 2px 10px 0 rgba(6,56,108,0.04);
  min-height: 64px;
}
section.features ul li img,
section.services ul li img {
  height: 36px;
  width: 36px;
}

/* ========================
   TESTIMONIALS & REVIEWS
   ======================== */
section.testimonials {
  background: #fffbea;
  border-radius: 32px;
  padding: 40px 26px;
  box-shadow: 0 2px 16px rgba(27,168,126,0.07);
}
section.testimonials h2 {
  color: #e7811e;
}
.testimonial-card {
  background: #fff;
  color: #181f29;
  border: 2px solid #fff566;
  box-shadow: 0 2px 14px rgba(235,205,20,0.10);
  font-size: 1.08rem;
}
.testimonial-card p {
  font-weight: 500;
  line-height: 1.48;
  color: #061b48;
  flex: 2;
}
.testimonial-card .stars {
  display: flex;
  gap: 3px;
  align-items: center;
  margin-left: 12px;
  margin-right: 5px;
}
.testimonial-card .stars img {
  height: 1.3em;
}
.testimonial-card span {
  color: #061b48;
  font-size: 0.95em;
  font-family: var(--font-display);
  font-weight: 600;
  margin-left: 12px;
}

/* =============
   FOOTER STYLES
   ============= */
footer {
  background: #06386C;
  color: #fff;
  padding: 40px 0 0 0;
  border-radius: 36px 36px 0 0;
  margin-top: 46px;
}
footer .container {
  padding-bottom: 30px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 12px;
  margin-bottom: 18px;
}
footer nav a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1em;
  font-weight: 600;
  text-decoration: underline;
  text-transform: uppercase;
  letter-spacing: .01em;
  transition: color 0.16s;
}
footer nav a:hover, footer nav a:focus {
  color: #1BA87E;
  text-decoration: none;
}
footer img {
  height: 36px;
  margin-bottom: 16px;
}
footer .contact-infos {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
  margin-top: 4px;
}
footer .contact-infos div {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.97rem;
  color: #cbe9e2;
}
footer .newsletter-signup {
  margin-top: 14px;
}
footer .newsletter-signup p {
  color: #fff;
  font-size: 1.02em;
  font-weight: 500;
  margin-bottom: 7px;
}
footer .newsletter-signup a {
  background: var(--color-warning);
  color: #06386C;
  font-weight: bold;
  padding: 9px 26px;
  border-radius: 18px;
  display: inline-block;
  margin: 0;
  margin-top: 3px;
  text-transform: uppercase;
}
footer .newsletter-signup a:hover  {
  background: #1BA87E;
  color: #fff;
}

/* =================
   SPECIAL SECTIONS
   ================= */
section.about {
  background: #eafeff;
  border-radius: 32px;
  box-shadow: 0 1px 14px rgba(27,168,126,0.06);
}
section.services {
  background: #fff7f7;
  border-radius: 24px;
  box-shadow: 0 3px 22px rgba(218,36,128,0.06);
}
section.features {
  background: #f3fafd;
  border-radius: 24px;
  box-shadow: 0 3px 16px rgba(27,168,126,0.04);
}
section.contact {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 12px rgba(6,56,108,0.06);
  margin-bottom: 40px;
}

/* ====================
   COOKIE CONSENT BANNER
   ==================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: #06386C;
  box-shadow: 0 -2px 22px rgba(6,56,108,0.15);
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 28px 22px 24px 22px;
  gap: 24px;
  animation: slideUpBanner 0.7s cubic-bezier(.6,0,.27,1);
}
@keyframes slideUpBanner {
  from { transform: translateY(100%); opacity:0; }
  to   { transform: translateY(0); opacity:1; }
}
.cookie-banner .cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 7px;
}
.cookie-banner .cookie-btn {
  background: var(--color-primary);
  color: #fff;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 700;
  padding: 10px 24px;
  margin: 0;
  border: none;
  cursor: pointer;
  transition: background 0.19s, color 0.18s, box-shadow 0.14s;
  box-shadow: 0 2px 10px var(--color-shadow);
}
.cookie-banner .cookie-btn.accept {
  background: var(--color-success);
}
.cookie-banner .cookie-btn.reject {
  background: var(--color-danger);
}
.cookie-banner .cookie-btn.settings {
  background: var(--color-warning);
  color: #1a277d;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #1BA87E;
  color: #fff;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6,56,108,0.36);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInOverlay 0.3s;
}
@keyframes fadeInOverlay {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  max-width: 458px;
  width: 98vw;
  box-shadow: 0 4px 44px rgba(6,56,108,0.20);
  padding: 36px 24px 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  z-index: 1001;
  animation: slideUpModal 0.24s;
}
@keyframes slideUpModal {
  from { transform: translateY(70px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.45rem;
  margin-bottom: 8px;
}
.cookie-modal ul {
  margin: 0; padding: 0 0 0 6px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cookie-modal li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.06rem;
}
.cookie-modal .toggle {
  width: 42px;
  height: 23px;
  background: #e0e4ef;
  border-radius: 24px;
  position: relative;
  cursor: pointer;
  transition: background 0.19s;
}
.cookie-modal .toggle[aria-checked="true"] {
  background: #1BA87E;
}
.cookie-modal .toggle .dot {
  width: 19px;
  height: 19px;
  background: #fff;
  position: absolute;
  left: 2px;
  top: 2px;
  border-radius: 50%;
  box-shadow: 0 1px 5px #a7cecc33;
  transition: left 0.22s;
}
.cookie-modal .toggle[aria-checked="true"] .dot {
  left: 21px;
}
.cookie-modal .save-btn {
  background: var(--color-primary);
  color: #fff;
  padding: 10px 32px;
  border-radius: 12px;
  font-weight: 600;
  margin-top: 18px;
  border: none;
  box-shadow: 0 2px 8px var(--color-shadow);
  cursor: pointer;
  transition: background 0.16s, color 0.14s;
}
.cookie-modal .save-btn:hover {
  background: #1BA87E;
  color: #fff;
}
.cookie-modal .close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  color: #06386C;
  font-size: 1.8rem;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  transition: background 0.14s;
}
.cookie-modal .close:hover, .cookie-modal .close:focus {
  background: #f5f6fa;
}

/* ===============
   RESPONSIVE RULES
   =============== */
@media (max-width: 1060px) {
  .container {
    max-width: 94vw;
    padding-left: 6px;
    padding-right: 6px;
  }
  .card {
    min-width: 210px;
    max-width: 99vw;
    padding: 22px 11px 14px 14px;
  }
}
@media (max-width: 900px) {
  .hero {
    padding: 42px 0 32px 0;
    min-height: unset;
  }
  .section, section.about, section.features, section.services, section.testimonials {
    padding-left: 8px;
    padding-right: 8px;
  }
  .testimonial-card {
    min-width: 170px;
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 768px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .hero {
    padding: 32px 0 18px 0;
    text-align: left;
  }
  .content-wrapper {
    gap: 14px;
  }
  .section, section.about, section.features, section.services, section.testimonials {
    padding: 26px 7px;
    border-radius: 16px;
    margin-bottom: 40px;
    box-shadow: 0 1px 8px var(--color-shadow);
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
  }
  footer {
    border-radius: 24px 24px 0 0;
    padding-top: 18px;
    margin-top: 28px;
  }
}
@media (max-width: 540px) {
  h1, .h1 {
    font-size: 1.6rem;
  }
  h2, .h2 {
    font-size: 1.18rem;
  }
  .hero {
    padding: 14px 0 5px 0;
    min-height: unset;
  }
  .card {
    padding: 13px 4px 10px 8px;
    border-radius: 8px;
    min-width: 97vw;
  }
  .testimonial-card {
    font-size: 0.98rem;
    border-radius: 10px;
    padding: 12px 4px;
    min-width: 99vw;
  }
  .section, section.about, section.features, section.services {
    border-radius: 8px;
  }
  .cookie-modal {
    padding: 14px 6px 18px 6px;
    border-radius: 10px;
  }
}

/* ==============================
   ANIMATIONS & MICRO-INTERACTIONS
   ============================== */
.card, .testimonial-card, .cta, .btn, .newsletter-signup a, .cookie-btn, .mobile-menu {
  transition: box-shadow 0.18s, background 0.21s, color 0.18s, transform 0.15s;
}
@media (hover: hover) {
  .card:hover, .testimonial-card:hover {
    box-shadow: 0 4px 28px var(--color-shadow-strong) !important;
    transform: translateY(-6px) scale(1.03) !important;
    z-index: 2;
  }
}

/*********************
 * UTILS/EXTRAS
 *********************/
::-webkit-scrollbar {
  width: 9px;
  background: #fdefef;
}
::-webkit-scrollbar-thumb {
  background: #e0e7ef;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #1BA87E;
}

/* =============
   MISC FIXES
   ============= */
::selection {
  background: #077861;
  color: #fff;
}

[tabindex]:focus {
  outline: 2.5px solid var(--color-secondary) !important;
  outline-offset: 2px;
}

/* Hide visually for accessibility (if needed) */
.sr-only {
  border: 0 !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  clip-path: inset(50%) !important;
  height: 1px !important; width:1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important; white-space: nowrap !important;
}

/* ================ END ================ */
