.fixed-icons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    animation: fadeIn 0.8s ease forwards;
    opacity: 0;
}

.icon svg {
    width: 28px;
    height: 28px;
    fill: #ffffff;
    transition: transform 0.3s ease, fill 0.3s ease;
}

.icon:hover {
    transform: scale(1.2) rotate(10deg);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.icon:hover svg {
    fill: #f8f9fa;
}

.icon:hover::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    animation: pulse 1.5s infinite;
}

.phone-icon {
    background-color: #007bff;
    /* اللون الأزرق لاتصال */
}

.whatsapp-icon {
    background-color: #25d366;
    /* اللون الأخضر لواتساب */
}

@keyframes fadeIn {
    from {
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* 
Mobile Responsive Styles
*/

/* ========== MOBILE OPTIMIZATION ========== */

/* Fixed Icons - Mobile Responsive */
@media (max-width: 640px) {
    .fixed-icons {
        bottom: 10px;
        right: 10px;
        gap: 10px;
    }

    .icon {
        width: 50px;
        height: 50px;
    }

    .icon svg {
        width: 24px;
        height: 24px;
    }
}

/* Hero Section Mobile Optimization */
@media (max-width: 768px) {
    .hero-bg {
        background-attachment: scroll;
        min-height: auto;
        padding-top: 80px;
    }

    .hero-bg .absolute {
        display: none;
    }
}

/* Floating Elements - Hide on Mobile */
@media (max-width: 640px) {
    .hero-bg .absolute:first-of-type,
    .hero-bg .absolute:nth-of-type(2) {
        display: none !important;
    }
}

/* Navigation Bar Mobile */
@media (max-width: 1024px) {
    #navbar {
        py-3;
    }

    #navbar .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .logo-text {
        font-size: 1.25rem;
    }
}

/* Mobile Menu Animations */
@media (max-width: 1024px) {
    #mobile-menu {
        animation: slideDown 0.3s ease-out;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Text Responsive Sizes */
@media (max-width: 768px) {
    h1 {
        font-size: 1.875rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    h4 {
        font-size: 1.125rem;
    }

    p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
        line-height: 1.4;
    }

    h2 {
        font-size: 1.25rem;
    }

    h3 {
        font-size: 1rem;
    }

    p {
        font-size: 0.95rem;
    }
}

/* Buttons Mobile Optimization */
@media (max-width: 640px) {
    button,
    a[class*="btn"],
    a[class*="px-"],
    a[class*="py-"] {
        min-height: 44px;
        padding: 12px 20px;
    }

    .px-8 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .py-4 {
        padding-top: 12px !important;
        padding-bottom: 12px !important;
    }
}

/* Cards Mobile Optimization */
@media (max-width: 768px) {
    .group {
        transition: all 0.2s ease;
    }

    .group:active {
        transform: scale(0.98);
    }

    .rounded-2xl {
        border-radius: 1rem;
    }

    .h-48 {
        height: 200px;
    }
}

/* Grid Columns Mobile */
@media (max-width: 640px) {
    .grid-cols-2,
    .grid-cols-3,
    .grid-cols-4 {
        grid-template-columns: 1fr !important;
    }

    .gap-8 {
        gap: 1.5rem;
    }

    .gap-6 {
        gap: 1rem;
    }
}

/* Image Responsiveness */
@media (max-width: 768px) {
    img {
        max-width: 100%;
        height: auto;
    }

    .w-14 {
        width: 3rem;
    }

    .h-14 {
        height: 3rem;
    }
}

/* Badge Mobile */
@media (max-width: 640px) {
    .absolute.-top-6.-left-6 {
        width: 100px !important;
        height: 100px !important;
        font-size: 1.5rem;
    }

    .absolute.-top-6.-left-6 span:first-child {
        font-size: 1.5rem !important;
    }

    .absolute.-top-6.-left-6 span:last-child {
        font-size: 0.75rem !important;
    }
}

/* Section Padding Mobile */
@media (max-width: 640px) {
    section {
        padding: 40px 0 !important;
    }

    .py-20 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    .py-16 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .px-4 {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .px-8 {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Flex Direction Mobile */
@media (max-width: 768px) {
    .flex.flex-col.lg\:flex-row {
        flex-direction: column;
    }

    .flex.flex-col.md\:flex-row {
        flex-direction: column;
    }

    .flex.flex-col.sm\:flex-row {
        flex-direction: column;
    }

    .gap-12 {
        gap: 2rem;
    }
}

/* Dropdown Menu Mobile */
@media (max-width: 1024px) {
    .dropdown-menu {
        visibility: hidden;
        opacity: 0;
        transform: translateY(10px);
    }

    .dropdown-menu.active {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }
}

/* Counter Section Mobile */
@media (max-width: 640px) {
    .counter-box {
        padding: 1.5rem;
    }

    .counter-box i {
        font-size: 2rem !important;
    }

    .counter-box h3 {
        font-size: 1.875rem !important;
    }

    .counter-box p {
        font-size: 0.875rem;
    }
}

/* Service Cards Icons Mobile */
@media (max-width: 640px) {
    .w-14.h-14.bg-gold {
        width: 48px !important;
        height: 48px !important;
        font-size: 1.5rem !important;
    }

    .mt-2 {
        margin-top: 0.5rem;
    }
}

/* List Items Mobile */
@media (max-width: 640px) {
    ul li {
        margin-bottom: 0.75rem;
    }

    .space-y-4 {
        gap: 1rem;
    }

    .flex.items-center.gap-3 {
        gap: 0.75rem;
    }
}

/* Shadow Reduction on Mobile */
@media (max-width: 640px) {
    .shadow-lg,
    .shadow-xl,
    .shadow-2xl {
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }
}

/* Scroll Indicator Mobile */
@media (max-width: 640px) {
    .absolute.bottom-10.left-1\/2 {
        bottom: 20px !important;
    }

    .animate-bounce i {
        font-size: 1.5rem !important;
    }
}

/* Touch Optimization */
@media (hover: none) and (pointer: coarse) {
    /* Remove hover effects on touch devices */
    a:hover,
    button:hover,
    .group:hover {
        transform: none !important;
    }

    .group:hover .dropdown-menu {
        visibility: hidden;
        opacity: 0;
    }
}

/* FAQ Responsive */
@media (max-width: 640px) {
    .faq-answer {
        font-size: 0.95rem;
    }

    .faq-item {
        padding: 1rem;
    }
}

/* Overflow Hidden for Mobile */
@media (max-width: 640px) {
    body {
        overflow-x: hidden;
    }

    * {
        -webkit-tap-highlight-color: transparent;
    }
}

/* Aspect Ratio Images Mobile */
@media (max-width: 768px) {
    .aspect-video,
    .aspect-square {
        aspect-ratio: auto;
    }
}

/* Min Height Adjustments Mobile */
@media (max-width: 640px) {
    .min-h-screen {
        min-height: auto;
    }

    .h-48 {
        height: 180px;
    }

    .h-32 {
        height: 160px;
    }
}



