/* main */
.parallax {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    position: relative;
}

.parallax::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.banner-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.banner-content {
    animation: fadeIn 2s ease-in-out;
    position: relative;
    z-index: 1;
}


.banner-title {
    font-size: 2.4rem;
    font-weight: bold;
    color: #fff;
}

.banner-subtitle {
    font-size: 1.5rem;
    margin-top: 15px;
    color: #fff;
}

.banner-btn {
    margin-top: 30px;
    padding: 10px 30px;
    font-size: 1.2rem;
    background-color: rgb(34, 51, 139);
    border: none;
    color: white;
    transition: background-color 0.3s ease;
}

.banner-btn:hover {
    background-color: #0056b3;
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}


.news-section {
    position: relative;
    overflow: hidden;
    background: transparent;
}

.news-item {
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(50px);
    border-radius: 15px;
    max-width: 700px;
    background-color: rgba(255, 255, 255, 0.5);
    transition: transform 0.4s ease, box-shadow 0.4s ease, background-color 0.4s ease;
    margin-left: 10px;
}


.news-items-scrollable {
    flex: 1;
    max-height: 400px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    padding-right: 10px;
}

.news-items-scrollable::-webkit-scrollbar {
    width: 5px;
}

.news-items-scrollable::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 4px;
}

.news-items-scrollable::-webkit-scrollbar-track {
    background-color: transparent;
    margin: 5px;
}


.news-item:hover {
    transform: translateY(-15px) scale(1.1) rotate(1deg);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.3);
    background-color: rgba(255, 255, 255, 0.7);
}

.news-item h4 {
    font-size: 1.0rem;
    margin-bottom: 8px;
}

.news-item p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 8px;
}


.parallax-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    z-index: -1;
    opacity: 0.4;
}


.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.animate-on-scroll.scroll-active {
    opacity: 1;
    transform: translateY(0);
}


.content-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.news-items {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}


.side-block-large {
    width: 640px;
    height: 435px;
    background-color: rgba(255, 255, 255, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px;
    position: relative;
}

.slider-container {
    width: 100%;
    height: 415px;
    overflow: hidden;
    border-radius: 10px;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    transition: opacity 1s ease-in-out;
}

.side-block-large img.side-block-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.side-block-large p {
    font-size: 1.2rem;
    color: #333;
}

button.prev, button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
}

button.prev {
    left: 10px;
}

button.next {
    right: 10px;
}



