.elementor-47854 .elementor-element.elementor-element-b9579c6{--display:flex;--margin-top:0px;--margin-bottom:20px;--margin-left:0px;--margin-right:0px;}.elementor-47854 .elementor-element.elementor-element-e9a02a5{text-align:center;}.elementor-47854 .elementor-element.elementor-element-6e7a51f{--display:flex;}@media(max-width:767px){.elementor-47854 .elementor-element.elementor-element-e9a02a5 .elementor-heading-title{font-size:30px;}}/* Start custom CSS for html, class: .elementor-element-0af36eb */.custom-tabs-wrapper {
    display: flex;
    margin-bottom: 15px;
    flex-wrap: nowrap; /* Prevent wrapping */
    overflow-x: auto; /* Enable horizontal scrolling */
    white-space: nowrap; /* Prevent tabs from breaking */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on mobile */
    scrollbar-width: thin;
    scroll-behavior: smooth;
    width: 100%; /* Ensure it takes full width */
}
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
}

.close {
    position: absolute;
    top: 30px;
    right: 45px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}



.custom-tab-title {
    padding: 12px 20px;
    background: #f5f5f5;
    border-radius: 5px 5px 0 0;
    cursor: pointer;
    text-align: center;
    text-decoration: #00000;
    margin: 0 10px;
    font-weight: normal;
    color: black;
    transition: background 0.3s ease;
}

.custom-tab-title:hover, .custom-tab-title.active {
    background: #c5c5c5
    
;
}


.custom-tabs-wrapper {
    justify-content: flex-start;
}
.grid-3x3 {
    
    grid-template-columns: repeat(1, 1fr); /* 1 column on mobile */
        gap: 10px; /* Reduce gap for better spacing */
        justify-items: center;
        width: 100%;
        height: auto;
        padding: 20px;
        
}

/* On PC, center-align tabs */
@media (min-width: 768px) {
    .custom-tabs-wrapper {
        justify-content: center; /* Center tabs on PC */
    }
}

.custom-tab-content {
    padding: 20px;
    border: 1px solid #dddddd;
}

/* Grid Layout */
.image-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns on PC */
    gap: 20px;
    padding: 20px 0;
    justify-items: center; /* Center items horizontally */
}

.grid-item {
    text-align: center;
    width: 100%;
    max-width: 100%; /* Adjust width of grid items */
}
.grid-itemv  {
    text-align: center;
    width: 100%;
    max-width: 270px; /* Adjust width of grid items */
} 
.grid-item video {
    width: 100%;
    height: 530px;
    border-style: solid;
    border-radius: 0.5px;
    transition: transform 0.3s ease;
}

.grid-item img {
    width: 100%;
    height: auto;
    border-style: solid;
    border-radius: 0.5px;
    transition: transform 0.3s ease;
}

.grid-item img:hover {
    transform: scale(1.05);
}

.grid-item p {
    margin-top: 8px;
    font-size: 16px;
    font-weight: normal;
    color: #ddddddd;
}

/* Responsive Grid for Mobile */
@media (max-width: 768px) {
    .custom-tabs-wrapper {
        display: flex;
        flex-wrap: nowrap; /* Ensure all tabs stay in one row */
        overflow-x: auto; /* Enable horizontal scrolling */
        white-space: nowrap; /* Prevent tabs from breaking into new lines */
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on mobile */
        padding-left: 10px; /* Prevent left tabs from being cut off */
        scrollbar-width: thin; /* Ensure a small scrollbar */
    }

    /* Ensure scrollbar is visible and usable */
    .custom-tabs-wrapper::-webkit-scrollbar {
        height: 5px;
        /* Thin scrollbar for better visibility */
    }
    
    .custom-tabs-wrapper::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 3px;
    }
    .image-grid {
        grid-template-columns: repeat(1, 1fr); /* 1 column on mobile */
        gap: 10px; /* Reduce gap for better spacing */
        padding: 10px 0;
    }

    .custom-tab-title {
        flex-shrink: 0; /* Prevent tabs from resizing */
        min-width: 110px; /* Ensure each tab has enough space */
    }
}/* End custom CSS */