*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

main, header {
    margin: 0 auto;
    width: min(100%, 1270px);
    background-color: #f7f7f7
}

header{
    margin-top: 80px;
}

nav > div:nth-of-type(1) > img{
    width: clamp(130px, 13vw, 200px); 
    border-radius: 8px;
}

.vid > *{
    width: clamp(120px, 87vw, 900px);
    border-radius: 8px;
    box-shadow: 0px  0px 10px 5px  rgb(172, 184, 221);
}

.vid {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 50px;
}

.tbut{
    text-align: center;
    
}

.tbut > div:first-of-type > h3 {
    font-size: clamp(12px, 5vw, 35px);
}

.tbut > button{  
    background-color: #f7f7f7;
    width: clamp(90px, 88vw, 950px);
    font-size: clamp(6px, 4vw, 18px);
    height: 340px;
    text-align: left;
    border: none;
    line-height: 25px;
    text-align: justify;
    border-radius: 6px;
    margin-top: 13px;
}

.serv > h2 {
    text-align: center;
    margin-top: 80px;
    margin-bottom: 20px;
    font-size: clamp(12px, 7vw, 45px);
}

.seo {
    border-radius: 5px;
    width: clamp(280px, 79vw, 355px);
    height: clamp(280px, 85vw, 470px);
    padding-top: 20px;
    padding-left: 20px ;
    padding-right: 20px;
    line-height: 21px;
    font-size: clamp(5px, 3vw, 18px);
    text-align: center;
    border: 1px solid rgba(128, 128, 128, 0.3);
}

.seo > p{
    text-align: justify;
    margin-top: 15px;
    font-size: clamp(14px, 4vw, 18px);
    line-height: 24px;   
}

.seo1 > .seo:nth-of-type(2) > p{
    margin-top: 2px;
}

.seo1 > .seo:nth-of-type(3) > p{
    margin-top: 22px;
}

.seo > img{
    width: clamp(50px, 23vw, 330px);
    margin-top: 20px;
}

.seo1 > .seo:nth-of-type(5) > img{
    margin-top: 12px;
}

.seo1 > .seo:nth-of-type(2) > img{
    margin-top: 33px;
}

.seo1 > .seo:nth-of-type(3) > img{
    margin-top: 10px;
}

.seo > h3{
   text-align: center;
   font-size: clamp(14px, 5vw, 22px);
   margin-top: 10px;
}

.seo1{
    margin-top: 40px;
    display: flex;
    justify-content: center;
    column-gap: 30px;
    flex-flow: wrap;
    row-gap: 30px;
}

.seo:hover{
    box-shadow: 0px  5px 10px 2px  rgb(192, 199, 223);
    
}

.ftext > div:nth-of-type(1) > p {
    text-align: center;
    font-size: clamp(14px, 5vw, 20px);
    margin-top: 60px;
    padding: 10px;
    line-height: 30px;
}

.ftext > div:nth-of-type(2) > h4 {
    text-align: center;
    font-size: clamp(10px, 5vw, 22px);
    font-style: italic;
    margin-left: 50%;
}

.logo-img{
    margin-top: 100px;
    display: grid;
    justify-content: center;
    column-gap: 120px;
    row-gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(100px, 120px));
}

.logo-img > div > img {
    width: clamp(120px, 9vw, 150px);
}

.logo-img > div:nth-of-type(6) > img {
    width: clamp(120px, 15vw, 350px);
}


.cus > h3{
    text-align: center;
    margin-top: 100px;
    font-size: clamp(12px, 7vw, 37px)
}

.inp {
    margin-top: 50px;
    margin-left: 50px;
}

.inp > *{
    display: block;
    margin: 15px;
}

.inp > input:nth-of-type(1),
       input:nth-of-type(2){
   height: 40px;
   width: 250px;
   border-radius: 4px;
   padding: 20px;
}

.inp > input:nth-of-type(3){
    height: 100px;
    width: 400px;
    border-radius: 4px;
    
}

.inp > button{
    width: 150px;
    height: 50px;
    border-radius: 4px;
    box-shadow: 0px 0px 7px 2px rgb(117, 109, 109);
    border: none;
}

.inp > button:hover{
    background-color: beige;
    cursor: pointer;
    
}

footer {
    margin: 0 auto;
    width: min(100%, 1350px);
    background-color: #f7f7f7
}

.foot1{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 100%;
    background-color: #294f7f;
    height: 200px;
    margin-top: 50px;
}


.foot1 > div > a > img{
    width: 28px;
    margin-top: 15px;
    padding-inline: px;
    background-color: white;
    border-radius: 3px;
    padding: 4px;
   
}

.foot1 > div > a{
    padding-inline: 5px;
}

.foot1 > div > h3{
    font-size: 20px;
    margin-top: 40px;
    color: rgb(228, 225, 225);
    
}
.foot1 > div > p{
    font-size: 18px;
    margin-top: 10px;
    color: rgb(228, 225, 225);

}

@media only screen and (max-width: 850px){ 
    .foot1{
        height: 310px;
    }
}

@media only screen and (max-width: 550px){      
    .serv{
        margin-top: 90px;
    }
    
}

@media only screen and (max-width: 430px){      
    .seo > p{
        margin-top: 7px;             
    }

}