/* hero section */
.hero__section {
    background-color: rgba(0, 0, 0, 0.8);
    height: calc(100vh - 70px);
    margin-top: 3.5rem;
}
.hero__section .video-background {
    position: relative;
    background-image: url("https://res.cloudinary.com/deklnqsqn/video/upload/v1732785797/insight_video_vk2udp.mp4");
    height: 100%;
    width: 100%;
}

.hero__section .background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero__section .content {
    position: relative;
    z-index: 1;
    color: white;
    top: 70%;
    transform: translateY(-50%);
}

.hero__section .content h1 {
    font-weight: 300;
    font-size: 1.875rem;
}

.hero__section .content p {
    font-size: 0.87rem;
    font-weight: 300;
    line-height: 1.8rem;
    padding-top: 1rem;
}

/* industry nav section */
.industry-nav__section {
    padding: 1.12rem 0;
    background-color: #2d2d2d;
}

.industry-nav__section::after {
    position: absolute;
    bottom: 0;
    content: "";
    height: 8px;
    width: 100%;
    left: 0;
    right: 0;
    background-color: var(--primary);
}
.begining {
    position: relative;
}
.industry-nav__section ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    list-style-type: none;
}
.industry-nav__section li {
    padding: 0 1rem;
    margin: 0.5rem 0;
    border-right: 1px solid white;
}
.industry-nav__section li:last-of-type {
    border: none;
}
.industry-nav__section li a {
    text-decoration: none;
    color: white;
    font-size: 0.775rem;
}

/* industry top section */
.industry-top__section {
    padding: 1.5rem 0;
    background-color: #f8f8f9;
}

.industry-top__section .container h2 {
    font-size: 1.5rem;
    font-weight: 500;
}

.industry-top__section .container h2 br {
    display: none;
}

.industry-top__section .container p {
    font-size: 0.875rem;
    padding: 0.8rem 0;
    line-height: 1.85rem;
    font-weight: 300;
}

/* horizontal scrolling */
.horizontal-scrolling__section {
    background-color: #f8f8f9;
    padding-top: 1.5rem;
    position: relative;
}
.horizontal-scrolling__section h2 {
    text-align: center;
    font-size: 1.85rem;
    position: relative;
    font-weight: 400;
}
.horizontal-scrolling__section .card {
    border: 1px solid #c7c7d6;
    padding: 2.8rem 2rem;
    border-radius: 0.5rem;
    background: white;
    /* width: 80%; */
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}
.horizontal-scrolling__section .container > div {
    padding: 3rem 0 6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 0 25%;
    gap: 2.5rem;
}
.horizontal-scrolling__section .card h3 {
    font-size: 1.713rem;
    line-height: 2.139rem;
    font-weight: 300;
    min-height: 70px;
}

.horizontal-scrolling__section .card p {
    font-size: 0.875rem;
    line-height: 1.313rem;
    font-weight: 300;
    padding: 1.188rem 0;
}
.horizontal-scrolling__section .card div {
    border-radius: 20px;
    height: 120px;
    padding-top: 4rem;
    background-color: #c7c7d6;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    margin-top: auto;
}

@media (min-width: 768px) {
    /* hero section */
    .hero__section .content h1 {
        font-size: 2.325rem;
    }
    .hero__section .content {
        top: 65%;
    }
    .hero__section .content p {
        font-size: 1rem;
        line-height: 1.8rem;
        max-width: 70%;
        padding-top: 1.2rem;
    }

    /* industry top section */
    .industry-nav__section {
        position: sticky;
        top: 63px;
        padding: 1.12rem 0;
        background-color: #2d2d2d;
    }
    .industry-top__section {
        padding: 3.5rem 0;
    }
    .industry-top__section .container h2 br {
        display: block;
    }
    .industry-top__section .container {
        display: flex;
        gap: 2rem;
    }
    .industry-top__section .container h2 {
        font-weight: 400;
        line-height: 3rem;
        font-size: 1.7rem;
    }
    .industry-top__section .container p {
        line-height: 1.8rem;
        font-size: 0.9rem;
    }
    .industry-top__section .container h2,
    .industry-top__section .container p {
        flex-basis: 50%;
    }
    .industry-nav__section li {
        padding: 0 1.4rem;
        margin: 0.7rem 0;
    }
    .industry-nav__section li a {
        font-size: 0.875rem;
    }

    /* horizontal scrolling */
    .horizontal-scrolling__section h2 {
        font-size: 2.2rem;
        font-weight: 400;
        line-height: 3rem;
    }
    .horizontal-scrolling__section .card {
        border: 1px solid #c7c7d6;
        padding: 2.8rem 2rem;
        border-radius: 0.5rem;
        background: white;
        width: 45%;
        display: flex;
        flex-direction: column;
        flex-shrink: 0;
    }
    .horizontal-scrolling__section .container > div {
        padding: 3rem 0 6rem;
        /* overflow-x: hidden; */
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        flex: 1 0 25%;
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .industry-nav__section {
        top: 70px;
    }
    .industry-top__section .container h2 {
        line-height: 4rem;
        font-size: 2rem;
    }
    .industry-top__section .container p {
        line-height: 2.05rem;
        font-size: 1rem;
    }
    /* horizontal scrolling */
    .horizontal-scrolling__section .container > div {
        padding: 3rem 0 6rem;
        overflow-x: hidden;
        flex-direction: row;
        display: flex;
        justify-content: flex-start;
        flex-wrap: nowrap;
        flex: 1 0 25%;
        gap: 2.5rem;
    }
    .horizontal-scrolling__section .card {
        border: 1px solid #c7c7d6;
        padding: 2.8rem 2rem;
        border-radius: 0.5rem;
        background: white;
        width: 31%;
        min-width: 30%;
        display: flex;
        flex-direction: column;
        flex-shrink: 0;
    }
    .horizontal-scrolling__section h2 {
        font-size: 2rem;
        line-height: 4rem;
    }
}

@media (min-width: 1250px) {
    .hero__section .content h1 {
        font-size: 4vw;
    }
    .hero__section .content p {
        font-size: 1.2vw;
        padding-top: 1rem;
        line-height: 2rem;
    }
    .industry-top__section .container h2 {
        line-height: 4rem;
        font-size: 2.63rem;
    }
    .industry-top__section .container p {
        line-height: 2.2rem;
        font-size: 1.1rem;
    }
    /* horizontal scrolling */
    .horizontal-scrolling__section h2 {
        font-size: 2.63rem;
        line-height: 4rem;
    }
}
