/* Categories and Special Offers Styles */
:root {
    --primary-color: #f01543;
    --primary-hover: #d01339;
    --secondary-color: #ffb800;
    --dark-bg: #000929;
    --light-bg: #f8f9fa;
    --text-color: #333;
    --light-text: #fff;
    --border-radius: 15px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Section Headers */
.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title .text-primary {
    color: var(--primary-color) !important;
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 1rem 0;
}

.divider-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: inline-block;
}

.divider-dot:nth-child(2) {
    width: 12px;
    height: 12px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

/* Categories Section */
.categories-section {
    background-color: var(--light-bg);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.categories-container {
    position: relative;
    padding: 0 40px;
}

.categories-swiper {
    overflow: visible;
    padding: 20px 0;
}

.category-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    transform: translateY(0);
    z-index: 1;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    color: #fff;
}

.category-hover-effect {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    transition: height 0.4s cubic-bezier(0.52, 1.64, 0.37, 0.66);
    z-index: -1;
    border-radius: var(--border-radius);
}

.category-card:hover .category-hover-effect {
    height: 100%;
}

.category-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(240, 21, 67, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--primary-color);
    transition: var(--transition);
    transform: scale(1);
}

.category-card:hover .category-icon {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: scale(1.1) rotate(10deg);
}

.category-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.category-count {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0;
    transition: var(--transition);
}

.category-card:hover .category-count {
    color: rgba(255, 255, 255, 0.8);
}

/* Swiper Navigation */
.categories-prev-btn,
.categories-next-btn {
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
}

.categories-prev-btn {
    left: 0;
}

.categories-next-btn {
    right: 0;
}

.categories-prev-btn:hover,
.categories-next-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.categories-prev-btn::after,
.categories-next-btn::after {
    display: none;
}

.categories-pagination {
    position: relative;
    margin-top: 2rem;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: #ccc;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-color);
    width: 30px;
    border-radius: 5px;
}

.btn-see-more {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    margin-top: 2rem;
}

.btn-see-more:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

/* Special Offers Section */
.special-offers-section {
    background-color: #fff;
    padding: 5rem 0;
    position: relative;
}

.special-offer-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    background-color: #fff;
    position: relative;
    transform: translateY(0);
}

.special-offer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.offer-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.offer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.special-offer-card:hover .offer-image img {
    transform: scale(1.1);
}

.offer-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--primary-color);
    color: #fff;
    padding: 5px 40px;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(45deg);
    z-index: 2;
}

.offer-content {
    padding: 1.5rem;
}

.offer-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.offer-description {
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.offer-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 1199.98px) {
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 991.98px) {
    .categories-section,
    .special-offers-section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .offer-image {
        height: 220px;
    }
}

@media (max-width: 767.98px) {
    .categories-section,
    .special-offers-section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .category-card {
        padding: 1.5rem 1rem;
    }
    
    .category-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .category-title {
        font-size: 1.1rem;
    }
    
    .offer-image {
        height: 200px;
    }
    
    .offer-content {
        padding: 1.2rem;
    }
    
    .offer-title {
        font-size: 1.2rem;
    }
    
    .price {
        font-size: 1.3rem;
    }
}

