  .upload-photo-btn {
    width: 100%;
    margin-top:0px;
}
.Uploadphoto {
    float: left;
    position: relative;
    padding: 15px 30px;
    color: #fff;
    border-radius: 23px;
    font-size: 14px;
    font-weight: 500;
    background: #48383a;
    width: 100%;
    text-align: center;
    margin-bottom: 15px;
}
.Uploadphoto input.upload {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    cursor: pointer;
    opacity: 0;
}

 #service-input-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border: 1px solid #ccc;
    padding: 5px;
    border-radius: 5px;
}
#tags-container {
    display: flex;
    flex-wrap: wrap;
}
.tag {
    margin: 2px;
    padding: 5px 10px;
    background-color: #e9ecef;
    color: #464a46;
    font-size: 14px;
    font-weight: 600;
    border-radius: 3px;
    display: flex;
    align-items: center;
}
.tag [data-role="remove"] {
    margin-left: 8px;
    cursor: pointer;
    color: #dc3545;
    font-weight: bold;
}
.tag [data-role="remove"]:hover {
    color: #a71d2a;
}
.input {
    flex-grow: 1;
    border: none;
    outline: none;
    margin-left: 5px;
    padding: 5px;
}
.input::-moz-placeholder {
    color: #777;
    opacity: 1;
}
.input:-ms-input-placeholder {
    color: #777;
}
.input::-webkit-input-placeholder {
    color: #777;
}

.checkbox-success {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-success label {
    position: relative;
    padding-left: 25px; /* Space for the custom checkbox */
    cursor: pointer;
    user-select: none;
}

/* Custom checkbox design */
.checkbox-success label::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid #16A34A;
    border-radius: 3px;
    background-color: white;
    transition: background-color 0.3s, border-color 0.3s;
}

/* Checkmark for the custom checkbox */
.checkbox-success input[type="checkbox"]:checked + label::after {
    content: '';
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 5px;
    height: 10px;
    border: solid #ffce10;
    border-width: 0 2px 2px 0;
    transition: transform 0.3s;
}

/* On hover */
.checkbox-success label:hover::before {
    border-color: #ffce10;
}

.checkbox-success.custom-gap label {
    margin-left: 15px; /* Adjust this value to reduce the gap */
    font-size: 14px;  /* Optional: Adjust text size for better alignment */
    vertical-align: middle; /* Align label text with the checkbox */
}

.btn-gallery{

    border-radius: 20px;
    margin-top: 5px;
}

.btn-image{
    margin-bottom: 5px;
}

.delete-gallery{
    text-align: center;color:red
  }

.mandatory{

    color:red;
}
.tg-btn-list {
    position: relative;
    z-index: 10; /* Ensure it is above overlapping elements */
}
.btn-gallery{
  position: relative;
    z-index: 10; /* Ensure it is above overlapping elements */
}

.scrollkeyword, .scrollcity{
    position: absolute;
    z-index: 95;
    left: 0;
    right: 30px;
    top: 100%;
    max-height: 200px;
    overflow-y: auto;
    background: #fff;
    /*border: 1px solid #ccc;*/
    border-top: none;
}

 .scrollpostal {
    z-index: 95;
    left: 0;
    right: 0;
    max-height: 200px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #ccc;
    border-top: none;
}


.scrollkeyword span1, .scrollcity span2, .scrollpostal span3 {
    padding: 10px;
    border-bottom: 1px solid #ccc;
    text-align: left;
}


.scrollkeyword span1:hover, .scrollcity span2:hover, .scrollpostal span3:hover {
    background: #f5f5f5;
    cursor: pointer;
}

.scrollkeyword span1, .scrollcity span2, .scrollpostal span3 {
    padding: 10px;
    color: #333;
}



.scrollkeyword span1:hover,
.scrollcity span2:hover {
    background: #f5f5f5;
    cursor: pointer;
}

/* Media Queries for Different Screen Sizes */

/* For devices larger than 768px */
@media (min-width: 769px) {
    .scrollkeyword,
    .scrollcity {
        max-height: 300px; /* Increase height for larger devices */
    }
}

/* For devices between 481px and 768px */
@media (min-width: 481px) and (max-width: 768px) {
    .scrollkeyword,
    .scrollcity {
        max-height: 250px; /* Moderate height for medium devices */
        margin-left: 20px; /* Ensure 10px margin */
        margin-right: -2px; /* Ensure 10px margin */
    }
}

