/* Layout styles */

.header.header-index {
    background-color: #FFFFFF !important;
    height: 160px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.header-index.scrolled {
    height: 80px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.container-fluid {
    height: 100%;
    padding: 0 40px;
}

.logo-index img {
    height: 100px;
}

.header.header-index.scrolled .logo-index img {
    height: 80px;
}

.scrolled .header-nav {
    display: flex;
    align-items: center;
    height: 100%;
}

.header-right {
    height: 100%;
    display: flex;
    align-items: center;
}

.item-big {
    display: flex;
    align-items: center;
    height: 100%;
    margin: 0;
}

.nav-item {
    display: flex;
    align-items: center;
}

.nav-item .a-img {
    font-size: 20px;
    color: #000000 !important;
    font-weight: 500;
}

.nav-item:hover .a-img {
    color: #000000 !important;
    opacity: 0.8;
}

.position-relative .header-nav .item-big {
    display: flex;
    align-items: center;
    height: 120px;
}

.scrolled .position-relative .header-nav .item-big {
    height: 80px;
}

.position-relative .header-nav .item-big .nav-item .a-img {
    font-size: 20px;
    color: #000000;
    transition: all 0.3s ease;
    padding: 10px 15px;
}

.header-top .position-relative {
    background-color: #FFFFFF;
    height: 100px;
    margin-left: 56px;
}

.slider_text {
    margin-top: 160px;
    /* min-height: 770px; */
    text-align: center;
    color: #333333;
    font-size: 18px;
    line-height: 1.6;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.slider_text:hover {
    background-color: #ffffff;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

header.header .form-search .search-auto {
    width: 100%;
    padding: 10px;
    border: 1px solid #6D6059;
    border-radius: 4px !important;
    transition: all 0.3s ease;
}

header.header .form-search .search-auto::placeholder {
    color: #6D6059;
    opacity: 1;
    font-size: bold;
}


/* Additional custom CSS */

.rounded-right {
    border-radius: 0 300px 300px 0 !important;
}


/* Adjust text styling */

h2.text-success {
    font-size: 2.5rem;
    color: #0a8f3c !important;
}

p {
    line-height: 1.8;
}

.btn-outline-success {
    border-color: #0a8f3c;
    color: #0a8f3c;
}

.btn-outline-success:hover {
    background-color: #0a8f3c;
    color: white;
}


/* Light sketch background for the right side */

.content-wrapper {
    position: relative;
    z-index: 2;
}

.col-md-7 {
    background-image: url('path/to/light-sketch-background.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}


/* Responsive adjustments */

@media (max-width: 768px) {
    .rounded-right {
        border-radius: 0 0 100px 100px !important;
    }
    .row {
        flex-direction: column;
    }
    h2.text-success {
        font-size: 2rem;
    }
    .slider_text img {
        object-fit: cover;
    }
    .slider_text {
        max-height: fit-content !important;
        min-height: fit-content !important;
    }
    .header-nav .item-big {
        flex-direction: column;
        align-items: start;
        justify-content: start;
    }
}

@media (max-width: 991px) {
    header.header .header-nav {
        top: 0 !important;
    }
    header.header .nxcmmbmb {
        margin-left: 84%;
        margin-top: 1rem;
    }
    #klw3k5k23k23 {
        width: 70% !important;
        height: 100% !important;
        object-fit: cover !important;
        max-height: 716px !important;
        border-top-right-radius: 80px 80px !important;
    }
    .cate_item_1_wrapper {
        height: 300px !important;
    }
    .cate_item_2_wrapper {
        height: 300px !important;
    }
    .project-info {
        padding: 1rem !important;
    }
    .project-slider {
        margin-top: 1rem !important;
        margin-bottom: 2rem !important;
    }
    .project-grid .col-md-4 {
        display: flex;
    }
    .project-grid .project-image {
        margin: 0 !important;
    }
    .project-grid .project-image img:last-child {
        height: 200px !important;
    }
    .section_brand,
    .slider_text {
        width: 100% !important;
        overflow-x: hidden !important;
    }
    .header-nav.current .item-big {
        width: 100% !important;
    }
    .logo-index img {
        height: 65px;
    }
    .header.header-index {
        background-color: #FFFFFF !important;
        height: 90px;
    }
    .section_cate .text-white {
        font-size: 2rem !important;
    }
    .layout-product .details-product {
        background: none !important;
    }
}

@media (max-width: 991px) {
    body:not(.body-index) {
        /* padding-top: 90px !important; */
    }
    .products-view-grid .row {
        flex-direction: row;
    }
    .section_product_tab .row {
        flex-direction: row;
    }
    .tab-content .product-thumbnail {
        height: 185px !important;
    }
    .slider_text {
        margin-top: 90px;
    }
}