:root {
    --mainColor: #BA55D3;
    --secondaryColor: #9333EA;
    --headerGradient: linear-gradient(135deg, rgba(186, 85, 211, 0.95) 0%, rgba(147, 51, 234, 0.95) 100%);
}

/* أنيميشن للهيدر عند تحميل الصفحة */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

* {
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.main-container {
    padding-inline: 15px;
    margin-inline: auto;
}

@media (min-width: 768px) {
    .main-container {
        width: 750px;
    }
}

@media (min-width: 992px) {
    .main-container {
        width: 970px;
    }
}

@media (min-width: 1200px) {
    .main-container {
        width: 1170px;
    }
}

@media (min-width: 1400px) {
    .main-container {
        width: 1270px;
    }
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background-color: #FFF;
}

::-webkit-scrollbar-thumb {
    background-color: var(--mainColor);
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding-block: 20px;
    background: linear-gradient(135deg, rgba(186, 85, 211, 0.95) 0%, rgba(147, 51, 234, 0.95) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px 0 rgba(186, 85, 211, 0.2);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideDown 0.6s ease-out;

    &.scrolled {
        padding-block: 12px;
        background: linear-gradient(135deg, rgba(186, 85, 211, 0.98) 0%, rgba(147, 51, 234, 0.98) 100%);
        box-shadow: 0 12px 40px 0 rgba(186, 85, 211, 0.35);
    }

    .main-container {
        display: flex;
        align-items: center;
        justify-content: space-between;

        .logo {
            width: 90px;
            transition: transform 0.3s ease;
            filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));

            &:hover {
                transform: scale(1.05) rotate(-2deg);
            }

            img {
                width: 200%;
                border-radius: 12px;
            }
        }

        nav {
            display: flex;
            align-items: center;
            gap: 40px;

            a {
                position: relative;
                font-size: 18px;
                font-weight: 600;
                color: #ffffff;
                padding: 8px 16px;
                border-radius: 8px;
                transition: all 0.3s ease;
                text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

                &::before {
                    content: '';
                    position: absolute;
                    bottom: 0;
                    left: 50%;
                    width: 0;
                    height: 3px;
                    background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.7));
                    transform: translateX(-50%);
                    transition: width 0.3s ease;
                    border-radius: 2px;
                }

                &:hover {
                    background: rgba(255, 255, 255, 0.15);
                    transform: translateY(-2px);

                    &::before {
                        width: 80%;
                    }
                }

                &:active {
                    transform: translateY(0);
                }
            }

            .close {
                display: none;
            }
        }

        .menu-icon {
            display: none;
        }
    }
}

/* إضافة مسافة للمحتوى بسبب الهيدر الثابت */
body {
    padding-top: 100px;
}