/* For devices up to 480px */
@media (max-width: 480px) {
    .scrollkeyword,
    .scrollcity {
       position: absolute;
        max-height: 219px;
        margin-left: 25px;
        margin-right: 0px;
    }
}

/* Additional styling for mobile devices */
@media (max-width: 320px) { /* For very small devices */
    .scrollkeyword,
    .scrollcity {
        max-height: 150px;
        margin-left: 7px;
        margin-right: 11px;
    }

    .scrollkeyword span1,
    .scrollcity span2 {
        padding: 8px; /* Reduce padding for smaller screens */
    }
}


  .responsive-logo {
        height: 160px;
    }

    @media (max-width: 768px) { 
        .responsive-logo {
            height: 110px;
        }
    }

.detail-gallery-preview img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Desktop View (Default) */
.detail-gallery-index {
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
}

/* Thumbnail Items */
.detail-gallery-list-item {
    flex: 0 0 auto;
    width: 100px; /* Default width for desktop */
    margin: 5px;
}

/* Make Images Responsive */
.detail-gallery-list-item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

/* Mobile View (Less than 768px) */
@media (max-width: 768px) {
    .detail-gallery-index {
        flex-wrap: wrap; /* Wrap thumbnails on smaller screens */
        justify-content: center;
    }
    .detail-gallery-list-item {
        width: 70px; /* Smaller thumbnails for mobile */
        margin: 3px;
    }
}

/* Extra Small Screens (Less than 480px) */
@media (max-width: 480px) {
    .detail-gallery-list-item {
        width: 60px; /* Even smaller thumbnails */
    }
}

/* Large Image Full Width */
.detail-gallery-preview img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.btn-success {
    
    width: 100%;
    text-transform: uppercase;
    font-weight: bold;
    background-color: #16A34A;
    border-color: #16A34A;
}

