* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.intro-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
}

.intro-text-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 720px;
    height: 50vh;
}

.intro-text-container > h2 {
    color: black;
    text-align: center;
    font-family: "Montserrat Alternates", sans-serif;
    font-size: 56px;
    font-weight: 400;
    line-height: 130%; /* 83.2px */
    letter-spacing: -2.8px;
}

.intro-service-list-container {
    display: flex;
    gap: 24px;
    max-width: 1320px;
    overflow: hidden;
}

/* Service Item Styling */

.intro-service-item {
    position: relative;
    height: 50vh;
    list-style: none;
}

.intro-service-card {
    position: relative;
    width: 312px;
    height: 312px;
    overflow: hidden;
    transform: translateY(40px);
    transition: ease 0.5s;
}

.intro-description-container {
    position: absolute;
    top: 88px;
    left: 88px;
    width: 200px;
    z-index: 0 ;
}

.intro-description-container > h6 {
    margin-bottom: 16px;
    font-family: Montserrat, sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%; /* 28.8px */
}

.intro-description-container > p {
    color: black;
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 160%; /* 25.6px */
    opacity: 50%;
}

.intro-service-icon-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 72px;
    height: 72px;
    stroke-width: 1.5px;
    stroke: white;
    overflow: hidden;
}

.intro-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    transform: scale(1);
    width: 72px;
    height: 72px;
    background-color: black;
    border-radius: 50%;
    z-index: 1;
    transition: ease 0.5s;
}

.intro-service-icon-container > lottie-player {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}

.intro-service-item:before {
    content: '';
    position: absolute;
    top: 96px;
    left: 36px;
    width: 1px;
    height: 45vh;
    background-color: black;
    opacity: 0.1;
    z-index: 2;
    transition: ease 0.5s;
}


@media only screen and (min-width: 1320px) and (max-width: 1440px) {

    .intro-service-card {
        width: 280px;
        overflow: visible;
    }
}

@media only screen and (max-width: 1320px) {

    .intro-section {
        padding: 120px 64px;
        gap: 120px;
    }

    .intro-text-container {
        height: 100%;
        padding: 0;
        max-width: 640px;
    }

    .intro-text-container > h2 {
        font-size: 48px;
        letter-spacing: -2.4px;
    }

    .intro-text-container > h3 {
        font-size: 48px;
    }

    /* line */
    .intro-service-item::before {
        display: none;
    }

    .intro-service-item {
        height: 100%;
    }

    .intro-service-card {
        display: flex;
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }
    
    .intro-service-card::before {
        left: 50%;
        transform: translateX(-50%);
    }

    .intro-service-list-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 32px;
        max-width: 800px;
    }
    
    .intro-service-icon-container {
        position: relative;
        margin: unset;
    }

    .intro-description-container {
        position: unset;
        width: unset;
        text-align: center;
    }

    .intro-description-container > h6 {
        margin-bottom: 16px;
    }

    .intro-sub-services-list {
        gap: 12px;
        font-size: 14px;
    }

    .intro-service-item::before {
        top: 50%;
        left: 40px;
        height: 430px;
        opacity: 0.2;
        transform: translate(-50%, 0%); /* Center the circle */
    }
    
}

@media only screen and (min-width: 720px) and (max-width: 980px) {

    .intro-section {
        padding: 80px 64px;
        gap: 80px;
    }

    .intro-text-container {
        height: 100%;
        padding: 0;
    }

    .intro-text-container > h2 {
        font-size: 48px;
        letter-spacing: -2.4px;
    }
}


@media only screen and (max-width: 720px) {

        .intro-section {
            overflow: hidden;
            padding-bottom: 80px;
            padding: 80px 24px;
            gap: 80px;
        }

        .intro-text-container {
            height: 100%;
            padding: 0;
        }

        .intro-text-container > h2 {
            font-size: 32px;
            letter-spacing: -1.6px;
            text-align: left;
        }

    
        /* line */
        .intro-service-item::before {
            display: none;
        }

        .intro-service-card::before {
            display: none;
        }
    
        .intro-service-item {
            height: 120px;
            width: 100%;
            padding: 0;
        }
    
        .intro-service-card {
            gap: 24px;
            height: 100%;
            width: 100%;
            transform: unset;
            flex-direction: row;
            align-items: flex-start;
        }

        .intro-service-link {
            display: block;
        }

        .intro-service-icon-container {
            position: relative;
            margin: unset;
            width: 56px;
            height: 56px;
            border-radius: 240px;
            background-color: black;
            flex: none;
        }

        .intro-service-icon-container > lottie-player {
            display: unset;
            position: absolute;
            top: 50%;
            transform: translate(-50%, -50%);
            left: 50%;
            width: 100%;
            height: 100%;
            z-index: 5;
        }

        .intro-service-icon-container::before {
            display: none;
        }

        .intro-description-container {
            text-align: left;
            position: unset;
            width: 100%;
        }

        .intro-service-list-container {
            flex-direction: column;
            gap: 16px;
        }

        .intro-sub-services-list {
            gap: 8px;
            font-size: 13px;
        }

        .intro-description-container > h6 {
            margin-bottom: 8px;
            font-size: 18px;
        }

        .intro-description-container > p {
            font-size: 14px;
        }

        .intro-text-container > h3 {
            font-size: 40px;
            text-align: left;
        }
        
}