@media (max-width: 1600px) {
    .heading {
        font-size: 60px;
    }

    .ab-content .heading .imperial-script {
        font-size: 100px;
        top: -12px;
        left: -40px;
    }

    .ab-title {
        margin-top: -30px;
    }
}

@media (max-width: 1400px) {
    .heading {
        font-size: 50px;
    }

    .ab-content .heading .imperial-script {
        font-size: 80px;
        top: -12px;
        left: -40px;
    }

    .ab-title {
        margin-top: -30px;
    }

    .spotlight-card-wrapper {
        margin-right: 50px;
    }
}

/* Default: Show desktop version, hide laptop version */
.ab-content.laptop-only {
    display: none !important;
}

/* Laptop specific: Show laptop version, hide desktop version (1024px - 1440px) */
@media (max-width: 1440px) and (min-width: 1024px) {
    .ab-content.desktop-only {
        display: none !important;
    }

    .ab-content.laptop-only {
        display: block !important;
    }

    /* Laptop layout styling - default for 1440px */
    .ab-content.laptop-only .heading {
        font-size: 48px;
    }

    .ab-content.laptop-only .heading .cnm {
        line-height: 1.2;
    }

    .ab-content.laptop-only .heading .imperial-script-grill {
        font-size: 85px;
        margin-left: 8px;
        top: 5px;
    }
}

/* Specific breakpoint for 1024px */
@media (max-width: 1024px) and (min-width: 1024px) {
    .ab-content.laptop-only .heading {
        font-size: 43px;
    }

    .ab-content.laptop-only .heading .imperial-script-grill {
        font-size: 75px;
        margin-left: 6px;
        top: 3px;
    }

    /* Center the image vertically in laptop view */
    .home-about .ab-img-group {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
    }
    .ab-content-wrap {
      padding: 100px 30px;
    }

    .home-about .col-md-5 {
        display: flex;
        align-items: center;
    }
}

@media (max-width: 1200px) {
    .heading {
        font-size: 40px;
    }

    .ab-content .heading .imperial-script {
        font-size: 60px;
        top: 0px;
        left: 0px;
    }

    .ab-title {
        margin-top: -10px;
    }

    .hv-title .heading {
        font-size: 30px;
    }

    .spotlight_swiper {
        direction: ltr;
    }

    .quote-left,
    .quote-right {
        max-width: 250px;
    }

    .quote-left {
        left: 15px;
    }

    .quote-right {
        right: 15px;
    }
}

@media (max-width: 991px) {
    .haveli-navbar {
        background: var(--primary-color);
        min-height: 100vh;
    }

    .navbar-nav .nav-item {
        padding: 10px 0;
    }

    .btn-outline-light-haveli {
        width: 100%;
        margin-top: 50px;
    }

    .heading {
        font-size: 36px;
    }

    .hero-title {
        font-size: 46px;
    }

    .hero-title {
        font-size: 50px;
    }

    .hero-content-inner {
        max-width: 400px;
    }

    .pattern-light:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url(../images/pattern-light.png) repeat center;
        background-size: 400%;
        opacity: 0.05;
    }

    .home-catering {
        background: var(--primary-color);
    }

    .hv-left {
        padding: 15px 50px;
    }

    /* Center text on tablet view */
    .ab-content-wrap {
        text-align: center;
    }

    .ab-content.desktop {
        text-align: center;
    }

    .ab-content.desktop .heading {
        justify-content: center;
    }

    /* Fix for Haveli Events section overflow */
    .haveli-events-overview {
        overflow: hidden;
    }

    .haveli-events-overview .row {
        overflow: hidden;
    }

    .eo-title {
        min-height: auto;
        font-size: 28px;
        padding-inline: 10px;
    }

    .eo-icon {
        padding-top: 20px;
    }

    .events-overview-card {
        padding: 20px 15px;
    }

    .home-contact-wrapper {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 1;
        background: none;
        padding: 15px;
        width: 100%;
        max-width: 90%;
    }

    .home-contact-wrapper.pattern-light:before {
        display: none;
    }

    .home-contact-wrap {
        background: url(../images/shapes/shape-mobile.png) no-repeat center;
        background-size: contain;
        color: var(--light-color);
        min-height: auto;
    }

    .home-contact-content {
        padding: 50px 25px;
    }

    .home-contact-content .box-heading {
        font-size: 22px;
        margin-bottom: 12px;
        line-height: 1.2;
    }

    .home-contact-content p {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 20px;
    }

    .home-contact-content .mb-3 {
        margin-bottom: 20px !important;
    }

    .operating-hours {
        margin-top: 15px;
    }

    .operating-hours ul li {
        font-size: 15px;
        /* margin-bottom: 12px; */
    }

    .operating-hours ul li strong {
        font-size: 16px;
        display: block;
        margin-bottom: 5px;
    }

    .operating-hours .hours-list {
        max-width: 100%;
        margin: 8px auto;
        text-align: center;
    }

    .operating-hours .hours-list li {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 4px;
    }

    .home-contact .iframe-wrapper {
        min-height: 500px;
    }
}

