﻿:root {
    --primary-color: #764ba2;
    --secondary-color: #764ba2;
    --accent-color: #00cc99;
    --text-color: #333333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
}

*{
   margin:0px;
   padding:0px;
   box-sizing:border-box;
}
/* Apply the color variables throughout the design */
.bg-primary-custom {
    background: #764ba2;
    /*    linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;*/
}

.bg-accent {
    background-color: var(--accent-color) !important;
}

.bg-light-custom {
    background-color: var(--light-bg) !important;
}

.text-primary-custom {
    color: var(--primary-color) !important;
}

.text-secondary-custom {
    color: var(--secondary-color) !important;
}

.text-accent {
    color: var(--accent-color) !important;
}

/* Button Styles */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    color: white !important;
    transition: all 0.3s ease;
}

    .btn-primary-custom:hover {
        background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
        color: white !important;
    }

.btn-accent {
    background-color: var(--accent-color);
    border: none;
    color: white !important;
    transition: all 0.3s ease;
}

    .btn-accent:hover {
        background-color: #00b386;
        transform: translateY(-2px);
        color: white !important;
    }

.btn-outline-accent {
    border: 2px solid var(--accent-color);
    color: var(--accent-color) !important;
    background: transparent;
    transition: all 0.3s ease;
}

    .btn-outline-accent:hover {
        background-color: var(--accent-color);
        color: white !important;
    }

/* Card Styles */
.card-custom {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: white;
}

    .card-custom:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }

/* Product Badges */
.product-badge {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
    margin: 0.2rem;
}

/* Navigation Styles */
.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

    .navbar-dark .navbar-nav .nav-link:hover {
        color: var(--accent-color) !important;
        background-color: rgba(255, 255, 255, 0.1);
    }

.navbar-brand {
    color: white !important;
    font-weight: bold;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.1)"/></svg>');
        background-size: cover;
    }

/* Category Borders */
.category-biscuit {
    border-left: 4px solid var(--primary-color);
}

.category-wafer {
    border-left: 4px solid var(--accent-color);
}

.category-croissant {
    border-left: 4px solid var(--secondary-color);
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, #2c3e50, #34495e) !important;
}

/* Icon Colors */
.fa-cookie-bite, .fa-cookie, .fa-croissant, .fa-square-full {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Language Switcher */
.language-switcher .btn {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

    .language-switcher .btn.active {
        background-color: var(--accent-color);
        border-color: var(--accent-color);
        color: white;
    }

    .language-switcher .btn:hover:not(.active) {
        background-color: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.5);
        color: white;
    }

/* ==================== */
/* RTL SPECIFIC STYLES */
/* ==================== */

[dir="rtl"] {
    text-align: right;
    direction: rtl;
}

    /* Bootstrap RTL overrides */
    [dir="rtl"] .text-start {
        text-align: right !important;
    }

    [dir="rtl"] .text-end {
        text-align: left !important;
    }

    [dir="rtl"] .ms-auto {
        margin-left: 0 !important;
        margin-right: auto !important;
    }

    [dir="rtl"] .me-auto {
        margin-right: 0 !important;
        margin-left: auto !important;
    }

    [dir="rtl"] .ms-1 {
        margin-left: 0 !important;
        margin-right: 0.25rem !important;
    }

    [dir="rtl"] .ms-2 {
        margin-left: 0 !important;
        margin-right: 0.5rem !important;
    }

    [dir="rtl"] .ms-3 {
        margin-left: 0 !important;
        margin-right: 1rem !important;
    }

    [dir="rtl"] .me-1 {
        margin-right: 0 !important;
        margin-left: 0.25rem !important;
    }

    [dir="rtl"] .me-2 {
        margin-right: 0 !important;
        margin-left: 0.5rem !important;
    }

    [dir="rtl"] .me-3 {
        margin-right: 0 !important;
        margin-left: 1rem !important;
    }

    [dir="rtl"] .ps-1 {
        padding-left: 0 !important;
        padding-right: 0.25rem !important;
    }

    [dir="rtl"] .ps-2 {
        padding-left: 0 !important;
        padding-right: 0.5rem !important;
    }

    [dir="rtl"] .ps-3 {
        padding-left: 0 !important;
        padding-right: 1rem !important;
    }

    [dir="rtl"] .pe-1 {
        padding-right: 0 !important;
        padding-left: 0.25rem !important;
    }

    [dir="rtl"] .pe-2 {
        padding-right: 0 !important;
        padding-left: 0.5rem !important;
    }

    [dir="rtl"] .pe-3 {
        padding-right: 0 !important;
        padding-left: 1rem !important;
    }

    /* Navigation RTL */
    [dir="rtl"] .navbar-nav {
        padding-right: 0;
    }

    [dir="rtl"] .me-auto {
        margin-left: auto !important;
        margin-right: 0 !important;
    }

    /* Card category borders RTL */
    [dir="rtl"] .category-biscuit,
    [dir="rtl"] .category-wafer,
    [dir="rtl"] .category-croissant {
        border-left: none;
        border-right: 4px solid;
    }

    [dir="rtl"] .category-biscuit {
        border-right-color: var(--primary-color);
    }

    [dir="rtl"] .category-wafer {
        border-right-color: var(--accent-color);
    }

    [dir="rtl"] .category-croissant {
        border-right-color: var(--secondary-color);
    }

    /* Button groups RTL */
    [dir="rtl"] .btn-group > .btn:not(:first-child),
    [dir="rtl"] .btn-group > .btn-group:not(:first-child) > .btn {
        border-top-left-radius: 0.375rem;
        border-bottom-left-radius: 0.375rem;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }

    [dir="rtl"] .btn-group > .btn:not(:last-child):not(.dropdown-toggle),
    [dir="rtl"] .btn-group > .btn-group:not(:last-child) > .btn {
        border-top-right-radius: 0.375rem;
        border-bottom-right-radius: 0.375rem;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

    /* Dropdown RTL */
    [dir="rtl"] .dropdown-menu {
        text-align: right;
        left: auto !important;
        right: 0 !important;
    }

    [dir="rtl"] .dropdown-menu-end {
        right: auto !important;
        left: 0 !important;
    }

    /* Flexbox RTL fixes */
    [dir="rtl"] .flex-row {
        flex-direction: row-reverse;
    }

    [dir="rtl"] .flex-row-reverse {
        flex-direction: row;
    }

/* Culture-specific styles */
body.culture-ar {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body.direction-rtl {
    text-align: right;
}

body.direction-ltr {
    text-align: left;
}

/* Smooth transitions for culture changes */
body {
    transition: text-align 0.3s ease;
}
html, body {
    max-width: 100%;
    overflow-x: hidden;
}
/* Custom Styles */
.sidebar {
    min-height: calc(100vh - 76px);
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
}

.main-content {
    background: #f8f9fa;
    min-height: calc(100vh - 76px);
}

.brand-logo {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-brand:hover .brand-logo {
    transform: rotate(10deg);
    transition: transform 0.3s ease;
}

.user-avatar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.nav-link.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border-radius: 8px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1000;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

        .sidebar.show {
            transform: translateX(0);
        }

    .main-content {
        margin-left: 0 !important;
    }
}

/* Smooth transitions */
.nav-link, .btn {
    transition: all 0.3s ease;
}

/* Print Styles */
@media print {
    .print-actions,
    .btn,
    .navbar,
    .sidebar,
    .footer {
        display: none !important;
    }

    body {
        background: white !important;
        font-size: 12pt;
    }

    .print-content {
        box-shadow: none !important;
        border: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .container {
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .table {
        font-size: 10pt;
    }

    .badge {
        border: 1px solid #000 !important;
        color: #000 !important;
        background: transparent !important;
    }
}

/* Print Page Styles */
.print-page {
    background: #f8f9fa;
    min-height: 100vh;
}

.print-content {
    max-width: 210mm;
    margin: 0 auto;
    background: white;
}

.company-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
}

.section-title {
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.info-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    border-left: 4px solid #3498db;
}

.info-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

    .info-item:last-child {
        border-bottom: none;
    }

.label {
    color: #6c757d;
    font-weight: 500;
}

.value {
    color: #2c3e50;
    font-weight: 600;
}

.summary-card {
    border: 2px solid #28a745 !important;
}

.summary-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-info {
    background: #e3f2fd;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #bbdefb;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.thank-you {
    background: linear-gradient(135deg, #d4edda 0%, #c8e6c9 100%);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #c3e6cb;
}

.notes-card {
    border-left: 4px solid #ffc107;
}

/* Table enhancements */
.table th {
    background: #2c3e50 !important;
    color: white;
    border: 1px solid #34495e;
    text-align: center;
    padding: 0.75rem;
}

.table td {
    border: 1px solid #dee2e6;
    padding: 0.75rem;
    vertical-align: middle;
}

/* Responsive design */
@media (max-width: 768px) {
    .print-actions {
        position: static !important;
    }

    .company-header .row {
        flex-direction: column;
        text-align: center;
    }

    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}

.stat-card {
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.assignment-info {
    border-left: 4px solid #007bff;
}

.order-item {
    transition: transform 0.2s ease-in-out;
}

    .order-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    }

/* Make form buttons look like regular buttons */
form button[type="submit"] {
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    border-radius: 0.375rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
    background: none;
    cursor: pointer;
}

/* Style for logout button in navbar */
form .btn-outline-warning {
    color: #ffc107;
    border-color: #ffc107;
}

    form .btn-outline-warning:hover {
        color: #000;
        background-color: #ffc107;
        border-color: #ffc107;
    }

/* Style for logout button in user info */
form .btn-outline-light {
    color: #f8f9fa;
    border-color: #f8f9fa;
}

    form .btn-outline-light:hover {
        color: #000;
        background-color: #f8f9fa;
        border-color: #f8f9fa;
    }


/*  Cart design   */

/* Mobile Order Page Styles */
.mobile-order-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.order-steps {
    padding: 0 1rem;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    position: relative;
}

    .steps-container::before {
        content: '';
        position: absolute;
        top: 15px;
        left: 20px;
        right: 20px;
        height: 2px;
        background: #dee2e6;
        z-index: 1;
    }

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #dee2e6;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 5px;
    border: 2px solid white;
}

.step.active .step-number {
    background: #667eea;
    color: white;
}

.step-label {
    font-size: 0.8rem;
    color: #6c757d;
}

.step.active .step-label {
    color: #667eea;
    font-weight: bold;
}

/* Customer Form Card */
.customer-form-card {
    border-radius: 15px;
    overflow: hidden;
}

.form-control-lg {
    border-radius: 10px;
    border: 1px solid #dee2e6;
    padding: 0.75rem 1rem;
}

    .form-control-lg:focus {
        border-color: #667eea;
        box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
    }

/* Order Type Options */
.order-type-option {
    border: 2px solid #dee2e6;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .order-type-option:hover {
        border-color: #667eea;
        background-color: rgba(102, 126, 234, 0.05);
    }

    .order-type-option.active {
        border-color: #667eea;
        background-color: rgba(102, 126, 234, 0.1);
    }

.option-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

/* Cart Items */
.cart-items {
    -webkit-overflow-scrolling: touch;
}

.cart-item {
    background: white;
    transition: background-color 0.2s ease;
}

    .cart-item:hover {
        background-color: #f8f9fa;
    }

.product-thumb {
    overflow: hidden;
    border-radius: 8px;
}

    .product-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.quantity-btn {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dee2e6;
}

    .quantity-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

/* Mobile Order Summary (Sticky Bottom) */
.mobile-order-summary {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.sticky-bottom {
    position: -webkit-sticky;
    position: sticky;
    bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container-fluid {
        padding: 0;
    }

    .page-header {
        display: none;
    }

    .cart-summary {
        display: none !important;
    }

    .customer-form-card {
/*        margin-bottom: 70px;  Space for sticky summary */
    }

    .form-control-lg {
        font-size: 1rem;
        padding: 0.5rem 0.75rem;
    }

    .quantity-btn {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .product-thumb {
        width: 50px;
        height: 50px;
    }

    .product-name {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }

    .product-price {
        font-size: 0.85rem;
    }
}

@media (min-width: 769px) {
    .mobile-order-header,
    .mobile-order-summary,
    .order-steps {
        display: none !important;
    }
}

/* Touch-friendly improvements */
button,
input,
select,
textarea {
    font-size: 16px !important; /* Prevents iOS zoom on focus */
}

    /* Focus styles for accessibility */
    button:focus,
    input:focus,
    select:focus,
    textarea:focus {
        outline: 2px solid #667eea;
        outline-offset: 2px;
    }

/* RTL specific adjustments */
[dir="rtl"] .mobile-order-header .btn i {
    transform: rotate(180deg);
}

[dir="rtl"] .quantity-controls {
    flex-direction: row-reverse;
}

[dir="rtl"] .ms-2 {
    margin-right: 0.5rem !important;
    margin-left: 0 !important;
}

/* Customer Page*/
/* Customer Page Mobile Styles */
.customer-homepage {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

/* Mobile Header */
.mobile-header {
    position: sticky;
    top: 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.brand-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-logo-small {
    width: 30px;
    height: 30px;
    border-radius: 6px;
}

.brand-name {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1rem;
}

/* Hero Section Mobile */
.hero-section-mobile {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    position: relative;
    overflow: hidden;
}

    .hero-section-mobile::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.1)"/></svg>');
        background-size: cover;
    }

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 1.5rem;
    font-weight: bold;
}

.hero-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Quick Actions Mobile */
.quick-actions-mobile {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.quick-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border: 2px solid var(--light-border);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
}

    .quick-action-btn:hover {
        border-color: var(--primary-color);
        background: rgba(var(--primary-color-rgb), 0.05);
    }

    .quick-action-btn i {
        font-size: 1.5rem;
        color: var(--primary-color);
        margin-bottom: 0.5rem;
    }

    .quick-action-btn span {
        font-size: 0.85rem;
        font-weight: 500;
    }

/* Enhanced Carousel */
.enhanced-carousel-wrapper {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.enhanced-carousel {
    position: relative;
    height: 300px;
}

.carousel-slides {
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    padding: 1rem;
}

    .carousel-slide.active {
        opacity: 1;
        z-index: 1;
    }

.slide-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    justify-content: space-between;
    /*edit*/
}

.product-image-wrapper {
    flex: 0 0 150px;
}



.product-info {
    flex: 1;
    justify-content: center;
    flex-direction: column;
}

.product-name {
    font-size: 1rem;
    font-weight: 600;
    color: #667eea;
    line-height: 1.3;
    margin-bottom: 0.1rem;
}

.product-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.1rem;
}

.product-price {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--success-color);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--primary-color);
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

    .carousel-nav.prev {
        right: 10px;
    }

    .carousel-nav.next {
        left: 10px;
    }

.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 2;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

    .indicator.active {
        background: white;
        transform: scale(1.2);
    }

/* Services Grid */
/*.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.service-box {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    border: 1px solid transparent;
}

    .service-box:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.15);
        border-color: var(--primary-color);
    }

.service-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.service-content {
    flex: 1;
}

.service-title {
    font-size: 0.95rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
    color: var(--text-color);
    text-wrap: nowrap;
}

.service-description {
    font-size: 0.8rem;
    color: #666;
    margin: 0;
}

.service-arrow {
    color: var(--primary-color);
}*/

/* Modern ServiceBox Styles */
.service-card {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
    min-height: 180px;
    display: flex;
    align-items: center;
}

    .service-card:hover {
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        border-color: rgba(var(--primary-color-rgb), 0.2);
    }

    .service-card:active {
        transform: translateY(-5px) scale(1.01);
    }

.service-card-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    position: relative;
    z-index: 2;
}

.service-icon-wrapper {
    position: relative;
    width: 70px;
    height: 70px;
    flex-shrink: 0;
}

.service-icon-inner {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon-inner {
    transform: scale(1.1) rotate(5deg);
}

.service-icon-bg {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 22px;
    opacity: 0.2;
    z-index: 1;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon-bg {
    transform: scale(1.1);
    opacity: 0.3;
}

.service-info {
    flex: 1;
}

.service-title {
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: #2c3e50;
    line-height: 1.3;
}

.service-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0;
    opacity: 0.9;
}

.service-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
}

.service-card:hover .service-action {
    opacity: 1;
    transform: translateX(0);
}

.arrow-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover .arrow-circle {
    transform: translateX(5px);
}

.action-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: #666;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease 0.1s;
}

.service-card:hover .action-text {
    opacity: 1;
    transform: translateY(0);
}

.service-hover-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    border-radius: 18px;
}

