.stranici a{
    text-decoration: none;
    color: black;
    transition: all 0.2s ease-in-out;
    border: 1px solid transparent;
}
* {
  margin: 0;
  padding: 0;
   box-sizing: border-box;
}
.stranici{
    display: flex;
    gap: 30px;
    justify-content: center;
    padding: 20px;
    width: 100%;   
    font-family: Nunito;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
}
.stranici a.glav{
    color: orange;
    border-bottom: 1px solid orange;
    font-weight: 600;
}
.stranici a:hover{
    color: orange;
    border-bottom: 1px solid orange;   
}
.burger {
    display: none;
    width: 35px;
    height: 26px;
    flex-direction: column;
    justify-content: space-between;
    position: fixed;
    top: 15px;
    left: 20px;
    z-index: 1001;
    cursor: pointer;
}

.burger span {
    display: block;
    height: 4px;
    background: #000;
    border-radius: 2px;
    transition: 0.3s ease;
}

/* АНИМАЦИЯ КРЕСТИКА */
.burger.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}
.burger.active span:nth-child(2) {
    opacity: 0;
}
.burger.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

.whowe{
    padding: 200px 100px;
    background-color: rgb(215, 216, 216);
    background-image: url('Gemini_Generated_Image_h2wveah2wveah2wv.png');
    background-position: center;
    background-size: cover;
}
.whowe-title{
    font-size: 60px;
    color: orange;
}
.whowe-desc{
    font-size: 23px;
}
.history{
    padding: 150px 90px;
}

.timeline{
    display: flex;
    gap: 60px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    height: 100%;
}

.event{
    flex: 0 0 auto;   
    width: 600px;
    border-left: 3px solid orange;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    cursor: grab;
    /* УДАЛИТЕ ЭТУ СТРОКУ, она фиксирует высоту: height: 300px; */
    min-height: 300px; /* Задаем минимальную высоту, чтобы не "схлопнулось" */
    padding-top: 30px; /* Добавляем вертикальные отступы */
    padding-bottom: 20px;
}

.timeline::-webkit-scrollbar {
    display: none;
}

.event-year{
    font-size: 130px;
    font-weight: 800;
    color: orange;
   
    left: 0;
 
    pointer-events: none;
}
.timeline-container h1{
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
    color: rgb(79, 79, 79);
}

.event-desc{
    font-size: 25px;
    font-weight: 600;
    z-index: 2;
    color: white;
    width: 100%; /* Текст должен занимать 100% ширины */
    padding-left: 10px;
    background-color: rgba(255, 166, 0, 0.861);
}


.title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.scroll-buttons {
    display: flex;
    gap: 10px;
}

.scroll-btn {
    background: orange;
    border: none;
    color: white;
    padding: 10px 15px;
    font-size: 22px;
    cursor: pointer;
    border-radius: 12px;
    font-weight: 700;
    transition: 0.2s;
}

.scroll-btn:hover {
    background: rgb(255, 140, 0);
}

.scroll-btn:active {
    transform: scale(0.95);
}
.section-produce {
    max-width: 1250px;
    margin: 0 auto;
    padding: 100px 20px;
    font-family: "Inter", sans-serif;
}

.section-produce h2 {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0e2c18;
}

.section-produce p.subtitle {
    font-size: 20px;
    max-width: 900px;
    margin-bottom: 40px;
    color: #1b1b1b;
}

.produce-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 30px;
}

.produce-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

.produce-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    z-index: -1;
}

.produce-card .overlay {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    z-index: 500;

}

.produce-card h3 {
    color: #fff;
    font-size: 28px;
    margin: 0;
    font-weight: 500;
}

.produce-card .btn {
    background: #5fa88a;
    padding: 10px 22px;
    color: #fff;
    border-radius: 10px;
    font-size: 16px;
    text-decoration: none;
    transition: 0.2s ease;
}