@media (max-width: 800px) {
    .heading {
        font-size: 30px;
    }

    .ab-content .heading .imperial-script {
        font-size: 43px;
    }

    .container-fluid,
    .container {
        padding-inline: 40px;
    }

    .ab-content-wrap {
        padding: 40px 0px;
    }

    .spotlight-card-wrapper {
        margin-right: 35px;
        margin-left: 35px;
    }

    .spotlight_swiper .swiper-slide {
        padding: 15px;
    }

    .spotlight-card {
        background: var(--primary-color);
        border-radius: 50px 50px 0 0;
        box-shadow: 8px 4px 4px rgba(0, 0, 0, 0.4);
        min-height: 300px;
    }

    .spotlight-card-image {
        height: 250px;
        border-radius: 30px 30px 0 0;
        overflow: hidden;
    }

    .spotlight-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .spotlight-card-overlay {
        position: relative;
        /* background: var(--primary-color); */
        opacity: 1;
        padding: 15px;
        height: 150px;
    }

    .res-heading {
        padding: 60px 0px;
    }

    .spotlight-card-overlay:before,
    .spotlight-card-overlay:after {
        display: none;
    }

    .spotlight-card-overlay h5 {
        font-size: 24px;
    }

    .menu-item {
        margin-bottom: 15px;
    }

    .menu-img {
        --size: 60px;
        max-width: var(--size);
        flex: 0 0 var(--size);
        width: var(--size);
        height: var(--size);
    }

    .menu-price {
        font-size: 22px;
    }

    .menu-section,
    .reservation-section {
        padding-block: 50px;
    }

    body,
    html,
    section {
        width: 100vw;
        overflow-x: hidden;
    }

    section.hero {
        overflow-x: visible;
    }
}