section.telecom {
    margin-top: 20px;

    .main-container {
        min-height: 650px;
        background: linear-gradient(135deg, rgba(186, 85, 211, 0.1) 0%, rgba(147, 51, 234, 0.1) 100%),
            url("../images/bg2-2.jpg");
        background-size: cover;
        background-position: center;
        display: flex;
        align-items: center;
        border-radius: 30px;
        overflow: hidden;
        position: relative;
        box-shadow: 0 20px 60px rgba(186, 85, 211, 0.3);

        &::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%);
            z-index: 1;
        }

        .content {
            width: 50%;
            color: #FFF;
            padding: 50px;
            position: relative;
            z-index: 2;
            animation: fadeInLeft 1s ease-out;

            h1 {
                font-size: 56px;
                font-weight: 800;
                margin-bottom: 25px;
                line-height: 1.2;
                text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
                background: linear-gradient(135deg, #ffffff 0%, #f0e6ff 100%);
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
                background-clip: text;

                span {
                    color: var(--mainColor);
                    display: block;
                    margin-top: 10px;
                }
            }

            p {
                font-size: 20px;
                line-height: 1.6;
                font-weight: 400;
                text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
                opacity: 0.95;
            }
        }

        .slider {
            width: 50%;
            position: relative;
            z-index: 2;
            padding: 40px 20px;

            .slider-one {
                .slick-slide {
                    padding: 0 15px;

                    img {
                        margin-inline: auto;
                        border-radius: 20px;
                        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
                        transition: transform 0.4s ease, box-shadow 0.4s ease;
                        border: 3px solid rgba(255, 255, 255, 0.2);

                        &:hover {
                            transform: scale(1.05) translateY(-10px);
                            box-shadow: 0 25px 70px rgba(186, 85, 211, 0.5);
                        }
                    }
                }

                .slick-dots {
                    bottom: -40px;

                    li {
                        margin: 0 8px;

                        button:before {
                            content: "";
                            background: linear-gradient(135deg, var(--mainColor) 0%, var(--secondaryColor) 100%);
                            width: 40px;
                            height: 8px;
                            border-radius: 10px;
                            opacity: 0.5;
                            transition: all 0.3s ease;
                        }

                        &:hover button:before {
                            opacity: 0.8;
                            transform: scale(1.1);
                        }
                    }

                    li.slick-active button:before {
                        opacity: 1;
                        width: 50px;
                        box-shadow: 0 4px 15px rgba(186, 85, 211, 0.6);
                    }
                }

                .slick-arrow {
                    width: 50px;
                    height: 50px;
                    background: rgba(255, 255, 255, 0.2);
                    backdrop-filter: blur(10px);
                    border-radius: 50%;
                    z-index: 10;
                    transition: all 0.3s ease;

                    &:hover {
                        background: rgba(186, 85, 211, 0.8);
                        transform: scale(1.1);
                    }

                    &::before {
                        font-size: 24px;
                        color: #fff;
                    }
                }
            }
        }
    }
}

/* أنيميشن للمحتوى */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

section.categories {
    margin-block: 100px;
    position: relative;
    overflow: hidden;

    &::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 600px;
        height: 600px;
        background: radial-gradient(circle, rgba(186, 85, 211, 0.1) 0%, transparent 70%);
        transform: translate(-50%, -50%);
        pointer-events: none;
    }

    .main-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 40px;
        position: relative;
        z-index: 1;

        .category {
            position: relative;
            cursor: pointer;
            perspective: 1000px;
            animation: fadeInUp 0.8s ease-out backwards;

            &:nth-child(1) {
                animation-delay: 0.1s;
            }

            &:nth-child(2) {
                animation-delay: 0.2s;
            }

            &:nth-child(3) {
                animation-delay: 0.3s;
            }

            &:nth-child(4) {
                animation-delay: 0.4s;
            }

            &::before {
                content: '';
                position: absolute;
                top: 50%;
                left: 50%;
                width: 0;
                height: 0;
                background: radial-gradient(circle, rgba(186, 85, 211, 0.3), transparent);
                border-radius: 50%;
                transform: translate(-50%, -50%);
                transition: width 0.6s ease, height 0.6s ease;
                z-index: 0;
            }

            &:hover::before {
                width: 300px;
                height: 300px;
            }

            img {
                display: block;
                width: 100%;
                aspect-ratio: 1;
                object-fit: cover;
                border-radius: 50%;
                border: 5px solid transparent;
                background: linear-gradient(white, white) padding-box,
                    linear-gradient(135deg, var(--mainColor), var(--secondaryColor)) border-box;
                box-shadow: 0 10px 40px rgba(186, 85, 211, 0.2);
                transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
                position: relative;
                z-index: 1;
            }

            &:hover img {
                transform: scale(1.08) translateY(-15px) rotateY(5deg);
                box-shadow: 0 25px 60px rgba(186, 85, 211, 0.4),
                    0 0 0 8px rgba(186, 85, 211, 0.1);
                border-width: 6px;
            }

            p {
                text-align: center;
                width: 85%;
                max-width: 220px;
                background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
                box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12),
                    0 0 0 1px rgba(186, 85, 211, 0.1);
                padding: 18px 25px;
                margin-inline: auto;
                border-radius: 50px;
                font-size: 18px;
                font-weight: 700;
                color: var(--mainColor);
                transform: translateY(-30px);
                transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
                position: relative;
                z-index: 2;
                letter-spacing: 0.5px;

                &::before {
                    content: '';
                    position: absolute;
                    inset: 0;
                    border-radius: 50px;
                    padding: 2px;
                    background: linear-gradient(135deg, var(--mainColor), var(--secondaryColor));
                    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
                    -webkit-mask-composite: xor;
                    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
                    mask-composite: exclude;
                    opacity: 0;
                    transition: opacity 0.3s ease;
                }
            }

            &:hover p {
                background: linear-gradient(135deg, var(--mainColor) 0%, var(--secondaryColor) 100%);
                color: #FFF;
                transform: translateY(-40px) scale(1.05);
                box-shadow: 0 15px 45px rgba(186, 85, 211, 0.4),
                    0 0 30px rgba(186, 85, 211, 0.3);

                &::before {
                    opacity: 1;
                }
            }

            &:active {
                transform: scale(0.98);
            }
        }
    }
}

