*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    font-family: "Roboto", sans-serif;
}
:root{
    --primary-color: #fd562a;
    --secondary-color:rgba(225,225,225,.4);
}


.navBar{
    list-style-type: none;
    overflow: hidden;
    background-color: var(--bg-color);
    position: sticky;
    display: flex;
    align-items: center;
    flex-direction: column; 
}
.logo{
  margin-left: 8%;
  padding: 5px;
}
.logo img{
  width: 5em;
}
.navBar ul{
    margin-left: 0;
}
.navBar li{
    float: left;
    display: inline;
}
.navBar a{
    color: var(--text-color);
    text-align: center;
    padding: 0 10px;
    margin: 0 20px;
    text-decoration: none;
}
.navBar a:hover{
    color: var(--main-color);
}
.navBtn{ 
    color: var(--text-color);
}

#service-section{
    min-height: 700px;
    width: 100%;
    background: #202230;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
#service-section h2{
    color: #fff;
    font-size: 2rem;
    margin-bottom: 30px;
    margin-top: 40px;
    position: relative;
}
#service-section h2::after{
    position: absolute;
    content: "";
    top: 30%;
    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: 30%;
    right: -30px;
    height: 0px;
    width: 0px;
    border-top: 20px solid transparent;
    border-right: 20px solid var(--primary-color);
}
#service-section #paragraph{
    width: 45%;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    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: 30px;
    z-index: 9;
    margin-top: 20px;
}
.cards .card{
    min-height: 380px;
    width: 360px;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    background: rgb(65, 62, 105);
    position: relative;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 50px;
}
.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(10deg);
}
.cards .card img{
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}
.cards .card h3{
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 20px;
}
.cards .card p{
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.05rem;
    margin-bottom: 20px;
    font-weight: 500;
    letter-spacing: 1px;
}
footer{
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #f1f7fb;
  color: #1a1a1a;
  justify-content: space-around;
}
.footer-Logo img{
  width: 10em;
}
.dropdown{
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.dropdown a{
  color: #1a1a1a;
}
.dropdown a:hover{
  color: #1a1a1a94;
}

@media (min-width: 768px) {
    .navBar {
        flex-direction: row;
    }
    .navBar ul {
        margin-left: 26%;
    }
    .cards .card{
        height: 300px;
        width: 400px;
        margin: 20px 0;
    }
    footer {
        flex-direction: row;
    }
}
@media (max-width:768px){
    .footer-Logo img{
      width: 5em;
    }
    .dropdown{
      flex-direction: row;
    }
}
@media(max-width:1100px){
    #service-section h2{
        margin-top: 30px;
    } 
    .cards{
        grid-template-columns: repeat(1,1fr);
    }
    #service-section #paragraph{
        width: 80%;
    }
}