 :root {
        --primary-blue: #2563eb;
        --light-blue: #3b82f6;
        --dark-blue: #1d4ed8;
        --light-gray: #f8fafc;
        --medium-gray: #e2e8f0;
        --dark-gray: #64748b;
        --accent-purple: #8b5cf6;
        --accent-pink: #ec4899;
        --accent-green: #10b981;
        --accent-orange: #f59e0b;
        --text-dark: #1e293b;
        --text-light: #64748b;
        --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
        --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
        --gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
        --gradient-5: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
        --gradient-6: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    }

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    body {
        background-color: var(--light-gray);
        color: var(--text-dark);
        overflow-x: hidden;
    }

    /* Navigation */
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        padding: 20px 5%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        z-index: 1000;
        transition: all 0.3s ease;
    }

    .navbar.scrolled {
        padding: 15px 5%;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }

    .logo {
        font-size: 1.8rem;
        font-weight: 700;
        background: var(--gradient-1);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

    .nav-links {
        display: flex;
        gap: 30px;
    }

    .nav-links a {
        text-decoration: none;
        color: var(--text-dark);
        font-weight: 500;
        transition: color 0.3s ease;
        position: relative;
    }

    .nav-links a:hover {
        color: var(--primary-blue);
    }

    .nav-links a::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--gradient-1);
        transition: width 0.3s ease;
    }

    .nav-links a:hover::after {
        width: 100%;
    }

    .nav-btns {
        display: flex;
        gap: 15px;
    }

    .menu-toggle {
        display: none;
        font-size: 1.5rem;
        cursor: pointer;
    }

    /* Hero Section */
    .hero {
        height: 100vh;
        display: flex;
        align-items: center;
        position: relative;
        overflow: hidden;
        padding: 0 5%;
    }

    .hero-content {
        max-width: 600px;
        z-index: 10;
        position: relative;
    }

    .hero-title {
        font-size: 3.5rem;
        font-weight: 800;
        margin-bottom: 1.5rem;
        line-height: 1.1;
        background: var(--gradient-1);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

    .hero-subtitle {
        font-size: 1.3rem;
        margin-bottom: 2.5rem;
        color: var(--dark-gray);
    }

    .hero-btns {
        display: flex;
        gap: 20px;
    }

    .btn {
        display: inline-block;
        padding: 14px 32px;
        border-radius: 50px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s ease;
        cursor: pointer;
        border: none;
        font-size: 1rem;
    }

    .btn-primary {
        background: var(--gradient-1);
        color: white;
        box-shadow: 0 4px 14px rgba(102, 126, 234, 0.4);
    }

    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
    }

    .btn-outline {
        background-color: transparent;
        color: var(--primary-blue);
        border: 2px solid var(--primary-blue);
    }

    .btn-outline:hover {
        background-color: var(--primary-blue);
        color: white;
        transform: translateY(-3px);
    }

    #hero-canvas {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }

    /* Floating Shapes */
    .floating-shapes {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        overflow: hidden;
        z-index: 2;
    }

    .shape {
        position: absolute;
        border-radius: 50%;
        opacity: 0.7;
        filter: blur(40px);
    }

    .shape-1 {
        width: 300px;
        height: 300px;
        background: var(--gradient-3);
        top: 10%;
        right: 10%;
        animation: float 15s ease-in-out infinite;
    }

    .shape-2 {
        width: 200px;
        height: 200px;
        background: var(--gradient-2);
        bottom: 20%;
        left: 5%;
        animation: float 12s ease-in-out infinite reverse;
    }

    .shape-3 {
        width: 150px;
        height: 150px;
        background: var(--gradient-4);
        top: 60%;
        right: 20%;
        animation: float 10s ease-in-out infinite;
    }

    @keyframes float {
        0% {
            transform: translate(0, 0) rotate(0deg);
        }

        33% {
            transform: translate(30px, -50px) rotate(120deg);
        }

        66% {
            transform: translate(-20px, 20px) rotate(240deg);
        }

        100% {
            transform: translate(0, 0) rotate(360deg);
        }
    }

    /* Sections */
    section {
        padding: 100px 5%;
    }

    .container {
        max-width: 1200px;
        margin: 0 auto;
    }

    h2 {
        font-size: 2.5rem;
        margin-bottom: 3rem;
        text-align: center;
        font-weight: 700;
    }

    h3 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    p {
        line-height: 1.6;
        color: var(--text-light);
        margin-bottom: 1.5rem;
    }

    /* Services Section */
    .services {
        background-color: white;
    }

    .services-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }

    .service-card {
        text-decoration: none;
            color: inherit;
        background-color: white;
        border-radius: 16px;
        padding: 30px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        z-index: 1;
    }

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    }

    .service-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background: var(--gradient-1);
        z-index: 2;
    }

    .service-icon {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 20px;
        font-size: 1.8rem;
        color: white;
    }

    .service-1 .service-icon {
        background: var(--gradient-1);
    }

    .service-2 .service-icon {
        background: var(--gradient-2);
    }

    .service-3 .service-icon {
        background: var(--gradient-3);
    }

    .service-4 .service-icon {
        background: var(--gradient-4);
    }

    .service-5 .service-icon {
        background: var(--gradient-5);
    }

    .service-6 .service-icon {
        background: var(--gradient-1);
    }

    /* About Section */
    .about {
        background-color: var(--light-gray);
        position: relative;
    }

    .about-content {
        display: flex;
        align-items: center;
        gap: 60px;
    }

    .about-text {
        flex: 1;
    }

    .about-visual {
        flex: 1;
        position: relative;
        height: 400px;
    }

    /* Portfolio Section */
  /* Ultra Portfolio Section */
