.main-nav {
background: linear-gradient(135deg, #ffd70024 0%, #FFA500 100%);
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: fixed;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    transition: all 0.3s ease;
    z-index: 1000;
}

.main-nav .logo {
    margin-left: 20px;
    flex: 0 0 auto;
}

.main-nav .logo img {
    max-height: 40px;
    transition: transform 0.3s ease;
}

.main-nav.scrolled {
    padding: 8px;
}

.main-nav.scrolled .logo img {
    transform: scale(0.85);
}

.main-nav .nav {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.main-nav .nav li {
    margin: 0 10px;
    list-style: none;
}

.main-nav .nav li a {
    color: #333;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: block;
}

.main-nav .nav li a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: #000;
}

.main-nav .nav li a.active {
    background: #333;
    color: #FFD700;
}

.desktop-border-button {
    display: block;
}

.mobile-border-button {
    display: none !important;
}

.menu-trigger {
    display: none;
    color: #333;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    margin-right: 20px;
    text-decoration: none;
}



@media (max-width: 991px) {
    .main-nav .nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #FFD700;
        padding: 20px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .main-nav .nav.active {
        display: flex;
    }

    .main-nav .nav li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }

    .menu-trigger {
        display: block;
    }

    .desktop-border-button {
        display: none !important;
    }

    .mobile-border-button {
        display: block !important;
    }
}

.hero-section {
    position: relative;
    min-height: 600px;
    z-index: 1;
    background-size: cover;
    background-position: center;
    padding: 100px 0;
}
.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: opacity 1s ease-in-out;
    z-index: -2;
    opacity: 0; /* По умолчанию скрыты */
}

.background-image.active {
    opacity: 1; /* Показать активное изображение */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Затемнение */
    z-index: -1;
}

.container {
    position: relative;
    z-index: 1;
}
.content-box {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 40px;
    margin-top: 50px;
}

.description-side h2 {
    color: #333;
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.description-side p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.feature-list li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #FFD700;
    position: absolute;
    left: 0;
}

