/* =======================================================
  Dokugo Frankfurt — "elegant_classic" Responsive Flexbox CSS
  Author: Senior CSS Developer & UI Designer
======================================================= */

/* =======================
   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;
  scroll-behavior: smooth;
  min-height: 100%;
}
*, *::before, *::after {
  box-sizing: inherit;
}
body {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 16px;
  color: #173148;
  background: #F6F8FB;
  line-height: 1.7;
  min-height: 100vh;
  --primary: #173148;
  --secondary: #328282;
  --accent: #F6F8FB;
  --serif: 'Georgia', 'Times New Roman', Times, serif;
  --display-font: 'Montserrat', 'Georgia', serif;
  --body-font: 'Georgia', serif;
  --radius: 10px;
  --shadow: 0 2px 12px rgba(23, 49, 72, 0.07), 0 1.5px 4px rgba(50,130,130,0.03);
  --transition: all 0.3s cubic-bezier(.4,0,.2,1);
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: var(--primary);
  text-decoration: underline;
}
ul, ol {
  margin: 0 0 1.5em 2em;
  padding: 0;
}
li {
  margin-bottom: 8px;
}
strong {
  font-weight: 600;
}

/* =======================
     TYPOGRAPHY SCALE
======================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--display-font);
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.75rem;
  line-height: 1.2;
  margin-bottom: 28px;
}
h2 {
  font-size: 2rem;
  line-height: 1.25;
  margin-bottom: 24px;
}
h3 {
  font-size: 1.35rem;
  line-height: 1.3;
  margin-bottom: 14px;
  font-weight: 600;
}
h4 {
  font-size: 1.125rem;
  margin-bottom: 12px;
}
p {
  font-size: 1.05rem;
  margin-bottom: 16px;
  color: #193C59;
  letter-spacing: 0.005em;
}
.text-section p,
.text-section ul,
.text-section li {
  color: #173148;
}

/* =======================
     LAYOUT STRUCTURE
======================= */
.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 24px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (min-width: 900px) {
  .content-wrapper {
    gap: 32px;
  }
}
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: 0;
}
@media (min-width: 992px) {
  section, .section {
    padding: 72px 0 64px 0;
    margin-bottom: 80px;
  }
}

/* ===============
   HEADER & NAV
================ */
header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #e6e7e8;
  box-shadow: 0 2px 12px rgba(23,49,72,0.03);
  position: sticky;
  top: 0;
  z-index: 1002;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 76px;
  padding-top: 8px;
  padding-bottom: 8px;
}
header nav {
  display: flex;
  gap: 14px;
}
header nav a {
  font-family: var(--display-font);
  font-size: 1.07rem;
  padding: 7px 12px;
  border-radius: var(--radius);
  letter-spacing: 0.02em;
  color: #173148;
  transition: background var(--transition), color var(--transition);
  position: relative;
}
header nav a:hover,
header nav a:focus {
  background: var(--accent);
  color: var(--secondary);
}
header a.cta-primary {
  background: var(--secondary);
  color: #fff;
  font-size: 1.07rem;
  padding: 10px 26px;
  border-radius: var(--radius);
  font-family: var(--display-font);
  font-weight: 700;
  box-shadow: var(--shadow);
  transition: background var(--transition), box-shadow var(--transition);
  border: none;
  margin-left: 14px;
  text-align: center;
  display: inline-block;
}
header a.cta-primary:hover, header a.cta-primary:focus {
  background: var(--primary);
  box-shadow: 0 4px 16px rgba(23,49,72,0.17);
  color: #fff;
}
header img {
  height: 48px;
  width: auto;
  margin-right: 18px;
}

/* Burger menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.15rem;
  color: var(--primary);
  cursor: pointer;
  margin-left: 12px;
  line-height: 1;
  z-index: 2000;
}

@media (max-width: 992px) {
  header nav, header a.cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ========================
   MOBILE NAV OVERLAY MENU
======================== */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 3000;
  box-shadow: 0 2px 20px rgba(23,49,72,0.10);
  padding: 24px 28px;
  transform: translateX(-110vw);
  transition: transform 0.35s cubic-bezier(.4,0,.2,1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 2.3rem;
  align-self: flex-end;
  margin-bottom: 24px;
  cursor: pointer;
  z-index: 3001;
  transition: color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 18px;
}
.mobile-nav a {
  font-family: var(--display-font);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
  padding: 14px 6px;
  border-radius: var(--radius);
  text-align: left;
  transition: background var(--transition), color var(--transition);
  position: relative;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: var(--secondary);
}
@media (min-width: 992px) {
  .mobile-menu, .mobile-menu-close, .mobile-nav {
    display: none!important;
  }
}

/* ==================================
   MAIN LAYOUT & FLEXBOX PATTERNS
=================================== */
.feature-grid, .testimonial-grid, .card-container, .contact-section, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
  margin-bottom: 12px;
}
@media (max-width: 768px) {
  .feature-grid, .testimonial-grid, .card-container, .contact-section, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}