.btn-view-more{
    padding-left: 9px;
}

 /*.listing-item {
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 30px;
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .listing-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
  }*/

  .feature-box-text h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 0;
  }

  .feature-box-text h3 a {
    color: #fff;
    text-decoration: none;
  }

  /* Gradient background color classes */
  .bg-color-1 { background: linear-gradient(135deg, #4facfe, #00f2fe); }
  .bg-color-2 { background: linear-gradient(135deg, #43e97b, #38f9d7); }
  .bg-color-3 { background: linear-gradient(135deg, #fa709a, #fee140); }
  .bg-color-4 { background: linear-gradient(135deg, #f093fb, #f5576c); }
  .bg-color-5 { background: linear-gradient(135deg, #667eea, #764ba2); }
  
   /* Scrollable dropdown */
.scrollable-dropdown {
  max-height: 200px; /* Adjust height as needed */
  overflow-y: auto;
  overflow-x: hidden;
}

/* Custom scrollbar style */
.scrollable-dropdown::-webkit-scrollbar {
  width: 8px;
}

.scrollable-dropdown::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.scrollable-dropdown::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

.scrollable-dropdown::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Parent tool-card setup */
.tool-card {
  background: linear-gradient(135deg, #262626 0%, #16A34A 100%);
  color: #fff;
  padding: 2rem;
  border-radius: 15px;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.4s ease;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Inner content spaced equally */
.card-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-content h3 {
  font-size: 20px;
  margin-bottom: 12px;
  font-weight: bold;
}

.card-content p {
  font-size: 14px;
  margin-bottom: auto; /* Pushes button down */
  opacity: 0.9;
}

.btn-wrapper {
  margin-top: 20px;
}

.btn-open-tool {
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 10px 20px;
  border-radius: 30px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease, border 0.3s ease;
  margin-top: 10px;
}

.btn-open-tool:hover {
  background-color: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Listing CSS */
/* 🌈 Background Gradient */
.listing-section {
    background: linear-gradient(135deg, #262626 0%, #16A34A 100%);
    padding: 40px 10px;
    padding-left: 42px;
}

/* 💡 Listing Card */
.recent-listing-box-container-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  overflow: hidden;
  margin-bottom: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recent-listing-box-container-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}

/* 🖼️ Image Section */
.recent-listing-box-image {
  position: relative;
  overflow: hidden;
}

.recent-listing-box-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.recent-listing-box-container-item:hover img {
  transform: scale(1.05);
}

/* 🟢 Remove Green Box */
.recent-listing-box-image h1 {
  display: none;
}

/* 📋 Text Section */
.recent-listing-box-item {
  padding: 20px;
}

.recent-listing-box-item h3 {
  font-size: 22px;
  color: #262626;
  font-weight: 700;
  margin-bottom: 8px;
}

.recent-listing-box-item a {
  text-decoration: none;
}

/* Address */
.recent-feature-item-address {
  color: #666;
  font-size: 14px;
  margin-bottom: 8px;
}

.recent-feature-item-address i {
  color: #16A34A;
  margin-right: 5px;
}

/* Description */
.recent-listing-box-item p {
  color: #444;
  font-size: 15px;
  line-height: 1.6;
  margin-top: 5px;
}

/* 🌟 View Details Button - Modern Green */
.view-details-btn {
  display: inline-block;
  padding: 10px 18px;
  margin-top: 12px;
  background: #2f9870; /* Deep Green */
  color: #fff;
  font-weight: 700;
  border-radius: 6px;
  transition: 0.3s ease;
}

.view-details-btn:hover {
  background: #262626; /* Dark Gray on hover */
  color: #fff;
}




/* 📱 Mobile Responsive Fixes */
@media (max-width: 768px) {

  /* Make image and text side by side on mobile */
  .recent-listing-box-container-item {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
  }

  .recent-listing-box-container-item .col-md-4,
  .recent-listing-box-container-item .col-md-8 {
    width: 50%;
    padding: 0 8px;
  }

  /* Reduce image height on mobile */
  .recent-listing-box-image img {
    height: 160px;
    object-fit: cover;
  }

  /* Hide description text on mobile */
  .recent-listing-box-item p {
    display: none;
  }

  /* Adjust text area padding */
  .recent-listing-box-item {
    padding: 10px;
  }

  /* Adjust title size for better fit */
  .recent-listing-box-item h3 {
    font-size: 18px;
    margin-bottom: 4px;
  }

  /* Compact button on mobile */
  .view-details-btn {
    padding: 8px 14px;
    font-size: 14px;
  }

  /* Slightly reduce background padding */
  .listing-section {
    padding: 25px 10px;
  }
}
/* 📱 Tablet View (481px to 768px) */
@media (max-width: 768px) and (min-width: 481px) {
  .recent-listing-box-container-item {
    display: flex;
    align-items: flex-start;
    flex-wrap: nowrap;
  }

  .recent-listing-box-container-item .col-md-4,
  .recent-listing-box-container-item .col-md-8 {
    width: 50%;
    padding: 0 6px;
  }

  .recent-listing-box-image img {
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
  }

  .recent-listing-box-item {
    padding: 10px;
  }

  .recent-listing-box-item h3 {
    font-size: 18px;
  }

  .recent-listing-box-item p {
    display: none; /* hide short description */
  }

  .view-details-btn {
    padding: 8px 12px;
    font-size: 14px;
  }
}

/* 📱 Small Mobile View (below 480px) */
@media (max-width: 480px) {
  .recent-listing-box-container-item {
    display: block;
  }

  .recent-listing-box-container-item .col-md-4,
  .recent-listing-box-container-item .col-md-8 {
    width: 100%;
    padding: 0;
  }

  .recent-listing-box-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
  }

  .recent-listing-box-item {
    padding: 10px 8px;
    text-align: left;
  }

  .recent-listing-box-item h3 {
    font-size: 16px;
    margin-bottom: 5px;
  }

  .recent-feature-item-address {
    font-size: 13px;
    margin-bottom: 6px;
  }

  .recent-listing-box-item p {
    display: none; /* hide description */
  }

  .view-details-btn {
    padding: 7px 10px;
    font-size: 13px;
  }
}

/* ✅ Fix for card alignment on small screens */
@media (max-width: 480px) {
  .listing-section {
    padding: 20px 12px; /* add proper side padding */
  }

  .recent-listing-box-container-item {
    display: block;
    margin: 0 0 20px 0; /* bottom spacing between cards */
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    overflow: hidden;
  }

  .recent-listing-box-item {
    padding: 12px; /* uniform inner spacing */
  }

  .recent-listing-box-image img {
    width: 100%;
    height: 150px;
    border-radius: 10px 10px 0 0;
  }
}
/* ✅ Fix for all mobile & small tablet screens (up to 768px) */
@media (max-width: 768px) {
  .listing-section {
    padding: 20px 14px; /* equal padding left & right */
  }

  .recent-listing-box-container-item {
    margin: 0 0 20px 0;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    overflow: hidden;
  }

  .recent-listing-box-item {
    padding: 12px;
  }

  .recent-listing-box-image img {
    width: 100%;
    height: 150px;
    border-radius: 10px 10px 0 0;
  }
}
/* ✅ Ultra-Mobile Polished Layout (image + heading spacing fixed + full-width button) */
@media (max-width: 480px) {
  .listing-section {
    padding: 20px 12px;
  }

  .recent-listing-box-container-item {
    display: block;
    margin: 0 0 20px 0;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    overflow: hidden;
  }

  /* 🔧 Image spacing reduced */
  .recent-listing-box-image {
    padding-top: 0; /* removed extra padding */
  }

  .recent-listing-box-image img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
  }

  /* Content area */
  .recent-listing-box-item {
    padding: 10px 12px;
  }

  /* 🩵 Tighten heading spacing */
  .recent-listing-box-item h3 {
    font-size: 16px;
    margin-top: 6px;   /* smaller top gap */
    margin-bottom: 4px;
    line-height: 1.3;
  }

  .recent-feature-item-address {
    font-size: 13px;
    margin-bottom: 6px;
  }

  .recent-listing-box-item p {
    display: none; /* hide description */
  }

  /* 🌟 Full-width modern button */
  .view-details-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    background: #16A34A;
    color: #fff;
    font-weight: 700;
    border-radius: 6px;
    margin-top: 8px;
    transition: 0.3s ease;
  }

  .view-details-btn:hover {
    background: #262626;
    color: #fff;
  }
}

@media (max-width: 480px) {
  .recent-listing-box-image img {
    width: 100%;
    height: auto;            /* automatic height */
    object-fit: contain;     /* show full image */
    background: #fff;        /* background fill */
    padding: 5px;            /* little spacing around */
    border-radius: 10px;     /* rounded edges */
  }
}

/*@media (max-width: 360px) {
    .recent-listing-box-item h3 {
        font-size: 13px;
        margin-top: 4px;
        margin-bottom: 4px;
        line-height: 1.25;
    }
}*/

/* 📱 Mobile Responsive Fix */
@media (max-width: 768px) {
  #vfx-product-inner-item {
    padding: 0 !important; /* remove top & bottom padding on mobile */
  }
}

@media (max-width: 768px) {
  #dashboard_inner_block {
    padding: 0 !important; /* remove top & bottom padding on mobile */
  }
}

  /* Mobile only: show toggle button */
@media (max-width: 768px) {
    .category-toggle-btn {
        display: block;
        width: 100%;
        background: #16A34A;
        color: #fff;
        border: none;
        padding: 10px 15px;
        font-size: 16px;
        font-weight: 600;
        text-align: left;
        border-radius: 6px;
        margin-bottom: 8px;
        cursor: pointer;
    }

    /* Initially hide category list on mobile */
    #category-list {
        display: none;
        max-height: 300px; /* optional scroll for long list */
        overflow-y: auto;
    }
}

/* Desktop view: show categories always */
@media (min-width: 769px) {
    .category-toggle-btn {
        display: none;
    }
    #category-list {
        display: block !important;
    }
}

@media (max-width: 768px) {
    .location-toggle-btn {
        display: block;
        width: 100%;
        background: #16A34A;
        color: #fff;
        border: none;
        padding: 10px 15px;
        font-size: 16px;
        font-weight: 600;
        text-align: left;
        border-radius: 6px;
        margin-bottom: 8px;
        cursor: pointer;
    }

    /* Initially hide category list on mobile */
    #location-list {
        display: none;
        max-height: 300px; /* optional scroll for long list */
        overflow-y: auto;
    }
}

/* Desktop view: show categories always */
@media (min-width: 769px) {
    .location-toggle-btn {
        display: none;
    }
    #location-list {
        display: block !important;
    }
}

.sarkari-box {
  display: block; /* block-level so whole box is clickable */
  background: linear-gradient(135deg, #262626 0%, #16A34A 100%);
  border-radius: 15px;
  text-decoration: none;
  color: #fff;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: all 0.3s ease-in-out;
  margin-bottom: 25px; /* Added gap between boxes */
}

.sarkari-box:hover {
  transform: translateY(-6px);
  background: linear-gradient(135deg, #16A34A 0%, #262626 100%);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.sarkari-box h3 {
  font-size: 20px;
  font-weight: 600;
  color: #FFD700;
  margin: 0;
  transition: color 0.3s ease;
}

.sarkari-box:hover h3 {
  color: #fff;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
  .sarkari-box {
    padding: 20px 15px;
  }
  .sarkari-box h3 {
    font-size: 18px;
  }
}


/* Latest News Boxes */
.news-box {
  display: block;
  background: linear-gradient(135deg, #262626 0%, #16A34A 100%);
  border-radius: 15px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: all 0.3s ease-in-out;
  height: 100%;
  margin-bottom: 20px;
}

.news-box:hover {
  transform: translateY(-6px);
  background: linear-gradient(135deg, #16A34A 0%, #262626 100%);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.news-box-img {
  width: 100%;
  position: relative;
}

.news-box-img img {
  width: 100%;
  height: auto; /* flexible height */
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.news-box:hover img {
  transform: scale(1.05);
}

.news-date {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(255,215,0,0.9);
  color: #000;
  padding: 5px 10px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 5px;
  z-index: 2;
}

.news-box-content {
  padding: 15px;
  text-align: center;
}

.news-location {
  font-size: 13px;
  color: #eee;
  margin-bottom: 5px;
}

.news-box-content h3 {
  font-size: 16px;
  color: #FFD700;
  margin: 0;
  transition: color 0.3s ease;
}

.news-box:hover h3 {
  color: #fff;
}

.btn-view-more {
  display: inline-block;
  background: linear-gradient(135deg, #262626 0%, #16A34A 100%);
  color: #fff;
  padding: 8px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-view-more:hover {
  background: linear-gradient(135deg, #16A34A 0%, #262626 100%);
  color: #fff;
  transform: translateY(-2px);
}

/* Responsive Mobile Adjustments */
@media (max-width: 991px) {
  .news-box {
    margin-bottom: 20px;
  }
  
  .news-box-content h3 {
    font-size: 15px;
  }

  .news-location {
    font-size: 12px;
  }
}

@media (max-width: 767px) {
  .news-box-content {
    padding: 12px 10px;
    margin-bottom: 20px;
  }
  .news-box-img img {
    height: auto;
  }
}

/* Business Listing Bedge */

/* Badge Container */
.listing-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0 10px;
  align-items: center;
}

/* Common Badge Style */
.listing-badges .badge {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  border-radius: 6px;
  padding: 4px 10px;
  color: #fff;
  white-space: nowrap;
}

/* Individual Badge Colors */
.rating-badge {
  background: #34a853;
  color: #fff;
}

.gold-badges {
  background: #f4b400;
  color: #000;
}

.trust-badge {
  background: #f4b400;
  color: #000;
}

.verified-badge {
  background: #4285f4;
}

.responsive-badge {
  background: #6f42c1;
}

/* Icons inside badges */
.listing-badges .badge i {
  margin-right: 5px;
  font-size: 13px;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
  .listing-badges {
    gap: 6px;
  }
  .listing-badges .badge {
    font-size: 12px;
    padding: 3px 8px;
  }
}

/* Container Grid */
#feature-item_listing_block .category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

/* Card */
#feature-item_listing_block .category-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* stretch content for button bottom */
  align-items: center;
  background: linear-gradient(135deg, #262626 0%, #16A34A 100%);
  color: #FFD700;
  text-align: center;
  padding: 16px 10px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  min-height: 320px;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Card Hover */
#feature-item_listing_block .category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
  background: linear-gradient(135deg, #16A34A 0%, #262626 100%);
  color: #fff;
}

/* Card Image */
#feature-item_listing_block .category-card .category-icon {
  width: 100%;
  height: 180px;          /* height reduced */
  object-fit: cover;      /* image crop proper */
  border-radius: 8px;     /* rounded corners */
  border: 2px solid #FFD700; /* border around image */
  margin-bottom: 10px;
}

/* Card Title */
#feature-item_listing_block .category-card .category-name {
  font-size: 16px;
  margin-bottom: 6px;
  min-height: 40px; /* fix for long/short names */
  color: #FFD700;
}

/* Badges */
#feature-item_listing_block .category-card .listing-badges {
  margin: 5px 0;
}

#feature-item_listing_block .category-card .listing-badges .badge {
  font-size: 11px;
  padding: 4px 6px;
  margin: 2px;
  background-color: rgba(255,215,0,0.2);
  color: #FFD700;
}

/* Address */
#feature-item_listing_block .category-card .recent-feature-item-address {
  font-size: 13px;
  color: #fff;  /* white on gradient */
  margin-top: 5px;
}

/* Button */
#feature-item_listing_block .category-card .btn-view-all {
  display: inline-block;
  background: #FFD700;
  color: #262626;
  padding: 8px 15px;
  border-radius: 25px;
  font-weight: bold;
  text-align: center;
  margin-top: auto; /* bottom aligned */
}

#feature-item_listing_block .category-card .btn-view-all:hover {
  background: #fff;
  color: #16A34A;
}

/* Heading */
#feature-item_listing_block .feature-item-listing-heading h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
}

/* Responsive */
@media(max-width:1024px){
  #feature-item_listing_block .category-grid {
    grid-template-columns: repeat(3,1fr);
  }
}
@media(max-width:767px){
  #feature-item_listing_block .category-grid {
    grid-template-columns: repeat(2,1fr);
  }
  #feature-item_listing_block .category-card .category-icon {
    height: 180px;
  }
  #feature-item_listing_block .feature-item-listing-heading h1 {
    font-size: 24px;
  }
}
@media(max-width:480px){
  #feature-item_listing_block .category-grid {
    grid-template-columns: repeat(1,1fr);
  }
  #feature-item_listing_block .category-card .category-icon {
    height: 180px;
  }
}

