/* --- Nature Organic CSS for Brisk Traverse Digital --- */

/*  ------------ 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background-color: #f5f6f0;
  color: #393522;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a {
  color: #174EA6;
  transition: color 0.2s;
  text-decoration: none;
}
a:hover,
a:focus {
  color: #388e3c;
  text-decoration: underline;
}
img {
  max-width: 100%;
  display: block;
  border-style: none;
}
button,
input,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  color: inherit;
}

/* ------------ TYPOGRAPHY ------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', 'Georgia', serif;
  color: #393522;
  font-weight: 700;
  margin-bottom: 16px;
}
h1 { font-size: 36px; line-height: 1.18; margin-bottom: 18px; }
h2 { font-size: 28px; line-height: 1.22; margin-bottom: 16px; }
h3 { font-size: 20px; line-height: 1.25; margin-bottom: 12px; }
h4 { font-size: 16px; }
h5, h6 { font-size: 14px; }
p, ul, ol { font-size: 16px; line-height: 1.7; margin-bottom: 16px; }
strong, b { font-weight: 700; }

.text-section h1, 
.text-section h2, 
.text-section h3 { color: #245C3E; }

@media (max-width: 768px) {
  h1 { font-size: 28px; }
  h2 { font-size: 22px; }
  h3 { font-size: 18px; }
}

/* ------------ COLOR PALETTE ------------- */
:root {
  --color-primary: #174EA6;
  --color-secondary: #393522;
  --color-accent: #D39600;
  --color-success: #388e3c;
  --color-bg-base: #f5f6f0;
  --color-bg-light: #fbfaf6;
  --color-bg-dark: #E8E7DC;
  --color-white: #fff;
  --color-green: #4B8755;
  --color-leaf: #6BB187;
  --color-bark: #7F6F53;
  --color-sand: #f9f4e5;
  --shadow-card: 0 6px 18px rgba(51, 48, 36, 0.07);
  --shadow-btn: 0 3px 8px rgba(76, 82, 60, 0.10);
}


/* --------- CONTAINER & MAIN STRUCTURE --------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.content-wrapper {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  align-items: flex-start;
  max-width: 700px;
  margin: 0 auto;
}

/* ---------- FLEX SECTION SPACING & ALIGNMENT ----------- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background-color: var(--color-bg-light);
  border-radius: 32px 32px 48px 24px/40px 44px 18px 22px;
  box-shadow: 0 5px 20px 0 rgba(76, 82, 60, 0.07);
}
@media (max-width: 900px) {
  .section {
    padding: 28px 10px;
    margin-bottom: 36px;
    border-radius: 18px;
  }
}
main section { margin-bottom: 60px; }

/* ------------- FLEX COMPONENTS -------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: var(--color-bg-dark);
  border-radius: 20px 40px 30px 12px/24px 22px 26px 30px;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 28px 28px 28px;
  min-width: 260px;
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid #e2dfd6;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.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 { flex-direction: column; align-items: flex-start; }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 24px 18px 28px;
  background: var(--color-white);
  border-radius: 32px 16px 26px 32px/12px 36px 22px 32px;
  box-shadow: 0 8px 24px 0 rgba(51, 48, 36, 0.09);
  min-width: 280px;
  flex: 1 1 290px;
  margin-bottom: 20px;
  border-left: 4px solid var(--color-green);
}

.testimonial-slider {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.testimonial-author {
  color: #388e3c;
  font-weight: bold;
  font-size: 15px;
  letter-spacing: 0.04em;
}

.feature-grid,
.unique-points-grid,
.blog-post-grid,
.value-list,
.service-summary-grid,
.service-list-grid,
.case-study-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
  align-items: stretch;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-bg-dark);
  border-radius: 22px 18px 34px 20px/18px 24px 10px 18px;
  box-shadow: 0 3px 10px 0 rgba(51, 48, 36, 0.07);
  padding: 28px 24px 24px 24px;
  flex: 1 1 240px;
  min-width: 220px;
  transition: box-shadow 0.18s;
}
.feature img { height: 38px; width: 38px; margin-bottom: 12px; }
.feature:hover,
.card:hover,
.case-study-card:hover,
.blog-post-card:hover {
  box-shadow: 0 12px 25px 0 rgba(44, 104, 25, 0.11);
}

.service-summary,
.service-detail,
.case-study-card,
.blog-post-card {
  background: var(--color-white);
  border-radius: 18px 28px 22px 16px;
  box-shadow: var(--shadow-card);
  padding: 28px 24px 24px 24px;
  margin-bottom: 20px;
  min-width: 240px;
  flex: 1 1 270px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  border: 1px solid #e2dfd6;
  transition: box-shadow 0.2s;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-left: 25px;
  list-style: decimal inside;
}

.process-steps li {
  display: flex;
  align-items: center;
  font-size: 16px;
  gap: 10px;
}
.process-steps img { width: 22px; height: 22px; display: inline-block; }

.value-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 10px;
  list-style: none;
}
.value-list li {
  display: flex;
  align-items: center;
  font-size: 16px;
  gap: 10px;
  background: var(--color-bg-dark);
  border-radius: 14px 22px 16px 18px/18px 14px 10px 20px;
  padding: 18px 20px;
}
.value-list img { width: 28px; height: 28px; display: inline-block; margin-right: 8px; }


.case-study-list { gap: 28px; }
.case-study-card ul {
  margin: 0 0 10px 18px;
  list-style: disc;
}

.blog-post-grid { gap: 28px; }

.contact-details {
  margin-bottom: 24px;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cta-section {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 8px;
}
.footer-nav a {
  color: var(--color-bark);
  font-size: 15px;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--color-green); }

/* ------------- BUTTONS & INTERACTION ------------- */
.btn-primary {
  display: inline-block;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg,#388e3c 0%, #6BB187 94%);
  background-color: #388e3c;
  color: #fff;
  border: none;
  border-radius: 28px 16px 28px 16px/18px 28px 14px 24px;
  font-family: 'Roboto Slab', 'Georgia', serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.025em;
  padding: 14px 34px;
  margin-top: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: background 0.15s, box-shadow 0.2s, color 0.2s, transform 0.1s;
  outline: none;
}
.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(90deg,#245C3E 0%, #388e3c 100%);
  color: #fffbe2;
  box-shadow: 0 6px 28px 1px rgba(68,121,85,0.15);
  transform: translateY(-1px) scale(1.036);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  border: 2px solid var(--color-green);
  color: var(--color-green);
  border-radius: 22px 18px 20px 14px;
  font-size: 16px;
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  padding: 10px 24px;
  margin-right: 12px;
  margin-top: 5px;
  cursor: pointer;
  transition: background 0.14s, color 0.15s, border 0.14s;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--color-green);
  color: #fff;
  border-color: #24643a;
}