@media (max-width: 767px) {
    /* Mobile specific styles - ensure clean mobile view */
    .home-about .ab-content.desktop-only,
    .home-about .ab-content.tablet-only,
    .home-about .ab-content.laptop-only {
        display: none !important;
    }

    .home-about .ab-content.mobile {
        display: block !important;
    }

    /* Ensure image column is hidden on mobile */
    .home-about .col-md-5 {
        display: none !important;
    }

    /* Mobile content should not be centered like tablet */
    .home-about .ab-content-wrap {
        text-align: left;
    }

    .home-about .ab-content.mobile {
        text-align: left;
        padding-right: 0 !important;
    }

    .navbar .container-fluid {
        padding-inline: 20px !important;
    }

    .navbar-brand {
        max-width: 120px;
        margin-inline: auto;
    }

    .navbar-brand img {
        width: 120px;
    }

    /* NAvigation */
    .navbar-nav .nav-item {
        padding: 0;
        border-bottom: solid 1px rgba(255, 255, 255, 0.15);
    }

    .navbar-nav .nav-link {
        padding: 10px 0 !important;
        display: block;
    }

    .navbar-nav .nav-link.active {
        font-weight: 600;
        padding-left: 10px !important;
    }

    .navbar-nav .nav-link:after,
    .navbar-nav .nav-link:hover:after,
    .navbar-nav .nav-link.active:after {
        content: '';
        position: absolute;
        top: 50%;
        bottom: auto;
        right: 0;
        left: auto;
        width: 8px;
        height: 8px;
        background: none;
        border-right: solid 1px #ffffff90;
        border-bottom: solid 1px #ffffff90;
        /* border-right: solid 1px var(--secondary-color);
        border-bottom: solid 1px var(--secondary-color); */
        transform: scaleX(1) translateY(-50%) rotate(-45deg);
    }

    .navbar-nav .nav-link.active:after {
        border-right: solid 1px var(--secondary-color);
        border-bottom: solid 1px var(--secondary-color);
    }

    /* NAvigation end */

    /* Fix button text wrapping on mobile */
    .grill-features .btn.theme-btn {
        font-size: 16px;
        padding: 12px 20px;
        white-space: nowrap;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        max-width: 100%;
    }

    .grill-features .btn.theme-btn .ms-4 {
        margin-left: 10px !important;
    }

    .grill-features .btn.theme-btn svg {
        width: 20px;
        height: 12px;
    }

    .heading {
        font-size: 24px;
    }

    .hero {
        height: 100svh;
    }

    .hero-small {
        height: 60svh;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-content-inner {
        max-width: 300px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .ab-content-wrap {
        background: transparent;
        color: var(--light-color);
        padding-block: 130px 0px;
    }

    .ab-content {
        padding-right: 0;
    }

    .ab-content .heading .imperial-script {
        font-size: 70px;
    }

    .welcome-main-mobile {
        padding-block: 15px;
    }

    .section-divider {
        background: #600300;
        height: 20px;
        width: 100%;
        position: relative;
    }

    .home-features {
        background: var(--light-color);
        position: relative;
    }

    .home-features:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url(../images/pattern-dark.png) repeat center;
        background-size: 400%;
        opacity: 0.05;
    }

    .home-features .heading {
        color: var(--primary-color);
        text-align: center;
    }

    .features_swiper {
        margin-top: 0;
    }

    .feature-card-text {
        box-shadow: 8px 4px 4px #75040040;
    }

    .grill-features {
        padding-block: 40px;
        overflow-x: hidden;
    }

    .grill-features .container,
    .grill-features .container-fluid {
        padding-inline: 20px;
        overflow-x: hidden;
    }

    .grill-features .row {
        margin-left: 0;
        margin-right: 0;
    }

    .grill-features .row>* {
        padding-left: 10px;
        padding-right: 10px;
    }

    .home-features,
    .faq-overview,
    .grid-testimonioals,
    .celebrate-occsions,
    .section-block {
        padding-block: 40px;
    }

    .features_swiper .swiper-slide:nth-child(odd) {
        padding-top: 0px;
    }

    .feature-card-text h5,
    .feature-card-text p {
        max-width: 300px;
        margin-inline: auto;
    }

    .quote-group {
        display: none;
    }

    .quote-card {
        /* background: rgba(246, 211, 178, 0.9); */
        background: #f7d4b2;
        margin-top: 173px;
        padding: 30px;
        color: var(--primary-color);
        position: relative;
    }

    .quote-card:before {
        content: '';
        position: absolute;
        top: -170px;
        right: -15px;
        width: 100%;
        height: 173px;
        background: url(../images/testimonials/quote-tail.png) no-repeat top right;
    }

    .home-testimonials {
        padding-bottom: 50px;
    }

    .testimonials_swiper {
        padding-bottom: 50px !important;
    }

    .haveli-footer .footer-logo {
        padding-right: 0;
        width: 100%;
        text-align: center;
        position: relative;
        padding-bottom: 30px;
        margin-bottom: 30px;
    }

    .haveli-footer .footer-logo:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background: #F6D3B2;
        background: linear-gradient(270deg, rgba(246, 211, 178, 0) 0%, rgba(246, 211, 178, 1) 50%, rgba(246, 211, 178, 0) 100%);
    }

    .haveli-footer .footer-logo img {
        max-width: 170px;
    }

    .haveli-copyright {
        color: #fff;
    }

    .heading-border {
        border: none;
        font-size: 28px;
    }

    .menu-filter-item-wrap .button-group,
    .button-scroll {
        gap: 15px;
    }

    .menu-filter-wrap {
        flex-direction: column;
        gap: 20px;
    }

    .menu-filter-item-wrap {
        flex: 0 0 100%;
        width: 100%;
    }

    .menu-filter-label,
    .menu-filter-availability {
        width: 100%;
        flex: 0 0 100%;
        text-align: center;
    }

    .menu-img {
        display: none;
    }

    .menu-price {
        padding-left: 10px;
    }

    .menu-description h6 {
        text-wrap: balance;
    }

    .menu-description p {
        font-size: 14px;
    }

    .menu-booking {
        padding-block: 350px 50px;
        background: url(../images/menu/menu-booking-bg-mobile.webp) no-repeat top right;
        background-size: cover;
    }

    .menu-booking .imperial-script,
    .celebrate-occsions .imperial-script {
        font-size: 50px;
        line-height: 0;
        margin-left: -29px;
    }

    .reservation-section .heading {
        padding-inline: 15px;
    }

    .datepicker td,
    .datepicker th {
        width: 30px !important;
        height: 30px !important;
    }

    .contact-map-section {
        padding-bottom: 10px;
    }

    .contact-us-booking.menu-booking {
        background: url(../images/contact/contact-us-booking-mobile-bg.webp) no-repeat top right;
        background-size: cover;
    }

    .about-overview {
        padding-block: 40px;
    }

    .story-gallery .container {
        padding-inline: 0;
    }

    .story-gallery .swiper_coverflow,
    .story-gallery .story_swiper {
        padding-inline: 60px;
    }

    /* .swiper_coverflow {
        max-width: 600px;
    } */
    .parking-sec {
        background: url(../images/reservations/parking-mobile.webp) no-repeat center;
        background-size: cover;
    }

    .package-title {
        font-size: 30px;
    }

    .package-list {
        margin: 30px 0;
    }

    .package-list li {
        font-size: 16px;
    }

    .co-wrap {
        margin-top: 0;
        border: none;
    }

    .co-wrap .container-fluid {
        padding-inline: 15px;
    }

    .swiper.co_swiper {
        padding: 40px 0 !important;
    }

    .swiper.co_swiper .swiper-slide {
        padding: 0 50px !important;
    }

    .swiper.co_swiper .co-item {
        border: solid 1px var(--secondary-color);
    }
}

