.objects-section{
    padding-bottom: 9.375rem;
    position: relative;
}

.icon-bg svg{
    fill: var(--bi-gray);
}
.icon-bg{
    position: absolute;
}
.objects-section .heading{
    text-align: center;
    color: var(--bi-black);
}
.objects-first-title{
    font-size: 3rem;
    padding-top: 8.75rem;
}
.objects-title{
    margin-bottom: 4.375rem;
}
.objects-title strong{
    color: var(--bi-blue);
}

.objects-grid {
    display: flex;
    gap: 1.25rem;
    height: 36.25rem;
    padding: 0 2.25rem;
    width: 100%;
}

.object-card {
    position: relative;
    flex: 1; 
    overflow: hidden;
    cursor: pointer;
    background-color: var(--white);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.object-card.is-active {
    flex: 2.5; 
}

.object-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.object-card.is-active::before {
    opacity: 1;
}

.object-card.is-active::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 2;
}

.card-content {
    position: relative;
    z-index: 3;
    height: 100%;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-icon {
    width: 3.75rem;
    height: 3.75rem;
	align-self: flex-start;
    transition: filter 0.3s ease;
}

.object-card.is-active .card-icon {
    filter: brightness(0) invert(1);
}

.card-text{
    margin-top: auto;
    border-bottom: 1px solid var(--bi-white);
    padding-bottom: 1.25rem;
}
.card-title {
    font-size: 3rem;
    font-family: "Manrope";
    line-height: 140%;
    letter-spacing: -0.04em;
    margin: 0;
    transition: color 0.3s ease;
    color: var(--bi-black);
}

.object-card.is-active .card-title,
.object-card.is-active .card-desc {
    color: var(--bi-white);
}

.card-desc {
    font-size: 1.5rem;
    font-family: "Manrope";
    line-height: 1.4;
    margin-top: 1.875rem;
    display: none;
    transform: translateY(20px);
    transition: all 0.5s ease 0.2s;
}

.object-card.is-active .card-desc {
    display: block;
    transform: translateY(0);
}

@media (max-width: 768px) {
	.objects-section{
		padding-bottom: 0;
	}
    .objects-grid {
        flex-direction: column;
        height: auto;
        padding: 0;
    }
    .object-card {
        height: 16.9375rem;
        flex: none !important;
    }
    .icon-bg svg{
        width: 6.4375rem;
        height: 5.875rem;
    }
    .icon-bg{
        top: -2%
    }
    .objects-first-title{
        font-size: 1.75rem;
        padding-top: 6.25rem;
    }
    .objects-title{
        margin-bottom: 2.1875rem;
        font-size: 1.6rem;
        text-wrap: nowrap;
    }
    .card-content {
        padding: 0.9375rem;
    }
    .card-icon{
        width: 1.875rem;
        height: 1.875rem;
    }
    .card-text{
        padding-bottom: 0.9375rem;
    }
    .card-title {
        font-size: 1.5rem;
    }

    .card-desc {
        font-size: 1rem;
        margin-top: 0.625rem;
    }
}