html, body {
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    /*outline: 1px solid red;*/
}
.bg-green-500 {
    --tw-bg-opacity: 1;
    background-color: rgb(34 197 94 / var(--tw-bg-opacity, 1));
}
.bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, #dcfce7, #bbf7d0);
}
.text-green-600 {
    --tw-text-opacity: 1;
    color: rgb(22 163 74 / var(--tw-text-opacity, 1))!important;
}
.fs-7 {
    font-size: 14px!important;
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff; /* Белый фон */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.loader-text{
    font-size: 1.5rem;
    font-weight: bold;
    color: #164824;
}

.loader-inner {
    text-align: center;
}

.loader-logo {
    height: 60px;
    width: 60px;
}

.circle-container {
    display: flex;
    justify-content: space-between;
    width: 130px;  /* Ширина контейнера с кружочками */
    margin-left: 60px;
}

.circle {
    width: 15px;
    height: 15px;
    background-color: #164824;
    border-radius: 50%;
    animation: horizontalWave 1.5s infinite ease-in-out;
}

/* Анимация горизонтального движения кружочков */
@keyframes horizontalWave {
    0% {
        transform: translateX(0); /* Начальная позиция (слева) */
    }
    50% {
        transform: translateX(30px); /* Положение на полпути (средняя точка) */
    }
    100% {
        transform: translateX(0); /* Возвращение в исходную позицию (слева) */
    }
}

/* Задержка для каждого кружка, чтобы они двигались по очереди */
.circle:nth-child(1) {
    animation-delay: 0s;
}

.circle:nth-child(2) {
    animation-delay: 0.2s;
}

.circle:nth-child(3) {
    animation-delay: 0.4s;
}

h1{
    color: #15803d!important;
    font-weight: 700!important;
}

.navbar{
    /*background: linear-gradient(to right, #2c6e49, #48a14d)!important;*/
    background: white;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.1);
    padding-left: 80px!important;
    padding-right: 80px!important;
    position: fixed!important;
    z-index: 1!important;
    width: 100%;
}
.navbar-toggler {
    border: none!important; /* Убирает бордер */
}
.lang-dropdown{
  //
}
.lang-dropdown .dropdown-toggle{
    background: white!important;
    color: #15803d;
    border-radius: 36px;
    padding: 2px 8px;
}
.lang-dropdown .dropdown-menu.show{
    min-width: 56px;
    background: none;
    border: none;
    border-radius: 0;
    padding-top: 0;
    padding-bottom: 0;
}
.lang-dropdown .dropdown-menu.show .dropdown-item{
    background: white!important;
    color: #15803d;
    padding: 2px 8px;
    border-radius: 36px;
    max-width: 54px;
    margin-top: 2px;
}

.nav-link{
color: #2c6e49!important;
}
.nav-link:hover {
    color: #22c55e;
    transform: scale(1.05);
    /*text-shadow: 0 0 10px rgba(34, 197, 94, 0.6);*/
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #22c55e, #86efac);
    transition: width 0.4s ease;
}
.nav-link:hover::after {
    width: 100%;
}

.hero {
    /*background: linear-gradient(rgba(26, 115, 60, 0.3), rgba(26, 115, 60, 0.3)), url('http://127.0.0.1:8000/assets/images/main-bg.png') center/cover no-repeat;*/
    background: url('https://greenprocessing.uz/assets/images/main-bg.png') center/cover no-repeat;
    /*background: linear-gradient(to right, #2c6e49, #48a14d)!important;*/
    color: white;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}




.section-title {
    font-size: 2.75rem;
    font-weight: 700;
    color: #15803d!important;
    margin-bottom: 2rem;
}

.animate-reveal {
    opacity: 0;
    transform: translateY(50px) scale(0.98);
    transition: opacity 1s ease-out, transform 1s ease-out;
}
.animate-reveal.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.angled-section {
    /*clip-path: polygon(0% 0%, 0% 100%, 100% 90%,  100% 10%);*/
    /*clip-path: polygon(0 10%, 100% 0, 100% 90%, 0 100%);*/
}
.about .card {
    animation-delay: 0.4s;
    border: none;
    padding: 1rem!important;
}
.card-3d {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    transform: perspective(1000px) rotateY(0deg);
    border: none;
}
.card-3d:hover {
    transform: perspective(1000px) rotateY(10deg) translateY(-20px);
    /*box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);*/
}


.production-section .step-card:hover {
    transform: scale(1.05);
    transition: all 0.3s ease;
}

.timeline-horizontal::-webkit-scrollbar {
    height: 6px;
}
.timeline-horizontal::-webkit-scrollbar-thumb {
    background-color: #198754;
    border-radius: 3px;
}

