* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* color variables */
    --accent-color: #EAF2F5;
    --primary-text-color: #141414;
    --secondary-text-color: #007676;
    --light-text-color: #fff;
    --primary-color: #fff;
    --secondary-color: #007676;
    --alpha-secondary-color: rgba(0, 118, 118, 0.2);
    --discount-color: #E71A1C;
    --card-hover-bg-color: #F9F9F9;
    --border-color: #f9f9f9;
    --box-shadow-color: var(--accent-color);
    --shadow: rgba(0, 0, 0, 0.05);
    --box-shadow: rgba(0, 0, 0, 0.25);
    --discount-banner-background-overlay: linear-gradient(rgba(0, 118, 118, 0.8), rgba(0, 118, 118, 0.8));
    --phone-app-shadow: #C7E1EB;
    --alpha-primary-color: rgba(255, 255, 255, 0.5);
    --rating-color: #FFA800;

    /* transition curves */
    --transition-curve: cubic-bezier(0.36, -0.21, 0.16, 1.97);
}

html {
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: "Lato", sans-serif;
    color: var(--primary-text-color);
    background-color: var(--primary-color);
    overflow: hidden;
}

/* Loader Container */

.loader-container {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    transition: opacity 0.5s ease; /* Smooth transition for hiding loader */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #EAF2F5; /* Optional: background color for the loader screen */
}

.loader-container.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 50%;
    height: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#loader-container {
    width: 30px;
    height: 30px;
    font-size: 55px;
}


/* navbar */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4rem;
    display: flex;
    align-items: center;
    padding: 0 10vw;
    z-index: 9;
    background: var(--accent-color);
    box-shadow: 0 .2rem 3rem var(--box-shadow-color);
}

.nav-toggler {
    display: none;
}

.logo {
    height: 3rem;
    margin-left: -4rem;
}

.links-container {
    display: flex;
    gap: 1rem;
    list-style: none;
    margin-left: 7.5%;
}

.links {
    color: var(--primary-text-color);
    text-decoration: none;
    text-transform: capitalize;
    padding: .5rem 1rem;
    transform: .2s;
}

.links:hover {
    color: var(--secondary-text-color);
}

.nav-extras {
    display: flex;
    align-items: center;
    margin-left: auto;
    gap: 1rem;
}

.search {
    position: relative;
    width: 20vw;
    min-width: 150px;
    height: 2.5rem;
    border-radius: .5rem;
    overflow: hidden;
}

.search-box {
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    border: none;
    padding: 1rem;
    outline: none;
    font-size: .9rem;
}

.search-btn {
    position: absolute;
    border: none;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3rem;
    height: 100%;
    background: var(--primary-color);
    text-align: center;
    cursor: pointer;
    color: var(--secondary-text-color);
}

.cart {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--secondary-text-color);
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: .5s;
}

.cart:hover,
.locate-btn:hover {
    background: var(--alpha-secondary-color);
}

.cart-count {
    position: flex;
    top: -1rem;
    right: -10rem;
    background-color: var(--secondary-text-color);
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
    display: none;
}

.modal {
    display: none;
    position: fixed;
    z-index: 3;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border-radius: 1rem;
    /* border: 1px solid #888; */
    width: 80%; /* Could be more or less, depending on screen size */
}
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#placeOrderButton {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    font-size: 0.9rem;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
}

#placeOrderButton:hover {
    background-color: #45a049;
}

.download-symbol {
    margin-right: 5px;
    font-size: 1.5rem;
    color: #000;
    vertical-align: middle;
    transition: transform 0.3s ease-in-out; /* Add smooth transition */
}

.download-symbol:hover {
    transform: scale(1.2);
    font-weight: 800;
}

button {
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
}

/* CSS for the receipt */
#receipt {
    background-color: #f9f9f9;
    border-radius: 1px solid #ccc;
    padding: 20px;
    margin-top: 20px;
}

#receipt h3 {
    color: #000;
    font-size: 1rem;
}

#receipt p {
    color: #000;
    font-size: 16px;
}

#receipt ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#receipt li {
    margin-bottom: 5px;
}

/* user login */

