:root {
    --primary-color: #FF2525;
    --secondary-color: #FFD700;
    --accent-color: #FF8218;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--dark-color);
    padding-top: 76px;
}

.navbar {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    transition: all 0.3s ease;
}

.navbar-brand img {
    height: 40px;
    transition: opacity 0.3s ease;
}

.navbar-brand, .navbar-toggler,  {
    position: relative;
    z-index: 1031;
}

.btn-accent {
    position: relative;
   
}

.navbar-toggler {
    border: none;
    padding: 0;
    width: 30px;
    height: 20px;
    position: relative;
    transition: .5s ease-in-out;
}

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

.navbar-toggler span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--dark-color);
    border-radius: 9px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.navbar-toggler span:nth-child(1) { top: 0px; }
.navbar-toggler span:nth-child(2),
.navbar-toggler span:nth-child(3) { top: 10px; }
.navbar-toggler span:nth-child(4) { top: 20px; }

.navbar-toggler.open span:nth-child(1),
.navbar-toggler.open span:nth-child(4) {
    top: 10px;
    width: 0%;
    left: 50%;
}

.navbar-toggler.open span:nth-child(2) { transform: rotate(45deg); }
.navbar-toggler.open span:nth-child(3) { transform: rotate(-45deg); }

.nav-link {
    display: flex;
    align-items: center;
    color: var(--dark-color) !important;
    font-weight: 500;
    transition: color 0.3s;
}

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

.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after,
.dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,.1);
    border-radius: 5px;
    padding: 0.5rem 0;
    min-width: 150px;
}

.dropdown-item {
    padding: 0.5rem 1rem;
    color: var(--dark-color);
    text-decoration: none;
    display: block;
    transition: background-color 0.3s, color 0.3s;
}

.dropdown-item:hover {
    background-color: var(--light-color);
    color: var(--accent-color);
}

.btn-accent {
    background-color: var(--accent-color);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s;
}

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

.btn-warning {
    color: #000;
    background-color: #ffc107;
    border-color: #ffc107;
    border-radius: 15px;
}

.mobile-scroll-button {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s;
	border-radius: 15px;
}

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

.hero-section {
    background: linear-gradient(90deg, var(--primary-color) 0%, #fdea68 50%);
    color: white;
    padding: 100px 0;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0% 100%);
    margin-top: -76px;
    padding-top: 76px;
}

@media (max-width: 992px) {
.hero-section {
    background: linear-gradient(180deg, var(--primary-color) 0%, #fdea68 50%);
    color: white;
    padding: 100px 0;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0% 100%);
    margin-top: -76px;
    padding-top: 76px;
}}

footer {
    background-color: var(--dark-color);
    color: white;
    padding: 50px 0;
}

footer h5 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

footer ul {
    list-style-type: none;
    padding-left: 0;
}

footer ul li {
    margin-bottom: 10px;
}

footer a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--accent-color);
}

#faq .accordion-item {
    border: none;
    margin-bottom: 15px;
}

#faq .accordion-button {
    background-color: var(--light-color);
    color: var(--dark-color);
    font-weight: 500;
    border-radius: 5px;
    padding: 15px 20px;
    transition: all 0.3s ease;
}

#faq .accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: white;
}

#faq .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,.125);
}

#faq .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23333'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: transform 0.3s ease;
}

#faq .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(-180deg);
}

#faq .accordion-body {
    background-color: white;
    border-radius: 0 0 5px 5px;
    padding: 20px;
}

@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: block;
    }
}

