.card {
    background-color: var(--card-background);
    padding: var(--div-padding);
    border-radius: var(--radius);
    box-shadow: var(--shadows);
    width: 100%;
}

.feature-card {
    text-align: center;
    align-items: center;
    transition: 0.2s;
    cursor: pointer;
}

.feature-card a {
    text-decoration: none;
}

.feature-card:hover {
    transform: scale(1.05);
}

.feature-card p {
    color: black;
    font-weight: bold;
}

.feature-card i {
    color: var(--primary-dark);
    font-size: 5rem;
    padding: 15px 30px 0 30px;
    transition: color 0.3s ease;
}

.feature-card i:hover {
    color: var(--primary-light);
}

.info-card {
    flex: 1 1 40%;
}

.news-card {
    display: flex;
    flex-direction: column;
    flex: 1 1 32%;
    padding: 0;
}

.news-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
    top: 0;
}

.news-card .description {
    height: 140px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 1 28%;
    transition: 0.2s;
}

.contact-people {
    flex: 1 0 calc((100% - 4rem) / 3); /* Example: 3 cards per row with 2rem gaps */
    max-width: calc((100% - 4rem) / 3);
    box-sizing: border-box;
}

@media (max-width: 1210px) {
    .contact-people {
      flex: 1 0 calc((100% - 2rem) / 2);
      max-width: calc((100% - 2rem) / 2);
    }
}
  
  @media (max-width: 870px) {
    .contact-people {
      flex: 1 0 100%;
      max-width: 100%;
    }
}
  

.contact-card:hover {
    transform: scale(1.05);
}

.contact-card i {
    color: var(--primary-dark);
}

.contact-card .user,
.quick-contact i  {
    font-size: 5rem;
    font-size: 5rem;
    padding: 15px 30px;
}

.quick-contact {
    flex: 1 1 40%;
}

.people-card {
    flex: 1 1 45%;
    position: relative;
    min-height: 185px;
    display: flex;
    transition: 0.2s;
	overflow: hidden;
	
	align-items: center;
}

.people-card:hover {
    transform: scale(1.05);
}

.people-card .icon {
    margin: 0;
}

.people-card .icon img {
    position: absolute;
    top: 0;
    left: 0;
    height: auto;
    width: 190px;
    object-fit: contain;
    object-position: center;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}

.people-card .description {
    text-align: left;
    padding: 0;
    margin: 0 0 0 190px;
    position: relative;
}

.people-card .description i {
    color: var(--primary-dark);
    padding: 0 15px 0 5px;
}





/* RESPONSIVE PART */

/* Mobile devices */
@media screen and (max-width: 480px) {
    .feature-card i {
        font-size: 4rem;
        padding: 10px 0 0 0;
    }

    .feature-card {
        padding: var(--div-padding-responsive);
    }

    .news-card {
        flex: 1 1 50%;
    }

    .news-card .description {
        height: max-content;
    }

    .people-card {
        flex-direction: column;
    }

    .people-card .icon {
        display: flex;
    }
    
    .people-card .icon img {
        margin: 0;
        width: 100%;
        height: auto;
        border-radius: 0;
        border-top-left-radius: var(--radius);
        border-top-right-radius: var(--radius);
    }
    
    .people-card .description {
        text-align: left;
        padding: 0;
        margin: 425px 0 0 0;
    }
}

/* Tablets */
@media screen and (min-width: 481px) and (max-width: 1024px) {
    .feature-card i {
        font-size: 3rem;
        padding: 10px 0 0 0;
    }

    .feature-card {
        padding: var(--div-padding-responsive);
    }

    .news-card {
        flex: 1 1 50%;
    }

    .news-card .description {
        height: 150px;
    }


}

/* Small laptops / large tablets */
@media screen and (min-width: 1025px) and (max-width: 1366px) {
    /* Small laptop styles */
}

/* Desktops */
@media screen and (min-width: 1367px) and (max-width: 1920px) {
    /* Desktop styles */
}

/* Large screens / TVs */
@media screen and (min-width: 1921px) {
    /* Ultra-wide or large display styles */
}