/* Custom CSS for Mobile Meals Center */

:root {
    /* Primary Brand Colors - Food & Warmth Theme */
    --primary-color: #ff6b35;      /* Vibrant Orange */
    --primary-dark: #e55a2b;       /* Darker Orange */
    --primary-light: #ff8c61;      /* Lighter Orange */
    
    /* Secondary Colors */
    --secondary-color: #f7931e;     /* Golden Orange */
    --secondary-dark: #d67e1a;      /* Darker Golden */
    --secondary-light: #ffa94d;     /* Lighter Golden */
    
    /* Accent Colors */
    --accent-color: #ffb347;        /* Peach */
    --accent-warm: #ff9f43;         /* Warm Peach */
    --accent-cool: #ffc048;         /* Cool Peach */
    
    /* Neutral Colors */
    --dark-color: #2c3e50;          /* Dark Blue-Gray */
    --dark-light: #34495e;          /* Medium Blue-Gray */
    --light-color: #f8f9fa;         /* Off White */
    --light-dark: #e9ecef;          /* Light Gray */
    
    /* Status Colors */
    --success-color: #27ae60;       /* Green */
    --success-light: #2ecc71;       /* Light Green */
    --danger-color: #e74c3c;        /* Red */
    --danger-light: #ec7063;        /* Light Red */
    --warning-color: #f39c12;       /* Orange-Yellow */
    --warning-light: #f7dc6f;       /* Light Yellow */
    --info-color: #3498db;          /* Blue */
    --info-light: #5dade2;          /* Light Blue */
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-warm: linear-gradient(135deg, var(--accent-warm) 0%, var(--primary-color) 100%);
    --gradient-cool: linear-gradient(135deg, var(--info-color) 0%, var(--primary-color) 100%);
    --gradient-success: linear-gradient(135deg, var(--success-color) 0%, var(--success-light) 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.1);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: var(--dark-color);
    line-height: 1.6;
    font-weight: 400;
    min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; font-weight: 700; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

/* Modern Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.navbar-brand:hover {
    color: var(--primary-dark) !important;
    transform: scale(1.05);
}

.navbar-brand i {
    font-size: 1.75rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--dark-color) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.75rem 1rem !important;
    border-radius: var(--radius-md);
    margin: 0 0.25rem;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
    background: rgba(255, 107, 53, 0.1);
    transform: translateY(-1px);
}

.navbar-nav .nav-link i {
    opacity: 0.8;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover i {
    opacity: 1;
    transform: scale(1.1);
}

/* Dropdown Menus */
.dropdown-menu {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    margin-top: 0.5rem;
    background: white;
    backdrop-filter: blur(20px);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
}

.dropdown-item {
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.dropdown-item:hover {
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-color);
    transform: translateX(5px);
}

.dropdown-item i {
    width: 20px;
    text-align: center;
}

.dropdown-header {
    padding: 1rem;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(247, 147, 30, 0.05) 100%);
    border-radius: var(--radius-sm);
    margin-bottom: 0.5rem;
}

.dropdown-divider {
    margin: 0.5rem 0;
    border-color: rgba(255, 107, 53, 0.1);
}

/* Cart Button */
.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline-primary:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* User Avatar */
.navbar .bg-primary {
    background: var(--gradient-primary) !important;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
}

.navbar .bg-primary:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

/* Mobile Navbar */
.navbar-toggler {
    border: 2px solid var(--primary-color);
    padding: 0.5rem;
    border-radius: var(--radius-md);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ff6b35' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Badge Styling */
.badge {
    font-size: 0.6rem;
    padding: 0.25rem 0.5rem;
}

.position-relative .badge {
    font-size: 0.5rem;
    padding: 0.2rem 0.4rem;
}

/* Responsive Navigation */
@media (max-width: 991.98px) {
    .navbar-nav {
        padding: 1rem 0;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 0 !important;
        margin: 0.25rem 0;
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 107, 53, 0.1);
    }
    
    .dropdown-menu {
        border: none;
        box-shadow: none;
        background: rgba(255, 107, 53, 0.05);
        margin: 0.5rem 0;
    }
    
    .dropdown-menu::before {
        display: none;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
}

/* Bootstrap Color Overrides */
.bg-primary {
    background: var(--gradient-primary) !important;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--gradient-warm);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.text-primary {
    color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-primary);
    color: white;
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" fill="%23f8f9fa"><path d="M1200 120L0 16.48V120z"/></svg>');
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Cards */
.card {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    background: white;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-header {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(247, 147, 30, 0.05) 100%);
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
    font-weight: 600;
    color: var(--dark-color);
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
}

.card-text {
    color: var(--dark-light);
    line-height: 1.6;
}

.card-img-top {
    border-radius: 15px 15px 0 0;
    height: 200px;
    object-fit: cover;
}

/* Meal Cards */
.meal-card .card-img-top {
    height: 250px;
}

.price-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient-warm);
    color: white;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-xl);
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
}