@media (max-width: 991px) {
    body {
        padding-top: 56px;
    }

    .hero-section {
        margin-top: 0;
        padding-top: 20px;
    }

    .navbar-collapse {
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: white;
        overflow-y: auto;
        transition: transform 0.3s ease-in-out;
        transform: translateX(-100%);
        z-index: 1029;
    }

    .navbar-collapse.show {
        transform: translateX(0);
    }

    .navbar-nav {
        padding: 15px;
    }

    .nav-item {
        margin-bottom: 10px;
    }

    .nav-link {
        padding: 10px 15px;
        border-radius: 5px;
        transition: background-color 0.3s ease;
    }

    .nav-link:hover, .nav-link:focus {
        background-color: var(--light-color);
    }

    .dropdown-menu {
        position: static;
        float: none;
        width: auto;
        margin-top: 0;
        background-color: transparent;
        border: 0;
        box-shadow: none;
        padding-left: 20px;
        display: block;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
        opacity: 0;
    }

    .dropdown-menu.show {
        max-height: 1000px;
        opacity: 1;
        transition: max-height 0.3s ease-in, opacity 0.3s ease-in;
    }

    .dropdown-item {
        padding: 10px 15px;
        color: var(--dark-color);
    }

    .dropdown-toggle::after {
        float: right;
        margin-top: 8px;
    }

    .dropdown-toggle[aria-expanded="true"]::after {
        transform: rotate(180deg);
    }

    .navbar-toggler {
        z-index: 1032;
    }
    
    footer {
        text-align: center;
    }

    footer .col-md-4 {
        margin-bottom: 30px;
    }
}

/* Добавленные стили для плавного открытия/закрытия подменю */
.dropdown-menu {
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out, padding 0.3s ease-out;
    max-height: 0;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
}

.dropdown-menu.show {
    max-height: 1000px;
    opacity: 1;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* Стили для предотвращения прокрутки body при открытом меню */
body.menu-open {
    overflow: hidden;
}

/* Улучшенные стили для мобильной кнопки меню */
.navbar-toggler {
    padding: 0;
    width: 30px;
    height: 24px;
    position: relative;
    margin-right: 15px;
}

.navbar-toggler span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--dark-color);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.navbar-toggler span:nth-child(1) { top: 0; }
.navbar-toggler span:nth-child(2),
.navbar-toggler span:nth-child(3) { top: 10px; }
.navbar-toggler span:nth-child(4) { top: 20px; }

.navbar-toggler.open span:nth-child(1),
.navbar-toggler.open span:nth-child(4) {
    top: 10px;
    width: 0%;
    left: 50%;
}

.navbar-toggler.open span:nth-child(2) { transform: rotate(45deg); }
.navbar-toggler.open span:nth-child(3) { transform: rotate(-45deg); }

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: 20px;

	.card-img, .card-img-top {
    border-top-left-radius: calc(.25rem - 1px);
    border-top-right-radius: calc(.25rem - 1px);
    
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    
}
}

.hero-section .city-selector {
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    color: #555;
    cursor: pointer;
    transition: color 0.3s ease;
}

.hero-section .city-selector:hover {
    color: #FF8218;
}

.hero-section .city-selector .location-icon {
    margin-right: 5px;
    font-size: 1rem;
    color: #FF2525; /* Красный цвет для иконки */
}

.hero-section .city-selector span {
    border-bottom: 1px dashed #555;
}

.hero-section .city-selector:hover span {
    border-bottom-color: #FF8218;
}

   .hero-section {
        background-color: #f8f9fa;
    }
    .hero-section .card {
        border: none;
        border-radius: 20px;
        transition: all 0.3s;
    }
    .hero-section .card:hover {
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    .hero-section h1 {
        font-size: 2.5rem;
        font-weight: 600;
        color: #333;
    }
    .hero-section .lead {
        font-size: 1.25rem;
        color: #555;
    }
    .btn-accent {
        background-color: #FF8218;
        border: none;
        color: white;
        padding: 10px 25px;
        font-size: 1rem;
        font-weight: 600;
        transition: all 0.3s;
        border-radius: 15px;
    }
    .btn-accent:hover {
        background-color: #FF2525;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
	
	#benefits .card {
        transition: all 0.3s;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    #benefits .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    }
    #benefits img {
        transition: transform 0.3s;
    }
    #benefits .card:hover img {
        transform: scale(1.1);
    }
	
	#how-to-start {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.step-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.step-number {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    z-index: 1;
}

