@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    scroll-behavior: smooth;
}

#inicio {
    background-image: url('https://images.unsplash.com/photo-1509391366360-2e959784a276?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2072&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

#inicio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.8) 0%, rgba(22, 163, 74, 0.7) 50%, rgba(34, 197, 94, 0.6) 100%);
    z-index: 1;
}

#inicio .container {
    position: relative;
    z-index: 2;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in-up.animate {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease;
}

.fade-in-left.animate {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease;
}

.fade-in-right.animate {
    opacity: 1;
    transform: translateX(0);
}

.service-card {
    animation-delay: 0.2s;
}

.service-card:nth-child(2) {
    animation-delay: 0.4s;
}

.service-card:nth-child(3) {
    animation-delay: 0.6s;
}

.project-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.project-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.project-card:nth-child(1) {
    animation-delay: 0.1s;
}

.project-card:nth-child(2) {
    animation-delay: 0.2s;
}

.project-card:nth-child(3) {
    animation-delay: 0.3s;
}

.project-card:nth-child(4) {
    animation-delay: 0.4s;
}

.project-card:nth-child(5) {
    animation-delay: 0.5s;
}

.project-card:nth-child(6) {
    animation-delay: 0.6s;
}

.client-card {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.client-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.client-card:nth-child(1) {
    animation-delay: 0.1s;
}

.client-card:nth-child(2) {
    animation-delay: 0.2s;
}

.client-card:nth-child(3) {
    animation-delay: 0.3s;
}

.client-card:nth-child(4) {
    animation-delay: 0.4s;
}

.nav-link {
    position: relative;
    font-weight: 500;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #22C55E;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
}

.project-card:hover {
    transform: translateY(-5px);
}

.client-card:hover {
    transform: translateY(-3px);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

#inicio h1 {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

#inicio p {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

#inicio .bg-solar-yellow {
    background-color: rgba(255, 215, 0, 0.9);
    backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
    #inicio {
        background-attachment: scroll;
    }

    .service-card:nth-child(2) {
        margin-top: 0;
    }

    .fade-in-left,
    .fade-in-right {
        transform: translateY(30px);
    }

    .fade-in-left.animate,
    .fade-in-right.animate {
        transform: translateY(0);
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .8;
        transform: scale(1.05);
    }
}

.bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.backdrop-blur-sm {
    backdrop-filter: blur(4px);
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.duration-300 {
    transition-duration: 300ms;
}

.duration-500 {
    transition-duration: 500ms;
}

.duration-700 {
    transition-duration: 700ms;
}

.transform {
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.hover\:scale-105:hover {
    --tw-scale-x: 1.05;
    --tw-scale-y: 1.05;
}

.hover\:-translate-y-2:hover {
    --tw-translate-y: -0.5rem;
}

.parallax-bg {
    transform: translateZ(0);
    will-change: transform;
}

#inicio .bg-solar-green {
    background-color: rgba(34, 197, 94, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

#inicio .bg-solar-green:hover {
    background-color: rgba(22, 163, 74, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

#inicio .border-2.border-solar-green {
    border-color: rgba(255, 255, 255, 0.8);
    color: white;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.1);
}

#inicio .border-2.border-solar-green:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: #16A34A;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.logo-container {
    transition: all 0.3s ease;
}

.logo-container:hover {
    transform: scale(1.05);
}

.logo-container img {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

#quem-somos .logo-container {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(34, 197, 94, 0.1) 100%);
    border: 2px solid rgba(255, 215, 0, 0.3);
}

#quem-somos .logo-container:hover {
    border-color: rgba(34, 197, 94, 0.5);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.15);
}

#navbar .logo-container {
    border: 1px solid rgba(34, 197, 94, 0.2);
}

#navbar .logo-container:hover {
    border-color: rgba(34, 197, 94, 0.4);
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.1);
}

.proposta-valor {
    position: relative;
    overflow: hidden;
}

.proposta-valor::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.95) 0%, rgba(22, 163, 74, 0.95) 100%);
    z-index: 1;
}

.proposta-valor .container {
    position: relative;
    z-index: 2;
}

.proposta-valor .flex.items-center {
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 0.75rem;
}

.proposta-valor .flex.items-center:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.proposta-valor .bg-solar-yellow {
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.proposta-valor .bg-solar-yellow:hover {
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.proposta-valor .border-2.border-white:hover {
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.proposta-valor img {
    transition: all 0.5s ease;
}

.proposta-valor img:hover {
    transform: scale(1.05);
}

.proposta-valor .fa-piggy-bank,
.proposta-valor .fa-leaf,
.proposta-valor .fa-home,
.proposta-valor .fa-tools {
    animation: iconFloat 3s ease-in-out infinite;
}

.proposta-valor .fa-leaf {
    animation-delay: 0.5s;
}

.proposta-valor .fa-home {
    animation-delay: 1s;
}

.proposta-valor .fa-tools {
    animation-delay: 1.5s;
}

@keyframes iconFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    .proposta-valor .grid.grid-cols-2 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .proposta-valor h2 {
        font-size: 2.5rem;
    }

    .proposta-valor p {
        font-size: 1.125rem;
    }
}

@media (min-width: 768px) {
    .proposta-valor {
        background-attachment: fixed;
    }
}

#quem-somos .fade-in-left {
    position: relative;
}

#quem-somos .fade-in-left::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(34, 197, 94, 0.1) 100%);
    border-radius: 1rem;
    z-index: -1;
}

#quem-somos img {
    transition: all 0.5s ease;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.1));
}

#quem-somos img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.15));
}

#quem-somos .grid.grid-cols-2>div {
    transition: all 0.3s ease;
    border: 1px solid rgba(34, 197, 94, 0.1);
}

#quem-somos .grid.grid-cols-2>div:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.2);
}

#quem-somos .flex.items-center {
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 0.5rem;
}

#quem-somos .flex.items-center:hover {
    background: rgba(34, 197, 94, 0.05);
    transform: translateX(5px);
}

#quem-somos .w-8.h-8.bg-solar-green {
    transition: all 0.3s ease;
}

#quem-somos .flex.items-center:hover .w-8.h-8.bg-solar-green {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

@media (max-width: 768px) {
    #quem-somos .w-full.h-96 {
        height: 250px;
    }

    #quem-somos .grid.grid-cols-2 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    #quem-somos .fade-in-left::before {
        top: -5px;
        left: -5px;
        right: -5px;
        bottom: -5px;
    }
}

#quem-somos .w-full.h-96 {
    position: relative;
    overflow: hidden;
}

#quem-somos .w-full.h-96::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.05) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: -1;
}