#refreshCaptcha {
  background: none !important;  /* Remove grey background */
  border: none !important;      /* Remove border */
  outline: none !important;     /* Remove focus outline */
  padding: 0;
  margin: 0;
  cursor: pointer;              /* Cursor pointer on hover */
}

#refreshCaptcha .fa-refresh {
  color: #007bff;               /* Icon color (blue) */
  font-size: 20px;              /* Bigger refresh icon */
  transition: transform 0.3s ease;
}

#refreshCaptcha:hover .fa-refresh {
  transform: rotate(180deg);    /* Nice rotate effect on hover */
  color: #16A34A;               /* Optional hover color */
}


/* 📱 Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  width: 55px;
  height: 55px;
  bottom: 80px;
  right: 5px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 28px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background: linear-gradient(135deg, #128C7E, #25D366);
  color: #fff;
}

/* 🔹 Mobile Adjustments */
@media (max-width: 576px) {
  .whatsapp-float {
    width: 48px;
    height: 48px;
    font-size: 24px;
    bottom: 100px;
    right: 5px;
  }
}

/* City Responsive */
  @media screen and (max-width: 344px) and (max-height: 812px),
       screen and (width: 344px) and (height: 812px) {
    
    .scrollcity {
        margin-left: 25px;
        margin-right: 0;    
        position: absolute;
    }
}

