body,html{
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height:93vh;
}

.content {
    flex: 1;
    /* background-color: #f0f0f0; */
    margin:50px 20px 20px 20px;
    border-radius: 20px;
}

.list_image{
    border-radius: 20px;
}

.button-container {
margin:auto;
width: 90%;
/* Set the desired width */
height: 60px;
/* Set a fixed height for the container */
overflow-x: auto;
/* Allows horizontal scrolling */
overflow-y: hidden;
/* Hides vertical overflow */
white-space: nowrap;
/* Prevents buttons from wrapping */
border: 1px solid #ccc;
/* Optional: add a border */
border-radius: 5px;
/* Optional: rounded corners */
padding: 5px;
/* Optional: add some padding */
}

.button-container::-webkit-scrollbar {
height: 8px;

/* Set the height and width of the scrollbar */
}

.button-container::-webkit-scrollbar-thumb {
background-color: #888;
/* Color of the scrollbar thumb */
border-radius: 40px;
/* Rounded edges for the thumb */
}

.button-container::-webkit-scrollbar-thumb:hover {
background-color: #008ca3;
z-index: 10;
/* Darker thumb color on hover */
}

.button-container::-webkit-scrollbar-track {
background: #ffffff;
/* Background of the scrollbar track */
border-radius: 4px;
/* Rounded edges for the track */
}

.custom-btn {
margin-right: 5px;
/* Space between buttons */
padding: 10px 15px;
/* Padding for the buttons */
border: 0;
/* Remove default border */
border-radius: 3px;
/* Rounded corners for buttons */
/* Button background color */
color: #008ca3;
/* Button text color */
cursor: pointer;
/* Pointer cursor on hover */
}

.menu {

}

.menu-icon {
margin: 10px 10px 0 0;
}

.sidebar .menu-icon {
margin-top: 10px;
width: 15%;
height: auto;
}


.custom-btn {
/*jawad alnabwani*/

}

.btn-group-wrap {
display: flex;
}

.btn-group-wrap a {
border-radius: 0;
}

.image-container img{
    width:60px;
    height: 60px;
    margin: 0 20px;
}

.serviceItem:hover
{
    box-shadow: 0 0 10px hsla(0, 0%, 0%, 0.26);
}


@media (max-width: 300px) {
    .list_image {
        padding: 10px;
        width: 100px;
        height: 100px;
    
    }
}
@media (min-width: 300px) {
    .list_image {
        padding: 5px;
        width: 60px;
        height: 60px;
    }

    #search{
        font-size: xx-small;
        width: 90%;
        height: 25px;
    }
 #results{
    font-size: x-small;
    margin-left:12%;
}
footer p ,footer div{
    font-size:x-small;
}
h6{
    font-size: xx-small;
    margin-bottom:2px ;
}
marquee{
    width: 98%;
    height: 10%;
    font-size: xx-small;
}
.image-container img{
    width:60px;
    height: 60px;
}
.modal img{
    width: 70%;
}
.serviceItem {
    flex: 1 1 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
  }
}
@media (min-width: 500px) {
    .list_image {
        width:100px;
        height: 100px;
    
        padding: 5px;
    
    }

    .image-container img{
        width:100px;
        height: 100px;
    }

    #search{
        font-size:small;
        width: 90%;
        height: 35px;
        margin-top: 80px;
    }

 #results{
    margin-left:11%;
    font-size: small;
}
h6{
    font-size: small;
}

marquee{
    width: 98%;
    height: 8%;
    font-size: small;
}
.modal img{
    width: 50%;
}
.serviceItem {
    flex: 1 1 calc(28.333% - 20px);
    max-width: calc(28.333% - 20px);
  }

}

@media (min-width: 768px) {
    .list_image {
        width: 120px;
        height: 120px;

        padding: 5px;
    
    }

    .image-container img{
        width:120px;
        height: 120px;
    }

.menu {
    display: none;
}

nav .sidebar {
    display: none;
}

 #results{
    margin-left:10%;
    font-size: medium;
}


.title-img{
    height:200px;
    position: relative;
    z-index: 10;
}

h6{
    font-size:medium;
}
marquee{
    width: 98%;
    height: 8%;
    font-size: medium;
}
.modal img{
    width: 50%;
}
.serviceItem {
    flex: 1 1 calc(22.333% - 20px);
    max-width: calc(22.333% - 20px);
  }


}

