:root {
  --default-font: "Roboto", sans-serif;
  --heading-font: "Raleway", sans-serif;
  --nav-font: "Poppins", sans-serif;

  --background-color: #eeeeee;
  --default-color: #272829;
  --heading-color: #45505b;
  --accent-color: #6d0077;
  --contrast-color: #eeeeee;

  --slide-height: 300px;
  --slide-gap: 16px;       
  --speed: 20s;  
}

body {
  color: var(--heading-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

/* Section Title */
.section-title {
  text-align: center;
  padding: 20px;
}
.section-title h2 {
  font-family: var(--heading-font);
  font-size: 35px;
  font-weight: 700;
  position: relative;
}
.section-title h2:before {
  content: "";
  position: absolute;
  width: 160px;
  height: 1px;
  background: color-mix(in srgb, var(--accent-color), transparent 60%);
  left: 0; right: 0; bottom: 1px;
  margin: auto;
}
.section-title h2::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  left: 0; right: 0; bottom: 0;
  margin: auto;
}

/* Section content */
.section {
  padding: 20px 0;
}
.description1, .description2 {
  display: flex;
  align-items: center;
  justify-content: center;
}
.description1 li,
.description2 p {
  font-size: 20px;
  font-family: var(--default-font);
}
.description2 p {
  text-align: center;
  color: var(--heading-color);
}
.descriptionKiosk {
  font-size: 23px;
  font-family: var(--default-font);
  display: flex;
  align-items: center;
  justify-content: center;
}
.descriptionKiosk ul li {
  margin: 20px;
}

/* AgroBot Photo slider*/
.slider{
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
  border-radius: 8px;
  background: transparent;
  padding: 8px 0;
}

.slide-track{
  display: flex;
  gap: var(--slide-gap);
  width: max-content;
  align-items: center;
  animation: scroll-left linear infinite;
  animation-duration: var(--speed);
}

.slide{
  flex: 0 0 auto;
  height: var(--slide-height);
}

.slide img{
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

@keyframes scroll-left{
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - var(--slide-gap)/2)); }
}

.slider:hover .slide-track{
  animation-play-state: paused;
}

@media (max-width: 600px){
  :root{ --slide-height: 100px; --speed: 14s; }
}

.feature-box {
  background: #f9f9f9;
  border-radius: 12px;
  transition: 0.3s;
}
.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}


/* Footer */
.footer {
  background-color: var(--background-color);
  color: var(--default-color);
  text-align: center;
  padding: 30px 0;
}
.footer h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
}
.footer .social-links {
  margin-bottom: 20px;
}
.footer .social-links a {
  width: 36px;
  height: 36px;
  margin: 0 4px;
  border-radius: 50%;
  background: var(--accent-color);
  color: var(--contrast-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}
.footer .social-links a:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}
.footer .copyright {
  font-size: 14px;
  padding-top: 10px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}