/* أنيميشن ظهور المنتجات */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section.about-us {
    margin-block: 100px;
    position: relative;

    .main-container {
        background: linear-gradient(135deg, rgba(186, 85, 211, 0.15) 0%, rgba(147, 51, 234, 0.15) 100%),
            url("../images/bg2-1.jpg");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        min-height: 700px;
        color: #FFF;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 60px 70px;
        border-radius: 30px;
        position: relative;
        overflow: hidden;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);

        &::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 100%);
            z-index: 1;
        }

        &::after {
            content: '';
            position: absolute;
            top: -50%;
            right: -10%;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(186, 85, 211, 0.2) 0%, transparent 70%);
            border-radius: 50%;
            z-index: 1;
        }

        h2 {
            font-size: 56px;
            font-weight: 800;
            margin-bottom: 30px;
            position: relative;
            z-index: 2;
            animation: fadeInDown 1s ease-out;
            background: linear-gradient(135deg, #ffffff 0%, #e0d4ff 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
            letter-spacing: 1px;

            &::after {
                content: '';
                position: absolute;
                bottom: -15px;
                left: 0;
                width: 120px;
                height: 5px;
                background: linear-gradient(90deg, var(--mainColor), var(--secondaryColor));
                border-radius: 10px;
                box-shadow: 0 4px 15px rgba(186, 85, 211, 0.5);
            }
        }

        p {
            width: 60%;
            font-size: 19px;
            line-height: 2;
            font-weight: 400;
            margin-bottom: 25px;
            position: relative;
            z-index: 2;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
            animation: fadeInUp 1s ease-out backwards;
            background: rgba(255, 255, 255, 0.05);
            padding: 25px 30px;
            border-radius: 15px;
            backdrop-filter: blur(5px);
            border-left: 4px solid rgba(186, 85, 211, 0.6);
            transition: all 0.3s ease;

            &:nth-of-type(1) {
                animation-delay: 0.2s;
            }

            &:nth-of-type(2) {
                animation-delay: 0.4s;
            }

            &:nth-of-type(3) {
                animation-delay: 0.6s;
            }

            &:hover {
                background: rgba(255, 255, 255, 0.1);
                transform: translateX(10px);
                border-left-color: var(--mainColor);
                box-shadow: 0 10px 30px rgba(186, 85, 211, 0.3);
            }

            strong {
                color: var(--mainColor);
                font-weight: 700;
                text-shadow: 0 2px 8px rgba(186, 85, 211, 0.5);
                background: linear-gradient(135deg, #ffffff 0%, var(--mainColor) 100%);
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
                background-clip: text;
                position: relative;

                &::after {
                    content: '';
                    position: absolute;
                    bottom: -2px;
                    left: 0;
                    width: 100%;
                    height: 2px;
                    background: linear-gradient(90deg, var(--mainColor), transparent);
                    opacity: 0.5;
                }
            }
        }
    }
}

