/* =========================
   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;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.3;
  min-height: 100vh;
  background: #223043;
  color: #dbe8e4;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: linear-gradient(120deg, #223043 0%, #34595e 80%, #26313B 100%);
  letter-spacing: 0.01em;
}

ol, ul {
  list-style: none;
  margin: 0 0 24px 0;
  padding-left: 0;
}
a {
  background: none;
  color: #f6c948;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #fff6dc;
  text-shadow: 0 2px 8px #f6c94844;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 8px;
  box-shadow: 0 2px 16px 0 rgb(52 89 94 / 6%);
}

/* ===============
   FONT SETTINGS
   =============== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800|Roboto:400,500,700&display=swap');
h1, h2, h3, h4, .cta, .mobile-menu-toggle {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
h1 {
  font-size: 2.2rem;
  line-height: 1.15;
  color: #f6c948;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 0 2px 18px #34595ecc, 0 2px 16px #f6c94844;
}
h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #e6e8e9;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  color: #f6c948;
  font-weight: 700;
  margin-bottom: 10px;
}
p, li, span {
  font-size: 1rem;
  color: #dbe8e4;
  margin-bottom: 14px;
}
strong {
  color: #f6c948;
  font-weight: 700;
}

/* ===============
   LAYOUT CONTAINERS
   =============== */
