/* ---- CSS RESET & BASE ---- */
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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: #FAFAFA;
  color: #2C3E50;
  font-family: 'Open Sans', Georgia, serif;
  font-size: 16px;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
article, aside, footer, header, nav, section {
  display: block;
}
ul, ol {
  list-style: inside;
  margin-left: 1.35em;
  margin-bottom: 1.2em;
}
li {
  margin-bottom: 0.6em;
}
a {
  color: #2C3E50;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F4D35E;
}
img {
  max-width: 100%;
  height: auto;
}
/* Typography hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Times New Roman', Times, serif;
  letter-spacing: 0.01em;
  color: #2C3E50;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.16;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p, .text-section p {
  font-size: 1rem;
  margin-bottom: 14px;
  color: #2C3E50;
  line-height: 1.7;
}
strong {
  font-weight: 700;
}

/* ---- LAYOUT CONTAINERS ---- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

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

.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(44,62,80,0.08), 0 1.5px 5px rgba(0,0,0,0.03);
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 8px 30px rgba(44,62,80,0.13), 0 3px 9px rgba(0,0,0,0.07);
}

.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 {
  background: #F6F6F6;
  border-left: 4px solid #F4D35E;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(44,62,80,0.04);
  color: #2C3E50;
  transition: box-shadow 0.16s;
}
.testimonial-card p {
  flex: 1;
  font-style: italic;
  font-size: 1.05rem;
  color: #222;
  margin-bottom: 0;
}
.testimonial-card span {
  font-family: 'Open Sans', serif;
  color: #2C3E50;
  font-size: 1rem;
  align-self: flex-end;
  opacity: 0.85;
}
.testimonial-card:hover {
  box-shadow: 0 4px 20px rgba(244,211,94,0.13) , 0 2px 8px rgba(44,62,80,0.04);
}

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

/* Index page feature grid */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 10px;
}
.feature-block {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(44,62,80,0.04);
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 320px;
  padding: 24px 18px 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.17s;
}
.feature-block:hover {
  box-shadow: 0 8px 30px rgba(244,211,94,0.13), 0 4px 10px rgba(44,62,80,0.08);
  transform: translateY(-4px) scale(1.025);
}
.feature-block img {
  width: 54px;
  height: 54px;
  margin-bottom: 6px;
}

/* ---- BUTTONS ---- */
.button {
  display: inline-block;
  font-family: 'Montserrat', 'Times New Roman', Times, serif;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0.70em 1.7em;
  border-radius: 22px;
  border: none;
  cursor: pointer;
  outline: none;
  margin-top: 10px;
  margin-bottom: 8px;
  background: #fff;
  color: #2C3E50;
  box-shadow: 0 2px 8px rgba(44,62,80,0.03);
  transition: background 0.15s, color 0.15s, box-shadow 0.15s, transform 0.15s;
  text-decoration: none;
}
.button.primary {
  background: #2C3E50;
  color: #fff;
  border: 2px solid #2C3E50;
}
.button.primary:hover, .button.primary:focus {
  background: #F4D35E;
  color: #2C3E50;
  border-color: #F4D35E;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 7px 22px rgba(244,211,94,0.11);
}
.button.secondary {
  background: #F4D35E;
  color: #2C3E50;
  border: 2px solid #F4D35E;
}
.button.secondary:hover, .button.secondary:focus {
  background: #2C3E50;
  color: #fff;
  border-color: #2C3E50;
  transform: translateY(-2px) scale(1.03);
}
.button:active {
  transform: scale(0.98);
}

