/* Reset margins and padding for body and html */
html, body {
    margin: 0;
    padding: 0;
}

/* Apply styles for screens smaller than 768px (mobile) */
@media only screen and (max-width: 768px) {

    /* Reset margin and padding for category tabs */
    #category-tabs, 
    #category-tabs-content, 
    .tab-content, 
    .tab-pane, 
    .container, 
    .row {
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Ensure no margin between category tabs and menu items */
    #category-tabs {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    /* Ensure no space above or below category content */
    #category-tabs-content {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    /* Reset any padding/margin on the row containing menu items */
    #menu-items-container {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    /* Remove unnecessary spacing inside the tab content */
    .tab-content {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    /* Remove padding inside tab panes */
    .tab-pane {
        padding-top: 0 !important;
    }

    /* Prevent any padding or margin in the container or row */
    .container, .row {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    /* Reset space in the navigation tabs */
    .nav-pills {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    /* Apply more aggressive reset to force zero spacing */
    #category-tabs ul, #category-tabs li {
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Additional tweaks for extreme mobile layout */
    #category-tabs {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    /* Force flexbox or grid adjustments to ensure alignment */
    .tab-content, .row {
        display: block !important;
        flex: none !important;
    }

}





/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    z-index: 9999;
    flex-direction: column;
    text-align: center;
}

/* Spinner */
.spinner {
    border: 4px solid #f3f3f3; /* Light gray background */
    border-top: 4px solid #FFA500; /* Orange color for spinner */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
}

/* Animation for spinner rotation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Progress Bar */
.progress-bar-container {
    width: 80%;
    height: 10px;
    background-color: #f3f3f3;
    margin-top: 20px;
    border-radius: 5px;
}

#progress-bar {
    height: 100%;
    width: 0%;
    background-color: #FFA500; /* Orange progress bar */
    border-radius: 5px;
    transition: width 0.1s;
}

/* Animated "Noor" text */
.loading-text {
    font-size: 80px;
    color: #FFA500;
    font-weight: bold;
    margin-top: 30px;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Main Content */
#main-content {
    padding: 20px;
    text-align: center;
}

:root {
    --primary: #FEA116;
    --light: #F1F8FF;
    --dark: #0F172B;
}

.ff-secondary {
    font-family: 'Pacifico', cursive;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 700 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/* Reset margin and padding for the whole page to eliminate unexpected space */
html, body {
    margin: 0;
    padding: 0;
}

/* Specifically target the category tab container (nav-pills) */
#category-tabs {
    margin-bottom: 5px !important;  /* Fine-tune the margin here */
    padding-bottom: 0 !important;   /* Make sure there's no padding */
}

/* Target the container for the category tab content */
#category-tabs-content {
    padding-top: 0 !important;  /* Remove any padding above the content */
    margin-top: 0 !important;   /* Remove any margin above the content */
}

/* Ensure no padding or margin inside the tab content container */
.tab-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Target the row holding the menu items */
#menu-items-container {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Target the individual tab-pane to remove extra spacing */
.tab-pane {
    padding-top: 0 !important;  /* Remove any padding inside the tab */
}

/* Make sure the .container does not add extra space */
.container {
    padding-top: 0 !important;  /* Remove any padding inside the container */
}

/* Ensure the .row containing menu items doesn't add padding */
.row {
    margin-top: 0 !important;    /* No margin-top */
    padding-top: 0 !important;   /* No padding-top */
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 2px;
}


/*** Navbar ***/
.navbar-dark .navbar-nav .nav-link {
    position: relative;
    margin-left: 25px;
    padding: 35px 0;
    font-size: 15px;
    color: var(--light) !important;
    text-transform: uppercase;
    font-weight: 500;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-dark .navbar-nav .nav-link {
    padding: 20px 0;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary) !important;
}

.navbar-dark .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top.navbar-dark .navbar-brand img {
    max-height: 45px;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-dark {
        position: relative;
    }

    .navbar-dark .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid rgba(255, 255, 255, .1)
    }

    .navbar-dark .navbar-nav .nav-link,
    .sticky-top.navbar-dark .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
    }

    .navbar-dark .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .navbar-dark {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 999;
        background: transparent !important;
    }
    
    .sticky-top.navbar-dark {
        position: fixed;
        background: var(--dark) !important;
    }
}


/*** Hero Header ***/
.hero-header {
    background: linear-gradient(rgba(15, 23, 43, .9), rgba(15, 23, 43, .9)), url(../img/bg-hero.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-header img {
    animation: imgRotate 50s linear infinite;
}

@keyframes imgRotate { 
    100% { 
        transform: rotate(360deg); 
    } 
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, .5);
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
}

.section-title::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 2px;
    top: 50%;
    left: -55px;
    margin-top: -1px;
    background: var(--primary);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 45px;
    height: 2px;
    top: 50%;
    right: -55px;
    margin-top: -1px;
    background: var(--primary);
}

.section-title.text-start::before,
.section-title.text-end::after {
    display: none;
}


/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
}

.service-item:hover {
    background: var(--primary);
}

.service-item * {
    transition: .5s;
}

.service-item:hover * {
    color: var(--light) !important;
}


/*** Food Menu ***/
.nav-pills .nav-item .active {
    border-bottom: 2px solid var(--primary);
}


/*** Youtube Video ***/
.video {
    position: relative;
    height: 100%;
    min-height: 500px;
    background: linear-gradient(rgba(15, 23, 43, .1), rgba(15, 23, 43, .1)), url(../img/video.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.video .btn-play {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    box-sizing: content-box;
    display: block;
    width: 32px;
    height: 44px;
    border-radius: 50%;
    border: none;
    outline: none;
    padding: 18px 20px 18px 28px;
}

.video .btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
}

.video .btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--primary);
    border-radius: 50%;
    transition: all 200ms;
}