@media (max-width: 575.98px) {
    .categories-section,
    .special-offers-section {
        padding: 2.5rem 0;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .categories-container {
        padding: 0 30px;
    }
    
    .category-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .offer-badge {
        font-size: 0.7rem;
        padding: 3px 30px;
    }
}

/* Floating Food Icons */
.floating-food-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.floating-food-icon {
    position: absolute;
    color: rgba(240, 21, 67, 0.05);
    font-size: 3rem;
    z-index: -1;
    animation: float-food 15s infinite linear;
}

.categories-floating-icons .floating-food-icon {
    color: rgba(240, 21, 67, 0.05);
}

.offers-floating-icons .floating-food-icon {
    color: rgba(0, 9, 41, 0.05);
}

.categories-floating-icons .floating-food-icon:nth-child(1) {
    top: 15%;
    left: 10%;
    font-size: 4rem;
    animation-duration: 20s;
    animation-delay: 0s;
}

.categories-floating-icons .floating-food-icon:nth-child(2) {
    top: 60%;
    left: 5%;
    font-size: 3.5rem;
    animation-duration: 18s;
    animation-delay: 1s;
}

.categories-floating-icons .floating-food-icon:nth-child(3) {
    top: 25%;
    right: 8%;
    font-size: 3rem;
    animation-duration: 15s;
    animation-delay: 2s;
}

.categories-floating-icons .floating-food-icon:nth-child(4) {
    top: 70%;
    right: 10%;
    font-size: 2.5rem;
    animation-duration: 22s;
    animation-delay: 3s;
}

.categories-floating-icons .floating-food-icon:nth-child(5) {
    top: 40%;
    left: 20%;
    font-size: 2rem;
    animation-duration: 25s;
    animation-delay: 4s;
}

.categories-floating-icons .floating-food-icon:nth-child(6) {
    top: 30%;
    right: 25%;
    font-size: 2.8rem;
    animation-duration: 17s;
    animation-delay: 5s;
}

.offers-floating-icons .floating-food-icon:nth-child(1) {
    top: 20%;
    left: 15%;
    font-size: 3.5rem;
    animation-duration: 19s;
    animation-delay: 1s;
}

.offers-floating-icons .floating-food-icon:nth-child(2) {
    top: 65%;
    left: 8%;
    font-size: 3rem;
    animation-duration: 21s;
    animation-delay: 2s;
}

.offers-floating-icons .floating-food-icon:nth-child(3) {
    top: 15%;
    right: 12%;
    font-size: 4rem;
    animation-duration: 16s;
    animation-delay: 3s;
}

.offers-floating-icons .floating-food-icon:nth-child(4) {
    top: 75%;
    right: 15%;
    font-size: 2.5rem;
    animation-duration: 23s;
    animation-delay: 4s;
}

.offers-floating-icons .floating-food-icon:nth-child(5) {
    top: 45%;
    left: 25%;
    font-size: 2.2rem;
    animation-duration: 24s;
    animation-delay: 5s;
}

.offers-floating-icons .floating-food-icon:nth-child(6) {
    top: 35%;
    right: 20%;
    font-size: 2.7rem;
    animation-duration: 18s;
    animation-delay: 6s;
}

@keyframes float-food {
    0% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-20px) rotate(90deg) scale(1.1);
    }
    50% {
        transform: translateY(0) rotate(180deg) scale(1);
    }
    75% {
        transform: translateY(20px) rotate(270deg) scale(0.9);
    }
    100% {
        transform: translateY(0) rotate(360deg) scale(1);
    }
}

/* Make sure sections have position relative for absolute positioning of icons */
.categories-section,
.special-offers-section {
    position: relative;
    overflow: hidden;
}

/* Food Items Section Styles */
.food-items-section {
    background-color: var(--light-bg);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.food-items-floating-icons .floating-food-icon:nth-child(1) {
    top: 10%;
    left: 5%;
    font-size: 3.2rem;
    animation-duration: 22s;
    animation-delay: 0s;
}

.food-items-floating-icons .floating-food-icon:nth-child(2) {
    top: 70%;
    left: 8%;
    font-size: 2.8rem;
    animation-duration: 19s;
    animation-delay: 1s;
}

.food-items-floating-icons .floating-food-icon:nth-child(3) {
    top: 20%;
    right: 10%;
    font-size: 3.5rem;
    animation-duration: 17s;
    animation-delay: 2s;
}

.food-items-floating-icons .floating-food-icon:nth-child(4) {
    top: 65%;
    right: 7%;
    font-size: 2.6rem;
    animation-duration: 24s;
    animation-delay: 3s;
}

.food-items-floating-icons .floating-food-icon:nth-child(5) {
    top: 35%;
    left: 15%;
    font-size: 2.4rem;
    animation-duration: 26s;
    animation-delay: 4s;
}

.food-items-floating-icons .floating-food-icon:nth-child(6) {
    top: 40%;
    right: 18%;
    font-size: 3rem;
    animation-duration: 20s;
    animation-delay: 5s;
}

.category-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 2rem;
}

.btn-category {
    background-color: #f8f9fa;
    color: var(--text-color);
    border: 2px solid transparent;
    border-radius: 50px;
    padding: 8px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    z-index: -1;
}

.btn-category:hover::before,
.btn-category.active::before {
    width: 100%;
}

.btn-category:hover,
.btn-category.active {
    color: #fff;
    border-color: var(--primary-color);
}

.food-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    transform: translateY(0);
}

.food-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.food-card-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.food-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.food-card:hover .food-card-img img {
    transform: scale(1.1);
}

.food-card-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.food-card-body {
    padding: 1.5rem;
    position: relative;
}

.food-card-price {
    position: absolute;
    top: -25px;
    right: 20px;
    background-color: var(--secondary-color);
    color: var(--dark-bg);
    padding: 8px 15px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.food-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark-bg);
}

