/* === CSS RESET & BASELINE === */
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,
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 { scroll-behavior: smooth; }
body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  background: #F5F7FA;
  color: #1a3422;
  min-height: 100vh;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: #265C35; text-decoration: none; transition: color 0.2s ease; }
a:hover, a:focus { color: #9DC431; outline: none; }
ul, ol { margin-left: 1.3em; margin-bottom: 16px; }
li { margin-bottom: 6px; }

/* === BRAND TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  font-weight: 700;
  color: #265C35;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.8rem; margin-bottom: 18px; text-shadow: 0 4px 20px rgba(38,92,53,0.08); }
h2 { font-size: 2.0rem; margin-bottom: 14px; }
h3 { font-size: 1.4rem; margin-bottom: 8px; }
h4,h5,h6 { font-size: 1.1rem; }
p, ul, ol {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.05rem;
  color: #24412C;
  margin-bottom: 1em;
}
strong, b { color: #265C35; font-weight: 700; }

/* === SPACING & CONTAINER === */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 3px 30px 0 rgba(38,92,53,0.08);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-section {
  max-width: 700px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 6px 28px rgba(38,92,53,0.045);
  padding: 26px 24px;
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
  transition: transform 0.2s;
}
.card:hover {
  box-shadow: 0 10px 40px rgba(157,196,49,0.12);
  transform: translateY(-7px) scale(1.02) rotate(-1deg);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === ARTISTIC ELEMENTS & EFFECTS === */
.hero {
  background: linear-gradient(90deg, #9DC431 0%, #F5F7FA 84%, #c5e54a 100%);
  padding: 54px 0 40px 0;
  border-radius: 0 0 60px 0;
  box-shadow: 0 10px 40px rgba(38,92,53, 0.10);
}
.hero h1 {
  color: #265C35;
  font-family: 'Montserrat', cursive;
  font-size: 2.6rem;
  letter-spacing: 0.03em;
}
.hero p {
  color: #40603c;
  font-size: 1.15rem;
  margin-bottom: 24px;
}
.cta {
  background: #9DC431;
  color: #fff;
  text-align: center;
  border-radius: 28px;
  margin-bottom: 60px;
  padding: 48px 20px 42px 20px;
  box-shadow: 0 6px 24px rgba(38,92,53, 0.07);
}
.cta h2, .cta h1 { color: #265C35; }
.cta p {
  color: #265C35;
  font-size: 1.21rem;
}
.section:nth-child(even) {
  background: #f0f6e9;
}

/* === FEATURE GRID & PROJECT GRID (creative, flex) === */
.feature-grid, .project-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 28px;
}
.feature-grid > div, .project-grid > div {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 14px rgba(157,196,49,0.06);
  padding: 26px 20px;
  flex: 1 1 260px;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.18s;
  margin-bottom: 20px;
  position: relative;
}
.feature-grid > div img, .project-grid > div img {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
}
.feature-grid > div:hover, .project-grid > div:hover {
  box-shadow: 0 12px 32px rgba(157,196,49,0.13);
  transform: translateY(-5px) scale(1.03) rotate(1.5deg);
}

/* === HEADER & NAVIGATION === */
header {
  background: #fff;
  border-bottom: 7px solid #9DC431;
  border-radius: 0 0 30px 0;
  box-shadow: 0 4px 40px rgba(157,196,49,0.07);
  position: relative;
  z-index: 20;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 16px 0;
  max-width: 1160px;
  margin: 0 auto;
}
.logo-link img {
  height: 40px;
  width: auto;
  display: block;
  transition: filter 0.2s;
}
.logo-link:hover img, .logo-link:focus img {
  filter: brightness(1.1) drop-shadow(0 3px 9px #9DC43155);
}
.main-menu {
  display: flex;
  gap: 22px;
  list-style: none;
  align-items: center;
}
.main-menu li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  font-size: 1.03rem;
  color: #265C35;
  padding: 8px 14px;
  border-radius: 7px;
  transition: background 0.16s, color 0.16s;
}
.main-menu li a:hover, .main-menu li a:focus {
  background: #9DC431;
  color: #fff;
}
.button-primary {
  background: #265C35;
  color: #fff !important;
  padding: 11px 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  border-radius: 32px;
  border: none;
  outline: none;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(38,92,53,0.08);
  transition: background 0.18s, color 0.18s, transform 0.18s;
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-left: 10px;
}
.button-primary:hover, .button-primary:focus {
  background: #9DC431;
  color: #265C35 !important;
  transform: scale(1.04) translateY(-2px);
  box-shadow: 0 8px 36px rgba(157,196,49,0.09);
}

/* --- Hamburger Mobile Menu --- */
.mobile-menu-toggle {
  display: none;
  background: #265C35;
  color: #fff;
  font-size: 2.05rem;
  border: none;
  border-radius: 13px;
  padding: 6px 18px 8px 18px;
  margin-left: 18px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  position: relative;
  z-index: 999;
}
.mobile-menu-toggle:active {
  background: #9DC431;
  color: #265C35;
  transform: scale(1.03);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #F5F7FAee;
  z-index: 4000;
  transform: translateX(-102%);
  transition: transform 0.4s cubic-bezier(.76,0,.24,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 28px 10vw 10vh 15vw;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #9DC431;
  color: #fff;
  font-size: 2.2rem;
  border: none;
  border-radius: 12px;
  padding: 0 18px;
  margin-bottom: 36px;
  align-self: flex-end;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  z-index: 4200;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #265C35;
  color: #9DC431;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  font-family: 'Montserrat', Arial, sans-serif;
}
.mobile-nav a {
  font-size: 1.22rem;
  font-weight: 700;
  color: #265C35;
  padding: 13px 0;
  letter-spacing: 0.025em;
  border-bottom: 1px solid #e3eed0;
  transition: color 0.16s, background 0.17s;
}
.mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus {
  color: #fff;
  background: #9DC431;
  border-radius: 8px;
  padding-left: 12px;
}

/* === TESTIMONIALS === */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  background: #fff;
  border-left: 6px solid #9DC431;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(38,92,53,0.08);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px;
  position: relative;
  max-width: 440px;
  font-size: 1.09rem;
  color: #2a4832;
  transition: box-shadow 0.18s, border-color 0.16s;
}
.testimonial-card p {
  font-style: italic;
  color: #1d3918;
  margin-bottom: 8px !important;
  font-size: 1.13rem;
  line-height: 1.7;
  text-shadow: 0 1px 0 #c8ffc4cc;
}
.testimonial-card span {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.99rem;
  color: #265C35;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.testimonial-card:hover {
  box-shadow: 0 10px 30px rgba(157,196,49,0.10);
  border-left: 6px solid #265C35;
}

/* === CONTACT INFO ICONS === */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 10px;
}
.contact-info p {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 0;
}
.contact-info img {
  width: 23px;
  opacity: 0.82;
  filter: drop-shadow(0 1px 2px #9DC43170);
}

/* === FOOTER === */
footer {
  background: #fff;
  border-top: 3px solid #9DC431;
  box-shadow: 0 -2px 26px rgba(38,92,53,0.10);
  margin-top: 64px;
  padding: 34px 0 24px 0;
  border-radius: 36px 36px 0 0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 16px;
  justify-content: center;
  align-items: center;
}
.footer-nav a {
  color: #265C35;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
  font-weight: 500;
  padding: 6px 15px;
  border-radius: 6px;
  transition: background 0.16s, color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  background: #9DC431;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #6e8865;
  font-size: 1.03rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 18px;
}
.footer-contact a {
  color: #265C35;
  font-weight: 600;
  text-decoration: underline;
}
.footer-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 4px;
}
.footer-logo img {
  width: 44px;
  height: 44px;
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fffde7;
  color: #24412C;
  padding: 28px 8vw 22px 8vw;
  box-shadow: 0 -8px 48px rgba(157,196,49,0.13), 0 -2px 14px #265c3522;
  border-top: 5px solid #9DC431;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 9000;
  transition: transform 0.48s cubic-bezier(.83,0,.16,1), opacity 0.23s;
  transform: translateY(0);
  opacity: 1;
  gap: 18px;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 19px;
  margin-top: 8px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 24px;
  cursor: pointer;
  padding: 11px 28px;
  margin: 0 2px;
  box-shadow: 0 2px 7px rgba(0,0,0,0.04);
  transition: background 0.16s, color 0.16s, transform 0.11s;
}
.cookie-banner .accept {
  background: #265C35;
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #9DC431;
  color: #265C35;
}
.cookie-banner .reject {
  background: #fff;
  color: #265C35;
  border: 2px solid #9DC431;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #9DC431;
  color: #fff;
}
.cookie-banner .settings {
  background: transparent;
  color: #265C35;
  border: none;
  font-weight: 700;
  text-decoration: underline;
  padding: 0 12px;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #f7fbf0;
  color: #9DC431;
}

/* Cookie Settings Modal */
.cookie-modal {
  position: fixed;
  right: 0;
  left: 0;
  top: 0;
  bottom: 0;
  background: rgba(38,92,53, 0.17);
  z-index: 9400;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.25s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-dialog {
  background: #fff;
  color: #24412C;
  border-radius: 28px;
  box-shadow: 0 12px 56px #265c3534, 0 2px 12px #9DC43122;
  padding: 48px 36px 36px 36px;
  max-width: 420px;
  width: 94vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: modal-show 0.36s cubic-bezier(.93,0,.14,1);
}
@keyframes modal-show {
  from { transform: translateY(60px) scale(0.97); opacity: 0; }
  to   { transform: translateY(0) scale(1);   opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  right: 20px;
  top: 19px;
  background: #9DC431;
  border: none;
  color: #fff;
  border-radius: 50%;
  font-size: 1.6rem;
  height: 36px;
  width: 36px;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #265C35;
}
.cookie-modal h2 {
  font-size: 1.25rem;
  color: #265C35;
  margin-bottom: 0;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.06rem;
  color: #1a3422;
}
.cookie-category input[type='checkbox'] {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  accent-color: #9DC431;
}
.cookie-category label {
  cursor: pointer;
  user-select: none;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 12px;
  justify-content: flex-end;
}
.cookie-modal-actions button {
  font-size: 1.02rem;
  padding: 11px 22px;
}

/* === RESPONSIVE DESIGN (MOBILE FIRST) === */
@media (max-width: 1050px) {
  .container { max-width: 95vw; }
  nav, .footer-nav { gap: 10px; }
}
@media (max-width: 930px) {
  .main-menu { gap: 12px; }
  .feature-grid, .project-grid { gap: 14px; }
}
@media (max-width: 780px) {
  .main-menu, .footer-nav {
    gap: 7px;
    font-size: 0.99rem;
  }
  nav { gap: 7px; }
}
@media (max-width: 768px) {
  nav, .footer-contact, .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .hero {
    padding-top: 38px;
    border-radius: 0 0 40px 0;
  }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.35rem; }
  .section { margin-bottom: 38px; padding: 20px 5vw 28px 5vw; border-radius: 18px; }
  .card, .feature-grid > div, .project-grid > div {
    min-width: 70vw;
    padding: 18px 10vw;
  }
  .content-wrapper, .card-container, .feature-grid, .content-grid, .project-grid, .testimonial-slider {
    flex-direction: column !important;
    gap: 18px;
    align-items: stretch;
  }
  .text-image-section { flex-direction: column; gap: 16px; align-items: stretch; }
  .footer-logo img { width: 36px; height: 36px; }
}
@media (max-width: 600px) {
  .container { padding: 0 4vw; }
  .hero { padding-top: 24px; border-radius: 0 0 22px 0; }
  .cta { padding: 30px 6vw; border-radius: 13px; }
}
@media (max-width: 991px) {
  .main-menu { display: none !important; }
  .button-primary { display: none !important; }
  .mobile-menu-toggle { display: block; }
}
@media (min-width: 992px) {
  .mobile-menu-toggle,
  .mobile-menu { display: none !important; }
}

/* === ANIMATIONS === */
.button-primary, .card, .feature-grid > div, .testimonial-card, .cookie-banner, .cookie-modal {
  transition: box-shadow 0.22s, background 0.19s, color 0.17s, transform 0.18s;
}
*[tabindex]:focus {
  outline: 2px dashed #9DC431;
  outline-offset: 3px;
}

/* === VISUAL ENHANCEMENTS === */
hr {
  border: none;
  border-top: 2.5px solid #9DC43155;
  margin: 36px 0;
}
::-webkit-input-placeholder { color: #8BA686; opacity: 1; }
::-moz-placeholder          { color: #8BA686; opacity: 1; }
:-ms-input-placeholder      { color: #8BA686; opacity: 1; }
::placeholder              { color: #8BA686; opacity: 1; }

/* === SCROLLBAR STYLING (Optional artistic) === */
body::-webkit-scrollbar { width: 10px; background: #F5F7FA; }
body::-webkit-scrollbar-thumb { background: #9DC43188; border-radius: 9px; }
body::-webkit-scrollbar-thumb:hover { background: #265C35cc; }

/* === MISC / HELPER === */
.hide { display: none !important; }
[hidden] { display: none !important; }

/* === END OF STYLE.CSS === */
