/* Advanced Styling with Modern Design */
:root {
    --primary-color: #1e40af;
    --secondary-color: #1e3a8a;
    --accent-color: #ea580c;
    --light-bg: #f8fafc;
    --dark-bg: #0f172a;
    --text-color: #1e293b;
    --gradient-1: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    --gradient-2: linear-gradient(45deg, #ea580c 0%, #c2410c 100%);
    --box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    --card-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    --accent-gradient: linear-gradient(135deg, #ea580c 0%, #fb923c 100%);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --blur-effect: blur(10px);
    --shine-effect: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

*{
    user-select: none;
    
}

/* Advanced Glass Effect */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: var(--blur-effect);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Enhanced Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background-color: var(--dark-bg);
    margin-top: -80px; /* لإزالة المسافة الإضافية في القسم الرئيسي */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%) scale(1.1);
    object-fit: cover;
    opacity: 0.2;
    filter: blur(5px);
    transition: transform 8s linear;
}

.hero.active .hero-video {
    transform: translate(-50%, -50%) scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at center,
        rgba(30, 64, 175, 0.85) 0%,
        rgba(15, 23, 42, 0.95) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 8rem 0 4rem;
}

.hero-title {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.text-animate {
    height: 5.5rem;
    margin: 1.5rem 0;
    overflow: hidden;
    position: relative;
}

.text-animate::before,
.text-animate::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(180deg, var(--dark-bg) 0%, transparent 100%);
    z-index: 1;
}

.text-animate::before {
    top: 0;
}

.text-animate::after {
    bottom: 0;
    transform: rotate(180deg);
}

.text-animate span {
    display: block;
    height: 100%;
    animation: textSlide 9s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    font-size: 4.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-color) 0%, #fb923c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    line-height: 1.8;
    max-width: 600px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.btn-glow {
    position: relative;
    background: linear-gradient(135deg, var(--accent-color) 0%, #fb923c 100%);
    color: white;
    border: none;
    overflow: hidden;
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(234, 88, 12, 0.3);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 4rem;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.hero-stats:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.stat-item {
    text-align: center;
    color: white;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -2rem;
    top: 50%;
    transform: translateY(-50%);
    height: 50px;
    width: 1px;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.hero-image-wrapper {
    position: relative;
    z-index: 3;
    padding: 2rem;
    perspective: 1000px;
}

.hero-image {
    max-width: 100%;
    height: auto;
    transform: rotateY(-15deg) rotateX(5deg);
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    animation: float 6s ease-in-out infinite;
    transition: all 0.3s ease;
}

.hero-image:hover {
    transform: rotateY(-5deg) rotateX(2deg);
}

@keyframes float {
    0%, 100% { transform: rotateY(-15deg) rotateX(5deg) translate(0, 0); }
    50% { transform: rotateY(-15deg) rotateX(5deg) translate(0, -20px); }
}

/* تحسينات للشاشات الصغيرة */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .text-animate span {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem;
    }
    
    .stat-item:not(:last-child)::after {
        display: none;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-content {
        padding: 6rem 0 3rem;
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Enhanced Category Cards */
.category-card {
    position: relative;
    height: 450px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all 0.5s ease;
}

.category-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0.8) 100%);
    z-index: 1;
    opacity: 0;
    transition: all 0.5s ease;
}

.category-card:hover::before {
    opacity: 1;
}

.category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3rem;
    color: white;
    z-index: 2;
    transform: translateY(30px);
    transition: transform 0.5s ease;
}

.category-card:hover .category-content {
    transform: translateY(0);
}

/* Advanced Product Cards */
.product-card {
    position: relative;
    background: white;
    border-radius: 25px;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    transition: all 0.5s ease;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0.1;
    transition: top 0.4s ease;
}

.product-card:hover::before {
    top: 0;
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.product-image-wrapper {
    position: relative;
    padding-top: 100%;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image {
    transform: scale(1.1) rotate(2deg);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    z-index: 2;
}

/* Enhanced Product Cards */
.featured-filters {
    margin-bottom: 3rem;
}

.featured-filters .btn {
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.featured-filters .btn.active {
    background: var(--primary-color);
    color: white;
}

.product-card {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.product-image-wrapper {
    position: relative;
    padding-top: 100%;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all 0.4s ease;
    display: flex;
    gap: 0.5rem;
}

.product-overlay button {
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-card:hover .product-overlay button {
    transform: translateY(0);
}

.product-category {
    color: var(--accent-color);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.product-rating {
    color: #ffc107;
    font-size: 0.9rem;
}

.rating-count {
    color: #6b7280;
    margin-left: 0.5rem;
}

.price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.old-price {
    color: #6b7280;
    text-decoration: line-through;
    font-size: 1rem;
    margin-right: 0.5rem;
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

/* Enhanced Buttons */
.btn-custom {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--shine-effect);
    animation: shine 3s infinite;
    z-index: -1;
}

.btn-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Advanced Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 4rem 0;
}

.feature-card {
    padding: 2rem;
    border-radius: 20px;
    background: white;
    box-shadow: var(--card-shadow);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.feature-card:hover::after {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Enhanced Testimonials Section */
.testimonials {
    background: linear-gradient(to bottom, var(--light-bg), #fff);
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--box-shadow);
    margin: 1rem 0;
    position: relative;
    transition: all 0.3s ease;
    text-align: center;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.testimonial-card.featured {
    background: var(--gradient-1);
    color: white;
}

.testimonial-card.featured .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}

.testimonial-rating {
    margin-bottom: 1.5rem;
}

.testimonial-rating i {
    color: #ffc107;
    font-size: 1.2rem;
    margin: 0 2px;
}

.testimonial-card.featured .testimonial-rating i {
    color: #fff;
}

.testimonial-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 4px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 0;
    font-style: italic;
}

@media (max-width: 768px) {
    .testimonial-card {
        padding: 2rem;
    }
    
    .testimonial-avatar {
        width: 80px;
        height: 80px;
    }
}

/* Testimonials Section */
.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--box-shadow);
    margin: 2rem 0;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 80px;
    color: var(--primary-color);
    opacity: 0.1;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid var(--primary-color);
}

/* Enhanced Footer Styling */
.footer {
    position: relative;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #111827 100%);
    color: white;
    padding: 8rem 0 2rem;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: -150px;
    left: 0;
    width: 100%;
    height: 150px;
    background: #ffffff;
    transform: skewY(-3deg);
}

.footer::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.05)"/></svg>') 0 0/20px 20px;
    opacity: 0.2;
}

.footer-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 5rem;
}

.footer-info {
    position: relative;
}

.footer-info h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.footer-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 400px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-5px);
}

.social-links a:hover::before {
    opacity: 1;
}

.social-links a i {
    position: relative;
    z-index: 1;
}

.footer-links h5,
.footer-contact h5 {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.footer-links h5::after,
.footer-contact h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-2);
    border-radius: 3px;
}

