/* ===========================
   RESET & NORMALIZATION
   =========================== */
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,
main, 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; }
*, *:before, *:after { box-sizing: inherit; }
body {
  line-height: 1.6;
  background: #f4f7f3;
  color: #243746;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
}
h1, h2, h3, h4 { font-family: 'Montserrat', Arial, sans-serif; }

/* ===========================
   CSS CUSTOM PROPERTIES
   =========================== */
:root {
  --color-primary: #243746; /* navy stone */
  --color-secondary: #17966b; /* earth green */
  --color-accent: #f7f9fa; /* neutral sand */
  --color-green: #537a5a;
  --color-terracotta: #c97e53;
  --color-cream: #f5efe6;
  --color-brown: #97715a;
  --color-leaf: #c1d5ae;
  --color-shadow: #2b4030;
  --color-card-bg: #fffefc;
  --color-link: #1F7349;
  --color-warning: #e8be50;
  --container-max: 1150px;
  --border-radius: 20px;
  --card-radius: 18px;
  --transition: 0.2s cubic-bezier(.5,1.5,.39,.83);
  --shadow-1: 0 2px 8px 0 rgba(41,64,59,0.07);
  --shadow-2: 0 4px 24px rgba(41,64,59,0.11);
  --button-shadow: 0 2px 6px rgba(41,64,59,0.09);
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* ===========================
   CONTAINER & GLOBAL LAYOUT
   =========================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
}

.content-wrapper {
  margin: 0 auto;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-1);
}
main > section:first-child {
  background: linear-gradient(135deg,#f5efe6 80%,#eaf0e7 100%);
  box-shadow: none;
}

/* ===========================
   TYPOGRAPHY
   =========================== */
h1 {
  font-size: 2.375rem; /* 38px */
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.15;
  color: var(--color-primary);
}
@media (min-width: 640px) {
  h1 { font-size: 3rem; }
}
h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-secondary);
  line-height: 1.16;
}
h3 {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-primary);
}
h4 {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-brown);
}
p, li, ul, ol {
  font-size: 1rem;
  color: var(--color-primary);
  font-family: var(--font-body);
  line-height: 1.7;
}
.hero-sub {
  color: var(--color-green);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 8px;
  font-family: var(--font-display);
}
strong { font-weight: 600; color: var(--color-secondary); }

/* ===========================
   HEADER & NAVBAR
   =========================== */
header {
  background: #eef3ea;
  box-shadow: var(--shadow-1);
  padding: 0;
  z-index: 6;
}
header > .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 74px;
  padding-top: 15px;
  padding-bottom: 15px;
}
header img {
  max-height: 44px;
  border-radius: 6px;
  background: none;
  margin-right: 12px;
}
nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}
nav a {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border 0.18s;
}
nav a:hover, nav a:focus {
  border-bottom: 2.5px solid var(--color-secondary);
  color: var(--color-secondary);
  outline: none;
}
.primary-cta {
  background: var(--color-secondary);
  color: #fff;
  border-radius: 99px;
  padding: 12px 28px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  box-shadow: var(--button-shadow);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  border: none;
  cursor: pointer;
  margin-left: 20px;
  display: inline-block;
}
.primary-cta:hover, .primary-cta:focus {
  background: var(--color-green);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 20px rgba(67,116,72,0.17);
  outline: none;
}

