 :root {
            --primary-color: #41AED9;
            --secondary-color: #000000;
            --accent-color: #25d366;
            --light-color: #f8f9fa;
            --dark-color: #343a40;
            --text-color: #495057;
            --orange-color: #fd7e14;
            --purple-color: #6f42c1;
        }

        /* Counter Colors */
        .counter-primary {
            color: var(--primary-color) !important;
        }

        .counter-accent {
            color: var(--accent-color) !important;
        }

        .counter-orange {
            color: var(--orange-color) !important;
        }

        .counter-purple {
            color: var(--purple-color) !important;
        }

        body {

            font-family: 'Cairo', sans-serif;
            color: var(--text-color);
            background-color: #ffffff;
            overflow-x: hidden;
        }


        /* Updated Navbar Styles */
        .navbar {
            background-color: white !important;
            box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            font-size: 15px;
            padding: 20px 0;
        }


        .navbar.scrolled {
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        }

        .nav-link {
            color: var(--dark-color) !important;
            font-weight: 500;
            padding: 0.5rem 1rem;
            transition: all 0.3s;
            position: relative;
            font-size: 14px;
        }
        .nav-item {
            margin: 5px;
        }
        .nav-link:hover,
        .nav-link:focus,
        .nav-link.active {
            color: var(--primary-color) !important;
        }

         .nav-link:after {
            content: '';
            position: absolute;
            bottom: 0;
             left: 60%;
            right: 40%;
            width: 0;
            height: 2px;
            transition: width 0.3s ease;
        }


        .nav-link:hover:after,
        .nav-link.active:after {
            width: 100%;
            right: auto;
            left: 0;
        }

        .dropdown-menu {
            background-color: white;
            border: none;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            border-radius: 10px;
            overflow: hidden;
            padding: 10px 0;
        }

        .dropdown-item {
            color: var(--dark-color);
            transition: all 0.2s;
            padding: 0.5rem 1.5rem;
            font-size: 14px;
            font-weight: 500;
        }

        .dropdown-item:hover,
        .dropdown-item:focus {
            background-color: #f8f9fa;
            color: var(--primary-color);
            padding-right: 2rem;
        }
        /* Navbar dropdown scroll fix */
.navbar .dropdown-menu {
    max-height: 70vh; /* 70% of viewport height */
    overflow-y: auto;
    overscroll-behavior: contain; /* prevents scroll chaining */
}

/* Optional: Style the scrollbar */
.navbar .dropdown-menu::-webkit-scrollbar {
    width: 8px;
}