/* Adjust for fewer columns/detail on larger screens */
.feature-grid > div, .testimonial-grid > div, .card-container > div {
  flex: 1 1 260px;
  min-width: 220px;
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 20px 22px 22px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.18s, transform 0.23s;
}
.feature-grid > div:hover, .testimonial-card:hover, .card-container > div:hover {
  box-shadow: 0 4px 24px rgba(23,49,72,0.19);
  transform: translateY(-2px) scale(1.013);
}
.text-section {
  max-width: 900px;
  margin: 0 auto 14px auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #fff;
  padding: 28px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ============================== 
   BUTTONS & CTA STYLES
================================ */
.cta-primary {
  background: var(--secondary);
  color: #fff;
  font-family: var(--display-font);
  font-size: 1.15rem;
  font-weight: 700;
  padding: 12px 32px;
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  cursor: pointer;
  display: inline-block;
  transition: background var(--transition), box-shadow var(--transition);
  letter-spacing: 0.02em;
  margin-top: 6px;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 26px rgba(23,49,72,0.20);
}
.cta-secondary {
  background: #fff;
  color: var(--secondary);
  font-family: var(--display-font);
  border: 1.5px solid var(--secondary);
  font-size: 1.08rem;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: background var(--transition), color var(--transition), border var(--transition);
  margin-top: 14px;
  cursor: pointer;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--secondary);
  color: #fff;
  border-color: var(--primary);
}

/* ===============
  TESTIMONIALS
================ */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 220px;
  margin-bottom: 20px;
  font-style: italic;
  color: #173148;
  transition: box-shadow 0.19s;
  border-left: 4px solid var(--secondary);
}
.testimonial-card p {
  font-size: 1.17rem;
  color: #173148;
  margin-bottom: 8px;
}
.testimonial-card strong {
  font-style: normal;
  font-weight: 600;
  color: #328282;
  font-size: 1.02rem;
}

@media (max-width: 768px) {
  .testimonial-card {
    padding: 16px 13px;
  }
}

/* ===============
  CONTACT SECTION
================ */
.contact-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 32px 26px 23px;
}
.contact-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-section li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.08rem;
  color: #173148;
  margin-bottom: 0;
}
.contact-section li img {
  width: 22px;
  margin-right: 2px;
}

