.d-none {
    display: none;
}


.new_top_img_wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: min(700px, 80vh);
    height: fit-content;
    background-size: cover;
    background-position: center;
    
}



.top_img_center_ttile_wrapper_cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.5;
    z-index: 0;
}

.top_img_center_ttile_wrapper {
    padding: 0 20px;
    z-index: 1;
}

.top_img_center_ttile {
    color: #fff;
    text-align: center;
    font-size: 3.5rem;
    line-height: 3.5rem;
    font-weight: 500;
    margin-bottom: 10px;

}

.top_img_center_txt {
    color: #fff;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 20px;
}

.top_img_center_btn_wrapper {
    display: flex;
    justify-content: center;
    gap: 30px;
    align-items: center;
    width: 100%;
    max-width: 600px;


}



@media (max-width: 768px) {
    .new_top_img_wrapper {
        min-height: fit-content;
        padding-bottom: 90px;
        padding-top: 142px;

    }

    .top_img_center_ttile_wrapper {
        padding: 0 20px;
    }

    .top_img_center_ttile {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .top_img_center_txt {
        font-size: 1.3rem;
    }

    .top_img_center_btn_wrapper {
        flex-direction: column;
        gap: 10px;
        padding: 0 20px;
        box-sizing: border-box;
    
    }

    .top_img_center_btn_wrapper .cleanbutton {
        width: 50%;
        min-width: 200px;
        text-align: center;
    }
    .top_img_center_btn_wrapper a {
        width: 100%;
        display: flex;
        justify-content: center;
    }

}



.cleanbutton_thin {
    font-size: 1rem;
    font-weight: 400;
}

.cleanbutton_white {
    background-color: #fff;
    color: #444;
}

.cleanbutton_fullwidth {
    width: 100%;
    text-align: center;
}



.newgridmodul {
    position: relative;
    display: flex;
    flex-direction: column;
}

.gridmodulcont {
    box-sizing: border-box;
}

.newgridmodul * {

    box-sizing: border-box;
}

.newgridmodulcontent {
    padding: 20px;
}

.title_with_price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.title_with_price h3 {
    font-size: 1.2rem;
    font-weight: 500;
    text-align: center;
    flex-grow: 0;
    margin: 0;
}


.newgridmodulcontent h3 {
    color: #444;
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 500;
    margin-top: 20px;
}

.newgridmodulcontent p {
    color: #7D7D7D;
    font-size: 1rem;
    font-weight: 300;
    margin-bottom: 20px;
}

.newgridmodul_img_header {
    position: relative;
    aspect-ratio: 14/10;
    background-color: #fff;
    width: 100%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 20px;
    background-size: cover;
    background-position: center;

}

.newgridmodul_img_header_cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6));
}

.newgridmodul_img_header_title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 400;
    text-align: left;
    width: 100%;
    z-index: 1;
}

.newgridmodul_tabs {
    background-color: #f2eee7;
    margin-bottom: -10px;
    padding: 2px 5px;
}

.newgridmodul_tabs .tab-container {
    margin: 0;
    margin-bottom: 10px;
}

.rouded_color_section_title {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: left;
    width: 100%;
    color: #444;
    padding: 0 10px;
    margin-bottom: 10px;
}

.rouded_color_section_subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    text-align: left;
    width: 100%;
    color: #444;
    padding: 0 10px;
}

.gradient_module {
    border-radius: 10px;
    box-sizing: border-box;
    padding: 20px;
}

.module_image_right_half {
    padding-right: 60%;
    position: relative;
    overflow: hidden;
    aspect-ratio: 25/10;

}

.module_image_right_half_img {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    object-fit: cover;
}


@media (max-width: 768px) {
    .module_image_right_half {
        padding-right: 10px;
        padding-left: 10px;
        aspect-ratio: unset;
        padding-top: min(30vh, 350px);
        

    }

    .module_image_right_half_img {
        width: 100%;
        height: min(30vh, 350px);
        object-fit: cover;
    }
    
}

