/* Custom CSS */
        :root {
            --primary: #4a90e2;
            --dark: #2c3e50;
            --accent: #ff7e5f;
            --light: #f5f7fa;
            --gray: #e4edf9;
        }
        
        body {
            font-family: 'Inter', 'Poppins', sans-serif;
            background: linear-gradient(135deg, #f5f7fa 0%, #e4edf9 100%);
            color: #333;
            margin: 0;
            padding: 0;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* Navbar Styling */
        .w3-bar {
            background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            padding: 8px 0;
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .w3-bar .w3-bar-item {
            color: white;
            padding: 14px 20px;
            transition: all 0.3s ease;
            border-radius: 8px;
            margin: 0 5px;
            font-weight: 500;
            position: relative;
            overflow: hidden;
        }

        .w3-bar .w3-bar-item:hover {
            background-color: rgba(255, 255, 255, 0.15);
            transform: scale(1.05); /* Changed from translateY(-2px) to scale for a better effect */
        }

        .w3-bar .w3-bar-item::after { /* Added initial state for the underline */
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: var(--accent);
            transform: scaleX(0); /* Hidden by default */
            transform-origin: left; /* Animation starts from left */
            transition: transform 0.3s ease-out; /* Smooth transition for the underline */
        }

        .w3-bar .w3-bar-item:hover::after {
            transform: scaleX(1); /* Show on hover */
        }

        .logo {
            font-weight: 700;
            font-size: 1.8rem;
            letter-spacing: 1px;
        }

        .logo i {
            color: var(--accent);
            margin-right: 10px;
        }

        .w3-button.w3-hide-large.w3-hide-medium {
            color: white;
            font-size: 1.5rem;
        }

        /* Hero Section / Slider Container */
        .slider-container {
            position: relative;
            width: 95%;
            max-width: 1400px;
            margin: 30px auto;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
            border-radius: 15px;
        }

        .slider-wrapper {
            display: flex;
            transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        .slide {
            min-width: 100%;
        }

        .slider-image {
            width: 100%;
            height: 450px;
            object-fit: cover;
        }

        .slider-button {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(0, 0, 0, 0.6);
            color: white;
            border: none;
            padding: 15px;
            cursor: pointer;
            font-size: 24px;
            border-radius: 50%;
            transition: all 0.3s ease;
            z-index: 10;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .slider-button:hover {
            background: rgba(0, 0, 0, 0.9);
            transform: translateY(-50%) scale(1.1);
        }

        .prev-button {
            left: 25px;
        }

        .next-button {
            right: 25px;
        }

        /* Slider Dots Styling */
        .slider-dots {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 10px;
            z-index: 11;
        }

        .dot {
            width: 14px;
            height: 14px;
            background-color: rgba(255, 255, 255, 0.6);
            border-radius: 50%;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .dot.active {
            background-color: var(--accent);
            transform: scale(1.2);
        }

        /* Service Card Styling */
        .service-card {
            background: white;
            border-radius: 15px;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
            padding: 15px;
            margin: 15px;
            text-align: center;
            transition: all 0.4s ease;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            position: relative;
            overflow: hidden;
            border: 1px solid rgba(0, 0, 0, 0.05);
        }

        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: linear-gradient(90deg, var(--primary), var(--accent));
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.4s ease;
        }

        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
        }

        .service-card:hover::before {
            transform: scaleX(1);
        }

        .service-card h3 {
            color: var(--dark);
            font-size: 1.4rem;
            margin: 15px 0;
            font-weight: 600;
            position: relative;
            padding-bottom: 10px;
        }

        .service-card h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            background: linear-gradient(90deg, var(--primary), var(--accent));
            border-radius: 3px;
        }

        .service-card-image {
            width: 100%;
            height: 180px;
            object-fit: cover;
            border-radius: 10px;
            transition: transform 0.4s ease;
        }

        .service-card:hover .service-card-image {
            transform: scale(1.05);
        }

        .service-card .w3-button {
            background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
            color: white;
            border-radius: 8px;
            padding: 12px 25px;
            text-transform: uppercase;
            font-weight: bold;
            transition: all 0.3s ease;
            letter-spacing: 0.5px;
            text-decoration: none;
            display: inline-block;
            cursor: pointer;
            margin-top: 15px;
            border: none;
            position: relative;
            overflow: hidden;
            z-index: 1;
        }

        .service-card .w3-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, var(--accent) 0%, #feb47b 100%);
            z-index: -1;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .service-card .w3-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 7px 15px rgba(0, 0, 0, 0.2);
        }

        .service-card .w3-button:hover i {
            transform: translateX(5px);
        }

         /* Enhanced Footer */
        footer {
            background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
            color: white;
            padding: 4rem 0 0;
            margin-top: auto;
        }
        
        .footer-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 1.5rem;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2.5rem;
        }
        
        .footer-col {
            margin-bottom: 2rem;
        }
        
        .footer-col h3 {
            font-size: 1.5rem;
            margin-bottom: 1.5rem;
            position: relative;
            padding-bottom: 10px;
            font-weight: 600;
        }
        
        .footer-col h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background: var(--accent);
        }
        
        .footer-col p {
            margin-bottom: 1.5rem;
            opacity: 0.9;
            line-height: 1.6;
        }
        
        .footer-links {
            list-style: none;
            padding: 0;
        }
        
        .footer-links li {
            margin-bottom: 0.8rem;
        }
        
        .footer-links a {
            color: rgba(255, 255, 255, 0.9);
            text-decoration: none;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .footer-links a:hover {
            color: var(--accent);
            padding-left: 5px;
        }
        
        .social-links {
            display: flex;
            gap: 1rem;
            margin-top: 1.5rem;
        }
        
        .social-links a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 45px;
            height: 45px;
            background: rgba(255, 255, 255, 0.1);
            color: white;
            border-radius: 50%;
            font-size: 1.2rem;
            transition: all 0.3s ease;
        }
        
        .social-links a:hover {
            background: var(--accent);
            transform: translateY(-5px);
        }
        
        .copyright {
            text-align: center;
            padding: 2rem 0;
            margin-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            font-size: 0.9rem;
            opacity: 0.8;
        }

        /* Service Grid in Footer */
        .footer-services {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
            margin-top: 15px;
        }
        
        .footer-service {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            padding: 10px 15px;
            text-align: center;
            transition: all 0.3s ease;
        }
        
        .footer-service:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-3px);
        }
        
        .footer-service a {
            color: white;
            text-decoration: none;
            font-size: 0.9rem;
            display: block;
        }
        
        /* Responsive adjustments for service cards */
        .service-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
            padding: 20px;
            max-width: 1600px;
            margin: 30px auto;
        }

        /* Hero text overlay */
        .slider-content {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 20px;
            background: rgba(0, 0, 0, 0.4);
            color: white;
            z-index: 5;
        }

        /*.slider-content h1 {
            font-size: 2.8rem;
            margin-bottom: 20px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
            font-weight: 700;
        }

        .slider-content p {
            font-size: 1.4rem;
            max-width: 800px;
            margin-bottom: 30px;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
        }*/
		@media (max-width: 768px) {
            .slider-container{
                display:none;
            }
        /* Mobile specific adjustments */
       
			@media (max-width: 768px) {
            .w3-bar .w3-bar-item {
                width: 100%;
                text-align: left;
                margin: 5px 0;
            }
            
            .w3-bar-block .w3-bar-item {
                padding: 10px 15px;
                color: #e0e0e0; /* Changed text color for mobile menu items */
            }
            
            .slider-image {
                height: 300px;
            }
            
            .slider-button {
                padding: 10px;
                font-size: 18px;
                width: 40px;
                height: 40px;
            }
            
            .slider-content h1 {
                font-size: 2rem;
            }
            
            .slider-content p {
                font-size: 1.1rem;
            }
            
            .service-grid {
                grid-template-columns: 1fr;
            }
            
            .footer-services {
                grid-template-columns: 1fr;
            }
            
            .footer-container {
                grid-template-columns: 1fr;
            }

            /* Mobile menu specific styles */
            #demoNavbar {
                position: fixed;
                top: 0;
                left: -100%; /* Changed from right to left */
                width: 70%; /* Adjust as needed */
                max-width: 300px; /* Max width for larger mobile screens */
                height: 100%;
                background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%); /* Changed background to a new darker gradient */
                transition: left 0.3s ease-in-out, opacity 0.3s ease-in-out, visibility 0.3s ease-in-out; /* Changed transition property */
                box-shadow: 4px 0 12px rgba(0, 0, 0, 0.2); /* Changed shadow direction */
                padding-top: 60px; /* Space for close button */
                z-index: 101; /* Higher than navbar */
                opacity: 0;
                visibility: hidden;
            }

            #demoNavbar.w3-show {
                left: 0; /* Slide in */
                opacity: 1;
                visibility: visible;
            }

            .mobile-menu-header {
                display: flex;
                justify-content: flex-start; /* Changed to flex-start for left alignment */
                padding: 10px;
                position: absolute;
                top: 0;
                left: 0; /* Changed from right to left */
                width: 100%;
            }

            .close-button {
                background: none;
                border: none;
                color: white;
                font-size: 2rem;
                cursor: pointer;
                padding: 5px 10px;
                transition: transform 0.2s ease;
            }

            .close-button:hover {
                transform: rotate(90deg);
            }

            /* Hide the open button when menu is open */
            #menuOpenBtn.w3-hide {
                display: none !important;
            }
            /* Show the open button when menu is closed */
            #menuOpenBtn.w3-show {
                display: block !important;
            }

            /* Hide the close button when menu is closed */
            #menuCloseBtn.w3-hide {
                display: none !important;
            }
            /* Show the close button when menu is open */
            #menuCloseBtn.w3-show {
                display: block !important;
            }

            /* Specific hover effect for mobile menu items */
            .w3-bar-block .w3-bar-item:hover {
                background-color: rgba(255, 255, 255, 0.25); /* Stronger background change */
                transform: none; /* Remove scaling for mobile items */
            }

            .w3-bar-block .w3-bar-item::after {
                content: '';
                position: absolute;
                bottom: 0;
                left: 0;
                width: 100%;
                height: 3px;
                background: var(--accent);
                transform: scaleX(0);
                transform-origin: left;
                transition: transform 0.3s ease-out;
            }

            .w3-bar-block .w3-bar-item:hover::after {
                transform: scaleX(1);
            }
        }

        @media (min-width: 992px) {
            .slider-content h1 {
                font-size: 3.5rem;
            }
        }

        /* Overlay for mobile menu */
        .menu-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 100; /* Below menu, above content */
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
        }

        .menu-overlay.w3-show {
            opacity: 1;
            visibility: visible;
        }

        /* Hide body scroll when menu is open */
        body.no-scroll {
            overflow: hidden;
        }