.userlogin {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--secondary-text-color);
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: .5s ease;
}

.userlogin .bx-user {
    display: inline;
}

.bxs-user {
    display: inline;
}

.userlogin .bxs-user {
    display: none;
    opacity: 0;
    transition: opacity .5s ease;
}

.userlogin:hover .bx-user {
    display: none;
}

.userlogin:hover .bxs-user {
    display: inline;
    opacity: 1;
}

.userlogin:hover {
    background: var(--alpha-secondary-color);
}



/*Hero Section*/

#hero-section {
    min-height: 100vh;
    padding: 0 10vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--accent-color);
}

.hero-content {
    width: 40%;
}

.hero-heading {
    font-size: 4rem;
    line-height: 5rem;
    font-weight: 700;
    color: var(--secondary-text-color);
}

.hero-line {
    line-height: 2rem;
    opacity: 0.75;
    margin-top: 2rem;
}

.search.location {
    width: 100%;
    height: 3.5rem;
    border-radius: .2rem;
    margin: 2.5rem 0;
}

.locate-btn {
    font-size: 1.2rem;
    width: 4rem;
    transition: .5s;
}

.search.location .search-box {
    padding: 1rem 1.5rem;
}

.hero-action-btn-container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.btn {
    padding: 1rem 1.5rem;
    border: none;
    border-radius: .3rem;
    font-size: 1rem;
    color: var(--light-text-color);
    background: var(--secondary-color);
    text-transform: capitalize;
    cursor: pointer;
}

.btn.transparent {
    background: transparent;
    border: .1rem solid var(--secondary-color);
    color: var(--secondary-text-color);
}

.hero-action-btn-container .or {
    color: var(--secondary-text-color);
}

.hero-img-container,
.food-image-container,
.download-app-image-container {
    min-width: 30rem;
    min-height: 30rem;
    position: relative;
    transform: scale(0.8) translateY(1rem);
}

.background-ele,
.forground-elements {
    width: 100%;
    height: 100%;
    position: absolute;
}

[data-aos="fade-in"].aos-animate {
    transform: none !important;
}

.ellipse {
    position: absolute;
    height: 100%;
    top: 50%;
    left: 50%;
    border-radius: 100%;
    border: .10rem solid var(--secondary-color);
    transform-origin: center;
}

.ellipse:nth-child(1) {
    width: 80%;
    transform: translate(-50%, -50%) rotate(20deg);
}

.ellipse:nth-child(2) {
    width: 90%;
    transform: translate(-50%, -50%) rotate(40deg);
}

.ellipse:nth-child(3) {
    width: 90%;
    transform: translate(-50%, -50%) rotate(-20deg);
}

.hero-img {
    position: absolute;
    width: 10rem;
    border-radius: 100%;
    box-shadow: 0 1rem 1rem var(--shadow);
}

.hero-img:nth-child(1) {
    width: 20rem;
    left: -8%;
    top: -15%;
}

.hero-img:nth-child(2) {
    width: 15rem;
    right: -15%;
    top: 15%;
}

.hero-img:nth-child(3) {
    width: 15rem;
    left: 35%;
    bottom: -20%;
}

.review-box {
    position: absolute;
    width: 30rem;
    padding: 1rem 2rem;
    bottom: 5%;
    left: -25%;
    border-radius: .5rem;
    background: var(--alpha-primary-color);
    backdrop-filter: blur(.5rem);
}

.review-info {
    display: flex;
    gap: 1rem;
}

.reviewer-img {
    width: 3rem;
    height: 3rem;
    object-fit: cover;
    border-radius: 100%;
}

.reviewer-rating {
    display: flex;
    gap: .1rem;
    font-size: .7rem;
    align-items: center;
}

.reviewer-rating i {
    color: var(--rating-color);
}

.reviewer-name {
    font-weight: 400;
    font-size: 1.2rem;
    margin-top: .75rem;
}

.review-body {
    display: flex;
    gap: 1rem;
    margin-top: .5rem;
    padding: 1rem 0;
}

.review-body i {
    font-size: 1.4rem;
    color: var(--secondary-text-color);
}

.review {
    line-height: 1.45rem;
}