.navbar .dropdown-menu::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.navbar .dropdown-menu::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.navbar .dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: #3a9cc8;
}

        .navbar-toggler {
            border: none;
            padding: 0.5rem;
        }

        .navbar-toggler:focus {
            box-shadow: none;
        }

        .navbar-toggler-icon {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
            transition: all 0.3s;
        }

        .navbar-toggler:hover .navbar-toggler-icon {
            transform: rotate(90deg);
        }





        /* Buttons */
        .btn {
            font-weight: 500;
            padding: 0.6rem 1.5rem;
            border-radius: 50px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            z-index: 1;
        }

        .btn:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 0;
            height: 100%;
            background-color: rgba(255, 255, 255, 0.2);
            transition: all 0.3s ease;
            z-index: -1;
        }

        .btn:hover:before {
            width: 100%;
        }

        .btn-primary {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
        }

        .btn-primary:hover {
            background-color: #3a9cc8;
            border-color: #3a9cc8;
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(65, 174, 217, 0.3);
        }

        .btn-whatsapp {
            background-color: var(--accent-color);
            color: white;
        }

        .btn-whatsapp:hover {
            background-color: #1da851;
            color: white;
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
        }

        .btn-outline-primary {
            border-color: var(--primary-color);
            color: var(--primary-color);
        }

        .btn-outline-primary:hover {
            background-color: var(--primary-color);
            color: white;
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(65, 174, 217, 0.3);
        }

        /* Footer */
        footer {
            background-color: var(--secondary-color);
            color: white;
            position: relative;
            overflow: hidden;
        }

       footer:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(65, 174, 217, 0.1) 0%, rgba(0, 0, 0, 0.9) 100%);
    pointer-events: none; /* Add this line */
}

        /* Enhanced Footer Logo Styling */
        .footer-logo {
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            filter: drop-shadow(0 0 20px rgba(65, 174, 217, 0.3));
            position: relative;
            z-index: 2;
        }

        .footer-logo:hover {
            transform: scale(1.05) rotate(2deg);
            filter: drop-shadow(0 0 30px rgba(65, 174, 217, 0.6)) brightness(1.1);
        }

        .footer-logo::before {
            content: '';
            position: absolute;
            top: -10px;
            left: -10px;
            right: -10px;
            bottom: -10px;
            background: radial-gradient(circle, rgba(65, 174, 217, 0.2) 0%, transparent 70%);
            border-radius: 50%;
            z-index: -1;
            opacity: 0;
            transition: all 0.4s ease;
        }

        .footer-logo:hover::before {
            opacity: 1;
            transform: scale(1.2);
        }

        /* Footer Logo Container Enhancement */
        .footer-logo-container {
            position: relative;
            display: inline-block;
            padding: 15px;
            border-radius: 20px;
            background: linear-gradient(135deg, rgba(65, 174, 217, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(65, 174, 217, 0.2);
            transition: all 0.4s ease;
        }

        .footer-logo-container:hover {
            background: linear-gradient(135deg, rgba(65, 174, 217, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
            border-color: rgba(65, 174, 217, 0.4);
            box-shadow: 0 15px 35px rgba(65, 174, 217, 0.3);
            transform: translateY(-5px);
        }

        /* Footer Logo Glow Animation */
        @keyframes footer-logo-glow {
            0%, 100% {
                filter: drop-shadow(0 0 20px rgba(65, 174, 217, 0.3)) brightness(1);
            }
            50% {
                filter: drop-shadow(0 0 30px rgba(65, 174, 217, 0.6)) brightness(1.1);
            }
        }

        .footer-logo-container:hover .footer-logo {
            animation: footer-logo-glow 2s ease-in-out infinite;
        }

        .footer-links a {
            color: #adb5bd;
            text-decoration: none;
            transition: all 0.3s;
            position: relative;
            display: inline-block;
        }

        .footer-links a:after {
            content: '';
            position: absolute;
            bottom: -2px;
            right: 0;
            width: 0;
            height: 1px;
            background-color: var(--primary-color);
            transition: width 0.3s ease;
        }

        .footer-links a:hover {
            color: var(--primary-color);
            transform: translateX(-5px);
        }

        .footer-links a:hover:after {
            width: 100%;
            right: auto;
            left: 0;
        }

        .social-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.1);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-left: 10px;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            color: white;
        }

        .social-icon:hover {
            background-color: var(--primary-color);
            transform: translateY(-5px) scale(1.1);
            box-shadow: 0 5px 15px rgba(65, 174, 217, 0.3);
        }

        .payment-methods img {
            height: 30px;
            margin-left: 10px;
            margin-bottom: 10px;
            transition: all 0.3s ease;
            filter: grayscale(100%);
            opacity: 0.7;
        }

        .payment-methods img:hover {
            filter: grayscale(0%);
            opacity: 1;
            transform: translateY(-3px);
        }

        /* Contact Form */
        .contact-form {
            background-color: white;
            padding: 40px;
            border-radius: 15px;
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
            position: relative;
            overflow: hidden;
        }



        /* WhatsApp Float Button */
        .whatsapp-float {
            position: fixed;
            bottom: 30px;
            left: 30px;
            background-color: var(--accent-color);
            color: white;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            text-align: center;
            font-size: 30px;
            box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
            z-index: 100;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            animation: pulse 2s infinite;
        }

        .whatsapp-float:hover {
            transform: scale(1.1) rotate(10deg);
            color: white;
            box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
            animation: none;
        }

        @keyframes pulse {
            0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
            70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
            100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
        }

        /* Responsive Adjustments */
        @media (max-width: 768px) {
            .hero-section {
                padding: 100px 0;
            }

            .hero-section h1 {
                font-size: 2.5rem;
            }

            .section-title {
                font-size: 1.8rem;
            }

            .whatsapp-float {
                width: 50px;
                height: 50px;
                font-size: 24px;
                bottom: 20px;
                left: 20px;
            }

            .feature-box,
            .service-card,
            .counter-card {
                margin-bottom: 20px;
            }

            .testimonial-box {
                margin: 0 5px;
            }

            .client-img-container {
                width: 60px;
                height: 60px;
            }
        }

        /* Animation Classes */
        .animate-on-scroll {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s ease;
        }

        .animate-on-scroll.animated {
            opacity: 1;
            transform: translateY(0);
        }

        .delay-1 {
            transition-delay: 0.2s;
        }

        .delay-2 {
            transition-delay: 0.4s;
        }

        .delay-3 {
            transition-delay: 0.6s;
        }

       /* Buttons */
        .btn-primary {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
        }

        .btn-primary:hover {
            background-color: #3a9cc8;
            border-color: #3a9cc8;
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(65, 174, 217, 0.3);
        }

        .btn-outline-primary {
            border-color: var(--primary-color);
            color: var(--primary-color);
        }

        .btn-outline-primary:hover {
            background-color: var(--primary-color);
            color: white;
        }

        /* WhatsApp Float Button */
        .whatsapp-float {
            position: fixed;
            bottom: 30px;
            left: 30px;
            width: 60px;
            height: 60px;
            background-color: #25d366;
            color: white;
            border-radius: 50%;
            text-align: center;
            font-size: 30px;
            box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
            z-index: 100;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
        }

        .whatsapp-float:hover {
            background-color: #128c7e;
            color: white;
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
        }

        /* Text Justify */
        .text-justify {
            text-align: justify;
        }

        /* Responsive Adjustments */
        @media (max-width: 992px) {
            .service-hero {
                height: 45vh;
                min-height: 350px;
            }

            .service-hero h1 {
                font-size: 2.5rem;
            }
        }

        @media (max-width: 768px) {
            .service-hero {
                height: 40vh;
                min-height: 300px;
            }

            .service-hero h1 {
                font-size: 2rem;
            }
        }

        @media (max-width: 576px) {
            .service-hero {
                height: 35vh;
                min-height: 250px;
            }

            .service-hero h1 {
                font-size: 1.8rem;
            }
        }

        /* Animation Classes */
        .animate-on-scroll {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s ease;
        }

        .animate-on-scroll.animated {
            opacity: 1;
            transform: translateY(0);
        }

        .delay-1 {
            transition-delay: 0.2s;
        }

        .delay-2 {
            transition-delay: 0.4s;
        }

        .delay-3 {
            transition-delay: 0.6s;
        }

        /* Payment Methods */
        .payment-methods img {
            height: 30px;
            margin: 0 5px;
            filter: grayscale(100%);
            transition: var(--transition);
        }

        .payment-methods img:hover {
            filter: grayscale(0%);
        }

        /* Custom Mobile Navigation Styles */
        .mobile-menu-toggle {
            background: none;
            border: none;
            padding: 8px;
            cursor: pointer;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            width: 40px;
            height: 40px;
            position: relative;
            z-index: 10000;
        }

        .hamburger-line {
            width: 25px;
            height: 3px;
            background-color: var(--dark-color);
            margin: 3px 0;
            transition: all 0.3s ease;
            border-radius: 2px;
        }

        .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
            transform: rotate(45deg) translate(6px, 6px);
            background-color: var(--primary-color);
        }

        .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
            opacity: 0;
        }

        .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
            transform: rotate(-45deg) translate(6px, -6px);
            background-color: var(--primary-color);
        }

        /* Mobile Navigation Overlay */
        .mobile-nav-overlay {
            position: fixed;
            top: 0;
            right: 0;
            width: 320px;
            max-width: 85vw;
            height: 100vh;
            background: white;
            z-index: 9999;
            transform: translateX(100%);
            transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            overflow-y: auto;
            box-shadow: -5px 0 20px rgba(0, 0, 0, 0.15);
            border-left: 1px solid #e9ecef;
        }

        .mobile-nav-overlay.active {
            transform: translateX(0);
        }

        /* Background overlay when menu is open */
        .mobile-nav-backdrop {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 9998;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.4s ease, visibility 0.4s ease;
        }

        .mobile-nav-backdrop.active {
            opacity: 1;
            visibility: visible;
        }

        .mobile-nav-content {
            padding: 20px;
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        /* Mobile Nav Header */
        .mobile-nav-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-bottom: 30px;
            border-bottom: 1px solid #e9ecef;
            margin-bottom: 30px;
        }

        .mobile-logo {
            height: 60px;
            width: auto;
        }

        .mobile-nav-close {
            background: none;
            border: none;
            color: var(--dark-color);
            font-size: 24px;
            cursor: pointer;
            padding: 10px;
            border-radius: 50%;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
        }

        .mobile-nav-close:hover {
            background-color: #f8f9fa;
            color: var(--primary-color);
            transform: rotate(90deg);
        }

        /* Mobile Nav Menu */
        .mobile-nav-menu {
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .mobile-nav-list {
            list-style: none;
            padding: 0;
            margin: 0;
            flex: 1;
        }

        .mobile-nav-item {
            margin-bottom: 8px;
        }

        .mobile-nav-link {
            display: flex;
            align-items: center;
            padding: 15px 20px;
            color: var(--dark-color);
            text-decoration: none;
            font-size: 16px;
            font-weight: 500;
            border-radius: 12px;
            transition: all 0.3s ease;
            background-color: #f8f9fa;
            margin-bottom: 5px;
            border: 1px solid #e9ecef;
        }

        .mobile-nav-link i {
            margin-left: 15px;
            font-size: 18px;
            width: 20px;
            text-align: center;
        }

        .mobile-nav-link:hover,
        .mobile-nav-link.active {
            background-color: var(--primary-color);
            color: white;
            border-color: var(--primary-color);
            transform: translateX(5px);
        }

        .mobile-nav-link.active {
            background-color: var(--primary-color);
            color: white;
            border-color: var(--primary-color);
            box-shadow: 0 4px 15px rgba(65, 174, 217, 0.2);
        }

        .mobile-nav-link:hover i,
        .mobile-nav-link.active i {
            color: white;
        }

        /* Mobile Dropdown Styles */
        .mobile-nav-item.has-dropdown .dropdown-arrow {
            margin-right: auto;
            margin-left: 10px;
            transition: transform 0.3s ease;
            font-size: 14px;
        }

        .mobile-nav-item.has-dropdown.open .dropdown-arrow {
            transform: rotate(180deg);
        }

        .mobile-dropdown-menu {
            list-style: none;
            padding: 0;
            margin: 0;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            background-color: white;
            border-radius: 8px;
            margin-top: 5px;
            border: 1px solid #e9ecef;
            scrollbar-width: thin;
            scrollbar-color: var(--primary-color) #f1f1f1;
        }

        .mobile-nav-item.has-dropdown.open .mobile-dropdown-menu {
            max-height: 1200px;
            padding: 10px 0;
            overflow-y: auto;
        }

        .mobile-dropdown-header {
            padding: 12px 20px 8px 20px;
            color: var(--primary-color);
            font-size: 14px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            border-bottom: 1px solid #e9ecef;
            margin-bottom: 8px;
            background-color: #f8f9fa;
        }

        .mobile-dropdown-link {
            display: block;
            padding: 12px 20px 12px 40px;
            color: var(--text-color);
            text-decoration: none;
            font-size: 15px;
            transition: all 0.3s ease;
            border-radius: 0;
            background: none;
            margin: 0;
        }

        .mobile-dropdown-link:hover {
            background-color: #f8f9fa;
            color: var(--primary-color);
            padding-right: 25px;
        }

        /* Mobile CTA Button */
        .mobile-nav-cta {
            padding-top: 30px;
            border-top: 1px solid #e9ecef;
            margin-top: auto;
        }

        .mobile-nav-cta .btn {
            width: 100%;
            background-color: var(--primary-color);
            color: white;
            border: none;
            padding: 15px 20px;
            font-weight: 600;
            font-size: 16px;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(65, 174, 217, 0.2);
        }

        .mobile-nav-cta .btn:hover {
            background-color: #3a9cc8;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(65, 174, 217, 0.3);
        }

        /* Hide mobile nav on desktop */
        @media (min-width: 992px) {
            .mobile-nav-overlay {
                display: none;
            }

            .mobile-menu-toggle {
                display: none !important;
            }
        }

                /* Mobile Navigation Responsive Adjustments */
        @media (max-width: 480px) {
            .mobile-nav-overlay {
                width: 280px;
                max-width: 90vw;
            }

            .mobile-nav-content {
                padding: 15px;
            }

            .mobile-nav-link {
                padding: 12px 15px;
                font-size: 15px;
            }

            .mobile-dropdown-link {
                padding: 10px 15px 10px 30px;
                font-size: 14px;
            }
        }

        @media (max-width: 375px) {
            .mobile-nav-overlay {
                width: 260px;
                max-width: 95vw;
            }
        }