.modultxt_alignleft {
    text-align: left;
}

.modultxt_flex {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.txt_pill {
    background-color: #fff;
    padding: 5px 10px;
    border-radius: 10px;
    color: var(--main-color);
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 10px;
    text-align: left;
    width: fit-content;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .txt_pill {
        width: 100%;
    }
}

.inline_price_button {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    gap: 10px;
    font-weight: bold;
}

.inline_price_button div {
    display: block;
    font-size: 1.2rem;
    font-weight: 400;
    color: #444;
}

.inline_price_button_space_between {
    justify-content: space-between;
}

@media (max-width: 768px) {

    .inline_price_button .cleanbutton {
        width: 100%;
        text-align: center;
    }

    .inline_price_button_space_between {
        flex-direction: row;
    }
}


.uzorci_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 10px;
}

.uzorci_grid_item {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


.uzorci_grid_item span {
    display: block;
    text-align: center;
    font-size: 1rem;
    font-weight: 400;
    color: #666;
    width: 100%;
    margin-top: 10px;
}

.uzorci_grid_item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease-in-out;

}

.uzorci_grid_item img:hover {
    transform: scale(1.05);
}


.uzorci_grid_2x2 {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 10px;
}

.uzorci_grid_2x2 .uzorci_grid_item {
    margin-bottom: 20px;
}


@media (max-width: 900px) {
    .uzorci_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


.newgridmodul .gridwrapperonama {
    padding: 20px;
}

@media (max-width: 768px) {
    .newgridmodul .gridwrapperonama {
        padding: 0;
    }


    .newgridmodul .paddingwrapper {
        padding: 0;
    }

    .rounded_color_section .gridwrapperonama {
        padding: 0;
    }

    .rounded_color_section .paddingwrapper {
        padding: 0;
    }


    .rounded_color_section .gridmodul2 {
        padding: 20px 0;
    }

}




.proizvod_kartica {
    background-color: #fff;
    border-radius: 20px;
    overflow: hidden;
    flex: 1;
    border: 1px solid rgba(188, 188, 188, 0.2);
    position: relative;
}

.proizvod_kartica img {
    width: 100%;
    aspect-ratio: 9/6;
    object-fit: cover;
}


.proizvod_kartica .proizvod_kartica_content {
    font-weight:400;
    font-size: 1rem;
    color: #444;
    text-align: left;
    padding: 20px;
}

.proizvod_kartica .proizvod_kartica_content p {
    width: 100%;
    font-size: 1rem;
    font-weight: 300;
    color: #666;
    text-align: left;
}

.proizvod_kartica .proizvod_kartica_content h4 {
    font-size: 1.6rem;
    font-weight: 400;
    color: #444;
    text-align: left;
    width: 100%;
    padding: 0;
    margin: 0;
}

.proizvod_kartica .proizvod_kartica_content .cleanbutton {
    padding: 5px 20px;
}

.reinspecialmodul {
    margin: 40px 0;
}

.reinspecialmodul h3 {
    font-size: 1.5rem;
    font-weight: 400;
    color: #444;
    text-align: left;
    width: 100%;
    padding: 0;
    margin: 0;
    margin-bottom: 10px;
}

.reinspecialmodul p {
    font-size: 1rem;
    font-weight: 300;
    color: #666;
    text-align: left;
}


.cleanbutton_inverse {
    background-color: #fff;
    color: var(--main-color);
    border: 1px solid var(--main-color);
}

.card_icon_description_price {
    padding: 0px 20px;
}


.card_icon_description_price i {
    font-size: 30px;
}

.card_icon_description_price .modultxttop {
    font-size: 1.2rem;
    font-weight: 400;
    color: #444;
}


.card_icon_description_price .modultxttxt {
    font-size: 1rem;
    font-weight: 300;
    color: #666;
    padding-bottom: 5px;
}

.real_life_fotka_s_rubom {
    border: 3px solid #fff;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.overlapping_squares img:nth-child(1) {
    top: 0;
    left: 0;
}


.overlapping_squares img:nth-child(2) {
    top: 40%;
    left: 30%;
}



.modulwrapper_flex {
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.gridmodulonamaimg_tall img {
    aspect-ratio: 11/10;
}


.testimonials_wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px 20px;
    gap: 20px;
    box-sizing: border-box;
    overflow-x: scroll;
}

.testimonials_wrapper i {
    font-size: 24px;
    cursor: pointer;
    color: #666;
}


.testimonials_grid {
    gap: 30px;

    display: grid;
    grid-auto-flow: column; /* Automatically add columns */
    grid-auto-columns: calc((100% - 60px) / 3); /* Makes exactly 3 items visible */

    width: max-content; /* Ensures grid expands based on content */
    /* scroll-snap-type: x mandatory; */
    scrollbar-width: none; /* For Firefox */
    overflow-x: scroll;
    box-sizing: border-box;
}

.testimonials_grid::-webkit-scrollbar {
    display: none; /* For Chrome, Safari, and Opera */
}

.testimonial_card {
    scroll-snap-align: start;
}

.testimonial_card {
    box-sizing: border-box;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: left;

}

.testimonial_card h3 {
    font-size: 1.2em;
    margin: 0;
    color: #333;
}

.testimonial_card .role {
    color: #666;
    margin: 5px 0 20px;
    font-size: 14px;
    font-weight: 300;
}

.testimonial_card .testimonial_text {
    color: #333;
    line-height: 1.6;
    font-size: 16px;
    margin: 0;
    font-weight: 400;
}

@media (max-width: 768px) {
    .testimonials_grid {
        grid-auto-columns: 100%;
    }

    .testimonials_wrapper {
        padding:  10px;
        gap: 10px;

    }
}




@media (max-width: 768px) {

    .reinspecialmodul {
        flex-direction: column;
    }

    .cleanbutton_fullwidth_mobile {
        width: 100%;
        text-align: center;
    }

    .gridmodul60 {
        width: 100%;
    }

    .gridmodul40 {
        width: 100%;
    }
}


.correct_padding_left {
    margin-left: -10px
}

@media (max-width: 768px) {
    .correct_padding_left {
        margin-left: 0;
    }
}

.foto_section {
    border-radius: 8px;
    overflow: hidden;
    margin: 0 30px 0px 30px;
    display: flex;
    flex-direction: column;
    background-size: cover;
    background-position: center;
    min-height: 400px;

}

.foto_section_content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: left;
    justify-content: center;
    padding: 50px 40px;
    color: #fff;

}

