@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Animation Classes */
.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float.delay-100 {
    animation-delay: 0.1s;
}

.animate-float.delay-200 {
    animation-delay: 0.2s;
}

.animate-fadeIn {
    animation: fadeIn 1s ease-out forwards;
}

.animate-fadeIn.delay-100 {
    animation-delay: 0.1s;
}

.animate-fadeIn.delay-200 {
    animation-delay: 0.2s;
}

.animate-scaleIn {
    animation: scaleIn 0.5s ease-out forwards;
}

.animate-scaleIn.delay-100 {
    animation-delay: 0.1s;
}

.animate-scaleIn.delay-200 {
    animation-delay: 0.2s;
}

.animate-slideInLeft {
    animation: slideInLeft 0.8s ease-out forwards;
}

.animate-slideInRight {
    animation: slideInRight 0.8s ease-out forwards;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: #4ade80;
    color: white;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    background-color: #3bc76f;
}

.btn-white {
    display: inline-block;
    background-color: white;
    color: #4ade80;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    background-color: #f0fdf4;
}

/* Service Cards */
.service-card {
    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: 100%;
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.1) 0%, rgba(240, 253, 244, 0.1) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: #f0fdf4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #4ade80;
    font-size: 32px;
}

/* Portfolio Items */
.portfolio-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

/* 3D Floating Cubes */
.floating-cube {
    position: absolute;
    width: 100px;
    height: 100px;
    background-color: rgba(74, 222, 128, 0.1);
    border: 2px solid rgba(74, 222, 128, 0.3);
    border-radius: 10px;
    animation: float 8s ease-in-out infinite, rotate 20s linear infinite;
    transform-style: preserve-3d;
}

.floating-cube:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    width: 80px;
    height: 80px;
}

.floating-cube:nth-child(2) {
    top: 60%;
    left: 70%;
    animation-delay: 2s;
    width: 120px;
    height: 120px;
}

.floating-cube:nth-child(3) {
    top: 30%;
    left: 50%;
    animation-delay: 4s;
    width: 60px;
    height: 60px;
}

/* Floating Dots */
.floating-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.floating-dots::before,
.floating-dots::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #4ade80;
    border-radius: 50%;
    opacity: 0.2;
    animation: float 6s ease-in-out infinite;
}

.floating-dots::before {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-dots::after {
    bottom: 10%;
    right: 10%;
    animation-delay: 2s;
}

/* Contact Form */
.contact-form input,
.contact-form textarea {
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    background-color: rgba(255, 255, 255, 0.2) !important;
}