@media screen and (max-width: 314px) and (max-height: 896px),
       screen and (width: 314px) and (height: 896px) {
    .scrollkeyword,
    .scrollcity {
        margin-left: 25px;
        margin-right: 0;
        position: absolute;
       
    }
}

/* Container for logo: responsive circular frame */
.user_logo_pic {
  /* responsive size: min 80px, preferred 10vw, max 140px */
  width: clamp(80px, 10vw, 140px);
  height: clamp(80px, 10vw, 140px);
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  /* keep spacing from surrounding content if needed */
  margin-right: 16px;
}

/* Inner wrapper provides border/white background & hides overflow */
.logo-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;        /* makes it a perfect circle */
  overflow: hidden;          /* hides overflow so img never escapes */
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;       /* fallback background so small/transparent logos look good */
  border: 3px solid #fff;    /* white border (change color if needed) */
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* Image behaviour: always cover the circle and stay centered */
.responsive-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;    /* key: makes big or small images fill circle without overflow */
  object-position: center center;
  display: block;
}

/* Optional: if you prefer to always show full image (no cropping), use contain instead:
.responsive-logo { object-fit: contain; padding: 8px; }
Note: contain may show blank space around image for non-square photos. */

/* Responsive adjustments for very small screens */
@media (max-width: 576px) {
  .user_logo_pic { width: clamp(64px, 16vw, 110px); height: clamp(64px, 16vw, 110px); margin-right: 10px; }
  .logo-inner { border-width: 2px; }
}
/* Wrapper for Logo + Member Since */
.business-logo-member {
  background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%); /* Change background here */
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  margin-bottom: 20px;
}

 
.business-sidebar {

  padding: 0px;
  border-radius: 15px;
  text-align: center;
  margin-bottom: 30px;
}

