*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'poppins';
}

body {
    display: flex;
    flex-direction: column;
    background: linear-gradient(to top, rgba(146, 145, 145, 0.5)90%,rgba(146, 145, 145, 0.5)90%), url(sfr.png);
    background-size: cover;
    min-height: 140vh; /* Ensure body takes up full viewport height */
    margin: 0; /* Remove default body margins */
}

.navbar{
    width: 1200px;
    height: 75px;
    margin: auto;
}

.icon{
    width: 200px;
    float: left;
    height: 70px;
}
  

.logo{
    height: auto;
    top: 20px;
    left: 350px;
    width: 190px; /* Adjust max-width as needed */
  }
  

.menu{
    width: 400px;
    float: left;
    height: 70px;
    margin-top: 40px;
}
ul{
    float: left;
    display: flex;
    justify-content: center;
    align-items: center;
}

ul li{
    list-style: none;
    margin-left: 67px;
    margin-top: 27px;
    font-size: 14px;
    
}

ul li a{
    text-decoration: none;
    color: white;
    font-family: Arial;
    font-weight: bold;
    transition: 0.4s ease-in-out;
}

ul li a:hover{
    color: #6495ed;
}

.search{
    width: 330px;
    float: left;
    margin-left: 270px;
    margin-top: 40px;
}

.srch{ 
    font-family: 'Times New Roman';
    width: 200px;
    height: 40px;
    background: transparent;
    border: 1px solid #6495ed;
    margin-top: 13px;
    color: #ffffff;
    border-right: none;
    font-size: 16px;
    float: left;
    padding: 10px;
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
}

.btn{
    width: 100px;
    height: 40px;
    background: #6495ed;
    border: 2px solid #6495ed;
    margin-top: 13px;
    color: #ffffff;
    font-size: 15px;
    border-bottom-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.btn:focus{
    outline: none;
}

.srch:focus{
    outline: none;
}
:root{
    --primary-color: #6495ed;
    --secondary-color: rgba(255,255,255,.4);
}
#service-section{
    min-height: 70px;
    width: 100%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

}
#service-section h2{
    color: #ffffff;
    font-size: 2rem;
    margin-top: 50px;
    margin-bottom: 20px;
    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 rgba(255, 0, 0, 0);
    border-right: 20px solid var(--primary-color);
}
#service-section #peragraph{
    width: 40%;
    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;
    justify-content: center;
    grid-template-columns: repeat(3,1fr);
    gap:25px;
    z-index: 9;
    margin-top: 20px;
    
}
.cards .card{
    min-height: 350px;
    width: 450px;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    padding: 0 8%;
    background: rgb(65,62,105);
    position:relative;
    border-radius: 10px;
    margin: 0 10px;
}

.cards .card::before{
    position: absolute;
    content: " ";
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    border-radius: 10px;
    background: #6495ed;
    transition: .6s;
    /* transform: rotate(10deg); */
    transform: rotate(0deg);
    z-index: -1;
}
.cards .card:hover.card::before{
    transform: rotate(10deg);
}
.cards .card i{
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 10px;
}
.cards .card h3{
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 10px;
}
.cards .card .content{
    color: rgba(255,255,255,.5);
    font-size: 1.15vw;
    margin-bottom: 20px;
    font-weight: 500;
}
@media screen and (max-width: 1200px){
    /*Normal Screen*/

    .logo{ 
        max-width: 100px; 
      }
    .navbar{
        width: 100%;
        height: 100px;
    }
    ul{
        margin-left: 30px;

    }
    ul list{
        margin-left: 60px;
    }
    ul li a{
        font-size: 1.6vw;
    }
    .search{
        margin-top: 3px;
        margin-left: 290px;
    }
    .srch{
        height: 40px;
        width: 190px;
        font-size: 14px;
    }
    .btn{
        height: 40px;
        width:80px;

    }
    #service-section h2{
        margin-top: 30px;
    }
    .content{
        width: 100%;
    }
    .cards{
        grid-template-columns: repeat(1,1fr);
    }
    #service-section #paragraph{
        width: 80%;
    }
    .content h1, .content span{
        font-size: 4.5w;
    }
    .content .par{
        width: 90%;
        font-size: 1.5vw;
    }
    .content .para{
        width: 90%;
        font-size: 1.5vw;
    }
    .content .commitment{
        width: 90%;
        font-size: 1.5vw;
    }
    .vision .vis y{
        width: 90%;
        font-size: 1.5vw;
    }
    .mission .mis y{
        width: 90%;
        font-size: 1.5vw;
    }
    .core .cor u{
        width: 13%;
        height: 3.5vw;
        font-size: 1.8vw;
    }
    .core .cor y{
        width: 13%;
        height: 3.5vw;
        font-size: 1.8vw;
    }
    .content a{
        font-size: 1.6vw;
    } 
    .quality .qual y{
        width: 13%;
        height: 3.5vw;
        font-size: 1.8vw;
    }

}
.footer{
    text-align: center;
    padding: 15px 0;
    width: 100%;
    
  }
  #page-footer span{
    font-weight: bold;
  }
  #page-footer {
    padding: 10px;
    text-align: center;
  }





@media screen and (max-width:450px){
    /*mobile*/

    .logo{
        margin-left: 140px;
        font-size: 4vw;
    }
    ul{
        margin-top: -25px;
    }
    ul li{
        margin-left: 42px;
    }
    ul li a{
        font-size: 2vw;
    }
    .search{
        margin-top: -40px;
        margin-left: 38px;
    }
    .cards .card{
        height: 150px;
        width:200px;
        margin: 5px 0px;
        margin-top: 3px;
        font-size: 10vw;
    
    }
    .cards .conent{
        margin-bottom: 0px;
    }
    .cards .content h3{
        font-size: 4vw;
    }
    .cards .content p{
        font-size: 2.5vw;
    }
}
@media(max-width:1100px){
    #service-section h2{
        margin-top: 30px;
    }
    .cards{
        grid-template-columns: repeat(1,1fr);
    }
    #service-section #peragraph{
        width: 70%;
    }
}
@media(max-width:900px){
    .cards .card{
        height: 300px;
        width: 400px;
        margin: 20px 0px;
        margin-top: auto;
    }
    .cards .content{
        margin-bottom: 0;
        padding: 0;
    }
}