.produce-card .btn:hover {
    background: #4c8f73;
}
.pro-card{
    font-size: 30px;
    font-weight: 600;
    border-right: 2px solid orange;
    border-bottom: 2px solid orange;
    border-bottom-right-radius: 20px;
}
.subtitle b{
    color: orange;
}
.pb-title{
    font-size: 50px;
    font-weight: 700;
    color: #0e2c18;
    margin-bottom: 20px;
}
.pb-rasp{
    font-size: 30px;
    font-weight: 600;
    color: #0e2c18;
    margin-bottom: 15px;
}
.produce-base{
    font-family: "Inter", sans-serif;
    margin-bottom: 10px;
    padding: 100px 122px;
    display: flex;
    gap: 100px;
    color: #0e2c18;
}
.pb-text{
    font-size: 25px;
    display: flex;
    align-items: center;
}
.pb-text b{
    color: orange;
    font-size: 70px;
    margin-right: 10px;
    font-weight: 900;
}
.stat-card {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 30px;
    background-size: cover;
    background-position: center;
    background-image: url('Gemini_Generated_Image_jb69ivjb69ivjb69.png'); /* замени фото */
    box-shadow: 0 12px 35px rgba(0,0,0,0.1);
}

/* Нижний градиент как в твоих карточках */
.stat-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.55), transparent);
    z-index: 1;
}

.stat-card-content {
    
    z-index: 2;
    color: #fff;
}

.stat-card .big-number {
    font-size: 50px;
    font-weight: 800;
    margin: 0;
    padding: 0;
}

.stat-card .text-sub {
    font-size: 20px;
    opacity: 0.9;
}

.stat-card .btn {
    background: #5fa88a;
    padding: 12px 26px;
    border-radius: 12px;
    color: #fff;
    font-size: 17px;
    text-decoration: none;

    z-index: 2;
    transition: 0.25s;
}

.stat-card .btn:hover {
    background: #638b7a;
}

/* Адаптив */
@media (max-width: 768px) {
    .stat-card {
        height: 270px;
        padding: 22px;
    }
    
    .stat-card .big-number {
        font-size: 42px;
    }
}
.social{
    display: flex;
    gap: 20px;
    padding: 100px 123px;
    color: #0e2c18;
    font-family: "Inter", sans-serif;
}
.social-desc{
    font-size: 25px;
    margin-top: 40px;
    border-top: 2px solid  rgb(4, 120, 6);
    border-left:  2px solid  rgb(4, 120, 6);
    border-bottom: 2px solid orange;
    border-right: 2px solid orange;
    border-radius: 20px;
    padding: 10px;
}
.social-text{
    width: 100%;
    display: flex;
    flex-direction: column;

}
.social-title{
    font-size: 45px;
    font-weight: 900;
    color: #0e2c18;

}
.social-opis{
    font-size: 25px;
    font-weight: 600;
    color: #0e2c18;
    margin-top: 10px;
}

.social-cards{
    display: grid;
    grid-template-columns: repeat(2, 300px);
    gap: 20px;
}
.soc-card{
    font-size: 25px;
    flex-direction: column;
    display: flex;
    padding: 10px;
    align-items: center; text-align: center;
    font-family: Nunito;
    height: max-content;
}
.soc-card img{
    width: 100px;

}
.sb1{
    border: 2px solid orange;
    border-radius: 30px;


}
.sb2{
    border: 2px solid rgb(4, 120, 6);
    border-radius: 30px;
    
}


.mission{
    padding: 150px 100px;
    display: flex;
    gap: 40px;
        background-image: url('Gemini_Generated_Image_j99gn1j99gn1j99g.png');
        background-size: cover;
}
.mission-title{
    font-size: 50px;
    font-weight: 700;
    color: orange;
    margin-bottom: 20px;
}
.mission-desc{
    font-size: 35px;
    font-weight: 600;
    color: #0e2c18;
    margin-bottom: 15px;
}
/* --- Секция Ценности --- */
.section-cennosti {
    padding: 100px 50px; /* Оптимальные отступы */
    background-color: #fff; /* Или ваш фон */
}

.section-cennosti b {
    display: block;
    text-align: center; /* Центрируем заголовок */
    font-size: 55px;
    color: darkorange;
    margin-bottom: 50px; /* Отступ от заголовка до карточек */
}

