/* ...existing code... */

/* SITE HEADER */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
}

.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-logo {
  display: block;
  width: auto;
  height: 100px;
  object-fit: contain;
}

@media (max-width:640px) {
  .site-logo {
    height: 34px;
  }

  .tagline {
    display: none;
  }

  /* compact header on small screens */
}

.brand-link .tagline {
  display: block;
  font-size: 0.8rem;
  color: #3a6b4f;
  opacity: .85;
}

/* NAV */
.main-nav a {
  margin-left: 18px;
  color: #0b5b35;
  font-weight: 500;
}

.main-nav a:first-child {
  margin-left: 0;
}

/* Responsive: stack nav on small screens */
@media (max-width: 640px) {
  .site-header .header-inner {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  .main-nav a {
    margin-left: 0;
    margin-right: 12px;
    display: inline-block;
  }
}

/* FOOTER */
.site-footer {
  background: #f7f9f7;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  padding: 18px 0;
  margin-top: 28px;
}

.site-footer .footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer .footer-info p {
  margin: 0 0 6px 0;
  color: #264c36;
}

.site-footer a {
  color: #0b6b3f;
}

/* small screens: center stacked footer */
@media (max-width: 640px) {
  .site-footer .footer-inner {
    text-align: left;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Social icon block used in header/footer */
.social {
  display: flex;
  gap: 10px;
  align-items: center;
}

.social .social-link {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  color: inherit;
  opacity: 0.95;
}

.social .social-link svg {
  width: 20px;
  height: 20px;
  fill: #0b6b3f;
  transition: transform .12s ease, opacity .12s ease;
}

.social .social-link:hover svg {
  transform: scale(1.08);
  opacity: 0.85;
}

/* header placement adjustments */
.header-inner {
  align-items: center;
}

.header-inner .social {
  margin-left: 12px;
}

/* footer placement */
.footer-inner {
  gap: 12px;
  align-items: center;
}

.footer-social {
  margin-left: auto;
}

/* small screens: stack nav + social */
@media (max-width:640px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .footer-social {
    margin-left: 0;
  }
}

/* Auto-scrolling gallery (continuous marquee) */
.auto-gallery {
  padding: 18px 0;
}

.gallery-viewport {
  overflow: hidden;
  width: 100%;
  --item-gap: 14px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.4));
  padding: 12px;
}

/* track that moves left continuously */
.gallery-track {
  display: flex;
  gap: var(--item-gap);
  align-items: center;
  /* animation controls speed: increase duration to slow down */
  animation: gallery-scroll linear infinite;
  animation-duration: 24s;
  will-change: transform;
  /* allow focus for keyboard pause */
  outline: none;
}

/* pause animation when hovered or focused */
.gallery-viewport:hover .gallery-track,
.gallery-track:focus,
.gallery-track.pause {
  animation-play-state: paused !important;
}

/* each item */
.gallery-item {
  flex: 0 0 auto;
  width: 320px;
  /* thumbnail width on desktop */
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(3, 30, 12, 0.06);
  background: #fff;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 195px;
  object-fit: cover;
  vertical-align: middle;
}

/* smaller screens */
@media (max-width: 900px) {
  .gallery-item {
    width: 320px;
  }

  .gallery-item img {
    height: 240px;
  }

  .gallery-track {
    animation-duration: 20s;
  }
}

@media (max-width: 480px) {
  .gallery-item {
    width: 140px;
  }

  .gallery-item img {
    height: 100px;
  }

  .gallery-track {
    animation-duration: 16s;
  }
}

/* keyframes: moves track left by 50% (since we duplicated items) */
@keyframes gallery-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }

  /* looped content is 2x, so -50% cycles seamlessly */
}

/* About Us section */
.aboutus {
  margin-top: 25px;
}
.about-image img{
  width: auto;
  height: 400px;
}