 :root {
     --primary: #005f73;
     --primary-light: rgba(0, 95, 115, 0.1);
     --secondary: #0a9396;
     --accent: #94d2bd;
     --light: #e9d8a6;
     --dark: #001219;
     --white: #ffffff;
     --gray: #f8f9fa;
     --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
 }

.imgIcon{
    width: 50px;
    height: 50px;
    margin-bottom: 35px;
}

.one_c {
    color:var(--light);
    margin-bottom: 25px;
    font-size:30px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.3s
}

.two_c {
     font-size: 1.5rem;
     color: white;
     margin-bottom: 2.5rem;
     opacity: 0;
     transform: translateY(30px);
     animation: fadeInUp 1s forwards 0.6s;

}


 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
     font-family: 'Montserrat', sans-serif;
 }

 body {
     background-color: var(--gray);
     color: var(--dark);
     overflow-x: hidden;
 }

 /* Стильный хедер */
 .header {
     position: fixed;
     top: 0;
     left: 0;
     right: 0;
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 1.5rem 5%;
     background-color: #203745;
     backdrop-filter: blur(10px);
     z-index: 1000;
     box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
     transition: var(--transition);
 }

 .header.scrolled {
     padding: 1rem 5%;
     background: rgba(0, 95, 115, 0.98);
 }

 .logo {
     height: 50px;
     transition: var(--transition);
 }

 .nav-container {
     display: flex;
     align-items: center;
     gap: 2rem;
 }

 .nav-links {
     display: flex;
     gap: 2rem;
 }

 .nav-links a {
     position: relative;
     color: var(--white);
     text-decoration: none;
     font-weight: 500;
     font-size: 1rem;
     padding: 0.5rem 0;
     transition: var(--transition);
 }

 .nav-links a::after {
     content: '';
     position: absolute;
     bottom: 0;
     left: 0;
     width: 0;
     height: 2px;
     background: var(--accent);
     transition: var(--transition);
 }

 .nav-links a:hover::after {
     width: 100%;
 }

 .login-icon {
     color: var(--white);
     font-size: 1.5rem;
     cursor: pointer;
     transition: var(--transition);
 }

 .login-icon:hover {
     transform: scale(1.1);
     color: var(--accent);
 }

 .burger-menu {
     display: none;
     flex-direction: column;
     justify-content: space-between;
     width: 30px;
     height: 21px;
     cursor: pointer;
     z-index: 1001;
 }

 .burger-menu span {
     display: block;
     height: 3px;
     width: 100%;
     background: var(--white);
     border-radius: 3px;
     transition: var(--transition);
 }

 /* Герой секция с параллакс эффектом */
 .hero {
     position: relative;
     height: 100vh;
     min-height: 600px;
     /* overflow: hidden; */
     /* display: flex;
     align-items: center;
     justify-content: center; */
     margin-top: 80px;
 }

 .hero::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: linear-gradient(to right, rgba(0, 31, 41, 0.8), rgba(0, 95, 115, 0.6));
     z-index: 1;
 }

 .hero-image {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     object-fit: cover;
     z-index: 0;
     transform: scale(1);
     transition: transform 10s ease;
 }

 .hero:hover .hero-image {
     transform: scale(1.05);
 }

 .hero-content {
     position: relative;
     z-index: 2;
     top: 100px;
     left: 10%;
     max-width: 1200px;
 }

 .hero-title {
     font-size: 1.7rem;
     font-weight: 800;
     color: var(--white);
     margin-bottom: 1.5rem;
     line-height: 1.2;
     text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
     opacity: 0;
     transform: translateY(30px);
     animation: fadeInUp 1s forwards 0.3s;
 }

.image-text {
    position: absolute;
    top: 35%;
    right: 10%;
    transform: translateY(-50%);
    color: white;
    font-size: 48px;
    font-weight: bold;
    text-transform: uppercase;
    max-width: 500px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    white-space: pre-line;
    z-index: 1;
}

.letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s forwards;
}



 @keyframes fadeInUp {
     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 .hero-subtitle {
     font-size: 1.5rem;
     color: var(--light);
     margin-bottom: 2.5rem;
     opacity: 0;
     transform: translateY(30px);
     animation: fadeInUp 1s forwards 0.6s;
 }

 .hero-button {
     display: inline-flex;
     align-items: center;
     justify-content: center;
     padding: 1rem 2.5rem;
     background: var(--accent);
     color: var(--dark);
     border: none;
     border-radius: 50px;
     font-size: 1.1rem;
     font-weight: 600;
     text-transform: uppercase;
     letter-spacing: 1px;
     cursor: pointer;
     transition: var(--transition);
     box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
     opacity: 0;
     transform: translateY(30px);
     animation: fadeInUp 1s forwards 0.9s;
     overflow: hidden;
     position: relative;
 }

 .hero-button:hover {
     transform: translateY(-5px);
     box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
 }

 .hero-button::before {
     content: '';
     position: absolute;
     top: 0;
     left: -100%;
     width: 100%;
     height: 100%;
     background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
     transition: 0.5s;
 }

 .hero-button:hover::before {
     left: 100%;
 }

 /* О компании */
 .about-section {
     padding: 6rem 5%;
     background: var(--white);
     position: relative;
     overflow: hidden;
 }

 .about-container {
     display: flex;
     align-items: center;
     justify-content: space-between;
     max-width: 1200px;
     margin: 0 auto;
     gap: 4rem;
 }

 .about-title {
     font-size: 3rem;
     font-weight: 700;
     color: var(--primary);
     margin-bottom: 1.5rem;
     position: relative;
     display: inline-block;
 }

 .about-title::after {
     content: '';
     position: absolute;
     bottom: -10px;
     left: 0;
     width: 60%;
     height: 4px;
     background: var(--accent);
 }

 .about-text {
     font-size: 1.1rem;
     line-height: 1.8;
     color: var(--dark);
     margin-bottom: 2rem;
 }

 .about-button {
     display: inline-flex;
     align-items: center;
     padding: 0.8rem 2rem;
     background: transparent;
     color: var(--primary);
     border: 2px solid var(--primary);
     border-radius: 50px;
     font-size: 1rem;
     font-weight: 600;
     cursor: pointer;
     transition: var(--transition);
 }

 .about-button:hover {
     background: var(--primary);
     color: var(--white);
     transform: translateY(-3px);
     box-shadow: 0 10px 20px rgba(0, 95, 115, 0.2);
 }

 .about-image {
     position: relative;
     flex: 1;
     max-width: 500px;
     border-radius: 20px;
     overflow: hidden;
     box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
     transform: perspective(1000px) rotateY(-10deg);
     transition: var(--transition);
 }

 .about-image:hover {
     transform: perspective(1000px) rotateY(0deg);
 }

 .about-image img {
     width: 100%;
     height: auto;
     display: block;
 }

 /* Категории продукции */
 .products-section {
     padding: 6rem 5%;
     background: linear-gradient(135deg, var(--gray) 0%, var(--white) 100%);
     position: relative;
 }

 .section-title {
     text-align: center;
     font-size: 2.5rem;
     font-weight: 700;
     color: var(--primary);
     margin-bottom: 3rem;
     position: relative;
 }

 .section-title::after {
     content: '';
     position: absolute;
     bottom: -15px;
     left: 50%;
     transform: translateX(-50%);
     width: 80px;
     height: 4px;
     background: var(--accent);
 }

 .products-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
     gap: 2rem;
     max-width: 1200px;
     margin: 0 auto;
 }

 .product-category {
  min-height: calc(100% + 40px); /* Увеличиваем высоту */
  height: 100%; /* Для правильной работы min-height */
}

 .product-category {
     position: relative;
     border-radius: 15px;
     overflow: hidden;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
     transition: var(--transition);
     height: 300px;
     perspective: 1000px;
 }

 .product-category:hover {
     transform: translateY(-10px);
     box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
 }

 .category-front,
 .category-back {
     position: absolute;
     width: 100%;
     height: 100%;
     backface-visibility: hidden;
     transition: var(--transition);
     display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: center;
     padding: 2rem;
     text-align: center;
 }

 .category-front {
     background: var(--white);
     z-index: 2;
 }

 .category-back {
     background: var(--primary);
     color: var(--white);
     transform: rotateY(180deg);
     z-index: 1;
 }

 .product-category:hover .category-front {
     transform: rotateY(180deg);
 }

 .product-category:hover .category-back {
     transform: rotateY(0deg);
 }

 .category-icon {
     font-size: 3rem;
     margin-bottom: 1.5rem;
     color: var(--primary);
 }

 .category-title {
     font-size: 1.3rem;
     font-weight: 600;
     margin-bottom: 1rem;
 }

 .category-description {
     font-size: 0.9rem;
     line-height: 1.6;
 }

 .back-item {
     margin-bottom: 1rem;
     font-weight: 500;
 }

 /* Слайдер */
 .slider-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.slider {
    display: flex;
    transition: transform 0.5s ease, opacity 0.3s ease;
}