.ultra-portfolio {
    background: #f3f6f9;
    padding: 120px 0;
}

.portfolio-title {
    text-align: center;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 80px;
    color: #1a1a1a;
}

/* Portfolio Items */
.portfolio-items {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

/* Portfolio Item Big */
.portfolio-item-big {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.15);
    transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.portfolio-item-big img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-item-big:hover img {
    transform: scale(1.1);
}

/* Reverse layout for variety */
.portfolio-item-big.reverse {
    flex-direction: row-reverse;
}

/* Overlay with gradient */
.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 40px;
    transition: background 0.5s ease;
}

.portfolio-item-big:hover .portfolio-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.45), transparent 60%);
}

/* Portfolio Text */
.portfolio-text {
    color: #fff;
    max-width: 600px;
}

.portfolio-industry {
    font-weight: 600;
    font-size: 1rem;
    color: #67f;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.portfolio-text h3 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.portfolio-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #c9dcf0;
}

/* View Project Button */
.btn-view-project {
    display: inline-block;
    padding: 12px 30px;
    background: #667eea;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
}

.btn-view-project:hover {
    background: #5a67d8;
    transform: translateY(-3px);
}

/* View More Button */
.view-more-wrapper {
    text-align: center;
    margin-top: 60px;
}

.view-more-btn {
    background: #ff6f61;
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-more-btn:hover {
    background: #e55b4d;
    transform: translateY(-3px);
}

/* Responsive */
@media screen and (max-width: 1024px) {
    .portfolio-item-big {
        height: 400px;
    }
    .portfolio-text h3 {
        font-size: 2rem;
    }
}




   /* Why Choose Us Section Modern UI */
.why-us {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fb, #eef1f5);
}

.why-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 50px;
    font-weight: 700;
    color: #1d1d1d;
}

/* Grid */
.features-grid {
    display: grid;
    gap: 35px;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}

/* Feature Cards - New Design */
.feature-card {
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

/* Hover Glow + Lift */
.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    background: rgba(255, 255, 255, 0.85);
}

/* Icon */
.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary, #645ccc);
}

/* Headings */
.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    font-weight: 600;
    color: #222;
}

