@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

html{
    scrollbar-width: thin;
}
body {
    font-family: 'Roboto' !important;
    background-color: #f7f8f9 !important;
}

.btn-secondary {
    background-color: var(--theme-color) !important;
}

.featured_image_preview img,.gallery_image_preview img{
    width: 100%;
    height: 100%;
}

img{
    object-fit: cover;
}

#readMoreBtn {
    float: right;
}

/* HTML: <div class="loader"></div> */
.loader-container{
    display: flex; 
    justify-content: center; 
    align-items: center; 
    height: 100vh; 
    width: 100vw; 
    position: fixed; 
    top: 0; 
    left: 0; 
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    display: none;
}

.loader {
    width: 50px;
    aspect-ratio: 1;
    display: grid;
  }
  .loader::before,
  .loader::after {    
    content:"";
    grid-area: 1/1;
    --c:no-repeat radial-gradient(farthest-side,#25b09b 92%,#0000);
    background: 
      var(--c) 50%  0, 
      var(--c) 50%  100%, 
      var(--c) 100% 50%, 
      var(--c) 0    50%;
    background-size: 12px 12px;
    animation: l12 1s infinite;
  }
  .loader::before {
    margin: 4px;
    filter: hue-rotate(45deg);
    background-size: 8px 8px;
    animation-timing-function: linear
  }
  
  @keyframes l12 { 
    100%{transform: rotate(.5turn)}
  }

.modal-title {
    margin-bottom: 0;
    line-height: 1.5;
    text-align: center;
    width: 100%;
}

form textarea{
    resize: none;
}

form.action{
    text-align: left;
}

.user-content{
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.user-sidebar {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.user-sidebar i{
    margin-right:10px;
}

.user-sidebar a{
    color: var(--theme-color) !important;
    display: inherit;
    padding: .5rem 1rem;
}

.user-sidebar .list-group-item.active {
    z-index: 2;
    color: #fff;
    background-color: var(--theme-color);
    border-color: var(--theme-color);
}

.user-sidebar .list-group-item.active a{
    color: #ffffff !important;
}

.swal-footer{
    text-align: center;
}

.card-header.bg-success{
    background-color: var(--theme-color) !important;
}

.form-group{
    text-align: left;
}

a{
    text-decoration: none !important;
}

.pagination nav{
    background-color: transparent !important;
    width: 100%;
}

.search .input-group-text,
.search .form-control {
    line-height: 2rem;
    height: 3rem; /* Adjust height if needed */
    padding: 0.5rem 1rem; /* Ensures proper spacing */
}

.errorClass{
    color: #ED3E15;
}

.btn-success{
    background-color: var(--theme-color) !important;
    border-color: var(--theme-color) !important;
}

.btn-success:hover{
    background-color: var(--theme-color) !important;
    border-color: var(--theme-color) !important;
}

.user.ml-2{
    margin-left: 10px;
}

.sign-in.ml-2{
    margin-left: 10px;
}

.logo{
    width: 300px;
    height: auto;
}

nav{
    background-color: var(--theme-color);
    color: #ffffff;
}

nav a.nav-link{
    color: #ffffff;
    font-size: 18px;
    text-decoration: none;
}

nav a.nav-link:hover{
    color: #ffffff;
}

.search-business{
    font-weight: 600;
    font-size: 24px;
    line-height: 18px;
}

.highlight{
    color: #ED3E15;
}

.section-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.get-quotes{
    border: 1px solid #ED3E15;
    padding: 5px 20px;
    border-radius: 5px;
    text-decoration: none;
    color: #ED3E15;
}

.card {
    margin-top: 10px;
    margin-bottom: 20px;
    border: none;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card-title{
    font-weight: 600px;
    font-size: 18px;
    line-height: 20px;
    text-align: left;
}

.card-text{
    padding-top: 5px;
    margin: 0px;
}

.card-img-top {
    height: 180px;
    object-fit: cover;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.btn-outline-danger {
    width: 100%;
    font-weight: bold;
    border-radius: 20px;
}

.featured_image_preview {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border:2px solid #e5e7eb;
    border-radius:5px;
  }

  .gallery_image_preview {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border:2px solid #e5e7eb;
    border-radius:5px;
  }

footer{
    background-color: var(--theme-color);
    color: #ffffff;
}

footer ul li{
    list-style: none;
    padding: 10px 10px;
}

footer a{
    color: #ffffff;
    text-decoration: none;
}

footer a:hover{
    color: #ffffff;
    text-decoration: none;
}

footer h5{
    font-weight: 600;
    font-size: 18px;
    line-height: 28px;
    padding-left: 2rem;
}

footer p{
    padding-top: 30px;
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
}

.follow-us{
    padding-top: 10px;
    padding-bottom: 15px;
    font-weight: 600;
    font-size: 18px;
    line-height: 16px;
}

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ffffff;
    color: var(--theme-color);
    margin: 0 5px;
}

.copyright{
    margin: 0px;
}

.sidebar {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}
.listing-card {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}
.listing-card:hover {
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
}
.listing-card img {
    width: 100%;
    border-radius: 8px;
}
.listing-card h5 {
    font-size: 1.2rem;
    margin-top: 10px;
}

.listing-image {
    width: 100%;
    border-radius: 8px;
}
.info-box {
    background: #fff;
    padding: 13px 10px;;
    border-radius: 8px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    border: 2px solid aquamarine;
}
.btn-main {
    background: #007bff;
    color: #fff;
    border: none;
}
.btn-main:hover {
    background: #0056b3;
}

.submenu {
    display: none;
    min-width: 200px;
    z-index: 1000;
    color: var(--theme-color) !important;
}

.submenu a.nav-link{
    color: var(--theme-color) !important;
    font-size: 15px;
    border-bottom: 1px solid var(--theme-color);
}

/* Show submenu on hover */
.nav-item:hover .submenu {
    display: block;
}

.action-buttons a {
    border: 2px solid #ddd;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: #333;
    border-radius: 5px;
    transition: 0.3s ease-in-out;
}

.action-buttons a:hover {
    background: #f8f9fa;
    border-color: var(--theme-color);
    color: var(--theme-color);
}

/* Share Menu Styling */
.share-menu {
    display: none;
    position: absolute;
    background: white;
    border: 2px solid #ddd;
    padding: 8px;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    right: 0;
    top: 40px;
    z-index: 10;
    min-width: 150px;
}

.share-menu a {
    display: flex;
    align-items: center;
    padding: 5px;
    text-decoration: none;
    color: #333;
    gap: 8px;
    border: none;
}

.share-menu a:hover {
    background: #f8f9fa;
}

/* Show menu when hovering over button or menu */
.position-relative:hover .share-menu,
.share-menu:hover {
    display: block;
}

.position-relative {
    position: relative;
}

.carousel-inner img {
            
    max-height: 400px;
    object-fit: cover;
}

.thumbnail-gallery {
    margin-top: 2px;
    justify-content: center;
}

.thumbnail-gallery img {
    width: auto;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid transparent;
}

.thumbnail-gallery img:hover, .thumbnail-gallery img.active {
    border: 2px solid #007bff;
}

.thumbnail-gallery {
    overflow-x: auto;
    white-space: nowrap;
    gap: 10px;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    -ms-overflow-style: none; /* Hide scrollbar for IE and Edge */
}

.thumbnail-gallery::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari */
}

.thumbnail-img {
    width: 80px; /* Adjust size as needed */
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border 0.3s ease-in-out;
}

.thumbnail-img.active {
    border: 2px solid #007bff; /* Highlight active image */
}

.tag-badge {
    background: #f1f1f1;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    margin-right: 5px;
    display: inline-block;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 10px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.list-group-item{
    padding: 1rem !important;
}

.sidebar .card-header {
    padding: 1rem;
    margin-bottom: 0;
    background-color: transparent !important;
    border-bottom: none;
    font-weight: 900;
    font-size: 25px;
  }

.category-item {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    font-weight: 500;
    color: #333;
    text-decoration: none;
}

.category-item:hover {
    background: #f8f9fa;
}

.category-icon {
    margin-right: 10px;
    font-size: 18px;
}

.category-name {
    flex-grow: 1;
}

.active-category {
    color: red;
    border-left: 3px solid red;
    padding-left: 12px;
}

.table > :not(caption) > * > *{
    padding: 1rem !important;
}

.status-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff4d4d;
    color: white;
    padding: 3px 10px;
    font-size: 12px;
    border-radius: 10px;
}

.social-icons a {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background: #f8f9fa;
    border-radius: 5px;
    color: #333;
    margin: 5px;
    transition: 0.3s;
    border: 1px solid var(--theme-color);
}

.social-icons a:hover {
    background: var(--theme-color);
    color: white;
}


.btn-custom {
    font-size: 16px;
    padding: 12px;
    width: 100%;
    border-radius: 5px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.btn-custom i {
    font-size: 20px;
    width: 40px;
    text-align: center;
}

.btn-phone {
    background: #007bff !important;
    color: white !important;
}

.btn-whatsapp {
    background: #25d366 !important;
    color: white !important;
}

.btn-email {
    background: #ff4d4d !important;
    color: white !important;
}

footer .social-icons {
    display: flex;
    justify-content: left;
    align-items: left;
}

.no-gallery-image img {
    width: 100%; /* Full width of the container */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Remove inline spacing */
}

.map iframe{
    width: 100%;
}