/* =========================================
   Home Network
========================================= */

.home-network {
    width: 100%;
    background: #ffffff;
    padding: 100px 0;
    position: relative;
}

/* =========================================
   Curved Decorations
========================================= */

.home-network__curve-bottom {
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    line-height: 0;
    overflow: hidden;
    z-index: 1;
    /* background-color: #27292b; */
    background-color: #ffffff; 
}

.home-network__curve-bottom {
    bottom: -2px;
}

.home-network__curve-bottom svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 160px; /* increase this to make the dip deeper */
}

.home-network__container {
    width: min(1400px, 90%);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* =========================================
   Content
========================================= */

.home-network__content {
    text-align: left;
    margin-bottom: 60px;
}

.home-network__title {
    margin: 0 0 18px;
    color: #3535A7;
    font-size: clamp(36px, 4vw, 64px);
    font-weight: 700;
    line-height: 1.1;
}

.home-network__subtitle {
    margin: 0 0 8px;
    color: #000000;
    font-size: clamp(22px, 2.2vw, 34px);
    font-weight: 500;
    line-height: 1.3;
}

.home-network__description {
    margin: 0;
    color: #000000;
    font-size: clamp(22px, 2.2vw, 34px);
    font-weight: 500;
    line-height: 1.3;
}

/* =========================================
   Logos
========================================= */

.home-network__logos {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    align-items: center;
    gap: 30px;
}

.home-network__logo {
    width: 100%;
    height: 210px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

.home-network__logo img {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: contain;

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

.home-network__logo:hover img {
    transform: scale(1.06);
}

/* =========================================
   Tablet
========================================= */

@media (max-width: 1100px) {

    .home-network {
        padding: 80px 0;
    }

    .home-network__content {
        margin-bottom: 45px;
    }

    .home-network__logos {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }

    .home-network__curve-top svg,
    .home-network__curve-bottom svg {
        height: 60px;
    }

}

/* =========================================
   Mobile
========================================= */

@media (max-width: 700px) {

    .home-network {
        padding: 60px 0;
    }

    .home-network__container {
        width: min(92%, 500px);
    }

    .home-network__content {
        margin-bottom: 40px;
    }

    .home-network__title {
        margin-bottom: 14px;
    }

    .home-network__subtitle,
    .home-network__description {
        font-size: 21px;
    }

    .home-network__logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .home-network__logo {
        height: 90px;
    }

    .home-network__logo img {
        max-width: 130px;
        max-height: 75px;
    }

    .home-network__curve-top svg,
    .home-network__curve-bottom svg {
        height: 40px;
    }

}

/* =========================================
   Small Mobile
========================================= */

@media (max-width: 400px) {

    .home-network__logos {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .home-network__logo {
        height: 80px;
    }

    .home-network__curve-top svg,
    .home-network__curve-bottom svg {
        height: 30px;
    }

}