/* Paragraph */
.feature-card p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

  
    

    /* Blog Section */
    .blog {
        background-color: var(--light-gray);
    }

    .blog-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }

    .blog-card {
        background-color: white;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease;
    }

    .blog-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    }

    .blog-img {
        height: 200px;
        background-color: var(--medium-gray);
    }

    .blog-content {
        padding: 25px;
    }

    .blog-title {
        margin-bottom: 15px;
    }

    .blog-link {
        color: var(--primary-blue);
        font-weight: 600;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
    }

    .blog-link i {
        margin-left: 5px;
        transition: transform 0.3s ease;
    }

    .blog-link:hover i {
        transform: translateX(5px);
    }

    /* Contact Form */
    .contact {
        background-color: white;
    }

    .contact-container {
        display: flex;
        gap: 60px;
    }

    .contact-info {
        flex: 1;
    }

    .contact-form {
        flex: 1;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-control {
        width: 100%;
        padding: 15px;
        border: 1px solid var(--medium-gray);
        border-radius: 8px;
        font-size: 1rem;
        transition: all 0.3s ease;
    }

    .form-control:focus {
        outline: none;
        border-color: var(--primary-blue);
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    }

    textarea.form-control {
        min-height: 150px;
        resize: vertical;
    }

    /* CTA Section */
    .cta {
        background: var(--gradient-1);
        color: white;
        text-align: center;
        border-radius: 20px;
        margin: 2% 5%;
        position: relative;
        overflow: hidden;
    }

    .cta h2 {
        color: white;
        margin-bottom: 30px;
    }

    .cta-ring {
        position: absolute;
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        animation: pulse 3s infinite;
    }

    .ring-1 {
        width: 300px;
        height: 300px;
        top: -150px;
        right: -150px;
    }

    .ring-2 {
        width: 200px;
        height: 200px;
        bottom: -100px;
        left: -100px;
        animation-delay: 1s;
    }

    @keyframes pulse {
        0% {
            transform: scale(0.8);
            opacity: 0.7;
        }

        50% {
            transform: scale(1.2);
            opacity: 0.3;
        }

        100% {
            transform: scale(0.8);
            opacity: 0.7;
        }
    }

    /* Footer */
    footer {
        background-color: var(--text-dark);
        color: white;
        padding: 80px 5% 40px;
    }

    .footer-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 40px;
        margin-bottom: 60px;
    }

    .footer-col h3 {
        color: white;
        margin-bottom: 25px;
        font-size: 1.3rem;
    }

    .footer-links {
        list-style: none;
    }

    .footer-links li {
        margin-bottom: 12px;
    }

    .footer-links a {
        color: #94a3b8;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .footer-links a:hover {
        color: white;
    }

    .social-icons {
        display: flex;
        gap: 15px;
        margin-top: 20px;
    }

    .social-icon {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: rgba(234, 228, 228, 0.982);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        text-decoration: none;
    }

    .social-icon:hover {
        background-color: var(--primary-blue);
        transform: translateY(-3px);
    }

    .footer-bottom {
        display: flex;
        justify-content: space-between;
        text-align: center;
        padding-top: 40px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        color: #94a3b8;
    }

    /* WhatsApp Button */
    .whatsapp-float {
        position: fixed;
        bottom: 30px;
        right: 30px;
        width: 60px;
        height: 60px;
        background-color: #25D366;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
        z-index: 1000;
        transition: all 0.3s ease;
        text-decoration: none;
    }

    .whatsapp-float:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 25px rgba(37, 211, 102, 0.7);
    }

    .whatsapp-float i {
        color: white;
        font-size: 1.8rem;
    }

    /* Responsive */
    @media (max-width: 992px) {
        h1 {
            font-size: 2.8rem;
        }

        h2 {
            font-size: 2.2rem;
        }

        .about-content,
        .contact-container {
            flex-direction: column;
        }

        .about-visual {
            width: 100%;
        }

        .nav-links {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            background: white;
            flex-direction: column;
            padding: 20px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }

        .nav-links.active {
            display: flex;
        }

        .menu-toggle {
            display: block;
        }
    }

    @media (max-width: 768px) {
        section {
            padding: 80px 5%;
        }

        h1 {
            font-size: 2.3rem;
        }

        h2 {
            font-size: 1.8rem;
        }

        .hero-btns {
            flex-direction: column;
            gap: 15px;
        }

        .btn {
            width: 100%;
            text-align: center;
        }

        .hero-title {
            font-size: 2.5rem;
        }
    }

 

    /* services page css */

    .portfolio-img {
    width: 100%;
    height: 220px;
    background-size: cover;       /* Prevents distortion and cropping issues */
    background-position: center;  /* Centers the image perfectly */
    background-repeat: no-repeat; /* No tiling */
    border-radius: 8px;
    overflow: hidden;             /* Ensures image doesn't overflow */
}


