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

:root {
    --primary-color: rgb(223, 158, 38);
    --secondary-color: black;
}

.heading{
    flex: 1;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
}

#service-section {
    min-height: 700px;
    width: 100%;
    background: rgba(255, 255, 255, 0.932);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 10rem;
    margin-top: -2%;
}

#service-section h2 {
    color: #111;
    font-size: 10px;
    margin-bottom: 20px;
    position: relative;
}

#service-section h2 ::after {

    position: absolute;
    content: " ";
    top: 8px;
    left: -30px;
    height: 0px;
    width: 0px;
    border-top: 20px solid transparent;
    border-left: 20px solid var(--primary-color);

}

#service-section h2 ::before {

    position: absolute;
    content: "";
    top: 8px;
    right: -30px;
    height: 0px;
    width: 0px;
    border-top: 20px solid transparent;
    border-right: 20px solid var(--primery-color);
}

#service-section #paragraph {
    width: 40%;
    font-size: 10px;
    color: #111;
    text-align: center;
    line-height: 1.5rem;
    white-space: 1px;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    z-index: 9;
    margin-top: 20px;
}

.cards .card {
    min-height: 350px;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    padding: 0 8%;
    background: #5c5252;
    position: relative;
    border-radius: 10px;
}


.cards .card::before {  
    position: absolute;
    content: "";
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    border-radius: 10px;
    background: #fd562a;
    transform: rotate(0deg);
    z-index: -1;
}

.cards .card:hover.card::before {
    transform: rotate(8deg) ;
    transition-duration: 1000ms
}

.cards .card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 10px;
}

.cards .card h3 {
    font-size: 2.4rem;
    color: #fff;
    margin-bottom: 10px;
}

.cards .card .content p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.55rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.content li {
    color: rgba(255, 255, 255, 0.692);
}

@media(max-width:1100px) {
    #service-section h2 {
        margin-top: 30px;
    }

    .cards {
        grid-template-columns: repeat(1, 1fr);
    }

    #service-section #paragraph {
        width: 80%;
    }
}

@media(max-width:900px) {
    .cards .card {
        height: 100%;
        width: 400px;
    }

}

@media(max-width:500px) {
  
    .cards .card {
        height: 100%;
        width: 400px;
    }
}

@media(max-width:400px) {
  
    .cards .card {
        height: 100%;
        width: 300px;
    }
}