/* СЕТКА (GRID) */
.list {
    display: grid;
    /* 3 колонки одинаковой ширины */
    grid-template-columns: repeat(3, 1fr); 
    /* 2 ряда с фиксированной высотой 250px (можно 280px, если текста много) */
    grid-template-rows: repeat(2, 280px); 
    gap: 10px; /* Расстояние между карточками */
    max-width: 1400px; /* Ограничение по ширине, чтобы на больших экранах не растягивалось слишком сильно */
    margin: 0 auto; /* Центрирование сетки */
}

/* --- ОБЩИЙ СТИЛЬ ДЛЯ ВСЕХ КАРТОЧЕК (Текст и Картинки) --- */
/* Объединяем стили, чтобы они были одинаковыми */
.list-card, .list-img, .list-img1 {
    width: 100%;
    height: 100%;
    border-radius: 5px !important; /* Скругляем ВСЕ углы одинаково */
    overflow: hidden; /* Обрезаем всё, что вылезает (важно для картинок!) */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); /* Мягкая тень */}

/* Эффект при наведении (опционально, для красоты) *
/* --- СТИЛИ ТЕКСТОВЫХ КАРТОЧЕК --- */
.list-card {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    color: white;
    font-size: 40px; /* Чуть меньше 40px, чтобы влезало */
    font-weight: 600;
    line-height: 1.2;
    box-sizing: border-box;
}