/* ===========================
   MOBILE NAVIGATION
   =========================== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 18px;
  width: 46px;
  height: 46px;
  z-index: 100;
  background: #eaf0e7;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(41,64,59,0.09);
  font-size: 2rem;
  color: var(--color-green);
  cursor: pointer;
  border: none;
  align-items: center;
  justify-content: center;
  transition: background .17s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: #c6dece;
  outline: 2px solid var(--color-secondary);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 100vw;
  width: 100vw;
  height: 100vh;
  background: #f5efe6;
  z-index: 900;
  transition: transform .38s cubic-bezier(.56,1.4,.04,.96), left .15s linear;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: -6px 0 20px rgba(76, 93, 61, 0.13);
  padding: 0 0;
}
.mobile-menu.active {
  transform: translateX(-100vw);
  left: 0;
}
.mobile-menu nav {
  flex-direction: column;
  gap: 0;
  margin-top: 30px;
  width: 100%;
  align-items: stretch;
}
.mobile-nav a {
  display: block;
  padding: 18px 30px;
  font-size: 1.18rem;
  border-bottom: 1px solid #e8ecd7;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 500;
  transition: background .17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-leaf);
  color: var(--color-secondary);
  outline: none;
}
.mobile-menu-close {
  background: #eaf0e7;
  color: var(--color-brown);
  border-radius: 50%;
  width: 44px; height: 44px;
  font-size: 2.1rem;
  border: none;
  position: absolute;
  top: 18px; right: 18px;
  box-shadow: 0 2px 10px rgba(166,142,97,.11);
  display: flex;
  align-items: center; justify-content: center;
  z-index: 9999;
  cursor: pointer;
  transition: background .16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #cab59c;
  color: var(--color-primary);
}
@media (max-width: 1024px) {
  nav { display: none; }
  .primary-cta { display: none; }
  .mobile-menu-toggle { display: flex; }
}

@media (max-width: 768px) {
  header > .container {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .container {
    padding-left: 8px; padding-right: 8px;
  }
}

/* =========================
   SECTIONS & FLEXBOX LAYOUT
   ========================= */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-cream);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-1);
}
main > section:first-child {
  background: linear-gradient(135deg,#f5efe6 80%,#eaf0e7 100%);
  box-shadow: none;
}

.card-container, .service-cards, .reviews-list, .startup-list, .team-cards, .events-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-card-bg);
  margin-bottom: 20px;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-1);
  padding: 24px 22px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow .17s, transform .17s;
}
.card:hover, .service-card:hover, .review-card:hover, .startup-card:hover, .team-card:hover, .event-card:hover {
  box-shadow: var(--shadow-2);
  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) {
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* ===============================
   FEATURE-LIST & FLEX ITEMS
   =============================== */
.feature-list, .feature-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  justify-content: flex-start;
  margin-top: 16px;
  margin-bottom: 8px;
}
.feature-list li {
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 200px;
  background: #eaf0e7;
  padding: 24px 18px 18px 18px;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-1);
  margin-bottom: 20px;
  transition: box-shadow .17s, transform .17s;
}
.feature-list li img {
  width: 44px; height: 44px;
  object-fit: contain;
  margin-bottom: 3px;
}

@media (max-width: 820px) {
  .feature-list, .service-cards, .reviews-list, .startup-list, .team-cards, .events-list {
    flex-direction: column;
    gap: 18px;
  }
  .feature-list li, .service-card, .startup-card, .team-card, .event-card, .review-card {
    min-width: 0;
    width: 100%;
  }
}

/* ===========================
   SERVICE CARDS
   =========================== */
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
  margin-bottom: 10px;
}
.service-card {
  background: #fcf9f3;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-1);
  padding: 22px 20px 18px 20px;
  min-width: 220px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  transition: box-shadow .17s, transform .16s;
}
.service-card img {
  width: 38px; height: 38px;
  margin-bottom: 8px;
}
.service-card h3 {
  font-size: 1.16rem;
  color: var(--color-primary);
  font-family: var(--font-display);
  margin-bottom: 6px;
  font-weight: 600;
}
.service-card p {
  font-size: 1rem;
}

/* ===========================
   TESTIMONIAL CARDS
   =========================== */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 14px rgba(54,73,40,0.10);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow .16s, transform .13s;
  min-width: 258px;
  flex: 1 1 278px;
}
.testimonial-card p {
  color: #052014;
  font-size: 1.025rem;
  font-style: italic;
}
.testimonial-card strong {
  color: var(--color-green);
}
.testimonial-card div {
  font-size: 0.97rem;
  color: var(--color-brown);
}
@media (max-width: 820px) {
  .testimonial-slider { flex-direction: column; gap: 18px; }
  .testimonial-card { width: 100%; min-width: 0; }
}

/* ===========================
   REVIEW CARDS
   =========================== */