.slider.fade {
    opacity: 0;
}

.slider.fade-in {
    opacity: 1;
}

.slide-card {
    flex: 0 0 100%;
    padding: 0 15px;
    box-sizing: border-box;
}

.card-image {
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.slide-card:hover .card-image img {
    transform: scale(1.05);
}

.card-text {
    padding: 1.5rem;
    background: white;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card-text h3 {
    margin-top: 0;
    color: #005f73;
}

.slider-nav {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 1rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background: #005f73;
    transform: scale(1.2);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 95, 115, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
}

.slider-btn:hover {
    background: #005f73;
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}



.cta-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
}

/* Стили анимации */
.cta-content {

    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-content.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Остальные стили (оформление) */
.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2.5rem;
    background: var(--white);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
}

.button-icon {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.cta-button:hover .button-icon {
    transform: translateX(5px);
}

.cta-bonus {
    display: inline-flex;
    align-items: center;
    margin-top: 1.5rem;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50px;
}

.bonus-icon {
    margin-right: 10px;
}



 /* Футер */
 .footer {
     background: white;
     color: black;
     padding: 4rem 5% 2rem;
 }

 .footer-container {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
     gap: 3rem;
     max-width: 1200px;
     margin: 0 auto;
 }

 .footer-logo {
     font-size: 1.8rem;
     font-weight: 700;
     margin-bottom: 1.5rem;
     color: var(--white);
 }

 .footer-about {
     font-size: 0.95rem;
     line-height: 1.8;
     margin-bottom: 1.5rem;
     opacity: 0.8;
 }

 .social-links {
     display: flex;
     gap: 1rem;
 }

 .social-link {
     display: flex;
     align-items: center;
     justify-content: center;
     width: 40px;
     height: 40px;
     border-radius: 50%;
     background: rgba(255, 255, 255, 0.1);
     color: var(--white);
     transition: var(--transition);
 }

 .social-link:hover {
     background: var(--accent);
     color: var(--dark);
     transform: translateY(-3px);
 }

 .footer-title {
     font-size: 1.2rem;
     font-weight: 600;
     margin-bottom: 1.5rem;
     position: relative;
 }

 .footer-title::after {
     content: '';
     position: absolute;
     bottom: -8px;
     left: 0;
     width: 40px;
     height: 2px;
     background: var(--accent);
 }

 .footer-links {
     list-style: none;
 }

 .footer-link {
     margin-bottom: 0.8rem;
 }

 .footer-link a {
     color: black;
     text-decoration: none;
     transition: var(--transition);
     font-size: 0.95rem;
 }

 .footer-link a:hover {
     color: var(--accent);
     padding-left: 5px;
 }

 .footer-contact {
     display: flex;
     align-items: center;
     margin-bottom: 1rem;
     font-size: 0.95rem;
     opacity: 0.8;
 }

 .footer-contact i {
     margin-right: 1rem;
     color: var(--accent);
 }

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: black;
    font-weight: 600;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.management-link {
    color: black;
    text-decoration: none;
    font-weight: 600;
}

.management-link:hover {
    text-decoration: underline;
}

.logoFooter {
    height: 150px;
}

 /* Кнопка "Наверх" */
 .back-to-top {
     position: fixed;
     bottom: 30px;
     right: 30px;
     width: 50px;
     height: 50px;
     background: var(--primary);
     color: var(--white);
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 1.5rem;
     cursor: pointer;
     transition: var(--transition);
     opacity: 0;
     visibility: hidden;
     z-index: 999;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
 }

 .back-to-top.active {
     opacity: 1;
     visibility: visible;
 }

 .back-to-top:hover {
     background: var(--secondary);
     transform: translateY(-5px);
     box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
 }


 .floating {
     animation: float 6s ease-in-out infinite;
 }

 /* Анимации */
 @keyframes float {

     0%,
     100% {
         transform: translateY(0);
     }

     50% {
         transform: translateY(-20px);
     }
 }

 .floating {
     animation: float 6s ease-in-out infinite;
 }

.language-selector {
    display: inline-block;
    margin-right: 20px;
}

#languageDropdown {
    padding: 5px 10px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: #fff;
    cursor: pointer;
}

 /* Адаптивность */
 @media (max-width: 992px) {
     .about-container {
         flex-direction: column;
         text-align: center;
     }

     .about-title::after {
         left: 50%;
         transform: translateX(-50%);
     }

     .about-image {
         max-width: 100%;
         transform: none;
     }

     .slide-card {
         flex: 0 0 33.333%;
     }
 }

 @media (max-width: 768px) {
     .nav-links {
         position: fixed;
         top: 0;
         right: -100%;
         width: 80%;
         height: 100vh;
         background: var(--primary);
         flex-direction: column;
         align-items: center;
         justify-content: center;
         gap: 2rem;
         transition: var(--transition);
         z-index: 1000;
     }

     .nav-links.active {
         right: 0;
     }

     .burger-menu {
         display: flex;
     }

     .burger-menu.active span:nth-child(1) {
         transform: rotate(45deg) translate(5px, 5px);
     }

     .burger-menu.active span:nth-child(2) {
         opacity: 0;
     }

     .burger-menu.active span:nth-child(3) {
         transform: rotate(-45deg) translate(7px, -6px);
     }

     .hero-title {
         font-size: 1rem;
     }

     .hero-subtitle {
         font-size: 1.2rem;
     }

     .section-title {
         font-size: 2rem;
     }

     .slide-card {
         flex: 0 0 50%;
     }

       .products-grid {
    grid-template-columns: 1fr; /* Одна колонка на мобильных */
    gap: 4rem; /* Увеличиваем отступ между рядами */
  }

  /* Дополнительный margin для каждого элемента */
  .product-category {
    margin-bottom: 1.5rem; /* Добавляем отступ снизу */
  }

  /* Убираем лишний отступ у последнего элемента */
  .product-category:last-child {
    margin-bottom: 0;
  }

      .cta-title {
        font-size: 2rem;
    }
    .cta-subtitle {
        font-size: 1rem;
    }
 }

 @media (max-width: 576px) {
     .hero-title {
         font-size: 1.3rem;
     }

     .two_c{
        font-size: 1.3rem;
     }

     .about-title {
         font-size: 2rem;
     }

     .section-title {
         font-size: 1.8rem;
     }

     .footer-container {
         grid-template-columns: 1fr;
     }

     .line_none {
        display: none;
     }
 }