.form-side {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-control {
    border: 2px solid #eee;
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.form-control:focus {
    border-color: #FFD700;
    box-shadow: 0 0 0 0.2rem rgba(255, 215, 0, 0.25);
}

.btn-submit {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    color: #333;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

@media (max-width: 991px) {
    .content-box {
        margin: 20px;
    }

    .description-side {
        margin-bottom: 30px;
    }
}

.services-section {
    background-image: url('/static/images/fon2.jpg');
    background-size: cover; /* Изображение покрывает всю секцию */
    background-position: center; /* Центрирование фона */
    background-attachment: fixed; /* Параллакс-эффект при прокрутке */
    position: relative;
    padding: 60px 0; /* Отступы для секции */

}


.service-card {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%; /* Forces equal height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}


.service-card:hover {
    transform: translateY(-10px);
}

.service-card i {
    font-size: 3rem;
    color: #FFD700;
    margin-bottom: 20px;
}

.process-step {
    text-align: center;
    padding: 30px 20px;
    position: relative;
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateY(-10px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-weight: bold;
    font-size: 24px;
    color: #333;
    position: relative;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.process-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

.process-step h4 {
    color: #333;
    margin: 15px 0;
    font-weight: 600;
}

.process-step p {
    color: #666;
    line-height: 1.6;
}

.step-number.highlight {
    transform: scale(1.2);
    background: linear-gradient(135deg, #FFA500 0%, #FFD700 100%);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6);
}

/* Add connecting lines between steps */
.process-step::after {
    content: '';
    position: absolute;
    top: 60px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #FFD700 0%, #FFA500 100%);
    z-index: 0;
}

.process-step:last-child::after {
    display: none;
}

@media (max-width: 991px) {
    .process-step::after {
        display: none;
    }

    .process-step {
        margin-bottom: 30px;
    }
}

/* Add a subtle background pattern */
.process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    background-size: 20px 20px;
    opacity: 0.3;
    z-index: 0;
}

.footer {
    background: #333;
    color: white;
}

.footer h5 {
    color: #FFD700;
    margin-bottom: 20px;
}

.footer a {
    color: white;
    text-decoration: none;
}

.social-links a {
    font-size: 1.5rem;
}

.social-links a:hover {
    color: #FFD700;
}
.social-links-vk a {
    font-size: 1.5rem;
}

.social-links-vk a:hover {
    color: #028cf2;
}
.social-links-tg a {
    font-size: 1.5rem;
}

.social-links-tg a:hover {
    color: #2137bd;
}
.social-links-wh a {
    font-size: 1.5rem;
}

.social-links-wh a:hover {
    color: #32a817;
}
.contact-icon {
  font-size: 2.5rem;
  margin: 0 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.contact-icon:hover {
  transform: scale(1.1);
}
.contact-icon.phone { color: #28a745; background-color: #e9f7ef; }
.contact-icon.telegram { color: #0088cc; background-color: #e5f6fd; }
.contact-icon.whatsapp { color: #25d366; background-color: #e7f8ed; }
.contact-icon.viber { color: #665CAC; background-color: #f0eef6; }
#contactForm {
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  margin-top: 20px;
}


.stat-item {
    flex: 1 1 calc(25% - 20px); /* Делает блоки одинакового размера и фиксирует их ширину на 25% */
    padding: 20px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    justify-content: center; /* Выровнять содержимое по вертикали */
    align-items: center; /* Выровнять содержимое по горизонтали */
    min-height: 200px; /* Устанавливает минимальную высоту */
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFA500;
    margin-bottom: 10px;
}

.stat-label {
    color: #666;
    font-size: 1.1rem;
}

.testimonials-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: image('/static/images/slaid-1.jpg');
    background-size: 100px 100px;
    opacity: 0.05;
}

.testimonial-container {
    position: relative;
    height: auto; /* Remove fixed height */
}

.testimonial-item {
    position: relative; /* Change from absolute */
    opacity: 1;
    visibility: visible;
    height: 100%;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
}

.testimonial-content {
    position: relative;
    z-index: 1;
}
@media (max-width: 768px) {
    h2 {
        text-align: center;
    }
}
.testimonial-content i {
    color: #FFD700;
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin: 20px 0;
    font-style: italic;
}

.testimonial-author {
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 15px;
    margin-top: 15px;
}

.testimonial-author h5 {
    color: #333;
    font-weight: 600;
    margin-bottom: 5px;
}

.testimonial-author small {
    color: #666;
    font-size: 0.9rem;
}

.testimonial-item {
    transition: opacity 0.5s ease;
    opacity: 1;
}
/* Add new styles for news section */

/* Add new styles for news section */
.news-section {
    padding: 60px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/static/images/slaid-1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

.news-section h2 {
    color: white;
    margin-bottom: 40px;
}

.news-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
    margin: 15px 0;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.news-image {

    height: 250px;
    object-fit: cover;
}

.news-content {
    padding: 20px;
}

.news-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.news-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.news-excerpt {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.pagination {
    margin-top: 30px;
    justify-content: center;
}

.page-link {
    color: #333;
    border: none;
    margin: 0 5px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.page-link:hover {
    background: #FFD700;
    color: #333;
}

.page-item.active .page-link {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border: none;
    color: #333;
}
/* Контейнер для файлового превью */
.file-preview {
  position: relative;
  display: inline-block;
  margin-right: 10px;
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 5px;
  overflow: hidden;
}

/* Иконка файла */
.file-preview .file-icon {
  font-size: 50px;
  color: #007bff;
}

/* Название файла */
.file-preview .file-name {
  font-size: 14px;
  margin-top: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100px; /* Ограничение по ширине для корректного отображения */
}

/* Кнопка удаления */
.file-preview .delete-file {
  position: absolute;
  top: 5px; /* Отступ сверху */
  right: 5px; /* Отступ справа */
  background: red;
  color: white;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 14px;
  cursor: pointer;
  line-height: 18px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-item {
    padding: 20px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    backdrop-filter: blur(5px);
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFA500;
    margin-bottom: 10px;
}


.stat-label {
    color: #666;
    font-size: 1.1rem;
}
.stats-section {
    background: linear-gradient(135deg, rgba(255,215,0,0.1) 0%, rgba(255,165,0,0.1) 100%);
    position: relative;
    overflow: hidden;
}

.wave-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    overflow: hidden;
}

.wave {
    position: absolute;
    width: 200%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,215,0,0.1) 0%, rgba(255,165,0,0.15) 100%);
    animation: wave 10s linear infinite;
}

.wave:nth-child(2) {
    animation-delay: -5s;
    opacity: 0.5;
}

.wave:nth-child(3) {
    animation-delay: -2.5s;
    opacity: 0.3;
}

@keyframes wave {
    0% {
        transform: translate3d(-50%, 0, 0) rotate(0deg);
    }
    50% {
        transform: translate3d(-30%, 0, 0) rotate(180deg);
    }
    100% {
        transform: translate3d(-50%, 0, 0) rotate(360deg);
    }
}


.fade-in {
    /*opacity: 0;*/
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-section {
    min-height: 600px;

    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        rgba(255,215,0,0.05) 0px,
        rgba(255,215,0,0.05) 2px,
        transparent 2px,
        transparent 10px
    );
}

.content-box {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 40px;
    margin-top: 50px;
}

.description-side h2 {
    color: #333;
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.description-side p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.feature-list li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #FFD700;
}

.form-side {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,215,0,0.3);
    padding: 35px;
    animation: floatForm 6s ease-in-out infinite;
    transform-style: preserve-3d;
}

@keyframes floatForm {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.form-side::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(60deg, #ffd600, #ff9100, #FFD700);
    border-radius: 26px;
    z-index: -1;
    opacity: 0.5;
    filter: blur(8px);
}

.form-control {
    border: 2px solid rgba(0,0,0,0.08);
    background: rgba(255,255,255,0.9);
    padding: 15px 20px 15px 45px;
    border-radius: 15px;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 20px;
    position: relative;
}
@media (max-width: 768px) {
    .form-control {
        padding: 15px; /* Измените padding под нужные значения или уберите полностью */
    }
    .form-side {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,215,0,0.3);
    animation: floatForm 6s ease-in-out infinite;
    transform-style: preserve-3d;
}
}
.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #FFA500;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #FFD700;
    box-shadow: 0 5px 20px rgba(255,215,0,0.15);
    transform: translateY(-2px) scale(1.01);
}

.form-control:focus + i {
    color: #FFD700;
    opacity: 1;
}

.btn-submit {
    background: linear-gradient(135deg, #ff6200 0%, #FFA500 50%, #ff7300 100%);
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    width: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4);
    background-position: right center;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    transform: rotate(0deg);
    animation: rotateGradient 4s linear infinite;
}

@keyframes rotateGradient {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 991px) {
    .content-box {
        margin: 20px;
    }

    .description-side {
        margin-bottom: 30px;
    }
}

.nav-tabs {
    border: none;
}

.nav-tabs .nav-link {
    border: none;
    color: #666;
    font-weight: 600;
    padding: 15px;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link.active {
    color: #333;
    background: none;
    border-bottom: 3px solid #FFD700;
}

.auth-form input {
    padding: 12px;
    border: 2px solid #eee;
    border-radius: 8px;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    cursor: pointer;
}

.social-login .btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-login .btn:hover {
    transform: translateY(-2px);
}



.brands-section {
    background: #fff;
}

.brands-carousel {
    padding: 20px 0;
}

.brand-logo {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    margin: 10px;
}

.brand-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #333;
    border-radius: 50%;
    padding: 10px;
}

#brandsCarousel {
    padding: 0 50px;
}

#brandsCarousel .carousel-item {
    padding: 20px 0;
}
@media (max-width: 991.98px) {
    .hero-section .container-fluid {
        padding: 15px;
    }

    .content-box {
        padding: 15px;
        margin: 0;
    }

    .form-side {
        padding: 15px;
        margin: 0;
    }

    .formemail {
        width: 100%;
        padding: 15px;
        margin: 0;
    }

    .formemail .form-control {
        width: 100%;
    }
}
@media (max-width: 768px) {
    .stats-section .row {
        margin-left: 0;
        margin-right: 0;
    }

    .stats-section .col-6 {
        padding-left: 5px;
        padding-right: 5px;
        margin-bottom: 20px; /* Добавляем отступы снизу для большего пространства */
    }

    .stats-section .stat-item {
        padding: 15px;
        background-color: #f8f9fa; /* Легкий фон для выделения блока */
        border-radius: 8px;
    }

    .stat-number {
        font-size: 1.8rem; /* Увеличиваем размер текста для большей читабельности */
    }

    .stat-label {
        font-size: 1rem;
        margin-top: 10px;
    }




}




.map-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.map-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f29902 0%, #ff6b6b 50%, #f29902 100%);
}

.contact-info-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(242, 153, 2, 0.1);
}

.contact-info-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(242, 153, 2, 0.15);
    border-color: rgba(242, 153, 2, 0.3);
}