a.btn-primary, a.btn-secondary {
  text-align: center;
  text-decoration: none;
}

.service-summary a,
.blog-post-card a {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 16px;
  padding-top: 5px;
  transition: color 0.15s;
}
.service-summary a:hover,
.blog-post-card a:hover {
  color: #388e3c;
}

.service-price {
  font-size: 14px;
  color: var(--color-accent);
  font-weight: 600;
  margin-left: 8px;
  letter-spacing: 0.02em;
}

/* ---------- HEADER/NAVIGATION --------- */
header {
  background: var(--color-bg-base);
  box-shadow: 0 2px 10px rgba(61, 86, 44, 0.07);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  justify-content: space-between;
  height: 80px;
  padding: 0 18px;
  font-family: 'Roboto Slab', 'Georgia', serif;
  background: transparent;
  position: relative;
}
.main-nav .logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}
.main-nav ul {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  list-style: none;
  align-items: center;
}
.main-nav li a {
  color: #365123;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.18s;
  border-radius: 8px;
  padding: 6px 14px;
}
.main-nav li a:hover, .main-nav li a:focus {
  color: var(--color-success);
  background: var(--color-bg-dark);
}
.main-nav .btn-primary {
  font-size: 17px;
  padding: 12px 30px;
  margin-left: 14px;
  box-shadow: 0 4px 14px rgba(92,110,73,0.09);
}

/* Hide mobile menu toggle button on desktop */
.mobile-menu-toggle {
  display: none;
}
@media (max-width: 950px) {
  .main-nav ul {
    gap: 14px;
  }
  .main-nav { gap: 18px; }
}
@media (max-width: 900px) {
  .main-nav {
    height: 60px;
    padding: 0 5px;
  }
  .main-nav .btn-primary { font-size: 16px; padding: 10px 18px; }
}
@media (max-width: 768px) {
  .main-nav ul, .main-nav .btn-primary {
    display: none;
  }
  .main-nav {
    gap: 8px;
    height: 54px;
    padding: 0 5px;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-green);
    color: #fff;
    border: none;
    border-radius: 14px 26px 18px 14px;
    height: 40px;
    width: 44px;
    font-size: 30px;
    cursor: pointer;
    box-shadow: var(--shadow-btn);
    position: absolute;
    right: 12px;
    top: 8px;
    z-index: 1090;
    transition: background 0.15s;
  }
  .mobile-menu-toggle:hover {
    background: #245C3E;
  }
}

