/* ==== 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.5;
  background: #181F25;
  color: #F4F1EC;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  min-height: 100vh;
}
a {
  color: #59ffd6;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #8E735B;
}
ul, ol {
  margin-left: 1.4em;
  margin-bottom: 16px;
}
img {
  max-width: 100%;
  height: auto;
}
strong, b {
  font-weight: 700;
}
::-webkit-scrollbar {
  width: 8px;
  background: #252c33;
}
::-webkit-scrollbar-thumb {
  background: #3A2D19;
  border-radius: 8px;
}

/* ==== BRAND TYPOGRAPHY & SCALE ==== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}
h3 {
  font-size: 1.45rem;
}
h4 {
  font-size: 1.25rem;
}
p, li, address, .testimonial-meta, .footer-contact {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #d6e4ea;
}
p {
  margin-bottom: 14px;
  line-height: 1.6;
}
ul li, ol li {
  margin-bottom: 8px;
}

@media (max-width: 550px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.08rem; }
}

/* ==== LAYOUT: CONTAINER & SPACING ==== */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ==== HEADER ==== */
header {
  background-color: #252c33;
  border-bottom: 2px solid #3A2D19;
  box-shadow: 0 4px 18px 0 #181F25cc;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 20px;
}
.logo img {
  height: 48px;
  filter: drop-shadow(0px 0px 8px #59ffd650);
  transition: filter 0.2s;
}
.logo:hover img {
  filter: drop-shadow(0px 0px 12px #59ffd6cc);
}
nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #F4F1EC;
  padding: 6px 0;
  position: relative;
}
nav a:after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: #59ffd6;
  transition: width 0.25s;
  margin-top: 2px;
}
nav a:hover:after {
  width: 100%;
}
.cta-button {
  font-family: 'Montserrat', Arial, sans-serif;
  background: linear-gradient(90deg, #59FFD6 20%, #8E735B 95%);
  color: #181F25;
  border: none;
  border-radius: 100px;
  padding: 12px 36px;
  font-weight: 700;
  font-size: 1.07rem;
  box-shadow: 0 4px 22px 0 #51ffd737;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.25s;
  margin-left: 20px;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 7px #00000020;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(90deg, #8E735B 30%, #59FFD6 100%);
  color: #1c1d23;
  box-shadow: 0 6px 24px 1px #59ffd699;
}

/* Hide mobile burger on desktop */
.mobile-menu-toggle {
  display: none;
}
@media (max-width: 1100px) {
  .cta-button {
    padding: 10px 14px;
    font-size: 0.99rem;
    margin-left: 8px;
  }
  nav {
    gap: 16px;
  }
}
@media (max-width: 850px) {
  nav, .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    color: #59ffd6;
    font-size: 2.2rem;
    cursor: pointer;
    padding: 4px 12px;
    transition: color 0.18s;
    z-index: 201;
    line-height: 1;
  }
  .mobile-menu-toggle:hover {
    color: #8E735B;
  }
  header .container {
    gap: 8px;
  }
}

/* ==== MOBILE MENU ==== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #181F25e6;
  backdrop-filter: blur(8px);
  z-index: 260;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0;
  transform: translateX(-100vw);
  transition: transform 0.5s cubic-bezier(0.6, 0, 0.4, 1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #59FFD6;
  font-size: 2.4rem;
  position: absolute;
  right: 24px;
  top: 16px;
  z-index: 230;
  cursor: pointer;
  transition: color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #8E735B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  margin-top: 72px;
  padding: 20px 40px 0px 40px;
  gap: 14px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  color: #F4F1EC;
  background: none;
  padding: 14px 0 6px 0;
  border-bottom: 2px solid transparent;
  width: 100%;
  transition: border 0.18s, color 0.12s;
  border-radius: 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #59FFD6;
  border-bottom: 2px solid #59FFD6;
}
@media (min-width: 851px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ==== HERO SECTION ==== */
.hero {
  background: linear-gradient(110deg, #252C33 0%, #181F25 82%);
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 48px 0 32px 0;
  border-bottom: 2px solid #3A2D19;
}
.hero .container {
  align-items: stretch;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 24px;
}
.hero h1 {
  color: #fff;
  text-shadow: 0 4px 24px #3A2D1992;
}
.hero p {
  color: #F4F1EC;
  max-width: 560px;
  font-size: 1.18rem;
}
.hero .cta-button {
  margin-left: 0;
  margin-top: 16px;
}

/* ==== GENERIC SECTIONS ==== */
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}
.cta-section, .thank-you {
  background: #252c33;
  border-radius: 18px;
  box-shadow: 0 6px 26px 0 #181f25b0;
  margin-bottom: 60px;
  padding: 40px 0;
}
.cta-section h2, .thank-you h1, .thank-you h2 {
  color: #59ffd6;
}
.cta-section p, .thank-you p {
  color: #d6e4ea;
}