/* أنيميشن للعنوان */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section.brands {
    margin-block: 100px;
    position: relative;
    overflow: hidden;

    &::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 800px;
        height: 800px;
        background: radial-gradient(circle, rgba(186, 85, 211, 0.08) 0%, transparent 70%);
        transform: translate(-50%, -50%);
        pointer-events: none;
        animation: pulse 8s ease-in-out infinite;
    }

    .main-container {
        background: linear-gradient(135deg, rgba(186, 85, 211, 0.05) 0%, rgba(147, 51, 234, 0.05) 100%),
            url("../images/bg4-1.jpg");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        padding: 60px 40px;
        border-radius: 30px;
        min-height: 500px;
        position: relative;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
        overflow: hidden;

        &::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 255, 0.95) 100%);
            z-index: 1;
        }

        h2 {
            position: relative;
            z-index: 2;
            background: linear-gradient(135deg, var(--mainColor) 0%, var(--secondaryColor) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-align: center;
            font-size: 52px;
            font-weight: 800;
            margin-bottom: 20px;
            animation: fadeInDown 0.8s ease-out;
            letter-spacing: 1px;

            &::after {
                content: '';
                position: absolute;
                bottom: -15px;
                left: 50%;
                transform: translateX(-50%);
                width: 100px;
                height: 4px;
                background: linear-gradient(90deg, var(--mainColor), var(--secondaryColor));
                border-radius: 10px;
                box-shadow: 0 4px 15px rgba(186, 85, 211, 0.4);
            }
        }

        >p {
            position: relative;
            z-index: 2;
            text-align: center;
            color: #486183;
            font-size: 20px;
            font-weight: 500;
            margin-bottom: 50px;
            animation: fadeInUp 0.8s ease-out 0.2s backwards;
        }

        .all-brands {
            position: relative;
            z-index: 2;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 35px;
            align-items: center;
            justify-content: center;
            margin-top: 40px;

            img {
                width: 100%;
                height: 180px;
                object-fit: contain;
                padding: 30px;
                background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
                border-radius: 20px;
                box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
                transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
                cursor: pointer;
                position: relative;
                border: 2px solid transparent;
                animation: fadeInScale 0.8s ease-out backwards;

                &:nth-child(1) {
                    animation-delay: 0.3s;
                }

                &:nth-child(2) {
                    animation-delay: 0.4s;
                }

                &:nth-child(3) {
                    animation-delay: 0.5s;
                }

                &:nth-child(4) {
                    animation-delay: 0.6s;
                }

                &::before {
                    content: '';
                    position: absolute;
                    inset: -2px;
                    background: linear-gradient(135deg, var(--mainColor), var(--secondaryColor));
                    border-radius: 20px;
                    opacity: 0;
                    transition: opacity 0.3s ease;
                    z-index: -1;
                }

                &:hover {
                    transform: translateY(-15px) scale(1.05);
                    box-shadow: 0 25px 60px rgba(186, 85, 211, 0.25),
                        0 0 0 8px rgba(186, 85, 211, 0.1);
                    border-color: rgba(186, 85, 211, 0.3);

                    &::before {
                        opacity: 1;
                    }
                }

                &:active {
                    transform: translateY(-10px) scale(1.02);
                }
            }
        }
    }
}

/* أنيميشن للشعارات */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* أنيميشن النبض */
@keyframes pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
}

