/* ========== 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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after { box-sizing: inherit; }

body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  color: #312017;
  background: #F3F1ED;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #783A17;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #4C6E52;
}

/* ========== BRAND COLOR VARIABLES ========== */
:root {
  --primary: #783A17;
  --secondary: #F3F1ED;
  --accent: #4C6E52;
  --primary-dark: #51260f;
  --primary-light: #b96e2d;
  --neutral-bg: #FFFFFF;
  --neutral-light: #FAF7F3;
  --shadow: 0 2px 16px 0 rgba(120,58,23,0.09);
  --radius: 22px;
  --font-display: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

/* ========== CONTAINER & LAYOUT ========== */
.container {
  width: 100%;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.content-wrapper {
  padding: 0;
  width: 100%;
}

.section {
  background: transparent;
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--radius);
}

@media (max-width: 768px) {
  .section {
    margin-bottom: 40px;
    padding: 28px 8px;
  }
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5em;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
h1 { font-size: 2.6rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.3rem; margin-bottom: 14px; }
h4 { font-size: 1.1rem; font-weight: 600; }
p, li, ul, ol, strong { font-family: var(--font-body); }
.subtitle {
  font-size: 1.25rem;
  color: #51342d;
  font-weight: 400;
  margin-bottom: 34px;
  line-height: 1.4;
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .subtitle { font-size: 1.1rem; margin-bottom: 20px; }
}

ul, ol {
  margin-bottom: 16px;
  padding-left: 24px;
  font-size: 1rem;
}
li {
  margin-bottom: 0.75em;
}
blockquote {
  background: var(--neutral-light);
  border-left: 7px solid var(--accent);
  padding: 18px 22px;
  margin-top: 24px;
  margin-bottom: 16px;
  border-radius: var(--radius);
  font-style: italic;
  color: var(--primary-dark);
}
blockquote footer {
  margin-top: 10px;
  color: var(--accent);
  font-size: 0.97rem;
}

/* ========== HEADER & NAVIGATION ========== */
header {
  background: var(--neutral-bg);
  box-shadow: var(--shadow);
  position: sticky; top: 0; z-index: 50;
  border-bottom: 2.5px solid #e1dad2;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 82px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  padding: 5px 0;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
header nav a:hover,
header nav a:focus {
  background: var(--accent);
  color: #fff;
}
.cta-btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.13rem;
  font-weight: 700;
  border: none;
  border-radius: 22px;
  padding: 13px 32px;
  box-shadow: 0 2px 10px 0 rgba(120,58,23,0.09);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, color 0.18s, transform 0.13s;
  letter-spacing: 0.04em;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 20px 0 rgba(44,58,23,0.13);
}

header img {
  height: 48px; width: auto;
  margin-right: 8px;
}

.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 2rem;
  padding: 7px 19px 7px 13px;
  margin-left: 8px;
  box-shadow: 0 2px 8px 0 rgba(70,40,18,0.12);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.2s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px 0 rgba(70,40,18,0.19);
}

@media (max-width: 950px) {
  header .cta-btn { margin-left: 0; font-size: 1rem; padding: 11px 20px; }
  header nav { gap: 16px; }
}
@media (max-width: 860px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle { display: block; }
}

/* ========== MOBILE MENU ========== */
.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: 96vw;
  max-width: 340px;
  height: 100vh;
  background: var(--neutral-bg);
  box-shadow: -8px 0 30px 0 rgba(51,27,12,0.21);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 30px 24px 18px;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(0.57,0,0.49,1.41);
  gap: 16px;
}
.mobile-menu.open {
  transform: translateX(0); /* shown with .open class in JS */
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1.7rem;
  padding: 3px 13px 3px 9px;
  margin-bottom: 8px;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(70,40,18,0.09);
  transition: background 0.13s, color 0.13s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--primary);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 8px;
  width: 100%;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary);
  font-size: 1.16rem;
  text-decoration: none;
  padding: 12px 0 12px 6px;
  border-radius: 8px;
  transition: background 0.14s, color 0.14s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: #fff;
}
@media (min-width: 861px) {
  .mobile-menu { display: none; }
}

/* ========== MAIN SECTIONS & CARDS ========== */
ul.feature-grid, ul.service-list, ul.course-list,
ul.recipe-list, ul.category-filters, ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin: 0 0 20px 0;
  padding: 0;
}
ul.feature-grid li, ul.service-list li, ul.course-list li, ul.recipe-list li {
  flex: 1 1 210px;
  background: var(--neutral-bg);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px 0 rgba(120,58,23,0.08);
  padding: 30px 22px 28px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 230px;
  transition: box-shadow 0.19s, transform 0.18s;
  border: 1px solid #e6dfd6;
}
ul.feature-grid li:hover, ul.service-list li:hover,
ul.course-list li:hover, ul.recipe-list li:hover {
  box-shadow: 0 6px 22px 0 rgba(120,58,23,0.13);
  transform: translateY(-2px) scale(1.02);
}
ul.feature-grid img, ul.service-list img, ul.course-list img {
  height: 46px; width: 46px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: var(--neutral-light);
  box-shadow: 0 2px 8px 0 rgba(120,58,23,0.07);
  object-fit: contain;
}
ul.category-filters {
  gap: 14px;
  margin-bottom: 23px;
}
ul.category-filters button {
  background: var(--primary-light);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 24px;
  border: none;
  border-radius: 18px;
  cursor: pointer;
  transition: background 0.1s, box-shadow 0.12s;
  box-shadow: 0 1.5px 5px 0 rgba(120,58,23,0.08);
}
ul.category-filters button:hover, ul.category-filters button:focus {
  background: var(--accent);
  color: #fff;
}

