.details {
    width: 92%;
    margin: 70px auto 0 auto;
    display: flex;
    /* row-gap: 18px; */
    /* column-gap: 20px; */
    align-items: center;
    justify-content: center;
}

.details>div {
    background-color: whitesmoke;
    padding: 30px;
    border: 1px solid var(--primary-gray);
    height: 100%;
    border-radius: 12px;
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 450px;
}

.details i {
    background-color: var(--primary-gray);
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    grid-column: span 2 / span 2;
    font-size: 28px;
    color: var(--primary-color);
    transition: 0.2s all ease;
}

.details>div:hover i {
    background-color: var(--primary-color);
    color: var(--primary-gray);
}

.details .detail {
    grid-column: span 8 / span 8;
}

.details p,
.details a {
    max-width: 280px;
}

.details h3 {
    color: var(--primary-heading-color);
    font-size: 26px;
    font-weight: 600;
}

.detail a,
.details p {
    color: var(--primary-heading-color);
    margin-top: 5px;
    font-size: 15px;
    font-weight: 300;
}

.details .rotate {
  transform: rotate(100deg);
}

@media (min-width: 1530px) {
    .details {
        width: 1500px;
    }
}

.sub-hero{
    background-image: url("../../images/contact-hero.jpg");
}