/* Ensure body takes up only the viewport width */
body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Ensure container doesn't exceed viewport */
.container {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}

/* Search section styling */
.search-section {
    padding: 10px 0;
    top: 0;
    z-index: 1050;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.location-input,
.search-input {
    max-width: 250px;
    background: #f8f9fa;
    border: 1px solid #ced4da;
    padding: 6px 12px; /* Added consistent padding */
    box-sizing: border-box; /* Ensure consistent box model */
}

.btn-danger {
    background: #dc3545;
    border: none;
}

.heading {
    text-align: center;
    color: #212529;
}



.side-image {
    height: 300px;
    overflow: hidden;
    position: relative;
    flex: 1 1 0;
    max-width: calc(33.33% - 0.5rem);
}

.owl-carousel .item {
    position: relative;
    overflow: hidden;
    height: 300px; /* Original height for desktop */
}

.owl-carousel img,
.side-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.caro1 {
    max-width: 100%;
    overflow: hidden;
}

.caro1 .side-image {
    position: relative;
    overflow: hidden;
}

.caro1 .side-image::after {
    content: "Explore More";
    position: absolute;
    top: 90%;
    left: 35%;
    transform: translate(-50%, -50%) translateX(-150%);
    background: rgba(39, 82, 41, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    opacity: 0;
    transition: transform 0.3s ease-out, opacity 0.2s ease-out;
    font-family: Arial, sans-serif;
    font-size: 16px;
    white-space: nowrap;
    z-index: 1;
}

.caro1 .side-image:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.caro1 .side-image:hover img {
    opacity: 0.8;
    transform: scale(1.02);
}

.owl-carousel .item::after {
    content: "Explore More";
    position: absolute;
    top: 80%;
    left: 20%;
    transform: translate(-50%, -50%) translateX(-100%);
    background: rgba(39, 82, 41, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    font-family: Arial, sans-serif;
    font-size: 16px;
    white-space: nowrap;
}

.owl-carousel .item:hover::after {
    opacity: 1;
    transform: translateX(-50%);
}

.owl-carousel .item:hover img {
    opacity: 0.7;
    transform: scale(1.02); /* Match side-image hover effect */
    transition: all 0.3s ease; /* Consolidated transition */
}

.owl-carousel {
    position: relative;
}

.owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.owl-prev,
.owl-next {
    pointer-events: all;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: background 0.3s ease;
}

.owl-prev {
    margin-left: 15px;
}

.owl-next {
    margin-right: 15px;
}

.owl-prev:hover,
.owl-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.owl-prev.disabled,
.owl-next.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.d-flex {
    gap: 10px;
}

.flex-fill {
    flex: 1;
}

.mx-1 {
    margin-left: 0.25rem;
    margin-right: 0.25rem;
}

.png_img img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.icon-box {
    text-align: center;
    margin-bottom: 15px;
}

.icon-name {
    font-size: 14px;
    margin-top: 5px;
    font-weight: 600;
}

.marquee-container {
    background: linear-gradient(45deg, rgb(1, 26, 52), rgb(1, 77, 31));
    color: white;
    padding: 10px 0;
    overflow: hidden;
    font-size: 20px;
    font-weight: bold;
    white-space: nowrap;
    position: relative;
}

.marquee-text {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 10s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.welcome-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.welcome-modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.5s ease-in;
}

.welcome-modal-content h3 {
    margin: 0 0 15px;
    color: #212529;
}

.welcome-modal-content p {
    margin: 0 0 20px;
    color: #555;
}

.welcome-modal-content button {
    background: #dc3545;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.welcome-modal-content button:hover {
    background: #c82333;
}

.icon {
    border: 1px solid black !important;
    padding: 4px 4px;
    border-radius: 8px;
}

/* Responsive Layout */
@media (max-width: 991px) {
   
    .owl-carousel .item {
        height: 350px; /* Increased height for tablet */
    }
    .caro1 {
        display: none !important;
    }
    .search-section {
        width: 50%;
        margin: 0 auto;
        padding: 5px 0;
        position: relative;
        top: 0;
        left: 0 !important;
        z-index: 1000;
    }
    .search-section .d-flex {
        flex-direction: column;
        width: 100%;
    }
    .location-input,
    .search-input {
        max-width: 100%;
        margin-bottom: 8px;
        padding: 6px;
        font-size: 14px;
    }
    .btn-danger {
        width: 100%;
        padding: 8px;
        font-size: 14px;
    }
    .side-image {
        height: 200px;
        margin-bottom: 15px;
    }
    .caro1 .side-image {
        max-width: 100%;
    }
    .d-flex {
        flex-direction: column;
        gap: 8px;
    }
    .mx-1 {
        margin: 0;
    }
    .owl-prev,
    .owl-next {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
    .owl-carousel .item::after {
        font-size: 14px;
        padding: 8px 16px;
    }
}

@media (max-width: 767px) {
  
    .owl-carousel .item {
        height: 150px; /* Adjusted for mobile */
    }
    .search-section {
        width: 60%;
        margin: 0 auto;
        padding: 1px 0;
        position: relative;
        z-index: 1000;
        overflow: hidden;
    }
    .btn-danger {
        width: auto;
        max-width: 100px;
        padding: 6px 10px;
        font-size: 12px;
        margin: 0 auto;
        display: block;
    }
    .search-section .d-flex {
        align-items: center;
    }
    .location-input,
    .search-input {
        padding: 5px;
        font-size: 12px;
        max-width: 100%;
    }
    .png_img img {
        width: 50px;
        height: 50px;
    }
    .icon-box {
        margin-bottom: 10px;
    }
    .icon-name {
        font-size: 12px;
        margin-top: 3px;
    }
}

@media (min-width: 992px) {
    .search-section {
        margin-left: 0;
        padding-left: 250px;
        padding-right: 15px;
    }
}

/* Content and Icons Section Styling */
.content-section-container {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    max-width: 100%;
    overflow: hidden;
}

.content-section-row {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 10px;
}

.content-section {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
}

.image-wrapper {
    border-radius: 8px;
    padding: 10px;
    background-color: #f9f9f9;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.image-wrapper p {
    margin: 5px 0 0;
    font-size: 14px;
    color: #555;
}

.png_img {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.icon-box {
    flex: 1 1 calc(25% - 10px);
    max-width: calc(25% - 10px);
}

.section-title {
    width: 100%;
    margin-bottom: 15px;
    color: #212529;
    text-align: center;
}

/* Responsive Adjustments */
@media (min-width: 992px) {
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .content-section {
        width: 100%;
        height: 150px;
    }
    .content-section-row {
        flex-direction: row;
    }
    .row:nth-child(2) .col-md-6:nth-child(1) {
        order: 2;
    }
    .row:nth-child(2) .col-md-6:nth-child(2) {
        order: 1;
    }
    .bl {
        text-decoration: none;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .content-section {
        width: 100%;
        height: 120px;
    }
    .content-section-row {
        flex-direction: row;
    }
    .bl {
        text-decoration: none;
    }
}

@media (max-width: 767px) {
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .content-section {
        width: 100px;
        height: 100px;
    }
    .content-section-row {
        flex-direction: row;
        overflow-x: hidden;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .image-wrapper {
        flex: 0 0 calc(33.33% - 10px);
        max-width: calc(33.33% - 10px);
    }
    .bl {
        text-decoration: none;
        text-align: center !important;
    }
}

@media (max-width: 768px) {
    .brand-container { height: 110px; }
    .brand-logo { height: 70px; }
}

.brand-container::-webkit-scrollbar {
    display: none;
}

.brand-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
    overflow-x: hidden;
    padding: 20px 0;
    max-width: 100%;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    height: 140px;
    border: 1px solid rgba(212, 160, 23, 0.2);
}

.brand-scroll-wrapper {
    display: flex;
    width: max-content;
    animation: brand-scroll 20s linear infinite;
}

.brand-scroll-wrapper:hover {
    animation-play-state: paused;
}

.brand-logo {
    height: 100px;
    margin: 0 15px;
}

@keyframes brand-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

:root {
    --primary-teal: #2A6A6A;
    --cream: #FDF8F2;
    --dark-charcoal: #2D2D2D;
    --white: #FFFFFF;
    --shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50%;
    height: 4px;
    background: var(--accent-gold);
    border-radius: 2px;
}

.btn-custom {
    background: var(--primary-teal);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 30px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-teal);
}

.btn-custom:hover {
    background: var(--accent-gold);
    color: var(--dark-charcoal);
    border-color: var(--accent-gold);
}

#business-offers {
    padding: 60px 0;
    background-color: var(--cream);
}

.offer-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 15px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

.offer-item {
    flex: 0 0 auto;
    width: 220px;
    background: var(--white);
    padding: 15px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    transition: transform 0.3s ease;
    scroll-snap-align: center;
    border: 1px solid rgba(42, 106, 106, 0.1);
}

.offer-item:hover {
    transform: translateY(-10px);
}

.offer-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
}

.offer-item .offer-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--accent-gold);
    color: var(--dark-charcoal);
    padding: 5px 10px;
    border-radius: 15px;
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
}

.offer-item p {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--primary-teal);
    margin: 10px 0 5px;
    font-size: 1.1rem;
}