@media (max-width: 600px) {
    .book-now-circle {
        bottom: -100px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }

    .story-gallery .swiper-slide {
        width: 200px !important;
        height: 223px;
    }

    .story-card,
    .story-card1 {
        width: 200px;
        height: 223px;
    }

    .story-card img,
    .story-card1 img {
        width: 200px;
        height: 223px;
    }
}


@media (min-width: 768px) {

    .haveli-footer .footer-cols,
    .haveli-footer .footer-col {
        position: relative;
    }

    .footer-col {
        border-left: 1px solid rgba(245, 223, 199, 0.4);
    }

    .swiper_coverflow .swiper-slide {
        width: auto !important;
    }
}

@media (min-width: 992px) and (max-width: 1399px) {
    .navbar-nav .nav-item {
        padding: 10px 6px;
    }

    .navbar-nav .nav-link {
        font-size: 14px;
    }

    .navbar-brand {
        max-width: 130px;
    }

    .btn-outline-light-haveli {
        padding: 8px 18px;
        font-size: 14px;
        white-space: nowrap;
    }
}

@media (min-width: 1400px) {
    .navbar-nav-haveli {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

@media (min-width: 992px) {
    .testimonial-slider {
        padding-right: 280px;
    }

    .home-testimonials {
        border-top: solid 15px var(--light-color);
    }

    .spotlight-card-overlay h5 {
        transform: translateY(30px);
    }

    .spotlight-card:hover .spotlight-card-overlay h5 {
        transform: translateY(0);
    }

    .menu-grid .menu-items:nth-child(odd) .menu-row {
        padding-right: 30px;
    }

    .menu-grid .menu-items:nth-child(even) .menu-row {
        padding-left: 30px;
    }

    .menu-grid {
        position: relative;
    }

    .menu-grid:after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 1px;
        height: 80%;
        background: #F6D3B2;
        background: linear-gradient(0deg, rgba(246, 211, 178, 0) 0%, rgba(246, 211, 178, 1) 50%, rgba(246, 211, 178, 0) 100%);
    }

    .menu-booking .imperial-script,
    .celebrate-occsions .imperial-script {
        font-size: 120px;
        margin-left: -40px;
        line-height: 0.8;
    }

    .j-text {
        margin-top: -40px;
    }

    .features_swiper .swiper-pagination-bullet {
        background: var(--secondary-color) !important;
    }

    .features_swiper .swiper-pagination-bullet-active {
        background: var(--secondary-color) !important;
    }

    .vf-item {
        justify-content: space-between;
    }

    .vf-item.reverse {
        flex-direction: column-reverse;
    }

    .package-wrap {
        padding-inline: 30px;
    }

    .event-gallery {
        padding-bottom: 0 !important;
    }
}

@media (max-width: 768px) {

    /* Hide desktop, tablet, and laptop versions on mobile - show only mobile version */
    .ab-content.desktop-only,
    .ab-content.tablet-only,
    .ab-content.laptop-only {
        display: none !important;
    }

    .ab-content.mobile {
        display: block !important;
    }

    /* Hide the desktop/tablet/laptop image column on mobile */
    .home-about .col-md-5.d-none.d-md-block {
        display: none !important;
    }

    .ab-content .heading .cnm {
        white-space: normal;
        text-align: center;
    }

    .ab-content .heading .imperial-script-grill {
        font-size: 60px;
        margin-left: 8px;
        top: 27px;
        display: inline;
        position: absolute;
        right: 100px;
    }

    .resp {
        display: block !important;
    }

    /* Tablet heading layout */
    .ab-content.tablet .heading .tablet-heading-wrap {
        text-align: center;
    }

    .ab-content.tablet .heading .cnm {
        display: block;
        text-align: center;
    }

    /* Mobile heading layout fix - Home of the Signature Indoor Live Grill */
    .ab-content .heading .heading-wrap {
        display: block;
    }

    .ab-content .heading .left-text {
        display: block;
        line-height: 1.3;
    }

    .ab-content .heading .left-text span {
        display: inline;
    }

    .ab-content .heading .left-text span:first-child {
        /* Line 1: "Home of the" */
        display: block;
    }

    .ab-content .heading .left-text .signature {
        /* Line 2: "Signature" stays with "Indoor" */
        display: inline;
    }

    .ab-content .heading .live-grill-wrap {
        /* Line 3: "Live Grill" together */
        display: block;
        white-space: nowrap;
    }

    .ab-content .heading .live-grill-wrap .imperial-script {
        /* "Grill" - 50px font size on mobile, stays with "Live" */
        font-size: 50px !important;
        line-height: 1;
        display: inline;
        margin-left: 8px;
    }

    /* Tablet responsive - Center text content and place image below */
    /* NOTE: These styles apply to tablet view (768px-991px), NOT mobile */
    .home-about .row {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .home-about .col-md-7,
    .home-about .col-md-5 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

    .home-about .col-md-7 {
        order: 1;
        text-align: center;
        padding: 0 20px;
    }

    .home-about .col-md-5 {
        order: 2;
        display: block !important;
        margin-top: 20px;
    }

    .abt-img {
        width: 500px !important;
    }

    .ab-img-group {
        margin-left: 0px;
    }

    .ab-content-wrap {
        display: flex;
        justify-content: center;
    }

    .ab-content,
    .ab-content.desktop,
    .ab-content.tablet {
        text-align: center;
        max-width: 600px;
        margin: 0 auto;
        padding-right: 0 !important;
    }

    .ab-content.desktop .heading,
    .ab-content.tablet .heading {
        justify-content: center;
    }

    .ab-content.desktop .resp {
        justify-content: center !important;
    }

    .ab-img-group {
        text-align: center;
        padding: 0 20px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .welcome-main-img,
    .welcome-main-img.abt-img {
        text-align: center;
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .welcome-main-img img {
        max-width: 100%;
        height: auto;
        margin: 0 auto;
        display: block;
    }
}


/* Extra small mobile devices */
@media (max-width: 480px) {
    .home-contact-wrapper {
        max-width: 95%;
        padding: 10px;
    }

    .about-overview {
        overflow-x: hidden;
    }

    .eo-icon {
        padding-bottom: 12px;
    }

    .eo-icon svg {
        width: 50px;
        height: 50px;
    }

    .home-contact-content {
        padding: 35px 18px;
    }

    .grill-features {
        padding-block: 0px;
        overflow-x: hidden;
    }

    .grill-features .container-fluid {
        padding-inline: 15px;
    }

    .grill-features .row {
        margin-left: 0;
        margin-right: 0;
    }

    .grill-features .row>* {
        padding-left: 8px;
        padding-right: 8px;
    }

    .res-heading {
        padding: 28px 0px 0px 0px;
    }

    .home-contact-content .box-heading {
        font-size: 18px;
        margin-bottom: 10px;
        line-height: 1.2;
    }

    .home-contact-content p {
        font-size: 12px;
        line-height: 1.4;
        margin-bottom: 15px;
    }

    .home-contact-content .mb-3 {
        margin-bottom: 15px !important;
    }

    .operating-hours ul li {
        font-size: 13px;
        /* margin-bottom: 10px; */
    }

    .operating-hours ul li strong {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .operating-hours .hours-list {
        text-align: center;
        margin: 8px auto;
    }

    .operating-hours .hours-list li {
        font-size: 12px;
        line-height: 1.5;
        margin-bottom: 3px;
    }

    .home-contact .iframe-wrapper {
        min-height: 400px;
    }
}

/* Very small mobile devices */
@media (max-width: 375px) {
    .home-contact-wrapper {
        max-width: 98%;
    }

    .mob-res {
        padding-top: 18px !important;
    }

    .eo-icon {
        padding-bottom: 12px;
    }

    .eo-icon svg {
        width: 50px;
        height: 50px;
    }

    .menu-booking .imperial-script {
        margin-left: -33px;
    }

    .eo-title {
        font-size: 24px;
    }

    .celebrate-occsions .imperial-script {
        font-size: 45px;
        margin-left: -23px;
    }

    .home-contact-content {
        padding: 30px 15px;
    }

    .about-overview {
        overflow-x: hidden;
    }

    .home-contact-content .box-heading {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .home-contact-content p {
        font-size: 11px;
        line-height: 1.2;
    }

    .operating-hours ul li {
        font-size: 12px;
        /* margin-bottom: 8px; */
    }

    .operating-hours ul li strong {
        font-size: 13px;
    }

    .operating-hours .hours-list {
        text-align: center;
        margin: 8px auto;
    }

    .operating-hours .hours-list li {
        font-size: 11px;
        line-height: 1.4;
    }
}