/* Базові стилі */

body { font-family: 'Inter', sans-serif; margin: 0; padding: 0; overflow-x: hidden; }

.header { position: fixed; top: 0; width: 100%; background: white; display: flex; justify-content: space-between; align-items: center; padding: 10px 0px; z-index: 1000; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }

.logo { font-weight: 700; font-size: 20px; }

.menu { list-style: none; display: flex; gap: 20px; }

.menu li a { text-decoration: none; color: #333; font-weight: 600; }

.burger { display: none; cursor: pointer; font-size: 24px; }

.intro { height: 100vh; background: url('yagrocontinental.jpg') center/cover no-repeat; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: white; background-attachment: fixed; }

.intro h1 { font-size: 48px; }

.btn { background: #028858; padding: 12px 25px; color: white; border-radius: 8px; text-decoration: none; margin-top: 20px; display: inline-block; transition: background 0.3s ease; }

.btn:hover { background: #036c46; }

section { padding: 100px 20px; }

.fade-in { opacity: 0; transform: translateY(20px); transition: all 1s ease; }

.fade-in.visible { opacity: 1; transform: translateY(0); }

.slider { overflow: hidden; position: relative; }

.slide { display: none; font-size: 18px; text-align: center; padding: 20px; }

.slide.active { display: block; }

#preloader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: white; z-index: 2000; display: flex; align-items: center; justify-content: center; font-size: 24px; color: #028858; }

footer { text-align: center; padding: 20px; background: #eee; }

@media (max-width: 768px) {

  .menu { display: none; flex-direction: column; background: white; position: absolute; top: 60px; left: 0; right: 0; }

  .menu.active { display: flex; }

  .burger { display: block; }

}
.intro {
  position: relative;          /* щоб псевдо-елемент позиціонувався відносно .intro */
  overflow: hidden;
  background: url('agrocontinental.jpg') center/cover no-repeat;
  background-attachment: fixed;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

/* псевдо-елемент для оверлею */
.intro::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.4);  /* чорний 40% прозорості */
  /* або для сірого: background: rgba(128,128,128,0.4); */
  pointer-events: none;         /* щоб клікалися елементи під оверлеєм */
}

/* контент банера зверху */
.intro > * {
  position: relative;           /* щоб текст був над оверлеєм */
  z-index: 1;
}
@media (min-width: 1024px) {
  /* Якщо секції лежать всередині flex-контейнера, примусово зробимо їх блоковими по 100% */
  #truck,
  #agro,
  #industrial {
    display: block !important;
    flex: 0 0 33% !important;
  }
}
@media (min-width: 1024px) {
  .sections {
    display: flex;
	        background: bisque;
  }
}
nav {
    padding: 0px 20px 0 0px;
}
form {
    display: flex
;
    flex-direction: column;
}
.about-us {
  padding: 50px 20px;
  background-color: #f8f9fa;
  color: #333;
  font-family: 'Arial', sans-serif;
}

.about-us .container {
  max-width: 1200px;
  margin: 0 auto;
}

.about-us h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 30px;
  color: #2c3e50;
}

.about-us p {
  text-align: center;
  font-size: 18px;
  margin-bottom: 40px;
  line-height: 1.6;
}

.about-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 20px;
}

.about-item {
  flex: 1 1 300px;
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s;
}

.about-item:hover {
  transform: translateY(-5px);
}

.about-item h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #3498db;
}

.about-item p {
  font-size: 16px;
  line-height: 1.5;
}
.about-us {
  padding: 50px 20px;
  background: #ffffff;
  color: #333;
  font-family: 'Arial', sans-serif;
}

.about-us .container {
  max-width: 1200px;
  margin: 0 auto;
}

.about-us h1, .about-us h2, .about-us h3 {
  color: #2c3e50;
  margin-top: 30px;
  margin-bottom: 15px;
}

.about-us p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.about-us ul {
  margin: 20px 0;
  padding-left: 20px;
}

.about-us ul li {
  margin-bottom: 10px;
  font-size: 16px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
}

.comparison-table th,
.comparison-table td {
  border: 1px solid #ddd;
  padding: 15px;
  text-align: center;
}