/* ==== CARD & FEATURE FLEX CONTAINERS ==== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #232933;
  border-radius: 14px;
  box-shadow: 0 2px 18px 3px #3A2D1925;
  padding: 24px;
  transition: box-shadow 0.18s, transform 0.15s;
  border: 1.5px solid #8E735B23;
  display: flex;
  flex-direction: column;
  min-width: 220px;
  max-width: 380px;
}
.card:hover {
  box-shadow: 0 6px 32px 8px #59ffd670;
  transform: translateY(-6px) scale(1.025);
  border-color: #3A2D19;
}

.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: 20px;
  padding: 20px;
  background: #f4f1ec;
  box-shadow: 0 3px 24px 0 #181F255A;
  border-radius: 12px;
  margin-bottom: 22px;
  min-width: 220px;
  max-width: 650px;
  border-left: 4px solid #59FFD6;
  position: relative;
  color: #232933;
}
.testimonial-card p {
  color: #232933;
  font-size: 1.055rem;
  font-weight: 400;
}
.testimonial-meta {
  color: #8E735B;
  font-size: 0.98rem;
}
.stars {
  color: #59FFD6;
  font-size: 1.25rem;
  font-weight: bold;
  letter-spacing: 0.08em;
}
@media (max-width: 600px) {
  .testimonial-card {
    padding: 14px;
    max-width: 100%;
  }
}

/* ==== BLOG OVERVIEW & TOPIC TAGS ==== */
.blog-overview {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 18px;
}
@media (max-width: 700px) {
  .blog-overview {
    flex-direction: column;
    gap: 20px;
  }
}
.topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-bottom: 24px;
  list-style: none;
}
.topic-tags li {
  background: #3A2D19;
  color: #fff;
  padding: 6px 18px;
  border-radius: 24px;
  font-size: 0.93rem;
  font-family: 'Montserrat', Arial, sans-serif;
  box-shadow: 0 1px 6px 0 #181F2520;
}

/* ==== FEATURE GRID VARIANT ==== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  margin-top: 10px;
}
.feature-grid > div {
  background: #232933;
  border-radius: 12px;
  box-shadow: 0 2px 13px 0 #23293365;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 340px;
  padding: 20px 18px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  border: 1.5px solid #8E735B24;
  transition: box-shadow 0.17s, transform 0.13s;
  margin-bottom: 20px;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 28px 0 #59FFD670;
  transform: translateY(-6px) scale(1.027);
}
.feature-grid img {
  height: 48px;
  width: 48px;
  margin-bottom: 4px;
  filter: drop-shadow(0px 2px 8px #8E735Baa);
}
.feature-grid h3 {
  font-size: 1.13rem;
  color: #59FFD6;
  letter-spacing: 0.025em;
}
.feature-grid p {
  font-size: 0.99rem;
}

/* ==== CARD, CARDS ==== */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