.footer-links ul li {
    margin-bottom: 1rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer-links ul li a::before {
    content: '→';
    margin-left: 0.5rem;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--accent-color);
    transform: translateX(10px);
}

.footer-links ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-contact ul li {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact ul li i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    font-size: 1.1rem;
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.footer-contact ul li:hover i {
    background: var(--accent-color);
    color: white;
    transform: scale(1.1);
}

.footer-bottom {
    position: relative;
    z-index: 1;
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }

    .footer-info p {
        margin: 0 auto 2rem;
    }

    .social-links {
        justify-content: center;
    }

    .footer-links h5::after,
    .footer-contact h5::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-contact ul li {
        justify-content: center;
    }
}

/* Enhanced Navbar Styling */
.navbar {
    display: inline;
    padding: 1rem 0;
    transition: all 0.3s ease;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.navbar-scrolled {
    padding: 0.5rem 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    position: relative;
    padding: 0.5rem 0;
}

.navbar-brand img {
    height: 40px;
    transition: all 0.3s ease;
    height: 45px;
    transition: height 0.3s ease;
}

.navbar-scrolled .navbar-brand img {
    height: 35px;
    height: 40px;
}

.navbar-brand::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: right;
}

.navbar-brand:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-item {
    position: relative;
    margin: 0 0.5rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 25px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    z-index: -1;
}

.nav-link:hover {
    color: white !important;
    transform: translateY(-2px);
}

.nav-link:hover::before {
    opacity: 0.1;
    transform: scale(1);
}

.nav-item.active .nav-link::before {
    opacity: 0.2;
    transform: scale(1);
}