@media (min-width: 992px) {
.list_image {
    width: 130px;
    height: 130px;
    padding: 5px;

}
.image-container img{
    width:130px;
    height:130px;
}

.category-container {
    height: 40px; /* Adjust height to fit one line of content */
    overflow: hidden;
    transition: height 0.3s ease;
    position: relative;
}

.category-container.expanded {
    height: auto;
}

.toggle-icon {
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 0;
    padding: 10px;
    background-color: #fff; /* Optional: add a background color for contrast */
}
h6{
    font-size:medium;
}
marquee{
    width: 98%;
    height: 10%;
}
.modal img{
    width: 40%;
}
.serviceItem {
    flex: 1 1 calc(18.333% - 20px);
    max-width: calc(18.333% - 20px);
  }


}

@media (min-width: 1200px) {
.list_image {
    width: 130px;
    height: 130px;
    padding: 5px;

}
.image-container{
    justify-items: center;
}

.image-container img{
    width:130px;
    height:130px;
}

.category-container {
    height: 40px; /* Adjust height to fit one line of content */
    overflow: hidden;
    transition: height 0.3s ease;
    position: relative;
}

.category-container.expanded {
    height: auto;
}

.toggle-icon {
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 0;
    padding: 10px;
    background-color: #e61414; /* Optional: add a background color for contrast */
}
h6{
    font-size:medium;
}
marquee{
    width: 98%;
    height: 13%;
}
.modal img{
    width: 30%;
}

.serviceItem {
    flex: 1 1 calc(15.333% - 20px);
    max-width: calc(15.333% - 20px);
  }
}

@media (min-width: 1400px) {
.list_image {
    width: 150px;
    height: 150px;
    padding: 5px;

}

.image-container img{
    width:150px;
    height:150px;
}

.btn-group-wrap a {
    width: auto;

}
footer p ,footer div{
    font-size:small;
}
h6{
    font-size:large;
}
marquee{
    width: 98%;
    height: 13%;
}
.modal img{
    width: 30%;
    /* height: 600px; */
}
.serviceItem {
    flex: 1 1 calc(15.333% - 20px);
    max-width: calc(15.333% - 20px);
  }
}

@media (max-width:768px) {
    .list_image{

        padding: 5px;}
.button-container {
    display: none;
}

select {
    width: auto;
}


select option {
    font-size: xx-large;
}



.sidebar {
    font-size: xx-large;
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 100%;
    z-index: 999;
    background-color: white;
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    list-style-type: none;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    overflow-y: scroll;
    padding: 0 10px;
}

.sidebar::-webkit-scrollbar {
    height: 10px;
    width: 3px;
}

.sidebar::-webkit-scrollbar-thumb {
    background-color: #888;
    /* Color of the scrollbar thumb */
    border-radius: 40px;
    /* Rounded edges for the thumb */
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background-color: #555;
    /* Darker thumb color on hover */
}

.sidebar::-webkit-scrollbar-track {
    background: #f1f1f1;
    /* Background of the scrollbar track */
    border-radius: 4px;
    /* Rounded edges for the track */
}

.sidebar li {
    width: 100%;
    padding: 10px 0px;
}

#listcategory {
    width: 100%;
    padding: 10px 0px;
    color: #008ca3;
    font-weight: bold;
}

.sidebar a {
    width: 100%;
    color: #008ca3;
    text-decoration: none;
    font-size:large;
    font-weight:500;
}

}

.result-link {
text-decoration: none;
color: #008ca3;
}

.result-link:hover {
color: #007bff;
/* Optional: Change color on hover if desired */
}



.image-container img {
cursor: pointer;
transition: transform 0.3s ease;
}

.modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.8);
justify-content: center;
align-items: center;
}

.modal img {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}

.modal span{
    position: absolute;
    top:20%;
    left: 20px;
    background-color: #ffffff;
    color: #008ca3;
    border-radius: 3px;
    font-size: xx-small;
    padding: 5px;
}

.serviceElement {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: space-between;
  }
.sponsorDiv {
  display: flex;
      flex-wrap: wrap;
      flex-direction: row;
      align-content: center;
      justify-content: center;
      align-items: center;}

@media(max-width:500px){
    iframe{
        width: 90%;
        height: 100px;
        font-size: xx-small;
    }

    button{
        font-size: xx-small;
    }

    .sponsorDiv img{
        width: 30px;
        height: 30px;
    }

}
@media(min-width:501px){
    iframe{
        width: 90%;
        height: 100px;
        font-size:8px;
    }

    button{
        font-size: xx-small;
    }

    .sponsorDiv img{
        width: 50px;
        height: 50px;
    }

}