/* Business Logo */
.business-logo-sidebar img {
  background: linear-gradient(135deg, #262626 0%, #16A34A 100%);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid #FFD700;
  padding: 5px;
  object-fit: cover;
  margin-bottom: 15px;
}

/* Member Since */
.member-since {
  font-size: 14px;
  color: #fff;
  margin-bottom: 20px;
}

/* Opening Hours */
.left-slide-slt-block h3 {
  color: #FFD700;
  font-size: 18px;
  margin-bottom: 10px;
}


/* Enquiry Form */
.enquiry-form-sidebar {

  background: linear-gradient(135deg, #262626 0%, #16A34A 100%);
  margin-top: 20px;
  padding:20px;
}

.enquiry-form-sidebar h3 {
  color: #FFD700;
  font-size: 18px;
  margin-bottom: 15px;
}

.enquiry-form-sidebar .form-group {
  margin-bottom: 12px;
}

.enquiry-form-sidebar input,
.enquiry-form-sidebar textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: none;
  font-size: 14px;
}

.enquiry-form-sidebar input:focus,
.enquiry-form-sidebar textarea:focus {
  outline: none;
  box-shadow: 0 0 5px #16A34A;
}

.btn-submit {
  width: 100%;
  background: #FFD700;
  color: #000;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background: #16A34A;
  color: #fff;
}

/* Responsive */
@media (max-width: 767px) {
  .business-sidebar {
    margin-bottom: 20px;
  }
}

/* Custom Dropdown */
.custom-select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: none;
  background-color: #fff; /* white background */
  color: #000;           /* black text */
  font-size: 14px;
  appearance: none;       /* remove default arrow */
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  position: relative;
}