.service-card:hover .service-hover-effect {
    opacity: 1;
}

/* Theme Colors */
.service-card.theme-primary .service-icon-inner {
    color: var(--primary-color);
}

.service-card.theme-primary .service-icon-bg {
    background: var(--primary-color);
}

.service-card.theme-primary .arrow-circle {
    color: var(--primary-color);
}

.service-card.theme-secondary .service-icon-inner {
    color: #6c757d;
}

.service-card.theme-secondary .service-icon-bg {
    background: #6c757d;
}

.service-card.theme-secondary .arrow-circle {
    color: #6c757d;
}

.service-card.theme-success .service-icon-inner {
    color: #28a745;
}

.service-card.theme-success .service-icon-bg {
    background: #28a745;
}

.service-card.theme-success .arrow-circle {
    color: #28a745;
}

.service-card.theme-info .service-icon-inner {
    color: #17a2b8;
}

.service-card.theme-info .service-icon-bg {
    background: #17a2b8;
}

.service-card.theme-info .arrow-circle {
    color: #17a2b8;
}

.service-card.theme-warning .service-icon-inner {
    color: #ffc107;
}

.service-card.theme-warning .service-icon-bg {
    background: #ffc107;
}

.service-card.theme-warning .arrow-circle {
    color: #ffc107;
}

.service-card.theme-danger .service-icon-inner {
    color: #dc3545;
}

.service-card.theme-danger .service-icon-bg {
    background: #dc3545;
}

.service-card.theme-danger .arrow-circle {
    color: #dc3545;
}

.service-card.theme-purple .service-icon-inner {
    color: #6f42c1;
}

.service-card.theme-purple .service-icon-bg {
    background: #6f42c1;
}

.service-card.theme-purple .arrow-circle {
    color: #6f42c1;
}

.service-card.theme-teal .service-icon-inner {
    color: #20c997;
}

.service-card.theme-teal .service-icon-bg {
    background: #20c997;
}

.service-card.theme-teal .arrow-circle {
    color: #20c997;
}

.service-card.theme-pink .service-icon-inner {
    color: #e83e8c;
}

.service-card.theme-pink .service-icon-bg {
    background: #e83e8c;
}

.service-card.theme-pink .arrow-circle {
    color: #e83e8c;
}

.service-card.theme-orange .service-icon-inner {
    color: #fd7e14;
}

.service-card.theme-orange .service-icon-bg {
    background: #fd7e14;
}

.service-card.theme-orange .arrow-circle {
    color: #fd7e14;
}

/* Accessibility */
.service-card:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .service-card {
        padding: 1.25rem;
        min-height: 160px;
    }

    .service-icon-wrapper {
        width: 60px;
        height: 60px;
    }

    .service-icon-inner {
        font-size: 1.5rem;
        border-radius: 15px;
    }

    .service-title {
        font-size: 1rem;
    }

    .service-description {
        font-size: 0.85rem;
    }

    .service-action {
        display: none;
    }

    .service-card-content {
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .service-card {
        padding: 1rem;
        min-height: 140px;
    }

    .service-icon-wrapper {
        width: 50px;
        height: 50px;
    }

    .service-icon-inner {
        font-size: 1.3rem;
        border-radius: 12px;
    }

    .service-card-content {
        gap: 0.75rem;
    }
}

/* Animation for initial load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card {
    animation: fadeInUp 0.5s ease forwards;
}

    /* Stagger animation for grid */
    .service-card:nth-child(1) {
        animation-delay: 0.1s;
    }

    .service-card:nth-child(2) {
        animation-delay: 0.2s;
    }

    .service-card:nth-child(3) {
        animation-delay: 0.3s;
    }

    .service-card:nth-child(4) {
        animation-delay: 0.4s;
    }

    .service-card:nth-child(5) {
        animation-delay: 0.5s;
    }

/* Social Links */
.social-section {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.social-title {
    font-size: 1rem;
    font-weight: bold;
    color: var(--text-color);
}

.social-links-container {
    margin-top: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

    .social-link.facebook {
        background: #1877F2;
    }

    .social-link.instagram {
        background: #E4405F;
    }

    .social-link.linkedin {
        background: #0A66C2;
    }

    .social-link.twitter {
        background: #1DA1F2;
    }

    .social-link.youtube {
        background: #FF0000;
    }

    .social-link:hover {
        transform: translateY(-3px);
        opacity: 0.9;
    }

/* Contact Info Mobile */
.contact-info-mobile .contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: var(--light-bg);
    border-radius: 8px;
    font-size: 0.85rem;
}

/* Featured Products Desktop */
.featured-product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

    .featured-product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }

    .featured-product-card .product-image {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }

    .featured-product-card .product-info {
        padding: 1rem;
    }

    .featured-product-card .product-name {
        font-size: 1rem;
        font-weight: bold;
        margin-bottom: 0.5rem;
    }

/* Floating Action Button */
.fab-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
}

.fab {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fab-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--danger-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container-fluid {
        padding: 0;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .service-box {
        flex-direction: column;
        text-align: center;
        padding: 1rem 0.5rem;
        gap: 0.75rem;
    }

    .service-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .service-title {
        font-size: 0.85rem;
    }

    .service-description {
        display: none;
    }

    .service-arrow {
        display: none;
    }

    .enhanced-carousel {
        /*       height: 400px;*/
    }

    .slide-content {
        flex-direction: column;
        gap: 1rem;
    }

    .product-image-wrapper {
        flex: 0 0 120px;
    }

    .product-image {
        height: 120px;
    }

    .product-info {
        text-align: center;
        padding: 0 1rem;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 1.25rem;
    }

    .carousel-nav {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .fab {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
}

/* Section Titles */
.section-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--text-color);
    display: flex;
    align-items: center;
}

.view-all-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

    .view-all-link:hover {
        text-decoration: underline;
    }

/* Empty States */
.empty-carousel {
    background: white;
    padding: 2rem;
    border-radius: 15px;
}

/*Contact Page*/
/* Contact Page Mobile Styles */
.contact-page {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

/* Mobile Header */
.mobile-contact-header {
    position: sticky;
    top: 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

/* Desktop Header */
.contact-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    position: relative;
    overflow: hidden;
}

    .contact-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.1)"/></svg>');
        background-size: cover;
    }

