* {
        box-sizing: border-box;
    }

    html,
    body {
        max-width: 100%;
        overflow-x: clip;
    }
  img,
    video {
        max-width: 100%;
        height: auto;
        display: block;
    }

    .col-md-6.mb-2 {
        display: none;
    }

  /* Mobile devices (up to 767px) */
    @media (max-width: 767px) {
        .heading {
            font-size: 25px !important;
        }
    }

    /* Laptops and desktops (768px and above) */
    @media (min-width: 768px) {
        .heading {
            font-size: 28px !important;
        }
    }

    .location-dropdown {
        position: relative;
    }

    .dropdown-content {
        display: none;
        position: absolute;
        background-color: #f9f9f9;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        z-index: 1;
        width: 260px;

    }

    .dropdown-content a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }

    .dropdown-content a:hover {
        background-color: #f1f1f1;
    }

    .location-dropdown:hover .dropdown-content {
        display: block;
    }

    .detect_icon {
        background-image: url('https://akam.cdn.jdmagicbox.com/images/icontent/newwap/web2022/search_locat_icon.svg');
        background-position: 0px 0px;
        background-repeat: no-repeat;
        width: 28px;
        height: 22px;
        display: inline-block;
        vertical-align: middle;
    }

    .box_list.has-business {
        border: 2px solid green;
    }

    .mid-banner {
        height: 390px;
    }

    .tagline {
        text-align: center;
        margin-bottom: 40px;
        font-style: italic;
        color: #555;
    }

    .video-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 25px;
    }

    @media (min-width: 768px) {
        .video-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (min-width: 1024px) {
        .video-grid {
            grid-template-columns: repeat(3, 1fr);
        }
    }

    .video-card {
        background-color: white;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .video-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    }

    .video-thumbnail {
        position: relative;
        background-color: #1e1e1e;
        aspect-ratio: 16/9;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .location-tag {
        position: absolute;
        top: 15px;
        left: 15px;
        padding: 5px 15px;
        border-radius: 50px;
        font-size: 14px;
        font-weight: 600;
        color: white;
        z-index: 10;
    }

    .location-purple {
        background-color: #8e44ad;
    }

    .premium-tag {
        position: absolute;
        top: 15px;
        right: 15px;
        padding: 5px 15px;
        border-radius: 50px;
        font-size: 14px;
        font-weight: 600;
        color: white;
        background-color: #27ae60;
        z-index: 10;
    }

    .duration {
        position: absolute;
        bottom: 15px;
        right: 15px;
        padding: 4px 8px;
        border-radius: 4px;
        font-size: 12px;
        font-weight: 600;
        color: white;
        background-color: rgba(0, 0, 0, 0.7);
        z-index: 10;
    }

    .categorySwiper {
        height: 120px;
    }

    .play-button {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.9);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.2s ease;
        cursor: pointer;
    }

    .play-button:hover {
        transform: scale(1.1);
        background-color: rgba(255, 255, 255, 1);
    }

    .play-icon {
        width: 0;
        height: 0;
        border-top: 15px solid transparent;
        border-bottom: 15px solid transparent;
        border-left: 25px solid #8e44ad;
        margin-left: 5px;
    }

    .video-info {
        padding: 20px;
    }

    .video-title {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 10px;
        color: #333;
        line-height: 1.4;
        display: flex;
        justify-content: center;
    }

    .countdown {
        font-size: 16px;
        color: #555;
        display: flex;
        align-items: center;
        gap: 10px;
        justify-content: center;
    }

    .countdown-timer {
        background: linear-gradient(to right, #6B7280, #4B5563);
        color: white;
        padding: 8px 20px;
        border-radius: 50px;
        font-weight: 600;
    }

    .error-message {
        color: #e74c3c;
        text-align: center;
        margin: 20px 0;
        font-weight: 500;
    }

    .loading {
        display: flex;
        justify-content: center;
        margin: 40px 0;
    }

    .loading-spinner {
        width: 50px;
        height: 50px;
        border: 5px solid #f3f3f3;
        border-top: 5px solid #8e44ad;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

    @keyframes spin {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
    }

    .section-title {
        font-size: 24px;
        font-weight: 600;
        margin-bottom: 20px;
        color: #333;
        margin-top: 50px;
    }

    #error {
        color: #e74c3c;
        text-align: center;
        margin: 20px 0;
        font-weight: 500;
    }

    .swiper-button-next,
    .swiper-button-prev {
        background-color: #ffffff;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
        width: 45px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: box-shadow 0.3s ease, transform 0.2s ease;
        z-index: 10;
        cursor: pointer;
    }

    .swiper-button-next:after,
    .swiper-rtl .swiper-button-prev:after {
        content: 'next';
        font-size: 20px;
    }

    .swiper-button-next i,
    .swiper-button-prev i {
        color: #333333;
        font-size: 18px;
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 16px !important;
        color: #0874a1;
    }



    .swiper-button-next:hover,
    .swiper-button-prev:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
        transform: scale(1.05);
    }


    @media (max-width: 768px) {

        .swiper-button-next,
        .swiper-button-prev {
            width: 36px;
            height: 36px;
        }

        .swiper-button-next i,
        .swiper-button-prev i {
            font-size: 16px;
        }
    }

    @media (max-width: 480px) {

        .swiper-button-next,
        .swiper-button-prev {
            width: 32px;
            height: 32px;
        }

        .swiper-button-next i,
        .swiper-button-prev i {
            font-size: 14px;
        }
    }

    @media (max-width: 767px) {

        .mid-banner {
            height: 315px;
        }

        .col-md-6.mb-2 {
            display: block;
        }

        .row.m-3.d-flex.align-items-stretch {
            display: none !important;
        }

        @media (min-width: 768px) and (max-width: 1023px) {

            .mid-banner {
                height: 290px;
            }
        }
    }

    @media only screen and (max-width: 768px) {
        .swiper-wrapper {
            height: 190px;
        }
    }

    @media (max-width: 640px) {
        .categorySwiper {
            height: 330px !important;
        }
    }

    .hide-scrollbar {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .hide-scrollbar::-webkit-scrollbar {
        display: none;
    }

    .fullscreen-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        margin: 0;
        padding: 0;
        border: none;
    }

    .flex-wrapper {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: space-between;
    }

    .qr-container {
        flex: 1;
        min-width: 280px;
        max-width: 400px;
        background: #f8f9fa;
        border: 1px solid #ddd;
        border-radius: 12px;
        padding: 30px 20px;
        text-align: center;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }

    .qr-title {
        font-size: 1.5rem;
        font-weight: bold;
        color: #333;
        margin-bottom: 10px;
    }

    .qr-subtitle {
        font-size: 1rem;
        color: #666;
        margin-bottom: 20px;
    }

    #qrcode {
        width: 230px;
        margin: 20px 0;
        padding: 10px;
        background: white;
        border-radius: 10px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    }

    .scan-text {
        font-size: 1rem;
        color: #444;
        margin-top: 10px;
    }

    .mobile-icon {
        font-size: 20px;
        margin-right: 5px;
    }

    #businessCards {
        flex: 2;
        display: flex;
        flex-direction: column;
        gap: 20px;
        min-width: 280px;
    }

    .business-card {
        background-color: #fff;
        border: 1px solid #ccc;
        border-radius: 12px;
        padding: 15px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
        display: flex;
        flex-direction: row;
        gap: 15px;
    }

    .card-wrapper {
        display: flex;
        flex-direction: row;
        gap: 15px;
        width: 100%;
    }

    .business-img {
        width: 100px;
        height: 100px;
        object-fit: cover;
        border-radius: 10px;
        border: 1px solid #eee;
        flex-shrink: 0;
    }

    .business-info {
        flex: 1;
    }

    .business-info h3 {
        margin: 0 0 5px;
        font-size: 1.2rem;
    }

    .business-info p {
        margin: 4px 0;
        font-size: 0.95rem;
    }

    @media (max-width: 768px) {
        .flex-wrapper {
            flex-direction: column;
            align-items: stretch;
        }

        .card-wrapper {
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        .business-img {
            width: 100%;
            height: auto;
            max-height: 200px;
        }

        .business-info {
            padding-top: 10px;
        }

        .business-info h3 {
            font-size: 1.1rem;
        }

        .business-info p {
            font-size: 0.85rem;
        }
    }

    @media (max-width: 767px) {
        #promotional_video_desktop {
            display: none;
        }

        #mobile_promotional_video_wrapper {
            display: block;
            margin-bottom: 20px;
            height:100%;
        }

        .aad .col-md-8 {
            width: 100%;
            flex: 0 0 100%;
            max-width: 100%;
        }
        #topimg_container{
            height:350px;
            object-fit:contain;
        }
        .default_video_iframe{
            position:relative;
            object-fit:cover;
            height: 250px !important; /* mobile */
          }
        
    }

    @media (min-width: 768px) {
        #mobile_promotional_video_wrapper {
            display: none;
        }

        #promotional_video_desktop {
            display: block;
        }
    }

    .category-grid-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .category-grid-container .box_list {
        width: calc(33.333% - 15px);
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    @media (max-width: 992px) {
        .category-grid-container .box_list {
            width: calc(50% - 15px);
        }
    }

    @media (max-width: 767px) {
        .category-grid-container .box_list {
            width: calc(33.333% - 10px);
        }
    }

    .equal-height {
        height: 255px;
    }

    .img-contain {
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* Ensures full image shows, no cut */
        border-radius: 10px;
    }

    @media (max-width: 768px) {
        .equal-height {
            height: auto;
        }

        .img-contain {
            height: auto;
            object-fit: cover;
            border-radius: 10px;
        }
    }

    /* Styling for Equal Height Columns and Enhanced UI */
    .equal-height-column .qr-container,
    .equal-height-column #businessCards {
        border: 1px solid #e0e0e0;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        height: 100%;
        /* Ensure the inner divs also take full height */
        transition: box-shadow 0.3s ease-in-out;
    }

    .equal-height-column .qr-container:hover,
    .equal-height-column #businessCards:hover {
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    }

    .qr-container {
        background: linear-gradient(135deg, #f8f9fa, #ffffff);
    }

    #businessCards {
        background-color: #ffffff;
        overflow-y: auto;
        /* Add scroll if content overflows */
        max-height: 450px;
        /* Set a max-height to prevent it from becoming too tall */
    }

    .business-card {
        border-bottom: 1px solid #f0f0f0;
        padding-bottom: 15px;
        margin-bottom: 15px;
    }

    .business-card:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    #businessCards h3 {
        text-align: center;
        margin-bottom: 20px;
        font-size: 22px;
        font-weight: 600;
        color: #333;
    }

    /* Responsive adjustments for mobile */
    @media (max-width: 767px) {
        .row.d-flex.align-items-stretch {
            display: block;
            /* Stack columns on mobile */
        }

        #businessCards {
            max-height: none;
            /* Remove max-height on mobile */
        }
    }

    .category-text {
        display: block;
        max-width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 0.8rem;
        line-height: 1rem;
    }

    .category-card {
        width: 100px;
        height: 110px;
    }

    .card-img-hover {
        transition: transform 0.1s ease-in-out;
    }

    .category-card:hover .card-img-hover {
        transform: scale(1.1);
        /* Image zooms when card is hovered */
    }

    .service-card {
        border-radius: 20px;
        padding: 20px;
        color: white;
        text-align: center;
        height: 100%;
        min-height: 220px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .service-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

    .service-icon-wrapper {
        border-radius: 50%;
        width: 90px;
        height: 90px;
        margin: 0 auto 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.2);
    }

    .service-icon-video {
        width: 90px;
        height: 90px;
    }

    .service-title {
        font-weight: 600;
        font-size: 15px;
    }

    /* Gradients */
    .gradient-purple {
        background: linear-gradient(135deg, #9C27B0, #673AB7);
    }

    .gradient-green {
        background: linear-gradient(135deg, #4CAF50, #8BC34A);
    }

    .gradient-orange {
        background: linear-gradient(135deg, #FF9800, #FF5722);
    }

    .gradient-blue {
        background: linear-gradient(135deg, #2196F3, #03A9F4);
    }
  .custom-shadow {
    box-shadow:0px 3px 12px rgba(0, 0, 0, 0.12);
  }
   @media (min-width: 992px) { /* Bootstrap lg breakpoint */
    .banner-size {
      height: 370px !important;
    }
  }