/* Цвета карточек */
/* Используем nth-child для сетки, чтобы задать цвета */
/* 1. Качество */
.list :nth-child(3) { background-color: #0e2c18; } 
/* 2. Стабильность */
.list :nth-child(2) { background-color: #b6b6b6; }
/* 5. Уважение (это 5-й элемент в HTML) */
.list :nth-child(5) { background-color: darkorange; }
/* 6. Технологии (это 6-й элемент в HTML) */
.list :nth-child(4) { background-color: rgb(38, 38, 67); }


/* --- СТИЛИ КАРТИНОК --- */
.list-img, .list-img1 {
    padding: 0; /* Убираем отступы */
    background: none; /* Убираем фоновый цвет, так как там картинка */
}

.list-img img, .list-img1 img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Изображение заполняет блок, не искажаясь */
    display: block;
}
.list-img{
    background-image: url('zelrisu.png');
    background-size: cover;
    
}
.list-img1{
    background-image: url('sini.png');
    background-size: cover;
}
.site-footer {
    background-color: #f5f5f5; /* светло-серый фон */
    color: #4d4d4d;
    padding: 60px 90px 30px 90px;
    font-family: Arial, sans-serif;
}

.footer-container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-column h3 {
    color: orange; /* акцент на оранжевом */
    font-size: 22px;
    margin-bottom: 15px;
}

.footer-column p,
.footer-column li {
    font-size: 16px;
    line-height: 1.6;
}

.footer-column ul {
    list-style: none;
    padding-left: 0;
}

.footer-column li::before {
    content: "•";
    color: orange;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.footer-bottom {
    border-top: 1px solid #ddd;
    padding-top: 15px;
    text-align: center;
    font-size: 14px;
    color: #777;
}
.timefon1{
    background-image: url('t1967.jpg');
    
}.timefon2{
    background-image: url('t1980.jpg');
    background-size: cover;
    
}.timefon3{
    background-image: url('t1990.png');
     background-size: cover;
     background-position: center;
    
}.timefon4{
    background-image: url('t2000.png');
     background-size: cover;
     background-position: center;
    
}.timefon5{
    background-image: url('segodnya.png');
     background-size: cover;
     background-position: center;
    
}

/* --- Стили для кнопки меню (скрыта на ПК) --- */
.menu-toggle {
    display: none; /* Скрываем на десктопе */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001; /* Поверх всего */
    padding: 0;
    position: relative; 
}

.menu-toggle .icon-bar {
    width: 100%;
    height: 3px;
    background-color: #0e2c18; /* Темно-зеленый цвет полосок */
    border-radius: 3px;
    transition: 0.3s;
}

/* Анимация крестика при открытии */
.menu-toggle.active .icon-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
.menu-toggle.active .icon-bar:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active .icon-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

@media (max-width: 1300px){
    .stat-card{
        display: flex;
        flex-direction: column;
        justify-content: end;
        align-items: flex-start;
        gap: 10px;
    }
}
@media (max-width: 940px) {
    .burger {
        display: flex;
    }

    .stranici {
        position: fixed;
        top: 0;
        left: -100%;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 20px;
        padding: 80px 20px;
        width: 70%;
        height: 100%;
        background: white;
        box-shadow: 3px 0 10px rgba(0,0,0,0.2);
        transition: 0.3s ease;
        z-index: 1000;
    }

    .stranici a {
        font-size: 20px;
    }

    .stranici.active {
        left: 0;
    }
  
}
@media (max-width: 1124px){
    .produce-base{
        flex-direction: column;
        gap: 20px;
    }
    .stat-card{
        height: 400px;
    }
    .social{
        flex-direction: column;
        padding: 150px 50px;
    }
    .social-text{
        width: 100%;
    }
    .social-cards{
        grid-template-columns: repeat(3, 1fr);
      
    }
    .produce-base{
        padding: 100px 50px;
    }
    .section-cennosti{
        padding: 100px 50px;
    }
    .history{
        padding: 100px 50px;
    }
    .list-card{
        font-size: 25px;
    }
    .overlay{
        display: block;
    }
    .event-year{
        padding-left: 20px;
    }
}

@media (max-width: 910px){
    .pro-card{
        border-left: 2px solid green;
        background-color: #f5f5f5;
        border-top: 2px solid green;
        border-radius: 5px;
        padding: 10px;
    }
}
@media (max-width: 777px){
        .social-cards{
        grid-template-columns: repeat(2, 1fr);
      
    }
    .history{
        padding: 150px 20px;
    }
    .list{
        grid-template-columns: repeat(2,1fr);
        grid-template-rows: repeat(3,200px);
    }
    .mission{
        padding: 150px 30px;
    }
    .whowe{
        padding: 100px 30px;
    }
    .section-produce h2{
        font-size: 45px;
    }
}
@media (max-width: 670px){
    .social-cards{
        flex-direction: column;
        display: flex;
    }
    .soc-card{
        display: flex;
        flex-direction: row;
        gap: 20px;
        text-align: left;
    }
    .section-cennosti{
        padding: 100px 10px;
    }
    .section-produce{
                padding: 100px 10px;
    }
    .produce-grid{
        gap: 10px;
    }
    .event{
        width: 500px;
    }
}

@media (max-width: 565px){
    .pb-title{
        font-size: 40px;
    }
    .produce-base{
        padding: 100px 20px;
    }
    .social{
        padding: 100px 20px;
    }
    .site-footer{
        padding:50px 20px;
    }
        .event{
        width: 500px;
    }
    .event-year{
        font-size: 100px;
    }
    .event-desc{
        font-size: 23px;
    }
    .mission-desc{
        font-size: 25px;
    }
}
@media (max-width: 465px){
    .pb-title{
        font-size: 35px;
    }
    .list{
        flex-direction: column;
        display: flex;
    }
    .list-img{
        padding: 100px;
        background-position: 0 50px 100px 50px;
    }
        .list-img1{
        padding: 100px;
        background-position: 0 50px 100px 50px;
    }
  
    .produce-card {
        width: 100%;
    }
    .produce-grid{
        flex-direction: column;
        display: flex;
    }
        .event{
        width: 400px;
    }
    .event-year{
        font-size: 80px;
        padding-left: 10px;
    }

}
@media (max-width: 400px){
    .title-row{
        flex-direction: column;
        align-items: flex-start;
    }
    .pro-card{
        font-size: 25px;
    }
    .pb-title{
        font-size: 30px;
        
    }
    .pb-text{
        font-size: 20px;
    }
    .pb-rasp{
        font-size: 25px;
    }
    .soc-card{
        flex-direction: column;
        text-align: center;
    }
    .section-produce h2{
        font-size: 40px;
    }
}