
#Projects {
    padding: 80px 10%;
    background: transparent;
    color: #fff;
}
.project {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px; 
}


.project-info {
    flex: 1;
}

.project-info .number {
    font-size: 70px;
    color: transparent;
    -webkit-text-stroke: 1px var(--green);
}

.project-info h4 {
    font-size: 30px;
    margin: 10px 0;
}

.project-info p {
    color: #ccc;
    line-height: 1.6;
    max-width: 500px;
}


.tech-stack {
    margin-top: 15px;
}

.tech-stack span {
    color: var(--green);
    margin-right: 10px;
    font-size: 14px;
}


hr {
    margin: 20px 0;
    border: 0.5px solid #333;
    width: 80%;
}

.links {
    display: flex;
    gap: 15px;
}

.circle {
    width: 45px;
    height: 45px;
    border: 2px solid var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    transition: 0.3s;
}

.circle:hover {
    background: var(--green);
    color: #000;
}

.carousel {
    flex: 1;
    position: relative;
}

.carousel img {
    width: 100%;
    max-width: 500px; 
    border-radius: 12px;

}


.arrows {
    position: absolute;
    bottom: -10px;
    right: 40px;
    display: flex;
    gap: 10px;
}

.arrows span {
    width: 40px;
    height: 40px;
    border: 2px solid var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    cursor: pointer;
    transition: 0.3s;
}

.arrows span:hover {
    background: var(--green);
    color: black;
}


@media (max-width: 768px) {
    .project {
        flex-direction: column;
        gap: 40px;
    }

    .carousel img {
        max-width: 100%;
    }

@media (max-width: 1024px) {
    #Projects {
        padding: 60px 8%;
    }

    .project {
        gap: 50px;
    }

    .project-info h4 {
        font-size: 26px;
    }

    .project-info .number {
        font-size: 50px;
    }

    .carousel img {
        max-width: 400px;
        height: 260px;
    }
}


@media (max-width: 768px) {
    #Projects {
        padding: 40px 5%;
    }

    .project {
        flex-direction: column;
        gap: 40px;
    }

    .project-info {
        text-align: center; 
    }

    .project-info .number {
        font-size: 40px;
    }

    .project-info h4 {
        font-size: 22px;
    }

    .project-info p {
        max-width: 100%;
    }

    .carousel {
        width: 100%;
    }

    .carousel img {
        max-width: 100%;
        height: 220px;
        object-fit: cover;
    }

    .arrows {
        position: static;
        justify-content: center;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    #Projects {
        padding: 30px 3%;
    }

    .project-info .number {
        font-size: 30px;
    }

    .project-info h4 {
        font-size: 18px;
    }

    .circle {
        width: 38px;
        height: 38px;
    }

    .arrows span {
        width: 35px;
        height: 35px;
    }
}
}