/*restaurants Section*/

.section {
    width: 100%;
    padding: 2rem 0 5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-detail {
    width: 45%;
    min-width: 300px;
    margin-left: auto;
}

.section-highlight {
    padding: .5rem 1rem;
    border-radius: .2rem;
    background: var(--alpha-secondary-color);
    color: var(--secondary-color);
}

.coming-soon {
    font-size: 1rem;
    color: var(--discount-color);
}

.section-title {
    margin: 2rem 0;
    font-size: 4rem;
}

.section-info {
    line-height: 2rem;
    margin-bottom: 2rem;
}

section {
    position: relative;
    padding: 6rem 10vw;
}

.food-image-container {
    transform: scale(0.8);
}

.circle {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    border-radius: 100%;
    transform: translate(-50%, -50%) scale(0.8);
    background: var(--primary-color);
    border: .1rem solid var(--secondary-color);
}

.circle span {
    position: absolute;
    width: .75rem;
    height: .75rem;
    border-radius: 100%;
    background: var(--secondary-color);
    transform: translate(-50%, -50%);
}

.circle span:nth-child(1) {
    top: 0;
    left: 50%;
}

.circle span:nth-child(2) {
    top: 30%;
    left: 4%;
}

.circle span:nth-child(3) {
    top: 30%;
    right: 1.5%;
}

.circle span:nth-child(4) {
    bottom: 30%;
    left: 3%;
}

.circle span:nth-child(5) {
    bottom: 30%;
    right: .5%;
}

.circle span:nth-child(6) {
    bottom: -2.5%;
    left: 50%;
}

.circle:nth-child(2) {
    background: var(--alpha-secondary-color);
    z-index: -1;
    transform: translate(-50%, -50%) scale(1) rotate(30deg);
}

.food-img {
    position: absolute;
    border-radius: 100%;
    box-shadow: 0 1rem 1rem var(--shadow);
    width: 10rem;
    transform: translate(-50%, -50%);
}

.food-img:nth-child(1) {
    width: 20rem;
    top: 50%;
    left: 50%;
}

.food-img:nth-child(2) {
    width: 12rem;
    top: 15%;
    left: 100%;
}

.food-img:nth-child(3) {
    width: 10rem;
    top: 60%;
    left: 107%;
}

.food-img:nth-child(4) {
    width: 8rem;
    top: 95%;
    left: 80%;
}

.food-img:nth-child(5) {
    width: 6rem;
    top: 100%;
    left: 40%;
}

.food-img:nth-child(6) {
    width: 4rem;
    top: 80%;
    left: 10%;
}

.food-img:nth-child(7) {
    width: 2rem;
    top: 55%;
    left: 0%;
}

.restaurent-container {
    margin-top: 5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.restaurant {
    position: relative;
    width: 100%;
    padding: 1rem;
    border-radius: .5rem;
    border: .1rem solid var(--border-color);
}

.discount {
    position: absolute;
    color: var(--light-text-color);
    padding: .3rem .5rem;
    background: var(--discount-color);
    border-radius: .2rem;
    left: 0;
    top: 7.5%;
    z-index: 2;
}

.restaurant-thumbnail {
    position: relative;
    width: 100%;
    height: 15rem;
    overflow: hidden;
    border-radius: .5rem;
}

.restaurant-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: .25rem;
    transition: transform .5s var(--transition-curve);
}

.restaurant:hover .restaurant-img {
    transform: scale(1.1);
}

.restaurant-body {
    margin: 2rem 0 1rem;
    text-transform: capitalize;
    font-weight: 400;
    margin: 1 rem 0;
}

.menu {
    width: 80%;
    opacity: .75;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin: 1rem 0;
}

.place {
    font-weight: 700;
    text-transform: capitalize;
}

.raiting {
    position: absolute;
    right: 0;
    top: 0;
    padding: .4rem .6rem;
    background: var(--secondary-color);
    color: var(--light-text-color);
    font-size: .9rem;
    display: flex;
    gap: .5rem;
    border-radius: .2rem;
}

.restaurant:hover {
    background: var(--card-hover-bg-color);
}

.leaf-layer {
    position: absolute;
    width: 10rem;
    height: 10rem;
    overflow: hidden;
    z-index: 2;
}

.leaf-layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leaf-layer.right {
    right: -5%;
    top: 25%;
    transform: scale(0.9) rotate(30deg);
}

.leaf-layer.left {
    left: -5%;
    bottom: -5%;
    transform: scale(1) rotate(30deg);
}

/*about section*/

#about-section {
    padding-bottom: 0;
}