@media (max-width: 768px) {
    .parallax {
        height: 40vh;
    }

    .banner-title {
        font-size: 2rem;
    }

    .banner-subtitle {
        font-size: 1rem;
    }

    .banner-btn {
        font-size: 1rem;
        padding: 8px 20px;
    }


    .content-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .side-block-large {
        width: 100%;
        height: 286px;
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .banner-title {
        font-size: 1.3rem;
    }

    .banner-subtitle {
        font-size: 0.9rem;
    }

    .banner-btn {
        font-size: 0.9rem;
        padding: 8px 15px;
    }

    .news-item h4 {
        font-size: 0.9rem;
    }

    .news-item p {
        font-size: 0.8rem;
    }
}
/*main*/

/*card main_bottom*/
.product-image {
    width: auto;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

.sgroup-container {
    position: relative;
    width: 60%;
    height: 700px;
    margin: 10px auto 70px auto;
}

.sgroup {
    border-radius: 10px;
	position: absolute;
	z-index: 0;
	width: 50%;
	height: 50%;
	overflow: hidden;
	cursor: pointer;
	transform: scale(1);
	transition: all 500ms cubic-bezier(0.4, 0, 0.2, 1);
	background-size: cover;
    background-position: center;
}

.sgroup:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    transition: background-color 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

.sgroup:hover:after {
    content: "";
    background-color: rgba(0, 0, 0, 0.6);
}


.sgroup:nth-child(1) {
    top: 0;
    left: 0;
    margin-right: 20px;
}

.sgroup:nth-child(2) {
    top: 0;
    left: 50%;
    margin-left: 20px;
}

.sgroup:nth-child(3) {
    top: 50%;
    left: 0;
    margin-top: 20px;
}

.sgroup:nth-child(4) {
    top: 50%;
    left: 50%;
    margin-left: 20px;
    margin-top: 20px;
}

.sgroup.is-expanded {
	top: 0;
	left: 0;
	z-index: 100;
	width: 100%;
	height: 100%;
	cursor: initial;
}

.has-expanded-item .sgroup:not(.is-expanded) {
	transform: scale(0);
}

.close-sgroup {
	z-index: 1;
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	line-height: 1;
	font-size: 50px;
	text-align: center;
	color: #fff;
	opacity: 0;
	cursor: pointer;
	pointer-events: none;
	transition: opacity 150ms linear;
	will-change: opacity;
}

.sgroup.is-expanded .close-sgroup {
	opacity: 1;
	transition-delay: 500ms;
	pointer-events: initial;
}

.title-box {
	z-index: 1;
	position: relative;
	display: flex;
	padding: 0 20px;
	height: 100%;
	justify-content: center;
	align-items: center;
	text-align: center;
	color: #fff;
	font-size: 25px;
	font-weight: 600;
}

.sgroup.is-expanded:after {
	background-color: rgba(0,0,0,0.7);
}

.sgroup.is-expanded .title-box {
	justify-content: flex-start;
	height: auto;
	margin: 30px 40px;
}

.sgroup.is-expanded .info-box {
	z-index: 1;
	position: relative;
	display: flex;
	padding: 0 20px;
	height: 75%;
	overflow: hidden;
    align-items: center;
}

.info-box .info-col-1,
.info-box .info-col-2 {
	padding: 0 40px;
}

.info-box .info-col-1 {
	width: 40%;
}

.info-box .info-col-1 img {
	width: 100%;
}

.info-box .info-col-2 {
	width: 60%;
	max-height: 100%;
	overflow-y: auto;
	color: #FFF;
	font-size: 16px;
	line-height: 1.6;
	opacity: 0;
	font-family: Verdana, sans-serif;
	transition: opacity 0.5s linear 0.4s;
}

.sgroup.is-expanded .info-box .info-col-2 {
	opacity: 1;
}

.button-link {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: linear-gradient(to right, rgb(236, 99, 0), rgb(34, 51, 139));
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.button-link:hover {
    background: linear-gradient(to left, rgb(236, 99, 0), rgb(34, 51, 139));
}

@media screen and (max-width: 991px) {
	.title-box {
		font-size:18px;
	}
	.sgroup.is-expanded .info-box {
		flex-wrap: wrap;
	}
	.info-box .info-col-1 {
		display: none;
	}
	.info-box .info-col-2 {
		width: 100%;
	}
	.sgroup-container {
        margin: 8px auto 60px 12px;
        width: 90%;
        height: 450px;
	}
}

/*card main_bottom*/

/* about */
.about-content {
    background-color: #f0f0f0;
    padding: 40px 20px;
    color: #333;
    border-radius: 8px;
    max-width: 1200px;
    margin: 40px auto 20px;
    position: relative;
    z-index: 1;

    background-size: cover;
    background-position: center;
}

.about-content h1 {
    font-size: 1.8em;
}

.about-content h2 {
    font-size: 1.4em;
}

.about-content h3 {
    font-size: 1.2em;
}

.about-content p {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 20px;
}

.content-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    flex-wrap: wrap;
}

.text-block {
    flex: 1;
    padding-right: 20px;
    box-sizing: border-box;
}

.image-wrapper {
    max-width: 100%;
    flex-basis: 30%;
    box-sizing: border-box;
}

.about-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.director-name {
    margin-top: 10px;
    font-style: italic;
    text-align: center;
    color: #333;
    font-size: 1em;
}
.container .image-wrapper .director-name {
    font-size: 0.85em;
    line-height: 1.4;
}

    @media (max-width: 767px) {
        .desktop-only {
            display: none;
        }

        .mobile-only {
            display: block;
            margin-bottom: 20px;
        }
    }

    @media (min-width: 768px) {
        .mobile-only {
            display: none;
        }

        .desktop-only {
            display: block;
        }
    }


@media (min-width: 1200px) {
    .about-content {
        padding: 60px 20px;
        margin: 60px auto 20px;
    }

    .about-content h1 {
        font-size: 2em;
    }

    .about-content h2 {
        font-size: 1.5em;
    }

    .about-content h3 {
        font-size: 1.3em;
    }

    .about-content p {
        font-size: 1.1em;
        line-height: 1.8;
    }

    .image-wrapper {
        flex-basis: 30%;
    }
}
/* about */

/* content product */
.s-gallery .container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
}

.big-card {
    position: relative;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    cursor: pointer;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.big-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.big-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.big-card:hover .big-card-img {
    opacity: 0.8;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s ease;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
}

.big-card-title {
    font-size: 24px;
    margin-bottom: 10px;
}

    /* Блок с описанием category product */
.intro-block {
    grid-column: span 2;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.intro-title {
    font-size: 26px;
    font-weight: bold;
    color: #233163;
    margin-bottom: 10px;
}

.intro-text {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

.outro-block {
    grid-column: span 2;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.outro-text {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
}


@media (max-width: 767px) {
    .intro-block {
        grid-column: span 1;
        padding: 15px;
    }

    .intro-title {
        font-size: 22px;
    }

    .intro-text {
        font-size: 14px;
    }
}
    @media (max-width: 767px) {
    .outro-block {
        grid-column: span 1;
        padding: 15px;
    }

    .outro-text {
        font-size: 16px;
    }
}
/* Блок с описанием category product */


@media (max-width: 767px) {
    .s-gallery .container {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .big-card {
        height: 250px;
    }

    .big-card-title {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .big-card {
        height: 200px;
    }

    .big-card-title {
        font-size: 18px;
    }
}
/* content product */

/*product card*/
    .category-detail {
        padding: 50px 0;
        background-color: #f0f2f5;
        font-family: 'Roboto', sans-serif;
    }

    .category-title {
        font-size: 36px;
        color: #2c3e50;
        text-align: center;
        margin-bottom: 20px;
    }

    .category-description {
        font-size: 18px;
        color: #7f8c8d;
        text-align: center;
        margin-bottom: 40px;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }

    .parts-list {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }

    .part-item {
        background-color: #ffffff;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        max-width: 320px;
        text-align: center;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .part-item:hover {
        transform: translateY(-10px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    }

    .part-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        background-color: #f8f9fa;
        border-top: 1px solid #ececec;
    }

    .part-title {
        font-size: 20px;
        color: #34495e;
        margin: 0;
        font-weight: 500;
    }

    .new-badge {
        background-color: #e74c3c;
        color: #ffffff;
        padding: 5px 12px;
        border-radius: 12px;
        font-size: 14px;
    }

    .part-image-wrapper {
        position: relative;
    }

    .part-image {
        width: 100%;
        height: auto;
        display: block;
    }

    .part-description-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.7);
        color: #ffffff;
        padding: 10px;
        font-size: 14px;
        text-align: left;
        transform: translateY(100%);
        transition: transform 0.3s ease;
        opacity: 0;
    }

    .part-item:hover .part-description-overlay {
        transform: translateY(0);
        opacity: 1;
    }

    .part-info {
        padding: 15px 20px;
        font-size: 16px;
        color: #2c3e50;
    }

    .part-application, .part-lifespan {
        margin-bottom: 8px;
    }

    /* Адаптивный дизайн */
    @media (max-width: 768px) {
        .parts-list {
            flex-direction: column;
            align-items: center;
        }

        .part-item {
            max-width: 90%;
        }

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

        .category-description {
            font-size: 16px;
            padding: 0 20px;
        }

        .part-title {
            font-size: 18px;
        }

        .part-info {
            font-size: 14px;
        }

        .part-description-overlay {
            font-size: 12px;
            padding: 8px;
        }

        .new-badge {
            font-size: 12px;
            padding: 4px 10px;
        }
    }

    @media (max-width: 480px) {
        .part-title {
            font-size: 16px;
        }

        .part-info {
            font-size: 12px;
        }

        .category-description {
            font-size: 14px;
        }
    }
/*product card*/

/*Content Question  */
.services-section {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.services-section h1 {
    font-size: 24px;
    margin-bottom: 20px;
}

.services-section p {
    margin-bottom: 10px;
}

.services-section ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.services-section ul li {
    margin-bottom: 5px;
}

.faq details {
    margin-bottom: 10px;
}

.faq summary {
    font-weight: bold;
    cursor: pointer;
    padding: 10px;
    background-color: #f1f1f1;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.faq summary:hover {
    background-color: #e1e1e1;
}

.faq p {
    padding: 10px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
}
/*Content Question  */


/*news_detail*/
.ns-news-section {
    margin-top: 30px;
    padding: 40px 20px;
    background-color: #f9f9f9;
    font-family: 'Arial', sans-serif;
}

.ns-news-content h1 {
    margin-top: 10px;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.ns-short-description {
    font-size: 18px;
    color: #777;
    margin-bottom: 30px;
}

.ns-news-body {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.ns-news-text {
    flex: 1;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.ns-news-images {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.ns-news-images img {
    max-width: 50%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.ns-distributor-info {
    margin-top: 40px;
    padding: 20px;
    background-color: #fff;
    border-left: 4px solid #007bff;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .ns-news-content h1 {
        font-size: 20px;
    }

    .ns-news-body {
        flex-direction: column;
    }

    .ns-news-text {
        margin-bottom: 20px;
    }

    .ns-short-description {
        font-size: 16px;
    }
    .ns-news-images img {
        max-width: 100%;
    }

}
/*news_detail*/

/*info-block_left*/
 .side-panel {
        position: fixed;
        z-index: 9999;
        top: 10%;
        left: -320px;
        background-color: rgba(255, 255, 255, 0.5);
        transition: all 0.5s ease;
        width: 300px;
        height: 415px;
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.5);
        color: #000000;
        padding: 20px;
        font-family: 'Roboto', sans-serif;
        border-radius: 10px;
        margin-top: 10px;
    }

    .side-title {
        font-size: 18px;
        margin-bottom: 15px;
        border-bottom: 1px solid #BFE2FF;
        padding-bottom: 10px;
    }

    .side-button-2 {
        font-size: 24px;
        position: absolute;
        top: 10px;
        right: 10px;
        cursor: pointer;
        color: #BFE2FF;
        transition: all 0.3s ease;
    }

    .side-button-2:hover {
        color: #FFF;
    }

    p {
        font-size: 14px;
        line-height: 1.5;
    }

    @media (max-width: 768px) {
        .side-panel {
            display: none;
        }
    }
/*info-block_left*/


/*content_dataprotection*/
  .privacy-policy-container {
    max-width: 1200px;
    margin: 70px auto;
    padding: 30px 40px;
    background-color: #f9f9f9;
    border: 1px solid #e1e1e1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    border-radius: 10px;
    color: #333;
}

.privacy-policy-container h1 {
    color: #333;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    border-bottom: 1px solid #e1e1e1;
    padding-bottom: 10px;
}

.privacy-policy-container h2 {
    color: #555;
    font-size: 1.5rem;
    margin-top: 25px;
    margin-bottom: 15px;
    border-bottom: 1px solid #e1e1e1;
    padding-bottom: 5px;
}

.privacy-policy-container p {
    margin-bottom: 15px;
    text-align: justify;
}

.privacy-policy-container ul {
    margin: 20px 0;
    padding-left: 20px;
}

.privacy-policy-container ul li {
    margin-bottom: 10px;
}

.privacy-policy-container a {
    color: #007bff;
    text-decoration: none;
}

.privacy-policy-container a:hover {
    text-decoration: underline;
}
/*content_dataprotection*/


/*content_security-policies*/
.data-consent-container {
    max-width: 1200px;
    margin: 70px auto;
    padding: 20px;
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.data-consent-container h1 {
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
    color: #444;
}

.data-consent-container p {
    margin-bottom: 16px;
    text-align: justify;
}

.data-consent-container ul {
    list-style-type: disc;
    padding-left: 40px;
    margin-bottom: 20px;
}

.data-consent-container ul li {
    margin-bottom: 10px;
}

.data-consent-container li::marker {
    color: #888;
}
/*content_security-policies*/

/*form contact*/
.form-group_box {
    margin-bottom: 15px;
    position: relative;
}

.form-group_captcha{
    margin-bottom: 10px;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    padding-left: 30px;
}

.checkbox {
    position: absolute;
    right: 150px;
}

.checkbox-label {
    font-size: 0.8em;
    color: #333;
}

.agree-text {
    color: #555;
    font-size: 0.79em;
}

.checkbox-link {
    color: #007bff;
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.85em;
    margin-left: 3px;
}

.checkbox-link:hover {
    color: #0056b3;
    text-decoration: none;
}

.error {
    color: red;
    font-size: 0.8em;
    margin-top: 5px;
}
/*form contact*/


/* sflt-about-section */
.sflt-about-section {
    padding: 60px 120px; /* Padding */
    text-align: center;
}

.sflt-about-section p {
    font-weight: 300;
    font-style: italic;
    font-size: 20px;
    line-height: 1.3;
    color: #000000;
}

@media (max-width: 768px) {
    .sflt-about-section {
        padding: 30px 20px;
    }

    .sflt-about-section p {
        font-size: 15px;
        line-height: 1.45;
    }
}
/* sflt-about-section */