
        /* Reset and Base Styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
        }

        :root {
            --primary: #2563eb;
            --primary-dark: #1d4ed8;
            --secondary: #0f172a;
            --accent: #06b6d4;
            --light: #f8fafc;
            --dark: #0f172a;
            --gray: #64748b;
            --gray-light: #e2e8f0;
        }

        html {
            scroll-behavior: smooth;
            font-size: 16px;
        }

        /* Responsive font-size base */
        @media (max-width: 768px) {
            html {
                font-size: 14px;
            }
        }

        @media (max-width: 480px) {
            html {
                font-size: 12px;
            }
        }

        body {
            line-height: 1.6;
            color: var(--dark);
            background-color: var(--light);
            overflow-x: hidden; /* Prevent horizontal scroll */
        }

        h1, h2, h3, h4, h5 {
            line-height: 1.2;
            margin-bottom: 1rem;
            font-weight: 700;
            color: var(--secondary);
        }

        h1 {
            font-size: clamp(2rem, 5vw, 3.5rem);
        }

        h2 {
            font-size: clamp(1.5rem, 4vw, 2.5rem);
        }

        h3 {
            font-size: clamp(1.2rem, 3vw, 1.8rem);
        }

        p {
            margin-bottom: 1rem;
            color: var(--gray);
        }

        a {
            text-decoration: none;
            color: var(--primary);
            transition: all 0.3s ease;
        }

        a:hover {
            color: var(--primary-dark);
        }

        img {
            max-width: 100%;
            height: auto;
            display: block; /* Removes bottom spacing */
        }

        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1rem;
        }

        .btn {
            display: inline-block;
            padding: 0.8rem 1.8rem;
            border-radius: 5px;
            font-weight: 600;
            transition: all 0.3s ease;
            cursor: pointer;
            text-align: center;
        }

        @media (max-width: 480px) {
            .btn {
                padding: 0.6rem 1.4rem;
                font-size: 0.9rem;
            }
        }

        .btn-primary {
            background-color: var(--primary);
            color: white;
            border: 2px solid var(--primary);
        }

        .btn-primary:hover {
            background-color: var(--primary-dark);
            color: white;
            transform: translateY(-3px);
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        .btn-secondary {
            background-color: transparent;
            color: var(--primary);
            border: 2px solid var(--primary);
        }

        .btn-secondary:hover {
            background-color: var(--primary);
            color: white;
            transform: translateY(-3px);
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        /* Header Styles */
        header {
            padding: 1rem 0;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            background-color: rgba(248, 250, 252, 0.95);
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
        }

        header.scrolled {
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            padding: 0.7rem 0;
        }

        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--secondary);
            display: flex;
            align-items: center;
            z-index: 1001; /* Above the mobile menu */
        }

        .logo-accent {
            color: var(--primary);
        }
                /* Logo styles */
        .logo {
            display: flex;
            align-items: center;
            z-index: 1001; /* Above the mobile menu */
        }

        .logo-image {
            height: 70px; /* Adjust height as needed */
            width: 100px;
            object-fit: cover;
            border-radius: 10px;
            display: block;
        }

        @media (max-width: 480px) {
            .logo-image {
                height: 70px; /* Smaller on mobile */
            }
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 2rem;
        }

        .nav-links a {
            color: var(--secondary);
            font-weight: 500;
            position: relative;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--primary);
            transition: width 0.3s ease;
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        .hamburger {
            display: none;
            cursor: pointer;
            z-index: 1001; /* Above the mobile menu */
        }

        .bar {
            display: block;
            width: 25px;
            height: 3px;
            margin: 5px auto;
            transition: all 0.3s ease;
            background-color: var(--secondary);
        }

        /* Mobile Menu Animation */
        .hamburger.active .bar:nth-child(1) {
            transform: translateY(8px) rotate(45deg);
        }

        .hamburger.active .bar:nth-child(2) {
            opacity: 0;
        }

        .hamburger.active .bar:nth-child(3) {
            transform: translateY(-8px) rotate(-45deg);
        }

        /* Mobile Menu Styles */
        @media (max-width: 768px) {
            .hamburger {
                display: block;
            }

            .nav-links {
                position: fixed;
                top: -100vh; /* Start off-screen */
                left: 0;
                width: 100%;
                height: 100vh;
                flex-direction: column;
                justify-content: center;
                background-color: var(--light);
                text-align: center;
                transition: 0.4s ease-in-out;
                gap: 2rem;
                z-index: 1000;
            }

            .nav-links.active {
                top: 0; /* Slide in from top */
            }

            .nav-links li {
                margin: 1rem 0;
            }

            .nav-links a {
                font-size: 1.5rem;
            }

            body.menu-open {
                overflow: hidden; /* Prevent scrolling when menu is open */
            }
        }

        /* Hero Section */
        .hero {
            padding-top: 7rem;
            padding-bottom: 5rem;
            background: linear-gradient(135deg, rgba(219, 234, 254, 0.3) 0%, rgba(191, 219, 254, 0.2) 100%);
            position: relative;
            overflow: hidden;
        }

        @media (max-width: 768px) {
            .hero {
                padding-top: 6rem;
                padding-bottom: 4rem;
            }
        }

        .hero-content {
            display: flex;
            align-items: center;
            gap: 4rem;
        }

        @media (max-width: 991px) {
            .hero-content {
                gap: 2rem;
            }
        }

        @media (max-width: 768px) {
            .hero-content {
                flex-direction: column;
                gap: 3rem;
            }
        }

        .hero-text {
            flex: 1;
        }

        .hero-image {
            flex: 1;
            position: relative;
            max-width: 100%;
        }

        .hero-image img {
            width: 100%;
            border-radius: 10px;
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
        }

        .hero-image:hover img {
            transform: translateY(-10px);
        }

        .hero-buttons {
            display: flex;
            gap: 1rem;
            margin-top: 2rem;
            flex-wrap: wrap; /* Allow buttons to wrap on small screens */
        }

        @media (max-width: 480px) {
            .hero-buttons {
                flex-direction: column;
                width: 100%;
            }

            .hero-buttons .btn {
                width: 100%;
                margin-bottom: 0.5rem;
            }
        }

        .shape {
            position: absolute;
            opacity: 0.2;
            z-index: 0;
        }

        .shape-1 {
            top: 10%;
            left: 5%;
            width: 100px;
            height: 100px;
            border-radius: 50%;
            background-color: var(--primary);
            filter: blur(15px);
        }

        .shape-2 {
            bottom: 15%;
            right: 10%;
            width: 150px;
            height: 150px;
            border-radius: 50%;
            background-color: var(--accent);
            filter: blur(25px);
        }

        /* Services Section */
        .services {
            padding: 5rem 0;
        }

        @media (max-width: 768px) {
            .services {
                padding: 3rem 0;
            }
        }

        .section-header {
            text-align: center;
            margin-bottom: 3rem;
        }

        @media (max-width: 768px) {
            .section-header {
                margin-bottom: 2rem;
            }
        }

        .section-header p {
            max-width: 700px;
            margin: 0 auto;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 2rem;
        }

        @media (max-width: 480px) {
            .services-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }
        }

        .service-card {
            background-color: white;
            border-radius: 10px;
            padding: 2rem;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
            border: 1px solid var(--gray-light);
            height: 100%; /* Equal height cards */
            display: flex;
            flex-direction: column;
        }

        @media (max-width: 480px) {
            .service-card {
                padding: 1.5rem;
            }
        }

        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        }

        .service-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 60px;
            height: 60px;
            background-color: rgba(37, 99, 235, 0.1);
            border-radius: 10px;
            margin-bottom: 1.5rem;
        }

        @media (max-width: 480px) {
            .service-icon {
                width: 50px;
                height: 50px;
                margin-bottom: 1rem;
            }
        }

        .service-icon i {
            font-size: 1.8rem;
            color: var(--primary);
        }

        /* Portfolio Showcase Section */
        .portfolio-showcase {
            padding: 5rem 0;
            background-color: white;
        }
        
        @media (max-width: 768px) {
            .portfolio-showcase {
                padding: 3rem 0;
            }
        }
        
        .portfolio-tabs {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 1rem;
            margin: 2rem 0;
        }
        
        @media (max-width: 768px) {
            .portfolio-tabs {
                gap: 0.5rem;
                margin: 1.5rem 0;
            }
        }
        
        .portfolio-tab {
            background: none;
            border: 1px solid var(--gray-light);
            color: var(--gray);
            padding: 0.5rem 1.2rem;
            border-radius: 30px;
            cursor: pointer;
            font-weight: 500;
            transition: all 0.3s ease;
        }
        
        @media (max-width: 480px) {
            .portfolio-tab {
                padding: 0.4rem 0.8rem;
                font-size: 0.85rem;
            }
        }
        
        .portfolio-tab.active, .portfolio-tab:hover {
            background-color: var(--primary);
            border-color: var(--primary);
            color: white;
        }
        
        .portfolio-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 2rem;
            margin: 3rem 0;
        }
        
        @media (max-width: 768px) {
            .portfolio-grid {
                grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
                gap: 1.5rem;
                margin: 2rem 0;
            }
        }
        
        @media (max-width: 480px) {
            .portfolio-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }
        }
        
        .portfolio-item {
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
        }
        
        .portfolio-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        }
        
        .portfolio-image {
            position: relative;
            overflow: hidden;
        }
        
        .portfolio-image img {
            width: 100%;
            height: 250px;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .portfolio-item:hover .portfolio-image img {
            transform: scale(1.1);
        }
        
        .portfolio-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(15, 23, 42, 0.85);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .portfolio-item:hover .portfolio-overlay {
            opacity: 1;
        }
        
        .portfolio-info {
            text-align: center;
            padding: 1rem;
            color: white;
        }
        
        .portfolio-info h3 {
            color: white;
            font-size: 1.3rem;
            margin-bottom: 0.5rem;
        }
        
        .portfolio-info p {
            color: rgba(255, 255, 255, 0.8);
            font-size: 0.9rem;
            margin-bottom: 1rem;
        }
        
        .btn-small {
            padding: 0.5rem 1rem;
            font-size: 0.8rem;
            background-color: var(--primary);
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .btn-small:hover {
            background-color: var(--primary-dark);
            transform: translateY(-3px);
        }
        
        .portfolio-more {
            text-align: center;
            margin-top: 2rem;
            align-items: center;
        }
        
        /* Projects/Portfolio Section */
        .projects {
            padding: 5rem 0;
            background-color: rgba(219, 234, 254, 0.2);
        }

        @media (max-width: 768px) {
            .projects {
                padding: 3rem 0;
            }
        }

        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 2rem;
        }

        @media (max-width: 768px) {
            .projects-grid {
                grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            }
        }

        @media (max-width: 480px) {
            .projects-grid {
                grid-template-columns: 1fr;
            }
        }

        .project-card {
            background-color: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
            height: 100%; /* Equal height cards */
            display: flex;
            flex-direction: column;
        }

        .project-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        }

        .project-img {
            height: 200px;
            background-size: cover;
            background-position: center;
        }

        @media (max-width: 480px) {
            .project-img {
                height: 180px;
            }
        }

        .project-content {
            padding: 1.5rem;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        @media (max-width: 480px) {
            .project-content {
                padding: 1.2rem;
            }
        }

        .project-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 1rem;
        }

        .project-tag {
            font-size: 0.8rem;
            padding: 0.3rem 0.8rem;
            background-color: rgba(37, 99, 235, 0.1);
            color: var(--primary);
            border-radius: 30px;
            font-weight: 500;
        }

        .project-content .btn {
            margin-top: auto; /* Push button to bottom */
            align-self: flex-start;
        }

        @media (max-width: 480px) {
            .project-content .btn {
                width: 100%;
                text-align: center;
            }
        }

        /* Clients Section */
        .clients {
            padding: 4rem 0;
            background-color: white;
            border-top: 1px solid var(--gray-light);
            border-bottom: 1px solid var(--gray-light);
        }
        
        @media (max-width: 768px) {
            .clients {
                padding: 2.5rem 0;
            }
        }
        
        .clients-logos {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            gap: 2.5rem;
            margin-top: 2.5rem;
        }
        
        @media (max-width: 768px) {
            .clients-logos {
                gap: 2rem;
                margin-top: 1.5rem;
            }
        }
        
        .client-logo {
            display: flex;
            justify-content: center;
            align-items: center;
            filter: grayscale(100%);
            opacity: 0.6;
            transition: all 0.3s ease;
            max-width: 150px;
        }
        
        @media (max-width: 480px) {
            .client-logo {
                max-width: 120px;
            }
        }
        
        .client-logo:hover {
            filter: grayscale(0%);
            opacity: 1;
        }
        
        .client-logo img {
            max-width: 100%;
            height: auto;
        }

        /* Testimonials Section */
        .testimonials {
            padding: 5rem 0;
        }

        @media (max-width: 768px) {
            .testimonials {
                padding: 3rem 0;
            }
        }

        .testimonials-container {
            max-width: 800px;
            margin: 0 auto;
            position: relative;
        }

        .testimonial-slide {
            background-color: white;
            padding: 2rem;
            border-radius: 10px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            margin: 0 1rem;
        }

        @media (max-width: 480px) {
            .testimonial-slide {
                padding: 1.5rem;
                margin: 0;
            }
        }

        .testimonial-author {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-top: 1.5rem;
        }

        .author-img {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background-size: cover;
            background-position: center;
            flex-shrink: 0;
        }

        .author-info h4 {
            margin-bottom: 0.2rem;
        }

        .quote-icon {
            font-size: 2rem;
            color: rgba(37, 99, 235, 0.2);
        }

        .testimonial-dots {
            display: flex;
            justify-content: center;
            gap: 0.5rem;
            margin-top: 2rem;
        }

        .dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background-color: var(--gray-light);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .dot.active {
            background-color: var(--primary);
            transform: scale(1.2);
        }

        /* CTA Section */
        .cta {
            padding: 5rem 0;
            background-color: var(--secondary);
            color: white;
        }

        @media (max-width: 768px) {
            .cta {
                padding: 3rem 0;
            }
        }

        .cta h2 {
            color: white;
        }

        .cta p {
            color: rgba(255, 255, 255, 0.8);
        }

        .cta-content {
            max-width: 700px;
            margin: 0 auto;
            text-align: center;
        }

        .cta-buttons {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-top: 2rem;
            flex-wrap: wrap;
        }

        @media (max-width: 480px) {
            .cta-buttons {
                flex-direction: column;
                width: 80%;
                margin-left: auto;
                margin-right: auto;
            }

            .cta-buttons .btn {
                width: 100%;
                margin-bottom: 0.5rem;
            }
        }

        /* Footer */
        footer {
            padding: 4rem 0 2rem;
            background-color: var(--light);
            border-top: 1px solid var(--gray-light);
        }

        @media (max-width: 768px) {
            footer {
                padding: 3rem 0 1.5rem;
            }
        }

        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
            margin-bottom: 3rem;
        }

        @media (max-width: 768px) {
            .footer-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 480px) {
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }
        }

        .footer-logo {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            display: inline-block;
        }

        .footer-links h4 {
            font-size: 1.1rem;
            margin-bottom: 1.5rem;
        }

        @media (max-width: 480px) {
            .footer-links h4 {
                margin-bottom: 0.8rem;
            }
        }

        .footer-links ul {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 0.8rem;
        }

        @media (max-width: 480px) {
            .footer-links li {
                margin-bottom: 0.5rem;
            }
        }

        .footer-links a {
            color: var(--gray);
        }

        .footer-links a:hover {
            color: var(--primary);
        }

        .footer-bottom {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid var(--gray-light);
        }

        @media (max-width: 480px) {
            .footer-bottom {
                padding-top: 1.5rem;
            }
        }

        .social-links {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;
        }

        .social-links a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: rgba(37, 99, 235, 0.1);
            color: var(--primary);
            transition: all 0.3s ease;
        }

        .social-links a:hover {
            background-color: var(--primary);
            color: white;
            transform: translateY(-3px);
        }
         /* Modal Styles */
        /* Modal Styles - Improved Responsiveness */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(15, 23, 42, 0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: row;
    transform: scale(0.95);
    opacity: 0;
    transition: all 0.3s ease;
    max-height: 90vh; /* Prevent modal from being taller than viewport */
}