section.products {
    margin-block: 100px;

    .main-container {
        background: linear-gradient(135deg, rgba(8, 8, 8, 0.95), rgba(30, 0, 40, 0.95)),
            url("../images/bg2-2.jpg");
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
        border-radius: 40px;
        color: #FFF;
        padding: 80px 40px;
        position: relative;
        overflow: hidden;
        box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);

        &::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at center, rgba(186, 85, 211, 0.15), transparent 70%);
            pointer-events: none;
        }

        h2 {
            font-size: 56px;
            font-weight: 800;
            text-align: center;
            margin-bottom: 60px;
            position: relative;
            z-index: 2;
            background: linear-gradient(135deg, #fff 0%, #e0e0e0 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            letter-spacing: 2px;
            text-transform: uppercase;

            &::after {
                content: '';
                display: block;
                width: 80px;
                height: 6px;
                background: linear-gradient(90deg, var(--mainColor), var(--secondaryColor));
                margin: 20px auto 0;
                border-radius: 20px;
                box-shadow: 0 0 20px rgba(186, 85, 211, 0.6);
            }
        }

        .all-products {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 40px;
            perspective: 1000px;

            .product {
                text-align: center;
                position: relative;
                background: rgba(255, 255, 255, 0.03);
                border-radius: 30px;
                padding: 40px 30px;
                border: 1px solid rgba(255, 255, 255, 0.1);
                backdrop-filter: blur(10px);
                transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
                overflow: hidden;

                &::before {
                    content: '';
                    position: absolute;
                    inset: 0;
                    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
                    z-index: -1;
                    opacity: 0;
                    transition: opacity 0.5s ease;
                }

                &:hover {
                    transform: translateY(-20px) scale(1.02);
                    background: rgba(255, 255, 255, 0.08);
                    border-color: rgba(186, 85, 211, 0.4);
                    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4),
                        0 0 0 1px rgba(186, 85, 211, 0.2);

                    &::before {
                        opacity: 1;
                    }

                    img {
                        transform: scale(1.1) rotate(5deg);
                        filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
                    }

                    h3 {
                        color: var(--mainColor);
                        letter-spacing: 2px;

                        &::after {
                            width: 100%;
                            background: var(--mainColor);
                        }
                    }
                }

                img {
                    width: 100%;
                    height: 300px;
                    object-fit: contain;
                    margin-bottom: 30px;
                    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
                    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
                }

                h3 {
                    font-size: 28px;
                    font-weight: 700;
                    color: #fff;
                    margin: 0;
                    padding-bottom: 15px;
                    position: relative;
                    display: inline-block;
                    transition: all 0.3s ease;

                    &::after {
                        content: '';
                        position: absolute;
                        bottom: 0;
                        left: 50%;
                        transform: translateX(-50%);
                        width: 50px;
                        height: 3px;
                        background: rgba(255, 255, 255, 0.3);
                        border-radius: 10px;
                        transition: all 0.4s ease;
                    }
                }
            }
        }
    }
}