.contact-info-card h3 {
    color: #333;
    font-size: 28px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
}

.contact-info-card h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, #f29902, #ff6b6b);
    border-radius: 2px;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: #666;
    font-size: 16px;
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 8px;
}

.contact-list li:hover {
    color: #f29902;
    background: rgba(242, 153, 2, 0.05);
    transform: translateX(10px);
}

.contact-list li i {
    margin-right: 15px;
    color: #f29902;
    font-size: 22px;
    width: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-list li:hover i {
    transform: scale(1.2);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 50%;
    color: #f29902;
    font-size: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
}

.social-links a:hover {
    background: #f29902;
    color: white;
    transform: scale(1.15) rotate(360deg);
    box-shadow: 0 5px 15px rgba(242, 153, 2, 0.3);
}

.map-container {
    background: white;
    padding: 12px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(242, 153, 2, 0.1);
}

.map-container iframe {
    border-radius: 15px;
    transition: all 0.5s ease;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.map-container:hover {
    animation: floating 3s ease-in-out infinite;
}

@media (max-width: 992px) {
    .contact-info-card {
        margin-bottom: 30px;
    }

    .map-container {
        height: 400px;
    }
}

@media (max-width: 576px) {
    .map-section {
        padding: 40px 0;
    }

    .contact-info-card {
        padding: 20px;
    }

    .map-container {
        height: 300px;
    }
}













.modal-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 3px solid #ffd700;
}

.news-date {
    color: #b8860b;
    font-size: 0.9rem;
    font-weight: 500;
}

.modal-content {
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);

    border: 2px solid #ffd700;
}