/* Optional: Arrow */
.custom-select::after {
  content: "▼";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #000;
  font-size: 12px;
}

/* Focus */
.custom-select:focus {
  outline: none;
  box-shadow: 0 0 5px #16A34A;
}

.enquiry-form-sidebar .text-danger {
    color: #fff !important;       /* white text */
    font-size: 13px;
    margin-top: 5px;
    display: block;
    text-align: left;             /* left align */
}

  /* Row styling */
      .captcha-row {
        display: flex;
        align-items: center;
        gap: 10px; /* space between image and button */
      }

      /* CAPTCHA image */
      .captcha-row img {
        height: 50px;
        width: auto;
        border: 2px solid #FFD700;
        border-radius: 5px;
      }

      /* Refresh button */
      .btn-refresh-captcha2 {
        background: #16A34A;
        color: #fff;
        border: none;
        padding: 8px 12px;
        border-radius: 5px;
        cursor: pointer;
        transition: all 0.3s ease;
      }

      .btn-refresh-captcha2:hover {
        background: #FFD700;
        color: #000;
      }
       /* Exact height match: width between 315px and 477px AND height = 896px */
@media (min-width: 315px) and (max-width: 477px) and (height: 896px) {
  .scrollcity {
    margin-left: 25px; /* adjust as needed */
    margin-right: 0;
    position: absolute;
    
  }
}

/* 🌾 Aahar Jharkhand Section Design */
.aahar-section {
  background: linear-gradient(135deg, #262626, #16A34A);
  color:#FFD700; /* Golden text */
  text-align: center;
  padding: 20px 15px;
  border-radius: 20px;
  margin: 40px auto;
  max-width: 750px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  transition: all 0.4s ease;
}

.aahar-section:hover {
  transform: scale(1.02);
  box-shadow: 0 0 35px rgba(22, 163, 74, 0.6);
}

.aahar-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.aahar-subtitle {
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 25px;
  color: #e6c95c;
}

.aahar-btn {
  display: inline-block;
  background: transparent;
  border: 2px solid #d4af37;
  color: #FFD700;
  padding: 10px 50px;
  font-size: 1.5rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

.aahar-btn:hover {
  background: #d4af37;
  color: #ffffff;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.8);
}

/* ✅ Mobile Responsive */
@media (max-width: 600px) {
  .aahar-section {
    padding: 20px 25px; /* 👈 Left-right margin बढ़ाया गया */
    margin: 25px 15px;  /* 👈 Outside margin भी जोड़ा गया */
  }

  .aahar-title {
    font-size: 1.8rem;
  }

  .aahar-subtitle {
    font-size: 1.3rem;
  }

  .aahar-btn {
    font-size: 1.3rem;
    padding: 9px 25px;
  }
}

/* 🌾 Unique Aahar Ad Card Style */
.aahar-ad-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #262626, #16A34A);
  border-radius: 14px;
  padding: 15px 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.aahar-ad-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.35);
}

.aahar-ad-left {
  flex-shrink: 0;
}

.aahar-ad-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle at center, #FFD700, #b38b00);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  color: #004d25;
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.6);
}

