* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #0d0d0d;
    color: #fff;
    line-height: 1.5;
    overflow-x: hidden;
}

#threejs-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10;
    padding: 1rem 2rem;
}

.navbar ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    gap: 2rem;
}

.navbar ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.navbar ul li a:hover {
    color: #ff6347;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero h1 {
    font-size: 4rem;
    font-weight: bold;
}

.hero p {
    font-size: 1.2rem;
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@keyframes writing {
    0% {
        width: 0;
    }
    70% {
        width: 100%;
    }
    85% {
        width: 100%;
    }
    100% {
        width: 0;
    }
}

.animated-name {
    display: inline-block;
    animation: writing 4s steps(30, end) infinite;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid #ff6347;
}

@keyframes blink-cursor {
    from {
        border-right-color: #ff6347;
    }
    to {
        border-right-color: transparent;
    }
}

.animated-name::after {
    content: '';
    animation: blink-cursor 0.5s steps(30, end) infinite;
}

.section {
    position: relative;
    z-index: 10;
    padding: 4rem 2rem;
    text-align: center;
}

.section h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    color: #ff6347;
}

.section p {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.expertise-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4rem; 
    margin-top: 3rem; 
}

.expertise-images img {
    width: 100px;
    height: auto;
    transition: transform 0.2s ease-out;
}

.expertise-images img:hover {
    transform: scale(1.1);
}

.work-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10rem;
}

.work-card {
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 300px;
}

.work-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 12px rgba(240, 6, 6, 0.986);
}

.work-card img {
    width: 100%;
    height: auto;
}

.work-card p {
    padding: 1rem;
    font-size: 1.3rem;
    color: #ccc;
    background: #111;
    margin: 0;
    margin-left: auto;
}

footer {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 1rem 0;
    background: rgba(0, 0, 0, 0.8);
    color: #aaa;
    font-size: 0.9rem;
}

.contact-icons {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.contact-icon {
    width: 100px;
    height: 100px;
    object-fit: contain; 
}

@media (max-width: 768px) {
    .navbar ul {
        flex-direction: column;
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}
