    html {
        scroll-behavior: smooth;
        scroll-padding-top: 75px; /* Smooth scroll fix for fixed navbar */
    }

    body {
        font-family: "Segoe UI", sans-serif;
        color: #444;
        overflow-x: hidden;
    }

    /* Navbar Customization */
    .navbar {
        background: #1f2937;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        transition: all 0.3s ease;
    }

    .navbar-brand {
        font-size: 26px;
        font-weight: 700;
        color: #0d6efd !important;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .nav-link {
        color: rgba(255, 255, 255, 0.85) !important;
        margin-left: 15px;
        font-weight: 500;
        transition: color 0.2s ease;
    }

    .nav-link:hover, .nav-link.active {
        color: #0d6efd !important;
    }

    /* Hero Section */
    .hero {
        background: linear-gradient(rgba(17, 24, 39, 0.7), rgba(17, 24, 39, 0.7)),
                    url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1800&q=80");
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
        min-height: 100vh;
        display: flex;
        align-items: center;
    }

    .hero h1 {
        font-size: clamp(2.5rem, 5vw, 4rem);
        font-weight: 800;
        line-height: 1.2;
    }

    .hero p {
        font-size: clamp(1.1rem, 2vw, 1.4rem);
        color: #e5e7eb;
    }

    /* Utility & Component Styling */
    .section {
        padding: 100px 0;
    }

    .section-title {
        font-weight: 700;
        position: relative;
        padding-bottom: 15px;
        margin-bottom: 30px;
    }

    .section-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 60px;
        height: 4px;
        background-color: #0d6efd;
        border-radius: 2px;
    }

    .text-center .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    /* Stats Section */
    .stats {
        background: #1f2937;
        color: white;
        padding: 60px 0;
    }

    .counter {
        font-size: 45px;
        font-weight: 700;
        color: #60a5fa; /* Vibrant blue for readable contrast against the dark layout background */
    }

    /* Project Gallery */
    .project-wrapper {
        position: relative;
        overflow: hidden;
        border-radius: 12px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    }

    .project-img {
        transition: transform 0.5s ease;
        width: 100%;
        height: 280px;
        object-fit: cover;
    }

    .project-wrapper:hover .project-img {
        transform: scale(1.1);
    }

    /* Form Control Interactions */
    .form-control:focus {
        border-color: #0d6efd;
        box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    }

    footer {
        background: #111827;
        color: #9ca3af;
    }


    /* Full-screen Hero Carousel Styles */
    .hero-carousel,
    .hero-carousel .carousel-inner,
    .hero-carousel .carousel-item {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }

    /* Background image handling with continuous smooth scaling zoom */
    .hero-bg-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: brightness(0.35); /* Darkens images for perfect text readability */
        transform: scale(1);
        transition: transform 8s ease-out;
    }

    /* Zoom effect when the slide becomes active */
    .carousel-item.active .hero-bg-img {
        transform: scale(1.08);
    }

    /* Ensure content sits cleanly over the background slider */
    .hero .container {
        position: relative;
        z-index: 2;
    }

    /* Premium Projects Overlay Customization */
    .project-card {
        position: relative;
        overflow: hidden;
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
        z-index: 1;
    }

    .project-img-wrapper {
        position: relative;
        width: 100%;
        height: 350px; /* Uniform height for clean grid layout */
        overflow: hidden;
    }

    .project-img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }

    /* Subtle dark gradient overlay that deepens on hover */
    .project-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to top, rgba(17, 24, 39, 0.95) 0%, rgba(17, 24, 39, 0.4) 60%, rgba(17, 24, 39, 0.1) 100%);
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding: 2rem;
        opacity: 0.9; /* Keeps text legible at all times */
        transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }

    /* Interactive element animation shifts */
    .project-details {
        transform: translateY(20px);
        transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .project-badge {
        background-color: rgba(13, 110, 253, 0.2);
        color: #0d6efd;
        border: 1px solid rgba(13, 110, 253, 0.4);
        padding: 0.35rem 0.75rem;
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: 700;
        border-radius: 50px;
        display: inline-block;
        margin-bottom: 0.75rem;
    }

    /* Hover States */
    .project-card:hover img {
        transform: scale(1.1);
    }

    .project-card:hover .project-overlay {
        background: linear-gradient(to top, rgba(11, 17, 27, 0.98) 0%, rgba(17, 24, 39, 0.6) 100%);
    }

    .project-card:hover .project-details {
        transform: translateY(0);
    }

    /* Premium Hover Transformations for Service Cards */
    .service-card {
        border: none;
        border-radius: 16px;
        background: #ffffff;
        padding: 2.5rem 2rem !important;
        position: relative;
        overflow: hidden;
        z-index: 1;
        transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.03);
    }

    /* Subtle decorative background glow on hover */
    .service-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(13, 110, 253, 0.04) 0%, rgba(13, 110, 253, 0.02) 100%);
        opacity: 0;
        z-index: -1;
        transition: opacity 0.5s ease;
    }

    .service-card:hover::before {
        opacity: 1;
    }

    .service-card:hover {
        transform: translateY(-12px) scale(1.02);
        box-shadow: 0 20px 40px rgba(13, 110, 253, 0.08);
    }

    /* Interactive Icon Circle Wrapper */
    .icon-box {
        width: 90px;
        height: 90px;
        margin: 0 auto 25px;
        background: #f8f9fa;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .icon-box i {
        font-size: 40px;
        color: #0d6efd;
        transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    /* Synchronized Card Hover Animations */
    .service-card:hover .icon-box {
        background: #0d6efd;
    }

    .service-card:hover .icon-box i {
        color: #ffffff;
        transform: rotate(10deg) scale(1.1);
    }

    .service-card h4 {
        transition: color 0.3s ease;
    }

    .service-card:hover h4 {
        color: #0d6efd;
    }