/* ========== TESTIMONIALS/ SLIDER/ REVIEW CARDS ========== */
.testimonial-slider, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 12px 0 0 0;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px 0 rgba(120,58,23,0.09);
  padding: 20px 28px 16px 20px;
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 390px;
  border: 1px solid #e4ded6;
  transition: box-shadow 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px 0 rgba(120,58,23,0.14);
  transform: translateY(-1.5px);
}
.testimonial-card p {
  color: #412b20;
  font-family: var(--font-body);
  font-size: 1.08rem;
  margin-bottom: 0.7em;
}
.testimonial-meta {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 11px;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 600;
}
.testimonial-meta strong {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.02em;
  margin-right: 4px;
}
.testimonial-meta span {
  color: #fbae4b;
  font-size: 1.1em;
  letter-spacing: .06em;
}

/* ========== SEARCH BAR ========== */
.search-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  margin-bottom: 18px;
}
.search-bar input[type="search"] {
  flex: 1 1 250px;
  font-family: var(--font-body);
  font-size: 1.08rem;
  padding: 11px 17px;
  border: 1px solid #e2dfd8;
  border-radius: var(--radius);
  outline: none;
  background: var(--neutral-bg);
  transition: border 0.13s, box-shadow 0.13s;
  color: #452b1e;
}
.search-bar input[type="search"]:focus {
  border: 1.5px solid var(--accent);
  box-shadow: 0 2px 10px 0 rgba(120,58,23,0.13);
}
.search-bar button {
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  border: none;
  border-radius: 18px;
  padding: 10px 24px;
  cursor: pointer;
  transition: background 0.14s, box-shadow 0.14s, transform 0.11s;
  box-shadow: 0 2px 8px 0 rgba(120,58,23,0.09);
}
.search-bar button:hover, .search-bar button:focus {
  background: var(--accent);
  transform: translateY(-1px) scale(1.04);
}

/* ========== SPECIAL LAYOUTS ========== */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--neutral-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 20px 26px 20px;
  border: 1px solid #e6dfd6;
  min-width: 240px;
  flex: 1 1 260px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.step-overview, .step-by-step, .benefits-list, .benefit-grid, .service-highlights, .service-package-info, .team-overview, .core-competencies, .mission-statement, .vision-points, .brand-story, .quote-from-founder, .consultation-steps, .pricing-overview, .service-highlight, .contact-details-section {
  margin-bottom: 32px;
}

.service-highlight, .service-package-info, .pricing-overview {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  background: var(--neutral-light);
  border-radius: var(--radius);
  padding: 20px 22px;
  border: 1px solid #e6dfd6;
  color: #4f331c;
}

.cta-banner {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 16px 0 rgba(120,58,23,0.14);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 36px 22px 40px 22px;
  margin-bottom: 18px;
  gap: 28px;
}
.cta-banner h2, .cta-banner p {
  color: #fff;
}