/* ---- HEADER ---- */
header {
  background: #fff;
  border-bottom: 1px solid #E8EEF3;
  padding: 0;
  box-shadow: 0 2px 8px 0 rgba(44,62,80,.03);
  position: sticky;
  top: 0;
  z-index: 98;
  width: 100%;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  padding-top: 13px;
  padding-bottom: 13px;
}
header img {
  height: 52px;
  width: auto;
  margin-right: 18px;
}
header nav {
  display: flex;
  gap: 18px;
  flex: 1 1 auto;
}
header nav a {
  font-family: 'Montserrat', serif;
  font-weight: 500;
  font-size: 1rem;
  color: #2C3E50;
  padding: 3px 8px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
header nav a:hover, header nav a.active {
  background: #F4D35E;
  color: #2C3E50;
}
header .button.primary {
  margin-left: auto;
  margin-right: 8px;
  min-width: 145px;
}
.mobile-menu-toggle {
  display: none;
  background: #F4D35E;
  color: #2C3E50;
  border: none;
  border-radius: 18px;
  font-size: 2rem;
  width: 45px;
  height: 45px;
  margin-left: 12px;
  cursor: pointer;
  transition: background 0.15s, color 0.13s, box-shadow 0.15s;
  box-shadow: 0 2px 6px rgba(44,62,80,0.08);
  z-index: 120;
}

/* ---- MOBILE MENU ---- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(44, 62, 80, 0.96);
  z-index: 110;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(.77, 0, .18, 1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  padding: 14px 26px 6px 8px;
  margin-right: 8px;
  cursor: pointer;
  opacity: .8;
  transition: color 0.17s, opacity 0.15s;
  z-index: 111;
}
.mobile-menu-close:hover {
  color: #F4D35E;
  opacity: 1;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  margin-top: 24px;
  gap: 18px;
  padding: 0 34px;
}
.mobile-nav a {
  font-family: 'Montserrat', serif;
  font-size: 1.18rem;
  color: #fff;
  display: block;
  width: 100%;
  padding: 13px 0 9px 0;
  border-radius: 3px;
  text-decoration: none;
  border-bottom: 1px solid rgba(244,211,94,0.07);
  transition: background 0.16s, color 0.15s;
}
.mobile-nav a:hover {
  background: #F4D35E;
  color: #2C3E50;
}

/* ---- FOOTER ---- */
footer {
  background: #2C3E50;
  color: #fff;
  padding-top: 42px;
  padding-bottom: 42px;
}
footer .container {
  padding: 0 20px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-branding img {
  height: 48px;
}
.footer-menu, .footer-contact, .footer-social, .footer-copy {
  margin-right: 20px;
  font-size: 1rem;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-menu a {
  color: #F6F6F6;
  text-decoration: none;
  transition: color 0.16s;
}
.footer-menu a:hover {
  color: #F4D35E;
}
.footer-contact a {
  color: #F4D35E;
  text-decoration: underline;
}
.footer-contact a:hover {
  color: #F6F6F6;
}
.footer-copy {
  margin-top: 22px;
  color: #F6F6F6;
  font-family: 'Open Sans', serif;
  font-size: 0.92rem;
  opacity: 0.82;
  line-height: 1.6;
}

/* ---- GENERAL SECTIONS ---- */
section {
  background: transparent;
  border-radius: 12px;
  margin-bottom: 60px;
  padding: 40px 0;
}
section .container {
  padding: 0 20px;
}
.text-section {
  background: #fff;
  border-radius: 8px;
  padding: 24px 24px 20px 24px;
  box-shadow: 0 2px 10px rgba(44,62,80,0.03);
}
.text-section ul {
  margin-top: 13px;
  margin-bottom: 14px;
}

ol {
  list-style: decimal inside;
  margin-left: 26px;
  margin-bottom: 1em;
}

/* ----------- COOKIE CONSENT BANNER ----------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fffbe4;
  color: #2C3E50;
  border-top: 1.5px solid #F4D35E;
  box-shadow: 0 -3px 16px 0 rgba(44,62,80,0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 18px 28px 18px 28px;
  z-index: 1203;
  font-family: 'Open Sans', serif;
  font-size: 1rem;
  animation: fadeInUp 0.4s cubic-bezier(.25,.63,.46,.92);
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity:1; transform: translateY(0); }
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 16px;
}
.cookie-banner .cookie-btn {
  background: #2C3E50;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-family: 'Montserrat', serif;
  border-radius: 22px;
  cursor: pointer;
  font-size: 1rem;
  margin-left: 0;
  margin-right: 0;
  transition: background 0.1s, color 0.1s;
}
.cookie-banner .cookie-btn:hover,
.cookie-banner .cookie-btn:focus {
  background: #F4D35E;
  color: #2C3E50;
}

/* ------ COOKIE MODAL ------ */
.cookie-modal-backdrop {
  position: fixed;
  top:0;
  left:0;
  width:100vw;
  height:100vh;
  background: rgba(44,62,80,0.46);
  z-index: 1207;
  display: none;
}
.cookie-modal-backdrop.open { display: block; }
.cookie-modal {
  position:fixed;
  left: 50%;
  bottom: 52px;
  transform: translate(-50%, 30px);
  min-width: 330px;
  max-width: 95vw;
  background: #fff;
  padding: 32px 25px 22px 25px;
  border-radius: 12px;
  box-shadow: 0 9px 44px rgba(44,62,80,0.10), 0 1.5px 7px rgba(44,62,80,0.06);
  z-index: 1212;
  display: none;
  animation: fadeInUp 0.34s cubic-bezier(.28,.43,.49,.95);
}
.cookie-modal.open { display: block; }
.cookie-modal h2 {
  font-size: 1.2rem;
  margin-bottom: 14px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 13px;
}
.cookie-modal label {
  font-size: 1.04rem;
}
.cookie-modal input[type=checkbox] {
  width: 20px;
  height: 20px;
  accent-color: #F4D35E;
  margin-right: 8px;
}
.cookie-modal .cookie-footer {
  margin-top: 22px;
}
.cookie-modal .cookie-btn {
  margin-top: 0;
  margin-right: 0;
  min-width: 130px;
}

/* ---- RESPONSIVE DESIGN ---- */
@media (max-width: 1200px) {
  .container {
    max-width: 96vw;
    padding: 0 12px;
  }
}
@media (max-width: 992px) {
  .footer-branding img {
    height: 39px;
  }
  .footer-menu, .footer-contact {
    font-size: 0.97rem;
  }
}
@media (max-width: 830px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  header .container {
    gap: 9px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.20rem; }
  .container {
    padding: 0 7px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .section {
    padding: 28px 7px;
    margin-bottom: 36px;
  }
  .features-grid {
    gap: 18px;
  }
  .feature-block {
    min-width: 170px;
    max-width: 99vw;
    padding: 18px 8px 16px 8px;
  }
  .card {
    padding: 18px 13px;
    border-radius: 8px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px 10px;
  }
  .text-image-section {flex-direction: column;gap: 16px;}
}
@media (max-width: 600px) {
  section { padding: 19px 0 19px 0; margin-bottom: 32px;}
  .features-grid {gap: 11px;}
  .feature-block {
    min-width: 98vw;
    max-width: 98vw;
    margin-left: -4vw;
    margin-right: -4vw;
  }
  .card {
    margin-left: -4vw;
    margin-right: -4vw;
    max-width: 99vw;
  }
  .footer-branding img {
    height: 31px;
  }
}

/* ---- MOBILE NAVIGATION ---- */
@media (max-width: 980px) {
  header nav {
    display: none;
  }
  header .button.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 550px) {
  .mobile-nav {
    padding: 0 10px;
    gap: 9px;
  }
  .mobile-menu-close {
    font-size: 2rem;
    padding: 10px 11px 5px 7px;
  }
}

/* ---- HELPER CLASSES ---- */
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.text-center { text-align: center; }

/* Utility for content grid columns responsiveness (for any .content-grid rows that should be full width on mobile) */
@media (max-width: 768px) {
  .content-grid { flex-direction: column; align-items: stretch; }
}

/* --------- END --------- */
