/*style4.css*/
        :root {
            --sky-blue: #87CEEB;
            --light-green: #90EE90;
            --white: #FFFFFF;
            --dark-blue: #2C5F7C;
            --text-dark: #333333;
            --text-light: #666666;
            --gradient-primary: linear-gradient(135deg, #87CEEB 0%, #90EE90 100%);
            --gradient-secondary: linear-gradient(135deg, #2C5F7C 0%, #87CEEB 100%);
            --orange-primary: #FF8C42;
            --orange-light: #FFB366;
            --orange-dark: #E07028;
            --dark-overlay: rgba(0, 0, 0, 0.7);
            --orange-overlay: rgba(255, 140, 66, 0.2);
            --blue-overlay: rgba(66, 135, 255, 0.2);
            --gradient-accent: linear-gradient(135deg, #E07028 0%, #FF8C42 100%);
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        /* Preloader*/

        .preloader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--dark-overlay);
            backdrop-filter: blur(8px);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            transition: opacity 0.5s ease-out;
        }

        .preloader::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, var(--orange-overlay) 0%, rgba(44, 95, 124, 0.1) 100%);
            opacity: 0.8;
        }
        .home-preloader::before{
            background: linear-gradient(135deg, var(--blue-overlay) 0%, rgba(0, 255, 55, 0.5) 100%);
        }

        .preloader.hidden {
            opacity: 0;
            pointer-events: none;
        }

        .logo-container {
            margin-bottom: 50px;
            animation: logoFloat 3s ease-in-out infinite;
            z-index: 2;
            position: relative;
            text-align: center;
        }

        .company-name {
            font-size: 2.8rem;
            font-weight: bold;
            color: white;
            text-shadow: 3px 3px 8px rgba(0,0,0,0.5);
            margin-bottom: 15px;
            letter-spacing: 3px;
            text-align: center;
        }

        .company-tagline {
            font-size: 1.3rem;
            color: var(--orange-light);
            font-weight: 400;
            text-align: center;
            margin-bottom: 10px;
            opacity: 0.95;
            text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
        }
        .page-type {
            font-size: 1rem;
            color: rgba(255,255,255,0.8);
            font-weight: 300;
            text-align: center;
            margin-bottom: 20px;
            opacity: 0.9;
            letter-spacing: 1px;
            text-transform: uppercase;
        }        

        .loading-text {
            font-size: 1.2rem;
            color: white;
            font-weight: 500;
            animation: textPulse 2.5s ease-in-out infinite;
            opacity: 0.9;
            text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
            letter-spacing: 0.5px;
        }
        .progress-bar{
            width: 150px;
            height: 150px;
            z-index: 1;
            position: absolute;
            left: calc(50vw - 75px);
            top: calc(25vh - 75px);
        }
        .progress-bar .shape { /* Each 'shape' will be a small particle */
            width: 60px;
            height: 60px;
            background: radial-gradient(circle, rgba(255, 140, 66, 0.2) 0%, rgba(244, 115, 35, 0.619) 70%);
            border: 2px solid rgba(255, 140, 66, 0.3);
            border-radius: 50%;
            opacity: 0; /* Start invisible */
            animation: particleMoveAndFade 10s infinite ease-in-out forwards; /* Longer animation cycle */
            box-shadow: 
                0 4px 20px rgba(255, 140, 66, 0.3),
                inset 0 2px 10px rgba(255, 255, 255, 0.1);
        }
        .progress-bar .home-shape { /* Each 'shape' will be a small particle */
            width: 60px;
            height: 60px;
            background: radial-gradient(circle, rgba(66, 140, 255, 0.2) 0%, rgba(35, 115, 244, 0.619) 70%);
            border: 2px solid rgba(66, 140, 255, 0.3);
            border-radius: 50%;
            opacity: 0; /* Start invisible */
            animation: particleMoveAndFade 10s infinite ease-in-out forwards; /* Longer animation cycle */
            box-shadow: 
                0 4px 20px rgba(66, 140, 255, 0.3),
                inset 0 2px 10px rgba(255, 255, 255, 0.1);
        }

        /* Individual delays and starting positions for each particle */
        .progress-bar .s1 { left: 10%; top: 20%; animation-delay: 0s; }
        .progress-bar .s2 { right: 15%; top: 30%; animation-delay: 1s; background-color: #ff9a2d; } /* Yellowish */
        .progress-bar .s3 { left: 20%; bottom: 25%; animation-delay: 2s; }
        .progress-bar .s4 { right: 5%; bottom: 10%; animation-delay: 3s; background-color: #ffa970; } /* Pinkish white */
        .progress-bar .s5 { left: 50%; top: 50%; transform: translate(-50%, -50%); animation-delay: 4s; }
        .progress-bar .s6 { left: 30%; top: 5%; animation-delay: 5s; background-color: #eca753; }
        .progress-bar .s7 { right: 25%; bottom: 40%; animation-delay: 6s; }
        .progress-bar .s8 { left: 40%; top: 80%; animation-delay: 7s; background-color: #ffd028; }

        .progress-bar .home-s1 { left: 10%; top: 20%; animation-delay: 0s; }
        .progress-bar .home-s2 { right: 15%; top: 30%; animation-delay: 1s; background-color: #2d9aff; } /* Yellowish */
        .progress-bar .home-s3 { left: 20%; bottom: 25%; animation-delay: 2s; }
        .progress-bar .home-s4 { right: 5%; bottom: 10%; animation-delay: 3s; background-color: #70a9ff; } /* Pinkish white */
        .progress-bar .home-s5 { left: 50%; top: 50%; transform: translate(-50%, -50%); animation-delay: 4s; }
        .progress-bar .home-s6 { left: 30%; top: 5%; animation-delay: 5s; background-color: #53a7ec; }
        .progress-bar .home-s7 { right: 25%; bottom: 40%; animation-delay: 6s; }
        .progress-bar .home-s8 { left: 40%; top: 80%; animation-delay: 7s; background-color: #28d0ff; }


        @keyframes particleMoveAndFade {
            0% { transform: translate(0, 0) scale(0.5); opacity: 0; }
            10% { opacity: 0.8; transform: translate(75px, -75px) scale(1); } /* Fade in and slightly move */
            50% { opacity: 0.9; transform: translate(-150px, 150px) scale(1); } /* Continue subtle movement */
            90% { opacity: 0.8; transform: translate(75px, -75px) scale(0.5); } /* Start fading out */
            100% { opacity: 0; transform: translate(0, 0) scale(0.2); } /* Fully faded out, returns to origin for loop */
        }
        .geometric-shapes {
            position: absolute;
            width: 100%;
            height: 100%;
            pointer-events: none;
            overflow: hidden;
            z-index: 1;
        }

        .floating-element {
            position: absolute;
            background: radial-gradient(circle, rgba(255, 140, 66, 0.2) 0%, rgba(255, 140, 66, 0.05) 70%);
            border: 2px solid rgba(255, 140, 66, 0.3);
            border-radius: 50%;
            animation: float 8s ease-in-out infinite;
            box-shadow: 
                0 4px 20px rgba(255, 140, 66, 0.3),
                inset 0 2px 10px rgba(255, 255, 255, 0.1);
        }

        .home-element{
            background: radial-gradient(circle, rgba(66, 140, 255, 0.2) 0%, rgba(66, 140, 255, 0.05) 70%);
            border: 2px solid rgba(66, 140, 255, 0.3);
            box-shadow: 
                0 4px 20px rgba(66, 140, 255, 0.3),
                inset 0 2px 10px rgba(255, 255, 255, 0.1);
        }

        .floating-element:nth-child(1) {
            width: 100px;
            height: 100px;
            top: 15%;
            left: 8%;
            animation-delay: 0s;
        }

        .floating-element:nth-child(2) {
            width: 70px;
            height: 70px;
            top: 65%;
            right: 12%;
            animation-delay: 2.5s;
        }

        .floating-element:nth-child(3) {
            width: 120px;
            height: 120px;
            bottom: 15%;
            left: 15%;
            animation-delay: 5s;
        }

        .floating-element:nth-child(4) {
            width: 80px;
            height: 80px;
            top: 25%;
            right: 20%;
            animation-delay: 1.5s;
        }

        .floating-element:nth-child(5) {
            width: 90px;
            height: 90px;
            bottom: 35%;
            right: 8%;
            animation-delay: 3.5s;
        }

        .floating-element:nth-child(6) {
            width: 60px;
            height: 60px;
            top: 45%;
            left: 5%;
            animation-delay: 4s;
        }

        /* Projects Section */
.projects {
    padding: 5rem 0;
    background: var(--white);
    position: relative;
    z-index: 10;
}

.projects-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--sky-blue);
    background: transparent;
    color: var(--dark-blue);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.project-image {
    height: 250px;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
    width: 100%;
    flex-shrink: 0;
}

.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    z-index: 2;
}

.project-card:hover .project-image::before {
    transform: translateX(100%);
}

/* CRITICAL: Enhanced image rendering for HD PNGs */
.project-image-placeholder {
    width: 100%;
    height: 100%;
    display: block; /* Changed from flex to block for better image handling */
    object-fit: cover;
    object-position: center;
    font-size: 4rem;
    color: white;
    opacity: 1.0;
    
    /* HD Image Rendering Properties */
    image-rendering: -webkit-optimize-contrast; /* Safari */
    image-rendering: -webkit-crisp-edges; /* Safari */
    image-rendering: -moz-crisp-edges; /* Firefox */
    image-rendering: crisp-edges; /* Standard */
    image-rendering: pixelated; /* For pixel art, use with caution */
    image-rendering: high-quality; /* IE/Edge */
    image-rendering: optimizeQuality; /* Alternative */
    
    /* Prevent blurry scaling */
    -ms-interpolation-mode: bicubic; /* IE */
    
    /* Hardware acceleration for smoother rendering */
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: transform;
    
    /* Smooth transitions */
    transition: transform 0.3s ease, opacity 0.3s ease;
    
    /* Ensure sharp edges on retina displays */
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    
    /* Additional sharpening for PNG */
    filter: contrast(1.02) saturate(1.01);
}

/* Hover effect that doesn't compromise image quality */
.project-card:hover .project-image-placeholder {
    transform: scale(1.05);
    filter: contrast(1.05) saturate(1.05) brightness(1.02);
}

/* Ensure images load with proper quality */
.project-image-placeholder[src$=".png"] {
    /* Specific handling for PNG files */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: optimize-contrast;
}

.project-image-placeholder[src$=".jpg"],
.project-image-placeholder[src$=".jpeg"] {
    /* Specific handling for JPEG files */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: optimize-contrast;
}

/* For high DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .project-image-placeholder {
        /* Enhanced rendering for retina displays */
        image-rendering: -webkit-optimize-contrast;
        image-rendering: optimize-contrast;
        /* Remove pixelated for high DPI */
        image-rendering: auto;
    }
}

.project-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-content > div:first-child {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-category {
    background: var(--light-green);
    width: auto;
    max-width: 97px;
    color: var(--dark-blue);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.project-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.project-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.project-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    margin-top: auto;
}

.project-stat {
    text-align: center;
}

.project-stat-value {
    font-weight: bold;
    color: var(--dark-blue);
    font-size: 1.1rem;
}

.project-stat-label {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 0.2rem;
}

/* CSS for Read More/Less functionality */
        .project-description {
            position: relative;
            max-height: 8em; /* Approximately 3 lines of text */
            overflow: hidden;
            transition: max-height 0.3s ease-out;
            margin-bottom: 10px; /* Space between text and button */
        }

        .project-description.expanded {
            max-height: 500px; /* Large enough to show all content, adjust if needed */
        }

        .project-description .more-content {
            display: none; /* Hidden by default */
        }

        .project-description.expanded .more-content {
            display: inline; /* Show when expanded */
        }

        .read-more-btn {
            background: none;
            border: none;
            color: #007bff; /* Or your brand's blue */
            cursor: pointer;
            font-size: 0.9em;
            padding: 0;
            text-decoration: underline;
            margin-top: 5px;
        }

        .read-more-btn:hover {
            color: #0056b3; /* Darker shade on hover */
        }

        /* Gallery Section */
        /* Gallery Status */
        #loading, #error, #gallery-stats {
            max-width: 1200px;
            margin: 0 auto;
            padding: 1rem 2rem;
        }

        #error {
            background: #ffe6e6;
            border: 1px solid #ff9999;
            border-radius: 8px;
            margin-bottom: 2rem;
        }

        #gallery-stats {
            text-align: center;
            color: #666;
            font-weight: 500;
            margin-bottom: 2rem;
        }

        /* Pinterest-Style Masonry Gallery */
        .gallery-container {
            margin: 0 auto;
            padding: 2rem;
        }

        #gallery {
            column-count: 4;
            column-gap: 20px;
            column-fill: balance;
        }

        .gallery-item {
            display: inline-block;
            width: 100%;
            margin-bottom: 20px;
            break-inside: avoid;
            position: relative;
            overflow: hidden;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            cursor: pointer;
            background: white;
        }

        .gallery-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
        }

        .gallery-image {
            width: 100%;
            height: auto;
            display: block;
            transition: transform 0.3s ease;
        }

        .gallery-item:hover .gallery-image {
            transform: scale(1.05);
        }

        .gallery-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(transparent, rgba(0, 0, 0, 0.3));
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .gallery-item:hover::before {
            opacity: 1;
        }

        /* Lightbox */
        .lightbox {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 2000;
            opacity: 0;
            animation: fadeIn 0.3s ease forwards;
        }
        .lightbox-content {
            position: relative;
            max-width: 90%;
            max-height: 90%;
        }

        .lightbox-content img {
            max-width: 100%;
            max-height: 100%;
            border-radius: 8px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
        }

        .close {
            position: absolute;
            top: -40px;
            right: 0;
            color: white;
            font-size: 2rem;
            font-weight: bold;
            cursor: pointer;
            background: rgba(0, 0, 0, 0.5);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.3s ease;
        }

        .close:hover {
            background: rgba(0, 0, 0, 0.8);
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: var(--text-dark);
            overflow-x: hidden;
        }

        /* Smooth scrolling */
        html {
            scroll-behavior: smooth;
        }

        /* Navigation */
        nav {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            z-index: 1000;
            padding: 1rem 0;
            transition: all 0.3s ease;
        }

        nav.scrolled {
            background: rgba(255, 255, 255, 0.98);
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
        }

        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 2rem;
        }

        .logo {
            font-size: 1.8rem;
            font-weight: bold;
            background: var(--gradient-primary);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 2rem;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--text-dark);
            font-weight: 500;
            transition: all 0.3s ease;
            position: relative;
        }

        .nav-links a:hover {
            color: var(--dark-blue);
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--gradient-primary);
            transition: width 0.3s ease;
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        .mobile-menu {
            display: none;
            flex-direction: column;
            cursor: pointer;
        }

        .mobile-menu span {
            width: 25px;
            height: 3px;
            background: var(--text-dark);
            margin: 3px 0;
            transition: 0.3s;
        }

        /* Hero Section */
        .hero {
            height: 100vh;
            background: var(--gradient-secondary);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
            opacity: 0.3;
        }

        .hero-content {
            text-align: center;
            color: white;
            z-index: 2;
            animation: fadeInUp 1s ease-out;
        }

        .hero h1 {
            font-size: 3.5rem;
            margin-bottom: 1rem;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
        }

        .hero p {
            font-size: 1.3rem;
            margin-bottom: 2rem;
            opacity: 0.9;
        }

        .cta-button {
            display: inline-block;
            padding: 1rem 2rem;
            background: rgba(255, 255, 255, 0.2);
            color: white;
            text-decoration: none;
            border-radius: 50px;
            border: 2px solid rgba(255, 255, 255, 0.3);
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
        }

        .cta-button:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }

        /* Floating elements */
        .floating-element {
            position: absolute;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            animation: float 6s ease-in-out infinite;
        }

        .floating-element:nth-child(1) {
            width: 80px;
            height: 80px;
            top: 20%;
            left: 10%;
            animation-delay: 0s;
        }

        .floating-element:nth-child(2) {
            width: 60px;
            height: 60px;
            top: 60%;
            right: 15%;
            animation-delay: 2s;
        }

        .floating-element:nth-child(3) {
            width: 100px;
            height: 100px;
            bottom: 20%;
            left: 20%;
            animation-delay: 4s;
        }

        /* About Section */
        .about {
            padding: 5rem 0;
            background: var(--white);
            position: relative;
            z-index: 10;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .section-title {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 3rem;
            color: var(--dark-blue);
            position: relative;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: var(--gradient-primary);
            border-radius: 2px;
        }

        .about-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }

        .about-text h3 {
            font-size: 2rem;
            margin-bottom: 1rem;
            color: var(--dark-blue);
        }

        .about-text p {
            margin-bottom: 1.5rem;
            color: var(--text-light);
            font-size: 1.1rem;
        }

        .credentials {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            margin-top: 2rem;
        }

        .credential {
            background: var(--gradient-primary);
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 25px;
            font-size: 0.9rem;
            font-weight: 500;
        }

        .about-image {
            position: relative;
            text-align: center;
        }

        .profile-card {
            background: white;
            border-radius: 20px;
            padding: 2rem;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
            transform: translateY(0);
            transition: all 0.3s ease;
        }

        .profile-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
        }

        .profile-image {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            background: var(--gradient-primary);
            margin: 0 auto 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 3rem;
            color: white;
            font-weight: bold;
            object-fit: cover;
        }

        /* Services Section */
        .services {
            padding: 5rem 0;
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            position: relative;
            z-index: 10;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .service-card {
            background: white;
            border-radius: 15px;
            padding: 2rem;
            text-align: center;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: var(--gradient-primary);
            transition: all 0.3s ease;
            opacity: 0.1;
        }

        .service-card:hover::before {
            left: 0;
        }

        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        }

        .service-icon {
            width: 80px;
            height: 80px;
            background: var(--gradient-primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            font-size: 2rem;
            color: white;
        }

        .service-card h3 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: var(--dark-blue);
        }

        .service-card p {
            color: var(--text-light);
            line-height: 1.6;
        }

        /* Contact Section */
        .contact {
            padding: 5rem 0;
            background: var(--gradient-secondary);
            color: white;
            position: relative;
            z-index: 10;
        }

        .contact-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            margin-top: 3rem;
        }

        .contact-info h3 {
            font-size: 1.5rem;
            margin-bottom: 2rem;
        }

        .contact-item {
            display: flex;
            align-items: center;
            margin-bottom: 1.5rem;
        }
        .contact-item a{
            color: white;
            text-decoration: none;
        }

        .contact-icon {
            width: 50px;
            height: 50px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 1rem;
            font-size: 1.2rem;
        }

        .contact-form {
            background: rgba(255, 255, 255, 0.1);
            padding: 2rem;
            border-radius: 15px;
            backdrop-filter: blur(10px);
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 500;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 1rem;
            border: none;
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.9);
            color: var(--text-dark);
            font-size: 1rem;
        }

        .form-group textarea {
            height: 120px;
            resize: vertical;
        }

        .submit-btn {
            background: rgba(255, 255, 255, 0.2);
            color: white;
            border: 2px solid rgba(255, 255, 255, 0.3);
            padding: 1rem 2rem;
            border-radius: 50px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 1rem;
            font-weight: 500;
        }

        .submit-btn:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: translateY(-2px);
        }

        /* Footer */
        footer {
            background: var(--text-dark);
            color: white;
            text-align: center;
            padding: 2rem 0;
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes float {
            0%, 100% {
                transform: translateY(0px);
            }
            50% {
                transform: translateY(-20px);
            }
        }

        /* Responsive Design */
                /* 4K and Ultra-wide screen optimizations */
        @media (min-width: 1920px) {
            .container {
                max-width: 1600px;
            }
            
            .hero h1 {
                font-size: 4.5rem;
            }
            
            .hero p {
                font-size: 1.6rem;
            }
            
            .section-title {
                font-size: 3.2rem;
            }
            
            .about-text h3 {
                font-size: 2.5rem;
            }
            
            .about-text p {
                font-size: 1.3rem;
            }
            
            .service-card h3 {
                font-size: 1.8rem;
            }
            
            .service-card p {
                font-size: 1.1rem;
            }
            
            .services-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 3rem;
            }
            
            .nav-container {
                max-width: 1600px;
            }
            
            .nav-links {
                gap: 3rem;
            }
            
            .nav-links a {
                font-size: 1.1rem;
            }
            
            .logo {
                font-size: 2.2rem;
            }
            .gallery {
                column-width: 320px;
                column-gap: 24px;
            }
    
            .gallery-item {
                margin-bottom: 24px;
            }
        }

        @media (min-width: 2560px) {
            .container {
                max-width: 2000px;
            }
            
            .hero h1 {
                font-size: 5.5rem;
            }
            
            .hero p {
                font-size: 2rem;
            }
            
            .section-title {
                font-size: 4rem;
            }
            
            .about-text h3 {
                font-size: 3rem;
            }
            
            .about-text p {
                font-size: 1.5rem;
            }
            
            .service-card {
                padding: 3rem;
            }
            
            .service-card h3 {
                font-size: 2.2rem;
            }
            
            .service-card p {
                font-size: 1.3rem;
            }
            
            .service-icon {
                width: 100px;
                height: 100px;
                font-size: 2.5rem;
            }
            
            .profile-image {
                width: 150px;
                height: 150px;
                font-size: 3.5rem;
            }
            
            .profile-card {
                padding: 3rem;
            }
            
            .nav-links a {
                font-size: 1.3rem;
            }
            
            .logo {
                font-size: 2.5rem;
            }
            
            .contact-grid {
                gap: 6rem;
            }
            
            .contact-form {
                padding: 3rem;
            }
            
            .form-group input,
            .form-group textarea {
                padding: 1.5rem;
                font-size: 1.2rem;
            }
            .gallery {
                column-width: 350px;
                column-gap: 28px;
            }
    
            .gallery-item {
                margin-bottom: 28px;
            }
        }

        @media (min-width: 3840px) {
            .container {
                max-width: 2800px;
            }
            
            .hero h1 {
                font-size: 7rem;
            }
            
            .hero p {
                font-size: 2.5rem;
            }
            
            .section-title {
                font-size: 5rem;
            }
            
            .about-grid {
                gap: 8rem;
            }
            
            .about-text h3 {
                font-size: 3.5rem;
            }
            
            .about-text p {
                font-size: 1.8rem;
            }
            
            .services-grid {
                gap: 4rem;
            }
            
            .service-card {
                padding: 4rem;
            }
            
            .service-card h3 {
                font-size: 2.5rem;
            }
            
            .service-card p {
                font-size: 1.5rem;
            }
            
            .service-icon {
                width: 120px;
                height: 120px;
                font-size: 3rem;
            }
            
            .profile-image {
                width: 180px;
                height: 180px;
                font-size: 4rem;
            }
            
            .profile-card {
                padding: 4rem;
            }
            
            .contact-grid {
                gap: 8rem;
            }
            
            .contact-item {
                margin-bottom: 2.5rem;
            }
            
            .contact-icon {
                width: 70px;
                height: 70px;
                font-size: 1.8rem;
            }
            
            .nav-links {
                gap: 4rem;
            }
            
            .nav-links a {
                font-size: 1.5rem;
            }
            
            .logo {
                font-size: 3rem;
            }
            
            .floating-element:nth-child(1) {
                width: 120px;
                height: 120px;
            }
            
            .floating-element:nth-child(2) {
                width: 100px;
                height: 100px;
            }
            
            .floating-element:nth-child(3) {
                width: 140px;
                height: 140px;
            }
            .gallery {
                column-width: 400px;
                column-gap: 32px;
            }
    
            .gallery-item {
                margin-bottom: 32px;
            }
        }
        
        @media (max-width: 768px) {
            .nav-links {
                display: none;
                flex-direction: column;
                padding: 8px;
            }
            .nav-links a{
                color: #4682B4;
            }
            #mobile-menu{
                display: none;
                position: fixed;
                top: 50px;
                right: 0;
                margin: 6px;
                width: 60%;
                background: rgba(255, 255, 255, 0.60);
                backdrop-filter: blur(10px);
                border: none;
                border-radius: 10px;
                box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.15);
                z-index: 1000;
                transition: all 0.3s ease;                
            }

            .mobile-menu {
                display: flex;
            }

            .hero h1 {
                font-size: 2.5rem;
            }

            .hero p {
                font-size: 1.1rem;
            }

            .about-grid,
            .contact-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .services-grid,
            .projects-grid{
                grid-template-columns: 1fr;
            }

            .container {
                padding: 0 1rem;
            }

            .floating-element {
                display: none;
            }

            .cta-button {
                display: block;
                margin: 0.5rem auto;
                width: fit-content;
            }
            .projects-filter{
                justify-content: center;
                gap: 0.5rem;
            }

            .filter-btn{
                padding: 0.6rem 1rem;
                font-size: 0.9rem;
            }

            .projects-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }

            .project-card {
                margin: 0 auto;
                max-width: 400px;
            }
            .project-image {
                height: 200px;
            }
    
            .project-image-placeholder {
            /* Maintain quality on mobile */
                image-rendering: -webkit-optimize-contrast;
                image-rendering: optimize-contrast;
            }
    

            .gallery {
                column-width: 250px;
                column-gap: 15px;
            }
            
            .gallery-item {
                margin-bottom: 15px;
            }
        }

        @media (max-width: 480px) {
            .hero h1 {
                font-size: 2rem;
            }

            .section-title {
                font-size: 2rem;
            }

            .nav-container {
                padding: 0 1rem;
            }

            .gallery {
                column-width: auto;
                column-gap: 0;
            }
            
            .gallery-item {
                margin-bottom: 12px;
            }
        }

        /* Scroll animations */
        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s ease;
        }

        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }
