/* ======================================
   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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: #fff;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #2B3A55;
  background: #fff;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s;
  cursor: pointer;
}
button, input, select, textarea {
  font: inherit;
  border: none;
  outline: none;
  background: transparent;
}

/* ======================================
   COLOR VARIABLES (WITH FALLBACKS)
====================================== */
:root {
  --color-primary: #2B3A55;
  --color-secondary: #B4B8AB;
  --color-accent: #F2F3F5;
  --color-warm1: #F8E6D3;
  --color-warm2: #FFD8B2;
  --color-warm3: #FFEAE0;
  --color-warm-accent: #FFD198;
  --color-link-hover: #476798;
  --shadow-card: 0 4px 16px rgba(171, 120, 78, 0.10);
  --shadow-card-hover: 0 8px 24px rgba(171, 120, 78, 0.14);
  --border-card: #f6e8df;
  --radius: 20px;
  --radius-btn: 32px;
}

/* ======================================
   TYPOGRAPHY
====================================== */
h1, .display {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 1.18;
  color: var(--color-primary);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
@media (min-width: 600px) {
  h1, .display { font-size: 3rem; }
}
@media (min-width: 900px) {
  h1, .display { font-size: 3.5rem; }
}
h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 2rem;
  margin-bottom: 18px;
  color: var(--color-primary);
}
h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--color-primary);
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: var(--color-primary);
}
p, li, span, b, strong {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #2B3A55;
}
strong {
  font-weight: 700;
  color: #9d6701;
}
small {
  font-size: 0.85rem;
  color: #6e6e6e;
}

/* Links in body text */
p a, .text-section a {
  color: #b27a11;
  border-bottom: 1.5px dotted #e7be7a;
  transition: color 0.18s;
}
p a:hover, .text-section a:hover {
  color: var(--color-link-hover);
  border-bottom: 1.5px solid #b27a11;
}

/* ======================================
   CONTAINER, LAYOUT, AND SPACING
====================================== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 900px) {
  .section {
    padding: 32px 10px;
    margin-bottom: 40px;
  }
}

/* Card container rules */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-warm1);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.15s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px) scale(1.02);
}

.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) {
  .content-grid,
  .card-container,
  .feature-grid,
  .case-study-list,
  .testimonial-list {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 14px;
  }
}

/* Cards and flex content */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-warm3);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 28px 22px;
  min-width: 210px;
  max-width: 320px;
  flex: 1 1 280px;
  transition: box-shadow 0.18s, transform 0.12s;
}
.feature-item img {
  width: 44px;
  height: 44px;
}
.feature-item:hover {
  box-shadow: var(--shadow-card-hover);
  background: #FFE8D2;
  transform: translateY(-2px) scale(1.015);
}

/* List styling for core sections */
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
  color: #3a2d1a;
}
.values-list, .methods-list, .benefit-list, .services-overview, .strategy-list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.values-list img, .benefit-list img, .services-overview img {
  width: 28px;
  height: 28px;
  margin-right: 12px;
  vertical-align: middle;
}
.values-list li, .benefit-list li, .services-overview li, .strategy-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--color-accent);
  border-radius: var(--radius);
  padding: 18px 16px;
  margin-bottom: 8px;
  font-size: 1rem;
  color: #443507;
}
.case-study-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.case-study {
  background: var(--color-warm3);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius);
  padding: 24px 20px;
  flex: 1 1 300px;
  min-width: 220px;
  margin-bottom: 20px;
}
.outcome-highlight {
  background: var(--color-accent);
  color: #884d00;
  border-radius: var(--radius-btn);
  font-weight: 600;
  padding: 7px 16px;
  margin-top: 12px;
  display: inline-block;
}