.modal-overlay.active .modal {
    transform: scale(1);
    opacity: 1;
}

/* Mobile styles */
@media (max-width: 768px) {
    .modal {
        flex-direction: column;
        max-width: 95%;
        overflow-y: auto; /* Allow scrolling on mobile */
    }
}

/* Small mobile styles */
@media (max-width: 480px) {
    .modal {
        width: 95%;
    }
}

.modal-image {
    flex: 4;
    background-color: var(--primary);
    background-image: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 768px) {
    .modal-image {
        padding: 2rem 1.5rem;
        flex: 1; /* Adjust flex ratio for mobile */
    }
}

@media (max-width: 480px) {
    .modal-image {
        padding: 1.5rem 1rem;
    }
    
    .modal-image .modal-heading {
        font-size: 1.4rem;
    }
    
    .modal-image p {
        font-size: 0.9rem;
    }
    
    .check-item {
        margin-bottom: 0.5rem;
    }
    
    .check-text {
        font-size: 0.9rem;
    }
}

.modal-content {
    flex: 5;
    padding: 3rem 2rem;
    position: relative;
}

@media (max-width: 768px) {
    .modal-content {
        padding: 2rem 1.5rem;
        flex: 1; /* Adjust flex ratio for mobile */
    }
}

@media (max-width: 480px) {
    .modal-content {
        padding: 1.5rem 1rem;
    }
    
    .modal-heading {
        font-size: 1.4rem;
    }
    
    .modal-subheading {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray);
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 10; /* Ensure it's above other elements */
}

/* Form Styles for Modal */
@media (max-width: 480px) {
    .form-group {
        margin-bottom: 0.75rem;
    }
    
    .form-control {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .form-submit {
        padding: 0.7rem 0.8rem;
        font-size: 0.95rem;
        margin-top: 0.75rem;
    }
    
    .privacy-text {
        font-size: 0.7rem;
        margin-top: 0.75rem;
    }
}
        /* Rating Stars */
        .rating-container {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 1rem;
        }

        .rating-stars {
            color: #FF9529;
            font-size: 1.25rem;
        }

        .rating-text {
            font-weight: 600;
            color: var(--secondary);
        }

        .rating-count {
            font-size: 0.875rem;
            color: var(--gray);
        }
    