.modal-header {
    border-bottom: 2px solid #ffd700;
    padding: 1.5rem;

}

.modal-body {
    padding: 1.5rem;

}

.modal-footer {
    border-top: 2px solid #ffd700;
    padding: 1rem 1.5rem;

}

.btn-primary {
    background-color: #ffd700 !important;
    border-color: #daa520 !important;
    color: #000 !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #daa520 !important;
    border-color: #b8860b !important;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #f0e68c !important;
    border-color: #daa520 !important;
    color: #000 !important;
}

.btn-secondary:hover {
    background-color: #bdb76b !important;
    border-color: #b8860b !important;
}

.modal-title {
    color: #ff6200;
    font-weight: 600;
}

/* Анимация для модального окна */
.modal.fade .modal-dialog {
    transform: scale(0.8);
    transition: transform 0.3s ease-in-out;
}

.modal.show .modal-dialog {
    transform: scale(1);
}

.lead {
    color: #8b4513;
}

p {
    color: #ffffff;
}
.news-modal p {    color: #000000;
}
.service-card p {
    color: #000000;
}
/* Добавляем желтое свечение при открытии */
.modal.show {
    animation: glow 1s ease-in-out;
}

@keyframes glow {
    0% { box-shadow: 0 0 0 rgba(255, 215, 0, 0); }
    50% { box-shadow: 0 0 30px rgba(255, 215, 0, 0.5); }
    100% { box-shadow: 0 0 0 rgba(255, 215, 0, 0); }
}
.news-modal-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 3px solid #ff6200;
}

