:root {
    /* الألوان الأساسية بالنمط الفاتح */
    --primary-color: #012346;           /* الأزرق الكحلي الأساسي */
    --secondary-color: #023764;         /* أزرق كحلي أفتح قليلاً */
    --light-bg: #f9fbff;                /* خلفية فاتحة بيضاء مائلة للأزرق */
    --card-bg: #ffffff;                 /* خلفية البطاقات بيضاء */
    --dark-text: #012346;               /* نص داكن بنفس اللون الأساسي */
    --medium-text: #023764;             /* نص متوسط الغمقان */
    --light-text: #4a6583;              /* نص أخف لإضافة التباين */
    --accent: #0063A5;                  /* لون التأكيد الأزرق */

    /* الألوان الثانوية */
    --primary: #012346;                 /* أزرق كحلي أساسي */
    --primary-dark: #001223;            /* أزرق كحلي داكن */
    --secondary: #023764;               /* أزرق كحلي متوسط */
    --dark: #001223;                    /* كحلي عميق */
    --lighter: #e6edf5;                 /* لون فاتح للخلفيات البديلة */
    --lightest: #f9fbff;                /* أفتح لون للخلفية الرئيسية */

    /* ألوان الحالة */
    --success: #00829B;                 /* أزرق مائل للفيروزي */
    --warning: #FFB100;                 /* ذهبي للتحذيرات */
    --danger: #FF5252;                  /* أحمر للأخطاء */
    --info: #0063A5;                    /* أزرق معلوماتي */

    /* التدرجات اللونية */
    --gradient-primary: linear-gradient(135deg, #012346, #0063A5);
    --gradient-secondary: linear-gradient(135deg, #023764, #0063A5);
    --gradient-accent: linear-gradient(135deg, #0063A5, #00829B);
    --gradient-heading: linear-gradient(135deg, #012346, #0063A5);
    --gradient-bg: linear-gradient(135deg, #f9fbff, #e6edf5);

    /* الظلال للنمط الفاتح */
    --card-shadow: 0 10px 30px rgba(1, 35, 70, 0.08);
    --accent-shadow: 0 10px 25px rgba(0, 99, 165, 0.15);
    --primary-shadow: 0 10px 25px rgba(1, 35, 70, 0.12);
    
    /* درجات الرمادي المائل للأزرق */
    --gray-50: #f0f4f8;
    --gray-100: #d9e2ec;
    --gray-300: #bcccdc;
    --gray-400: #829ab1;
    --gray-500: #627d98;
    --gray-600: #486581;
    --gray-800: #243b53;
    --gray-900: #102a43;

    /* متغيرات التصميم تبقى كما هي */
    --header-width: 85%;
    --container-width: 90%;
    --section-spacing: 6rem;
    --card-spacing: 2rem;
    --card-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background: var(--lightest);
    color: var(--dark-text);
    font-family: 'Plus Jakarta Sans', 'Cairo', sans-serif;
    line-height: 1.6;
    padding-top: 0;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navbar Styles */
.navbar {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0.75rem 5% !important;
    background: rgba(255, 255, 255, 0.8) !important;
    border: 1px solid rgba(1, 35, 70, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 20px rgba(1, 35, 70, 0.08);
}

.navbar.scrolled {
    width: auto;
    max-width: 94%;
    margin: 10px 3%;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(1, 35, 70, 0.15);
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 25px rgba(1, 35, 70, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
}

/* Navbar Brand */
.navbar-brand {
    font-weight: 800;
    font-size: 1.6rem;
    background: linear-gradient(135deg, #012346, #0063A5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

/* Navbar Links */
.nav-link {
    position: relative;
    padding: 0.5rem 1.2rem !important;
    font-weight: 500;
    color: var(--dark-text) !important;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--primary) !important;
    background: rgba(1, 35, 70, 0.05);
    transform: translateY(-2px);
}

.nav-link:hover::after {
    width: 70%;
}

.nav-link.active {
    color: var(--primary) !important;
    font-weight: 600;
}

.nav-link.active::after {
    width: 70%;
    background: var(--accent);
}

/* Featured Banner */
.featured-banner {
    padding: 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin: 0 auto;
    width: 94%;
    border-radius: 20px;
    margin-top: 5rem;
}

.featured-slide {
    position: relative;
    height: 100%;
    width: 100%;
}

.featured-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 6s ease;
    border-radius: 20px;
}

/* Banner Navigation */
.featured-swiper .swiper-button-next,
.featured-swiper .swiper-button-prev {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    color: var(--primary);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(1, 35, 70, 0.1);
}
.swiper-slide {
    display: flex;
    justify-content: center;
  }
  .swiper-pagination {
    margin-top: 50px;
    position: relative;
  }

.featured-swiper .swiper-button-next:after,
.featured-swiper .swiper-button-prev:after {
    font-size: 1.2rem;
}

.featured-swiper .swiper-button-next:hover,
.featured-swiper .swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

/* Banner Pagination */
.featured-swiper .swiper-pagination-bullet {
    width: 30px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.featured-swiper .swiper-pagination-bullet-active {
    background: white;
    width: 50px;
}

/* Section Styles */
.section-padding {
    padding: 60px 0;
  }
  
.section-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--light-text);
    max-width: 700px;
    margin: 0 auto ;
}

/* Products Section */
/* Enhanced Products Section - Exclusive Design */
.products-section {
    padding: calc(var(--section-spacing) * 1.2) 0;
    position: relative;
    overflow: hidden;
}

.section-padding:nth-child(even) {
    background: linear-gradient(135deg, var(--lightest) 0%, var(--lighter) 100%);
    position: relative;
}

.section-padding:nth-child(even)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23012346' fill-opacity='0.02' fill-rule='evenodd'/%3E%3C/svg%3E");
    pointer-events: none;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    position: relative;
}

.header-main {
    position: relative;
}

.section-title {
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.section-title:hover::after {
    width: 80px;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.4rem;
    background: rgba(0, 99, 165, 0.08);
    color: var(--info);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    border: 1px solid rgba(0, 99, 165, 0.12);
    box-shadow: 0 2px 5px rgba(0, 99, 165, 0.05);
}

.view-all-btn:hover {
    background: var(--gradient-accent);
    color: white;
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 99, 165, 0.25);
    border-color: transparent;
}

.view-all-btn i {
    font-size: 0.85rem;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.view-all-btn:hover i {
    transform: translateX(3px);
}

/* Enhanced Products Slider */
.products-slider {
    position: relative;
    width: 100%;
    overflow: visible;
    padding: 10px 0 45px !important;
    touch-action: pan-x;
    user-select: none;
    -webkit-user-select: none;
    direction: rtl;
}

.products-slider::before {
    content: "";
    position: absolute;
    left: -50px;
    top: 0;
    bottom: 0;
    width: 50px;
    background: linear-gradient(to left, rgba(249, 251, 255, 0), rgba(249, 251, 255, 1));
    z-index: 5;
    pointer-events: none;
}

.products-slider::after {
    content: "";
    position: absolute;
    right: -50px;
    top: 0;
    bottom: 0;
    width: 50px;
    background: linear-gradient(to right, rgba(249, 251, 255, 0), rgba(249, 251, 255, 1));
    z-index: 5;
    pointer-events: none;
}

.products-slider .swiper-wrapper {
    display: flex;
    align-items: stretch;
    touch-action: pan-x;
    padding: 15px 0;
}

.products-slider .swiper-slide {
    height: auto !important;
    flex-shrink: 0;
    width: auto !important;
    max-width: 240px !important;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    transform-origin: center bottom;
}

.products-slider .swiper-slide-active {
    z-index: 3;
    transform: translateY(-5px);
}

/* Enhanced Pagination */
.products-slider .swiper-pagination {
    bottom: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.products-slider .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 4px;
    background: rgba(1, 35, 70, 0.15);
    border-radius: 50%;
    opacity: 1;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.products-slider .swiper-pagination-bullet-active {
    background: var(--accent);
    transform: scale(1.5);
    box-shadow: 0 0 0 2px rgba(0, 99, 165, 0.15);
}

.products-slider .swiper-pagination-bullet:hover {
    background: var(--primary);
    transform: scale(1.2);
}

/* Premium Product Card Design */
.product-card {
    width: 240px;
    height: 430px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(1, 35, 70, 0.06);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: center bottom;
    border: 1px solid rgba(1, 35, 70, 0.04);
    position: relative;
    backface-visibility: hidden;
}

.product-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(0, 99, 165, 0.5), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px rgba(0, 99, 165, 0.15);
}

.product-card:hover::after {
    opacity: 1;
}

.product-image {
    height: 280px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    background: linear-gradient(to bottom, var(--gray-50), #f9fcff);
}

.product-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.02));
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card:hover .product-image::before {
    opacity: 1;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient-accent);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 6px;
    z-index: 2;
    box-shadow: 0 3px 8px rgba(0, 99, 165, 0.25);
    letter-spacing: 0.3px;
    transform: translateY(0);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card:hover .product-badge {
    transform: translateY(-3px);
}

.product-info {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: var(--card-bg);
    position: relative;
    z-index: 2;
}

.product-title {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: var(--dark-text);
    line-height: 1.4;
    transition: color 0.3s ease;
}

.product-card:hover .product-title {
    color: var(--accent);
}

.product-description {
    font-size: 0.85rem;
    color: var(--light-text);
    margin-bottom: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: auto;
    max-height: 40px;
    transition: color 0.3s ease;
}

.product-rating {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.85rem;
}

.product-rating i {
    color: var(--warning);
    margin-left: 2px;
    filter: drop-shadow(0 1px 2px rgba(255, 177, 0, 0.2));
}

.rating-count {
    font-size: 0.75rem;
    color: var(--light-text);
    margin-right: 8px;
    transition: color 0.3s ease;
}

.product-footer {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid rgba(1, 35, 70, 0.06);
    position: relative;
}

.product-footer::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 30%;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

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

.product-price {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 12px;
}

.price-old {
    font-size: 0.85rem;
    color: var(--light-text);
    text-decoration: line-through;
    margin-right: 10px;
    position: relative;
}

.price-old::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--danger);
    transform: rotate(-8deg);
}

.price-current {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    letter-spacing: -0.5px;
}

.currency-symbol {
    font-size: 0.8rem;
    margin-left: 4px;
    opacity: 0.9;
}

.btn-buy {
    width: 100%;
    display: flex;
    justify-content: center;
    background: var(--gradient-accent);
    border: none;
    padding: 0.7rem 1rem;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    align-items: center;
    gap: 8px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(0, 99, 165, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-buy::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-buy:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 99, 165, 0.3);
}

.btn-buy:hover::before {
    transform: translateX(100%);
}

/* Tablet optimization (iPad and similar devices) */
@media (min-width: 768px) and (max-width: 1024px) {
    .products-slider .swiper-slide {
        max-width: 220px !important;
    }
    
    .product-card {
        width: 220px;
        height: 400px;
    }
    
    .product-image {
        height: 240px;
    }
    
    .product-info {
        padding: 16px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)) !important;
        gap: 1.5rem !important;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .view-all-btn {
        padding: 0.6rem 1.2rem;
    }
    
    /* Enhanced tablet experience */
    .products-section {
        padding: calc(var(--section-spacing) * 1) 0;
    }
    
    .products-header {
        margin-bottom: 2rem;
    }
    
    .product-title {
        font-size: 1rem;
    }
    
    .product-badge {
        padding: 4px 10px;
    }
    
    .price-current {
        font-size: 1.3rem;
    }
}

/* Landscape tablet optimization */
@media (min-width: 1024px) and (max-width: 1366px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
    }
    
    .product-card {
        width: 230px;
        height: 420px;
    }
    
    .product-image {
        height: 260px;
    }
}

/* Mobile responsive adjustments */
@media (max-width: 767px) {
    .product-card {
        width: 190px;
        height: 340px;
    }
    
    .product-image {
        height: 200px;
    }
    
    .products-slider .swiper-slide {
        max-width: 170px !important;
    }
    
    .product-title {
        font-size: 0.95rem;
        margin-bottom: 6px;
    }
    
    .product-info {
        padding: 12px;
    }
    
    .product-description {
        font-size: 0.8rem;
        -webkit-line-clamp: 2;
        max-height: 36px;
        margin-bottom: 8px;
    }
    
    .price-current {
        font-size: 1.2rem;
    }
    
    .btn-buy {
        font-size: 0.8rem;
        padding: 0.5rem 0.8rem;
        border-radius: 8px;
    }
    
    .product-price {
        margin-bottom: 8px;
    }
    
    .product-badge {
        top: 10px;
        right: 10px;
        padding: 4px 8px;
        font-size: 0.7rem;
    }
    
    .view-all-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

/* Small phones */
@media (max-width: 375px) {
    .product-card {
        width: 160px;
        height: 320px;
    }
    
    .product-image {
        height: 170px;
    }
    
    .products-slider .swiper-slide {
        max-width: 150px !important;
    }
    
    .price-current {
        font-size: 1rem;
    }
    
    .btn-buy {
        padding: 0.4rem 0.7rem;
        font-size: 0.75rem;
    }
}
/* Reviews */
.review-card {
    position: relative;          /* Needed for quote icon positioning */
    background-color: #ffffff;   /* Light background */
    border-radius: 12px;
    width: 100%;                /* Adjust as needed */
    padding: 2rem 1.5rem 1.5rem;
    color: #333;                 /* Dark text on light background */
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    margin: 1rem auto;
    font-family: 'Cairo', sans-serif;
    border: 0.5px solid #bcccdc;
  }
  
  /* Quote icon in top-left corner */
  .quote-icon {
    position: absolute;
    top: 16px;
    left: 16px;
    font-size: 1.5rem;
    color: rgba(0,0,0,0.2);
  }
  
  /* Circular avatar wrapper */

  
  .review-avatar {
    width: 80px;
    height: 80px;
    object-fit: cover;
  }
  
  /* Reviewer Name */
  .review-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0.5rem 0 0.3rem;
    color: #333;
  }
  
  /* Stars Rating */
  .review-stars {
    color: #FFD700; /* Gold star color */
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  
  /* Review text */
  .review-text {
    font-size: 0.95rem;
    color: #555;  /* Slightly darker for contrast */
    margin: 0;
    line-height: 1.6;
  }
  

/* Footer */
footer {
    background: var(--primary-color);
    color: #fff;
    position: relative;
    overflow: hidden;
    padding: 0;
    margin-top: 4rem;
}

.footer-main {
    padding: 4rem 0 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    max-height: 40px;
    width: auto;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-heading {
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
}

.footer-links-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-column ul li {
    margin-bottom: 0.8rem;
}

.footer-links-column ul a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: block;
}

.footer-links-column ul a:hover {
    color: #fff;
    transform: translateX(-5px);
}

.footer-links-column ul a i {
    margin-left: 5px;
    font-size: 0.8rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-icon {
    margin-left: 10px;
    color: var(--accent);
    font-size: 1rem;
}

.contact-text {
    font-size: 0.95rem;
    line-height: 1.5;
}

.newsletter-form {
    position: relative;
    margin-top: 1.5rem;
}

.newsletter-input {
    width: 100%;
    padding: 0.8rem 1rem;
    padding-left: 3rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    transition: all 0.3s ease;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.newsletter-button {
    position: absolute;
    left: 5px;
    top: 5px;
    bottom: 5px;
    border: none;
    background: var(--accent);
    color: #fff;
    border-radius: 50px;
    width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-button:hover {
    background: #fff;
    color: var(--primary-color);
}

.footer-bottom {
    background: var(--primary-dark);
    padding: 1.5rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.payment-methods {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 0.8rem;
}

.payment-methods i {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.payment-methods i:hover {
    color: #fff;
}
.header-menu-toggle {
    display: none;
    padding: 0.5rem;
    border-radius: 5px;
    border: 0.3px solid #00000026;
    background-color: white;
}
.header-menu-toggle:hover {
    background-color: #f9fbff;
}

/* Footer Responsive */
@media (max-width: 992px) {
    .header-menu-toggle {
        display: block;
    }
    .footer-main .row > div {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .footer-heading {
        margin-top: 1.5rem;
    }
    
    .footer-main {
        padding: 3rem 0 1rem;
    }
}

/* Categories Section */
.categories-section {
    /* padding: var(--section-spacing) 0; */
    /* background: var(--lighter); */
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.category-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 200px;
    /* box-shadow: var(--card-shadow); */
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(1, 35, 70, 0.15);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
    border-radius: 50px;
}


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

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    /* background: linear-gradient(to top, rgba(1, 35, 70, 0.8), transparent); */
    color: white;
}

.category-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.category-count {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Recommended Products Section */
.recommended-section {
    padding: var(--section-spacing) 0;
    background: var(--lightest);
}

.recommended-section .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Testimonials Section Styles */
.testimonials-section {
    background: var(--lightest);
    padding: 5rem 0;
}

.testimonial-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(1, 35, 70, 0.08);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(1, 35, 70, 0.12);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.rating {
    color: var(--warning);
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--medium-text);
    margin-bottom: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--dark-text);
}

.author-info span {
    font-size: 0.85rem;
    color: var(--light-text);
}
.bottom-drawer {
    display: none;
}

/* Responsive styles */
@media (max-width: 992px) {
    .bottom-drawer {
        display: block;
    }
    .container {
        padding: 0 10px;
    }
    
    .section-padding {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    .bottom-drawer {
        display: block;
    }
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .category-card {
        height: 180px;
    }

    .featured-banner {
        padding: 0 5%;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonial-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .bottom-drawer {
        display: block;
    }
    .categories-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .category-card {
        height: 150px;
    }
    
    .category-title {
        font-size: 1rem;
    }

    .products-header {
        flex-direction: column;
    }
    
    .header-main {
        width: 100%;
    }
    
    .view-all-btn {
        align-self: flex-end;
    }
}

@media (max-width: 480px) {
    .bottom-drawer {
        display: block;
    }
    /* Mobile-specific styles */
    .product-card {
        height: auto;
        /* min-height: 400px; */
    }
}

/* Mobile Menu Slide-in from Right */
@media (max-width: 991px) {



    
    /* Close button for mobile menu */
    .mobile-menu-close {
        position: absolute;
        top: 15px;
        left: 15px;
        font-size: 1.2rem;
        background: none;
        border: none;
        color: var(--primary);
        cursor: pointer;
    }
    
    /* Stack menu items vertically */
    .navbar-nav {
        width: 100%;
        margin-top: 3rem !important;
    }
    
    .navbar-nav .nav-item {
        margin-bottom: 10px;
    }
    
    .navbar-nav .nav-link {
        padding: 0.7rem 1rem !important;
        border-radius: 8px;
        width: 100%;
        text-align: right;
    }

    /* Mobile menu backdrop */
    .mobile-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1040;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease;
    }
    
    .mobile-backdrop.show {
        opacity: 1;
        visibility: visible;
    }
}

/* Bottom Navigation Bar for Mobile */
.bottom-nav {
    display: none; /* Hidden by default */
    padding-top: 33px;
    padding-bottom: 20px;
}

@media (max-width: 767px) {
    .bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60px;
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
        border-top: 1px solid rgba(1, 35, 70, 0.1);
        backdrop-filter: blur(10px);
    }
    
    .bottom-nav-items {
        display: flex;
        justify-content: space-around;
        align-items: center;
        width: 100%;
        height: 100%;
        padding: 0px 10px;
    }
    
    .bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: var(--medium-text);
        text-decoration: none;
        font-size: 0.7rem;
        padding: 5px;
        transition: all 0.3s ease;
        width: 25%;
        text-align: center;
    }
    
    .bottom-nav-item i {
        font-size: 1.2rem;
        margin-bottom: 3px;
    }
    
    .bottom-nav-item:hover,
    .bottom-nav-item:active,
    .bottom-nav-item.active {
        color: var(--primary);
        transform: translateY(-3px);
    }
    
    /* Adjust body padding for bottom nav */
    body {
        padding-bottom: 60px;
    }
    
    /* Drawer menu that slides from bottom */
    .bottom-drawer {
        position: fixed;
        bottom: -100%;
        left: 0;
        right: 0;
        background: var(--card-bg);
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
        box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.15);
        z-index: 1000;
        transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        max-height: 85vh;
        overflow-y: auto;
        padding: 1.5rem;
    }
    
    .bottom-drawer.show {
        bottom: 0;
    }
    
    .drawer-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1rem;
        border-bottom: 1px solid rgba(1, 35, 70, 0.1);
        padding-bottom: 0.8rem;
    }
    
    .drawer-title {
        font-weight: 700;
        color: var(--primary);
        font-size: 1.1rem;
        margin: 0;
    }
    
    .drawer-close {
        background: none;
        border: none;
        color: var(--medium-text);
        font-size: 1.2rem;
        padding: 5px;
    }
    
    /* Drawer backdrop */
    .drawer-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease;
    }
    
    .drawer-backdrop.show {
        opacity: 1;
        visibility: visible;
    }
}

/* Authentication Drawers (Login/Register) */

/* Update modal styles for all device sizes */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.modal-backdrop.show {
    opacity: 1;
    visibility: visible;
}

.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 15px;
}

.auth-modal.show {
    opacity: 1;
    visibility: visible;
}

.auth-modal .modal-content {
    width: 450px;
    max-width: 100%;
    background: var(--card-bg);
    border-radius: 16px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    transform: translateY(-30px);
    max-height: 90vh;
    overflow-y: auto;
}

.auth-modal.show .modal-content {
    transform: translateY(0);
}

.auth-modal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem 0.5rem;
    border-bottom: 1px solid rgba(1, 35, 70, 0.1);
    margin-bottom: 1.5rem;
}

.auth-modal .modal-title {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.3rem;
    margin: 0;
}

.auth-modal .modal-close {
    background: none;
    border: none;
    color: var(--medium-text);
    font-size: 1.2rem;
    padding: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-modal .modal-close:hover {
    color: var(--danger);
    transform: rotate(90deg);
}

.auth-modal .modal-body {
    padding: 0 1.5rem 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .auth-modal .modal-content {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        border-radius: 12px;
    }
}

/* Password strength indicator */
.password-strength {
    font-size: 0.8rem;
}

.password-strength .progress {
    border-radius: 50px;
    margin-bottom: 5px;
}

/* Style for links in forms */
.auth-form a {
    color: var(--accent);
    transition: color 0.3s;
}

.auth-form a:hover {
    color: var(--primary);
    text-decoration: underline !important;
}

/* Button styles for account in navbar */
.btn-account {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background-color: var(--accent);
    color: #fff;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-account:hover {
    background-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 99, 165, 0.2);
    color: #fff;
}

/* Mobile header buttons styling */
.mobile-header-buttons {
    display: flex;
    align-items: center;
}

/* Cart button styling - ensure consistent display across screen sizes */
.btn-cart {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 99, 165, 0.1);
    color: var(--accent);
    transition: all 0.3s ease;
}