.offer-item .price {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    color: var(--dark-charcoal);
}

.offer-item .price .original {
    text-decoration: line-through;
    color: #888;
    margin-right: 5px;
}

.offer-item .price .discounted {
    color: var(--accent-gold);
    font-weight: 700;
}

.offer-item .btn-custom {
    padding: 8px 16px;
    font-size: 0.9rem;
    margin-top: 10px;
}

.offer-grid::-webkit-scrollbar {
    height: 6px;
}

.offer-grid::-webkit-scrollbar-thumb {
    background: var(--primary-teal);
    border-radius: 3px;
}

@media (max-width: 767px) {
    .offer-item {
        width: calc(100vw - 40px);
    }
    .offer-grid {
        gap: 10px;
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .offer-item {
        width: calc((100vw - 60px) / 3);
    }
    .offer-grid {
        gap: 20px;
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (min-width: 1025px) {
    .offer-item {
        width: 280px;
    }
    .offer-item img {
        height: 180px;
    }
}

.offer-badge {
    --accent-gold: #D4A017;
}

.art {
    border: 1px solid black;
    border-radius: 20px;
}

.show-more {
    margin-top: 2px;
    padding: 5px 10px;
    background-color: rgb(1, 26, 52);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* Business Listing Specific Styles */
.business-listing {
    color: #dc3545;
    transition: color 0.3s ease;
    text-align: center;
}

.business-listing:hover {
    color: blue;
}

/* Mobile and Tablet: Center Business Listing */
@media (max-width: 991px) {
    .header-container h1 {
        flex-direction: column;
        align-items: center;
    }
    .business-listing {
        position: static;
        margin: 10px 0 0 0;
        font-size: 19px;
        padding-bottom: 20px;
        align-items: center;
    }
}

/* Desktop-specific positioning for Business Listing */
@media (min-width: 992px) {
    .header-container {
        position: relative;
    }
    .header-container h1 {
        justify-content: start;
    }
    .business-listing {
        position: absolute;
        top: 60px;
        right: 0;
        margin: 10px 15px 0 0;
        text-align: right;
    }
}

/* Updated carousel-container styling */
.carousel-container {
    height: 300px !important; /* Fixed height as required */
    overflow: hidden; /* Hide overflow to maintain fixed height */
    position: relative;
    max-width: 100%;
}

/* Updated Owl Carousel item styling */
.owl-carousel .item {
    position: relative;
    overflow: hidden; /* Contain overflow within fixed height */
    height: 300px; /* Match container height */
}

/* Updated image styling within carousel */
.owl-carousel img {
    width: 100%; /* Stretch to full width */
    height: 100%; /* Stretch to full height of 300px */
    object-fit: cover; /* Fill the container without cropping, might stretch */
    border-radius: 30px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .carousel-container {
        height: 300px !important; /* Maintain fixed height */
        margin-bottom: 15px;
    }
    .owl-carousel .item {
        height: 300px; /* Match container */
    }
    .owl-carousel img {
        height: 100%; /* Ensure it stretches to 300px */
    }
}

@media (max-width: 767px) {
    .carousel-container {
        height: 180px !important; /* Maintain fixed height */
    }
    .owl-carousel .item {
        height: 180px; /* Match container */
    }
    .owl-carousel img {
        height: 100%; /* Ensure it stretches to 300px */
    }
}

@media (min-width: 992px) {
    .carousel-container {
        height: 300px !important; /* Fixed height for desktop */
    }
    .owl-carousel .item {
        height: 300px; /* Match container */
    }
    .owl-carousel img {
        height: 100%; /* Ensure it stretches to 300px */
    }
}