#about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 90%;
    background: var(--accent-color);
    z-index: -1;
}

.about {
    width: 30%;
    margin-left: auto;
    min-width: 250px;
}

.about-title {
    font-size: 2rem;
    text-transform: capitalize;
    color: var(--secondary-text-color);
}

.about-info {
    margin: 2rem 0 4rem;
    line-height: 2rem;
}

.service {
    background: var(--primary-color);
    border-radius: .5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    box-shadow: 0 .5rem 1rem var(--box-shadow-color);
}

.service-title {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.service-img {
    width: 3rem;
    height: 3rem;
    border-radius: .2rem;
}

.service-name {
    font-weight: 400;
}

.service-detail {
    margin-top: 1rem;
    line-height: 2rem;
    opacity: .75;
}

.about-us-review-container {
    position: absolute;
    left: -10%;
    width: 40rem;
    height: 40rem;
}

.about-us-review-container .circle {
    background: transparent;
    left: 20%;
    transform: translate(-50%, -50%);
}

.about-us-review-container .circle::before,
.about-us-review-container .circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    border: .1rem solid var(--secondary-color);
    border-radius: 100%;
}

.about-us-review-container .circle::after {
    width: 110%;
    height: 110%;
}

.pizza-pan-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(0.9);
    left: -25%;
    filter: drop-shadow(0 1rem 1rem var(--box-shadow-color));
}

.review-wrapper {
    position: absolute;
    display: flex;
    gap: 1rem;
    transform: translateX(1rem) scale(0);
}

.review-wrapper .review-box {
    position: relative;
    inset: 0;
    padding: 1rem 1.5rem;
    background: var(--primary-color);
    filter: none;
    pointer-events: none;
    transform-origin: top left;
    transform: scale(0);
    transition: .5s ease-in-out;
    box-shadow: 0 1rem var(--box-shadow-color);
}

.review-wrapper.active {
    z-index: 2;
}

.review-wrapper.active .review-box {
    transform: scale(0.85);
}

.about-us-review-container .review-wrapper:nth-child(1) {
    bottom: 74%;
    left: 35%;
}

.about-us-review-container .review-wrapper:nth-child(2) {
    bottom: 55%;
    left: 52%;
}

.about-us-review-container .review-wrapper:nth-child(3) {
    bottom: 33%;
    left: 66%;
}

.about-us-review-container .review-wrapper:nth-child(4) {
    bottom: 10%;
    left: 68%;
}

.about-us-review-container .review-wrapper:nth-child(5) {
    bottom: -15%;
    left: 40%;
}

/* faq section */

#faq-section .section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 8rem;
    font-weight: 400;
}

.faq {
    margin: auto;
    width: 70%;
    border-radius: .5rem;
    border: .1rem solid var(--accent-color);
    position: relative;
    margin-bottom: 2rem;
    box-shadow: 0 .2rem 3rem var(--box-shadow-color);
}

.question-box {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    cursor: pointer;
}

.question {
    font-weight: 400;
}

.question-box i {
    font-size: 1.5rem;
    text-align: center;
    transition: .25s;
    color: var(--secondary-text-color);
}

.answer-box {
    display: grid;
    grid-template-rows: 0fr;
    transition: .5s;
    border-top: .1rem solid var(--border-color);
}

.answer {
    overflow: hidden;
    line-height: 2rem;
    padding: 0 2rem;
}

.faq.active .question-box i {
    transform: rotate(45deg);
}

.faq.active .answer-box {
    padding: 2rem 0;
    grid-template-rows: 1fr;
}

.dish-layer {
    position: absolute;
    height: 20rem;
    right: -5%;
    bottom: -25%;
    z-index: -1;
    pointer-events: none;
}

