        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: Arial, Geneva, Verdana, Tahoma, sans-serif;
            background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1f1f1f 100%);
            color: #f8f8f8;
            overflow-x: hidden;
            /* line-height: 1.6; */
        }

        a {
            color: #ffd700
        }

        /* Animated background particles */
        .particles {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            overflow: hidden;
        }

        .particle {
            position: absolute;
            width: 4px;
            height: 4px;
            background: linear-gradient(45deg, #ffd700, #ffed4e);
            border-radius: 50%;
            animation: float 20s infinite ease-in-out;
            opacity: 0.5;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.8; }
            50% { transform: translateY(-120px) rotate(180deg); opacity: 1; }
        }

        /* Header */
        header {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgb(22, 22, 22);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(255, 215, 0, 0.2);
            z-index: 1000;
            transition: all 0.5s ease;
            padding-top: env(safe-area-inset-top);  /* Add this */
        }

        header img {
            margin-top: 10px;
        }

        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 5%;
            padding-left: max(5%, env(safe-area-inset-left));  /* Add this */
            padding-right: max(5%, env(safe-area-inset-right)); /* Add this */
            max-width: 1400px;
            margin: 0 auto;
        }

        .logo {
            font-size: 2rem;
            font-weight: 800;
            background: linear-gradient(45deg, #ffd700, #ffed4e);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
            transition: opacity 0.6s ease;
        }

        /* Header logo starts invisible and fades in on scroll */
        .logo img {
            opacity: 0;
            transform: scale(0.8);
            transition: all 0.6s ease;
        }

        .logo.visible img {
            opacity: 1;
            transform: scale(1);
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 2.5rem;
        }

        .nav-links a {
            color: #f8f8f8;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            position: relative;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 3px;
            bottom: -8px;
            left: 0;
            background: linear-gradient(45deg, #ffd700, #ffed4e);
            transition: width 0.3s ease;
            border-radius: 2px;
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        .nav-links a:hover {
            color: #ffd700;
            text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
        }

        /* Mobile menu toggle */
        .mobile-menu-toggle {
            display: none;
            background: none;
            border: none;
            color: #f8f8f8;
            font-size: 1.5rem;
            cursor: pointer;
            padding: 0.5rem;
            transition: color 0.3s ease;
        }

        .mobile-menu-toggle:hover {
            color: #ffd700;
        }

        .mobile-menu-toggle span {
            display: block;
            width: 25px;
            height: 3px;
            background: currentColor;
            margin: 5px 0;
            transition: 0.3s;
            border-radius: 2px;
        }

        .mobile-menu-toggle.active span:nth-child(1) {
            transform: rotate(-45deg) translate(-5px, 6px);
        }

        .mobile-menu-toggle.active span:nth-child(2) {
            opacity: 0;
        }

        .mobile-menu-toggle.active span:nth-child(3) {
            transform: rotate(45deg) translate(-5px, -6px);
        }

        /* Hero Section */
        .hero {
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 0 5%;
            position: relative;
        }

        .hero-content {
            max-width: 1100px;
            z-index: 2;
        }

        /* Hero logo that fades out on scroll */
        .hero-logo {
            transition: all 0.6s ease;
            margin-bottom: 2rem;
        }

        .hero-logo img {
            transition: all 0.6s ease;
        }

        .hero-logo.fade-out {
            opacity: 0;
            transform: translateY(-30px) scale(0.9);
        }

        .hero h1 {
            font-size: 3.5rem;
            margin-bottom: 1.5rem;
            background: linear-gradient(45deg, #ffd900bd, #ffed4e, #ffd900bd);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: slideInUp 1s ease-out;
            font-weight: 800;
            text-shadow: 0 0 50px rgba(255, 215, 0, 0.2);
        }

        .hero p {
            font-size: 1.4rem;
            margin-bottom: 2.5rem;
            opacity: 0.9;
            animation: slideInUp 1s ease-out 0.2s both;
            color: #e0e0e0;
        }

        .cta-button {
            display: inline-block;
            padding: 18px 45px;
            background: linear-gradient(90deg, #ffd900bd, #ffed4e, #ffd900bd);
            color: #1a1a1a;
            text-decoration: none;
            border-radius: 50px;
            font-weight: 700;
            font-size: 1.2rem;
            transition: all 0.3s ease;
            animation: slideInUp 1s ease-out 0.4s both;
            position: relative;
            overflow: hidden;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .cta-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
            transition: left 0.5s ease;
        }

        .cta-button:hover::before {
            left: 100%;
        }

        .cta-button:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
        }

        @keyframes slideInUp {
            from {
                opacity: 0;
                transform: translateY(60px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Services Section */
        .services {
            padding: 120px 5%;
            max-width: 1400px;
            margin: 0 auto;
        }

        .section-title {
            text-align: center;
            font-size: 3.5rem;
            margin-bottom: 2.5rem;
            background: linear-gradient(90deg, #ffd900bd, #ffed4e, #ffd900bd);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-weight: 800;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2.5rem;
            margin-top: 4rem;
        }

        .service-card {
            background: rgba(248, 248, 248, 0.03);
            border: 2px solid rgba(255, 215, 0, 0.1);
            border-radius: 25px;
            padding: 2.5rem;
            text-align: center;
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
        }

        .service-card::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.05), transparent);
            transform: rotate(45deg);
            transition: all 0.6s ease;
            opacity: 0;
        }

        .service-card:hover::before {
            opacity: 1;
            transform: rotate(45deg) translate(60px, 60px);
        }

        .service-card:hover {
            transform: translateY(-15px);
            border-color: rgba(255, 215, 0, 0.4);
            box-shadow: 0 25px 50px rgba(255, 215, 0, 0.15);
            background: rgba(248, 248, 248, 0.06);
        }

        .service-icon {
            font-size: 3.5rem;
            margin-bottom: 1.5rem;
            display: block;
        }

        .service-card h3 {
            font-size: 1.8rem;
            margin-bottom: 1.5rem;
            color: #ffd700;
            font-weight: 700;
        }

        .service-card p {
            color: #d0d0d0;
            font-size: 1.1rem;
            line-height: 1.7;
        }

        /* Portfolio Section */
        .portfolio {
            padding: 100px 5%;
            background: rgba(255, 215, 0, 0.02);
            border-top: 1px solid rgba(255, 215, 0, 0.1);
            border-bottom: 1px solid rgba(255, 215, 0, 0.1);
        }

        .portfolio-container {
            max-width: 1400px;
            margin: 0 auto;
            position: relative;
        }

        .carousel-wrapper {
            position: relative;
            overflow: hidden;
            border-radius: 20px;
            margin-top: 3rem;
        }

        .carousel-container {
            display: flex;
            transition: transform 0.5s ease-in-out;
        }

        .portfolio-slide {
            min-width: 100%;
            background: rgba(248, 248, 248, 0.03);
            border: 1px solid rgba(255, 215, 0, 0.1);
            border-radius: 20px;
            overflow: hidden;
            display: flex;
            align-items: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .portfolio-slide:hover {
            border-color: rgba(255, 215, 0, 0.4);
            box-shadow: 0 15px 40px rgba(255, 215, 0, 0.15);
        }

        .slide-image {
            width: 50%;
            height: 400px;
            background: linear-gradient(90deg, #ffd900bd, #ffed4e, #ffd900bd);
            /* display: flex; */
            align-items: flex-start;  /* Change from center */
            justify-content: flex-start;  /* Change from center */
            font-size: 4rem;
            color: #1a1a1a;
            position: relative;
            overflow: hidden;  /* Keep this */
        }

        .slide-image iframe {
            width: 2150px;
            height: 1200px;
            border: none;
            pointer-events: none;
            transform: scale(0.335);  /* Changed from 0.35 */
            transform-origin: top left;
        }

        .slide-image::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .portfolio-slide:hover .slide-image::after {
            opacity: 1;
        }

        .slide-content {
            width: 50%;
            padding: 3rem;
        }

        .slide-content h3 {
            font-size: 2rem;
            margin-bottom: 1rem;
            color: #f8f8f8;
            font-weight: 700;
        }

        .slide-content p {
            color: #c0c0c0;
            line-height: 1.4;
            font-size: 1rem;
            margin-bottom: 2rem;
            margin-right: 1rem;
            margin-left: 1rem;
        }

        .portfolio-tags {
            margin-bottom: 2rem;
        }

        .portfolio-tag {
            background: rgba(255,215,0,0.2);
            color: #ffd700;
            padding: 0.4rem 1rem;
            border-radius: 20px;
            font-size: 0.9rem;
            margin-right: 0.8rem;
            display: inline-block;
            margin-bottom: 0.5rem;
        }

        .view-project-btn {
            background: linear-gradient(45deg, #ffd700, #ffed4e);
            color: #1a1a1a;
            padding: 12px 24px;
            border: none;
            border-radius: 25px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
        }

        .view-project-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
        }

        /* Carousel Controls */
        .carousel-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 215, 0, 0.9);
            color: #1a1a1a;
            border: none;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            font-size: 1.5rem;
            cursor: pointer;
            transition: all 0.3s ease;
            z-index: 10;
        }

        .carousel-nav:hover {
            background: #ffd700;
            transform: translateY(-50%) scale(1.1);
        }

        .prev-btn {
            left: 5px;
        }

        .next-btn {
            right: 5px;
        }

        /* Carousel Dots */
        .carousel-dots {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-top: 2rem;
        }

        .dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(255, 215, 0, 0.3);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .dot.active {
            background: #ffd700;
            transform: scale(1.2);
        }

        .dot:hover {
            background: rgba(255, 215, 0, 0.7);
        }

        /* Mobile Responsive */
        @media (max-width: 768px) {
            .portfolio-slide {
                flex-direction: column;
                text-align: center;
            }

            .slide-image,
            .slide-content {
                width: 100%;
            }

            .slide-image {
                height: 250px;
            }

            .slide-content {
                padding: 2rem;
            }

            .slide-content h3 {
                font-size: 1.5rem;
            }

            .carousel-nav {
                width: 40px;
                height: 40px;
                font-size: 1.2rem;
            }

            .prev-btn {
                left: 10px;
            }

            .next-btn {
                right: 10px;
            }

            .hero-logo img {
                max-width: 90%;  
                padding-bottom: 20px;
            }
        }

        /* Contact Section */
        .contact {
            padding: 100px 5%;
            max-width: 1000px;
            margin: 0 auto;
            text-align: center;
        }

        .contact-form {
            display: grid;
            gap: 1.5rem;
            margin-top: 3rem;
        }

        .form-group {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.5rem;
        }

        .contact-form input,
        .contact-form textarea {
            background: rgba(248, 248, 248, 0.03);
            border: 2px solid rgba(255, 215, 0, 0.2);
            border-radius: 15px;
            padding: 18px;
            color: #f8f8f8;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            font-family: inherit;
        }

        .contact-form input:focus,
        .contact-form textarea:focus {
            outline: none;
            border-color: #ffd700;
            box-shadow: 0 0 25px rgba(255, 215, 0, 0.3);
            background: rgba(248, 248, 248, 0.06);
        }

        .contact-form input::placeholder,
        .contact-form textarea::placeholder {
            color: rgba(248, 248, 248, 0.6);
        }

        .contact-form textarea {
            grid-column: 1 / -1;
            resize: vertical;
            min-height: 120px;
        }

        /* Footer */
        footer {
            text-align: center;
            padding: 3rem;
            background: rgba(0, 0, 0, 0.8);
            border-top: 1px solid rgba(255, 215, 0, 0.2);
            color: #c0c0c0;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: 3rem;
            margin-bottom: 2rem;
        }

        .footer-links a {
            color: #f8f8f8;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .footer-links a:hover {
            color: #ffd700;
            text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .mobile-menu-toggle {
                display: block;
            }

            .nav-links {
                position: fixed;
                top: 80px;
                left: 0;
                width: 100%;
                height: calc(100vh - 80px);
                background: rgba(26, 26, 26, 0.98);
                backdrop-filter: blur(20px);
                flex-direction: column;
                justify-content: flex-start;
                align-items: center;
                padding-top: 3rem;
                gap: 2rem;
                transform: translateX(-100%);
                transition: transform 0.3s ease;
                z-index: 999;
            }

            .nav-links.active {
                transform: translateX(0);
            }

            .nav-links li {
                opacity: 0;
                transform: translateY(20px);
                transition: all 0.3s ease;
            }

            .nav-links.active li {
                opacity: 1;
                transform: translateY(0);
            }

            .nav-links.active li:nth-child(1) { transition-delay: 0.1s; }
            .nav-links.active li:nth-child(2) { transition-delay: 0.2s; }
            .nav-links.active li:nth-child(3) { transition-delay: 0.3s; }
            .nav-links.active li:nth-child(4) { transition-delay: 0.4s; }

            .nav-links a {
                font-size: 1.5rem;
                padding: 1rem;
            }

            .hero h1 {
                font-size: 2rem;
            }

            .hero p {
                font-size: 1.2rem;
            }

            .services-grid,
            .portfolio-grid {
                grid-template-columns: 1fr;
            }

            .section-title {
                font-size: 2.5rem;
            }

            .form-group {
                grid-template-columns: 1fr;
            }

            .footer-links {
                flex-direction: column;
                gap: 1rem;
            }

            .portfolio-slide {
                flex-direction: column;
                text-align: center;
            }

            .slide-image,
            .slide-content {
                width: 100%;
            }

            .slide-image {
                height: 350px;
                /* display: flex;   Add this */
                align-items: center;  /* Add this */
                justify-content: center;  /* Add this */
                overflow: hidden;  /* Ensure this is here */
            }

            .slide-image iframe {
                transform: scale(0.29);  /* Smaller scale for mobile */
                /* transform-origin: center center;  Center the origin */
                width: 2400px;  /* Smaller base width for mobile */
                height: 1240px;   /* Smaller base height for mobile */
            }

            .slide-content {
                padding: 2rem;
            }

            .slide-content h3 {
                font-size: 1.5rem;
            }

            .carousel-nav {
                width: 40px;
                height: 40px;
                font-size: 1.2rem;
            }

            .prev-btn {
                left: 10px;
            }

            .next-btn {
                right: 10px;
            }
        }

        /* Enhanced animations */
        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s ease;
        }

        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* Scroll indicators */
        .scroll-indicator {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            color: #ffd700;
            animation: bounce 2s infinite;
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {
                transform: translateX(-50%) translateY(0);
            }
            40% {
                transform: translateX(-50%) translateY(-10px);
            }
            60% {
                transform: translateX(-50%) translateY(-5px);
            }
        }