/* ======================================
   HERO SECTION
   (Index only)
====================================== */
.hero {
  background: linear-gradient(125deg, #FFD8B2 0%, #FFEAE0 100%);
  border-radius: 0 0 64px 64px;
  box-shadow: 0 10px 32px rgba(243, 199, 121, 0.125);
  padding: 64px 0 48px 0;
  margin-bottom: 48px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero h1 {
  font-size: 2.2rem;
  color: #3A240C;
}
.hero p {
  font-size: 1.18rem;
  margin-bottom: 28px;
  color: #6A4813;
}
@media (min-width: 600px) {
  .hero h1 { font-size: 3rem; }
  .hero { padding: 88px 0 64px 0; }
}

/* ======================================
   BUTTONS & CTA
====================================== */
.cta,
button.cta,
input[type="submit"].cta {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  display: inline-block;
  padding: 14px 34px;
  border-radius: var(--radius-btn);
  background: var(--color-primary);
  color: #fff;
  font-size: 1.14rem;
  letter-spacing: 0.09em;
  transition: background 0.19s, color 0.11s, transform 0.12s;
  box-shadow: 0 2px 8px rgba(171, 120, 78, 0.09);
  border: none;
  cursor: pointer;
  margin-right: 16px;
  margin-bottom: 8px;
  text-align: center;
}
.cta.primary {
  background: linear-gradient(95deg, #F1B57A 0%, #FDB772 100%);
  color: #2B3A55;
}
.cta.secondary {
  background: #FFE0BC;
  color: #6A4813;
  border: 2px solid #F6B764;
}
.cta:hover, .cta:focus {
  background: #ffd198;
  color: #392511;
  transform: scale(1.045);
  text-decoration: none;
}
.cta.secondary:hover {
  background: #FEBB6C;
  color: #fff;
  border-color: #F2B666;
}

/* ======================================
   HEADER & MAIN NAVIGATION
====================================== */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 1px 16px rgba(235, 173, 97, 0.05);
  position: relative;
  z-index: 40;
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 30px;
}
.logo img {
  height: 44px;
}
.main-nav {
  display: flex;
  gap: 16px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--color-primary);
  padding: 8px 16px;
  border-radius: 8px;
  transition: background 0.15s, color 0.13s;
}
.main-nav a:hover,
.main-nav a.active {
  background: var(--color-warm2);
  color: #a15a15;
}

@media (max-width: 992px) {
  header .container {
    gap: 10px;
  }
  .main-nav {
    gap: 6px;
  }
}
/* Hide main nav on mobile */
@media (max-width: 768px) {
  .main-nav { display: none; }
}

/* Burger Button */
.mobile-menu-toggle {
  display: none;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  border: none;
  font-size: 2.1rem;
  line-height: 1;
  padding: 6px 18px 8px 18px;
  margin-left: auto;
  transition: background 0.2s;
  cursor: pointer;
  z-index: 110;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #ffd198;
  color: #2B3A55;
}
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: inline-block;
  }
  header .cta {
    display: none;
  }
}

/* ======================================
   MOBILE MENU (SLIDING OVERLAY)
====================================== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(245, 234, 222, 0.97);
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(0.21,0.99,0.37,1), opacity 0.26s;
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0 24px;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--color-primary);
  color: #fff;
  font-size: 2.1rem;
  border: none;
  border-radius: 50%;
  margin: 20px 0 14px 0;
  padding: 8px 14px;
  transition: background 0.13s;
  box-shadow: 0 2px 8px rgba(171, 120, 78, 0.10);
  cursor: pointer;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #ffd198;
  color: #2B3A55;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
  align-items: flex-start;
  margin-top: 12px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.21rem;
  color: #493511;
  padding: 12px 0;
  border-radius: 8px;
  width: 100%;
  transition: background 0.15s, color 0.14s;
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #ffd198;
  color: #964506;
}

/* ======================================
   FOOTER
====================================== */
footer {
  background: #FBF2EB;
  border-top: 4px solid #FFD8B2;
  box-shadow: 0 -2px 18px rgba(191,138,61,0.06);
  margin-top: 80px;
  padding: 56px 0 32px 0;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  justify-content: space-between;
  width: 100%;
}
.logo-footer img {
  height: 52px;
  margin-bottom: 12px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-nav a {
  color: #876336;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  transition: color 0.14s;
}
.footer-nav a:hover {
  color: #c5913b;
}
.footer-info p {
  font-size: 0.98rem;
  color: #64513c;
  margin-top: 16px;
  word-break: break-word;
}
@media (max-width: 900px) {
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}

/* ======================================
   TESTIMONIALS & CARDS
====================================== */
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  box-shadow: var(--shadow-card);
  border-radius: var(--radius);
  padding: 28px 22px 22px 22px;
  min-width: 240px;
  max-width: 370px;
  flex: 1 1 320px;
  border: 1.5px solid #f4e8dc;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.12s;
}
.testimonial-card p {
  font-size: 1.08rem;
  line-height: 1.6;
  color: #3b2c20;
  margin-bottom: 10px;
}
.client-name {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #AA7A38;
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 8px;
  opacity: 0.85;
}

/* Case studies */
.case-study-list {
  margin-top: 8px;
}
.case-study {
  margin-bottom: 20px;
}

/* ======================================
   DETAIL AND UTILITY SECTIONS
====================================== */
.text-section {
  border-radius: var(--radius);
  background: #FBF2EB;
  padding: 26px 18px;
  color: #423225;
  margin-bottom: 12px;
  box-shadow: 0 1px 8px rgba(230,191,152,0.07);
}
.location-details, .contact-details {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 8px;
  font-size: 0.98rem;
}
.location-details img, .contact-details img {
  width: 22px;
  height: 22px;
  margin-right: 8px;
}
@media (max-width: 600px) {
  .text-section {
    padding: 16px 6px;
    font-size: 0.98rem;
  }
}

/* ======================================
   PROCESS STEPS & TIMELINE VISUALS
====================================== */
.process-visual, .timeline-visualization {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 0 0;
}
.process-visual img, .timeline-visualization img {
  height: 32px;
  width: 32px;
}

