:root {
    --primary-dark: #225D2D;
    --primary-light: #94B506;
    --accent-yellow: #F3C10A;
    --accent-pink: #E07F9E;
    --bg-light: #F4F2E6;
    --white: #FFFFFF;
    --black: #000000;
    --gray: #666666;
    --border-light: #D9D9D9;
    --font-heading: 'Unbounded', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
    color: var(--black);
    background: var(--white);
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.header {
    background: var(--primary-dark);
    border-radius: 12px;
    padding: 14px 0;
    margin: 10px;
}

.navbar {
    padding: 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon svg {
    width: 133px;
    height: 46px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--white);
    text-transform: uppercase;
}

.navbar-collapse {
    flex-grow: 0;
}

.navbar-nav {
    gap: 30px;
}

.nav-link {
    color: var(--white) !important;
    font-size: 16px;
    padding: 0 !important;
}

.nav-link:hover {
    color: var(--primary-light) !important;
}

.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.btn {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-outline-custom {
    border: 1.5px solid var(--primary-light);
    color: var(--primary-light);
    background: transparent;
}

.btn-outline-custom:hover {
    background: transparent;
    border-color: var(--accent-yellow);
    color: var(--accent-yellow);
}

.btn-primary-custom {
    background: var(--primary-light);
    color: var(--white);
    border: none;
}

.btn-primary-custom:hover {
    background: var(--accent-yellow);
    color: var(--white);
}

.btn-outline-dark {
    border: 1.5px solid var(--primary-dark);
    color: var(--primary-dark);
}

.btn-outline-dark:hover {
    background: var(--primary-dark);
    color: var(--white);
}

.hero {
    position: relative;
    background: linear-gradient(180deg, var(--primary-dark) 30.79%, var(--primary-light) 191.72%);
    border-radius: 12px;
    margin: 10px;
    min-height: auto;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
}

.hero-circle-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-yellow);
    right: 100px;
    top: 30%;
    opacity: 0.7;
}

.hero-circle-2 {
    width: 300px;
    height: 300px;
    background: var(--primary-light);
    left: 50%;
    top: 50%;
    opacity: 0.5;
}

.hero-circle-3 {
    width: 250px;
    height: 250px;
    background: var(--accent-pink);
    right: 20%;
    bottom: 10%;
    opacity: 0.5;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 0;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 0 0 auto;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 70px;
    font-weight: 500;
    color: var(--white);
    text-transform: uppercase;
    line-height: 1.2;
}

.hero-slider-wrap {
    flex: 0 0 auto;
    width: 600px;
    height: 450px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: -100px;
}

.hero-slider-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero-circle-slider {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
}

.hero-circle-s-1 {
    width: 400px;
    height: 400px;
    background: #F3C10A;
    right: 50px;
    top: 20%;
    opacity: 0.6;
}

.hero-circle-s-2 {
    width: 300px;
    height: 300px;
    background: #E07F9E;
    left: 30%;
    top: 40%;
    opacity: 0.5;
}

.hero-slider {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-item {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-item img {
    object-fit: cover;
}

.slider-item-center {
    width: 450px;
    height: 450px;
    z-index: 3;
    animation: fadeInCenter 0.8s ease-in-out;
}

.slider-item-center img {
    width: 100%;
    height: 100%;
}

.slider-item-left {
    left: 10px;
    top: 200px;
    width: 200px;
    height: 200px;
    z-index: 2;
    transform: rotate(-45deg);
    filter: blur(8px);
    opacity: 0.9;
    animation: fadeInLeft 0.8s ease-in-out;
}

.slider-item-left img {
    width: 100%;
    height: 100%;
}

.slider-item-center {
    width: 450px;
    height: 450px;
    z-index: 3;
    animation: fadeInCenter 0.8s ease-in-out;
}

.slider-item-center img {
    width: 100%;
    height: 100%;
}

.slider-item-right {
    right: 10px;
    top: 200px;
    width: 200px;
    height: 200px;
    z-index: 2;
    transform: rotate(45deg);
    filter: blur(8px);
    opacity: 0.9;
    animation: fadeInRight 0.8s ease-in-out;
}

.slider-item-right img {
    width: 100%;
    height: 100%;
}

@keyframes fadeInCenter {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px) rotate(-45deg);
    }
    to {
        opacity: 0.9;
        transform: translateX(0) rotate(-45deg);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px) rotate(45deg);
    }
    to {
        opacity: 0.9;
        transform: translateX(0) rotate(45deg);
    }
}

.slider-item-left img {
    width: 100%;
    height: 100%;
}

.slider-item-right {
    right: 10px;
    top: 200px;
    width: 200px;
    height: 200px;
    z-index: 2;
    transform: rotate(45deg);
    filter: blur(8px);
    opacity: 0.9;
    animation: fadeInRight 0.8s ease-in-out;
}

.slider-item-right img {
    width: 100%;
    height: 100%;
}

@keyframes fadeInCenter {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px) rotate(-45deg);
    }
    to {
        opacity: 0.9;
        transform: translateX(0) rotate(-45deg);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px) rotate(45deg);
    }
    to {
        opacity: 0.9;
        transform: translateX(0) rotate(45deg);
    }
}

.slider-item.sliding-out {
    animation: slideOut 0.8s ease-in-out forwards;
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.8);
    }
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 0 50px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 50px;
    color: var(--primary-dark);
    text-transform: uppercase;
}

.section-title-dark {
    color: var(--primary-dark);
}

.products-section {
    padding: 0 10px;
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 0 1px var(--border-light);
    transition: all 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 0 15px -1px rgba(0, 0, 0, 0.15);
}

.product-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.product-card-body {
    padding: 16px;
}