/* ==== CONTACT PAGE ==== */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #232933;
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 22px;
  box-shadow: 0 2px 12px #181f2522;
}
.contact-details img {
  width: 22px;
  margin-bottom: -2px;
  margin-right: 6px;
  filter: drop-shadow(0px 2px 4px #59FFD679);
}
.info-box {
  padding: 18px 20px;
  border-left: 4px solid #59FFD6;
  background: #252C33;
  border-radius: 10px;
  margin: 18px 0 20px 0;
  color: #8E735B;
  box-shadow: 0 1px 4px #181f2520;
}
.map-placeholder {
  display: flex;
  align-items: center;
  background: #181F25;
  border-radius: 12px;
  padding: 18px;
  color: #F4F1EC99;
  font-size: 0.94rem;
  margin: 8px 0 12px 0;
  box-shadow: 0 0px 10px #252C3311;
}
.map-placeholder img {
  width: 28px;
  margin-right: 10px;
  opacity: 0.8;
}

/* ==== FOOTER ==== */
footer {
  background: #181F25;
  border-top: 2px solid #3A2D19;
  padding: 28px 0 0 0;
  box-shadow: 0 -4px 24px 0 #181F25bb;
}
footer .container {
  flex-direction: column;
  gap: 32px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 32px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 14px;
}
.footer-nav a {
  color: #8E735B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
  transition: color 0.16s;
}
.footer-nav a:hover {
  color: #59FFD6;
}
.footer-contact {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 26px 42px;
  align-items: center;
  color: #d6e4ea;
  font-size: 0.98rem;
  margin-bottom: 22px;
}
.footer-contact div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-contact img {
  width: 22px;
  margin-right: 6px;
  filter: drop-shadow(0px 2px 6px #8E735B55);
}

@media (max-width: 700px) {
  .footer-nav {
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.93rem;
  }
  .footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    margin-bottom: 18px;
  }
}

/* ==== THANK YOU PAGES ==== */
.thank-you {
  background: linear-gradient(112deg, #252C33 34%, #181F25 100%);
  border-radius: 16px;
  box-shadow: 0 5px 24px #181F2580;
  margin-bottom: 60px;
  padding: 48px 0 40px 0;
  text-align: center;
}

/* ==== RESPONSIVE FLEXBOX RULES ==== */
@media (max-width: 1100px) {
  .container { padding: 0 8px; }
}
@media (max-width: 900px) {
  .content-wrapper, .container { max-width: 94vw; }
  .feature-grid > div {
    max-width: 43vw;
    min-width: 180px;
  }
}
@media (max-width: 800px) {
  .feature-grid, .content-grid, .footer-contact {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid > div { max-width: 100%; }
  .blog-overview { flex-direction: column; }
}
@media (max-width: 650px) {
  .container, .content-wrapper { padding: 0 7px; }
  .section, section {
    padding: 28px 0 0 0;
    margin-bottom: 36px;
  }
  .thank-you, .cta-section { padding: 28px 0 24px 0; }
}
@media (max-width: 550px) {
  .feature-grid > div { flex: 1 1 100%; max-width: 100%; }
}
@media (max-width: 420px) {
  .feature-grid > div, .card {
    padding: 10px 8px;
  }
  .testimonial-card { padding: 10px; }
}
@media (max-width: 500px) {
  .content-wrapper { padding: 0 3px; }
}

/* ==== INTERACTIVITY ==== */
button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}
button:focus {
  outline: 2px solid #59ffd6;
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #252C33ee;
  color: #fff;
  box-shadow: 0 -4px 24px #181F25c0;
  border-top: 2px solid #59FFD6;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 40px 20px 40px;
  z-index: 9999;
  animation: slideUpCookie 0.6s cubic-bezier(0.6, 0, 0.4, 1);
}
@keyframes slideUpCookie {
  0% { transform: translateY(120px); opacity: 0; }
  100% { transform: translateY(0px); opacity: 1; }
}
.cookie-banner p {
  color: #fff;
  max-width: 540px;
  font-size: 0.98rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 40px;
  border: none;
  transition: background 0.16s, color 0.16s, box-shadow 0.14s;
  background: #59FFD6;
  color: #181F25;
  margin-right: 0;
  box-shadow: 0 2px 8px #59ffd670;
  font-size: 0.96rem;
  cursor: pointer;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #8E735B;
  color: #fff;
}
.cookie-btn.reject {
  background: #232933;
  color: #fff;
  border: 2px solid #59FFD6;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #3A2D19;
}
.cookie-btn.settings {
  background: #3A2D19;
  color: #fff;
  border: 2px solid #59FFD6;
  margin-left: 0;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #59FFD6;
  color: #181f25;
}
@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 10px 14px 10px;
    gap: 16px;
  }
  .cookie-banner .cookie-actions { flex-direction: column; gap: 10px; }
}

/* ==== COOKIE MODAL ==== */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24,31,37, 0.8);
  z-index: 11000;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Animation on open */
  animation: cookieModalFadeIn 0.35s cubic-bezier(0.6,0,0.4,1);
}
@keyframes cookieModalFadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #232933;
  border-radius: 13px;
  box-shadow: 0 10px 32px 2px #181F25cc;
  color: #fff;
  min-width: 300px;
  max-width: 95vw;
  padding: 34px 38px 28px 38px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  position: relative;
}
.cookie-modal h2 {
  color: #59FFD6;
  font-size: 1.45rem;
  margin-bottom: 6px;
}
.cookie-modal label {
  font-family: 'Lato',Arial,sans-serif;
  font-size: 1.04rem;
  margin-right: 20px;
  cursor: pointer;
  color: #d6e4ea;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.cookie-modal input[type=checkbox]:accent {
  accent-color: #59FFD6;
}
.cookie-modal .cookie-btn {
  margin-top: 10px;
}
.cookie-modal .cookie-modal-close {
  position: absolute; right: 14px; top: 14px;
  background: none;
  color: #59FFD6;
  font-size: 1.7rem;
  border: none;
  cursor: pointer;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  color: #8E735B;
}
@media (max-width: 500px) {
  .cookie-modal {
    padding: 16px 10px 18px 10px;
    min-width: 90vw;
    max-width: 98vw;
    font-size: 1.0rem;
  }
}

/* ==== MICRO-INTERACTIONS ==== */
.cta-button, .card, .feature-grid > div, .testimonial-card {
  transition: box-shadow 0.17s, transform 0.13s, border-color 0.12s;
}
/* Subtle hover scale up for focusable cards */
.card:active, .feature-grid > div:active, .testimonial-card:active {
  transform: scale(0.987);
}

/* ==== COLOR UTILITIES ==== */
.bg-primary   { background: #3A2D19 !important; }
.bg-secondary { background: #8E735B !important; color: #fff !important; }
.bg-accent    { background: #F4F1EC !important; color: #232933 !important; }
.text-primary   { color: #3A2D19 !important; }
.text-secondary { color: #8E735B !important; }
.text-accent    { color: #F4F1EC !important; }
.text-dark      { color: #232933 !important; }

/* ==== ACCESSIBILITY: FOCUS STYLES ==== */
a:focus, button:focus {
  outline: 2px solid #59ffd6;
  outline-offset: 2px;
}

/* ==== CUSTOM SCROLLBAR ==== */
html {
  scrollbar-color: #3A2D19 #252c33;
  scrollbar-width: thin;
}

/* ==== OVERRIDES & UTILS ==== */
.hide { display: none !important; }

/* ==== VISUAL DECORATIVE EFFECTS (NEON ACCENTS) ==== */
.neon {
  text-shadow:
    0 0 6px #59ffd6d2,
    0 0 16px #59ffd699,
    0 0 20px #59ffd63b;
  color: #59FFD6;
}
[class^="ics-"] { /* Icon classes if used */ filter: drop-shadow(0px 2px 6px #59FFD640); }

/* ==== FLEXBOX ALIGNMENT: MANDATORY CSS PATTERNS ==== */
.section { margin-bottom: 60px; padding: 40px 20px; }
.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; }

/* ==== END OF CSS ==== */
