/* HTML Settings */

@media (max-width: 640px) {
    html {
        font-size: 56.25%;
    }

    h2{
        font-size: 2.8rem;
    }
}

@media (min-width: 641px) and (max-width: 1023px) {
    html {
        font-size: 60%;
    }

    h2{
        font-size: 3.5rem;
    }
}

/* Small screens */
@media (min-width: 1024px) and (max-width: 1365px) {
    font-size: 62.5%;
}

/*HTML End*/

/* Divider */
@media only screen and (max-width: 1200px) {
    .divider-150 {
        height: 10rem;
    }

    .divider-100 {
        height: 8rem;
    }
}

@media only screen and (max-width: 900px) {
    .divider-150 {
        height: 5rem;
    }

    .divider-100 {
        height: 6rem;
    }

    .divider-180 {
        height: 7rem;
    }
}

@media only screen and (max-width: 600px) {
    .divider-150 {
        height: 3.5rem;
    }

    .divider-100 {
        height: 3.7rem;
    }
}

/* Hero Section */
@media only screen and (max-width: 1200px) {
    .hero_title::after {
        content: "";
        background-size: contain;
        background-repeat: no-repeat;
        position: absolute;
        right: 3%;
        top: 84%;
        transform: translateY(-50%);
        width: 35px;
        height: 35px;
    }
}

@media (min-width: 641px) and (max-width: 1023px) {
    .hero_flow {
        height: auto;
        padding-left: 0;
    }

    .hero_title h1 {
        font-size: 4rem;
        line-height: 6.5rem;
    }

    .star-icon {
        width: 30px;
        height: 30px;
        margin-top: -10px;
        margin-left: 4px;
    }

    .hero_image {
        height: auto;
    }

    .hero_section {
        gap: 1.5rem;
    }

    .btn-hero {
        margin-bottom: 2rem;
    }

    .promo{
        padding: 30px 0;
    }

    .promo h2 {
        font-size: 3.3rem;
        line-height: 6rem;
    }

    .promo_button{
        margin-top: 2.5rem;
    }

    .promo::before {
        width: 108px;
        height: 99px;
    }

    .hero_description {
        position: relative;
        padding-left: 3.8rem;
    }

    .hero_description li {
        font-size: 1.6rem;
    }
}

@media only screen and (max-width: 640px) {
    .hero_title h1 {
        font-size: 4rem;
        line-height: 6rem;
    }

    .star-icon{
        width: 28px;
        height: 28px;
        margin-top: -10px;
        margin-left: 6px;
    }

    .promo h2 {
        font-size: 4rem;
        line-height: 5.5rem;
    }

    .promo::before {
        width: 8.7rem;
        height: 4.6rem;
        left: 2.7rem;
    }

    .hero_flow{
        height: auto;
        padding-left: 0;
    }

    .hero_section{
        gap: 2rem;
    }

    .hero_description {
        position: relative;
        padding-left: 3.8rem;
    }

    .btn-hero{
        margin-bottom: 40px;
    }

    .hero_title::after {
        content: "";
        background-image: url(/assets/images/star.png);
        background-size: contain;
        background-repeat: no-repeat;
        position: absolute;
        right: 3%;
        top: 84%;
        transform: translateY(-50%);
        width: 35px;
        height: 35px;
    }
}

@media only screen and (max-width: 998px) {
    .img-wrapper {
        height: auto;
    }
}

/* Before Section */
@media only screen and (max-width: 640px) {
    .before_container {
        grid-template-columns: repeat(1, 1fr);
        gap: 30px;
        margin-top: 2rem;
    }

    .btn-contact{
        margin-top: 3rem;
    }

    .comparison-slider{
        height: 200px;
    }

    .label-before, .label-after {
        position: absolute;
        bottom: 0;
        padding: 8px 10px;
        background-color: #83286C;
        color: white;
        font-size: 1.6rem;
    }
}