.process-steps, .next-steps-info ul {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}
.process-steps li, .next-steps-info li {
  background: var(--color-accent);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: #604501;
  font-size: 1.01rem;
}

.step-guide {
  margin-top: 22px;
}
.step-guide ol {
  display: flex;
  flex-direction: column;
  gap: 14px;
  counter-reset: counter;
  margin-left: 0;
}
.step-guide ol li {
  position: relative;
  padding-left: 38px;
  color: #5a3800;
  font-weight: 500;
}
.step-guide ol li:before {
  content: counter(counter);
  counter-increment: counter;
  background: #ffd198;
  color: var(--color-primary);
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* ======================================
   MODALS & OVERLAYS
====================================== */
.modal {
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  background: rgba(51,37,16,0.32);
  transition: opacity 0.19s, visibility 0.18s;
}
.modal.active {
  visibility: visible;
  opacity: 1;
}
.modal-content {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 22px;
  width: 90%;
  max-width: 480px;
  box-shadow: 0 12px 48px rgba(178,119,51,0.17);
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  animation: fadeUpModal 0.22s cubic-bezier(.16,.99,.36,1);
}
@keyframes fadeUpModal {
  from { opacity: 0; transform: translateY(28px) scale(0.95); }
  to   { opacity: 1; transform: none; }
}
/* Modal close button */
.modal-close {
  align-self: flex-end;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  border: none;
  font-size: 1.5rem;
  padding: 5px 11px;
  cursor: pointer;
  transition: background 0.13s;
}
.modal-close:hover, .modal-close:focus {
  background: #ffd198;
  color: #2B3A55;
}

/* ======================================
   COOKIE CONSENT BANNER
====================================== */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff3e6;
  box-shadow: 0 -2px 20px rgba(219, 174, 63, 0.10);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 3000;
  animation: slideInCookie 0.3s cubic-bezier(.22,.9,.45,1.09);
}
@keyframes slideInCookie {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.cookie-consent-banner p {
  color: #3d2b0b;
  font-size: 1rem;
}
.cookie-consent-actions {
  display: flex;
  gap: 16px;
  margin-top: 5px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: var(--radius-btn);
  cursor: pointer;
  border: none;
  transition: background 0.15s, color 0.13s, transform 0.13s;
}
.cookie-btn.accept {
  background: #FFD8B2;
  color: #442D10;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #FEBB6C;
  color: #fff;
}
.cookie-btn.reject {
  background: #f6e3cc;
  color: #B53D2B;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #efb29b;
  color: #fff;
}
.cookie-btn.settings {
  background: #FFF;
  color: #65523D;
  border: 2px solid #FFD8B2;
}
.cookie-btn.settings:hover {
  background: #FFEAE0;
  color: #B87E1E;
}

/* Cookie modal categories */
.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.01rem;
  color: #564510;
}
.cookie-switch {
  width: 40px;
  height: 22px;
  position: relative;
  display: inline-block;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #ffd8b2;
  border-radius: 14px;
  transition: background 0.15s;
}
.cookie-switch input:checked + .cookie-slider {
  background: #FDB772;
}
.cookie-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 2px;
  bottom: 2px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(180, 120, 63, 0.12);
  transition: transform 0.18s;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(18px);
}
.cookie-switch[disabled] .cookie-slider {
  opacity: 0.5;
}

.cookie-modal-explanation {
  font-size: 0.96rem;
  color: #957b47;
  margin-top: 4px;
}

/* ======================================
   RESPONSIVE HELPERS & MOBILE
====================================== */
@media (max-width: 600px) {
  h1 {
    font-size: 1.45rem;
    margin-bottom: 8px;
  }
  h2 {
    font-size: 1.25rem;
    margin-bottom: 5px;
  }
  h3 {
    font-size: 1.11rem;
    margin-bottom: 3px;
  }
}
@media (max-width: 480px) {
  .card, .testimonial-card, .case-study {
    padding: 15px 6px;
  }
}
@media (max-width: 420px) {
  .footer-info p {
    font-size: 0.89rem;
  }
  .footer-content {
    gap: 12px;
  }
}

/* ======================================
   ANIMATIONS, TRANSITIONS & MICROINTERACTIONS
====================================== */
a, button, .cta, .card, .testimonial-card, .feature-item, .mobile-nav a, .main-nav a, .cookie-btn {
  transition: color 0.17s, background 0.19s, box-shadow 0.15s, transform 0.13s;
}
.card:active, .feature-item:active, .testimonial-card:active, .cta:active {
  transform: scale(0.98);
}

/* ======================================
   UTILS FOR CONSISTENT SPACING
====================================== */
.mb-20 { margin-bottom: 20px !important; }
.mb-40 { margin-bottom: 40px !important; }
.mb-60 { margin-bottom: 60px !important; }
.mt-20 { margin-top: 20px !important; }
.mt-40 { margin-top: 40px !important; }
.mt-60 { margin-top: 60px !important; }
.gap-20 { gap: 20px !important; }
.gap-24 { gap: 24px !important; }

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