/* ========== CONTACT DETAILS SECTION ========== */
.contact-details-section {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  margin-top: 12px;
  margin-bottom: 20px;
}
.text-section, .map-location {
  flex: 1 1 250px;
  background: var(--neutral-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 20px 18px 20px;
  margin-bottom: 10px;
  color: #422816;
}
@media (max-width: 768px) {
  .contact-details-section {
    flex-direction: column;
    gap: 16px;
  }
}

/* ========== ADDRESS & FOOTER ========== */
footer {
  background: #fff6f1;
  border-top: 3.5px solid #e1dad2;
  box-shadow: 0 1.5px 11px 0 rgba(120,58,23,0.08);
  margin-top: 40px;
  padding-top: 30px;
  padding-bottom: 20px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: var(--accent);
  font-size: 1.01rem;
  text-decoration: none;
  border-radius: 8px;
  padding: 5px 0;
  transition: background 0.13s, color 0.13s;
}
footer nav a:hover, footer nav a:focus {
  background: var(--accent);
  color: #fff;
}
footer address {
  font-style: normal;
  color: #432A1E;
  font-size: 1.05rem;
}
@media (max-width: 800px) {
  footer .container {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

/* ========== COOKIE CONSENT BANNER & MODAL ========== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #fff7f2;
  color: #51260f;
  box-shadow: 0 -2px 18px 0 rgba(120,58,23,0.1);
  border-top: 2.5px solid #e1dad2;
  padding: 28px 10px 22px 10px;
  z-index: 10001;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 22px;
  font-size: 1.05rem;
  animation: bannerIn .7s;
}
@keyframes bannerIn {
  0% { opacity: 0; transform: translateY(45px);} 100% { opacity:1; transform: translateY(0);}
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-left: 10px;
}
.cookie-banner button {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 18px;
  padding: 9px 19px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 2px 8px 0 rgba(120,58,23,0.07);
  cursor: pointer;
  transition: background 0.14s, color 0.14s, box-shadow 0.13s;
}
.cookie-banner button.cookie-settings {
  background: var(--accent);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--accent);
  color: #fff;
}
.cookie-banner button.cookie-settings:hover, .cookie-banner button.cookie-settings:focus {
  background: var(--primary-dark);
}

/* Cookie settings MODAL popup overlay */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right:0; bottom:0;
  background: rgba(44,28,12,0.18);
  z-index: 10002;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn .4s;
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff7f2;
  color: #342011;
  border-radius: var(--radius);
  box-shadow: 0 10px 40px 0 rgba(120,58,23,0.18);
  padding: 36px 28px 30px 28px;
  min-width: 310px;
  max-width: 98vw;
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 1.05rem;
  position: relative;
  animation: modalInUp .4s cubic-bezier(0.6,0.05,0.38,1.18);
}
@keyframes modalInUp {
  0% { opacity: 0; transform: translateY(60px);} 100% { opacity:1; transform: translateY(0);}
}
.cookie-modal h3 {
  color: var(--primary);
  font-family: var(--font-display);
  margin-bottom: 14px;
  font-size: 1.22rem;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.cookie-modal .cookie-category label {
  font-family: var(--font-body);
  color: #47301c;
  font-size: 1.06rem;
  font-weight: 600;
}
.cookie-modal .cookie-switch {
  appearance: none;
  width: 44px;
  height: 24px;
  background: #e3d7ce;
  border-radius: 11px;
  position: relative;
  outline: none;
  transition: background 0.13s;
  cursor: pointer;
}
.cookie-modal .cookie-switch:checked {
  background: var(--accent);
}
.cookie-modal .cookie-switch:before {
  content: '';
  position: absolute;
  left: 3.5px;
  top: 3.5px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.18s cubic-bezier(.63,1.19,.52,0.99), background 0.15s;
  box-shadow: 0 1.5px 7px rgba(44,40,18,0.08);
}
.cookie-modal .cookie-switch:checked:before {
  background: #ccdecf;
  left: 22px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 10px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 13px;
  right: 12px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #6b513f;
  border-radius: 8px;
  cursor: pointer;
  padding: 0 8px;
  transition: background 0.11s, color 0.12s;
}
.cookie-modal .cookie-modal-close:hover,
.cookie-modal .cookie-modal-close:focus {
  background: #e3d7ce;
  color: var(--primary);
}

/* ========== RESPONSIVE OVERRIDES ========== */
@media (max-width: 1050px) {
  ul.feature-grid li, ul.service-list li, ul.course-list li, ul.recipe-list li, .card {
    min-width: 185px;
    padding: 19px 15px 22px 15px;
    font-size: 0.97rem;
  }
}
@media (max-width: 930px) {
  ul.feature-grid, ul.service-list, ul.course-list, ul.recipe-list {
    flex-direction: column;
    gap: 18px;
  }
  ul.feature-grid li, ul.service-list li, ul.course-list li, ul.recipe-list li {
    width: 100%;
    min-width: unset;
    margin-bottom: 10px;
  }
}
@media (max-width: 660px) {
  .testimonial-slider, .testimonial-list, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card, .card {
    min-width: 90vw;
    padding: 16px 10px 13px 10px;
  }
}
@media (max-width: 560px) {
  .cta-banner {
    padding: 20px 8px 22px 8px;
    gap: 18px;
  }
  .cookie-modal { padding: 15px 8px 15px 12px; }
}

/* ========== MICRO-INTERACTIONS & TRANSITIONS ========== */
button, .cta-btn, a {
  outline: none;
  transition: background 0.17s, color 0.15s, box-shadow 0.17s, transform 0.14s;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 2px 10px 0 rgba(120,58,23,0.14);
}

/* ========== ACCESSIBILITY & FOCUS STATES ========== */
a:focus-visible, button:focus-visible, .cta-btn:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 3px;
  background: #d3ecd5;
}

/* ========== OVERRIDES FOR SPECIFIC CLASSES ========== */
.content-wrapper {
  margin-top: 0; margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

h1 + .subtitle, h1 + p {
  margin-top: -8px;
}

.cta-banner .cta-btn {
  margin-top: 9px;
}

/* For key sections and text blocks */
.text-section h2, .text-section h3 {
  color: var(--accent);
  font-family: var(--font-display);
  margin-bottom: 8px;
}

/* ========== UTILITIES ========== */
.hidden { display: none !important; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.radius { border-radius: var(--radius) !important; }


/* ========== END ========== */