.food-card-desc {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    height: 40px;
    overflow: hidden;
}

.food-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.btn-add-to-cart {
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50px;
    padding: 8px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    width: 100%;
}

.btn-add-to-cart:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
}

/* Animation for food items when changing categories */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.food-item.animate {
    animation: fadeInUp 0.5s ease forwards;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .food-card-img {
        height: 180px;
    }
    
    .food-card-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 767.98px) {
    .category-filter-buttons {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
        justify-content: flex-start;
    }
    
    .btn-category {
        white-space: nowrap;
    }
}

@media (max-width: 575.98px) {
    .food-card-img {
        height: 160px;
    }
    
    .food-card-body {
        padding: 1.2rem;
    }
    
    .food-card-price {
        font-size: 1rem;
        padding: 6px 12px;
    }
}

/* Process Section Styles */
.process-section {
    background-color: var(--dark-bg);
    color: #fff;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.process-floating-icons .floating-food-icon:nth-child(1) {
    top: 15%;
    left: 7%;
    font-size: 2.8rem;
    animation-duration: 20s;
    animation-delay: 0s;
}

.process-floating-icons .floating-food-icon:nth-child(2) {
    top: 75%;
    left: 12%;
    font-size: 2.4rem;
    animation-duration: 18s;
    animation-delay: 1s;
}

.process-floating-icons .floating-food-icon:nth-child(3) {
    top: 25%;
    right: 9%;
    font-size: 3.2rem;
    animation-duration: 22s;
    animation-delay: 2s;
}

.process-floating-icons .floating-food-icon:nth-child(4) {
    top: 65%;
    right: 8%;
    font-size: 2.6rem;
    animation-duration: 19s;
    animation-delay: 3s;
}

.process-floating-icons .floating-food-icon:nth-child(5) {
    top: 45%;
    left: 18%;
    font-size: 2.2rem;
    animation-duration: 21s;
    animation-delay: 4s;
}

.process-floating-icons .floating-food-icon:nth-child(6) {
    top: 35%;
    right: 15%;
    font-size: 3rem;
    animation-duration: 23s;
    animation-delay: 5s;
}

.process-section .section-title,
.process-section .section-subtitle {
    color: #fff;
}

.process-illustration {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.process-device-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.process-device {
    position: relative;
    width: 220px;
    height: 440px;
    background-color: #000;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    z-index: 10;
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    transition: all 0.5s ease;
}

.process-device:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.05);
}

.process-device-frame {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    background-color: #111;
    border-radius: 24px;
    overflow: hidden;
}

.process-device-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a1445 0%, #000929 100%);
    overflow: hidden;
}

.process-device-button {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    z-index: 2;
}

.process-app-ui {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.process-app-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.process-app-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: #fff;
    box-shadow: 0 10px 20px rgba(240, 21, 67, 0.3);
}

.process-app-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.process-app-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.process-app-item.active {
    background-color: rgba(240, 21, 67, 0.2);
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.process-app-item-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    color: #fff;
}

.process-app-item.active .process-app-item-icon {
    background-color: var(--primary-color);
}

.process-app-item-text {
    flex: 1;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

.process-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}

.process-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 6;
}

.process-store {
    top: 20%;
    left: 0;
    animation: float-element 6s ease-in-out infinite;
}

.process-location-pin {
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: #fff;
    animation: pulse-pin 3s ease-in-out infinite;
}

.process-food-box {
    bottom: 30%;
    right: 5%;
    animation: float-element 7s ease-in-out infinite 1s;
}

.process-delivery {
    bottom: 15%;
    left: 10%;
    animation: float-element 5s ease-in-out infinite 0.5s;
}

.process-path {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.process-path-line {
    stroke-dashoffset: 0;
    animation: draw-path 10s linear infinite;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: all 0.3s ease;
    transform: translateX(0);
    position: relative;
    overflow: hidden;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateX(10px);
    background-color: rgba(255, 255, 255, 0.1);
}

.process-step:hover::before {
    width: 10px;
}

.process-step-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: #fff;
    box-shadow: 0 10px 20px rgba(240, 21, 67, 0.3);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.process-step:hover .process-step-icon {
    transform: scale(1.1) rotate(10deg);
}

.process-step-content {
    flex: 1;
}

.process-step-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}

.process-step-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
}

