

/*///////////////////////////////////////////// ثوابت //////////////////////////////////////////////////*/

.primary-color, .text-primary {
    color: var(--primary-color) !important;
}

.bg-primary-color, .bg-primary {
    background-color: var(--primary-color) !important;
}

.secondary-color, .text-secondary {
    color: var(--secondary-color) !important;
}

.bg-secondary-color, .bg-secondary {
    background-color: var(--secondary-color) !important;
}

.accent-color, .text-accent {
    color: var(--accent-color) !important;
}

.bg-accent-color, .bg-accent {
    background-color: var(--accent-color) !important;
}

h1, h2, h3, h4, h5, h6 {
    /* color: var(--primary-color) !important;*/
}

p {
    color: var(--body-color) !important;
}

/*خلفية شفافة للصور*/
.transparent-bg {
    background-color: rgba(0, 0, 0, 0.3); /* لون أسود مع شفافية 30% */
    padding: 10px; /* إضافة padding لرؤية الخلفية بشكل أفضل */
    border-radius: 8px; /* إضافة زوايا مدورة إذا أردت */
}

.cursor-pointer {
    cursor: pointer !important;
}

/* Bootstrap Tapped */
.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: white;
    background-color: var(--primary-color);
}

/* btn hover */
.btn-hover {
    position: relative;
    display: inline-block;
    color: var(--secondary-color);
    background-color: white;
    text-decoration: none;
    overflow: hidden;
    border: 2px solid #ffffff;
    border-radius: 5px;
    padding: 10px 20px;
    transition: color 0.3s ease-in-out;
    z-index: 0; /* تأكد أن العنصر فوق الخلفية */
}

    .btn-hover::before {
        content: "";
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: var(--secondary-color); /* لون الخلفية عند التحويل */
        transition: left 0.5s ease-in-out;
        z-index: -1; /* يخلي الخلفية تحت النص */
    }

    .btn-hover:hover::before {
        left: 0; /* تتحرك الخلفية من اليسار لليمين */
    }

    .btn-hover:hover {
        color: var(--primary-color) !important; /* تغيير لون النص */
    }


/*search command select*/
.select2-results__option, .select2-selection {
    direction: rtl !important;
    text-align: center !important;
}

.select2-selection {
    height: 55px !important;
    align-content: center !important;
    background-color: #faf9fb !important;
    /*border-radius: 0px 4px 4px 0 !important;*/
    /*border:none !important;*/
}

.select2-selection__arrow {
    top: 15px !important;
    background-color: #faf9fb !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--primary-color) !important;
    color: var(--secondary-color) !important;
}

.select2 {
    width: 100% !important;
}

.select2-results__option[aria-selected] {
    text-align: right !important;
}


/*** swiper Start ***/
.swiper {
    padding: 20px 0;
    padding-top: 12px;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
}

.swiper-wrapper {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.swiper-pagination-bullet-active {
    background-color: var(--bs-secondary);
}

.swiper-button-next, .swiper-button-prev {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 15px;
}

.swiper-horizontal > .swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
    position: static;
    margin-top: 5px;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
}

/*** ---- Hover Card up ---- ***/
.swiper, .card, .hoverupp {
    cursor: pointer;
    transition: transform 0.3s ease-in-out, border-width 0.3s ease-in-out;
}

    .swiper .team-item:hover, .card:hover, .hoverup:hover {
        transform: scale(1.03) translateY(-10px);
        border-width: 0px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* تأثير الظل */
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

/*** ---- carousel-indicators ---- ***/
.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    background-color: var(--secondary-color);
    border-radius: 100%;
}

/*///////////////////////////////////////////// ثوابت //////////////////////////////////////////////////*/



:root {
    --primary-color: #10375c;
    --secondary-color: #eb8317;
    --accent-color: #eb8317;
    --font-color: #10375c;
    --bs-primary: var(--primary-color);
    --bs-secondary: var(--secondary-color);
    --bs-dark: #343a40;
    --bs-light: #f8f9fa;
    --bs-white: #ffffff;
    --bs-body: #8d8d8d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
    text-decoration: none !important;
}

body {
    background-color: var(--bs-light);
    color: var(--font-color);
    line-height: 1.6;
    overflow-x: hidden;
}