/* Form Styling */
.form-control-lg {
    border-radius: 10px;
    border: 1px solid #dee2e6;
    padding: 0.75rem 1rem;
    font-size: 1rem;
}

    .form-control-lg:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
    }

.form-select-lg {
    border-radius: 10px;
    padding: 0.75rem 2.25rem 0.75rem 1rem;
}

.invalid-feedback {
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* Contact Info List */
.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-details {
    flex: 1;
}

    .contact-details h6 {
        font-size: 1rem;
        font-weight: bold;
        color: var(--text-color);
        margin-bottom: 0.5rem;
    }

    .contact-details a {
        color: var(--primary-color);
        transition: color 0.3s ease;
    }

        .contact-details a:hover {
            color: var(--secondary-color);
            text-decoration: underline;
        }

.contact-numbers a {
    color: var(--text-color);
    font-weight: 500;
}

.address-details div {
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.business-hours .day-time {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f0f0f0;
}

    .business-hours .day-time:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

/* Map Placeholder */
.map-placeholder {
    height: 200px;
    background: linear-gradient(135deg, #e9ecef, #dee2e6);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    text-align: center;
}

.map-content {
    margin-bottom: 1rem;
}

.map-actions {
    margin-top: 1rem;
}

/* Quick Contact Buttons */
.quick-contact-buttons .btn {
    border-radius: 8px;
    padding: 0.5rem;
    font-size: 0.9rem;
}

/* Social Contact Links */
.social-contact-links {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

    .social-contact-links h6 {
        color: var(--text-color);
        font-weight: bold;
    }

    .social-contact-links .social-link {
        width: 45px;
        height: 45px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: white;
        font-size: 1.1rem;
        transition: all 0.3s ease;
    }

        .social-contact-links .social-link:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }

        .social-contact-links .social-link.facebook {
            background: #1877F2;
        }

        .social-contact-links .social-link.instagram {
            background: #E4405F;
        }

        .social-contact-links .social-link.linkedin {
            background: #0A66C2;
        }

        .social-contact-links .social-link.whatsapp {
            background: #25D366;
        }

/* Form Buttons */
.btn-lg {
    border-radius: 10px;
    padding: 0.75rem 2rem;
    font-weight: 500;
}

/* Success Modal */
.modal-content {
    border-radius: 15px;
    overflow: hidden;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container-fluid {
        padding: 0;
    }

    .contact-header {
        display: none;
    }

    .form-control-lg,
    .form-select-lg {
        font-size: 1rem;
        padding: 0.5rem 0.75rem;
    }

    .contact-info-item {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .contact-icon {
        margin: 0 auto;
    }

    .business-hours .day-time {
        flex-direction: column;
        text-align: center;
        gap: 0.25rem;
    }

    .map-placeholder {
        height: 180px;
        padding: 1rem;
    }

    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .modal-dialog {
        margin: 1rem;
    }
}

@media (max-width: 576px) {
    .contact-info-list {
        gap: 1rem;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .contact-details h6 {
        font-size: 0.9rem;
    }

    .social-contact-links .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .map-placeholder {
        height: 160px;
    }

    .quick-contact-buttons .btn {
        font-size: 0.8rem;
        padding: 0.4rem;
    }
}

/* RTL Adjustments */
[dir="rtl"] .mobile-contact-header .btn i {
    transform: rotate(180deg);
}

[dir="rtl"] .form-select-lg {
    padding: 0.75rem 1rem 0.75rem 2.25rem;
    background-position: left 0.75rem center;
}

/* Form Validation States */
.form-control.is-invalid {
    border-color: var(--danger-color);
}

    .form-control.is-invalid:focus {
        box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
    }

/* Loading State */
.spinner-border {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* Card Shadows */
.card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }

/* Alert Styling */
.alert {
    border-radius: 10px;
    border: none;
}

.alert-info {
    background-color: rgba(23, 162, 184, 0.1);
    border-left: 4px solid var(--info-color);
}

/*Products*/

/* Products Page Mobile Styles */
.products-page {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

/* Mobile Header */
.mobile-products-header {
    position: sticky;
    top: 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

/* Desktop Header */
.products-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    position: relative;
    overflow: hidden;
}

    .products-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.1)"/></svg>');
        background-size: cover;
    }

/* Product Card - Grid View */
.product-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.125);
}

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.15) !important;
    }

.product-image-container {
    height: 200px;
    overflow: hidden;
    position: relative;
    border-radius: 0.375rem 0.375rem 0 0;
}



.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-image-container:hover .product-overlay {
    opacity: 1;
}