@media (min-width: 641px) and (max-width: 1023px) {
    .before_container{
        margin-top: 3rem;
    }

    .comparison-slider{
        height: 250px;
    }

    .label-before, .label-after {
        position: absolute;
        bottom: 0;
        padding: 8px 10px;
        background-color: #83286C;
        color: white;
        font-size: 1.6rem;
    }
}

/* Video Review */

/* Tablet */
@media (min-width: 641px) and (max-width: 1023px) {
    .review_container {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }

    .video_item{
        margin-bottom: 4.5rem;
    }
}

@media only screen and (max-width: 640px) {
    .review_container {
        grid-template-columns: repeat(1, 1fr);
        gap: 50px;
        margin-top: 2.5rem;
    }

    .video_item{
        margin-bottom: 4rem;
    }

    .review_profile{
        margin-bottom: 1.5rem;
    }
}

/* Solution Section */

@media only screen and (max-width: 1024px) {
    .solution_container {
        grid-template-columns: repeat(2, 1fr);
        gap: 4rem;
    }
}

@media only screen and (max-width: 640px) {
    .solution_container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .solution_item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
}

/* Question Section */

@media only screen and (max-width: 600px) {
    .question_section p {
        font-family: "Strawford", sans-serif;
        font-size: 1.6rem;
        font-weight: bold;
    }

    .question_section .btn-contact {
        margin-top: 1.5rem;
    }

    .question_section .btn-contact:hover {
        margin-top: 1.5rem;
    }
}

/* Dantures Table */

@media only screen and (max-width: 1200px) {
    .prosthesis_table {
        padding: 60px 40px 0;
    }
}

/* Tablet */
@media (min-width: 641px) and (max-width: 1023px) {
    .prosthesis_table {
        margin-top: 30px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        padding: 0;
    }

    .prosthesis_item {
        padding: 25px 25px;
        height: auto;
    }

    .prosthesis_details li{
        font-size: 1.5rem;
    }

    .prosthesis_wrong li::before {
        top: 28%;
    }

    .prosthesis_right li::before{
        top: 28%;
    }
}

@media only screen and (max-width: 640px) {
    .prosthesis_table {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 25px;
        padding: 0;
    }

    .prosthesis_item {
        padding: 25px 25px;
        height: auto;
    }

    .prosthesis_flow {
        height: auto;
        margin-bottom: 15px;
    }

    .prosthesis_details {
        margin-top: 40px;
        margin-bottom: 20px;
    }

    .prosthesis_details li {
        font-size: 1.8rem;
    }

    .btn-cta{
        margin-top: 4rem;
    }
}

@media only screen and (max-width: 1200px) {
    .price_content {
        column-gap: 20px;
    }
}

/* Tablet */
@media (min-width: 641px) and (max-width: 1023px) {
    .price_content {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 18px;
        row-gap: 72px;
        width: 100%;
    }

    .price_premium .bg_item {
        background: rgba(254, 128, 222, 0.06);
        width: 100%;
        padding: 20px 30px;
        border-radius: 20px 20px 0 0;
    }

    .price_classic .bg_item {
        background: #F9F9F9;
        width: 100%;
        padding: 20px 30px;
        border-radius: 20px 20px 0 0;
    }

    .price_premium .bg_item .btn-cta{
        padding: 17px 27px;
    }

    .price_premium .bg_item .btn-cta:hover{
        padding: 17px 27px;
    }

    .price_classic .bg_item .btn-cta{
        padding: 17px 27px;
    }

    .price_classic .bg_item .btn-cta:hover{
        padding: 17px 27px;
    }
}