.foto_section_content h1 {
    font-weight: 500;
    max-width: min(400px, 100%);
    text-align: left;
    margin: 0;
    font-size: 44px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: inherit;
}


.foto_section_content p {

    font-weight: 300;
    max-width: min(400px, 100%);
    text-align: left;
    margin: 0;
    font-size: 18px;
    color: inherit;
}

.foto_section_content .cleanbutton, .foto_section_content a {
    margin-top: 20px;
    width: fit-content;
    font-weight: 500;
}

.cleanbutton.inverted {
    background-color: #fff;
    color: var(--main-color);
}

.foto_section_mobile_wrapper {
    display: none;
}

@media only screen and (max-width: 600px) {
    .foto_section {
        display: none;
    }

    .foto_section_mobile_wrapper{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        box-sizing: border-box;
        padding: 0 20px;
    }
    .foto_section_mobile {
        display:  block;
        width: 100%;
        aspect-ratio: 1/1;
        margin: -10px;
    }

    .foto_section_content { 

        padding: 20px;
        background-color: #FFF5E2;
        color: #444;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
    }

    .foto_section_content .cleanbutton {
        color: #444;
        border-radius: 10px;
        box-shadow: 0 4px 4px 0px rgba(0, 0, 0, 0.25);
    }

    .foto_section_content h1 {
        font-size: 32px;
    }

    .foto_section_content p {
        font-size: 16px;
    }
}