.product-name {
    font-size: .8rem;
    height: 2.6rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-description {
    font-size: 0.9rem;
    line-height: 1.4;
    height: 4.2rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.product-slogan {
    font-size: 0.85rem;
    line-height: 1.4;
}

/* List View */
.product-image-list {
    min-height: 150px;
}

.object-fit-cover {
    object-fit: cover;
}

/* Category Filter Buttons */
.btn-outline-primary.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Floating Action Button */
.fab-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
}

.fab {
    width: 60px;
    height: 60px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Modal Styles */
.modal-content {
    border-radius: 15px;
    overflow: hidden;
}

.product-price-large {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container-fluid {
        padding: 0;
    }

    .products-header {
        display: none;
    }

    .product-image-container {
        height: 180px;
    }

    .product-name {
        font-size: .5rem;
        height: 2.4rem;
    }

    .product-description {
        font-size: 0.85rem;
        height: 3.8rem;
        -webkit-line-clamp: 2;
    }

    .product-slogan {
        font-size: 0.8rem;
    }

    .product-overlay {
        opacity: 1;
    }

    .list-view .card-body {
        padding: 1rem;
    }

    .fab {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .row-cols-sm-2 {
        --bs-gutter-x: 0.75rem;
        --bs-gutter-y: 0.75rem;
    }

    .product-image-container {
        height: 160px;
    }

    .input-group-lg {
        font-size: 0.9rem;
    }

    .btn-group .btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.85rem;
    }

    .modal-dialog {
        margin: 0.5rem;
    }

    .modal-body .row {
        flex-direction: column;
    }
}

/* RTL Adjustments */
[dir="rtl"] .mobile-products-header .btn i {
    transform: rotate(180deg);
}

[dir="rtl"] .input-group-text {
    border-radius: 0 0.375rem 0.375rem 0;
    border-left: 1px solid #dee2e6;
    border-right: none;
}

[dir="rtl"] .form-control {
    border-radius: 0.375rem 0 0 0.375rem;
}

/* View Mode Buttons */
.btn-group .btn.active {
    background-color: #6c757d;
    border-color: #6c757d;
    color: white;
}

/* Loading Animation */
.spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.25em;
}

/* Card Hover Effects */
.card {
    transition: transform 0.2s ease-in-out;
}

    .card:hover {
        transform: translateY(-2px);
    }

/* Badge Styles */
.badge {
    font-weight: 500;
    padding: 0.35em 0.65em;
}

.bg-secondary {
    background-color: #6c757d !important;
}

/* Price Styling */
.product-price {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 0.125rem;
}

/* Quick View Modal Image */
.modal-body img {
    max-height: 300px;
    width: 100%;
    object-fit: contain;
}

/* Search Input */
.input-group .btn-outline-secondary {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Category Filter Scroll for Mobile */
@media (max-width: 768px) {
    .d-flex.flex-wrap {
        overflow-x: auto;
        flex-wrap: nowrap !important;
        padding-bottom: 0.5rem;
    }

        .d-flex.flex-wrap .btn {
            white-space: nowrap;
            flex-shrink: 0;
        }
}

/* Touch-friendly improvements */
.btn,
.form-control,
.form-select {
    font-size: 16px !important; /* Prevents iOS zoom */
}

.btn-sm {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Skeleton Loading (optional) */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/*Home Page styles*/
/* Home Page Mobile Styles */
.home-page {
    background: #f8f9fa;
}

/* Hero Slider */
.hero-slider {
    position: relative;
}

.hero-slide {
    min-height: 500px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.hero-content {
    padding: 2rem 0;
}

.hero-image {
    max-height: 300px;
    object-fit: contain;
}
/* Hero Slider Styles */
.hero-slider {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-carousel {
    position: relative;
    height: 500px;
}

.carousel-slides {
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
}

    .carousel-slide.active {
        opacity: 1;
        z-index: 1;
    }

.hero-slide {
    width: 100%;
    height: 100%;
}

.hero-content {
    padding: 2rem 0;
}

.hero-image {
    max-height: 300px;
    object-fit: contain;
    border: 5px solid rgba(255, 255, 255, 0.2);
}

/* Navigation Buttons */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    z-index: 2;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .carousel-nav:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: translateY(-50%) scale(1.1);
    }

    .carousel-nav.prev {
        right: 20px;
    }

    .carousel-nav.next {
        left: 20px;
    }

/* Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 2;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

    .indicator.active {
        background: white;
        transform: scale(1.2);
    }

    .indicator:hover {
        background: rgba(255, 255, 255, 0.8);
    }

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-carousel {
        height: 400px;
    }

    .hero-content h1 {
        font-size: 2rem !important;
    }

    .hero-content .lead {
        font-size: 1rem !important;
    }

    .hero-image {
        max-height: 200px;
    }

    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

        .carousel-nav.prev {
            right: 10px;
        }

        .carousel-nav.next {
            left: 10px;
        }
}

@media (max-width: 576px) {
    .hero-carousel {
        height: 350px;
    }

    .hero-content h1 {
        font-size: 1.5rem !important;
    }

    .hero-content .btn {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

    .hero-content .d-flex {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero-image {
        max-height: 150px;
    }
}

/* RTL Support */
[dir="rtl"] .carousel-nav.prev i {
    transform: rotate(180deg);
}

[dir="rtl"] .carousel-nav.next i {
    transform: rotate(180deg);
}

/* Hero Background Animation */
@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero-slider {
    background: linear-gradient(-45deg, var(--primary-color), var(--secondary-color), #667eea, #764ba2);
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
}
/* Quick Stats */
.quick-stats {
    border-bottom: 1px solid #dee2e6;
}

.stat-item {
    padding: 1rem;
}

/* Section Titles */
.section-title {
    font-size: 1.75rem;
    font-weight: bold;
    position: relative;
    padding-bottom: 0.5rem;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: 60px;
        height: 3px;
        background: var(--primary-color);
    }

/* Product Cards */
.product-card {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
    }

.product-image-container {
    position: relative;
    overflow: hidden;
    align-content: center;
    border-radius: 0.375rem 0.375rem 0 0;
}

    .product-image-container img {
        width: 100%;
        height: 100%;
        transition: transform 0.3s ease;
    }

.product-card:hover .product-image-container img {
    transform: scale(1.05);
}

.product-name {
    font-size: 1.1rem;
    font-weight: bold;
}

/* Category Cards */
.category-card {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

    .category-card:hover {
        border-color: var(--primary-color);
        transform: translateY(-3px);
    }

.category-icon {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* About Section */
.about-image img {
    max-height: 400px;
    object-fit: cover;
}

.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Testimonials */
.testimonial-card {
    padding: 1rem;
}

.testimonial-text {
    font-style: italic;
    line-height: 1.6;
}

.testimonial-author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-slide {
        min-height: 400px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-image {
        max-height: 200px;
        margin-top: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .product-image-container {
        height: 150px;
    }

    .product-name {
        font-size: 1rem;
    }

    .category-card {
        padding: 1.5rem;
    }

    .category-icon i {
        font-size: 2rem !important;
    }

    .about-content {
        text-align: center;
    }

    .feature-icon {
        margin: 0 auto;
    }

    .testimonial-text {
        font-size: 1rem !important;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
        top: 50%;
        transform: translateY(-50%);
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 576px) {
    .hero-slide {
        min-height: 350px;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .quick-stats .row > div {
        margin-bottom: 1.5rem;
    }

    .product-card .btn {
        /*        width: 100%;*/

        margin-top: 0.5rem;
    }

    .cta-section .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* Carousel Customizations */
.carousel-indicators button {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50%;
    margin: 0 4px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

    .carousel-control-prev:hover,
    .carousel-control-next:hover {
        opacity: 1;
        background: rgba(255, 255, 255, 0.3);
    }

.carousel-control-prev {
    right: 20px;
    left: auto;
}

.carousel-control-next {
    left: 20px;
    right: auto;
}

/* RTL Adjustments */
[dir="rtl"] .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

[dir="rtl"] .carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card,
.category-card,
.testimonial-card {
    animation: fadeIn 0.5s ease-out;
}

/* Loading States */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Print Styles */
@media print {
    .home-page {
        background: white !important;
    }

    .hero-slider,
    .carousel-controls,
    .btn {
        display: none !important;
    }
}

/*carosoul*/

/* Order Page Styles without Price */
.product-price {
    display: none;
}

.price-note {
    color: #28a745;
    font-weight: 500;
}

.product-info .product-weight {
    color: #6c757d;
    font-size: 0.85rem;
}

.product-unit {
    font-size: 0.8rem;
}

.cart-summary .total-amount {
    display: none;
}

.summary-info .total-price {
    display: none;
}

/* Adjust layout for quantity display */
.quantity-display {
    min-width: 40px;
    text-align: center;
}

.product-total {
    font-size: 0.9rem;
}

/* Mobile summary adjustment */
.mobile-order-summary .summary-info {
    line-height: 1.2;
}
/* Products Page Simplified Styles */
.products-page .product-card {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.products-page .product-image-container {
    height: 200px;
    overflow: hidden;
    position: relative;
    background: #f8f9fa;
}

.products-page .product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.products-page .product-card:hover .product-image {
    transform: scale(1.05);
}

.products-page .product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    display: flex;
    align-items: end;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.products-page .product-card:hover .product-overlay {
    opacity: 1;
}

.products-page .product-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #667eea;
    line-height: 1.4;
    text-align:center;
    height: 3rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.products-page .product-info {
    color: #6c757d;
    font-size: 0.85rem;
}

/* List View Adjustments */
.products-page .list-view .product-image-list {
    min-height: 150px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .products-page .list-view .product-image-list img {
        max-height: 120px;
        object-fit: contain;
        padding: 15px;
    }

.products-page .category-info {
    font-size: 0.9rem;
}

/* Quick View Modal */
.products-page .modal .product-details {
    padding: 10px;
}

.products-page .price-note {
    background-color: rgba(23, 162, 184, 0.1);
    border-left: 4px solid #17a2b8;
    padding: 15px;
    border-radius: 5px;
}

.products-page .product-category-info {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

/* Category Badge Styles */
.products-page .badge.bg-secondary {
    background-color: #6c757d !important;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.35em 0.65em;
    z-index:10;
    position:absolute;
    top:10%;
    right:10%;
}

.products-page .badge.bg-warning {
    font-size: 0.75rem;
    padding: 0.3em 0.6em;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .products-page .product-image-container {
        height: 160px;
    }

    .products-page .product-name {
        font-size: 1rem;
        height: 2.8rem;
    }

    .products-page .list-view .card-body {
        padding: 1rem;
    }

    .products-page .product-overlay {
        opacity: 1;
    }
}

@media (max-width: 576px) {
    .products-page .product-image-container {
        height: 140px;
    }

    .products-page .product-name {
        font-size: 0.95rem;
    }

    .products-page .btn-group .btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.85rem;
    }
}

/* Remove old price-related styles */
.product-price,
.product-slogan,
.product-description,
.product-weight {
    display: none;
}

/* Empty States */
.products-page .empty-carousel {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    border: 2px dashed #dee2e6;
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.products-page .product-card {
    animation: fadeIn 0.5s ease-out;
}

/* Product Selector Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1050;
}

.popup-content {
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #dee2e6;
}

    .popup-header h2 {
        margin: 0;
        color: var(--primary-color);
        font-size: 1.5rem;
    }

.close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    color: #6c757d;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

    .close-btn:hover {
        background-color: #f8f9fa;
        color: #dc3545;
    }

.product-selector {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

    .product-selector:hover {
        background-color: #f8f9fa;
    }

.product-info {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: .1rem;
    flex: 1;
}

.product-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.product-details h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    color: #2c3e50;
}

.product-category {
    margin: 0;
    color: #6c757d;
    font-size: 0.85rem;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 1px solid #dee2e6;
    background: white;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .quantity-btn:hover:not(:disabled) {
        background-color: var(--primary-color);
        color: white;
        border-color: var(--primary-color);
    }

    .quantity-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

.quantity {
    min-width: 40px;
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
    color: #2c3e50;
}

.popup-actions {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid #dee2e6;
    margin-top: auto;
}

.add-btn, .cancel-btn {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.add-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

    .add-btn:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    }

    .add-btn:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

.cancel-btn {
    background-color: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
}

    .cancel-btn:hover {
        background-color: #e9ecef;
    }

.no-products {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
    font-size: 1.1rem;
}

/* Products Carousel Styles */
.enhanced-carousel-container {
    margin-bottom: 3rem;
}

.enhanced-carousel {
    position: relative;
    height: 350px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.carousel-slides {
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    padding: 1rem;
}

    .carousel-slide.active {
        opacity: 1;
        z-index: 1;
    }

.slide-content {
    display: flex;
    gap: 2rem;
    align-items: center;
    width: 100%;
    padding: 0 2rem;
}

.product-image-container {
    flex: 0 0 180px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
}

.product-image {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.product-info {
    flex: 1;
}

.product-name {
    font-size: .80rem;
    color: #667eea;
    text-wrap: wrap;
}

.product-category {
    margin-bottom: 1rem;
}

.price-note {
    color: #17a2b8;
    font-size: 0.9rem;
    padding: 0.5rem;
    background-color: rgba(23, 162, 184, 0.1);
    border-radius: 5px;
    display: inline-block;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary-color);
    z-index: 2;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

    .carousel-nav:hover {
        background: white;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        transform: translateY(-50%) scale(1.1);
    }

    .carousel-nav.prev {
        right: 15px;
    }

    .carousel-nav.next {
        left: 15px;
    }

.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 2;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

    .indicator.active {
        background: white;
        transform: scale(1.2);
    }

    .indicator:hover {
        background: rgba(255, 255, 255, 0.8);
    }

/* Responsive adjustments */
@media (max-width: 768px) {
    .enhanced-carousel {
        height: 450px;
    }

    .slide-content {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        text-align: center;
    }

    .product-image-container {
        flex: 0 0 150px;
        height: 180px;
        width: 100%;
    }

    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

        .carousel-nav.prev {
            right: 10px;
        }

        .carousel-nav.next {
            left: 10px;
        }

    /* Popup responsive */
    .popup-content {
        width: 95%;
        margin: 1rem;
    }

    .product-selector {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .quantity-selector {
        align-self: flex-end;
    }

    .popup-actions {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .product-name {
        font-size: .8rem;
    }

    .price-note {
        font-size: 0.8rem;
    }
}

/* Enhanced Carousel Styles */
.enhanced-carousel-container {
/*    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);*/
    position: relative;
    overflow: hidden;
}

    .enhanced-carousel-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 5px;
/*        background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));*/
        z-index: 1;
    }

/* Carousel Navigation Buttons */
.carousel-nav-btn {
    width: 60px;
    height: 60px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
}

    .carousel-nav-btn:hover {
        transform: scale(1.1);
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5) !important;
    }

    .carousel-nav-btn:active {
        transform: scale(0.95);
    }

/* Product Image Wrapper */
.product-image-wrapper {
    width: 100%;
    max-width: 400px;
    height: 300px;
    padding: 20px;
    transition: transform 0.5s ease;
    border: 1px solid rgba(0,0,0,0.1);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.carousel-item.active .product-image-wrapper:hover .product-image {
    transform: scale(1.05);
}

/* Carousel Item Animation */
.carousel-item {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

    .carousel-item.active {
        opacity: 1;
    }

/* Stat Items */
.stat-item {
    padding: 15px;
    border-radius: 12px;
    background: rgba(255,255,255,0.8);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
}

    .stat-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        background: white;
    }

/* Empty State */
.empty-state-container {
    padding: 50px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    max-width: 500px;
    margin: 0 auto;
}

/* Badge Styles */
.badge.bg-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
}

/* Alert Customization */
.alert.bg-info.bg-opacity-10 {
    border-left: 4px solid var(--primary-color);
}

/* Button Hover Effects */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    position: relative;
    overflow: hidden;
}

    .btn-primary::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: left 0.5s ease;
    }

    .btn-primary:hover::before {
        left: 100%;
    }

.btn-outline-primary:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: transparent;
}

/* Responsive Design */
@media (max-width: 768px) {
    .enhanced-carousel-container {
        padding: 2rem 0 !important;
    }

    .display-6 {
        font-size: 1.0rem !important;
    }

    .product-image-wrapper {
        max-width: 300px;
        height: 250px;
        margin: 0 auto;
    }

    .carousel-item .row {
        flex-direction: column;
    }

    .col-md-6 {
        height: auto !important;
    }

    .stat-item {
        margin-bottom: 1rem;
    }

    .carousel-nav-btn {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 576px) {
    .display-5 {
        font-size: 2rem !important;
    }

    .lead {
        font-size: 1rem !important;
    }

    .btn-lg {
        padding: 0.75rem 1.5rem !important;
        font-size: 1rem !important;
    }

    .product-image-wrapper {
        max-width: 250px;
        height: 200px;
    }

    .empty-state-container {
        padding: 30px 20px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-item.active .product-info > * {
    animation: fadeInUp 0.6s ease forwards;
}

.carousel-item.active .product-info .badge {
    animation-delay: 0.1s;
}

.carousel-item.active .product-info h3 {
    animation-delay: 0.2s;
}

.carousel-item.active .product-info .alert {
    animation-delay: 0.3s;
}

.carousel-item.active .product-info .d-flex {
    animation-delay: 0.4s;
}

.carousel-item.active .product-info .stat-item {
    animation-delay: 0.5s;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--secondary-color);
    }

/* RTL Specific Adjustments */
[dir="rtl"] .carousel-nav-btn i {
    transform: rotate(180deg);
}

[dir="rtl"] .stat-item {
    text-align: center;
}

/* Customer Homepage Styles */
.customer-homepage {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    min-height: 100vh;
}

/* Mobile Header */
.mobile-header {
    background: white;
    position: sticky;
    top: 0;
    z-index: 1020;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.brand-logo-small {
    width: 40px;
    height: 40px;
}

.brand-name {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Hero Banner Desktop */
.hero-banner-desktop {
    position: relative;
    overflow: hidden;
}

    .hero-banner-desktop::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(45deg, rgba(0,0,0,0.1) 0%, transparent 100%);
        pointer-events: none;
    }

.hero-image-wrapper {
    position: relative;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Cards Styling */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.08);
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    }

.rounded-4 {
    border-radius: 1rem !important;
}

.rounded-top-4 {
    border-top-left-radius: 1rem !important;
    border-top-right-radius: 1rem !important;
}

/* Social Cards */
.social-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-wrap:nowrap;
}

    .social-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: rgba(255,255,255,0.5);
        transform: translateY(-100%);
        transition: transform 0.3s ease;
    }

    .social-card:hover::before {
        transform: translateY(0);
    }

    .social-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.2) !important;
    }

    .social-card.facebook {
        background: linear-gradient(135deg, #1877F2, #0d5fbd);
    }

    .social-card.instagram {
        background: linear-gradient(135deg, #E4405F, #c13584);
    }

    .social-card.linkedin {
        background: linear-gradient(135deg, #0A66C2, #0a4d8c);
    }

    .social-card.twitter {
        background: linear-gradient(135deg, #1DA1F2, #0c7ab8);
    }

    .social-card.youtube {
        background: linear-gradient(135deg, #FF0000, #cc0000);
    }

    .social-card.whatsapp {
        background: linear-gradient(135deg, #25D366, #1da851);
    }

/* Contact Info Cards */
.contact-info-card {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

    .contact-info-card:hover {
        border-color: var(--primary-color);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        transform: translateY(-2px);
    }

/* Stat Cards */
.stat-card {
    transition: all 0.3s ease;
}

    .stat-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }

/* Feature Cards */
.feature-card {
    background: white;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

    .feature-card:hover {
        border-color: var(--primary-color);
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
        transform: translateY(-5px);
    }

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* Floating Action Button */
.fab-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1030;
}

.fab {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    position: relative;
    transition: all 0.3s ease;
}

    .fab:hover {
        transform: scale(1.1);
        box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    }

    .fab:active {
        transform: scale(0.95);
    }

/* Badge Styling */
.badge.bg-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
}

/* Button Styling */
.btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .btn::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: left 0.5s ease;
    }

    .btn:hover::after {
        left: 100%;
    }

/* Loading Animation */
@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-banner-desktop {
        display: none !important;
    }

    .display-4 {
        font-size: 2.5rem !important;
    }

    .card-body {
        padding: 1.5rem !important;
    }

    .stat-card {
        padding: 1.5rem !important;
    }

    .feature-card {
        margin-bottom: 1rem;
    }

    .fab {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .card-header {
        padding: 1.5rem 1rem !important;
    }

    .card-body {
        padding: 1rem !important;
    }

    .social-card {
        padding: 1rem 0.5rem !important;
    }

        .social-card i {
            font-size: 1.25rem !important;
            margin-bottom: 0.25rem !important;
        }

        .social-card small {
            font-size: 0.7rem !important;
        }
}

/* RTL Specific Adjustments */
[dir="rtl"] .fab-container {
    left: auto;
    right: 20px;
}

[dir="rtl"] .me-2 {
    margin-right: 0 !important;
    margin-left: 0.5rem !important;
}

[dir="rtl"] .ms-2 {
    margin-left: 0 !important;
    margin-right: 0.5rem !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--secondary-color);
    }


/* Jobs Page Styles */
.jobs-page {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    min-height: 100vh;
}

/* Hero Section */
.hero-section-jobs {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

    .hero-section-jobs::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.1)"/></svg>');
        background-size: cover;
    }

.hero-image-wrapper {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Job Card */
.job-card {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

    .job-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    }

.job-meta .meta-item {
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.9rem;
}

    .job-meta .meta-item i {
        color: var(--primary-color);
    }

/* Requirements & Details */
.requirement-item {
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 0.9rem;
}

.details-section {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    height: 100%;
}

    .details-section ul li {
        padding: 0.25rem 0;
    }

/* Step Cards */
.step-card {
    background: white;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

    .step-card:hover {
        border-color: var(--primary-color);
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }

.step-number .badge {
    font-size: 1.2rem;
    font-weight: bold;
}

/* Benefit Cards */
.benefit-card {
    background: white;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

    .benefit-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        border-color: var(--primary-color);
    }

.benefit-icon i {
    transition: transform 0.3s ease;
}

.benefit-card:hover .benefit-icon i {
    transform: scale(1.2);
}

/* Modal Styles */
.modal-content {
    border-radius: 1rem !important;
    overflow: hidden;
}

.file-upload-area {
    border: 2px dashed #dee2e6;
    background: #f8f9fa;
    transition: all 0.3s ease;
    cursor: pointer;
}

    .file-upload-area:hover {
        border-color: var(--primary-color);
        background: rgba(var(--primary-color-rgb), 0.05);
    }

/* Empty State */
.empty-state {
    padding: 3rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

/* Button Animations */
.btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .btn::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: left 0.5s ease;
    }

    .btn:hover::after {
        left: 100%;
    }

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section-jobs {
        padding: 3rem 0;
    }

    .display-4 {
        font-size: 2.5rem !important;
    }

    .job-card .card-body {
        padding: 1.5rem !important;
    }

    .modal-dialog {
        margin: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-section-jobs {
        padding: 2rem 0;
    }

    .display-4 {
        font-size: 2rem !important;
    }

    .lead {
        font-size: 1rem !important;
    }

    .btn-lg {
        padding: 0.75rem 1.5rem !important;
        font-size: 1rem !important;
    }

    .form-control-lg {
        font-size: 1rem !important;
        padding: 0.75rem !important;
    }
}

/* RTL Adjustments */
[dir="rtl"] .me-2 {
    margin-right: 0 !important;
    margin-left: 0.5rem !important;
}

[dir="rtl"] .ms-2 {
    margin-left: 0 !important;
    margin-right: 0.5rem !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--secondary-color);
    }

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.job-card {
    animation: fadeInUp 0.5s ease forwards;
}

/* Order Page Product Display */
.order-page .cart-item {
    padding: 1rem;
    transition: background-color 0.2s ease;
}

    .order-page .cart-item:hover {
        background-color: #f8f9fa;
    }

.order-page .product-image-container {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
}

.order-page .product-thumb {
    width: 100%;
    height: 100%;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 10px;
}

.order-page .product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
}

.order-page .product-info {
    min-width: 200px;
    flex-grow: 1;
}

.order-page .product-name {
    font-size: 1rem;
    font-weight: 600;
    color: #667eea;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    word-break: break-word;
}

.order-page .consumer-price {
    font-size: 1.1rem;
    color: #28a745;
    margin-bottom: 0.5rem;
}

    .order-page .consumer-price .text-muted {
        font-size: 0.9rem;
    }

.order-page .quantity-section {
    flex-shrink: 0;
    min-width: 120px;
}

.order-page .quantity-display {
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    min-width: 100px;
}

.order-page .quantity-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    border-radius: 50% !important;
}

.order-page .quantity-display .fw-bold {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .order-page .cart-item {
        padding: 0.75rem;
    }

    .order-page .product-image-container {
        width: 80px;
        height: 80px;
    }

    .order-page .product-info {
        min-width: 150px;
    }

    .order-page .product-name {
        font-size: 0.95rem;
    }

    .order-page .consumer-price {
        font-size: 1rem;
    }

    .order-page .quantity-section {
        min-width: 100px;
    }

    .order-page .quantity-display {
        min-width: 80px;
    }

    .order-page .quantity-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .order-page .cart-item {
        flex-direction: column !important;
        text-align: center;
        gap: 1rem !important;
    }

    .order-page .product-info {
        text-align: center !important;
        width: 100%;
    }

    .order-page .quantity-section {
        width: 100%;
    }

    .order-page .quantity-display {
        margin: 0 auto;
    }
}

/* Badge styling */
.order-page .badge.bg-secondary {
    background-color: #6c757d !important;
    font-size: 0.8rem;
    padding: 0.35em 0.65em;
}

/* Text colors */
.order-page .text-primary {
    color: var(--primary-color) !important;
}

.order-page .text-success {
    color: #28a745 !important;
}

.order-page .text-muted {
    color: #6c757d !important;
}

/* Scrollbar for cart items */
.order-page .cart-items::-webkit-scrollbar {
    width: 6px;
}

.order-page .cart-items::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.order-page .cart-items::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

    .order-page .cart-items::-webkit-scrollbar-thumb:hover {
        background: #aaa;
    }

/* Card styling */
.order-page .card {
    border-radius: 12px;
    overflow: hidden;
}

.order-page .card-header {
    border-bottom: 1px solid #e9ecef;
}

.order-page .order-type-option {
    border: 2px solid #dee2e6;
    border-radius: 10px;
    padding: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

    .order-page .order-type-option.active {
        border-color: var(--primary-color);
        background-color: rgba(var(--primary-color-rgb), 0.1);
    }

    .order-page .order-type-option:hover:not(.active) {
        border-color: #adb5bd;
        background-color: #f8f9fa;
    }


/* User Header Styles */
.user-header .user-avatar {
    transition: all 0.3s ease;
}

    .user-header .user-avatar:hover {
        transform: scale(1.1);
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    }

/* Notifications Panel */
.notifications-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 350px;
    height: 100vh;
    background: white;
    z-index: 1060;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

    .notifications-panel.show {
        transform: translateX(0);
    }

.notifications-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notifications-list {
    padding: 1rem;
    overflow-y: auto;
    max-height: calc(100vh - 70px);
}

.notification-item {
    display: flex;
    padding: 1rem;
    border-bottom: 1px solid #eee;
    transition: all 0.2s ease;
}

    .notification-item:hover {
        background-color: #f8f9fa;
    }

    .notification-item.unread {
        background-color: rgba(var(--primary-color-rgb), 0.05);
        border-left: 3px solid var(--primary-color);
    }

.notification-icon {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.75rem;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.notification-message {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.notification-time {
    color: #adb5bd;
    font-size: 0.8rem;
}

.no-notifications {
    text-align: center;
    padding: 3rem 1rem;
    color: #6c757d;
}

.notifications-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1059;
}

/* RTL Adjustments */
[dir="rtl"] .notifications-panel {
    right: auto;
    left: 0;
    transform: translateX(-100%);
}

    [dir="rtl"] .notifications-panel.show {
        transform: translateX(0);
    }

[dir="rtl"] .notification-item.unread {
    border-left: none;
    border-right: 3px solid var(--primary-color);
}

[dir="rtl"] .notification-icon {
    margin-left: 0;
    margin-right: 0.75rem;
}

/* Mobile Responsive */
@media (max-width: 767.98px) {
    .notifications-panel {
        width: 100%;
    }

    .user-header .navbar-nav {
        padding: 1rem 0;
    }

    .user-header .nav-item {
        margin-bottom: 0.5rem;
    }

    .user-header .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        margin-top: 0;
    }
}

/* Desktop dropdown adjustments */
@media (min-width: 992px) {
    .user-header .dropdown-menu {
        margin-top: 0.5rem;
    }
}

/* Animation for notification badge */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.notification-badge {
    animation: pulse 2s infinite;
}

/* Active state for nav links */
.user-header .nav-link.active {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 0.375rem;
}

/* Form button styling */
.user-header form button[type="submit"] {
    background: none;
    border: none;
    padding: 0;
}

/* Contact Info Styles */
.contact-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.08) !important;
}

    .contact-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.12) !important;
        border-color: rgba(var(--primary-color-rgb), 0.2) !important;
    }

.contact-icon {
    width: 50px;
    height: 50px;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1);
}

.bg-primary-gradient {
    background: linear-gradient(135deg, var(--primary-color), #667eea);
}

.bg-success-gradient {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.phone-number:hover {
    color: var(--primary-color) !important;
    text-decoration: underline !important;
}

/* Badge styles */
.badge.bg-light {
    border: 1px solid #dee2e6;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-card {
        padding: 1.25rem !important;
    }

    .contact-icon {
        width: 45px;
        height: 45px;
    }

    .phone-number,
    .fw-bold.fs-5 {
        font-size: 1.1rem !important;
    }
}

/* Hero Slider Mobile Fixes */
.hero-slider-container {
    position: relative;
    overflow: hidden;
}

.hero-slider {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    position: relative;
    min-height: 400px;
    overflow: hidden;
}

@media (max-width: 767.98px) {
    .hero-slider {
        min-height: 500px;
        padding: 1rem 0;
    }
}

.hero-carousel {
    position: relative;
    height: 100%;
}

.carousel-slides {
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
}

    .carousel-slide.active {
        opacity: 1;
        z-index: 1;
    }

.hero-slide {
    width: 100%;
    height: 100%;
    padding: 2rem 0;
}

@media (max-width: 767.98px) {
    .hero-slide {
        padding: 1rem 0;
    }
}

/* Hero Content */
.hero-content {
    padding: 1rem 0;
}

.hero-title {
    font-size: 1.75rem;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
}

/* Hero Image */
.hero-image-container {
    text-align: center;
    padding: 1rem;
}

.hero-image {
    max-height: 250px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

@media (max-width: 767.98px) {
    .hero-image {
        max-height: 200px;
        margin: 0 auto;
    }
}

/* Buttons */
.btn-md {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

@media (min-width: 992px) {
    .btn-lg-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

/* Navigation Buttons */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    z-index: 2;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .carousel-nav:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: translateY(-50%) scale(1.1);
    }

    .carousel-nav.prev {
        right: 20px;
    }

    .carousel-nav.next {
        left: 20px;
    }

/* Mobile Navigation */
.carousel-mobile-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 2;
}

    .carousel-mobile-nav .btn {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

/* Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 2;
}

@media (max-width: 767.98px) {
    .carousel-indicators {
        bottom: 70px;
    }
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

    .indicator.active {
        background: white;
        transform: scale(1.2);
    }

    .indicator:hover {
        background: rgba(255, 255, 255, 0.8);
    }

/* Alert for mobile */
.alert-sm {
    font-size: 0.8rem;
    padding: 0.5rem;
    border-radius: 6px;
}

/* RTL Adjustments */
[dir="rtl"] .carousel-nav.prev i {
    transform: rotate(180deg);
}

[dir="rtl"] .carousel-nav.next i {
    transform: rotate(180deg);
}

[dir="rtl"] .hero-content {
    text-align: right;
}

[dir="rtl"] .d-flex.gap-2 {
    gap: 0.5rem !important;
}

/* Hero Background Animation */
@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero-slider {
    background: linear-gradient(-45deg, var(--primary-color), var(--secondary-color), #667eea, #764ba2);
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
}

/* Fix for mobile image stacking */
@media (max-width: 991.98px) {
    .flex-column-reverse {
        flex-direction: column-reverse;
    }

    .hero-content {
        text-align: center;
        margin-top: 1rem;
    }

    .hero-image-container {
        margin-bottom: 1rem;
    }
}

/* Touch-friendly improvements */
.btn {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Fix for long product names */
.hero-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 767.98px) {
    .hero-title {
        -webkit-line-clamp: 2;
        max-height: 3.6em;
    }
}


/* Dynamic Navigation Styles */
.dynamic-navigation {
    transition: all 0.3s ease;
}

/* User Header Styles */
.user-header .navbar {
    padding: 0.5rem 1rem;
}

.user-header .user-avatar {
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

    .user-header .user-avatar:hover {
        transform: scale(1.1);
        border-color: rgba(255, 255, 255, 0.6);
    }

/* Sidebar Styles */
.sidebar-nav {
    height: calc(100vh - 76px);
    overflow-y: auto;
    position: sticky;
    top: 76px;
}

    .sidebar-nav::-webkit-scrollbar {
        width: 6px;
    }

    .sidebar-nav::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
    }

    .sidebar-nav::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.3);
        border-radius: 3px;
    }

        .sidebar-nav::-webkit-scrollbar-thumb:hover {
            background: rgba(255, 255, 255, 0.5);
        }

/* Nav Link Styles */
.nav-link {
    transition: all 0.3s ease;
    padding: 0.75rem 1rem !important;
    border-radius: 8px;
    margin-bottom: 0.25rem;
}

    .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.1) !important;
    }

    .nav-link.active {
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
        box-shadow: 0 2px 10px rgba(102, 126, 234, 0.4);
    }

/* Mobile Responsive */
@media (max-width: 767.98px) {
    .sidebar-nav {
        height: auto;
        position: static;
    }

    .dynamic-navigation .navbar-collapse {
        max-height: 80vh;
        overflow-y: auto;
    }

    .user-header .dropdown-menu {
        position: absolute;
        right: 0;
        left: auto;
    }
}

/* Tablet Responsive */
@media (min-width: 768px) and (max-width: 991.98px) {
    .sidebar-nav .nav-link span {
        font-size: 0.9rem;
    }
}

/* Dark Mode Support */
[data-bs-theme="dark"] .dynamic-navigation {
    background-color: var(--bs-dark);
}

[data-bs-theme="dark"] .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

/* RTL Adjustments */
[dir="rtl"] .user-header .dropdown-menu {
    text-align: right;
    left: 0 !important;
    right: auto !important;
}

[dir="rtl"] .me-auto {
    margin-left: auto !important;
    margin-right: 0 !important;
}

/* Animations */
@keyframes slideInDown {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar-collapse.show {
    animation: slideInDown 0.3s ease-out;
}

/* Brand Logo Animation */
.brand-logo {
    transition: transform 0.3s ease;
}

.navbar-brand:hover .brand-logo {
    transform: rotate(5deg) scale(1.1);
}

/* Badge Styles */
.badge-notification {
    font-size: 0.6rem;
    padding: 0.2em 0.4em;
    min-width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Dropdown Menu Enhancements */
.dropdown-menu {
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    margin-top: 0.5rem;
    padding: 0.5rem;
}

.dropdown-item {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    margin: 0.125rem 0;
    transition: all 0.2s ease;
}

    .dropdown-item:hover {
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        color: white !important;
        transform: translateX(5px);
    }

    /* Form buttons in dropdown */
    .dropdown-item form button {
        width: 100%;
        text-align: left;
        background: none;
        border: none;
    }

/* Main content adjustment */
.main-content {
    min-height: calc(100vh - 76px);
    background-color: #f8f9fa;
}

@media (max-width: 767.98px) {
    .main-content {
        min-height: calc(100vh - 56px);
    }
}

/* Language switcher adjustments */
.language-switcher .btn {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
}

    .language-switcher .btn:hover {
        background-color: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.5);
    }

/* Active state for visitor nav */
.navbar-dark .navbar-nav .nav-link.active {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--accent-color) !important;
}

/* Print styles */
@media print {
    .dynamic-navigation {
        display: none !important;
    }
}

/* Loading state */
.skeleton-nav {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Focus states for accessibility */
.nav-link:focus,
.btn:focus,
.dropdown-item:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .nav-link.active {
        outline: 2px solid white;
    }

    .btn {
        border: 2px solid currentColor;
    }
}

/* Dynamic Navigation Styles */
.dynamic-navigation .navbar {
    padding: 0.5rem 1rem;
}

/* Sidebar Styles */
.sidebar {
    min-height: calc(100vh - 76px);
    position: sticky;
    top: 76px;
    z-index: 100;
}

.sidebar-nav {
    height: 100%;
    overflow-y: auto;
}

    .sidebar-nav::-webkit-scrollbar {
        width: 6px;
    }

    .sidebar-nav::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 3px;
    }

    .sidebar-nav::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.3);
        border-radius: 3px;
    }

        .sidebar-nav::-webkit-scrollbar-thumb:hover {
            background: rgba(255, 255, 255, 0.5);
        }

/* Main Content Area */
.main-content {
    background-color: #f8f9fa;
    min-height: calc(100vh - 76px);
    padding: 20px;
}

/* Nav Link Styles */
.nav-link {
    transition: all 0.3s ease;
    border-radius: 8px;
    margin-bottom: 2px;
}

    .nav-link:hover:not(.active) {
        background-color: rgba(255, 255, 255, 0.1) !important;
    }

    .nav-link.active {
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
        box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
    }

/* User Avatar */
.user-avatar {
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

    .user-avatar:hover {
        transform: scale(1.1);
        border-color: rgba(255, 255, 255, 0.6);
    }

/* Dropdown Menu */
.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin-top: 0.5rem;
}

.dropdown-item {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    margin: 2px;
    transition: all 0.2s ease;
}

    .dropdown-item:hover {
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        color: white !important;
    }

/* Brand Logo Animation */
.brand-logo {
    transition: transform 0.3s ease;
}

.navbar-brand:hover .brand-logo {
    transform: rotate(5deg) scale(1.1);
}

/* Mobile Responsive */
@media (max-width: 767.98px) {
    .sidebar {
        display: none !important;
    }

    .main-content {
        width: 100% !important;
        min-height: calc(100vh - 56px);
        padding: 15px;
    }

    .dynamic-navigation .navbar-collapse {
        max-height: 70vh;
        overflow-y: auto;
    }
}

/* Tablet Responsive */
@media (min-width: 768px) and (max-width: 991.98px) {
    .sidebar {
        width: 220px;
    }

    .main-content {
        width: calc(100% - 220px);
    }
}

/* RTL Adjustments */
[dir="rtl"] .dropdown-menu-end {
    right: auto !important;
    left: 0 !important;
}

[dir="rtl"] .me-auto {
    margin-left: auto !important;
    margin-right: 0 !important;
}

[dir="rtl"] .ms-auto {
    margin-right: auto !important;
    margin-left: 0 !important;
}

/* Form button in dropdown */
form button[type="submit"] {
    background: none;
    border: none;
    padding: 0;
    width: 100%;
    text-align: left;
}

/* Badge notification */
.badge.bg-danger {
    font-size: 0.65rem;
    padding: 0.25em 0.4em;
    min-width: 18px;
    min-height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Loading state */
.skeleton-nav {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Focus states for accessibility */
.nav-link:focus,
.btn:focus,
.dropdown-item:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Dynamic Navigation Styles */
.dynamic-navigation .navbar-brand:hover .brand-logo {
    transform: rotate(10deg);
    transition: transform 0.3s ease;
}

.user-avatar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.nav-link.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border-radius: 8px;
}

/* Sidebar Styles */
.sidebar {
    min-height: calc(100vh - 76px);
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
}

.main-content {
    background: #f8f9fa;
    min-height: calc(100vh - 76px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1000;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

        .sidebar.show {
            transform: translateX(0);
        }

    .main-content {
        margin-left: 0 !important;
    }

    .navbar-collapse {
        max-height: 70vh;
        overflow-y: auto;
    }
}

/* Smooth transitions */
.nav-link, .btn {
    transition: all 0.3s ease;
}

/* Dropdown Menu Enhancements */
.dropdown-menu {
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
}

.dropdown-item {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    margin: 0.125rem 0;
    transition: all 0.2s ease;
}

    .dropdown-item:hover {
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        color: white !important;
        transform: translateX(5px);
    }

/* Notifications Panel */
.notifications-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 350px;
    height: 100vh;
    background: white;
    z-index: 1060;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

    .notifications-panel.show {
        transform: translateX(0);
    }

.notifications-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1059;
}

/* RTL Adjustments */
[dir="rtl"] .notifications-panel {
    right: auto;
    left: 0;
    transform: translateX(-100%);
}

    [dir="rtl"] .notifications-panel.show {
        transform: translateX(0);
    }

/* Navbar improvements */
.nav-link.active {
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.1) 100%) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

/* Dropdown improvements */
.dropdown-menu {
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin-top: 10px;
}

.dropdown-item {
    border-radius: 8px;
    margin: 3px;
    transition: all 0.2s ease;
}

    .dropdown-item:hover, .dropdown-item:focus {
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        color: white !important;
        transform: translateX(5px);
    }

/* Logout button hover effect */
.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4);
}

/* User avatar animation */
.user-avatar {
    transition: all 0.3s ease;
}

    .user-avatar:hover {
        transform: scale(1.1);
        box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
    }

/* Page Header Styling */
.page-header {
    background: linear-gradient(135deg, #17a2b8 0%, #117a8b 100%);
    margin-top: -1rem;
    margin-left: -1rem;
    margin-right: -1rem;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 4px 20px rgba(23, 162, 184, 0.3);
}

/* Breadcrumb styling */
.breadcrumb {
    --bs-breadcrumb-divider: '›';
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

    .breadcrumb-item a:hover {
        color: white !important;
    }

/* Stat cards */
.stat-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
}

    .stat-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
    }

.stat-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Main content card */
.card {
    border-radius: 12px;
    overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-header {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
        padding: 2rem 0 !important;
    }

    .display-6 {
        font-size: 1.8rem !important;
    }

    .stat-card {
        margin-bottom: 1rem;
    }

    .btn-lg {
        padding: 0.75rem 1.5rem !important;
        font-size: 1rem !important;
    }
}

/* For RTL support */
[dir="rtl"] .breadcrumb-item + .breadcrumb-item::before {
    float: right;
    padding-left: var(--bs-breadcrumb-item-padding-x);
    padding-right: 0;
    content: var(--bs-breadcrumb-divider, "›");
}

[dir="rtl"] .stat-card .ms-3 {
    margin-left: 0 !important;
    margin-right: 1rem !important;
}


/*------------*/

/* Print Page Styles */
.print-page {
    background: #f8f9fa;
    min-height: 100vh;
}

.print-content {
    max-width: 210mm;
    margin: 0 auto;
    background: white;
}

.company-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
}

.info-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    border-left: 4px solid #3498db;
}

.info-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

    .info-item:last-child {
        border-bottom: none;
    }

.label {
    color: #6c757d;
    font-weight: 500;
}

.value {
    color: #2c3e50;
    font-weight: 600;
}

.summary-card {
    border: 2px solid #28a745 !important;
}

.summary-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-info {
    background: #e3f2fd;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #bbdefb;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.thank-you {
    background: linear-gradient(135deg, #d4edda 0%, #c8e6c9 100%);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #c3e6cb;
}

.notes-card {
    border-left: 4px solid #ffc107;
}

/* Table enhancements */
.table th {
    background: #2c3e50 !important;
    color: white;
    border: 1px solid #34495e;
    text-align: center;
    padding: 0.75rem;
}

.table td {
    border: 1px solid #dee2e6;
    padding: 0.75rem;
    vertical-align: middle;
}

/* Assignment Info */
.assignment-info {
    border-left: 4px solid #007bff;
}

.order-item {
    transition: transform 0.2s ease-in-out;
}

    .order-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    }

/* Cart design */
.mobile-order-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.order-steps {
    padding: 0 1rem;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    position: relative;
}

    .steps-container::before {
        content: '';
        position: absolute;
        top: 15px;
        left: 20px;
        right: 20px;
        height: 2px;
        background: #dee2e6;
        z-index: 1;
    }

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #dee2e6;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 5px;
    border: 2px solid white;
}

.step.active .step-number {
    background: #667eea;
    color: white;
}

.step-label {
    font-size: 0.8rem;
    color: #6c757d;
}

.step.active .step-label {
    color: #667eea;
    font-weight: bold;
}

/* Customer Form Card */
.customer-form-card {
    border-radius: 15px;
    overflow: hidden;
}

.option-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

/* Cart Items */
.cart-items {
    -webkit-overflow-scrolling: touch;
}

.cart-item {
    background: white;
    transition: background-color 0.2s ease;
}

    .cart-item:hover {
        background-color: #f8f9fa;
    }

.product-thumb {
    overflow: hidden;
    border-radius: 8px;
}

    .product-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Mobile Order Summary (Sticky Bottom) */
.mobile-order-summary {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.sticky-bottom {
    position: -webkit-sticky;
    position: sticky;
    bottom: 0;
}

/* Customer Page */
.customer-homepage {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

/* Mobile Header */
.mobile-header {
    position: sticky;
    top: 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 1.5rem;
    font-weight: bold;
}

.hero-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Quick Actions Mobile */
.quick-actions-mobile {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.quick-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border: 2px solid var(--light-border);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
}

    .quick-action-btn:hover {
        border-color: var(--primary-color);
        background: rgba(var(--primary-color-rgb), 0.05);
    }

    .quick-action-btn i {
        font-size: 1.5rem;
        color: var(--primary-color);
        margin-bottom: 0.5rem;
    }

    .quick-action-btn span {
        font-size: 0.85rem;
        font-weight: 500;
    }

/* Enhanced Carousel */
.enhanced-carousel-wrapper {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.slide-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    justify-content: space-between;
}

.product-image-wrapper {
    flex: 0 0 150px;
}

.product-info {
    flex: 1;
    justify-content: center;
    flex-direction: column;
}

.product-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.product-price {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--success-color);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.service-content {
    flex: 1;
}

.service-description {
    font-size: 0.8rem;
    color: #666;
    margin: 0;
}

.service-arrow {
    color: var(--primary-color);
}

/* Social Links */
.social-section {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.social-title {
    font-size: 1rem;
    font-weight: bold;
    color: var(--text-color);
}

.social-links-container {
    margin-top: 1rem;
}

/* Contact Info Mobile */
.contact-info-mobile .contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: var(--light-bg);
    border-radius: 8px;
    font-size: 0.85rem;
}

/* Featured Products Desktop */
.featured-product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

    .featured-product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }

    .featured-product-card .product-image {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }

    .featured-product-card .product-info {
        padding: 1rem;
    }

    .featured-product-card .product-name {
        font-size: .81rem;
        font-weight: bold;
        margin-bottom: 0.5rem;
    }

/* Contact Page */
.contact-page {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

/* Desktop Header */
.contact-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    position: relative;
    overflow: hidden;
}

    .contact-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.1)"/></svg>');
        background-size: cover;
    }