/* ----------- MOBILE MENU (SLIDE/OVERLAY) ----------- */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  z-index: 1200;
  background: var(--color-bg-light);
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  padding: 0 32px 0 0;
  transform: translateX(-110vw);
  transition: transform 0.3s cubic-bezier(.4,.51,.41,1.13),opacity 0.25s;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  color: var(--color-green);
  font-size: 2.2rem;
  border: none;
  padding: 20px 17px 10px 0;
  margin-right: 2px;
  cursor: pointer;
  transition: color 0.15s;
  z-index: 1202;
}
.mobile-menu-close:hover {
  color: #D39600;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  padding: 10px 26px 28px 28px;
  margin-top: 34px;
}
.mobile-nav a {
  font-size: 20px;
  color: #245C3E;
  font-family: 'Roboto Slab', serif;
  background: #f5f6f0;
  border-radius: 18px;
  padding: 12px 10px 12px 18px;
  margin-bottom: 8px;
  transition: background 0.16s, color 0.18s;
  box-shadow: 0 2px 7px rgba(130,130,90,0.05);
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-bark);
  color: #fff;
}
@media (min-width: 769px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none;
  }
}

/* ----------- SECTIONS & CONTAINERS -------------- */
section { background: none; }
@media (max-width: 800px) {
  .content-wrapper, .container { padding: 0 6px; }
}

/* ----------- RESPONSIVE FLEX LAYOUTS ------------- */
.feature-grid, .unique-points-grid, .blog-post-grid, .service-summary-grid, .service-list-grid, .case-study-list {
  flex-direction: row;
  align-items: stretch;
}
@media (max-width: 950px) {
  .feature-grid, .unique-points-grid, .blog-post-grid, .service-summary-grid, .service-list-grid, .case-study-list {
    flex-wrap: wrap;
    gap: 20px;
  }
}
@media (max-width: 700px) {
  .feature-grid, .unique-points-grid, .blog-post-grid, .service-summary-grid, .service-list-grid, .case-study-list {
    flex-direction: column;
    gap: 16px;
  }
  .feature, .card, .case-study-card, .service-detail, .service-summary, .blog-post-card, .testimonial-card {
    min-width: 90%;
    max-width: 98vw;
    padding: 18px 10px 18px 14px;
  }
}

/* ------------ FORMS/BASIC INPUTS --------------- */
input, textarea, select {
  border: 1px solid #C6BBA6;
  border-radius: 12px 20px 12px 20px/12px 14px 10px 18px;
  background: #F6F5ED;
  padding: 12px 16px;
  font-size: 16px;
  margin-bottom: 14px;
  width: 100%;
  transition: border 0.17s, box-shadow 0.17s;
}
input:focus, textarea:focus, select:focus {
  border-color: #388e3c;
  outline: none;
  box-shadow: 0 1px 4px 0 rgba(84,135,88,0.09);
}


/* ------------ FOOTER -------------- */
footer {
  background: var(--color-sand);
  border-top: 1.5px solid #d0cfbc;
  padding: 30px 0 14px 0;
  font-size: 15px;
  font-family: 'Open Sans', sans-serif;
}
footer .content-wrapper {
  flex-direction: row;
  align-items: center;
  gap: 38px;
  justify-content: space-between;
}
footer img { height: 36px; width: auto; }
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
footer span { color: #7F6F53; font-size: 13px; }
@media (max-width: 800px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 20px;
    justify-content: flex-start;
    align-items: flex-start;
  }
}


/* --------- MICRO-INTERACTIONS & SHADOWS --------- */
.card, .feature, .testimonial-card, .service-summary, .case-study-card, .blog-post-card {
  transition: border 0.13s, box-shadow 0.16s, transform 0.07s;
}
.card:hover,
.feature:hover,
.service-summary:hover,
.case-study-card:hover,
.blog-post-card:hover {
  border-color: var(--color-green);
  box-shadow: 0 14px 36px 2px rgba(62,121,85,0.11);
  transform: translateY(-4px) scale(1.018);
}