section.contact-us {
    margin-block: 100px;
    position: relative;

    .main-container {
        background: linear-gradient(135deg, #F7FAFE 0%, #edf2f9 100%);
        padding: 60px 50px;
        border-radius: 40px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
        position: relative;
        overflow: hidden;

        &::before {
            content: '';
            position: absolute;
            top: -100px;
            right: -100px;
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(186, 85, 211, 0.1), transparent 70%);
            border-radius: 50%;
        }

        h2 {
            text-align: center;
            margin-bottom: 50px;
            font-size: 48px;
            font-weight: 800;
            background: linear-gradient(135deg, var(--mainColor), var(--secondaryColor));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            position: relative;

            &::after {
                content: '';
                display: block;
                width: 60px;
                height: 5px;
                background: linear-gradient(90deg, var(--mainColor), var(--secondaryColor));
                margin: 15px auto 0;
                border-radius: 10px;
            }
        }

        >div {
            display: flex;
            align-items: stretch;
            gap: 40px;
            position: relative;
            z-index: 1;

            form {
                width: 50%;
                display: flex;
                flex-direction: column;
                background: rgba(255, 255, 255, 0.7);
                padding: 40px;
                border-radius: 30px;
                backdrop-filter: blur(10px);
                border: 1px solid rgba(255, 255, 255, 0.5);
                box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);

                label {
                    margin-bottom: 8px;
                    color: #486183;
                    font-weight: 600;
                    margin-left: 10px;
                    font-size: 15px;
                }

                input,
                textarea {
                    margin-bottom: 25px;
                    border: 2px solid transparent;
                    background: #fff;
                    font-size: 16px;
                    padding: 15px 25px;
                    border-radius: 20px;
                    outline: none;
                    transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
                    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
                    color: #333;
                    width: 100%;
                }

                input:focus,
                textarea:focus {
                    border-color: var(--mainColor);
                    background: #fff;
                    transform: translateY(-2px);
                    box-shadow: 0 8px 25px rgba(186, 85, 211, 0.15);
                }

                textarea {
                    height: 180px;
                    resize: none;
                }

                button {
                    margin-top: 10px;
                    width: 100%;
                    padding: 16px;
                    border-radius: 20px;
                    background: linear-gradient(135deg, var(--mainColor) 0%, var(--secondaryColor) 100%);
                    color: #FFF;
                    border: none;
                    font-size: 18px;
                    font-weight: 600;
                    cursor: pointer;
                    transition: all 0.3s ease;
                    box-shadow: 0 10px 20px rgba(186, 85, 211, 0.3);
                    position: relative;
                    overflow: hidden;

                    &:hover {
                        transform: translateY(-3px);
                        box-shadow: 0 15px 30px rgba(186, 85, 211, 0.4);
                    }

                    &:active {
                        transform: translateY(-1px);
                    }
                }
            }

            .map {
                width: 50%;
                border-radius: 30px;
                overflow: hidden;
                box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
                border: 8px solid #fff;
                position: relative;

                &::before {
                    content: '';
                    position: absolute;
                    inset: 0;
                    border-radius: 22px;
                    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.1);
                    pointer-events: none;
                    z-index: 2;
                }

                iframe {
                    width: 100%;
                    height: 100%;
                    filter: grayscale(0.2) contrast(1.1);
                    transition: all 0.5s ease;
                }

                &:hover iframe {
                    filter: grayscale(0) contrast(1);
                    transform: scale(1.02);
                }
            }
        }
    }
}

footer {
    margin-top: 100px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #fff;
    padding-top: 80px;
    position: relative;
    overflow: hidden;

    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background: linear-gradient(90deg, var(--mainColor), var(--secondaryColor));
    }

    .main-container {
        display: grid;
        grid-template-columns: 1fr 2fr;
        gap: 60px;
        align-items: center;
        padding: 0 40px 60px;
        position: relative;
        z-index: 1;

        .logo {
            text-align: center;

            img {
                width: 280px;
                filter: brightness(0) invert(1);
                opacity: 0.9;
                transition: all 0.3s ease;

                &:hover {
                    opacity: 1;
                    transform: scale(1.05);
                    filter: drop-shadow(0 0 20px rgba(186, 85, 211, 0.5));
                }
            }
        }

        .details {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 40px;

            span {
                display: flex;
                align-items: center;
                gap: 20px;
                font-size: 18px;
                color: #e0e0e0;
                padding: 20px;
                background: rgba(255, 255, 255, 0.05);
                border-radius: 20px;
                transition: all 0.3s ease;
                border: 1px solid rgba(255, 255, 255, 0.05);

                &:hover {
                    transform: translateY(-5px);
                    background: rgba(255, 255, 255, 0.1);
                    border-color: var(--mainColor);

                    i {
                        color: #fff;
                        transform: scale(1.2) rotate(10deg);
                        background: var(--mainColor);
                        box-shadow: 0 0 20px rgba(186, 85, 211, 0.6);
                    }
                }

                i {
                    font-size: 24px;
                    color: var(--mainColor);
                    width: 50px;
                    height: 50px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    background: rgba(255, 255, 255, 0.1);
                    border-radius: 50%;
                    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
                }

                a {
                    color: inherit;
                    transition: color 0.3s ease;

                    &:hover {
                        color: #fff;
                    }
                }
            }

            p {
                display: none;
            }
        }
    }

    .powered {
        background: rgba(0, 0, 0, 0.3);
        padding: 25px;
        text-align: center;
        font-size: 16px;
        color: #aaa;
        border-top: 1px solid rgba(255, 255, 255, 0.05);

        span {
            color: var(--mainColor);
            font-weight: 600;
        }
    }
}