/* Contact Info List */
.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-details {
    flex: 1;
}

    .contact-details h6 {
        font-size: 1rem;
        font-weight: bold;
        color: var(--text-color);
        margin-bottom: 0.5rem;
    }

    .contact-details a {
        color: var(--primary-color);
        transition: color 0.3s ease;
    }

        .contact-details a:hover {
            color: var(--secondary-color);
            text-decoration: underline;
        }

.contact-numbers a {
    color: var(--text-color);
    font-weight: 500;
}

.address-details div {
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.business-hours .day-time {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f0f0f0;
}

    .business-hours .day-time:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

/* Map Placeholder */
.map-placeholder {
    height: 200px;
    background: linear-gradient(135deg, #e9ecef, #dee2e6);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    text-align: center;
}

.map-content {
    margin-bottom: 1rem;
}

.map-actions {
    margin-top: 1rem;
}

/* Quick Contact Buttons */
.quick-contact-buttons .btn {
    border-radius: 8px;
    padding: 0.5rem;
    font-size: 0.9rem;
}

/* Social Contact Links */
.social-contact-links {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

    .social-contact-links h6 {
        color: var(--text-color);
        font-weight: bold;
    }

/* Success Modal */
.modal-content {
    border-radius: 15px;
    overflow: hidden;
}

/* Products Page */
.products-page {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

/* Desktop Header */
.products-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    position: relative;
    overflow: hidden;
}

    .products-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.1)"/></svg>');
        background-size: cover;
    }

/* List View */
.product-image-list {
    min-height: 150px;
}

.object-fit-cover {
    object-fit: cover;
}

/* Modal Styles */
.product-price-large {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

/* View Mode Buttons */
.btn-group .btn.active {
    background-color: #6c757d;
    border-color: #6c757d;
    color: white;
}

/* Quick View Modal Image */
.modal-body img {
    max-height: 300px;
    width: 100%;
    object-fit: contain;
}

/* Search Input */
.input-group .btn-outline-secondary {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Home Page styles */
.home-page {
    background: #f8f9fa;
}

/* Hero Slider */
.hero-slide {
    min-height: 500px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.hero-image {
    max-height: 300px;
    object-fit: contain;
    border: 5px solid rgba(255, 255, 255, 0.2);
}

/* Quick Stats */
.quick-stats {
    border-bottom: 1px solid #dee2e6;
}

.stat-item {
    padding: 1rem;
}

/* Category Cards */
.category-card {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

    .category-card:hover {
        border-color: var(--primary-color);
        transform: translateY(-3px);
    }

.category-icon {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* About Section */
.about-image img {
    max-height: 400px;
    object-fit: cover;
}

/* Testimonials */
.testimonial-card {
    padding: 1rem;
}

.testimonial-text {
    font-style: italic;
    line-height: 1.6;
}

.testimonial-author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
}

/* Carousel Customizations */
.carousel-indicators button {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50%;
    margin: 0 4px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

    .carousel-control-prev:hover,
    .carousel-control-next:hover {
        opacity: 1;
        background: rgba(255, 255, 255, 0.3);
    }

.carousel-control-prev {
    right: 20px;
    left: auto;
}

.carousel-control-next {
    left: 20px;
    right: auto;
}

/* Carousel Navigation Buttons */
.carousel-nav-btn {
    width: 60px;
    height: 60px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
}

    .carousel-nav-btn:hover {
        transform: scale(1.1);
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5) !important;
    }

    .carousel-nav-btn:active {
        transform: scale(0.95);
    }

/* Product Image Wrapper */
.product-image-wrapper {
    width: 100%;
    max-width: 400px;
    height: 300px;
    padding: 20px;
    transition: transform 0.5s ease;
    border: 1px solid rgba(0,0,0,0.1);
}

.carousel-item.active .product-image-wrapper:hover .product-image {
    transform: scale(1.05);
}

/* Carousel Item Animation */
.carousel-item {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

    .carousel-item.active {
        opacity: 1;
    }

/* Empty State */
.empty-state-container {
    padding: 50px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    max-width: 500px;
    margin: 0 auto;
}

.empty-state {
    padding: 3rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.alert.bg-info.bg-opacity-10 {
    border-left: 4px solid var(--primary-color);
}

/* Carousel item animations */
.carousel-item.active .product-info > * {
    animation: fadeInUp 0.6s ease forwards;
}

.carousel-item.active .product-info .badge {
    animation-delay: 0.1s;
}

.carousel-item.active .product-info h3 {
    animation-delay: 0.2s;
}

.carousel-item.active .product-info .alert {
    animation-delay: 0.3s;
}

.carousel-item.active .product-info .d-flex {
    animation-delay: 0.4s;
}

.carousel-item.active .product-info .stat-item {
    animation-delay: 0.5s;
}

/* Customer Homepage Styles */
.customer-homepage {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    min-height: 100vh;
}

/* Hero Banner Desktop */
.hero-banner-desktop {
    position: relative;
    overflow: hidden;
}

    .hero-banner-desktop::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(45deg, rgba(0,0,0,0.1) 0%, transparent 100%);
        pointer-events: none;
    }

.rounded-4 {
    border-radius: 1rem !important;
}

.rounded-top-4 {
    border-top-left-radius: 1rem !important;
    border-top-right-radius: 1rem !important;
}

/* Social Cards */
.social-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .social-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: rgba(255,255,255,0.5);
        transform: translateY(-100%);
        transition: transform 0.3s ease;
    }

    .social-card:hover::before {
        transform: translateY(0);
    }

    .social-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.2) !important;
    }

    .social-card.facebook {
        background: linear-gradient(135deg, #1877F2, #0d5fbd);
    }

    .social-card.instagram {
        background: linear-gradient(135deg, #E4405F, #c13584);
    }

    .social-card.linkedin {
        background: linear-gradient(135deg, #0A66C2, #0a4d8c);
    }

    .social-card.twitter {
        background: linear-gradient(135deg, #1DA1F2, #0c7ab8);
    }

    .social-card.youtube {
        background: linear-gradient(135deg, #FF0000, #cc0000);
    }

    .social-card.whatsapp {
        background: linear-gradient(135deg, #25D366, #1da851);
    }

/* Jobs Page Styles */
.jobs-page {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    min-height: 100vh;
}

/* Hero Section */
.hero-section-jobs {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

    .hero-section-jobs::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.1)"/></svg>');
        background-size: cover;
    }

/* Job Card */
.job-meta .meta-item {
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.9rem;
}

    .job-meta .meta-item i {
        color: var(--primary-color);
    }

/* Requirements & Details */
.requirement-item {
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 0.9rem;
}

.details-section {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    height: 100%;
}

    .details-section ul li {
        padding: 0.25rem 0;
    }

.step-number .badge {
    font-size: 1.2rem;
    font-weight: bold;
}

/* Benefit Cards */
.benefit-icon i {
    transition: transform 0.3s ease;
}

.benefit-card:hover .benefit-icon i {
    transform: scale(1.2);
}

/* Modal Styles */
.file-upload-area {
    border: 2px dashed #dee2e6;
    background: #f8f9fa;
    transition: all 0.3s ease;
    cursor: pointer;
}

    .file-upload-area:hover {
        border-color: var(--primary-color);
        background: rgba(var(--primary-color-rgb), 0.05);
    }

/* Order Page Product Display */
.order-page .cart-item {
    padding: 1rem;
    transition: background-color 0.2s ease;
}

    .order-page .cart-item:hover {
        background-color: #f8f9fa;
    }

.order-page .product-image-container {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
}

.order-page .product-thumb {
    width: 100%;
    height: 100%;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 10px;
}

.order-page .product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
}

.order-page .product-info {
    min-width: 200px;
    flex-grow: 1;
}

.order-page .product-name {
    font-size: 1rem;
    font-weight: 600;
    color: #667eea;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    word-break: break-word;
}

.order-page .consumer-price {
    font-size: 1.1rem;
    color: #28a745;
    margin-bottom: 0.5rem;
}

    .order-page .consumer-price .text-muted {
        font-size: 0.9rem;
    }

.order-page .quantity-section {
    flex-shrink: 0;
    min-width: 120px;
}

.order-page .quantity-display .fw-bold {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* User Header */
.user-header .user-avatar {
    transition: all 0.3s ease;
}

    .user-header .user-avatar:hover {
        transform: scale(1.1);
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    }

.notifications-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notifications-list {
    padding: 1rem;
    overflow-y: auto;
    max-height: calc(100vh - 70px);
}

.no-notifications {
    text-align: center;
    padding: 3rem 1rem;
    color: #6c757d;
}

.notifications-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1059;
}

/* Active state for nav links */
.user-header .nav-link.active {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 0.375rem;
}

/* Order Page Product Display without Price */
.product-price {
    display: none;
}

.cart-summary .total-amount {
    display: none;
}

.summary-info .total-price {
    display: none;
}

.product-info .product-weight,
.product-unit {
    display: none;
}

/* Products Page Simplified Styles */
.products-page .product-card .product-slogan,
.products-page .product-card .product-description,
.products-page .product-card .product-weight {
    display: none;
}

/* Empty States */
.empty-carousel {
    background: white;
    padding: 2rem;
    border-radius: 15px;
}


/* About Page Enhanced Styles */
.about-page {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

/* Hero Section */
.about-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/images/about-hero-bg.jpg') center/cover no-repeat;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.8));
    opacity: 0.6;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-logo img {
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.2);
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

/* Section Styling */
.section-header {
    margin-bottom: 2.5rem;
}

.section-title {
    color: var(--primary-color);
    font-size: 1.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.section-divider {
    height: 3px;
    width: 80px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin-top: 0.5rem;
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

/* Story Section */
.story-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--primary-color);
    font-weight: 600;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
}

    .timeline::before {
        content: '';
        position: absolute;
        right: 30px;
        top: 0;
        bottom: 0;
        width: 3px;
        background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
    }

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
}

.timeline-year {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    margin-left: 1rem;
    min-width: 80px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    flex: 1;
    border-right: 3px solid var(--primary-color);
}

    .timeline-content h4 {
        color: var(--primary-color);
        margin-bottom: 0.5rem;
    }

/* Mission & Vision Cards */
.mission-card, .vision-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

    .mission-card .card-icon, .vision-card .card-icon {
        font-size: 3rem;
        color: var(--primary-color);
        margin-bottom: 1.5rem;
    }

    .mission-card .card-title, .vision-card .card-title {
        color: var(--primary-color);
        margin-bottom: 1rem;
    }

.mission-card {
    border-top: 4px solid #28a745;
}

.vision-card {
    border-top: 4px solid #17a2b8;
}

/* Value Cards */
.value-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    height: 100%;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

    .value-card .value-icon {
        font-size: 2.5rem;
        color: var(--primary-color);
        margin-bottom: 1rem;
    }

    .value-card h4 {
        color: #2c3e50;
        margin-bottom: 0.75rem;
    }

    .value-card p {
        color: #666;
        font-size: 0.95rem;
        line-height: 1.6;
    }

/* Contact Card */
.contact-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

    .contact-card .card-header {
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        color: white;
        padding: 1.5rem;
    }

    .contact-card .card-title {
        margin: 0;
        font-size: 1.3rem;
    }

    .contact-card .card-body {
        padding: 1.5rem;
    }

.contact-method {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

    .contact-method:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

.contact-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-left: 1rem;
    flex-shrink: 0;
}

.contact-info h5 {
    color: #2c3e50;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

    .contact-link:hover {
        color: var(--secondary-color);
        text-decoration: underline;
    }

.map-placeholder {
    height: 200px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.map-overlay {
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
}

    .map-overlay i {
        font-size: 3rem;
        margin-bottom: 1rem;
        opacity: 0.9;
    }


/* Newsletter */
.newsletter .input-group {
    border-radius: 8px;
    overflow: hidden;
}

.newsletter input {
    border: 1px solid #dee2e6;
    border-left: none;
}

.newsletter .btn {
    border-radius: 0 8px 8px 0;
}

/* Quality Section */
.quality-section {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.quality-item {
    padding: 1.5rem;
    transition: all 0.3s ease;
}

    .quality-item:hover {
        transform: translateY(-5px);
    }

    .quality-item h5 {
        color: #2c3e50;
        margin-bottom: 0.5rem;
    }

    .quality-item small {
        color: #666;
        font-size: 0.85rem;
    }

/* Animations */
.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
    opacity: 0;
}

.animate-slide-up {
    animation: slideUp 0.8s ease forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Card Hover Effects */
.card-hover {
    transition: all 0.3s ease;
}

    .card-hover:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    }

/* Responsive Design */
@media (max-width: 768px) {
    .about-hero {
        padding: 4rem 0;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .timeline::before {
        right: 15px;
    }

    .timeline-year {
        margin-left: 0.5rem;
        min-width: 70px;
    }

    .social-links-grid {
        grid-template-columns: 1fr;
    }

    .quality-section {
        padding: 2rem 1rem;
    }
}

/* RTL Specific Adjustments */
[dir="rtl"] .timeline::before {
    right: auto;
    left: 30px;
}

[dir="rtl"] .timeline-year {
    margin-left: 0;
    margin-right: 1rem;
}

[dir="rtl"] .timeline-content {
    border-right: none;
    border-left: 3px solid var(--primary-color);
}

[dir="rtl"] .contact-icon {
    margin-left: 0;
    margin-right: 1rem;
}

[dir="rtl"] .newsletter .btn {
    border-radius: 8px 0 0 8px;
}

[dir="rtl"] .newsletter input {
    border-left: 1px solid #dee2e6;
    border-right: none;
}
.components-reconnect-overlay.components-reconnect-visible{
    display:none;
}


/* Steps Indicators */
.order-steps {
    padding: 0 1rem;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    position: relative;
}

    .steps-container::before {
        content: '';
        position: absolute;
        top: 15px;
        left: 20px;
        right: 20px;
        height: 2px;
        background: #dee2e6;
        z-index: 1;
    }

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #dee2e6;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 5px;
    border: 2px solid white;
}

.step.active .step-number {
    background: #667eea;
    color: white;
}

.step-label {
    font-size: 0.8rem;
    color: #6c757d;
}

.step.active .step-label {
    color: #667eea;
    font-weight: bold;
}

/* Desktop Steps */
.step-indicator {
    position: relative;
    padding: 0 15px;
}

.step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.step-indicator.active .step-circle {
    background: #667eea;
    color: white;
    transform: scale(1.1);
}

.step-label {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    color: #6c757d;
    font-weight: 500;
}

.step-indicator.active .step-label {
    color: #667eea;
    font-weight: 600;
}

.step-line {
    position: absolute;
    top: 25px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #e9ecef;
    z-index: -1;
}

    .step-line.completed {
        background: #667eea;
    }

/* RTL adjustments for desktop steps */
[dir="rtl"] .step-line {
    right: 50%;
    left: auto;
    transform: translateX(50%);
}

/* Info items in summary */
.info-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

    .info-item:last-child {
        border-bottom: none;
    }

/* Table styles for summary */
.table-responsive {
    border-radius: 8px;
    overflow: hidden;
}

.table thead th {
    background: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
}

/* Form validation */
.form-control.is-invalid {
    border-color: #dc3545;
}

    .form-control.is-invalid:focus {
        box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
    }

/* Mobile adjustments */
@media (max-width: 768px) {
    .step-circle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .step-indicator {
        padding: 0 10px;
    }

    .step-label {
        font-size: 0.8rem;
    }
}

/* Print styles */
@media print {
    .order-steps,
    .step-indicator,
    .btn {
        display: none !important;
    }
}