/* Animated Dots Menu */
.navbar-toggler {
    border: none;
    padding: 0;
    width: 30px;
    height: 30px;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler span {
    display: block;
    width: 25px;
    height: 2px;
    background: white;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s ease;
}

.navbar-toggler span:nth-child(1) { top: 25%; }
.navbar-toggler span:nth-child(2) { top: 50%; }
.navbar-toggler span:nth-child(3) { top: 75%; }

.navbar-toggler.active span:nth-child(1) {
    transform: translate(-50%, 7px) rotate(45deg);
}

.navbar-toggler.active span:nth-child(2) {
    opacity: 0;
}

.navbar-toggler.active span:nth-child(3) {
    transform: translate(-50%, -7px) rotate(-45deg);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-right: 2rem;
}

.header-action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 45px;
    height: 45px;
}

.header-action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.header-action-btn:hover {
    transform: translateY(-2px);
}

.header-action-btn:hover::before {
    opacity: 1;
}

.header-action-btn i {
    position: relative;
    z-index: 1;
}

.header-action-btn .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent-color);
    color: white;
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 50%;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Header Mobile Styles */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(10px);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
    }

    .nav-item {
        margin: 0.5rem 0;
    }

    .nav-link {
        padding: 0.75rem 1.5rem !important;
    }

    .header-actions {
        margin-top: 1rem;
        justify-content: center;
    }
}

/* Fix Content Padding */
body {
    padding-top: 80px; /* تعديل المسافة حسب ارتفاع الـ navbar */
}

/* Advanced Animations */
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.floating-animation {
    animation: float 3s ease infinite;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-1);
    border-radius: 6px;
}

/* Responsive Design Enhancements */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .text-animate span {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero-content {
        padding: 6rem 0 3rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .category-card {
        height: 300px;
    }

    .feature-card {
        text-align: center;
    }
}

/* تحسين النصوص */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

/* تحسين البطاقات */
.card-hover-effect {
    transition: all 0.4s ease;
}

.card-hover-effect:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* تأثيرات متحركة للصور */
.image-hover-effect {
    overflow: hidden;
    position: relative;
}

.image-hover-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: var(--shine-effect);
    transform: skewX(-25deg);
    animation: shine 3s infinite;
}

/* تحسين القوائم */
.custom-list {
    list-style: none;
    padding: 0;
}

.custom-list li {
    position: relative;
    padding-right: 1.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.custom-list li::before {
    content: '•';
    position: absolute;
    right: 0;
    color: var(--accent-color);
    font-size: 1.2em;
}

/* تأثيرات الخلفية */
.bg-pattern {
    background-image: radial-gradient(circle at 1px 1px, var(--accent-color) 1px, transparent 0);
    background-size: 20px 20px;
    opacity: 0.1;
}

/* تحسينات التجاوب */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .card-hover-effect:hover {
        transform: translateY(-5px) scale(1.01);
    }
}