.video .btn-play img {
    position: relative;
    z-index: 3;
    max-width: 100%;
    width: auto;
    height: auto;
}

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 32px solid var(--dark);
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

#videoModal {
    z-index: 99999;
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}


/*** Team ***/
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    height: calc(100% - 38px);
    transition: .5s;
}

.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}

.team-item:hover {
    height: 100%;
}

.team-item .btn {
    border-radius: 38px 38px 0 0;
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item.center .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: var(--light) !important;
}

.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 1px solid #CCCCCC;
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}/********** Global Reset **********/
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

:root {
    --primary: #FEA116;
    --light: #F1F8FF;
    --dark: #0F172B;
}

/********** Global Utility Styles **********/
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    font-weight: 500;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 5px;
    background-color: var(--primary);
    color: #fff;
    text-align: center;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: darkorange;
}

/********** Navbar Styles **********/
.navbar {
    background: transparent;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--light);
    padding: 10px 15px;
    font-size: 1rem;
    text-transform: uppercase;
    transition: color 0.3s;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar-dark .navbar-brand img {
    max-height: 50px;
    transition: max-height 0.3s;
}

@media (max-width: 991px) {
    .navbar-dark .navbar-nav .nav-link {
        font-size: 0.875rem;
        padding: 8px 12px;
    }

    .navbar-dark .navbar-brand img {
        max-height: 40px;
    }
}

@media (max-width: 767px) {
    .navbar-dark .navbar-nav .nav-link {
        font-size: 0.75rem;
        padding: 6px 10px;
    }

    .navbar-dark .navbar-brand img {
        max-height: 35px;
    }
}

/********** Hero Header **********/
.hero-header {
    background: url(../img/bg-hero.jpg) no-repeat center center/cover;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-header h1 {
    color: white;
    font-size: 2.5rem;
    text-align: center;
}

@media (max-width: 767px) {
    .hero-header {
        height: 40vh;
    }

    .hero-header h1 {
        font-size: 1.75rem;
    }
}

/********** Section Title **********/
.section-title {
    position: relative;
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 40px;
}

.section-title::before,
.section-title::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 45px;
    height: 2px;
    background-color: var(--primary);
}

.section-title::before {
    left: -50px;
}

.section-title::after {
    right: -50px;
}

@media (max-width: 767px) {
    .section-title {
        font-size: 1.25rem;
    }

    .section-title::before,
    .section-title::after {
        width: 30px;
    }
}

/********** Services Section **********/
.service-item {
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

@media (max-width: 767px) {
    .service-item {
        padding: 15px;
        margin-bottom: 15px;
    }
}

/********** Footer Styles **********/
.footer {
    background-color: var(--dark);
    color: #fff;
    padding: 30px 0;
    text-align: center;
}

.footer a {
    color: var(--light);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

@media (max-width: 767px) {
    .footer {
        padding: 20px 0;
    }
}

/********** Mobile-First Media Queries **********/
@media (max-width: 991px) {
    .container {
        padding: 0 15px;
    }

    .btn {
        padding: 8px 16px;
        font-size: 0.875rem;
    }
}

@media (max-width: 767px) {
    body {
        font-size: 14px;
    }

    .container {
        padding: 0 10px;
    }

    .btn {
        padding: 6px 12px;
        font-size: 0.75rem;
    }

    .hero-header h1 {
        font-size: 1.5rem;
    }

    .service-item {
        padding: 12px;
    }
}

@media (max-width: 576px) {
    .navbar .navbar-nav .nav-link {
        font-size: 0.75rem;
        padding: 5px 8px;
    }

    .footer {
        padding: 15px 0;
    }

    .footer a {
        font-size: 0.875rem;
    }
}
/* Item name and price */
.menu-item-name {
    font-size: 1.2rem; /* Default size for larger screens */
    font-weight: 500;  /* Medium weight */
}

.menu-item-price {
    font-size: 1rem;   /* Default size for larger screens */
    font-weight: 600;  /* Semi-bold weight */
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .menu-item-name {
        font-size: 1rem; /* Smaller font size for mobile */
        font-weight: 500; /* Less bold for mobile */
    }

    .menu-item-price {
        font-size: 0.9rem; /* Smaller font size for mobile */
        font-weight: 500;  /* Less bold for mobile */
    }
}
/* Separating line for quantity and add button section */
.border-bottom {
    border-bottom: 2px solid #ccc; /* Adjust color and thickness */
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Optional: Customizing border on smaller screens for better visibility */
@media (max-width: 768px) {
    .border-bottom {
        border-bottom: 1px solid #ddd; /* Lighter border for smaller screens */
    }
}
/* Ensure the separation line spans across the entire width of the item */
.row.border-bottom {
    border-bottom: 2px solid #ccc; /* Adjust color and thickness */
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Optional: Customizing border on smaller screens for better visibility */
@media (max-width: 768px) {
    .row.border-bottom {
        border-bottom: 1px solid #ddd; /* Lighter border for smaller screens */
    }
}
/* No line between name and description */
h5 {
    border-bottom: none;
    padding-bottom: 0;  /* Adjust padding if needed */
}

/* Ensure the border between the item and the next item is still visible */
.row.border-bottom {
    border-bottom: 2px solid #ccc; /* Adjust color and thickness */
    margin-top: 10px;
    margin-bottom: 10px;
}