.aahar-ad-right h4 {
  color: #FFD700;
  font-weight: 800;
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.aahar-ad-right p {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.aahar-ad-cta {
  background: #FFD700;
  color: #004d25;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.aahar-ad-cta:hover {
  background: #fff;
  color: #00783c;
}

/* 📱 Responsive (Mobile First) */
@media (max-width: 600px) {
  .aahar-ad-card {
    flex-direction: column;
    text-align: center;
    padding: 18px 12px;
    gap: 0px;
  }
  .aahar-ad-circle {
    width: 50px;
    height: 50px;
    font-size: 1.6rem;
  }
  .aahar-ad-right h4 {
    font-size: 1.5rem;
  }
  .aahar-ad-right p {
    font-size: 1.3rem;
  }

  .aahar-ad-cta {
 
    padding: 11px 31px;
    font-size: 1.2rem;
    
  }

}

/* 🌟 Unique Free Badge for Business Listing */
.nav-free-listing {
  position: relative;
  list-style: none;
}

.nav-free-listing a {
  position: relative;
  color: #FFD700; /* golden text */
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: color 0.3s ease;
}

.nav-free-listing a:hover {
  color: #fff;
}

.nav-free-listing .badge-free {
  position: absolute;
    top: 12px;
    right: -3px;
    background: linear-gradient(135deg, #FFD700, #ff633b);
    color: #000;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 1px 14px;
    border-radius: 10px;
    box-shadow: 0 0 6px rgba(255, 215, 0, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* 📱 Responsive tweak (if menu compresses on mobile) */
/* 🌐 Default mobile (max-width: 600px) */
@media (max-width: 600px) {
  .nav-free-listing .badge-free {
    top: -11px;
    right: 141px;
    font-size: 1.1rem;
    padding: 1px 14px;
  }
}

/* 📱 Screen 505 × 846 */
@media screen and (width: 505px) and (height: 846px) {
  .nav-free-listing .badge-free {
    top: -10px;
    right: 314px;
    font-size: 1rem;
    padding: 1px 12px;
  }
}

/* 📱 Screen 600 × 740 */
@media screen and (width: 600px) and (height: 740px) {
  .nav-free-listing .badge-free {
    top: -12px;
    right: 400px;
    font-size: 1.1rem;
    padding: 2px 13px;
  }
}

/* 📱 Screen 514 × 800 */
@media screen and (width: 514px) and (height: 800px) {
  .nav-free-listing .badge-free {
    top: -9px;
    right: 320px;
    font-size: 1rem;
    padding: 1px 12px;
  }
}

/* 📱 Screen 360 × 760 */
@media screen and (width: 360px) and (height: 760px) {
  .nav-free-listing .badge-free {
    top: -13px;
    right: 376px;
    font-size: 1.15rem;
    padding: 2px 14px;
  }
}

/* 📱 Screen 581 × 1031 */
@media screen and (width: 581px) and (height: 1031px) {
  .nav-free-listing .badge-free {
    top: -13px;
    right: 376px;
    font-size: 1.15rem;
    padding: 2px 14px;
  }
}

.badge.gold-badge {
  background: linear-gradient(45deg, #d4af37, #f5d76e);
  color: #000;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
}

.badge.gold-badge i {
  color: #b8860b;
}
.badge.gold-badge:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.8);
  transition: 0.3s ease;
}

 @media (min-width: 992px) {
  .news-box {
    display: flex;
    flex-direction: column;
    height: 400px; /* fix height for desktop */
    overflow: hidden;
  }

  .news-box-img img {
    height: 250px;
    width: 100%;
    object-fit: cover;
    object-position: center;
  }

  .news-box-content {
    flex-grow: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .news-box-content h3 {
    font-size: 18px;
    line-height: 1.4;
    max-height: 70px; /* limit title area */
    overflow: hidden;
    text-overflow: ellipsis;
  }
}


.time-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff5c5c;
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 100;
}
.recent-listing-box-container-item {
    position: relative;
}

/* Top-left Category Badge */
.category-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #2e1dd0de;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 100;
}

.rating-stars {
    font-size: 16px;
    color: #ffb400;  /* Gold color */
    margin-top: 4px;
    line-height: 1;
}

.rating-stars .rating-number {
    font-size: 12px;
    color: #777;
    margin-left: 4px;
}


.member-since {
    font-size: 12px;
    color: #999;
    margin-top: 3px;
}