.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}
.content-wrapper {
  background: rgba(36, 48, 60, 0.82);
  border-radius: 22px;
  box-shadow: 0 2px 28px #22304355;
  padding: 38px 24px 34px 24px;
  margin-bottom: 32px;
  backdrop-filter: blur(1px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.content-wrapper.hero {
  align-items: center;
  text-align: center;
  background: linear-gradient(120deg, #26313B 40%, #34595e90 100%);
  box-shadow: 0 8px 36px #34595e33;
  margin-bottom: 40px;
}
.content-wrapper.cta {
  background: #34595ee6;
  border: 2px solid #f6c94899;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 24px #f6c94816;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
}

/* ==================
   FLEXBOX PATTERNS
   ================== */

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  background: #2a3c50;
  border-radius: 16px;
  box-shadow: 0 2px 16px #20314233;
  margin-bottom: 20px;
  padding: 24px 18px;
  position: relative;
  flex: 1 1 280px;
  min-width: 240px;
  max-width: 360px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 8px 32px #f6c94844, 0 2px 24px #22304366;
  transform: translateY(-4px) scale(1.01);
  border: 1.5px solid #f6c94855;
}

.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: flex-start;
  gap: 12px;
  padding: 20px 22px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 32px #34595e22;
  border: 2px solid #dbe8e4;
  color: #223043;
  min-width: 240px;
  max-width: 540px;
  font-size: 1.02rem;
  transition: box-shadow 0.2s, border 0.18s;
}
.testimonial-card p {
  color: #223043;
  margin-bottom: 9px;
}
.testimonial-card span {
  color: #34595e;
  font-size: 0.96rem;
  font-style: italic;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px #f6c94866, 0 2px 24px #22304333;
  border: 2px solid #f6c94899;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =============
   HERO BUTTON
   ============= */

.cta, a.cta, button.cta {
  display: inline-block;
  padding: 14px 36px;
  background: linear-gradient(90deg, #f6c948 65%, #fff6dc 100%);
  color: #223043;
  font-size: 1.14rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 32px;
  border: none;
  margin-top: 16px;
  margin-bottom: 8px;
  cursor: pointer;
  box-shadow: 0 4px 28px #f6c94833;
  text-shadow: none;
  transition: background 0.18s, color 0.14s, box-shadow 0.21s, transform 0.13s;
  outline: none;
  border: 2px solid #e2cf86;
}
.cta:hover, .cta:focus {
  background: linear-gradient(90deg, #ffd900 80%, #f6c948 100%);
  color: #222;
  box-shadow: 0 8px 36px #f6c94855, 0 2px 24px #22304399;
  transform: translateY(-2px) scale(1.025);
}

/* =============
   HEADER & NAV
   ============= */
header {
  width: 100%;
  background: rgba(36,48,60,0.99);
  box-shadow: 0 2px 24px #34475616;
}
header .container {
  padding-top: 10px;
  padding-bottom: 10px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
}
header nav a {
  color: #dbe8e4;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 6px 3px;
  border-radius: 6px;
  transition: background 0.15s, color 0.19s;
  position: relative;
}
header nav a.cta {
  color: #223043;
  margin-left: 18px;
  background: linear-gradient(90deg, #f6c948 65%, #fff6dc 100%);
  padding: 10px 24px;
  border-radius: 22px;
  border: 2px solid #e2cf86;
  font-weight: 700;
  font-size: 1.02rem;
}
header nav a:hover, header nav a:focus {
  background: #223043;
  color: #f6c948;
}
header nav a.cta:hover, header nav a.cta:focus {
  background: #fff9e0;
  color: #223043;
}

header a img {
  max-height: 48px;
  margin-right: 12px;
}

/* === MOBILE MENU === */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: transparent;
  border: none;
  color: #f6c948;
  cursor: pointer;
  margin-left: 12px;
  transition: color 0.21s;
  z-index: 1201;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #f6c948;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34, 48, 67, 0.98);
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(.76,.09,.73,.98);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 38px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 14px 22px 14px 0;
  font-size: 2.2rem;
  background: transparent;
  border: none;
  color: #fff6dc;
  cursor: pointer;
  transition: color 0.16s;
  z-index: 1221;
}
.mobile-menu-close:focus {
  outline: 2px solid #f6c948;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
  margin-top: 36px;
  padding-left: 32px;
}
.mobile-nav a {
  font-size: 1.25rem;
  padding: 8px 0;
  color: #f6c948;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  transition: color 0.2s, text-shadow 0.25s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #fff;
  text-shadow: 0 2px 8px #f6c94844;
}

/* ================
   FOOTER SECTION
   ================ */
footer {
  margin-top: 40px;
  background: #26313be8;
  box-shadow: 0 -2px 28px #22304355;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 40px 6px 24px 6px;
}
.footer-content nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-content nav a {
  color: #dbe8e4;
  font-size: 0.96rem;
  margin-bottom: 4px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.footer-content nav a:hover {
  color: #f6c948;
}
.footer-contact p, .footer-contact a {
  color: #dbe8e4;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 4px;
}
.footer-content img {
  height: 36px;
}

/* ===========
   FEATURES
   =========== */
.features-grid, .team, .benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 18px;
  justify-content: flex-start;
}
.features-grid > div, .team > div, .benefits > div {
  flex: 1 1 252px;
  min-width: 210px;
  background: #26313b;
  border-radius: 16px;
  padding: 24px 14px 18px 18px;
  margin-bottom: 8px;
  box-shadow: 0 2px 16px #34595e22;
  border-bottom: 4px solid #f6c94866;
  transition: box-shadow 0.2s, border-bottom 0.18s;
}
.features-grid > div:hover, .team > div:hover, .benefits > div:hover {
  box-shadow: 0 8px 32px #f6c94833, 0 2px 24px #34595e44;
  border-bottom: 4px solid #f6c948;
}
.features-grid img, .team img, .benefits img {
  height: 56px;
  width: auto;
  margin-bottom: 9px;
}

.icons {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
  margin-top: 8px;
}
.icons img {
  height: 38px;
}

/* STORY CARDS */
.story {
  background: #222e3e;
  border-left: 4px solid #f6c948;
  border-radius: 0 16px 16px 0;
  margin-bottom: 20px;
  padding: 21px 22px 18px 18px;
  box-shadow: 0 2px 18px #34595e11;
}
.story h3 {
  color: #f6c948;
  margin-bottom: 8px;
  font-size: 1.16rem;
}
.story p {
  color: #dbe8e4;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  margin-top: 16px;
  color: #f6c948;
  font-weight: 700;
}
.contact-info img {
  vertical-align: middle;
  margin-right: 4px;
  height: 22px;
}

/* ==============
   TABLES, FORMS
   ==============
   (Minimal styling since not in HTML above)
 */
table {
  width: 100%;
  background: #1e2833;
  border-radius: 8px;
  overflow: hidden;
  color: #dbe8e4;
  margin: 16px 0 24px 0;
}
th, td {
  padding: 12px 8px;
}
th {
  text-align: left;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #ffd900;
}
td {
  border-top: 1px solid #34595e;
}
input, textarea, select {
  background: #dbe8e4;
  border: none;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 1rem;
  color: #223043;
  margin-bottom: 18px;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 2px 16px #34595e33;
  font-family: 'Roboto', Arial, sans-serif;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid #f6c948;
}

/* ===============
   COOKIE BANNER
   =============== */
#cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2000;
  width: 100vw;
  background: #223043fa;
  color: #dbe8e4;
  box-shadow: 0 -4px 30px #22304377;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 28px 18px;
  gap: 30px;
  font-size: 1rem;
  transition: transform 0.3s;
}
#cookie-banner.hide {
  transform: translateY(110%);
}
#cookie-banner p {
  margin-bottom: 0;
  font-size: 1rem;
  color: #fff6dc;
}
.cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-left: 30px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  background: linear-gradient(90deg, #f6c948 80%, #fff6dc 100%);
  color: #223043;
  font-weight: 700;
  border: none;
  border-radius: 22px;
  font-size: 1rem;
  padding: 10px 24px;
  cursor: pointer;
  transition: background 0.18s, color 0.16s, box-shadow 0.21s;
  outline: none;
}
.cookie-btn.settings {
  background: #34595e;
  color: #f6c948;
  border: 2px solid #f6c948aa;
}
.cookie-btn.reject {
  background: #dbe8e4;
  color: #223043;
  border: 2px solid #f6c94855;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #fff6dc;
  color: #223043;
  box-shadow: 0 6px 24px #f6c94855;
}

/* COOKIE SETTINGS MODAL */
#cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(34,48,67,0.96);
  padding: 32px 14px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.24s;
}
#cookie-modal.open {
  visibility: visible;
  opacity: 1;
}
#cookie-modal .modal-box {
  background: #fff6dc;
  border-radius: 22px;
  box-shadow: 0 4px 38px #34595e66;
  padding: 30px 28px 24px 26px;
  width: 100%;
  max-width: 410px;
  color: #223043;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