.reviews-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.review-card {
  background: #fcf9f3;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-1);
  flex: 1 1 275px;
  min-width: 220px;
  max-width: 340px;
  margin-bottom: 20px;
  padding: 20px 17px 15px 17px;
  transition: box-shadow .13s, transform .13s;
}
.review-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-bottom: 6px;
}
.review-card ul {
  margin-left: 8px;
}
@media (max-width: 600px) {
  .reviews-list { flex-direction: column; gap: 16px; }
}

/* ===========================
   STARTUP, TEAM, EVENT CARDS
   =========================== */
.startup-list, .team-cards, .events-list {
  gap: 24px;
}
.startup-card, .team-card, .event-card {
  background: #fcf9f3;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-1);
  flex: 1 1 240px;
  margin-bottom: 20px;
  padding: 22px 18px 17px 18px;
  transition: box-shadow .16s, transform .16s;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.team-card img, .startup-card img, .event-card img {
  width: 38px; height: 38px;
  margin-bottom: 4px;
  border-radius: 9px;
}
.team-card h3, .startup-card h3, .event-card h3 {
  margin: 5px 0 7px 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
}
@media (max-width: 800px) {
  .startup-list, .team-cards, .events-list { flex-direction: column; gap: 16px; }
  .startup-card, .team-card, .event-card { width: 100%; min-width: 0; }
}

/* ===========================
   BUTTONS & INTERACTIONS
   =========================== */
button, .primary-cta, .cookie-btn {
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition), color var(--transition), border-color var(--transition);
}
.secondary-cta {
  background: #f0f7ec;
  color: var(--color-green);
  border-radius: 99px;
  border: 2px solid var(--color-green);
  font-family: var(--font-body);
  font-weight: 500;
  padding: 10px 22px;
  margin: 0 0 0 12px;
  box-shadow: var(--button-shadow);
  font-size: 1rem;
}
.secondary-cta:hover, .secondary-cta:focus {
  background: var(--color-green);
  color: #fff;
  box-shadow: 0 4px 24px rgba(39,147,107,0.11);
  outline: none;
}

/* ===========================
   COOKIE CONSENT BANNER & MODAL
   =========================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #ece5cc;
  color: var(--color-primary);
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  box-shadow: 0 -2px 26px rgba(146,119,71,0.11);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 20px;
  z-index: 1500;
  font-size: 1rem;
  animation: cookieBannerEnter .75s;
}
@keyframes cookieBannerEnter {
  from { transform: translateY(80%); opacity:0.3; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}
.cookie-btn {
  border-radius: 999px;
  padding: 11px 26px;
  font-size: 1rem;
  margin: 0 2px;
  border: 0;
  font-family: var(--font-display);
  font-weight: 500;
  box-shadow: 0 1px 8px rgba(146,119,71,0.09);
}
.cookie-btn.cookie-accept {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-btn.cookie-accept:hover, .cookie-btn.cookie-accept:focus {
  background: var(--color-green);
}
.cookie-btn.cookie-reject {
  background: #fff5dc;
  color: #c97e53;
}
.cookie-btn.cookie-reject:hover, .cookie-btn.cookie-reject:focus {
  background: #ffecd1;
  color: #97531a;
}
.cookie-btn.cookie-settings {
  background: #fcf9f3;
  border: 1.5px solid #c1d5ae;
  color: var(--color-green);
}
.cookie-btn.cookie-settings:hover, .cookie-btn.cookie-settings:focus {
  background: #c1d5ae;
  color: #173a28;
}

/* Cookie modal popup */
.cookie-modal-backdrop {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(33,42,21,0.25);
  z-index: 1700;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: cookieModalBg .28s;
}
@keyframes cookieModalBg {
  from { background: rgba(33,42,21,0.03); }
  to { background: rgba(33,42,21,0.25);}
}
.cookie-modal {
  background: #f8f5ee;
  border-radius: 25px 25px 0 0;
  padding: 34px 26px 28px 26px;
  width: 98%; max-width: 420px;
  min-height: 240px;
  margin-bottom: 32px;
  box-shadow: 0 16px 44px rgba(146,119,71,0.15);
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookieModalEnter .38s cubic-bezier(.61,1.36,.29,.96);
  z-index: 2000;
}
@keyframes cookieModalEnter {
  from { transform: translateY(40px) scale(.98); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h3 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-size: 1.41rem;
  margin-bottom: 11px;
  font-weight: 700;
}
.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}
.cookie-category .cookie-toggle {
  width: 38px; height: 22px;
  border-radius: 13px;
  background: #c1d5ae;
  position: relative;
  margin-right: 4px;
}
.cookie-toggle input[type="checkbox"] {
  opacity: 0; width: 0; height: 0;
}
.cookie-category .toggle-slider {
  position: absolute;
  left: 1.5px; top: 2px;
  width: 18px; height: 18px;
  border-radius: 100%;
  background: #fff;
  transition: left .21s cubic-bezier(.44,2.1,.29,.98), background .16s;
  box-shadow: 0 2px 8px rgba(146,119,71,0.13);
}
.cookie-toggle input[type="checkbox"]:checked + .toggle-slider {
  left: 17px;
  background: var(--color-secondary);
}
.cookie-category.essential .cookie-toggle {
  background: #a5b9a8;
}
.cookie-category.essential .toggle-slider {
  background: #6d9366;
}
.cookie-category .cookie-label {
  font-weight: 500;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 14px;
}
.cookie-modal .cookie-actions .cookie-btn {
  flex: 1 1 0;
}
@media (max-width: 520px) {
  .cookie-modal { padding: 22px 8px 16px 8px; margin-bottom: 10px; }
}