.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

.production-section-img {
    opacity: 0.1;
    object-fit: cover;
    pointer-events: none;
    z-index: 0;
}

.product-info li {
    margin-bottom: 8px; /* отступ между элементами */
    line-height: 1.6;
}


.partners-img-box img{
    height: 120px;
}
.partners-img-box p{
    color: #15803d!important;
}

.partner-logo {
    transition: transform 0.4s ease, filter 0.4s ease;
}

.partners-img-box:hover img {
    transform: scale(1.15);
    filter: brightness(1.3);
}

.partners-img-box:hover p {
    color: #c0392b; /* например, бордовый */
    transform: scale(1.05);
}
.partners-img-box img,
.partners-img-box p {
    transition: all 0.4s ease;
}

.map-box{
    border: 8px solid white;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    overflow: hidden;
}
.contact-us{
    background: #F9F8F3;
}
.certifications h1{
    padding-bottom: 25px;
    text-align: center;
}
.certification-box{
    height: 200px;
    width: 280px;
}
.certification-box img{
    width: 90%;
}
.footer-link {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #d4f5d4;
    text-decoration: underline;
}
.footer-widget-title{
    margin-top: 0;
    margin-bottom: 1.25rem;
    color: #FFFFFF;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.5;
    font-family: "Russo One", sans-serif !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.footer-widget-title:before{
    content: '|';
    width: 10px;
    display: inline-block;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.014em;
    color: #ffffff;
}
.accordion-button:focus {
    box-shadow: none!important; /* Убираем фокус */
}

#backToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 24px;
    background-color: #00A859;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    pointer-events: none;
    transform: translateX(100px);
    transition: opacity 0.9s ease, transform 0.9s ease;
    z-index: 999;
}

#backToTop.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

#backToTop:hover {
    background-color: #00894A;
}

@media (min-width: 721px) {
    nav a {
        color: white;
        text-decoration: none;
        margin-left: 20px;
        font-weight: 600 !important;
    }
}
@media (max-width: 1359px) {
    .navbar{
        padding-left: 10px!important;
        padding-right: 10px!important;
    }
}

@media (max-width: 767px) {
    h1, .section-title {
        font-size: 1.75rem !important;
    }
    .navbar-toggler:focus {
        box-shadow: none!important;
    }

    .hero {
        height: auto;
        padding: 4rem 1rem;
        text-align: center;
    }

    .navbar {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .navbar-collapse .navbar-nav {
        padding-top: 15px;
    }

    .product-card img,
    .card-3d img {
        height: auto !important;
    }

    .contact-us h1 {
        font-size: 1.5rem;
    }

    .about .position-absolute {
        position: relative !important;
        bottom: auto !important;
        margin-top: 1rem;
    }

    .production-section-img {
        object-position: center;
    }

    .partners-img-box img {
        height: 60px!important;
    }

    .partners-img-box p{
        font-size: 14px!important;
    }
}

@media (max-width: 576px) {
    .navbar-brand img {
        height: 34px;
        width: 34px;
    }
    .navbar-brand span {
        font-size: 16px;
    }
    .hero {
        padding: 150px 8px 100px 8px;

    }
    .hero h1 {
        font-size: 28px !important;
        max-width: 245px;
    }
    .hero p {
        font-size: 16px;
    }
    .about .position-absolute {
        position: relative !important;
        bottom: auto !important;
        margin-top: 1rem;
    }
    .about h2 {
        margin-bottom: 12px!important;
    }
    .about p {
        padding-bottom: 12px;
        margin-bottom: 0!important;
    }
    .about .order-1 p:not(:first-of-type) {
        border-top: 1px solid #22222226;
        padding-top: 10px;
    }

    .timeline-horizontal {
        gap: 1rem !important;
        padding: 0 1rem !important;
    }

    .step-card {
        width: 130px !important;
    }

    .partners-img-box img {
        height: 45px!important;
    }

    .partners-img-box {
        font-size: 10px!important;
    }

    .footer-bottom {
        flex-direction: column!important;
        justify-content: center!important;
    }
    .footer-bottom p {
        font-size: 14px;
        text-align: center!important;
    }
    .footerAccordion .accordion-item {
        border: 0!important;
    }
    .footerAccordion .accordion-button {
        padding-left: 0;
    }
    .footerAccordion .accordion-button:after {
        background-image: url("data:image/svg+xml;charset=UTF-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'><path fill-rule='evenodd' d='M1.5 5.5l6.5 6.5 6.5-6.5-.7-.7L8 10.6 2.2 4.8z'/></svg>") !important;
    }
}