@media only screen and (max-width: 640px) {
    .price_content {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        column-gap: 0;
        row-gap: 55px;
        width: 100%;
    }

    .price_premium .bg_item {
        background: rgba(254, 128, 222, 0.06);
        width: 100%;
        padding: 25px 30px;
        border-radius: 20px 20px 0 0;
    }

    .price_classic .bg_item {
        background: #F9F9F9;
        width: 100%;
        padding: 25px 30px;
        border-radius: 20px 20px 0 0;
    }

    .price_premium .bg_item h3{
        margin-top: 25px;
    }

    .price_premium::after {
        background-size: contain;
        background-repeat: no-repeat;
        width: 50px;
        height: 50px;
        top: -3%;
        left: 3%;
    }

    .price_premium .bg_item .btn-cta{
        padding: 17px 30px;
    }

    .price_premium .bg_item .btn-cta:hover{
        padding: 17px 30px;
    }

    .price_classic .bg_item .btn-cta{
        padding: 17px 30px;
    }

    .price_classic .bg_item .btn-cta:hover{
        padding: 17px 30px;
    }
}

@media only screen and (max-width: 900px) {
    .statistic_content {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media only screen and (max-width: 640px) {
    .statistic_content {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 15px;
    }
}

@media only screen and (max-width: 968px) {
    .cta_contain {
        height: 100%;
    }

    .contact_form .btn-appointment {
        margin-bottom: 40px;
        /*padding: 17px 5px;*/
    }
}

/* Slide Responsive */

@media only screen and (max-width: 640px) {
    .changes_slider .swiper-button-prev {
        left: 20px;
    }

    .changes_slider .swiper-button-next {
        right: 20px;
    }

    .changes_slider .swiper-slide {
        background-position: center;
        background-size: cover;
        width: 60%;
        height: 200px;
    }
}

/* Tablet */
@media (min-width: 641px) and (max-width: 1023px) {
    .changes_slider .swiper-button-prev {
        left: 57px;
    }

    .changes_slider .swiper-button-next {
        right: 57px;
    }
}

@media (max-width: 640px) {
    .cover_image {
        width: 100%;
        height: auto;
        padding-right: 0;
    }

    .treatment_content .btn-cta{
        margin-top: 2.5rem;
    }

    .treatment_content li{
        margin-left: 1rem;
    }

    .treatment_content h3{
        margin-top: 2.5rem;
    }

    .treatment_content li::before{
        left: -27px;
    }
}

@media (min-width: 641px) and (max-width: 1023px) {
    .cover_image {
        width: 100%;
        height: auto;
        padding-right: 0;
    }

    .treatment_content .btn-cta{
        margin-top: 2.5rem;
    }

    .treatment_content li{
        margin-left: 1rem;
    }

    .treatment_content h3{
        margin-top: 2.5rem;
    }

    .treatment_content li::before{
        left: -27px;
    }
}

/* Slide 1 */

@media only screen and (max-width: 780px) {
    .changes_slider .swiper-slide {
        background-position: center;
        background-size: cover;
        width: 60%;
        height: auto;
    }
}

/* Reasons Section */

@media only screen and (max-width: 780px) {
    .reason_content {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
}

@media only screen and (max-width: 600px) {
    .reason_content {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 30px;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
}

/* Totul despre dantura */

/* Mobile */
@media (max-width: 640px) {
    .hero_text {
        position: absolute;
        top: 0;
        left: 0;
        background-color: rgb(255, 255, 255);
        padding: 1rem;
        border-radius: 0 0 10px;
    }

    .hero_text h2 {
        font-size: 1.5rem;
    }

    .image_dantures {
        width: 100%;
        height: auto;
    }
}

/* Tablet */
@media (min-width: 641px) and (max-width: 1023px) {
    .hero_text {
        position: absolute;
        top: 0;
        left: 0;
        background-color: rgb(255, 255, 255);
        padding: 6px;
        border-radius: 0 0 10px;
    }

    .hero_text h2 {
        font-size: 3rem;
    }

    .image_dantures {
        width: 100%;
        height: auto;
    }
}

/* Contact Section */

@media only screen and (max-width: 780px) {
    .contact_container {
        display: flex;
        flex-direction: column-reverse;
    }

    .consultations_container {
        display: flex;
        flex-direction: column-reverse;
    }

    .cta_image {
        border-radius: 20px 20px 0 0;
    }

    .contact_form .btn-appointment {
        margin-bottom: 20px;
    }
}

/* Certificates Slide */
@media only screen and (max-width: 1200px) {
    .certificates-carousel {
        position: relative;
    }

    .certificate_item {
        height: auto;
    }
}

/* Discover slide */

@media only screen and (max-width: 980px) {
    .discover_slider .swiper-button-prev {
        left: 22.5%;
    }

    .discover_slider .swiper-button-next {
        right: 22.5%;
    }
}

@media only screen and (max-width: 640px) {
    .discover_slider .swiper-slide {
        background-position: center;
        background-size: cover;
        width: 100%;
        height: auto;
    }

    .discover_slider .custom-nav {
        width: 100%;
        position: absolute;
        top: 50%;
        right: 0;
        display: flex;
        gap: 10px;
        transform: translateY(-50%);
        z-index: 10;
    }

    .discover_slider .swiper-button-prev,
    .discover_slider .swiper-button-next {
        display: block;
        background-size: contain;
        background-repeat: no-repeat;
        width: 40px;
        height: 41px;
    }

    .discover_slider .swiper-button-prev::after,
    .discover_slider .swiper-button-next::after {
        content: none;
    }

    .discover_slider .swiper-button-prev {
        left: 2%;
    }

    .discover_slider .swiper-button-next {
        right: 2%;
    }
}

/* Tablet */
@media (min-width: 641px) and (max-width: 1023px) {
    .discover_slider .swiper-slide {
        background-position: center;
        background-size: cover;
        width: 100%;
        height: auto;
    }

    .discover_slider .custom-nav {
        width: 100%;
        position: absolute;
        top: 50%;
        right: 0;
        display: flex;
        gap: 10px;
        transform: translateY(-50%);
        z-index: 10;
    }

    .discover_slider .swiper-button-prev,
    .discover_slider .swiper-button-next {
        display: block;
        background-size: contain;
        background-repeat: no-repeat;
        width: 50px;
        height: 51px;
    }

    .discover_slider .swiper-button-prev::after,
    .discover_slider .swiper-button-next::after {
        content: none;
    }

    .discover_slider .swiper-button-prev {
        left: 22%;
    }

    .discover_slider .swiper-button-next {
        right: 22%;
    }
}

/* Review Carousel */

/* Tablet */
@media (min-width: 641px) and (max-width: 1023px) {
    .review_carousel .custom-nav {
        width: 10%;
        position: absolute;
        top: 51px;
        right: 0;
        display: flex;
        gap: 10px;
        transform: translateY(-50%);
        z-index: 10;
    }
}

@media only screen and (max-width: 640px) {
    .review_carousel .custom-nav {
        width: 16%;
        position: absolute;
        top: 25px;
        right: 0;
        display: flex;
        gap: 10px;
        transform: translateY(-50%);
        z-index: 10;
    }
}


/* Certificates Slide */

@media only screen and (max-width: 1024px) {
    .certificates-carousel .custom-nav {
        width: 7%;
        position: absolute;
        top: 25px;
        right: 0;
        display: flex;
        gap: 10px;
        transform: translateY(-50%);
        z-index: 10;
    }
}

@media only screen and (max-width: 780px) {
    .certificates-carousel .custom-nav {
        width: 10%;
        position: absolute;
        top: 25px;
        right: 0;
        display: flex;
        gap: 10px;
        transform: translateY(-50%);
        z-index: 10;
    }
}

@media only screen and (max-width: 600px) {
    .certificates-carousel .custom-nav {
        width: 16%;
        position: absolute;
        top: 25px;
        right: 0;
        display: flex;
        gap: 10px;
        transform: translateY(-50%);
        z-index: 10;
    }
}

/* Faq Item */

/*@media only screen and (max-width: 768px) {*/
/*    .faq-item {*/
/*        flex-direction: column;*/
/*        gap:25px;*/

/*        .faq-question {*/
/*            padding-right: 0;*/
/*            margin-bottom: 10px;*/
/*        }*/
/*    }*/
/*}*/

/* Mobile */
@media (max-width: 640px) {
    .faq-item {
        flex-direction: column;

    }
}

/* Steps Responsive */

@media only screen and (max-width: 640px) {
    .steps_right {
        margin-top: 40px;
        text-align: center;
        padding: 0;
    }

    .steps_left {
        position: static;
        margin-top: 4rem;
        text-align: center;
    }

    .steps h2{
        line-height: 8.5rem;
    }

    .steps .btn-contact{
        margin-top: 4rem;
        padding: 17px 38px;
    }

    .steps .btn-contact:hover{
        padding: 17px 38px;
        margin-top: 4rem;
        color: white;
    }
}

/* Tablet */
@media (min-width: 641px) and (max-width: 1023px) {
    .steps_right{
        padding-left: 80px;
    }

    .steps .btn-contact{
        margin-top: 4rem;
    }

    .steps .btn-contact:hover{
        margin-top: 4rem;
        color: white;
    }
}

/* Related Video Responsive */

/* Mobile */
@media (max-width: 640px) {
    .main-video iframe{
        height: 250px;
    }
}

/* Tablet */
@media (min-width: 641px) and (max-width: 1023px) {
    .related-videos ul li img {
        width: 112px;
        height: auto;
    }

    .related-videos ul li p {
        font-size: 2rem;
    }

    .main-video p {
        font-size: 18px;
    }

    .main-video iframe{
        height: 450px;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .related-videos ul li p {
        font-size: 1.6rem;
        line-height: 20px;
    }
}

/* Question Block */
@media (max-width: 640px) {
    .question_section{
        padding: 30px 0;
    }
    .question_section h2{
        font-size: 4rem;
    }

    .question_section p{
        line-height: 3rem;
    }
}

@media (min-width: 641px) and (max-width: 1023px) {
    .question_section{
        padding: 3rem 0;
    }
    .question_section h2{
        font-size: 5.4rem;
    }
}

/*Icon Section */

/* Mobile */
@media (max-width: 640px) {
    .start_section{
        margin-bottom: 25px;
    }
}

/* Question Answer */

/* Mobile */
@media (max-width: 640px) {
    .faq-question{
        padding: 20px 20px 0;
        margin-right: 0;
    }

    .faq-answer{
        padding: 20px 20px;
    }

    .faq-question h3{
        font-size: 2.3rem;
    }
}

/* Team */

/* Mobile */
@media (max-width: 640px) {
    .team_item .btn_more{
       padding-right: 15px;
    }

    .team_members .btn-cta{
        padding: 17px 30px;
    }

    .team_item h5{
        margin-bottom: 15px;
    }
}

/* Pagina de contacte */

/* Mobile */
@media (max-width: 640px) {
    .contact_form h2{
        margin-top: 30px;
        margin-bottom: 40px;
    }

    .space_cta{
        margin-bottom: 40px;
    }

    .contact_form .btn-appointment{
        padding: 17px 22px;
    }

    .contact_form .btn-appointment:hover{
        padding: 17px 22px;
    }

    .form_group{
        margin-bottom: 40px;
    }
}

/* Tablet */
@media (min-width: 641px) and (max-width: 1023px) {
    .contact_form h2{
        margin-top: 30px;
        margin-bottom: 40px;
    }

    .space_cta{
        margin-bottom: 40px;
    }

    .contact_form .btn-appointment{
        padding: 17px 22px;
    }

    .contact_form .btn-appointment:hover{
        padding: 17px 22px;
    }
}

/* Prothesis */

@media (max-width: 640px) {
    .prosthesis_details h2{
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .video-layout {
        flex-direction: column;
    }

    .related-videos {
        max-height: none;
    }
}

@media (max-width: 1600px) {
    .modal .modal-content {
        background-color: #fff;
        margin: 10% auto;
        padding: 20px;
        border: 1px solid #888;
        border-radius: 8px;
        width: 80%;
        max-width: 700px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        animation: fadeIn 0.3s;
    }
}