.btn-cart:hover {
    background-color: var(--accent);
    color: white;
    transform: translateY(-2px);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--danger);
    color: white;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.cart-count {
    position: absolute;
    top: -13px;
    right: -17px;
    background-color: var(--accent);
    color: white;
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    border-radius: 50%;
}

/* Modal styles for desktop login/register */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.modal-backdrop.show {
    opacity: 1;
    visibility: visible;
}

.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.auth-modal.show {
    opacity: 1;
    visibility: visible;
}

.auth-modal .modal-content {
    width: 450px;
    max-width: 90%;
    background: var(--card-bg);
    border-radius: 16px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    transform: translateY(-30px);
    max-height: 90vh;
    overflow-y: auto;
}

.auth-modal.show .modal-content {
    transform: translateY(0);
}

.auth-modal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem 0.5rem;
    border-bottom: 1px solid rgba(1, 35, 70, 0.1);
    margin-bottom: 1.5rem;
}

.auth-modal .modal-title {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.3rem;
    margin: 0;
}

.auth-modal .modal-close {
    background: none;
    border: none;
    color: var(--medium-text);
    font-size: 1.2rem;
    padding: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-modal .modal-close:hover {
    color: var(--danger);
    transform: rotate(90deg);
}

.auth-modal .modal-body {
    padding: 0 1.5rem 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .auth-modal .modal-content {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        border-radius: 12px;
    }
}


a {
    text-decoration: none; /* إزالة الخط تحت الرابط */
}

/* ------------------------------الاقسام------------------------ */

.category-boxes-container {
    display: flex;
    /* justify-content: flex-end; Changed from center to flex-end to align to the right */
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.category-box {
    width: 120px; /* Reduced from 180px */
    height: 60px; /* Reduced from 110px */
    background: linear-gradient(145deg, #ffffff, #f5f7fa);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.06);
    text-align: center;
    padding: 8px; /* Reduced padding */
    border: 1px solid rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
}

.category-box h3 {
    font-size: 13px; /* Smaller font size */
    font-weight: 600;
    margin: 0;
    transition: transform 0.2s ease;
    z-index: 2;
    font-weight: bold;
}

.category-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}

.category-box.active {
    background: linear-gradient(145deg, #0063A5, #012346);
    color: white;
    border: none;
}

.category-box.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: -6px;
    width: 30px; /* Smaller decorative element */
    height: 30px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    z-index: 1;
}

.product-card.empty-message {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
    background-color: #f9f9f9;
    border-radius: 8px;
    text-align: center;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.05);
}

@media (max-width: 768px) {
    .category-boxes-container {
        gap: 8px;
    }
    
    .category-box {
        width: 100px;
        height: 50px;
    }
}

@media (max-width: 576px) {
    .category-box {
        width: 80px;
        height: 45px;
    }
    
    .category-box h3 {
        font-size: 11px;
    }
}

@media (max-width: 360px) {
    .category-box {
        width: 70px;
        height: 40px;
    }
    
    .category-box h3 {
        font-size: 10px;
    }
}

/* ------------------------------نهاية الاقسام------------------------ */