@import url('https://fonts.googleapis.com/css2?family=Lato&display=swap');
body{
    padding: 0;
    margin: 0;
    font-family: Lato;
    overflow-x: hidden;
}
nav {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
}
.nav-links li {
    margin-right: 20px;
}
.nav-links a {
    text-decoration: none;
    font-weight: 600px;
}
.active{
    color: #E71800;
}
a:hover{
    color: #E71800;
}
.submit{
    display: flex;
    width: 153px;
    padding: 15px 51px 14px 52px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border-radius: 8px;
    background: #E71800;
    border:none;
    cursor: pointer;
    color: #fff;
}

    .my-button {
        background-color: #E71800;
        width: 153px;
        color: white;
        font-weight: 600px;
        padding: 9px 10px 10px 10px;
        font-size: 16px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s ease;
}
.my-button:hover{
    color: #000;
}
.content{
    padding: 20px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.30) 0%, rgba(0, 0, 0, 0.30) 100%), url('images/1.jpg');
    background-size: cover no-repeat;
    background-position: center;
    height: 400px;
    color: #fff;
}
h1{
    font-size: 48px;
    font-weight: 700;
}
.subtitle{
    font-size: 24px;
    font-weight: 600;
}
.about{
    text-align: center;
    padding: 20px;
}
h2{
    font-size: 32px;
}
p{
    font-size: 16px;
}
.under{
    border-radius: 8px;
    background: #E71800;
    width: 180px;
    height: 6px;
    flex-shrink: 0;
    margin: 0 auto;
}

.title{
    color: #E71800;
}
.black{
    color: #000;
}
.container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 20px;
    gap: 20px;  
}

.colu{
    padding: 20px;
}
.container-logistic{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}
.h4{
    font-size: 24px;
}
a{
    text-decoration: none;
}
.section1{
    display: flex;
    padding:20px;
    background: #FFBF14;
    height: 130px;
    flex-shrink: 0;
    align-items: center;
    margin: 0px 19px;
    width: 1278px;
}


.column2{
    padding: 20px;
    margin-left: auto;
}
.h2{
    font-size: 32px;
    font-weight: 600;
}


.form{
    display: flex;
    width: 621px;
    align-items: flex-start;
    align-content: flex-start;
    gap: 20px 21px;
    flex-wrap: wrap;
}
/*best form By Me instead of teacher's own, you can use it too 
instead of this above flex-wrap: wrap; and display: flex; within the form class*/

/*.bestformByMe{
    display: grid;
    grid-template-columns: 300px 300px;
}*/

.form-control{
    width: 300px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 8px;
    border: 1px solid #515151;
    padding-left: 10px;
}





.message{
    width: 621px;
    height: 190px;
    flex-shrink: 0;
    border-radius: 8px;
    border: 1px solid #515151;
    padding-left: 10px;
    padding-top: 10px;
}
.right {
    display: flex;
    flex-direction: column;
    gap: 20px;  /* This sets the gap between child elements */
}
  
.flex {
    display: inline-flex;
    align-items: center;
    gap: 24px;
}



/*best flex By Me instead of teacher's own, you can use it too 
instead of this above  display: inline-flex; within the flex class*/


/*.bestflexByMe {
    display: grid;
    grid-template-columns: 1fr 1fr;
   
}*/


.flex,h4 {
margin-bottom: 10px; /* Adjust the margin-bottom to move the h4 tag up */
}
.footer-logistic{
    background: #000;
    color: #fff;
}

.container-footer{
    padding: 7px;
}
.row{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;    
}
.colospan,li{
    align-items: center;
    list-style: none;
    margin-top: 12px;
}
.col-span{
   padding: 20px;
}
.flexing {
    display: inline-flex;
    gap: 12px;
    margin-bottom: 20px;
}
.mt-5{
    margin-top: 12px;
}
.text-center{
    text-align: center;
}
.bt{
    margin-top: 20px;
}

/* Mobile styles for screens up to 767px width */
@media screen and (max-width: 767px) {
    .cap {
        display: none;
    }


    .nav-links li {
        margin-right: 0;
        margin-bottom: 10px;
    }


   
    .pap a{
        display: none;
        
    }

   
   
    .pap.res a {
        display: block;
       

       
    }

    .nono{
        background-color: black;
        width: 70px;
        
       
      }

      .nono a{
        
        color: white;
      }

      .nono .active{
      
        color: tomato;
      }

      .nono .black:hover{
      
        color: tomato;
      }

    

    
    .button-container {
        margin-top: 20px;
    }
    .container-logistic {
        display: grid;
        grid-template-columns: 1fr;
        
    }
    .img{
        width: 310px;
        height: 205.556px;
        flex-shrink: 0;
        margin: 0 auto;
    }
    span.h4{
        margin-bottom: 20px;
    }
   
    .content{
        text-align: center;
    }
    h1{
    font-size: 32px;
    font-weight: 700;
    }
    h2{
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    }
    .abt{
        width: 545px;
        height: 189px;
        flex-shrink: 0;
        margin-bottom: 20px;
    }
    .colu{
        padding: 20px;
    }



    .pic{
    width: 310px;
    height: 205.556px;
    flex-shrink: 0;
    }
    .subtitle{
        font-size: 20px;
        font-weight: 600;
    }
    .cap{
        display: none;
        padding: 20px;
    }
    .section1{ 
        background: #FFBF14;
        min-width: 320px;
        height: 235px;
        flex-shrink: 0;
        gap: 24px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .column2{
        padding: 20px;
        margin:0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
    }
    .h2{
        font-size: 24px;
        font-style: normal;
        font-weight: 600;
        line-height: normal;
    }
    .h4{
        font-size: 20px;
    }
    .form {
        width: 100%; /* Adjust the width for smaller screens */
        gap: 10px;   /* Reduce the gap between form elements */
        flex-wrap: wrap;
    }

    .right {
        align-items: center; /* Center the items in the right column */
        text-align: center;  /* Center the text in the right column */
    }

    .form-control,
    .message {
        width: 300px; /* Make the form controls and message textarea full-width */
    }
    .container-footer {
        display: grid;
        grid-template-columns: 1fr;  
    }
    .row{
        display: grid;
        grid-template-columns: 1fr;    
    }
    .imgs {
        display: inline-flex;
        gap: 12px;
        margin-bottom: 20px;
        width: 148.643px;
        height: 92.787px;
        flex-shrink: 0;
    }
    .flexing{
        display: inline-flex;
        gap: 12px;
        margin-bottom: 20px;
    }
    .max{
        max-width: 140px;
        height: 92.787px;
        flex-shrink: 0;
    }
    
}


/* Responsive layout for screens 768px and above */

@media only screen and (min-width: 768px) {
    .pap{
        display: none;
        padding: 20px;
    }

    
    .m{
        display: none;
    }

    
}


/* Responsive layout for screens 576px to 767px */
@media only screen and (max-width: 767px) {
    .container {
        grid-template-columns: 1fr 1fr;
    }

    .container-logistic {
        grid-template-columns: 1fr 1fr;
    }
    .container-footer {
        display: grid;
        grid-template-columns: 1fr;  
    }
    .row{
        display: grid;
        grid-template-columns: 1fr;    
    }
}

/* Responsive layout for screens below 576px */
@media only screen and (max-width: 575px) {
    .container {
        grid-template-columns: 1fr;
    }
    .container-logistic {
        grid-template-columns: 1fr;
    }
    .container-footer {
        display: grid;
        grid-template-columns: 1fr;  
    }
    .row{
        display: grid;
        grid-template-columns: 1fr;    
    }
}
