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

:root {
    --primary-color: #3bb77e;
    --secondary-color: #6c757d;
    --light-bg: #f8f9fa;
    --border-color: #dee2e6;
    --banner-color: #b5d8d3;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;

}

html {
    width: 100%;
    scroll-behavior: smooth;
}

/* Login Page */
.login-page {
    background-color: var(--banner-color);
    min-height: 100vh;
}

.login-card {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    overflow: hidden;
    border: none;
}

.card-header {
    font-weight: 600;
}

.logo span {
    font-size: 1rem;
    font-weight: 300;
}

/* Header */
.sticky-top {
    top: 0;
    z-index: 1020;
}
.logo{
    display: flex;
    align-items: center;
    color: #3bb77e;
}

/* Hero Slider Styles */
.hero-slider {
    position: relative;
    height: 80vh;
    overflow: hidden;
    margin-bottom: 100px;
}

.slider-container {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slide.active {
    opacity: 1;
}

.slide-image {
    position: absolute;
    width: 100%;
    height: 100%;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    max-width: 500px;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.subheading {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.heading {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    font-weight: 700;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #2da069;
    border-color: #2da069;
}

.slider-controls {
    position: absolute;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgb(75 75 75 / 40%);
    padding: 10px 20px;
    border-radius: 50px;
}

.slider-prev,
.slider-next {
    background: none;
    border: none;
    cursor: pointer;
    color: #111;
    transition: all 0.3s ease;
}

.slider-prev:hover,
.slider-next:hover {
    color: var(--primary-color);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Icon Cards Section */
.icon-cards-section {
    padding-bottom: 150px;
}

.icon-cards-container {
    display: flex;
    justify-content: start;
    flex-wrap: wrap;
    gap: 20px;
}

.icon-card {
    background: white;
    border-radius: 12px;
    width: calc(16.666% - 20px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.icon-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 2rem;
}

.card-title {
    font-size: 1.1rem;
    color: #333;
    font-weight: 500;
}

/* Orders Section */

.table th {
    font-weight: 600;
}

.order-table {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.table thead th {
    border-bottom: none;
    text-align: left;
    padding: 12px 15px;
    background: #f5f7fa;
    font-weight: 600;
    font-size: 14px;
}

/* Form Styles */
.file-upload-box {
    background-color: var(--light-bg);
    border: 2px dashed var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-upload-box:hover {
    border-color: var(--primary-color);
    background-color: rgba(59, 183, 126, 0.05);
}

.btn-group {
    flex-wrap: wrap;
    gap: 5px;
}

.btn-group .btn {
    flex: 1;
    min-width: 100px;
}

.btn-group .btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.color-option {
    width: 30px;
    height: 30px;
}

.colr-opt1 {
    background-color: #000;
}

.colr-opt2 {
    background-color: #78b0e9;
}

.colr-opt3 {
    background-color: #f5f5dc;
}

.colr-opt4 {
    background-color: #001f3f;
}

.colr-opt5 {
    background-color: #800020;
}

/* Delivery method buttons */
.btn-group .btn-outline-primary {
    flex: 1;
    text-align: center;
}

.btn-group .btn-outline-primary.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Address fields transition */
#addressFields {
    transition: all 0.3s ease;
}

#addressFields.show {
    display: block !important;
    opacity: 1;
}

/* Toast */
.toast {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.footer-bg {
    background-color: rgba(0, 0, 0);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .icon-card {
        width: calc(33.333% - 20px);
    }
}

@media (max-width: 768px) {
    .slide-content {
        left: 5%;
        max-width: 90%;
    }

    .heading {
        font-size: 2.2rem;
    }

    .icon-card {
        width: calc(50% - 20px);
    }
}

@media (max-width: 576px) {
    .slide-content {
        text-align: center;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .icon-card {
        width: 100%;
    }

    .btn-group .btn {
        min-width: 80px;
        font-size: 0.9rem;
        padding: 5px 10px;
    }
}

.loader-overlay {
    background: rgba(0, 0, 0, 0.75);
    z-index: 1050;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    display: none;
}

.user-icon {
    margin: 0 auto 5px;
    animation: pulse 1.5s ease-in-out infinite;
}

.loading-text {
    color: #3bb77e;
    letter-spacing: 1px;

}

.loading-text::after {
    content: '...';
    position: absolute;
    animation: dots 1.5s steps(5, end) infinite;
}
.totalPrice { font-size: 1.2em; font-weight: bold; }
@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        transform: scale(0.95);
        opacity: 0.8;
    }
}

@keyframes dots {

    0%,
    20% {
        content: '.';
    }

    40% {
        content: '..';
    }

    60%,
    100% {
        content: '...';
    }
}