.news-date {
    color: #ff6200;
    font-size: 0.9rem;
    font-weight: 500;
}

.news-modal .modal-content {
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
    border: 2px solid #ffd700;
}

.lightbox-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
}

.lightbox-img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
}

.call-button-container {
  text-align: center;
  margin-top: 20px;
}
h1 {
    text-align: center;
    padding-bottom: 33px;
}
.call-button {
  display: inline-block;
  padding: 15px 30px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  background-color: #ff6200;
  border-radius: 50px;
  border: none;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.call-button:before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  bottom: -50%;
  left: -50%;
  background: linear-gradient(to bottom, rgba(229, 172, 142, 0), rgba(255,255,255,0.5) 50%, rgba(229, 172, 142, 0));
  transform: rotateZ(60deg) translate(-5em, 7.5em);
  animation: sheen 1s ease-in-out infinite;
}

@keyframes sheen {
  100% {
    transform: rotateZ(60deg) translate(1em, -9em);
  }
}

.call-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 20px rgba(0, 0, 0, 0.3);
  background-color: #1c629a;
}

.call-button:active {
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  background-color: #1c629a;
}

.call-button .call-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 10px;
 background-size: cover;
  vertical-align: middle;
}
.fixed-bottom-bar {
    display: none; /* Скрываем блок по умолчанию */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    justify-content: space-around;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000; /* Блок всегда поверх */

}

.bottom-bar-item {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    color: #fff;
    font-size: 20px;
    text-decoration: none;
}

.bottom-bar-item.call {
    background: #0dcaf0; /* Цвет для звонка */
}

.bottom-bar-item.whatsapp {
    background: #25d366; /* Цвет для WhatsApp */
}

.bottom-bar-item.telegram {
    background: #0088cc; /* Цвет для Telegram */
}

.bottom-bar-item i {
    margin-bottom: 5px;
    display: block;
}

/* Показываем блок только на мобильных устройствах */
@media (max-width: 768px) {
    .fixed-bottom-bar {
        display: flex;
    }
}

.keywords-section {
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.keyword-slider {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.keyword-slide {
    display: inline-block;
    animation: slide 20s linear infinite;
}

.keyword-slide h3 {
    display: inline-block;
    padding: 8px 16px;  
    margin: 5px;
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    color: #333;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: default;
}

.keyword-slide h3:hover {
    transform: scale(1.1);
    background: #FFD700;
    color: #333;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

@keyframes slide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}
.gap-3{
    margin: 50px;
}
.btn-circle {
    
    width: 50px;
    height: 50px;
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.btn-circle:hover {
    transform: scale(1.1);
    background-color: #dc3545;
}

.btn-extended-form {
    background-color: #17a2b8;
    color: white;
}

.btn-call {
    background-color: #28a745;
    color: white;
}

.btn-extended-form:hover, .btn-call:hover {
    color: white;
}

@media (max-width: 991px) {
    .content-box {
        margin: 0px;
    }
    
    .description-side {
        margin-bottom: 30px;
    }
}

/* Убираем стандартное оформление выпадающего меню */
.dropdown-menu {
    padding: 1rem;
    width: 100%;
    max-width: 300px; /* Ширина меню */
    border-radius: 8px; /* Скругленные углы */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Стили для select */
.form-select {
    width: 100%;
    margin-bottom: 1rem;
}

/* Для адаптивности: центрируем контент на маленьких экранах */
@media (max-width: 768px) {
    .dropdown-menu {
        width: 90%;
        margin: 0 auto;
    }
}

