section.projects {
    padding: 100px 2rem 0 2rem;
    position: relative;
}

section.projects .btn__group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

section.projects .btn__group .btn {
    border-radius: 1000px;
}

.filter-controls .btn.active {
    background-color: var(--primary-color);
    color: #fff;
}

.projects__content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    padding-top: 50px;
    perspective: 1000px;
}

.project__card {
    border-radius: 10px;
    background-color: var(--bg-card);
    width: 90%;
    margin: 0 auto !important;
    transform-style: preserve-3d;
}

.project__card .image__project {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.project__card .image__project img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card__content {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transform-style: preserve-3d;
}

.title__card-project {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-family: 'Orbitron';
}

.card__content p {
    color: var(--text-color);
    font-family: "Exo 2";
}

.card__content .btn__group {
    margin-top: 0 !important;
    justify-content: start !important;
    transform-style: preserve-3d !important;
}

.btn__link-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 50%;
    background-color: #5728bc;
    color: #fff;
}

/* card hover */
.project__card:hover .image__project {
    transform: translateZ(40px);
}

.project__card:hover .title__card-project {
    transform: translateZ(30px);
}

.project__card:hover .card__content-desc {
    transform: translateZ(20px);
}

.project__card:hover .btn__link-card {
    transform: translateZ(10px);
}


/* banner */
.banner {
    width: calc(100% - 5rem);
    height: auto;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    font-family: 'Arial', sans-serif;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    text-align: center;
    margin: 100px auto 0 auto;
}

.glare {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(30deg);
    animation: glare 5s infinite;
}

.banner h1 {
    font-size: 2.4rem;
    margin-bottom: 10px;
    font-weight: 700;
    font-family: 'Audiowide', sans-serif;
}

.banner h1 span {
    color: var(--accent-color);
}

.banner p {
    font-size: 16px;
    line-height: 1.5;
    max-width: 80%;
    font-family: 'Exo 2', sans-serif;
}

@keyframes glare {
    0% {
        left: -100%;
    }

    20% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

.btn__banner {
    display: inline-block;
    background: white;
    color: #764ba2;
    padding: 12px 30px;
    margin-top: 10px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    font-family: 'Orbitron', sans-serif;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.btn__banner span {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-20deg);
    animation: buttonGlare 3s infinite;
}

@keyframes buttonGlare {
    0% {
        left: -100%;
    }

    60% {
        left: 150%;
    }

    100% {
        left: 150%;
    }
}

.btn__banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

@media (max-width: 992px) {
    .projects__content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        padding-top: 50px;
        perspective: 1000px;
    }
}

@media (max-width: 576px) {
    .projects__content {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        padding-top: 50px;
        perspective: 1000px;
    }

    .banner h1 {
        font-size: 1.8rem;
        margin-bottom: 10px;
        font-weight: 700;
        font-family: 'Audiowide', sans-serif;
    }

    .contact__info .hero__socials {
        justify-content: flex-start !important;
    }
}