/* Reset and 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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #f9f5ee;
  color: #1D232A;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #1D232A;
  font-weight: 700;
  letter-spacing: .5px;
  margin-bottom: 20px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.3rem;
}
h4 {
  font-size: 1.1rem;
}
p, ul, ol, blockquote {
  color: #222;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 16px;
  font-size: 1rem;
}
.subheadline {
  font-size: 1.2rem;
  font-weight: 500;
  color: #6B3E26;
  margin-bottom: 24px;
}
blockquote {
  background: #fffbe6;
  border-left: 4px solid #F6C356;
  padding: 14px 20px;
  font-style: italic;
  color: #6B3E26;
  margin: 16px 0 24px 0;
  border-radius: 4px;
}
ul, ol {
  padding-left: 22px;
  margin-bottom: 18px;
}
li {
  margin-bottom: 10px;
}
a {
  color: #6B3E26;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #F6C356;
  outline: none;
}
strong {
  color: #1D232A;
  font-weight: 600;
}

/* Containers / Layouts (Flex only) */
.container {
  width: 100%;
  max-width: 950px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.text-section {
  max-width: 800px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(30,30,40,0.07);
}
@media (max-width: 768px) {
  .section {
    padding: 30px 8px;
    margin-bottom: 36px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  box-shadow: 0 4px 12px rgba(30,30,40,0.10);
  border-radius: 14px;
  padding: 22px 24px;
  flex: 1 1 300px;
  min-width: 250px;
  transition: box-shadow .2s, transform .2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 28px rgba(30,30,40,0.16);
  transform: translateY(-4px) 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;
}
@media (max-width: 768px) {
  .text-image-section, .content-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #f6f3ed;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(30,30,40,0.07);
  color: #1D232A;
  transition: box-shadow .2s, transform .2s;
  position: relative;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(107,62,38,0.10);
  transform: translateY(-2px) scale(1.01);
  z-index: 2;
}
.testimonial-info {
  font-size: 1rem;
  color: #6B3E26;
  margin-left: 10px;
  font-weight: 500;
  white-space: pre-line;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div {
  background: linear-gradient(135deg, #F6C356 0%, #fcf6e7 100%);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(251,209,112,0.10);
  min-width: 210px;
  flex: 1 1 205px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow .2s, transform .2s;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 28px rgba(246,195,86,0.11);
  transform: translateY(-3px) scale(1.03);
}
.feature-grid img {
  width: 36px; height: 36px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* CTA Buttons */
.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #6B3E26 10%, #F6C356 100%);
  color: #fff;
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 13px 36px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 3px 20px rgba(246,195,86,0.11);
  transition: background .25s, box-shadow .2s, transform .15s;
  margin-top: 14px;
  margin-bottom: 14px;
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(90deg, #F6C356 30%, #6B3E26 100%);
  color: #1D232A;
  box-shadow: 0 10px 32px rgba(246,195,86,0.17);
  transform: scale(1.04);
  outline: none;
}

/* Header + Navbar */
header {
  z-index: 105;
  width: 100%;
  background: linear-gradient(90deg, #F6C356 0%, #fff 90%);
  box-shadow: 0 2px 8px rgba(246,195,86,0.04);
}
header nav[aria-label='Main navigation'] {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
  padding: 14px 0 14px 0;
  min-height: 67px;
}
header nav[aria-label='Main navigation'] a {
  color: #1D232A;
  font-weight: 500;
  font-size: 1rem;
  padding: 7px 14px;
  border-radius: 14px;
  transition: background .17s, color .2s;
  position: relative;
}
header nav[aria-label='Main navigation'] a.cta-primary {
  margin-left: 12px;
}
header nav[aria-label='Main navigation'] a:hover,  header nav[aria-label='Main navigation'] a:focus {
  background: #F6C356;
  color: #fff;
}
header nav img {
  height: 48px;
  margin-right: 15px;
}

.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 22px;
  top: 18px;
  background: #F6C356;
  color: #1D232A;
  font-size: 2rem;
  border: none;
  border-radius: 8px;
  padding: 6px 18px;
  cursor: pointer;
  z-index: 111;
  transition: background .18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #6B3E26;
  color: #fff;
}

@media (max-width: 1023px) {
  header nav[aria-label='Main navigation'] {
    gap: 5px;
    flex-wrap: wrap;
  }
}

@media (max-width: 900px) {
  header nav[aria-label='Main navigation'] {
    gap: 0px;
  }
}

@media (max-width: 833px) {
  header nav[aria-label='Main navigation'] {
    font-size: 0.97rem;
    padding-bottom: 6px;
  }
}

/* --- MOBILE NAVIGATION --- */
@media (max-width: 780px) {
  header nav[aria-label='Main navigation'] {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: linear-gradient(90deg, #F6C356 0%, #fff 90%);
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.61,1.33,.56,1), box-shadow .22s;
  box-shadow: 0 4px 24px rgba(30,30,40,0.11);
  min-width: 230px;
  padding-top: 50px;
  padding-left: 30px;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 0 0 0 100vw rgba(30,23,20,0.28);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 25px;
  background: none;
  border: none;
  color: #6B3E26;
  font-size: 2.2rem;
  z-index: 1102;
  cursor: pointer;
  transition: color .17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #1D232A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 19px;
  margin-top: 18px;
  width: 100%;
}
.mobile-nav a {
  color: #1D232A;
  font-size: 1.2rem;
  padding: 10px 0 10px 6px;
  border-radius: 10px;
  font-weight: 500;
  transition: background .22s, color .15s;
  text-decoration: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F6C356;
  color: #fff;
}
@media (max-width: 780px) {
  .mobile-menu {
    padding-left: 22px;
    min-width: 180px;
  }
  .mobile-nav a {
    font-size: 1.05rem;
    padding: 10px 0 10px 3px;
  }
}
/* End Mobile Navigation */

/* Footer Styles */
footer {
  width: 100%;
  background: #1D232A;
  color: #f7eec6;
  padding: 36px 0 18px 0;
  margin-top: 40px;
}
footer nav[aria-label='Footer navigation'] {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding-bottom: 10px;
  justify-content: center;
}
footer .contact-details p{
  color: white;
}
footer nav[aria-label='Footer navigation'] a {
  color: #F6C356;
  font-size: 1rem;
  font-weight: 400;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background .19s, color .19s;
}
footer nav[aria-label='Footer navigation'] a:hover, footer nav[aria-label='Footer navigation'] a:focus {
  background: #F6C356; color: #1D232A;
}
.contact-details {
  font-size: .99rem;
  color: #fbe8c8;
  margin-top: 11px;
  text-align: center;
  line-height: 1.5;
}

/* Responsive Layouts */
@media (max-width: 650px) {
  .container {
    max-width: 100%;
    padding-left: 8px;
    padding-right: 8px;
  }
  .content-wrapper, .text-section {
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
  }
}
/* Utilities */
.mt-32 {
  margin-top: 32px;
}
.mt-20 {
  margin-top: 20px;
}
.mb-24 {
  margin-bottom: 24px;
}
.hide {
  display: none;
}
/* Icon Adjust */
ul li img, ol li img {
  vertical-align: middle;
  margin-right: 8px;
  width: 22px;
  height: 22px;
}

/* Cookie Consent Banner & Modal */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 10001;
  background: linear-gradient(90deg, #fffbe6 80%, #F6C356 100%);
  color: #1D232A;
  box-shadow: 0 -2px 16px rgba(246,195,86,0.07);
  padding: 18px 10px 20px 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 1rem;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  animation: slideUp .5s cubic-bezier(.61,1.33,.56,1);
}
@keyframes slideUp {
  0% { transform: translateY(100%); opacity:0; }
  100% { transform: translateY(0); opacity:1; }
}
.cookie-banner-text {
  flex: 2 1 270px;
  min-width: 150px;
}
.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 22px;
  border-radius: 22px;
  border: none;
  background: #F6C356;
  color: #1D232A;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(246,195,86,0.09);
  margin-bottom: 2px;
  cursor: pointer;
  transition: background .19s, color .19s, box-shadow .18s;
}
.cookie-btn.settings {
  background: #6B3E26;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #dfb044; color: #1D232A;
}
.cookie-btn.reject {
  background: #fff;
  color: #6B3E26;
  border: 2px solid #F6C356;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #6B3E26;
  color: #fff;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #F6C356;
  color: #1D232A;
}

@media (max-width: 690px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 6px 15px 6px;
    font-size: 0.95rem;
  }
  .cookie-btn { width: 100%; min-width: 100px; }
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed; z-index: 10011; background: rgba(30,23,20,0.48);
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .26s;
  animation: fadeIn .25s;
}
@keyframes fadeIn { from{opacity:0;} to{opacity:1;} }
.cookie-modal {
  background: #fffbe6;
  color: #1D232A;
  border-radius: 16px;
  padding: 38px 30px 28px 30px;
  min-width: 320px;
  max-width: 95vw;
  box-shadow: 0 8px 48px rgba(246,195,86,0.24);
  display: flex;
  flex-direction: column;
  gap: 21px;
  align-items: flex-start;
  position: relative;
  animation: scaleFadeIn .34s cubic-bezier(.61,1.33,.56,1);
}
@keyframes scaleFadeIn {
  from { opacity:0; transform:scale(.95); }
  to   { opacity:1; transform:scale(1); }
}
.cookie-modal h2 {
  font-size: 1.4rem;
  margin-bottom: 9px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  font-size: 1rem;
}
.cookie-category {
  padding: 13px 0 10px 0;
  border-bottom: 1px solid #ebddba;
  font-size: 1.01rem;
  width: 100%;
}
.cookie-modal-close {
  position: absolute;
  right: 16px; top: 15px;
  background: none;
  border: none;
  color: #6B3E26;
  font-size: 1.45rem;
  cursor: pointer;
  padding: 4px 7px;
  border-radius: 50%;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #1D232A;
  background: #fff8ef;
}
.toggle-switch {
  width: 36px; height: 20px;
  background: #F6C356;
  border-radius: 10px;
  margin-left: 8px;
  display: inline-flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  transition: background .17s;
}
.toggle-switch input {
  appearance: none;
  width: 100%; height: 100%;
  margin: 0; padding: 0;
  position: absolute;
  top: 0; left: 0; opacity: 0;
  cursor: pointer;
}
.toggle-slider {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  left: 2px; top: 1px;
  transition: left .20s;
  border: 1.3px solid #e8c679;
}
.toggle-switch input:checked + .toggle-slider {
  left: 16px;
  background: #6B3E26;
}
.toggle-switch.disabled {
  opacity: .55;
  cursor: not-allowed;
}
.toggle-switch.disabled .toggle-slider {
  background: #eee;
  border-color: #ddd7b1;
}

/* Miscellaneous */
::-webkit-selection, ::selection {
  background: #F6C356;
  color: #fff;
}

/* Prevent image stretch */
img {
  max-width: 100%;
  height: auto;
  border: none;
}

/* Spacing for sections and breathing room */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
@media (max-width: 650px) {
  section { padding: 24px 0; margin-bottom: 34px; }
}

/* Accessibility focus style */
:focus-visible {
  outline: 2px solid #6B3E26;
  outline-offset: 2px;
}

/* High Contrast for Testimonials */
.testimonial-card p, .testimonial-card .testimonial-info {
  color: #1D232A !important;
}

@media (max-width: 780px) {
  h1 {font-size: 2rem;}
  h2 {font-size: 1.25rem;}
}
@media (max-width: 480px) {
  h1 {font-size: 1.4rem;}
  .feature-grid > div {padding:16px; min-width:160px;}
  .card {padding:12px 10px;}
}

/* Scrollbar Styling */
body::-webkit-scrollbar {
  width: 10px;
}
body::-webkit-scrollbar-thumb {
  background: #F6C356;
  border-radius: 6px;
}
body::-webkit-scrollbar-track {
  background: #fdf6e9;
}

/* End of CSS */