/* --------- Cookie Banner & Modal ---------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-white);
  color: #434321;
  box-shadow: 0 -1.5px 28px rgba(105, 120, 70, 0.11);
  border-radius: 28px 28px 0 0/18px 18px 0 0;
  z-index: 3000;
  padding: 28px 22px 24px 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 15px;
  opacity: 0.98;
  animation: banner-slideIn 0.4s cubic-bezier(.4,.68,.6,1.14);
}
@keyframes banner-slideIn {
  0% { transform: translateY(120%); }
  70% { transform: translateY(-6%); }
  100% { transform: translateY(0); }
}
.cookie-banner .cookie-btn {
  margin-left: 8px;
  min-width: 120px;
  font-size: 16px;
}
.cookie-banner .cookie-btn-accept {
  background: var(--color-green);
  color: #fff;
  border-radius: 18px 18px 12px 14px;
  border: none;
  font-weight: 700;
  padding: 10px 18px;
  margin-right: 8px;
  cursor: pointer;
  transition: background 0.15s;
  box-shadow: 0 2px 7px 0 rgba(67,106,62,0.10);
}
.cookie-banner .cookie-btn-accept:hover { background: #245C3E; }
.cookie-banner .cookie-btn-reject {
  background: transparent;
  color: var(--color-green);
  border: 2px solid var(--color-green);
  border-radius: 18px;
  font-weight: 600;
  padding: 10px 18px;
  margin-right: 7px;
  transition: background 0.15s, color 0.14s, border 0.14s;
  cursor: pointer;
}
.cookie-banner .cookie-btn-reject:hover {
  background: var(--color-bg-dark);
  color: #2e5c2e;
  border-color: #245C3E;
}
.cookie-banner .cookie-btn-settings {
  background: none;
  color: var(--color-accent);
  border: none;
  font-size: 15px;
  font-weight: 600;
  padding: 7px 14px;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.14s;
}
.cookie-banner .cookie-btn-settings:hover { color: var(--color-success); }

/* --- Cookie Modal Overlay--- */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  z-index: 3100;
  background: rgba(28,36,24,0.34);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.24s;
}
@keyframes fadeIn {
  0% { opacity: 0; } 100% { opacity: 1; }
}
.cookie-modal-content {
  background: #fffefb;
  border-radius: 24px 22px 34px 28px/18px 21px 12px 18px;
  padding: 38px 36px 24px 36px;
  min-width: 310px;
  max-width: 98vw;
  box-shadow: 0 6px 28px 6px rgba(54,90,33,.22);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: modalPopIn 0.3s cubic-bezier(.5,1.5,.9,1.1);
}
@keyframes modalPopIn {
  0% { transform: scale(0.86) translateY(38px); opacity: 0; }
  80% { transform: scale(1.04); }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-content h2 {
  font-size: 22px;
  margin-bottom: 14px;
  color: #245C3E;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #e6e2cd;
}
.cookie-category:last-child { border-bottom: none; }
.cookie-category label {
  font-size: 17px;
  font-weight: 600;
  color: #213b21;
  user-select: none;
}
.cookie-category input[type="checkbox"] {
  accent-color: #388e3c;
  height: 18px; width: 18px;
}
.cookie-modal .cookie-btn-accept, 
.cookie-modal .cookie-btn-reject {
  font-size: 16px;
  min-width: 115px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  color: #188534;
  font-size: 2rem;
  cursor: pointer;
}
.cookie-modal-close:hover { color: #D39600; }

/* Essentials category disabled toggle */
.cookie-category input[disabled] {
  opacity: 0.7;
  pointer-events: none;
}

/* ----------- Miscellaneous Utilities ----------- */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: 8px !important; }
.mb-1 { margin-bottom: 8px !important; }
.mt-2 { margin-top: 16px !important; }
.mb-2 { margin-bottom: 16px !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }

/* ----- Accessibility: focus rings for tabs/links/buttons ----- */
a:focus, button:focus, .btn-primary:focus, .mobile-menu-toggle:focus, .cookie-modal-close:focus {
  outline: 2px solid #388e3c;
  outline-offset: 1.5px;
}


/* --------------- RESPONSIVE PADDING/SPACING --------------- */
@media (max-width: 650px) {
  .container, .content-wrapper { padding: 0 2px; }
  .section { padding: 15px 1px; }
  .feature, .service-summary, .card, .case-study-card, .blog-post-card, .testimonial-card, .service-detail {
    padding: 15px 6px 14px 9px;
  }
  .cookie-modal-content { padding: 28px 9px 18px 12px; }
}


/* ----------- ENSURE NO OVERLAPS ----------- */
.card, .feature, .service-summary, .case-study-card, .blog-post-card, .testimonial-card {
  margin-bottom: 20px;
}
.section + .section,
.feature-grid + .feature-grid,
.card-container + .card-container,
.content-grid + .content-grid,
.testimonial-slider + .testimonial-slider,
.service-list-grid + .service-list-grid {
  margin-top: 28px;
}


/* ----------- END Nature Organic CSS ----------- */