@keyframes float-element {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes pulse-pin {
    0%, 100% {
        transform: translateX(-50%) scale(1);
        box-shadow: 0 0 0 0 rgba(240, 21, 67, 0.7);
    }
    50% {
        transform: translateX(-50%) scale(1.1);
        box-shadow: 0 0 0 15px rgba(240, 21, 67, 0);
    }
}

@keyframes draw-path {
    0% {
        stroke-dasharray: 0, 1000;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 1000, 0;
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dasharray: 1000, 0;
        stroke-dashoffset: -1000;
    }
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .process-illustration {
        height: 400px;
    }
    
    .process-device {
        width: 180px;
        height: 360px;
    }
    
    .process-element {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

@media (max-width: 767.98px) {
    .process-section {
        padding: 4rem 0;
    }
    
    .process-illustration {
        height: 350px;
        margin-bottom: 2rem;
    }
    
    .process-step {
        padding: 15px;
    }
    
    .process-step-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .process-step-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 575.98px) {
    .process-device {
        width: 160px;
        height: 320px;
    }
    
    .process-element {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .process-step {
        gap: 15px;
    }
    
    .process-step-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

/* Popular Items Section Styles */
.popular-items-section {
    background-color: var(--light-bg);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.popular-items-floating-icons .floating-food-icon:nth-child(1) {
    top: 12%;
    left: 6%;
    font-size: 3rem;
    animation-duration: 20s;
    animation-delay: 0s;
}

.popular-items-floating-icons .floating-food-icon:nth-child(2) {
    top: 70%;
    left: 10%;
    font-size: 2.5rem;
    animation-duration: 18s;
    animation-delay: 1s;
}

.popular-items-floating-icons .floating-food-icon:nth-child(3) {
    top: 25%;
    right: 8%;
    font-size: 3.2rem;
    animation-duration: 22s;
    animation-delay: 2s;
}

.popular-items-floating-icons .floating-food-icon:nth-child(4) {
    top: 65%;
    right: 6%;
    font-size: 2.8rem;
    animation-duration: 19s;
    animation-delay: 3s;
}

.popular-items-floating-icons .floating-food-icon:nth-child(5) {
    top: 40%;
    left: 15%;
    font-size: 2.4rem;
    animation-duration: 21s;
    animation-delay: 4s;
}

.popular-items-floating-icons .floating-food-icon:nth-child(6) {
    top: 30%;
    right: 15%;
    font-size: 2.7rem;
    animation-duration: 23s;
    animation-delay: 5s;
}

.popular-item-rank {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transform: rotate(-10deg);
    animation: pulse-rank 2s infinite;
}

.rank-1 {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border: 2px solid #FFD700;
}

.rank-2 {
    background: linear-gradient(135deg, #C0C0C0, #A9A9A9);
    border: 2px solid #C0C0C0;
}

.rank-3 {
    background: linear-gradient(135deg, #CD7F32, #8B4513);
    border: 2px solid #CD7F32;
}

@keyframes pulse-rank {
    0% {
        transform: rotate(-10deg) scale(1);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }
    50% {
        transform: rotate(-10deg) scale(1.1);
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
    }
    100% {
        transform: rotate(-10deg) scale(1);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }
}

.popular-item-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.popular-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.popular-item-card:hover::before {
    opacity: 1;
}

.popular-item-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(255, 255, 255, 0) 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.popular-item-img {
    height: 100%;
    overflow: hidden;
    position: relative;
}

.popular-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.popular-item-card:hover .popular-item-img img {
    transform: scale(1.1);
}

.popular-item-content {
    padding: 1.2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.popular-item-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark-bg);
    transition: color 0.3s ease;
}

.popular-item-card:hover .popular-item-title {
    color: var(--primary-color);
}

.popular-item-desc {
    color: #6c757d;
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
    flex-grow: 1;
}

.popular-item-desc i {
    color: var(--primary-color);
    margin-right: 5px;
}

.popular-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.popular-item-price {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.btn-add-to-cart-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
    border-radius: 50px;
    padding: 0.25rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-add-to-cart-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

/* Animation for popular items */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

[data-aos="fade-up"].aos-animate {
    animation: fadeInScale 0.5s ease forwards;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .popular-item-title {
        font-size: 1rem;
    }
    
    .popular-item-desc {
        font-size: 0.8rem;
    }
    
    .popular-item-price {
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {
    .popular-item-content {
        padding: 1rem;
    }
    
    .btn-add-to-cart-outline {
        padding: 0.2rem 0.6rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 575.98px) {
    .popular-item-card {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .popular-item-img {
        height: 120px;
    }
}