/*//////////////////////////////// Header Styles ///////////////////////////////////////*/
header {
    background-color: var(--primary-color);
    padding: 0.7rem 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo a {
    display: block;
    text-decoration: none;
    position: relative;
    transition: transform 0.3s ease;
}

    .logo a:hover {
        transform: scale(1.05);
    }

.logo img {
    height: 50px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.nav-center {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

    .nav-links a {
        color: var(--bs-white);
        text-decoration: none;
        font-size: 1.1rem;
        font-weight: 600;
        position: relative;
        transition: color 0.3s ease;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

        .nav-links a::after {
            display: none;
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -4px;
            right: 0;
            background-color: var(--accent-color);
            transition: width 0.3s ease;
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        .nav-links a:hover {
            color: var(--accent-color);
        }

.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

    .dropdown-toggle:hover {
        background-color: rgba(255, 255, 255, 0.1);
        transform: translateY(-2px);
    }

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: linear-gradient(135deg, var(--bs-white), #f0f4f8);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    min-width: 260px;
    padding: 1rem;
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.sub-dropdown {
    position: relative;
}

.sub-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    color: var(--font-color);
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    border-radius: 8px;
}

    .sub-dropdown-toggle:hover {
        background-color: var(--bs-light);
        color: var(--secondary-color);
        transform: translateX(-5px);
    }

.sub-dropdown-menu {
    display: none;
    position: absolute;
    top: 0;
    right: 100%;
    background: linear-gradient(135deg, var(--bs-white), #f0f4f8);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    min-width: 220px;
    padding: 1rem;
    opacity: 0;
    transform: translateX(10px) scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.sub-dropdown:hover .sub-dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateX(0) scale(1);
}

.dropdown-menu a, .sub-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    color: var(--font-color);
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    border-radius: 8px;
}

    .dropdown-menu a:hover, .sub-dropdown-menu a:hover {
        background-color: var(--bs-light);
        color: var(--secondary-color);
        transform: translateX(5px);
    }

/* قائمة المستوى الثالث */
.sub-dropdown .sub-dropdown-menu .sub-dropdown {
    position: relative;
}

.sub-dropdown .sub-dropdown-menu .sub-dropdown-menu {
    top: 0;
    right: 100%;
    display: none;
    background: linear-gradient(135deg, var(--bs-white), #f0f4f8);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    min-width: 220px;
    padding: 1rem;
    opacity: 0;
    transform: translateX(10px) scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1002;
}

.sub-dropdown .sub-dropdown-menu .sub-dropdown:hover > .sub-dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateX(0) scale(1);
}


.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.login-button {
    background: var(--secondary-color);
    color: var(--bs-white);
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

    .login-button:hover {
        background-color: var(--accent-color);
        transform: scale(1.05);
    }

.language-button {
    background: var(--bs-white);
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

    .language-button:hover {
        background-color: var(--secondary-color);
        color: var(--bs-white);
        transform: scale(1.05);
    }

.mobile-actions {
    display: none;
    align-items: center;
    gap: 0.5rem;
}

    .mobile-actions i {
        color: var(--bs-white);
        font-size: 1.6rem;
        cursor: pointer;
        padding: 0.5rem;
        border-radius: 8px;
        transition: transform 0.3s ease, background-color 0.3s ease;
    }

        .mobile-actions i:hover {
            transform: scale(1.1);
            background-color: rgba(255, 255, 255, 0.2);
        }

#mobile-language-toggle {
    color: var(--bs-white);
    font-size: 1.6rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

    #mobile-language-toggle:hover {
        transform: scale(1.1);
        background-color: rgba(255, 255, 255, 0.2);
    }

.hamburger {
    display: none;
    color: var(--bs-white);
    font-size: 1.6rem;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    border-radius: 8px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

    .hamburger:hover {
        transform: scale(1.1);
        background-color: rgba(255, 255, 255, 0.2);
    }

.floating-cart {
    position: fixed;
    bottom: 90px;
    right: 15px;
    background-color: var(--secondary-color);
    color: var(--bs-white);
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    animation: float 3s ease-in-out infinite;
    z-index: 1000;
    transition: transform 0.3s ease;
    text-decoration: none;
}

    .floating-cart:hover {
        transform: scale(1.1);
    }

    .floating-cart:active {
        animation: cartPulse 0.3s ease;
        transform: scale(1.2);
    }

    .floating-cart i {
        font-size: 2rem;
    }

.cart-count {
    position: absolute;
    top: -8px;
    left: -8px;
    background-color: #dc3545;
    color: var(--bs-white);
    border-radius: 50%;
    padding: 4px 8px;
    font-size: 0.9rem;
    font-weight: 600;
    animation: countPulse 1s ease infinite;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes cartPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes countPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/*////////////////////////////////////// Hero Section ////////////////////////////////*/
.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: var(--primary-color);
}

    .hero img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0.85;
        transition: transform 0.5s ease;
        animation: zoomIn 10s ease infinite;
    }

    .hero:hover img {
        transform: scale(1.03);
    }

.hero-text {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    color: var(--bs-white);
    text-align: right;
    max-width: 600px;
    animation: fadeInUp 1s ease-out;
}

    .hero-text h1 {
        font-size: 3.5rem;
        font-weight: 700 !important;
        margin-bottom: 1.5rem;
        text-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
        color: #fff !important;
    }

    .hero-text p {
        font-size: 1.3rem;
        margin-bottom: 2rem;
        line-height: 1.8;
        color: #fff !important;
    }

    .hero-text button, .hero-text a {
        background-color: var(--secondary-color);
        color: var(--bs-white);
        padding: 1rem 2.5rem;
        border: none;
        border-radius: 50px;
        font-size: 1.2rem;
        font-weight: 600;
        cursor: pointer;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

        .hero-text button:hover, .hero-text a:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
        }

@keyframes zoomIn {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*////////////////////////////////////////////// category /////////////////////////////////////////*/
.category-box {
    width: 100%;
    max-width: 200px;
    background: #fff;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-weight: bold;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
}

    .category-box i {
        font-size: 3rem;
        color: var(--primary-color);
        transition: transform 0.3s ease;
    }

    .category-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
        background-color: var(--bs-light);
    }

        .category-box:hover i {
            transform: scale(1.1);
            color: var(--secondary-color);
        }

.category-link {
    display: grid;
    color: var(--font-color);
    font-size: 1.2rem;
    overflow: hidden;
    animation: fadeInUp 0.5s ease-out;
    white-space: nowrap;
}

.category-linksh2 {
    font-size: 2.2rem;
    font-weight: 700 !important;
    color: var(--font-color);
    margin-bottom: 0rem;
    position: relative;
    text-align: center;
    animation: slideInLeft 1s ease-out;
}

    .category-linksh2::after {
        content: '';
        position: absolute;
        bottom: -10px;
        right: 50%;
        transform: translateX(50%);
        width: 100px;
        height: 4px;
        background-color: var(--secondary-color);
        border-radius: 2px;
    }

.category-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(235, 131, 23, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-link:hover::before {
    opacity: 1;
}

@media (max-width: 480px) {
    .category-link {
        font-size: 1rem !important;
        padding: 1rem;
        min-width: 120px;
    }

    .category-linksh2 {
        font-size: 1.8rem;
    }
}

/*////////////////////////////////////////////////// App Download //////////////////////////////////////////////*/
.app-download-section {
    background: linear-gradient(135deg, #f5f7fa, #e4e7eb);
    padding: 3rem 2rem;
    text-align: center;
    direction: rtl;
}

.app-download-container {
    max-width: 1200px;
    margin: 0 auto;
}

    .app-download-container h2 {
        font-size: 2rem;
        font-weight: 700 !important;
        color: var(--primary-color);
        margin-bottom: 1rem;
    }

    .app-download-container p {
        font-size: 1.2rem;
        color: #555;
        margin-bottom: 2rem;
    }

.app-download-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.app-button img {
    width: 180px;
    height: auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.app-button:hover img {
    transform: scale(1.1);
    opacity: 0.9;
}

/*////////////////////////////////////////////////// Footer  //////////////////////////////////////////////*/
.footer {
    background: linear-gradient(135deg, var(--primary-color), #1b4d89);
    color: var(--bs-white);
    padding: 5rem 2rem 2rem;
    position: relative;
    overflow: hidden;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-about, .footer-links, .footer-contact, .footer-newsletter {
    text-align: right;
}

    .footer-about h3, .footer-links h3, .footer-contact h3, .footer-newsletter h3 {
        font-size: 1.5rem;
        font-weight: 700 !important;
        margin-bottom: 1.5rem;
        position: relative;
        color: var(--accent-color);
    }

    .footer-about p {
        font-size: 1rem;
        line-height: 1.8;
        margin-bottom: 1.5rem;
    }

    .footer-links a {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: var(--bs-white);
        text-decoration: none;
        font-size: 1rem;
        margin-bottom: 0.75rem;
        transition: color 0.3s ease, transform 0.3s ease;
    }

        .footer-links a:hover {
            color: var(--accent-color);
            transform: translateX(-5px);
        }

    .footer-contact p {
        font-size: 1rem;
        margin-bottom: 0.75rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

    .social-icons a {
        color: var(--bs-white);
        font-size: 1.8rem;
        transition: color 0.3s ease, transform 0.3s ease;
    }

        .social-icons a:hover {
            color: var(--accent-color);
            transform: scale(1.2);
        }

.footer-newsletter p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    max-width: 300px;
}

    .newsletter-form input {
        flex: 1;
        padding: 0.75rem;
        border: none;
        border-radius: 8px;
        font-size: 1rem;
        outline: none;
    }

    .newsletter-form button {
        background-color: var(--secondary-color);
        color: var(--bs-white);
        padding: 0.75rem 1.5rem;
        border: none;
        border-radius: 8px;
        font-size: 1rem;
        cursor: pointer;
        transition: background-color 0.3s ease, transform 0.3s ease;
        white-space: nowrap;
    }

        .newsletter-form button:hover {
            background-color: var(--accent-color);
            transform: translateY(-2px);
        }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
}

    .footer-bottom p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

.footer-bottom-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

    .footer-bottom-links a {
        color: var(--bs-white);
        text-decoration: none;
        font-size: 1rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        transition: color 0.3s ease;
    }

        .footer-bottom-links a:hover {
            color: var(--accent-color);
        }

/*////////////////////////////////////////////////// contact //////////////////////////////////////////////*/
.reach-out {
    max-width: 1400px;
    margin: 5rem auto;
    padding: 10px;
    background: var(--bs-white);
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(16, 55, 92, 0.1);
    overflow: hidden;
}

.reach-out-container {
    display: flex;
    flex-wrap: wrap;
}

.connect-form,
.motivate-buy {
    align-content: center;
    flex: 1;
    min-width: 300px;
    padding: 3rem;
    position: relative;
}

.connect-form {
    background: var(--bs-light);
}

.motivate-buy {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a4971 100%);
    color: var(--bs-white);
}

    .connect-form h2,
    .motivate-buy h2 {
        font-size: 2.8rem;
        font-weight: 700 !important;
        margin-bottom: 2rem;
        position: relative;
        text-align: center;
    }

.connect-form h2 {
    color: var(--font-color);
}

.motivate-buy h2 {
    color: var(--bs-white);
}

    .connect-form h2::after,
    .motivate-buy h2::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 100px;
        height: 4px;
        background-color: var(--secondary-color);
        border-radius: 2px;
    }

.connect-form form {
    display: grid;
    gap: 1.5rem;
    max-width: 500px;
    margin: 0 auto;
}

.connect-form input,
.connect-form textarea {
    padding: 1.2rem;
    border: 1px solid var(--bs-body);
    border-radius: 10px;
    font-size: 1.1rem;
    background: var(--bs-white);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

    .connect-form input:focus,
    .connect-form textarea:focus {
        border-color: var(--secondary-color);
        box-shadow: 0 0 10px rgba(235, 131, 23, 0.2);
        outline: none;
        transform: translateY(-2px);
    }

.connect-form button {
    background: var(--primary-color);
    color: var(--bs-white);
    padding: 1.2rem;
    border: none;
    border-radius: 10px;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .connect-form button:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    }

.motivate-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #e0e7ff;
}

.motivate-list {
    list-style: none;
    margin-bottom: 2rem;
    text-align: right;
}

    .motivate-list li {
        font-size: 1.1rem;
        margin-bottom: 1rem;
        display: flex;
        align-items: center;
        gap: 0.8rem;
        color: #e0e7ff;
    }

    .motivate-list i {
        color: var(--secondary-color);
        font-size: 1.3rem;
    }

.shop-now-btn {
    background: var(--secondary-color);
    color: var(--bs-white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .shop-now-btn:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    }

@media (max-width: 768px) {
    .reach-out-container {
        flex-direction: column;
    }

    .connect-form,
    .motivate-buy {
        padding: 2rem;
    }

        .connect-form h2,
        .motivate-buy h2 {
            font-size: 2rem;
        }

    .motivate-text {
        font-size: 1rem;
    }

    .motivate-list li {
        font-size: 1rem;
    }
}

/*////////////////////////////////////////////////// Offers Section //////////////////////////////////////////////*/
.promo-gallery {
    max-width: 1400px;
    margin: 3rem auto;
    padding: 1.5rem;
    position: relative;
}

.gallery-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(16, 55, 92, 0.1);
    background: var(--bs-white);
}

.gallery-item {
    position: absolute;
    width: 100%;
    height: 450px;
    opacity: 0;
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
    display: flex;
    align-items: center;
    transform: translateX(100%);
}

    .gallery-item.active {
        opacity: 1;
        position: relative;
        transform: translateX(0);
    }

    .gallery-item img {
        width: 55%;
        height: 100%;
        object-fit: cover;
        border-radius: 0 12px 12px 0;
    }

.item-details {
    padding: 3rem;
    width: 45%;
    background: linear-gradient(135deg, var(--bs-white) 0%, #f5f7fa 100%);
}

    .item-details h3 {
        font-size: 2.5rem;
        color: var(--primary-color);
        margin-bottom: 1.5rem;
        font-weight: 700;
        line-height: 1.2;
    }

    .item-details p {
        font-size: 1.3rem;
        color: var(--bs-body);
        margin-bottom: 1.5rem;
        line-height: 1.8;
    }

.cost {
    font-size: 1.8rem;
    color: var(--secondary-color);
    font-weight: 700;
    display: block;
    margin-top: 1rem;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
}

.nav-btn {
    background: var(--primary-color);
    color: var(--bs-white);
    border: none;
    padding: 1rem;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s, transform 0.3s;
    font-size: 1.5rem;
    line-height: 1;
}

    .nav-btn:hover {
        opacity: 1;
        transform: scale(1.1);
    }

.gallery-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background: var(--bs-body);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

    .dot.active {
        background: var(--secondary-color);
    }

@media (max-width: 768px) {
    .gallery-item {
        flex-direction: column;
        height: auto;
    }

        .gallery-item img,
        .item-details {
            width: 100%;
        }

        .gallery-item img {
            height: 300px;
            border-radius: 12px 12px 0 0;
        }

    .item-details {
        padding: 2rem;
    }

        .item-details h3 {
            font-size: 1.8rem;
        }

        .item-details p {
            font-size: 1.1rem;
        }

    .cost {
        font-size: 1.5rem;
    }
}

/*////////////////////////////////////////////////// product //////////////////////////////////////////////*/
.product-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.product-card {
    background-color: var(--bs-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
    position: relative;
    animation: fadeInUp 0.5s ease-out;
    border: 2px solid transparent;
    /* width: 320px; */
}

    .product-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
        border-color: var(--secondary-color);
    }

.discount-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #dc3545;
    color: var(--bs-white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    animation: pulse 2s ease infinite;
    z-index: 1;
}

.image-container {
    position: relative;
    width: 100%;
    height: 280px;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease;
}

.primary-image {
    opacity: 1;
}

.secondary-image {
    opacity: 0;
}

.product-card:hover .primary-image {
    opacity: 0;
}

.product-card:hover .secondary-image {
    opacity: 1;
}

.product-info {
    padding: 1.5rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

    .product-info h3 {
        font-size: 1.4rem;
        font-weight: 600;
        margin-bottom: 0.75rem;
        color: var(--font-color);
    }

.rating {
    margin-bottom: 0.75rem;
    color: var(--secondary-color);
    font-size: 1rem;
}

    .rating i {
        margin: 0 2px;
    }

.price-container {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.original-price {
    font-size: 1.1rem;
    color: var(--bs-body);
    text-decoration: line-through;
}

.current-price {
    font-size: 1.3rem;
    color: var(--secondary-color);
    font-weight: 700;
}

.product-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.product-info button {
    flex: 1;
    background-color: var(--primary-color);
    color: var(--bs-white);
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    white-space: nowrap;
}

    .product-info button:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
        background-color: var(--secondary-color);
    }

    .product-info button:disabled {
        background-color: var(--bs-body);
        cursor: not-allowed;
        opacity: 0.7;
    }

.more-products {
    text-align: center;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

    .more-products a, .more-products button {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        background-color: var(--secondary-color) !important;
        color: var(--bs-white) !important;
        padding: 0.75rem 2rem;
        border-radius: 8px;
        text-decoration: none;
        font-size: 1.2rem;
        font-weight: 600 !important;
        transition: background-color 0.3s ease, transform 0.3s ease;
        justify-content:center;
    }

        .more-products a:hover, .more-products button:hover {
            background-color: var(--accent-color);
            transform: translateY(-3px);
        }

/* Toast Notification */
.toast-notification {
    position: fixed;
    right: -500px;
    top: 20px;
    background: linear-gradient(45deg, var(--secondary-color), #f8f9fa);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    color: var(--font-color);
    z-index: 1000;
    transition: right 0.5s ease;
}

    .toast-notification.active {
        right: 20px;
    }

    .toast-notification i {
        font-size: 1.8rem;
        color: var(--primary-color);
        animation: pulse 1.5s ease infinite;
    }

.toast-action {
    background: var(--primary-color);
    color: var(--bs-white);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

    .toast-action:hover {
        background: var(--secondary-color);
    }

.toast-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--bs-body);
    cursor: pointer;
    margin-left: auto;
    transition: color 0.3s ease;
}

    .toast-close:hover {
        color: #dc3545;
    }

/*////////////////////////////////////////////////// About //////////////////////////////////////////////*/



/* Section Header */
.section-header {
    position: relative;
    width: 100%;
    min-height: 350px;
    background: linear-gradient(135deg, var(--primary-color) 30%, #2a5298 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    border-bottom: 6px solid var(--secondary-color);
}

    .section-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('assets/images/tools-background.webp');
        background-size: cover;
        background-position: center;
        opacity: 0.25;
        z-index: 0;
        transition: transform 0.8s ease;
    }

    .section-header:hover::before {
        transform: scale(1.1);
    }

.header-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 2rem;
}

    .header-content h1 {
        font-size: 3rem;
        font-weight: 800 !important;
        color: var(--bs-white) ;
        margin-bottom: 1.5rem;
        text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
    }

        .header-content h1 i {
            font-size: 2.5rem;
            color: var(--secondary-color);
        }

    .header-content p {
        font-size: 1.2rem;
        color: var(--bs-white) !important;
        margin-bottom: 2rem;
        line-height: 1.8;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }

.wave {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 120px;
    z-index: 1;
}

/* About Us Section */
.about-us {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

/* Company Overview */
.company-overview {
    display: flex;
    gap: 2rem;
    align-items: center;
    background: var(--bs-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.overview-text {
    flex: 1;
}

    .overview-text h2 {
        font-size: 1.8rem;
        font-weight: 700 !important;
        color: var(--font-color);
        margin-bottom: 1.5rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .overview-text p {
        font-size: 1.1rem;
        color: var(--bs-body);
        line-height: 1.8;
        margin-bottom: 1rem;
    }

.overview-image {
    flex: 1;
}

    .overview-image img {
        width: 100%;
        height: 300px;
        object-fit: cover;
        border-radius: 12px;
        transition: transform 0.3s ease;
    }

        .overview-image img:hover {
            transform: scale(1.05);
        }

/* Social Media Links */
.social-media {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icon {
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
}

    .social-icon:hover {
        transform: scale(1.2) rotate(10deg);
        color: var(--secondary-color);
    }

/* Vision and Values */
.vision-values {
    text-align: center;
}

    .vision-values h2 {
        font-size: 2rem;
        font-weight: 700 !important;
        color: var(--font-color);
        margin-bottom: 2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background: linear-gradient(135deg, var(--bs-white), #f1f5f9);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

    .value-card:hover {
        transform: translateY(-10px) scale(1.05);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
        background: linear-gradient(135deg, var(--secondary-color), #ff9f43);
    }

    .value-card i {
        font-size: 3rem;
        color: var(--[--primary-color]-color);
        margin-bottom: 1.5rem;
        transition: transform 0.3s ease;
    }

    .value-card:hover i {
        transform: rotate(15deg);
    }

    .value-card h3 {
        font-size: 1.5rem;
        font-weight: 700 !important;
        color: var(--font-color);
        margin-bottom: 1rem;
    }

    .value-card p {
        font-size: 1rem;
        color: var(--bs-body);
        line-height: 1.6;
    }

    .value-card :hover i {
        color: var(--bs-white);
    }

    .value-card:hover p {
        color: var(--bs-white);
    }

/* Our Team */
.our-team {
    text-align: center;
}

    .our-team h2 {
        font-size: 2rem;
        font-weight: 700 !important;
        color: var(--font-color);
        margin-bottom: 2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.team-member {
    background: var(--bs-white);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .team-member:hover {
        transform: translateY(-10px);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    }

    .team-member::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: 0;
    }

    .team-member:hover::before {
        opacity: 0.1;
    }

    .team-member img {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        object-fit: cover;
        margin-bottom: 1rem;
        border: 4px solid var(--secondary-color);
        transition: transform 0.3s ease;
        position: relative;
        z-index: 1;
    }

    .team-member:hover img {
        transform: scale(1.1);
    }

    .team-member h3 {
        font-size: 1.4rem;
        font-weight: 700 !important;
        color: var(--font-color);
        margin-bottom: 0.5rem;
        position: relative;
        z-index: 1;
    }

    .team-member .role {
        font-size: 1rem;
        font-weight: 600;
        color: var(--secondary-color);
        margin-bottom: 0.5rem;
        display: block;
        position: relative;
        z-index: 1;
    }

    .team-member p {
        font-size: 0.9rem;
        color: var(--bs-body);
        line-height: 1.6;
        position: relative;
        z-index: 1;
    }

    .team-member:hover h3,
    .team-member:hover .role,
    .team-member:hover p {
    }



/* Responsive Design */
@media (max-width: 1024px) {
    .company-overview {
        flex-direction: column;
        text-align: center;
    }

    .overview-image img {
        height: 250px;
    }

    .section-header {
        min-height: 300px;
    }

    .header-content h1 {
        font-size: 2.5rem;
    }

    .header-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .company-overview {
        padding: 1.5rem;
    }

    .overview-text h2 {
        font-size: 1.5rem;
    }

    .vision-values h2,
    .our-team h2 {
        font-size: 1.8rem;
    }

    .value-card i {
        font-size: 2.5rem;
    }

    .value-card h3 {
        font-size: 1.3rem;
    }

    .team-member img {
        width: 100px;
        height: 100px;
    }

    .social-icon {
        font-size: 1.5rem;
    }

    .section-header {
        min-height: 250px;
    }

    .header-content h1 {
        font-size: 2rem;
    }

        .header-content h1 i {
            font-size: 1.8rem;
        }

    .header-content p {
        font-size: 1rem;
    }

    .wave {
        height: 80px;
    }

    .toast-notification {
        width: 80%;
        right: -100%;
        padding: 0.75rem 1rem;
    }

        .toast-notification.active {
            right: 5%;
        }
}

@media (max-width: 480px) {
    .company-overview {
        padding: 1rem;
    }

    .overview-text h2 {
        font-size: 1.3rem;
    }

    .overview-text p {
        font-size: 1rem;
    }

    .overview-image img {
        height: 200px;
    }

    .vision-values h2,
    .our-team h2 {
        font-size: 1.5rem;
    }

    .value-card {
        padding: 1.5rem;
    }

        .value-card h3 {
            font-size: 1.2rem;
        }

        .value-card p {
            font-size: 0.9rem;
        }

    .team-member {
        padding: 1rem;
    }

        .team-member h3 {
            font-size: 1.2rem;
        }

        .team-member .role {
            font-size: 0.9rem;
        }

        .team-member p {
            font-size: 0.8rem;
        }

    .social-icon {
        font-size: 1.3rem;
    }

    .section-header {
        min-height: 200px;
    }

    .header-content h1 {
        font-size: 1.8rem;
    }

    .header-content p {
        font-size: 0.9rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-20px);
    }

    60% {
        transform: translateY(-10px);
    }
}

/*////////////////////////////////////////////////// Search //////////////////////////////////////////////*/
.products-page {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.products-container {
    display: flex;
    gap: 2rem;
}

.filters {
    flex: 0 0 300px;
    background: var(--bs-white);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

    .filter-header h3 {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--font-color);
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

.toggle-filters {
    background: transparent;
    border: none;
    color: var(--font-color);
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: none;
}

    .toggle-filters:hover {
        transform: rotate(180deg);
    }

.filter-content {
    display: block;
}

.filter-group {
    margin-bottom: 1.25rem;
}

    .filter-group label {
        display: flex;
        align-items: center;
        gap: 0.4rem;
        font-size: 0.95rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
        color: var(--font-color);
    }

        .filter-group label i {
            font-size: 1rem;
        }
/* Search Filter */
.search-group {
    position: relative;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

#search-filter {
    width: 100%;
    padding: 0.6rem 2.5rem 0.6rem 0.6rem;
    border: 1px solid var(--bs-body);
    border-radius: 8px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

    #search-filter:focus {
        border-color: var(--secondary-color);
        box-shadow: 0 0 8px rgba(235, 131, 23, 0.3);
        outline: none;
    }

.search-icon {
    position: absolute;
    right: 0.75rem;
    color: var(--bs-body);
    font-size: 1rem;
    pointer-events: none;
}
/* Custom Dropdown (Category & Type) */
.custom-dropdown {
    position: relative;
    width: 100%;
}

    .custom-dropdown .dropdown-selected,
    .sorting-dropdown .dropdown-selected {
        padding: 0.6rem 1rem;
        border: 1px solid var(--bs-body);
        border-radius: 10px;
        font-size: 0.95rem;
        background: linear-gradient(45deg, #ffffff, #f1f5f9);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
        transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }

        .custom-dropdown .dropdown-selected i,
        .sorting-dropdown .dropdown-selected i {
            font-size: 1rem;
            color: var(--font-color);
            transition: transform 0.3s ease;
        }

        .custom-dropdown .dropdown-selected.active i.bi-plus,
        .sorting-dropdown .dropdown-selected.active i.bi-plus {
            display: none;
        }

        .custom-dropdown .dropdown-selected.active i.bi-dash,
        .sorting-dropdown .dropdown-selected.active i.bi-dash {
            display: inline;
            transform: rotate(180deg);
        }

        .custom-dropdown .dropdown-selected i.bi-dash,
        .sorting-dropdown .dropdown-selected i.bi-dash {
            display: none;
        }

        .custom-dropdown .dropdown-selected:hover,
        .sorting-dropdown .dropdown-selected:hover,
        .custom-dropdown .dropdown-selected:focus,
        .sorting-dropdown .dropdown-selected:focus {
            border-color: var(--secondary-color);
            box-shadow: 0 0 8px rgba(235, 131, 23, 0.3);
            background: linear-gradient(45deg, #ffffff, #fef3e6);
        }

    .custom-dropdown .dropdown-options {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bs-white);
        border: 1px solid var(--bs-body);
        border-radius: 10px;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
        max-height: 200px;
        overflow-y: auto;
        z-index: 10;
        margin-top: 0.25rem;
    }

        .custom-dropdown .dropdown-options.active {
            display: block;
            animation: slideInDown 0.25s ease-out;
        }

        .custom-dropdown .dropdown-options li {
            padding: 0.6rem 1rem;
            font-size: 0.9rem;
            color: var(--font-color);
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
            position: relative;
            overflow: hidden;
        }

            .custom-dropdown .dropdown-options li:hover {
                background: linear-gradient(45deg, var(--secondary-color), #ff9f43);
                color: var(--bs-white);
                transform: scale(1.02);
            }

            .custom-dropdown .dropdown-options li::after {
                content: '';
                position: absolute;
                top: 50%;
                left: 50%;
                width: 0;
                height: 0;
                background: rgba(255, 255, 255, 0.2);
                border-radius: 50%;
                transform: translate(-50%, -50%);
                transition: width 0.4s ease, height 0.4s ease;
            }

            .custom-dropdown .dropdown-options li:active::after {
                width: 200px;
                height: 200px;
            }

            .custom-dropdown .dropdown-options li i {
                font-size: 1rem;
            }


/* Sorting Dropdown */
.sorting-dropdown {
    position: relative;
    width: 200px;
}

    .sorting-dropdown .dropdown-options {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bs-white);
        border: 1px solid var(--primary-color);
        border-radius: 12px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
        max-height: 200px;
        overflow-y: auto;
        z-index: 10;
        margin-top: 0.25rem;
    }

        .sorting-dropdown .dropdown-options.active {
            display: block;
            animation: slideInDown 0.2s ease-out;
        }

        .sorting-dropdown .dropdown-options li {
            padding: 0.6rem 1rem;
            font-size: 0.95rem;
            color: var(--font-color);
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 0.75rem;
            transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
            position: relative;
            overflow: hidden;
        }

            .sorting-dropdown .dropdown-options li:hover {
                background: var(--secondary-color);
                color: var(--bs-white);
                transform: scale(1.02);
            }

            .sorting-dropdown .dropdown-options li::after {
                content: '';
                position: absolute;
                top: 50%;
                left: 50%;
                width: 0;
                height: 0;
                background: rgba(255, 255, 255, 0.2);
                border-radius: 50%;
                transform: translate(-50%, -50%);
                transition: width 0.4s ease, height 0.4s ease;
            }

            .sorting-dropdown .dropdown-options li:active::after {
                width: 200px;
                height: 200px;
            }

            .sorting-dropdown .dropdown-options li i {
                font-size: 1.2rem;
            }

.price-slider {
    margin-top: 1rem;
}

    .price-slider input[type="range"] {
        width: 100%;
        margin: 0.5rem 0;
        accent-color: var(--secondary-color);
    }

.price-values {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--font-color);
}

.rating-options label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.filter-group input[type="checkbox"] {
    margin-left: 0.5rem;
    accent-color: var(--secondary-color);
}

.filter-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.apply-filters,
.reset-filters {
    flex: 1;
    padding: 0.6rem;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.apply-filters {
    background: var(--primary-color);
    color: var(--bs-white);
}

.reset-filters {
    background: var(--bs-body);
    color: var(--bs-white);
}

    .apply-filters:hover,
    .reset-filters:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    }


/* Products Content */
.products-content {
    flex: 1;
    position: relative;
}

.sorting {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    background: var(--bs-white);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

    .sorting label {
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--font-color);
        display: flex;
        align-items: center;
        gap: 0.4rem;
    }

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 300px);
    gap: 2.5rem;
    justify-content: center;
    position: relative;
    transition: opacity 0.3s ease;
}

    .product-grid.loading {
        opacity: 0.3;
    }

.product-card {
    background-color: var(--bs-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
    position: relative;
    animation: fadeInUp 0.5s ease-out;
    border: 2px solid transparent;
    width: 320px;
}

    .product-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
        border-color: var(--secondary-color);
    }

.discount-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #dc3545;
    color: var(--bs-white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    animation: pulse 2s ease infinite;
    z-index: 1;
}

.image-container {
    position: relative;
    width: 100%;
    height: 280px;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease;
}

.primary-image {
    opacity: 1;
}

.secondary-image {
    opacity: 0;
}

.product-card:hover .primary-image {
    opacity: 0;
}

.product-card:hover .secondary-image {
    opacity: 1;
}

.product-info {
    padding: 1.5rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

    .product-info h3 {
        font-size: 1.4rem;
        font-weight: 600;
        margin-bottom: 0.75rem;
        color: var(--font-color);
    }

.rating {
    margin-bottom: 0.75rem;
    color: var(--secondary-color);
    font-size: 1rem;
}

    .rating i {
        margin: 0 2px;
    }

.price-container {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.original-price {
    font-size: 1.1rem;
    color: var(--bs-body);
    text-decoration: line-through;
}

.current-price {
    font-size: 1.3rem;
    color: var(--secondary-color);
    font-weight: 700;
}

.product-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.product-info button {
    flex: 1;
    background-color: var(--primary-color);
    color: var(--bs-white);
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

    .product-info button:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
        background-color: var(--secondary-color);
    }

    .product-info button:disabled {
        background-color: var(--bs-body);
        cursor: not-allowed;
        opacity: 0.7;
    }

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2.5rem;
}

    .pagination button {
        background: var(--bs-white);
        color: var(--font-color);
        border: 1px solid var(--bs-body);
        padding: 0.75rem 1.25rem;
        border-radius: 12px;
        font-size: 1rem;
        cursor: pointer;
        transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    }

        .pagination button:hover {
            background: var(--secondary-color);
            color: var(--bs-white);
            transform: scale(1.05);
        }

        .pagination button.active {
            background: var(--primary-color);
            color: var(--bs-white);
            border-color: var(--primary-color);
        }

        .pagination button:disabled {
            background: var(--bs-body);
            color: var(--bs-white);
            cursor: not-allowed;
            opacity: 0.7;
        }

/* Responsive Design */
@media (max-width: 1024px) {
    .products-container {
        flex-direction: column;
    }

    .filters {
        flex: none;
        width: 100%;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fit, 300px);
    }

    .section-header {
        min-height: 350px;
    }

    .header-content h1 {
        font-size: 2.8rem;
    }

    .header-content p {
        font-size: 1.1rem;
    }

    .modal-body {
        flex-direction: column;
        gap: 1.5rem;
    }

    .image-slider {
        width: 100%;
    }

        .image-slider img {
            height: 250px;
        }
}

@media (max-width: 768px) {
    .filters {
        padding: 1.25rem;
    }

    .filter-header .toggle-filters {
        display: block;
    }

    .filter-content {
        display: none;
    }

        .filter-content.active {
            display: block;
            animation: slideInDown 0.3s ease-out;
        }

    .product-grid {
        grid-template-columns: repeat(auto-fit, 300px);
    }

    .sorting {
        padding: 0.75rem;
    }

    .sorting-dropdown {
        width: 150px;
    }

        .sorting-dropdown .dropdown-selected {
            font-size: 0.85rem;
        }

        .sorting-dropdown .dropdown-options li {
            font-size: 0.85rem;
            padding: 0.5rem 0.75rem;
        }

            .sorting-dropdown .dropdown-options li i {
                font-size: 1rem;
            }

    .section-header {
        min-height: 300px;
    }

    .header-content h1 {
        font-size: 2.2rem;
    }

        .header-content h1 i {
            font-size: 1.8rem;
        }

    .header-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .wave {
        height: 80px;
    }

    .product-actions {
        flex-direction: column;
        gap: 0.5rem;
    }

    .toast-notification {
        width: 80%;
        right: -100%;
        padding: 0.75rem 1rem;
    }

        .toast-notification.active {
            right: 5%;
        }

        .toast-notification i {
            font-size: 1.5rem;
        }

    .toast-close {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .image-container {
        height: 200px;
    }

    .product-info h3 {
        font-size: 1.2rem;
    }

    .original-price {
        font-size: 1rem;
    }

    .current-price {
        font-size: 1.2rem;
    }

    .pagination button {
        padding: 0.5rem 1rem;
    }

    .section-header {
        min-height: 250px;
    }

    .header-content h1 {
        font-size: 1.8rem;
    }

        .header-content h1 i {
            font-size: 1.4rem;
        }

    .header-content p {
        font-size: 0.9rem;
    }

    .modal-details h3 {
        font-size: 1.5rem;
    }

    .modal-details .price-container span {
        font-size: 1.3rem;
    }

    .image-slider img {
        height: 200px;
    }

    .modal-details p {
        font-size: 0.95rem;
    }

    .specifications h4 {
        font-size: 1.1rem;
    }

    .specifications li {
        font-size: 0.9rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}





/*////////////////////////////////////////////////// Responsive Design //////////////////////////////////////////////*/
/* Responsive Design for Offers */
@media (max-width: 1024px) {
    .slider-item img {
        height: 400px;
    }

    .slider-item .offer-content {
        padding: 1rem 2rem;
    }

    .slider-item h3 {
        font-size: 1.8rem;
    }

    .slider-item p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .slider-item img {
        height: 300px;
    }

    .slider-item .offer-content {
        bottom: 20px;
        right: 20px;
        padding: 1rem 1.5rem;
    }

    .slider-item h3 {
        font-size: 1.4rem;
    }

    .slider-item p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .slider-item img {
        height: 250px;
    }
}

/* General Responsive Design */
@media (max-width: 1024px) {
    .nav-center {
        gap: 1.5rem;
    }

    .search-bar {
        width: 500px;
    }

    .hero {
        height: 500px;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

    .category-links-grid {
        gap: 1rem;
    }

    .category-link {
        min-width: 160px;
    }

    .product-grid-home {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .contact form {
        grid-template-columns: 1fr;
    }

    .contact textarea, .contact button {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    nav {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
    }

    .logo {
        order: 2;
        flex-grow: 1;
        text-align: center;
    }

        .logo img {
            height: 40px;
        }

    .hamburger {
        display: flex;
        align-items: center;
        order: 1;
    }

    .mobile-actions {
        display: flex;
        order: 3;
    }

    .nav-center {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 130%;
        right: 0;
        border-radius: 10px;
        background: var(--primary-color);
        width: 100%;
        padding: 1.5rem;
        text-align: center;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        z-index: 1000;
    }

        .nav-center.active {
            display: flex;
        }

    .nav-links {
        flex-direction: column;
        gap: 1.5rem;
    }

    .dropdown-menu, .sub-dropdown-menu {
        position: static;
        box-shadow: none;
        background: var(--bs-light);
        opacity: 1;
        transform: none;
        border-radius: 8px;
        margin-top: 0.5rem;
    }

    .sub-dropdown-menu {
        position: static;
        transform: none;
    }

    .search-bar {
        position: static;
        width: 100%;
        margin: 1rem 0;
        display: none;
        transform: none;
    }

        .search-bar.active {
            justify-self: center;
            display: flex;
            animation: slideInDown 0.3s ease-out;
        }

    .nav-actions {
        display: none;
    }

    .hero {
        height: 400px;
        margin-top: 0;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .hero-text button, .hero-text a {
        padding: 0.75rem 2rem;
        font-size: 1rem;
    }

    .category-link {
        min-width: 140px;
    }

        .category-link i {
            font-size: 2.5rem;
        }

    .product-card img {
        height: 200px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-about .social-icons, .footer-bottom-links {
        justify-content: center;
    }

    .newsletter-form {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 35px;
    }

    .hamburger, .mobile-actions i {
        font-size: 1.8rem;
        padding: 0.4rem;
    }

    .hero {
        height: 300px;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-text p {
        font-size: 0.9rem;
    }

    .category-link {
        font-size: 1rem;
        padding: 1rem;
        min-width: 120px;
    }

        .category-link i {
            font-size: 2rem;
        }

    .products h2, .offers h2, .contact h2 {
        font-size: 2rem;
    }

    .product-grid-home {
        grid-template-columns: 1fr;
    }
}

@keyframes slideInDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}
/*////////////////////////////////////////////////// Responsive Design //////////////////////////////////////////////*/

.loading {
    font-size: 1.2em;
    color: #333;
}

    .loading .bi-arrow-repeat {
        animation: spin 1s linear infinite;
    }
   @keyframes spin {
        100%

    {
        transform: rotate(360deg);
    }

    }





/*.sub-dropdown-menu{
    position:unset;
}
.dropdown-menu{
    overflow:scroll;
    height:450px;
}*/