/* ===============
  FOOTER
================ */
footer {
  background: #183855;
  color: #fff;
  padding: 48px 0 24px 0;
  border-top: 1.5px solid #dde4ed;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
footer img {
  height: 44px;
  margin-bottom: 10px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
footer nav a {
  color: #f1f7fe;
  opacity: 0.91;
  font-size: 1.04rem;
  font-family: var(--display-font);
  padding: 3px 10px;
  border-radius: 6px;
  transition: background 0.17s, color 0.15s;
}
footer nav a:hover, footer nav a:focus {
  background: rgba(50,130,130,0.067);
  color: #cff;
}
footer .contact-info {
  color: #e7ecee;
  font-size: 1rem;
  line-height: 1.7;
  text-align: center;
}
@media (min-width: 900px) {
  footer .container {
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
    justify-content: space-between;
  }
  footer nav {
    flex-direction: column;
    gap: 10px;
  }
  footer .contact-info {
    text-align: right;
  }
}

/* =====================================
    FLEXBOX SPACING & FEATURE PATTERNS
====================================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =============
  ICONS IN GRID
=============== */
.feature-grid img, .feature-grid svg {
  height: 38px;
  width: 38px;
  margin-bottom: 7px;
  filter: grayscale(5%) contrast(1.07) brightness(0.98);
  opacity: 0.90;
}

/* =============
  FORM STYLING (if added)
=============== */
input, textarea, select {
  font-family: inherit;
  font-size: 1.06rem;
  padding: 10px 14px;
  border: 1.5px solid #c5cfd9;
  border-radius: var(--radius);
  background: #fcfcfd;
  margin-bottom: 18px;
  transition: border 0.2s;
  box-shadow: none;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--secondary);
  background: #f4fcfc;
}
button, .btn {
  font-family: var(--display-font);
  background: var(--secondary);
  color: #fff;
  padding: 11px 25px;
  border: none;
  border-radius: var(--radius);
  font-size: 1.03rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: background var(--transition), box-shadow var(--transition);
  outline: none;
}
button:hover, button:focus, .btn:hover, .btn:focus {
  background: var(--primary);
}

/* ============
   MICRO-INTERACTIONS
============== */
.card, .feature-grid > div, .testimonial-card, .cta-primary, .cta-secondary {
  transition: box-shadow 0.20s cubic-bezier(.4,0,.2,1), background 0.19s, color 0.19s, transform 0.21s;
}
.card:hover, .feature-grid > div:hover, .testimonial-card:hover {
  box-shadow: 0 8px 24px rgba(23,49,72,0.11);
  transform: translateY(-4px) scale(1.014);
}

/* ================
 RESPONSIVENESS
================ */
@media (max-width: 1200px) {
  .container {
    max-width: 980px;
  }
}
@media (max-width: 992px) {
  .container {
    max-width: 98vw;
  }
  h1 {
    font-size: 2.18rem;
  }
  h2 {
    font-size: 1.5rem;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 99vw;
    padding-left: 14px;
    padding-right: 14px;
  }
  h1 {
    font-size: 1.37rem;
  }
  h2 {
    font-size: 1.18rem;
  }
  .feature-grid > div, .testimonial-card, .card {
    padding: 16px 8px 14px 12px;
    min-width: 0;
  }
}
@media (max-width: 500px) {
  .contact-section {
    padding: 16px 8px 14px 12px;
  }
  footer {
    padding-top: 28px;
    padding-bottom: 14px;
  }
  footer img {
    height: 32px;
  }
}

/* =============================================
     COOKIE CONSENT BANNER & PREFERENCES MODAL
============================================= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  background: #fffdfa;
  box-shadow: 0 -2px 26px rgba(23,49,72,0.13);
  padding: 18px 10% 20px 10%;
  border-top: 1.5px solid #e4ebf0;
  z-index: 4000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: cookie-banner-fadein 0.65s cubic-bezier(.39,.58,.57,1.02);
}
@keyframes cookie-banner-fadein {
  from { opacity: 0; bottom: -50px; }
  to   { opacity: 1; bottom: 0; }
}
.cookie-banner p {
  color: #1d2d38;
  font-size: 1.01rem;
  max-width: 820px;
  text-align: center;
}
.cookie-banner .cookie-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 4px;
  justify-content: center;
}
.cookie-btn-group button {
  font-family: var(--display-font);
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1.04rem;
  padding: 8px 24px;
  margin: 0;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.cookie-accept {
  background: var(--secondary);
  color: #fff;
  box-shadow: var(--shadow);
}
.cookie-accept:hover, .cookie-accept:focus {
  background: var(--primary);
  color: #fff;
}
.cookie-reject {
  background: #fff;
  color: var(--secondary);
  border: 1.5px solid var(--secondary);
}
.cookie-reject:hover, .cookie-reject:focus {
  background: var(--secondary);
  color: #fff;
  border-color: var(--primary);
}
.cookie-settings {
  background: #fffdfa;
  color: var(--primary);
  border: 1.5px solid #c8d3df;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #dae4ea;
  color: var(--primary);
  border-color: var(--secondary);
}

/* Consent Modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(23, 49, 72, 0.20);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(.4,0,.2,1);
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  min-width: 300px;
  max-width: 95vw;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 12px 26px rgba(23,49,72,0.18);
  padding: 28px 34px 26px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  animation: cookie-modal-fadein 0.34s cubic-bezier(.42,0,.53,1.03);
}
@keyframes cookie-modal-fadein {
  from { opacity: 0; transform: translateY(50px) scale(.96); }
  to   { opacity: 1; transform: none; }
}
.cookie-modal h2 {
  font-size: 1.18rem;
  margin-bottom: 9px;
}
.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 10px;
}
.cookie-toggle {
  width: 36px;
  height: 22px;
  border-radius: 12px;
  background: #e3e9ed;
  position: relative;
  margin-right: 7px;
  flex-shrink: 0;
  outline: none;
  cursor: pointer;
  border: none;
  transition: background 0.16s;
}
.cookie-toggle.on {
  background: var(--secondary);
}
.cookie-toggle::after {
  content: "";
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  display: block;
  position: absolute;
  left: 2px;
  top: 2px;
  box-shadow: 0 1.5px 4px rgba(23,49,72,.07);
  transition: left 0.15s;
}
.cookie-toggle.on::after {
  left: 16px;
}
.cookie-cat-desc {
  color: #33444d;
  font-size: 0.98rem;
}
.cookie-modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 8px;
}
.cookie-modal-actions button {
  font-family: var(--display-font);
  padding: 8px 20px;
  border-radius: var(--radius);
}
.cookie-modal .cookie-accept {
  background: var(--secondary);
  color: #fff;
}
.cookie-modal .cookie-accept:hover, .cookie-modal .cookie-accept:focus {
  background: var(--primary);
}
.cookie-modal .cookie-reject {
  background: #fff;
  color: var(--secondary);
  border: 1.5px solid var(--secondary);
}
.cookie-modal .cookie-reject:hover, .cookie-modal .cookie-reject:focus {
  background: var(--secondary);
  color: #fff;
}
.cookie-modal .cookie-close {
  background: transparent;
  color: #888;
  font-size: 1.45rem;
  border: none;
  margin-left: auto;
  position: absolute;
  top: 22px; right: 28px;
  cursor: pointer;
}

/* ===============
   ANIMATIONS (micro)
================== */
.cta-primary, .cta-secondary, button, .cookie-accept, .cookie-reject, .cookie-settings {
  transition: background 0.19s, color 0.17s, box-shadow 0.22s, border-color 0.21s, transform 0.22s;
}
.cta-primary:active, .cta-secondary:active, button:active, .cookie-accept:active, .cookie-reject:active {
  transform: scale(.983);
}

/* ===============
   PRINT STYLES
================== */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay {
    display: none !important;
  }
  main, section, .container {
    padding: 0 !important;
    margin: 0 !important;
  }
}

/* ===========================
  ADDITIONAL UTILITIES
=========================== */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  border: 0 !important;
}

/*
  End of Dokugo Frankfurt CSS
*/