.product-card-title {
    font-family: var(--font-body);
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 6px;
}

.product-card-text {
    font-size: 18px;
    color: var(--black);
    margin: 0;
}

.about-section {
    background: var(--bg-light);
    border-radius: 12px;
    margin: 10px;
    padding: 60px 254px;
}

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

.about-img {
    width: 100%;
    height: 383px;
    object-fit: cover;
    border-radius: 12px;
}

.clients-section {
    padding: 60px 10px;
}

.client-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 0 1px var(--border-light);
}

.client-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.client-card-body {
    padding: 16px;
}

.client-card-title {
    font-family: var(--font-body);
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 6px;
}

.client-card-text {
    font-size: 18px;
    line-height: 1.5;
}

.advantages-section {
    background: var(--primary-dark);
    border-radius: 12px;
    margin: 10px;
    padding: 60px 254px;
}

.advantage-card {
    text-align: center;
    padding: 20px;
}

.advantage-icon {
    font-size: 48px;
    color: var(--primary-light);
    margin-bottom: 15px;
}

.advantage-title {
    font-family: var(--font-body);
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.advantage-text {
    font-size: 16px;
    color: var(--white);
    opacity: 0.8;
    margin: 0;
}

.production-section,
.cooperation-section {
    padding: 60px 10px;
}

.production-text p,
.cooperation-text p {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.production-img {
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

.production-section .row {
    align-items: center;
}

.production-img-1 {
    height: 350px;
    width: 200px;
}

.production-img-2,
.production-img-3 {
    height: 160px;
    width: 200px;
}

.contact-section {
    background: var(--primary-dark);
    border-radius: 12px;
    margin: 10px;
    padding: 60px 254px;
}

.contact-subtitle {
    font-size: 18px;
    color: var(--white);
    opacity: 0.8;
}

.contact-form .form-control {
    padding: 12px 16px;
    border-radius: 6px;
    border: 1px solid var(--border-light);
    font-size: 16px;
}

.contact-form .form-control:focus {
    box-shadow: none;
    border-color: var(--primary-light);
}

.contact-form .form-label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
}

.form-note {
    font-size: 12px;
    color: var(--white);
    opacity: 0.7;
    margin-bottom: 8px;
}

.footer {
    background: var(--primary-dark);
    border-radius: 12px;
    margin: 10px;
    padding: 40px 10px 20px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--white);
    text-transform: uppercase;
}

.footer-tagline {
    color: var(--white);
    opacity: 0.7;
    margin-top: 10px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a {
    color: var(--white);
    font-size: 16px;
}

.footer-nav a:hover {
    color: var(--primary-light);
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-link {
    color: var(--white);
    font-size: 16px;
}

.contact-link:hover {
    color: var(--primary-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p,
.footer-bottom a {
    color: var(--white);
    font-size: 14px;
    opacity: 0.7;
}

.catalog-header {
    padding: 60px 10px 30px;
}

.catalog-title {
    font-family: var(--font-heading);
    font-size: 50px;
    color: var(--primary-dark);
    text-transform: uppercase;
    margin-bottom: 30px;
}

.catalog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn-filter {
    background: var(--bg-light);
    color: var(--primary-dark);
    border: 1.5px solid var(--primary-dark);
    padding: 10px 20px;
}

.btn-filter.active,
.btn-filter:hover {
    background: var(--primary-dark);
    color: var(--white);
}

.catalog-section {
    padding: 0 10px 60px;
}

.catalog-category {
    margin-bottom: 50px;
}

.category-title {
    font-family: var(--font-heading);
    font-size: 30px;
    color: var(--primary-dark);
    text-transform: uppercase;
    margin-bottom: 30px;
}

@media (max-width: 991px) {
    .header {
        margin: 10px;
    }

    .navbar-collapse {
        background: var(--primary-dark);
        padding: 15px;
        border-radius: 12px;
        margin-top: 10px;
    }

    .navbar-nav {
        gap: 15px;
        margin-bottom: 15px;
    }

    .hero-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .hero-slider-wrap {
        width: 100%;
        height: 350px;
        margin-top: 30px;
    }

    .slider-item-center {
        width: 280px;
        height: 280px;
    }

    .slider-item-left,
    .slider-item-right {
        width: 200px;
        height: 200px;
    }

    .hero-title {
        font-size: 40px;
    }

    .section-title {
        font-size: 36px;
    }

    .section-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .about-section,
    .advantages-section,
    .contact-section {
        padding: 40px 20px;
    }

    .about-text p,
    .production-text p,
    .cooperation-text p {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .header {
        margin: 10px 5px;
        padding: 10px 0;
    }

    .logo-icon svg {
        width: 80px;
        height: 28px;
    }

    .logo-text {
        font-size: 16px;
    }

    .hero {
        margin: 5px;
        min-height: auto;
    }

    .hero-wrapper {
        flex-direction: column;
        padding: 30px 15px;
    }

    .hero-slider-wrap {
        width: 100%;
        height: 280px;
        margin-top: 20px;
    }

    .slider-item-center {
        width: 200px;
        height: 200px;
    }

    .slider-item-left,
    .slider-item-right {
        width: 150px;
        height: 150px;
    }

    .hero-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 28px;
    }

    .product-card-title,
    .client-card-title,
    .advantage-title {
        font-size: 18px;
    }

    .product-card-text,
    .client-card-text,
    .advantage-text {
        font-size: 14px;
    }

    .about-img {
        height: 250px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .catalog-title {
        font-size: 32px;
    }

    .btn-filter {
        padding: 8px 16px;
        font-size: 14px;
    }

    .category-title {
        font-size: 24px;
    }
}