/* Modern Button Styles */
.btn {
    font-weight: 500;
    border-radius: var(--radius-md);
    padding: 0.75rem 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: var(--radius-lg);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
}

/* Success Button */
.btn-success {
    background: var(--gradient-success);
    color: white;
}

.btn-success:hover {
    background: linear-gradient(135deg, var(--success-light) 0%, var(--success-color) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-success {
    color: var(--success-color);
    border: 2px solid var(--success-color);
    background: transparent;
}

.btn-outline-success:hover {
    background: var(--gradient-success);
    border-color: transparent;
    color: white;
    transform: translateY(-1px);
}

/* Secondary Button */
.btn-secondary {
    background: linear-gradient(135deg, var(--dark-light) 0%, var(--dark-color) 100%);
    color: white;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--dark-light) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-secondary {
    color: var(--dark-color);
    border: 2px solid var(--dark-light);
    background: transparent;
}

.btn-outline-secondary:hover {
    background: var(--dark-color);
    border-color: var(--dark-color);
    color: white;
    transform: translateY(-1px);
}

/* Status Badges */
.badge {
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-xl);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bg-success {
    background: var(--gradient-success) !important;
}

.bg-warning {
    background: linear-gradient(135deg, var(--warning-color) 0%, var(--warning-light) 100%) !important;
    color: var(--dark-color) !important;
}

.bg-danger {
    background: linear-gradient(135deg, var(--danger-color) 0%, var(--danger-light) 100%) !important;
}

.bg-info {
    background: linear-gradient(135deg, var(--info-color) 0%, var(--info-light) 100%) !important;
}

.bg-light {
    background: linear-gradient(135deg, var(--light-color) 0%, var(--light-dark) 100%) !important;
    color: var(--dark-color) !important;
}

/* Restaurant Cards */
.restaurant-card .card-img-top {
    height: 180px;
}

.restaurant-logo {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid white;
    position: absolute;
    bottom: -30px;
    left: 20px;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 25px;
    padding: 10px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #e55a2b;
    border-color: #e55a2b;
    transform: translateY(-2px);
}

.btn-success {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    border-radius: 25px;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 25px;
}

/* Search Section */
.search-section {
    background: var(--light-color);
    padding: 60px 0;
}

.search-form {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Category Pills */
.category-pill {
    display: inline-block;
    padding: 8px 16px;
    background: var(--light-color);
    color: var(--dark-color);
    text-decoration: none;
    border-radius: 20px;
    margin: 5px;
    transition: all 0.3s ease;
}

.category-pill:hover {
    background: var(--primary-color);
    color: white;
    text-decoration: none;
}

/* Status Badges */
.status-pending { background-color: #ffc107; }
.status-confirmed { background-color: #17a2b8; }
.status-preparing { background-color: #fd7e14; }
.status-ready { background-color: #20c997; }
.status-delivered { background-color: #28a745; }
.status-cancelled { background-color: #dc3545; }

/* Forms */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
}

/* Dashboard Stats */
.stat-card {
    background: linear-gradient(135deg, var(--primary-color), #ff8c42);
    color: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
}

.stat-card.success {
    background: linear-gradient(135deg, var(--secondary-color), #34ce57);
}

.stat-card.warning {
    background: linear-gradient(135deg, var(--accent-color), #ffdb4d);
    color: var(--dark-color);
}

.stat-card.info {
    background: linear-gradient(135deg, #17a2b8, #20c997);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Payment Method Selection */
.payment-method-option {
    margin-bottom: 0;
}

.payment-method-option input[type="radio"] {
    display: none;
}

.payment-method-option label {
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method-option label:hover .border {
    border-color: #007bff !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.payment-method-option input[type="radio"]:checked + label .border {
    border-color: #007bff !important;
    background-color: rgba(0, 123, 255, 0.1);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.payment-method-option input[type="radio"]:checked + label .text-primary {
    color: #007bff !important;
}

.payment-method-option input[type="radio"]:checked + label .text-success {
    color: #28a745 !important;
}

/* M-Pesa specific styling */
.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

/* Payment form transitions */
#cardPaymentForm, #mpesaPaymentForm {
    transition: all 0.3s ease;
}

/* Stripe Elements styling */
.StripeElement {
    box-sizing: border-box;
    height: 40px;
    padding: 10px 12px;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    background-color: white;
    box-shadow: 0 1px 3px 0 #e6ebf1;
    transition: box-shadow 150ms ease;
}

.StripeElement--focus {
    box-shadow: 0 1px 3px 0 #cfd7df;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.StripeElement--invalid {
    border-color: #dc3545;
}

.StripeElement--webkit-autofill {
    background-color: #fefde5 !important;
}

/* Modern Form Styling */
.form-control {
    border: 2px solid var(--light-dark);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
    background: white;
}

.form-label {
    font-weight: 500;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.form-select {
    border: 2px solid var(--light-dark);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    background: white;
    transition: all 0.3s ease;
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
}

.input-group {
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.input-group-text {
    background: var(--gradient-primary);
    color: white;
    border: none;
    font-weight: 500;
}

/* Alert Styling */
.alert {
    border: none;
    border-radius: var(--radius-md);
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.alert-success {
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.1) 0%, rgba(46, 204, 113, 0.1) 100%);
    color: var(--success-color);
    border-left: 4px solid var(--success-color);
}

.alert-danger {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1) 0%, rgba(236, 112, 99, 0.1) 100%);
    color: var(--danger-color);
    border-left: 4px solid var(--danger-color);
}

.alert-warning {
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.1) 0%, rgba(247, 220, 111, 0.1) 100%);
    color: var(--warning-color);
    border-left: 4px solid var(--warning-color);
}

.alert-info {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1) 0%, rgba(93, 173, 226, 0.1) 100%);
    color: var(--info-color);
    border-left: 4px solid var(--info-color);
}

/* Loading States */
.spinner-border {
    width: 1rem;
    height: 1rem;
    border-width: 0.125rem;
}

.btn .spinner-border {
    width: 0.875rem;
    height: 0.875rem;
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Floating Food Animations */
.floating-foods {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.food-emoji {
    position: absolute;
    font-size: 3rem;
    opacity: 0.8;
    animation-duration: 3s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.food-1 {
    top: 10%;
    left: 10%;
    animation-name: float1;
    animation-duration: 4s;
}

.food-2 {
    top: 20%;
    right: 15%;
    animation-name: float2;
    animation-duration: 5s;
    animation-delay: 0.5s;
}

.food-3 {
    top: 50%;
    left: 5%;
    animation-name: float3;
    animation-duration: 4.5s;
    animation-delay: 1s;
}

.food-4 {
    top: 60%;
    right: 10%;
    animation-name: float4;
    animation-duration: 5.5s;
    animation-delay: 0.3s;
}

.food-5 {
    top: 30%;
    left: 50%;
    animation-name: float5;
    animation-duration: 4.2s;
    animation-delay: 0.8s;
}

.food-6 {
    top: 70%;
    left: 20%;
    animation-name: float6;
    animation-duration: 4.8s;
    animation-delay: 1.2s;
}

.food-7 {
    top: 40%;
    right: 25%;
    animation-name: float7;
    animation-duration: 5.2s;
    animation-delay: 0.6s;
}

.food-8 {
    top: 80%;
    right: 30%;
    animation-name: float8;
    animation-duration: 4.6s;
    animation-delay: 1.5s;
}

@keyframes float1 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(-5deg); }
}

@keyframes float3 {
    0%, 100% { transform: translateX(0) translateY(0); }
    50% { transform: translateX(15px) translateY(-15px); }
}

@keyframes float4 {
    0%, 100% { transform: translateX(0) translateY(0) scale(1); }
    50% { transform: translateX(-10px) translateY(-20px) scale(1.1); }
}

@keyframes float5 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-15px) rotate(3deg); }
    66% { transform: translateY(-10px) rotate(-3deg); }
}

@keyframes float6 {
    0%, 100% { transform: translateX(0) scale(1); }
    50% { transform: translateX(20px) scale(1.05); }
}

@keyframes float7 {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-10px) translateX(10px); }
    75% { transform: translateY(-15px) translateX(-10px); }
}

@keyframes float8 {
    0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
    50% { transform: translateY(-18px) rotate(8deg) scale(1.08); }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .search-form {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    :root {
        --radius-sm: 0.25rem;
        --radius-md: 0.375rem;
        --radius-lg: 0.5rem;
        --radius-xl: 0.75rem;
    }
    
    .hero-section {
        padding: 80px 0 60px;
        min-height: 60vh;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section p {
        font-size: 1.1rem;
    }
    
    .card-img-top {
        height: 200px;
    }
    
    .btn {
        padding: 0.625rem 1.25rem;
    }
    
    .btn-lg {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.25rem; }
    h5 { font-size: 1.1rem; }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 60px 0 40px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .btn {
        font-size: 0.875rem;
    }
}

/* Modern Footer Styling */
footer {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--dark-light) 100%) !important;
    color: white !important;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

footer::after {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" fill="%23f8f9fa"><path d="M0 0v46.29c47.79 22.2 103.59 32.17 158 28 70.36-5.37 136.33-33.31 206.8-37.5C438.64 32.43 512.34 53.67 583 72.05c69.27 18 138.3 24.88 209.4 13.08 36.15-6 69.85-17.84 104.45-29.34C989.49 25 1113-14.29 1200 52.47V0z"/></svg>');
    background-size: cover;
    background-repeat: no-repeat;
}

footer .container {
    position: relative;
    z-index: 2;
}

footer h5 {
    color: white !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

footer h5 i {
    color: var(--primary-color);
}

footer h6 {
    color: var(--primary-light) !important;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

footer p {
    color: rgba(255, 255, 255, 0.8) !important;
    line-height: 1.6;
}

footer .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

footer a {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
    position: relative;
}

footer a:hover {
    color: var(--primary-light) !important;
    transform: translateX(5px);
}

footer a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--primary-color);
}

footer a:hover::before {
    opacity: 1;
    left: -15px;
}

footer ul li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

footer ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

footer hr {
    border-color: rgba(255, 255, 255, 0.2) !important;
    margin: 2rem 0 !important;
}

footer .bi {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* Ensure footer sticks to bottom */
body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Footer responsive */
@media (max-width: 768px) {
    footer {
        padding: 3rem 0 2rem !important;
        text-align: center;
    }
    
    footer .col-md-4 {
        margin-bottom: 2rem;
    }
    
    footer h5 {
        font-size: 1.25rem;
    }
    
    footer::after {
        height: 60px;
        top: -30px;
    }
}

/* Loading Spinner */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Cart Badge */
.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-color);
    color: var(--dark-color);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Promoters Section Styles */
.bg-gradient-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.promoter-content .badge {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    font-weight: 500;
}

.promoter-content .rounded-circle {
    transition: transform 0.3s ease;
}

.promoter-content .d-flex:hover .rounded-circle {
    transform: scale(1.1);
}

.promoter-visual .bg-white {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.promoter-visual .bg-white:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

.promoter-visual .display-6 {
    background: linear-gradient(45deg, var(--success-color), var(--success-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Promoter Section Animations */
.promoter-content {
    animation: fadeInLeft 0.8s ease-out;
}

.promoter-visual {
    animation: fadeInRight 0.8s ease-out;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive adjustments for promoters section */
@media (max-width: 768px) {
    .promoter-content {
        text-align: center;
    }
    
    .promoter-content .d-flex {
        justify-content: center;
    }
    
    .promoter-visual {
        margin-top: 2rem;
    }
}

/* App Download CTA Section Styles */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    background: -webkit-linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    background: -moz-linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.app-preview-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.app-preview-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.notification-form {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.notification-form .form-control {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--dark-color);
}

.notification-form .form-control::placeholder {
    color: var(--dark-light);
}

.notification-form .form-control:focus {
    background: rgba(255, 255, 255, 1);
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 179, 71, 0.25);
}

/* App download section animations */
.app-preview-card {
    animation: fadeInUp 0.8s ease-out;
}

.notification-form {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments for app download section */
@media (max-width: 768px) {
    .app-preview-card {
        margin-bottom: 1rem;
        padding: 1.5rem;
    }
    
    .notification-form {
        padding: 1.5rem;
    }
}