#cookie-modal h2 {
  color: #34595e;
  font-size: 1.32rem;
  margin-bottom: 7px;
}
#cookie-modal label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  margin-bottom: 9px;
}
#cookie-modal .modal-box span {
  color: #1e2833;
}
#cookie-modal .cookie-modal-btns {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 15px;
}
#cookie-modal .modal-close {
  background: transparent;
  color: #34595e;
  font-weight: bold;
  padding: 6px 16px;
  font-size: 1.1rem;
  border: 2px solid #f6c948;
  border-radius: 14px;
  cursor: pointer;
}
#cookie-modal .modal-close:hover, #cookie-modal .modal-close:focus {
  background: #f6c948;
  color: #223043;
}

/* === COOKIE TOGGLES === */
.cookie-toggle {
  height: 24px;
  width: 40px;
  border-radius: 18px;
  background: #dbe8e4;
  border: 2px solid #34595e44;
  position: relative;
  margin-right: 7px;
  transition: background 0.18s;
}
.cookie-toggle input {
  opacity: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0; top: 0;
  cursor: pointer;
  z-index: 1;
}
.cookie-toggle .slider {
  position: absolute;
  height: 18px;
  width: 18px;
  left: 2px; top: 2px;
  border-radius: 50%;
  background: #34595e;
  transition: left 0.18s;
}
.cookie-toggle input:checked + .slider {
  left: 20px;
  background: #f6c948;
}

/* ============
   RESPONSIVE 
   ============ */
@media (max-width: 1200px) {
  .container {
    max-width: 94vw;
  }
  .features-grid, .team, .benefits, .footer-content {
    gap: 18px;
  }
}
@media (max-width: 990px) {
  .content-wrapper {
    padding: 28px 12px 24px 12px;
  }
  .features-grid > div, .team > div, .benefits > div {
    min-width: 150px;
    font-size: 0.98em;
  }
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 99vw;
    padding-left: 8px;
    padding-right: 8px;
  }
  header .container {
    flex-direction: row;
    gap: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .features-grid, .team, .benefits {
    flex-direction: column;
    gap: 14px;
  }
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding-left: 4px;
    padding-right: 4px;
  }
  .content-grid {
    flex-direction: column;
    gap: 9px;
  }
  .testimonial-card {
    max-width: 100%;
    padding: 14px 11px;
    font-size: 0.96rem;
  }
  .section {
    padding: 28px 4px 22px 4px;
    margin-bottom: 38px;
  }
  .content-wrapper.hero {
    padding: 29px 5px 24px 5px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  #cookie-banner {
    flex-direction: column;
    gap: 17px;
    padding: 24px 7px;
    font-size: 0.98rem;
  }
  .cookie-buttons {
    margin-left: 0;
    flex-wrap: wrap;
    gap: 10px;
  }
  #cookie-modal .modal-box {
    padding: 18px 6px 15px 6px;
    max-width: 97vw;
  }
}
@media (max-width: 540px) {
  h1 {
    font-size: 1.36rem;
  }
  h2 {
    font-size: 1.14rem;
  }
  .cta, a.cta, button.cta {
    font-size: 0.97rem;
    padding: 10px 16px;
  }
}

/* === HIDE SCROLL ON MODAL OPEN === */
body.modal-open {
  overflow: hidden;
}

/* ================
   SMALL EFFECTS
   ================ */
.card, .features-grid > div, .testimonial-card, .content-wrapper, .story, .benefits > div, .team > div {
  transition: box-shadow 0.19s, border 0.15s, transform 0.11s;
}
.section, .content-wrapper {
  transition: background 0.24s;
}

/* ================
   ADDITIONAL UTILITIES
   ================ */
.mt-3 { margin-top: 24px; }
.mb-2 { margin-bottom: 16px; }
.mt-2 { margin-top: 16px; }
.mb-3 { margin-bottom: 24px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }

/* Disable grid/columns for safety (prevent accidental future use) */
[class*="grid"], [class*="column"] {
  display: flex !important;
  /* Never use CSS grid or columns! */
}