.to-top {
    position: fixed;
    bottom: 70px;
    right: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    padding: 25px;
    width: 35px;
    height: 35px;
    background-color: var(--mainColor);
    color: #FFF;
    font-size: 25px;
    border-radius: 50%;
    cursor: pointer;
    transform: translateX(200%);
    transition: all .3s;
}

.active {
    transform: translateX(0);
}

@media (max-width: 767px) {
    * {
        cursor: auto !important;
    }

    header {
        .main-container {
            nav {
                position: fixed;
                top: 0;
                left: 0;
                background: linear-gradient(135deg, rgba(186, 85, 211, 0.98) 0%, rgba(147, 51, 234, 0.98) 100%);
                width: 75%;
                height: 100vh;
                flex-direction: column;
                z-index: 9999;
                justify-content: center;
                backdrop-filter: blur(20px);
                -webkit-backdrop-filter: blur(20px);
                transform: translateX(-150%);
                transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
                box-shadow: 4px 0 24px rgba(0, 0, 0, 0.3);

                a {
                    color: #FFF;
                    font-size: 20px;
                    padding: 15px 30px;
                    width: 80%;
                    text-align: center;
                    border-radius: 12px;

                    &:hover {
                        background: rgba(255, 255, 255, 0.2);
                    }
                }

                .close {
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    position: absolute;
                    top: 20px;
                    right: 20px;
                    font-size: 28px;
                    font-weight: bold;
                    color: #FFF;
                    width: 40px;
                    height: 40px;
                    background: rgba(255, 255, 255, 0.2);
                    border-radius: 50%;
                    cursor: pointer;
                    transition: all 0.3s ease;

                    &:hover {
                        background: rgba(255, 255, 255, 0.3);
                        transform: rotate(90deg);
                    }
                }
            }

            .active {
                transform: translateX(0);
            }

            .menu-icon {
                display: block;
                width: 45px;
                height: 45px;
                background: rgba(255, 255, 255, 0.2);
                border: 2px solid rgba(255, 255, 255, 0.3);
                border-radius: 10px;
                cursor: pointer;
                padding: 8px;
                transition: all 0.3s ease;

                &:hover {
                    background: rgba(255, 255, 255, 0.3);
                    transform: scale(1.05);
                }

                img {
                    width: 100%;
                    filter: brightness(0) invert(1);
                }
            }
        }
    }

    section.telecom {
        width: 95%;
        margin-inline: auto;

        .main-container {
            flex-direction: column;
            min-height: auto;
            padding: 30px 20px;

            .content {
                width: 100%;
                text-align: center;
                padding: 20px;

                h1 {
                    font-size: 32px;
                    font-weight: 700;
                    margin-bottom: 15px;
                }

                p {
                    font-size: 16px;
                }
            }

            .slider {
                width: 100%;
                padding: 20px 10px;

                .slider-one {
                    .slick-slide img {
                        width: 100%;
                        max-width: 300px;
                    }

                    .slick-arrow {
                        width: 40px;
                        height: 40px;

                        &::before {
                            font-size: 18px;
                        }
                    }

                    .slick-dots {
                        bottom: -30px;

                        li button:before {
                            width: 30px;
                            height: 6px;
                        }

                        li.slick-active button:before {
                            width: 35px;
                        }
                    }
                }
            }
        }
    }

    section.categories {
        margin-block: 60px;

        .main-container {
            gap: 30px;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));

            .category {
                img {
                    width: 85%;
                    margin-inline: auto;
                }

                p {
                    font-size: 16px;
                    padding: 15px 20px;
                    width: 90%;
                    max-width: 200px;
                }

                &:hover img {
                    transform: scale(1.05) translateY(-10px);
                }

                &:hover p {
                    transform: translateY(-35px) scale(1.03);
                }
            }
        }
    }

    section.about-us {
        margin-block: 60px;

        .main-container {
            width: 95%;
            margin-inline: auto;
            background: linear-gradient(135deg, rgba(186, 85, 211, 0.2) 0%, rgba(147, 51, 234, 0.2) 100%),
                linear-gradient(135deg, #486183 0%, #5a7199 100%);
            padding: 40px 25px;
            text-align: center;
            min-height: auto;

            h2 {
                font-size: 36px;
                margin-bottom: 25px;

                &::after {
                    left: 50%;
                    transform: translateX(-50%);
                    width: 80px;
                }
            }

            p {
                width: 100%;
                font-size: 16px;
                line-height: 1.8;
                padding: 20px;
                margin-bottom: 20px;

                &:hover {
                    transform: translateX(0) scale(1.02);
                }
            }
        }
    }

    section.brands {
        .main-container {
            width: 95%;
            margin-inline: auto;

            .all-brands {
                gap: 15px;
                flex-wrap: wrap;

                img {
                    width: 100%;
                    height: 100px;
                }
            }
        }
    }

    section.products {
        margin-block: 60px;

        .main-container {
            padding: 40px 20px;

            h2 {
                font-size: 32px;
                margin-bottom: 40px;
            }

            .all-products {
                grid-template-columns: 1fr;
                gap: 30px;

                .product {
                    padding: 30px 20px;

                    img {
                        height: 250px;
                    }

                    h3 {
                        font-size: 24px;
                    }
                }
            }
        }
    }

    section.contact-us {
        margin-block: 60px;

        .main-container {
            width: 95%;
            margin-inline: auto;
            padding: 40px 20px;

            h2 {
                font-size: 32px;
                margin-bottom: 30px;
            }

            >div {
                flex-direction: column;
                gap: 30px;

                form {
                    width: 100%;
                    padding: 25px;
                }

                .map {
                    width: 100%;
                    height: 300px;
                }
            }
        }
    }

    footer {
        padding-top: 60px;

        .main-container {
            grid-template-columns: 1fr;
            gap: 40px;
            padding: 0 20px 40px;

            .logo {
                img {
                    width: 200px;
                }
            }

            .details {
                grid-template-columns: 1fr;
                gap: 20px;

                span {
                    font-size: 16px;
                    padding: 15px;
                    justify-content: center;
                    flex-direction: column;
                    text-align: center;
                }
            }
        }
    }

    .to-top {
        right: 20px;
    }
}

/* تنسيق الأزرار العائمة */
.to-top,
.call-button,
.whatsapp-btn {
    position: fixed;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 0 0 4px rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
    text-decoration: none;

    &:hover {
        transform: scale(1.1) translateY(-5px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), 0 0 0 6px rgba(255, 255, 255, 0.2);
    }

    &:active {
        transform: scale(0.95);
    }
}

.to-top {
    bottom: 30px;
    background: linear-gradient(135deg, var(--mainColor), var(--secondaryColor));
    opacity: 0;
    pointer-events: none;

    &.active {
        opacity: 1;
        pointer-events: auto;
        bottom: 30px;
    }
}

.call-button {
    bottom: 105px;
    background: linear-gradient(135deg, #007bff, #0056b3);
}

.whatsapp-btn {
    bottom: 180px;
    background: linear-gradient(135deg, #25D366, #128C7E);

    i {
        font-size: 32px;
    }
}