.comparison-table th {
  background-color: #3498db;
  color: white;
}

.comparison-table tr:nth-child(even) {
  background-color: #f2f2f2;
}
.contact-block {
  padding: 50px 20px;
  background-color: #f1f5f9;
  font-family: 'Arial', sans-serif;
  color: #2c3e50;
  text-align: center;
}

.contact-block .container {
  max-width: 600px;
  margin: 0 auto;
}

.contact-block h2 {
  font-size: 32px;
  margin-bottom: 30px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 18px;
}

.contact-list li {
  margin-bottom: 15px;
}

.contact-list a {
  color: #3498db;
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}
section.form_map {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    justify-content: center;
}
.map, form {
    flex: 1 1;
}
form button {
    padding: 10px !important;
    font-size: 15px;
    line-height: 22px;
    margin-bottom: 10px;
    background: #249124;
    color: white;
    border: 0px;
    width: 33%;
	background: #028858;
    padding: 12px 25px;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    margin-top: 20px;
    display: inline-block;
    transition: background 0.3s ease;
}
input, select, textarea {
    padding: 10px !important;
    font-size: 15px;
    line-height: 22px;
    margin-bottom: 10px;
    /* color: black; */
}
.logo {
    font-weight: 700;
    font-size: 20px;
    padding: 0px 0px 0 20px;
}
.logo img {
    max-width: 50%;
}
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    overflow: auto;
    overflow-y: scroll;
    max-width: 100%;
    display: block;
}
.about-us h1, .about-us h2, .about-us h3 {
    color: #2c3e50;
    margin-top: 30px;
    margin-bottom: 15px;
    text-align: center;
}
@media(max-width:1024px){
	section.form_map {
    flex-direction: column-reverse;
}
form button{
	width:100%
}
}
.menu{
    justify-content: end
}
nav{
	
	width:100%;
}
.it-services {
  padding: 60px 20px;
  background: #f9f9f9;
  font-family: 'Inter', sans-serif;
  color: #2b2b2b;
}

.it-services .brand {
  color: #388e3c;
  font-weight: 700;
}

.it-services h1 {
  font-size: 2.4rem;
  margin-bottom: 10px;
  text-align: center;
}

.it-services .lead {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1.2rem;
}

.services-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.service-card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  transition: transform 0.3s ease;
  flex: 1 1 calc(33.333% - 30px); /* 3 в ряд */
  min-width: 280px;
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #388e3c;
}

.service-card ul {
  padding-left: 20px;
  list-style-type: disc;
}

.contact-cta {
  margin-top: 50px;
  text-align: center;
  background: #e8f5e9;
  padding: 30px;
  border-radius: 12px;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
.service-card:last-child {
  align-items: center;
  display: flex
;
  flex-direction: column;
  /* max-width: 50%; */
}
/* контейнер щоб центровано */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* сітка рішень */
.solutions-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* кожна картка рішення */
.solution-card {
  flex: 1 1 calc(33.333% - 20px);
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}
.solution-card:hover {
  transform: translateY(-5px);
}
.solution-card h3 {
  margin-top: 0;
  color: #388e3c;
}
/* контейнери */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* сітка переваг */
.benefits-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-top: 30px;
}

/* кожна картка переваги */
.benefit-card {
  flex: 1 1 calc(25% - 20px); /* 4 в рядку */
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}
.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.benefit-card h3 {
  margin-top: 0;
  color: #388e3c;
}
.benefit-card p {
  margin-bottom: 0;
  color: #555;
}
.solution-card:last-child {
  display: flex
;
  flex-direction: column;
  align-items: center;
}
.benefit-card:last-child {
  display: flex
;
  flex-direction: column;
  align-items: center;
}
h2{
  text-align: center;
}
/* Адаптація для планшетів */
@media (max-width: 992px) {
  .benefit-card {
    flex: 1 1 calc(50% - 20px);
  }
}

/* Адаптація для мобільних */
@media (max-width: 600px) {
  .benefit-card {
    flex: 1 1 100%;
  }
}