/* Contact Section Styling */
.contact-section {
    background: linear-gradient(135deg, var(--light-bg) 0%, #fff 100%);
    position: relative;
    overflow: hidden;
}

.contact-info {
    background: var(--gradient-1);
    padding: 3rem;
    border-radius: 20px;
    height: 100%;
    color: white;
    box-shadow: var(--box-shadow);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.contact-info-item .icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1rem;
    font-size: 1.5rem;
}

.contact-info-item .content h5 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-info-item .content p {
    margin: 0;
    font-size: 1rem;
    opacity: 0.9;
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
}

.form-floating {
    margin-bottom: 1rem;
}

.form-control {
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 1rem;
    height: auto;
    transition: all 0.3s ease;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.form-floating label {
    padding: 1rem;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
    background: white;
    padding: 0 0.5rem;
    color: var(--primary-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-info,
    .contact-form {
        padding: 2rem;
    }
}

/* Enhanced Contact Section Styling */
.contact-section {
    background: linear-gradient(135deg, var(--light-bg) 0%, #fff 100%);
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

.contact-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--gradient-1);
    filter: blur(100px);
    opacity: 0.1;
    top: -150px;
    right: -150px;
    border-radius: 50%;
}

.contact-section::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: var(--gradient-2);
    filter: blur(80px);
    opacity: 0.1;
    bottom: -100px;
    left: -100px;
    border-radius: 50%;
}

.contact-info {
    background: var(--gradient-1);
    padding: 3rem;
    border-radius: 30px;
    height: 100%;
    color: white;
    box-shadow: var(--box-shadow);
    transform: translateY(0);
    transition: all 0.4s ease;
}

.contact-info:hover {
    transform: translateY(-10px);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-item:hover {
    transform: translateX(-10px);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.contact-info-item .icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1.5rem;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.contact-info-item:hover .icon {
    background: white;
    color: var(--primary-color);
    transform: rotate(10deg);
}

.contact-form {
    background: white;
    padding: 3.5rem;
    border-radius: 30px;
    box-shadow: var(--box-shadow);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-1);
    opacity: 0.03;
    z-index: 0;
}

.form-floating {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.form-control {
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 15px;
    padding: 1.2rem;
    height: auto;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
    background: white;
}

.form-floating > .form-control {
    padding: 1.5rem 1rem;
}

.form-floating > label {
    padding: 1rem;
    color: #6b7280;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    transform: scale(0.85) translateY(-1rem) translateX(0.15rem);
    background: white;
    padding: 0 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.btn-submit {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 20px;
    transition: all 0.4s ease;
    background: var(--gradient-1);
    border: none;
    color: white;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-submit:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-2);
    transition: all 0.4s ease;
    z-index: -1;
}

.btn-submit:hover:before {
    left: 0;
}

.btn-submit:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Animation for success message */
@keyframes slideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.alert-success {
    animation: slideIn 0.3s ease forwards;
    background: var(--gradient-1);
    color: white;
    border: none;
    border-radius: 15px;
    padding: 1rem 2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-section {
        padding: 4rem 0;
    }
    
    .contact-info,
    .contact-form {
        padding: 2rem;
        margin-bottom: 2rem;
    }
    
    .contact-info-item {
        padding: 1rem;
    }
    
    .contact-info-item .icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Products Page Specific Styles */
.products-hero {
    background: var(--gradient-1);
    padding: 0 0 60px; /* تعديل المسافة العلوية لتناسب navbar */
    color: white;
    position: relative;
    overflow: hidden;
}

.products-hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url('data:image/svg+xml,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: 20px 20px;
    opacity: 0.2;
}

.products-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.product-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.btn-filter {
    padding: 0.75rem 2rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    font-weight: 500;
    backdrop-filter: blur(5px);
}

.btn-filter:hover,
.btn-filter.active {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .products-hero {
        padding: 100px 0 40px;
    }

    .products-hero h1 {
        font-size: 2.5rem;
    }

    .product-filters {
        flex-direction: row; /* تغيير من column إلى row */
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .btn-filter {
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Enhanced Product Card Styles */
.product-card {
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.product-image-wrapper img {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.product-image-wrapper img.loaded {
    opacity: 1;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .products-hero h1 {
        font-size: 2rem;
    }

    .product-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-filter {
        width: 100%;
        text-align: center;
    }
}

/* Products Hero Styles */
.products-hero {
    background: var(--gradient-1);
    padding: 120px 0 100px;
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-shape {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 60px;
    background: #fff;
    clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 100%);
}

.products-hero .hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    position: relative;
}

.products-hero .text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    font-size: 2.5rem;
    margin-top: 0.5rem;
}

.products-hero .hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.product-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.btn-filter {
    padding: 0.75rem 2rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    font-weight: 500;
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-filter i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.btn-filter:hover i {
    transform: scale(1.2);
}

.btn-filter:hover,
.btn-filter.active {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .products-hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .products-hero .hero-title {
        font-size: 2.5rem;
    }

    .products-hero .text-gradient {
        font-size: 2rem;
    }

    .products-hero .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .product-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 1rem;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
    }

    .btn-filter {
        padding: 0.5rem 1.5rem;
        white-space: nowrap;
    }
}

/* Simple Product Card Styles */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-img-top {
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.card-body {
    padding: 1.5rem;
    text-align: center;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-bg);
    margin-bottom: 0.75rem;
}

.card-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
}

.buy-now-btn {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    background: var(--gradient-1);
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.buy-now-btn:hover {
    background: var(--gradient-2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(234, 88, 12, 0.2);
}




