﻿/* Floating Shapes */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 20s infinite linear;
}

    .shape:nth-child(1) {
        width: 100px;
        height: 100px;
        top: 10%;
        left: 10%;
        animation-delay: 0s;
        animation-duration: 25s;
    }

    .shape:nth-child(2) {
        width: 150px;
        height: 150px;
        top: 70%;
        left: 85%;
        animation-delay: 5s;
        animation-duration: 30s;
    }

    .shape:nth-child(3) {
        width: 70px;
        height: 70px;
        top: 80%;
        left: 15%;
        animation-delay: 10s;
        animation-duration: 20s;
    }

    .shape:nth-child(4) {
        width: 120px;
        height: 120px;
        top: 20%;
        left: 80%;
        animation-delay: 15s;
        animation-duration: 35s;
    }

/* Keyframes */
@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* Portfolio Animations */
.portfolio,
.portofolio {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    transition: opacity 600ms ease, transform 600ms cubic-bezier(.2,.9,.3,1);
    will-change: opacity, transform;
}

    .portfolio.visible,
    .portofolio.visible {
        opacity: 1;
        transform: translateY(0) scale(1.05);
        padding: 20px 20px 70px 20px;
    }

    .portfolio .item,
    .portofolio .item {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
        transition: opacity 520ms ease, transform 520ms ease;
    }

    .portfolio.visible .item,
    .portofolio.visible .item {
        opacity: 1;
        transform: translateY(0) scale(1.03);
    }

.portfolio,
.portofolio {
    transform-origin: center top;
}

/* Responsive Design */
@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        gap: 12px;
        background: white;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 16px 20px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
        z-index: 1001;
    }

        .nav-links.active {
            display: flex;
        }

        .nav-links li {
            margin-left: 0;
        }

    .about-content, .contact-content {
        flex-direction: column;
    }

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

    .nav-links {
        display: none;
    }

    .contact-content {
        gap: 30px;
    }

    .contact-info,
    .contact-form-wrapper {
        padding-top: 30px;
        padding-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .btn {
        padding: 12px 25px;
    }

    .shape {
        display: none;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-input, .newsletter-btn {
        width: 100%;
        border-radius: 4px;
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .client-logo-item {
        width: 160px;
        height: 90px;
    }

        .client-logo-item img.client-logo {
            max-width: 140px;
            max-height: 80px;
        }
}
