*,
*::after,
*::before {
    box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0;
}

ul {
    list-style: none;
    margin: 0;
}


body {
    margin: 0;
    font-family: Inter;
    font-weight: 400;
    font-size: 18px;
    line-height: 27px;
    background-color: white;
    color: #404149;
}

.main-menu {
    background-color: #be3220;
    padding: 20px;
    position: fixed;
    top: 0;
    width: 100%;
}

.navigation-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 0;
}

.navigation-link {
    list-style: none;
    display: flex;
    text-decoration: none;
    color: white;
    border: 1px solid white;
    border-radius: 10px;
    padding: 10px;
    margin-top: 10px;
    font-size: 18px;
}

.navigation-link:hover {
    list-style: none;
    text-decoration: none;
    color: #404149;
    border: 1px solid white;
    background-color: white;
    border-radius: 10px;
    padding: 10px;
}

.main-info {
    background-image: url("../img/promo.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: 50px;
}

.about {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: flex-start;
    padding-bottom: 30px;
    gap: 50px;
}


.page-title {
    margin: 0;
    color: white;
    font-size: 60px;
    font-family: Montserrat;
    padding-top: 100px;
    padding-bottom: 65px;
    padding-left: 30px;
    line-height: 80px;
    color: #404149;
}

.personal {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    font-size: 40px;
    padding-bottom: 30px;
    color: #404149;
    padding-left: 30px;
    gap: 30px;
}

.my-tel-link {
    text-decoration: none;
    color: #404149;
}

.my-tel-link:hover {
    color: white;
}


.promo {
    background-color: #404149;
    color: white;
    font-size: 24px;
    padding: 30px;
    text-align: center;
    line-height: 40px;
    margin-bottom: 30px;
}

.promo-header {
    font-size: 26px;
    padding-bottom: 20px;
    text-transform: uppercase;
}

.steps {
    display: flex;
    justify-content: center;
    align-items:flex-start;
    padding-bottom: 30px;
}

.emergency {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: flex-start;
    align-items: center;
    
}


.tel-link {
    text-decoration: none;
    color: #ff9777;

}

.tel-link:hover {
    text-decoration: none;
    color: #be3220;

}

.emergency-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: flex-start;
    align-items: left;
    list-style: url("../img/two-cars-in-line.svg");
    
}

.steps h3 {
    text-align: center;
}

.car-damage {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: flex-start;
    align-items: center;
    border-left: 5px solid #404149;
}


.variants-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: flex-start;
    align-items: left;
    list-style: url("../img/two-cars-in-line.svg");
}

.best-variant {
    color: #be3220;
}

.contacts {
    color: black;
    text-align: center;
}

.pdd-link {
    text-decoration: none;
    color: #ff9777;
}

.pdd-link:hover {
    text-decoration: none;
    color: #be3220;
}

.our-features {
    color: white;
    background-color: #404149;
    margin-bottom: 30px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 26px;
    justify-content: flex-start;
    align-items: center;
    list-style: none;
    padding-bottom: 20px;

}

.features-list li {
    list-style: square;

}

.our-features h3 {
    padding-bottom: 20px;
    padding-top: 20px;
    text-transform: uppercase;
    text-align: center;
}

.evro {
    font-size: 20px;

}

.faq h3 {
    padding-bottom: 20px;
    padding-top: 20px;
    text-transform: uppercase;
    text-align: center;
}


.accordion {
    background-color: #F7654A;
    color: white;
    cursor: pointer;
    padding: 20px;
    width: 100%;
    text-align: left;
    border: 2 px solid white;
    border-radius: 5px;
    font-size: 24px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
    justify-content: flex-start;
    padding-bottom: 30px;
}

.questions-and-answers ul {
    padding-left: 0;
}

.active,
.accordion:hover {
    background-color: #6b6c74;
}

.panel {
    padding: 20px;
    background-color: white;
    display: none;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    font-size: 24px;
    text-align: center;
}

.address {
    margin-bottom: 30px;
}

.taganrog-address {
    padding: 0 10px 0 10px;
}

.taganrog-address h3 {
    padding-bottom: 20px;
    padding-top: 20px;
    text-transform: uppercase;
    text-align: center;
}

.item {
    display: flex;
    justify-content: space-between;
    border: 2px solid #404149;
    border-radius: 10px;
    padding-right: 30px;
}

.company-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 50px;
    gap: 10px;
}

.site {
    text-decoration: none;
    cursor: pointer;
    color: #ff9777;
}

.site:hover {
    text-decoration: none;
    cursor: pointer;
    color: #be3220;

}

.map {
    padding-top: 10px;
    margin-right: 15px;
}

.swiper-pagination-bullet {
    background-color: #ff9777;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    color: #ff9777;
}

.inner-footer {
    background-color: #404149;
    display: flex;
    flex-direction: column;
    padding: 30px 30px 0px 30px;
}

.contacts-footer {
    color: white;
    font-size: 20px;
    padding-bottom: 15px;
    margin-left: 35px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.tel-link-footer {
    text-decoration: none;
    color: white;
}

.tel-link-footer:hover {
    text-decoration: none;
    color: #F7654A;
}

.copyright {
    color: white;
    font-size: 14px;
    text-align: center;
    padding-bottom: 10px;
}

#scrollToTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #F7654A;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 20px;
    font-size: 16px;
}

#scrollToTopBtn:hover {
    background-color: #be3220;
}

@media (max-width: 1430px) {
    .main-info {
        margin-top: 75px;
    }

    .navigation-item li {
        flex-basis: 50%;
        justify-content: space-evenly;
    }

    .navigation-link {
        justify-content: center;
    }
}

@media (max-width: 1000px) {
    .main-menu {
        position: static;
    }

    .main-info {
        margin: 0;
    }

    .variants-list {
        padding-right: 20px;
    }

    .car-damage h3 {
        padding-right: 10px;
    }

    .emergency h3 {
        padding-left: 10px;
    }
}

@media (max-width: 830px) {
    .navigation-item li {
        flex-basis: 100%;
        align-self: center;
    }
}

@media (max-width: 768px) {

    .navigation-link {
        font-size: 16px;
    }

    .features-list {
        align-items: start;
    }

  
}

@media (max-width: 530px) {
    .page-title {
        font-size: 36px;
        line-height: 60px;
    }

    .personal h2 {
        font-size: 34px;
    }

    .personal p {
        font-size: 22px;
    }

    .contacts-footer {
        margin: 0;
        font-size: 14px;
    }
}

@media (max-width:400px) {
    .my-tel-link {
        font-size: 26px;
    }

    .emergency-list-item {
        padding-right: 10px;
    }

    .variants-list,
    .emergency-list{
        font-size: 15px;
    }

   .best-variant {
    font-size: medium;

   }
    .steps {
        gap: 10px;
       
    }

    .emergency h3,
    .car-damage h3{
        font-size: medium;
    }

    .our-features h3 {
        font-size: medium;
    }

    .taganrog-address h3 {
        padding: 0 10px 0 10px;
    }

    .features-list {
        padding-right: 20px;
    }

    .company-info{
        font-size: 15px;
    }
}