/* ===========================
   FOOTER
   =========================== */
footer {
  width: 100%;
  background: #eaf0e7;
  border-radius: 0 0 28px 28px;
  margin-top: 90px;
  box-shadow: 0 -2px 18px rgba(72,93,61,0.05);
}
footer > .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 22px;
  align-items: flex-start;
  padding: 28px 12px 20px 12px;
  flex-wrap: wrap;
}
footer img {
  max-width: 65px;
  align-self: flex-start;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
footer nav a {
  font-size: 0.98rem;
  font-family: var(--font-body);
  color: var(--color-green);
  font-weight: 500;
  margin: 0 0 2px 0;
  opacity: .93;
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-brown);
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 2px;
}
.footer-contact p {
  font-size: 0.98rem;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: .87;
}
.footer-contact img {
  display: inline-block;
  max-width: 18px;
  max-height: 18px;
  margin-right: 2px;
  border-radius: 3px;
}
@media (max-width: 900px) {
  footer > .container { flex-direction: column; gap: 12px; align-items: flex-start; }
}

/* ===========================
   TEXT SECTIONS, LEGAL
   =========================== */
.text-section { margin-bottom: 26px; }
.legal { background: #f7f4ec; border-radius: 12px; box-shadow: 0 1px 6px rgba(206, 209, 192, 0.08); padding: 20px 12px; color: #3c4733; margin-bottom: 16px; }

/* ===========================
   CUSTOM UTILITIES & ANIMATIONS
   =========================== */
@media (max-width: 600px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.3rem; }
  .section { padding: 26px 8px; margin-bottom: 36px; }
}

::-webkit-scrollbar { width: 10px; background: #eaf0e7; }
::-webkit-scrollbar-thumb { background: #c1d5ae; border-radius: 7px; }

::selection { background: #b5d7ba; color: #14311e; }

/* Subtle organic blobs as decor (position absolute, only for visual flourish) */
.organic-blob {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  opacity: 0.19;
}

/* ===========================
   FORM ELEMENTS (if present)
   =========================== */
input, textarea, select {
  border: 1.5px solid #c1d5ae;
  border-radius: 11px;
  padding: 11px 13px;
  margin-bottom: 10px;
  width: 100%;
  background: #fcf9f3;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color .15s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-secondary);
  background: #f6fff9;
}
label {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-size: 1rem;
}

/* ===============
   ACCESSIBILITY
   =============== */
a:focus, button:focus, .primary-cta:focus, .cookie-btn:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #eaf0e7;
  z-index: 3;
}

/* Make sure every flex container has proper gap */
.card-container, .service-cards, .reviews-list, .startup-list, .team-cards, .events-list, .content-grid, .testimonial-slider {
  gap: 24px;
}

/* END OF CSS */