/* ===============================
   🔹 Nordic Neo-Glass Stats UI
   =============================== */
.nordic-stats {
    padding: 100px 0;
    background: linear-gradient(135deg, #eef2f7 0%, #f5f7fa 100%);
    position: relative;
    overflow: hidden;
}

/* Soft Ambient Background Glow */
.nordic-stats::before,
.nordic-stats::after {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    z-index: 0;
}

.nordic-stats::before {
    background: #7d92ef;
    top: -80px;
    left: -50px;
}

.nordic-stats::after {
    background:  #7d92ef;
    bottom: -80px;
    right: -50px;
}

/* Section Title */
.nordic-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 70px;
    letter-spacing: -0.03em;
    position: relative;
    z-index: 2;
}

/* Grid Layout */
.nordic-stats-grid {
    display: grid;
    gap: 45px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    position: relative;
    z-index: 2;
}

/* Card Wrapper (Glass + Hover Glow) */
.nordic-stat-card {
    padding: 50px 30px;
    text-align: center;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4);

    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.05),
        0 15px 45px rgba(102, 126, 234, 0.12);
    
    transition: all 0.45s ease;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

/* Card Hover Effects */
.nordic-stat-card:hover {
    transform: translateY(-14px) scale(1.03);
    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.08),
        0 25px 60px rgba(102, 126, 234, 0.2);
}

/* Floating Light Effect */
.nordic-stat-card::after {
    content: "";
    position: absolute;
    top: -40%;
    left: -40%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(255,255,255,0.25), transparent 70%);
    opacity: 0;
    transform: rotate(25deg);
    transition: 0.5s;
}

.nordic-stat-card:hover::after {
    opacity: 1;
}

/* Animated Gradient Number */
.nordic-stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;

    /* Animated Gradient */
    background: linear-gradient(135deg, #667eea, #764ba2, #a855f7);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;

    animation: gradientMove 4s ease infinite, fadeUp 0.8s ease forwards;
    opacity: 0;
    transform: translateY(15px);
}

/* Smooth Animated Gradient */
@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Fade-up effect */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Delay for each card number */
.nordic-stat-card:nth-child(2) .nordic-stat-number { animation-delay: 0.2s, 0.2s; }
.nordic-stat-card:nth-child(3) .nordic-stat-number { animation-delay: 0.4s, 0.4s; }
.nordic-stat-card:nth-child(4) .nordic-stat-number { animation-delay: 0.6s, 0.6s; }

/* Stat Label */
.nordic-stat-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    letter-spacing: 0.4px;
    margin-top: 10px;
    opacity: 0.85;
}

/* --- Testimonial Carousel Section --- */
.testimonial-carousel-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
}

.testimonial-carousel-section .carousel-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #333;
}

/* Carousel Wrapper */
.carousel-wrapper {
    position: relative;
    overflow: hidden;
}

/* Carousel Track (flex scroll) */
.carousel-track {
    display: flex;
    animation: scroll 20s linear infinite;
}

/* Individual Carousel Items */
.carousel-item {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-right: 20px;
    min-width: 300px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carousel-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

/* Avatar Styling */
.testimonial-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #007BFF;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Testimonial Text */
.carousel-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

.carousel-item h3 {
    font-size: 1.1rem;
    color: #222;
    margin-bottom: 5px;
}

.carousel-item span {
    font-size: 0.9rem;
    color: #888;
}

/* Infinite Scroll Animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-item {
        min-width: 250px;
    }
}

@media (max-width: 480px) {
    .carousel-item {
        min-width: 200px;
        padding: 20px;
    }
}
