body {
    font-family: Roboto, sans-serif;
    color: #202020;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #000;
}

h1 {
    margin-bottom: .67em;
    color: #555555;
}


.project__title {
    margin: .67em 0;
}

/* .title {
    line-height: 60px;
} */

.our-work__wrapper {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    /* padding: 0 10px; */
}

.our-work__tools {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 37px;
    max-width: 100%;
}

.our-work__btn {
    margin-bottom: 20px;
    width: 42%;
    font-size: 14px;
    line-height: 24px;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-right: 0;
    margin-left: 0;
    min-width: 200px;
}

.btn {
    display: block;
    color: #202020;
    font-weight: 600;
    padding: 17px 0;
    background: #fff;
    text-decoration: none;
    border-radius: 6px;
    border: 1px solid #00DBFF;
    transition: .3s;
    text-align: center;
    cursor: pointer;
    max-width: 100%;
}

@media (min-width: 768px) {
    .our-work__btn {
        width: auto;
        padding: 10px;
        margin: 0;
        white-space: nowrap;
    }
}

.btn--active,
.btn--blue,
.btn:hover,
.our-work__btn.active {
    background: #00DBFF;
    color: #fff;
}

@media (min-width: 1310px) {
    .our-work__tools {
        max-width: 100%;
        display: flex;
        margin: 0 auto 50px;
    }
}

@media (min-width: 768px) {
    .our-work__tools {
        gap: 20px;
    }
}

.projects__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    gap: 20px;
    max-width: 100%;
}

.projects__item {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-bottom: 40px;
}

.projects__img {
    width: 100%;
    max-width: 100%;
    height: 260px;
    object-fit: fill;
    border-radius: 10px 10px 0 0;
}

.projects__desc {
    padding: 20px 10px 25px;
}

.projects__cap {
    font-size: 21px;
    font-weight: 500;
    line-height: 28px;
    margin-bottom: 12px;
    font-weight: bold;
    height: 56px;
}

.projects__info {
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 10px;
    /* height: 52px; */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.project__text {
    height: 52px;
}

.projects__dot {
    font-weight: 700;
}

.pro__link {
    margin-top: 10px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    gap: 12px;
    font-family: Arial, sans-serif;
    font-size: 1.1rem;
}

.pagination a {
    text-decoration: none;
    color: #666;
    transition: color 0.3s ease;
}

.pagination a.active {
    color: #202020;
    font-size: 1.15rem;
    font-weight: bold;
}

.pagination span.ellipsis {
    color: #666;
}

.pagination a.prev {
    display: flex;
    align-items: center;
    gap: 5px;
}

.pagination a.prev::before {
    content: "←";
    font-size: 1.1rem;
    color: #666;
    transition: color 0.3s ease;
}

.pagination a.next {
    display: flex;
    align-items: center;
    gap: 5px;
}

.pagination a.next::after {
    content: "→";
    font-size: 1.1rem;
    color: #666;
    transition: color 0.3s ease;
}

.pagination a.next:hover::after {
    color: #4682b4;
}

@media (max-width: 768px) {
    .pagination {
        gap: 10px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .pagination {
        gap: 8px;
        font-size: 0.9rem;
    }
}

@media (max-width: 1200px) {
    .projects__list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .projects__list {
        grid-template-columns: 1fr;
    }

    .projects__item {
        width: 100%;
    }
}