.dish-layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Download app section */

.download-btn-group {
    display: flex;
    margin-top: 3rem;
}

.download-btn-group img {
    width: 10rem;
    margin-right: 1.5rem;
}

.pulse {
    width: 100%;
    height: 100%;
    position: absolute;
}

.pulse .circle {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    border: none;
    background: var(--accent-color);
    border-radius: 100%;
}

.pulse .circle:nth-child(2) {
    transform: translate(-50%, -50%) scale(1);
    border: .2rem solid var(--accent-color);
    background: transparent;
}

.leaf {
    position: absolute;
    height: 40%;
}

.leaf.left {
    bottom: 15%;
    left: 5%;
    transform: rotate(20deg);
}

.leaf.right {
    bottom: 0;
    right: 5%;
    transform: rotate(-20deg);
}

.phone-mockup {
    position: absolute;
    height: 100%;
    left: 50%;
    transform: translateX(-50%) scale(1.1) rotate(5deg);
    box-shadow: 0 2.5rem 6.25rem var(--phone-app-shadow);
    border-radius: 2rem;
}

/* discount banner */

.discount-banner {
    position: relative;
    display: flex;
    margin: 0 10vw 5rem;
    padding: 4rem;
    border-radius: .5rem;
    background-image: var(--discount-banner-background-overlay), url(img/discount.png);
    background-size: cover;
    color: var(--light-text-color);
    overflow: hidden;
}

.discount-banner .section-detail {
    margin-left: 0;
    width: 50%;
}

.discount-banner .section-title {
    font-size: 3rem;
    font-weight: 400;
    margin-top: 0;
}

.discount-banner .section-info {
    font-weight: 700;
}

.discount-code {
    color: var(--secondary-color);
    padding: 1rem 2rem;
    background: var(--primary-color);
    border-radius: .25rem;
    width: fit-content;
}

.dish-slide {
    position: absolute;
    top: 50%;
    right: -17.5rem;
    transform: translateY(-50%);
    width: 35rem;
    height: 35rem;
    border-radius: 100%;
    transform-origin: center;
    transition: .75s ease-in-out;
    /* background: #000; */
}

.dish-slide img {
    width: 15rem;
    height: 15rem;
    object-fit: cover;
    position: absolute;
    transform: translateY(-50%);
}

.dish-slide img:nth-child(1) {
    top: 50%;
    left: -7.5rem;
}

.dish-slide img:nth-child(2) {
    top: 10%;
    right: 2rem;
}

.dish-slide img:nth-child(3) {
    top: 90%;
    right: 2rem;
}

/* footer */

#footer {
    position: relative;
    padding: 4rem 10vw 8rem;
    display: flex;
    gap: 5%;
    background: var(--accent-color);
}

.company-info .logo {
    height: 4rem;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 3rem;
    height: 3rem;
    padding: .5rem;
    border-radius: 100%;
    background: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: var(--primary-text-color);
    font-size: 1.5rem;
    transition: .5s;
}

#footer .download-btn img {
    width: 8rem;
}

.footer-links-container {
    margin-left: auto;
}

.footer-links-container.contact {
    width: 20%;
}

.footer-links-title {
    text-transform: capitalize;
    margin-bottom: 1rem;
    color: var(--secondary-text-color);
}

.footer-links,
.footer-text {
    color: var(--primary-text-color);
    text-decoration: none;
    margin-bottom: .5rem;
    line-height: 1.5rem;
    display: block;
    opacity: 0.75;
    text-transform: capitalize;
}

.footer-links:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.footer-text {
    margin-bottom: 1rem;
}

.payment-patners {
    position: absolute;
    display: flex;
    gap: 1rem;
    right: 10vw;
    bottom: 20%;
}

.payment-patners img {
    height: 2rem;
}

.payment-patners-text {
    position: absolute;
    bottom: 12%;
    right: 10vw;
    font-size: .8rem;
    opacity: 0.5;
}

.copyright {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
    text-align: center;
    padding: .5rem;
    color: var(--light-text-color);
    background: var(--secondary-color);
}

/* signout */
.signout:hover {
    background-color: #eee;
    color: #333;
    cursor: pointer;
}