.icon-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    background-color: rgba(255, 130, 24, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.step-card:hover .icon-wrapper {
    background-color: var(--accent-color);
}

.step-card:hover .icon-wrapper i {
    color: white;
}

.icon-wrapper i {
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.card-title {
    font-weight: bold;
    margin-bottom: 15px;
}

.card-text {
    color: var(--dark-color);
}

@media (max-width: 768px) {
    .step-card {
        margin-bottom: 30px;
    }
}

.news-link {
    color: var(--dark-color);
    transition: color 0.3s ease;
}

.news-link:hover {
    color: var(--accent-color);
}

#additional-news .list-group-item {
    border: none;
    background-color: transparent;
    padding: 0.5rem 0;
}

#additional-news .list-group-item:not(:last-child) {
    border-bottom: 1px solid rgba(0,0,0,0.125);
}

@media (max-width: 767px) {
    #additional-news .col-md-6:first-child {
        margin-bottom: 2rem;
    }
    #additional-news h3 {
        font-size: 1.5rem;
    }
}

footer {
    background-color: #343a40;
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #FF8218 !important;
}

footer .fab {
    font-size: 1.2rem;
    vertical-align: middle;
}

footer .small {
    font-size: 0.8rem;
    line-height: 1.4;
}

#blog-post {
    background-color: #f8f9fa;
    padding-top: 120px;
}

#blog-post .container {
    max-width: 1296px;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}

#blog-post .sidebar {
    background-color: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 100px;
}

#blog-post .sidebar h3 {
    color: #333;
    font-weight: bold;
}

#blog-post .sidebar ul li a {
    color: var(--dark-color);
    transition: color 0.3s ease;
}

#blog-post .sidebar ul li a:hover {
    color: var(--accent-color);
}

#blog-post .sidebar ul li h5 {
    color: #333;
    font-size: 1rem;
}

#blog-post .blog-post {
    background-color: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

#blog-post .blog-content {
    
	padding-left: 100px;
    padding-right: 100px;
}

#blog-post .blog-post h1 {
    color: #333;
    font-weight: 600;
    font-size: 2.5rem;
     
	padding-left: 100px;
    padding-right: 100px;
}

#blog-post .blog-post .date-info {
    padding-left: 100px;
    padding-right: 100px;
}

#blog-post .blog-post img {
    max-width: 100%;
    margin-left: 100px;
    margin-right: 100px;
}

#blog-post .blog-post h2 {
    color: #FF8218;
    margin-top: 30px;
    font-size: 1.8rem;
}

#blog-post .blog-post h3 {
    color: #333;
    font-size: 1.3rem;
}

#blog-post .blog-post p {
    color: #555;
    line-height: 1.6;
}

@media (min-width: 992px) {
    .imb-mobile {
        max-width: calc(100% - 200px);
    }
}

/* Для мобильных устройств (меньше 992px) этот стиль не будет применяться */
@media (max-width: 991.98px) {
    .imb-mobile {
        max-width: 100%; /* или любое другое значение для мобильных устройств */
    }
}

@media (max-width: 991px) {
    #blog-post {
        padding-top: 80px;
    }
    
	 
	
    #blog-post .sidebar {
        position: static;
        margin-top: 30px;
    }

    #blog-post .blog-content,
    #blog-post .blog-post h1,
    #blog-post .blog-post .date-info {
        padding-left: 15px;
        padding-right: 15px;
    }

    #blog-post .blog-post img {
        max-width: calc(100% - 1px);
        margin-left: 15px;
        margin-right: 15px;
    }

    #blog-post .blog-post {
        padding: 20px;
    }

    #blog-post .blog-post h1 {
        font-size: 2rem;
    }

    #blog-post .blog-post h2 {
        font-size: 1.5rem;
    }

    #blog-post .blog-post h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    #blog-post .blog-content,
    #blog-post .blog-post h1,
    #blog-post .blog-post .date-info {
        padding-left: 10px;
        padding-right: 10px;
    }

    #blog-post .blog-post img {
        max-width: calc(100% - 1px);
        margin-left: 10px;
        margin-right: 10px;
    }

    #blog-post .blog-post {
        padding: 15px;
    }
}

.share-buttons {
    display: flex;
    gap: 10px;
}
.btn-share {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
}
.btn-share:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.btn-telegram {
    background-color: #0088cc;
}
.btn-vk {
    background-color: #45668e;
}
.btn-whatsapp {
    background-color: #25D366;
}
.btn-copy {
    background-color: #6c757d;
}