/*
 * Rahane Agritech — site-specific overrides.
 * Loaded after agriox.css (the template stylesheet), which is left untouched.
 */

/* ==========================================================================
   Header: logo left · menu centred · contact right (desktop)
   Mobile (<1200px) keeps the template layout: logo left, menu toggler right.
   ========================================================================== */
@media (min-width: 1200px) {
  .main-header--one__bottom-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }

  .main-header--one__bottom-middel {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    position: static;
    transform: none;
  }

  .main-header--one__bottom .main-menu--1 {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
  }

  .main-header--one__bottom-left {
    float: none;
  }

  .main-header--one__bottom-right {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }

  /* Sticky header shown on scroll: same arrangement */
  .stricky-header .main-menu__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }

  .stricky-header .stricky-one-logo {
    grid-column: 1;
    justify-self: start;
  }

  .stricky-header .main-header--one__bottom-left {
    grid-column: 2;
    justify-self: center;
  }
}

/* ==========================================================================
   Images: size by layout, not by file size (photos are stored at 2x for
   sharp retina screens)
   ========================================================================== */
.about-three__img-box-img-inner img {
  display: block;
  width: 100%;
  max-width: 570px;
  height: auto;
}

.testimonials-one__single-client-info-img-inner {
  width: 90px;
  height: 90px;
}

.testimonials-one__single-client-info-img-inner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-one__top {
  padding: 90px 0 60px;
}

.site-footer__col {
  margin-bottom: 40px;
}

/* Decorative footer artwork overhangs into the bottom bar (the top padding
   was reduced above); never let it intercept clicks on the legal links. */
.footer-one__bg {
  pointer-events: none;
}

.footer-one__bottom {
  z-index: 2;
}

.site-footer__logo {
  display: inline-block;
  margin-bottom: 22px;
}

.site-footer__logo img {
  width: 190px;
  max-width: 100%;
  height: auto;
}

.site-footer__tagline {
  color: #b3c5b5;
  font-size: 16px;
  line-height: 28px;
  max-width: 360px;
  margin: 0 0 26px;
}

.site-footer__social {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 15px;
  transition: background-color 200ms linear, color 200ms linear;
}

.site-footer__social a:hover,
.site-footer__social a:focus-visible {
  background: var(--agriox-base, #f1cf69);
  color: var(--agriox-primary, #334b35);
}

/* Section headings: reset template spacing so all columns line up */
.site-footer__col .footer-widget__title {
  font-size: 22px;
  line-height: 30px;
  margin: 6px 0 24px;
}

.site-footer__col .footer-widget__explore-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__col .footer-widget__explore-list-item {
  margin-bottom: 14px;
}

.site-footer__contact {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  color: #b3c5b5;
  font-size: 16px;
  line-height: 26px;
}

.site-footer__contact li:last-child {
  margin-bottom: 0;
}

.site-footer__contact i {
  flex: 0 0 18px;
  margin-top: 5px;
  color: var(--agriox-base, #f1cf69);
  font-size: 15px;
  text-align: center;
}

.site-footer__contact a,
.site-footer__contact span {
  color: #ffffff;
  transition: color 200ms linear;
}

.site-footer__contact a:hover {
  color: var(--agriox-base, #f1cf69);
}

/* Bottom bar */
.footer-one__bottom {
  padding: 22px 0;
}

.footer-one__bottom-inner {
  gap: 12px 24px;
  flex-wrap: wrap;
}

.footer-one__bottom-text p,
.site-footer__legal a {
  font-size: 15px;
  margin: 0;
}

.site-footer__legal {
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__legal a {
  color: #ffffff;
  font-weight: 500;
  transition: color 200ms linear;
}

.site-footer__legal a:hover {
  color: var(--agriox-base, #f1cf69);
}

@media (min-width: 992px) {
  /* Quick Links sits closer to the centre of the footer */
  .site-footer__col--links {
    padding-left: 40px;
  }
}

@media (max-width: 767px) {
  .footer-one__top {
    padding: 70px 0 40px;
  }

  .footer-one__bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .site-footer__legal {
    justify-content: center;
  }
}