/* Menu Button */
.menu-button {
    width: 100%;
    display: flex;
    justify-content: space-around;
    margin-top: 1.25rem;
  }

  .menu-button button {
    background: #FF675D;
    outline: none;
    border: none;
    color: #fff;
    padding: 0.5rem 1.375rem;
    border-radius: 1.5rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
    transition: transform .5s var(--transition-curve);
  }

  .menu-button button:hover {
    background: #029c9c;
    transform: scale(1.1);
  }

/* media query */

@media (min-width: 1440px) {
    html {
        font-size: 20px;
    }
}

@media (min-width: 2000px) {
    html {
        font-size: 25px;
    }
}

@media (max-width: 1440px) {
    html {
        font-size: 16px;
    }

}

@media (max-width: 1200px) {

    html {
        font-size: 14.5px;
    }

    /* hero section */

    #hero-section {
        min-height: auto;
        padding: 10rem 10vw;
    }

    .hero-content {
        width: 50%;
    }

    .hero-img-container {
        transform: scale(0.85) translateX(2rem);
    }

    .hero-img:nth-child(1) {
        width: 18rem;
        left: -9%;
        top: 17%;
    }

    .hero-img:nth-child(2) {
        width: 15rem;
        right: -9%;
        top: 17%;
    }

    .hero-img:nth-child(3) {
        width: 12rem;
        left: 55%;
        bottom: -20%;
    }

    .review-box {
        width: 25rem;
        bottom: 0;
        left: 0;
    }

    /* section */

    section {
        padding: 3rem 10dvw;
    }

    /* restaurant section */

    .food-image-container {
        transform: scale(0.75) translateX(-6rem);
    }

    .restaurent-container {
        gap: 1.2rem;
    }

    /* about us review container */

    .about-us-review-container,
    .download-app-image-container {
        transform: scale(0.9) translateX(-15%);
    }

    /* faq */

    .faq {
        width: 100%;
    }

    #download-app-section .section-title {
        font-size: 3.5rem;
    }

    .dish-layer {
        transform: scale(0.85) translateX(4rem);
    }

}

@media (max-width: 998px) {
    html {
        font-size: 13.5px;
    }

    section,
    footer {
        padding: 3rem 7vw;
    }

    /* navebar */

    .navbar {
        padding: 0 5vw;
    }

    /* hero section */

    #hero-section {
        padding: 5rem;
    }

    .hero-img-container {
        transform: scale(0.75) translateX(2rem);
    }

    .hero-heading {
        font-size: 3.5rem;
    }

    .hero-line {
        margin-top: 0.5rem;
    }

    .hero-action-btn-container {
        gap: 1rem;
    }

    #hero-section .review {
        font-size: 1.3rem;
        line-height: 2.3rem;
    }

    /* restaurants section */

    .food-image-container {
        transform: scale(0.8) translateX(-10%);
    }

    .food-img:nth-child(2) {
        width: 10rem;
        left: 95%;
        top: 20%;
    }

    .food-img:nth-child(3) {
        width: 8rem;
        left: 99%;
    }

    .food-img:nth-child(4) {
        width: 6rem;
        left: 75%;
    }

    .food-img:nth-child(5) {
        width: 5rem;
        left: 35%;
        top: 97%;
    }

    .food-img:nth-child(6) {
        left: 8%;
        top: 77%;
    }

    /* about */

    .about {
        padding: 5rem 10vw;
    }

    .about-us-review-container {
        display: none;
    }

    .about {
        padding: 0;
        width: 100%;
    }

    .about-info {
        width: 70%;
    }

    .services-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .service {
        margin-bottom: 0;
    }

    /* discount */

    .discount-banner {
        margin: 0 5vw 5rem;
    }

    #footer {
        padding: 5vw;
        padding-bottom: 5rem;
        flex-direction: column;
        gap: 1rem;
    }

    .footer-links-container {
        margin-left: 0;
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .footer-links-title {
        display: block;
        min-width: 100%;
        margin-bottom: 0;
    }

    .footer-links-container.contact {
        width: 100%;
    }

    .company-info.logo {
        margin-bottom: 2rem;
    }

    .download-btn-group {
        margin-top: 2rem;
    }

    .payment-patners {
        position: relative;
        flex-wrap: wrap;
        right: auto;
    }

    .payment-patners-text {
        right: auto;
        position: relative;
    }
}

