.about-us {
    padding-block: 40px;
    overflow: hidden;
}

.about-us h2, .ourwork h2, .thinking h2 {
    font-size: 50px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 24px;
}

.about-us p {
    font-size: 16px;
    font-weight: 300;
    color: var(--text-black-color-2);
}

.about-us-img {
    max-width: 560px;
    height: 315px;
    border-radius: 12px;
    overflow: hidden;
}

.about-us-img img {
    height: 100%;
    object-fit: cover;
}

.about-us .view-btn {
    margin-top: 24px;
}

.view-btn {
    background: linear-gradient(to left, var(--text-gold-color) 50%, var(--text-black-color-1) 50%);
    background-position: right;
    background-size: 200% 100%;
    color: var(--text-white);
    font-size: 18px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    transition: background-position 0.2s ease-in-out, color 0.2s ease-in-out;
    width: 150px;
    height: 60px;
    text-align: center;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.view-btn:hover {
    background-position: left;
    color: var(--text-white);
}

.ourwork, .thinking {
    padding-block: 40px;
    overflow: hidden;
}

.ourwork .d-flex, .thinking .d-flex {
    margin-bottom: 24px;
}

.ourwork h2, .thinking h2 {
    margin-bottom: 0;
}

.slick-slide {
    margin-inline: 12px;
}

.ourwork-item {
    height: 500px;
    width: 350px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.ourwork-item img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease-in-out;
    width: 100%;
}

.item-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin-inline: auto;
    text-align: center;
    opacity: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    transition: opacity 0.3s ease-in-out;
    background-color: #000000b8;
}

.ourwork-item:hover .item-content{
    opacity: 1;
}

.ourwork-item:hover img {
    transform: scale(1.2);
}

.item-content a {
    text-decoration: none;
}

.item-content a h5 {
    color: var(--text-yellow);
    font-weight: 400;
    font-family: 'josefin', sans-serif;
    font-weight: 900;
}

.item-content a p {
    color: var(--text-gold-color);
    font-weight: 500;
    font-family: 'roboto', sans-serif;
}

.thinking-item {
    width: 350px;
    max-height: 480px;
    overflow: hidden;
}

.card {
    border: 0;
}

.thinking-item .card-img-top {
    height: 250px;
    overflow: hidden;
    width: 100%;
}

.thinking-item .card-img-top img {
    height: 100%;
    transition: transform 0.3s ease-in-out;
    width: 100%;
    object-fit: cover;
}

.thinking-item:hover .card-img-top img {
    transform: scale(1.2);
}


.card-describ {
    color: var(--text-gold-color);
    font-family: 'roboto', sans-serif;
}

.card-title {
    font-size: 22px;
    font-weight: 600;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    font-family: "roboto-slab", sans-serif;
    color: var(--text-yellow);
    transition: all 0.3s ease-in-out;
}

.thinking-item:hover .card-title {
    color: var(--text-black-color-4);
}

.card-text {
    font-size: 18px;
    font-weight: 400;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    color: var(--text-black-color-2);
    font-family: 'roboto', sans-serif;
}

@media (max-width: 992px) {
    .about-us .row {
        gap: 24px
    }

    .about-us-img {
        max-width: 100%;
        height: 500px;
    }
}

@media (max-width: 575px) {
    .about-us h2, .ourwork h2, .thinking h2 {
        font-size: 38px;
        margin-bottom: 12px;
    }

    .view-btn {
        width: 130px;
        font-size: 16px;
    }

    .thinking-item {
        max-height: 550px;
    }

    .thinking-item .card-img-top {
        height: 350px;
    }
}