@media (max-width: 820px) {

    /* navbar */
    .nav-toggler {
        display: block;
        width: 2.5rem;
        height: 2.5rem;
        position: relative;
        cursor: pointer;
        transition: .5s ease-out;
    }

    .nav-toggler span {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 70%;
        height: .1rem;
        border-radius: 1rem;
        background: var(--secondary-color);
        transition: .5s ease-out;
    }

    .nav-toggler span:nth-child(1) {
        top: 30%;
    }

    .nav-toggler span:nth-child(3) {
        top: 70%;
    }

    .nav-toggler.active span:nth-child(1) {
        top: 50%;
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .nav-toggler.active span:nth-child(3) {
        top: 50%;
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    .nav-toggler.active span:nth-child(2) {
        width: 0;
    }

    .links-container {
        display: block;
        left: 0;
        top: 100%;
        width: 100%;
        margin-left: 0;
        position: absolute;
        background: var(--accent-color);
        transition: .5s;
        z-index: -1;
        height: 0;
        overflow: hidden;
    }

    .links-container .linkitems {
        text-align: right;
    }

    .links-container .links {
        display: block;
        padding: 1.2rem 10vw;
    }

    .links-container .links:hover {
        background: var(--primary-color);
        color: var(--secondary-text-color);
    }

    /* hero section */

    #hero-section {
        flex-direction: column-reverse;
        gap: 3rem;
    }

    .hero-content {
        width: 80%;
        min-width: 350px;
    }

    #hero-section .review-box {
        width: 40rem;
        left: -20%;
    }

    /* restaurant */

    .food-image-container {
        transform: scale(0.8) translateX(-5%);
    }

    .section {
        flex-direction: column;
        gap: 4rem;
    }

    .section-detail {
        width: 90%;
        margin: auto;
    }

    .restaurent-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .leaf-layer.right {
        right: -10%;
    }

    .left.left {
        left: 8%;
    }

    .leaf-layer img {
        display: none;
    }

    /* download section */

    .download-app-image-container {
        transform: scale(0.75) translateX(0);
    }

    .download-btn-group {
        flex-direction: row;
    }

    /* discount banner */

    .discount-banner .section-detail {
        margin: 0;
        width: 100%;
    }

    .dish-slide {
        display: none;
    }
}

@media (max-width: 500px) {
    /* hero section */

    .hero-img-container {
        transform: scale(0.7) translateX(0);
    }

    #hero-section .review-box {
        width: 25rem;
        left: 0;
    }

    /* restaurants */

    .food-image-container {
        transform: scale(0.7) translateX(-5%);
    }

    .restaurent-container,
    .services-container {
        grid-template-columns: 1fr;
    }

    .logo {
        margin-left: -0.8rem;
        height: 2.3rem;
    }

    .section-highlight {
        padding: .5rem 1rem;
        border-radius: .2rem;
        font-size: 0.8rem;
        background: var(--alpha-secondary-color);
        color: var(--secondary-color);
    }
}

/* animation */

.food-img-animation-wrapper {
    transform: none !important;
}

.food-img-animation-wrapper.aos-animate .food-img {
    animation: fade-in .5s forwards 1;
}

@keyframes fade-in {
    to {
        opacity: 1;
    }
}

.about-us-review-container.aos-animate .review-wrapper {
    animation: zoom-in-up .5s var(--aos-delay) forwards 1;
}

@keyframes zoom-in-up {
    from {
        transform: translateX(1rem) scale(0);
    }

    to {
        transform: translateX(0) scale(1);
    }
}

.circle.pulse-animate {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0);
    }

    75% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
}

.phone-mockup.aos-animate {
    animation: fade-rotate .5s forwards 1;
}

@keyframes fade-rotate {
    from {
        opacity: 0;
        transform: translateX(-50%) scale(1.1) rotate(0);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) scale(1.1) rotate(-5deg);
    }
}