header{
    
    background: transparent url(./assets/images/HouDowntownImg.png) no-repeat center 25%/cover;
    font-family: Arial, Helvetica, sans-serif;


}


#top {
    display: flex !important;
    justify-content: space-between;
    border: solid #D84B16;
    min-height: 100px;
    min-width: 200px;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 0;

}
.navbar li{
     background-color: rgba(44, 44, 44, 0.4);
   /* border:1px solid grey; */
    padding: 7px 10px;
    padding-right: 0%;
    
}
.navbar{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    list-style: none;
    color: white;
    margin: 0;
    border-radius: 25px;
    padding-right: 0%;
   
    
  

}
.leftside{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    letter-spacing: 1.5px;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    align-self: flex-start;

}

.middle {
    font-family: Arial, Helvetica, sans-serif;
    color: white;
    font-size: 32px;
    letter-spacing: 1.5px;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    padding-top: 25px;
    
  

   
}
.rightside{
    color: #D84B16;
    align-self: flex-start;
   
}
.logo{

    height: 100px;
    width: 100px;
    padding-top: 25px;
}

.main{
    font-family: Arial, Helvetica, sans-serif;
    height: 100vh;
    display: grid;
    gap: 1rem;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    padding: 0;
    padding-top: 30px;


}
.item{
    /* background-color: #e20c0c; */
    display: flex;
    flex-direction: column;
    text-align: center;
    
   

}


 .headshot{
    width: 100%;
    height: auto;
    max-width: 400px;
    border: solid #D84B16;
    margin-left: 25%;
 }

.photo{
  /*background-color: blueviolet; */
   grid-area:  1/2/2/4;
}
.first{
    margin-left: 15% ;
    
    
}
.third{
    /* background-color: blue; */
    order: 1;
    grid-area: 2/1/3/4;
   
}
h1{
    
    letter-spacing: normal;
    line-height: normal;
    padding: 24px;
    margin-bottom: 10px;
}
h2{
    color: #D84B16;
    font-size: 32px;
    margin-bottom: 10px;
}
h3{
    color: gray;
    padding: 20px;
    margin: 0;
    font-size: 24px;
}


.item p{
   /* padding: 10px;*/
    flex: 1;
    margin: 0;
    font-size: 20px;
    line-height: 2;
    
   
}

.firstsection{
    background: transparent url(./assets/images/bckgrdcarwreck.jpg) no-repeat center 30%/cover;
    border: solid #D84B16;
}
.firstsection p{
    
   
    background-color: rgba(0,0,0,.5) ;
    color: #fff;
    margin: 30px;

}




.title{
    color: white;
    display: inline-block;
    background-color: #1E3A8A;
    border-radius: 25px;
    border: solid #D84B16;

}

.mid h3{ 
    float: left;
    color: white;
    text-align: left;
    background-color: #1E3A8A;
    margin-top: 25px;
    margin-right: 40px;
    margin-bottom: 25px;
    border-radius: 10px;
    border: solid #D84B16;

}
.mid p{
    clear: left;
    margin-bottom: 10px ;
    padding: 20px;
    padding-bottom: 0;
    
}

.mid button{
    height: 50px;
    width: 25%;
    background-color: #1E3A8A;
    border-radius: 24px;
    color: #fff;
    font-family: "Arial", sans-serif;
    font-weight: 700;
    line-height: normal;
    text-align: center;
    text-decoration: none;
    font-size: 1.2rem;
    cursor: pointer;
    border: solid #D84B16;
}

.mid .phone-number-container{

    padding-bottom: 25px ;



}





.freewaypic{
   float: left;
   height: 200px;
   width: 20%;
   padding-bottom: 0%;
   border-radius: 25px;
   border: solid #D84B16;
   margin-top: 0%;
  
  
}
.thirdsec h3{
   float: inline-end;
   color: #D84B16;
   margin-top: 30px;
   margin-bottom: 20px;
    
}
.thirdsec p{
   text-align: center;
   padding-left: 23%;
}
.split{
    display: inline-block;
    flex-direction: column;
    /* border: solid; */
    
}

.phone-number-container p{
    padding-bottom: 0;
    margin-bottom: 0;
}

footer{
   font-family: Arial, Helvetica, sans-serif;
   margin-top: 0;
   
   
}
   
footer ul{
   margin-top: auto;
   background: transparent url(./assets/images/HouDowntownImg.png) no-repeat center 25%/cover;
   background-image: 
    linear-gradient(
      rgba(0, 0, 0, 0.45), 
      rgba(0, 0, 0, 0.45)
    ),
    /* your image */
    url(./assets/images/HouDowntownImg.png);
   list-style: none;
   text-align: left;
   padding: 10px;
   border: solid #D84B16;
   margin-bottom: 0;
   padding-top: 5px;
   padding-bottom: 5px;
   margin-left: 0;
   margin-right: 0;
   
}

.footTitle{
    color: white;
    background-color: #1E3A8A;
    display: block;
    border-radius: 30px;
    margin-left: 25%;
    margin-right: 25%;
    margin-bottom: 0%;
    border: solid #D84B16;
    
}
a{
    color: white;
    text-decoration: none;
}


#formOne{

   display: none;
  


}

#modal h1{
    
    color: #D84B16;

}
#modal .submit-btn{
    font-size: 1rem;
    background-color: #1E3A8A;

}

hr{
    
    
    width: 100%;
    
}
.numSpacing{
    padding-bottom: 0;
    margin-bottom: 0;
}


  .phone-number-container{
    display: block;  /* Makes it take up full width */
    width: 100%;     /* Optional, makes sure it takes the full width of its parent container */
    padding-top: 0;
    margin-top: 0;
   
  
}
  
.third p{
    padding-bottom: 0;
    margin-bottom: 0;
}


/*Mobile Screen Adjustments*/
@media (max-width: 768px) {
    .main { 
     display: flex;  
      flex-direction: column; /* Stack items vertically on smaller screens */
      gap: 20px; /* Space between the stacked items */
      align-items: center;
      width: 100%;
      padding: 0%;
      margin-top: auto;
      
      
    }
  
   #top{
    display: flex;
    flex-direction: column;
    align-content: center;
    margin-top: 0%;
    width: 100%;
    
   }
   
   
    .navbar{
        width: 100%;
        align-self: center;
        margin-left: 0%;
        padding-left: 0%;
        display: none;
       
    }
    .navbar li{
        background-color: rgba(44, 44, 44, 0.6);
        
        

       
    }
    .logo{
       display: none;
    }
   
    .first {
        margin-right: 50px;
    }

    .first h2{
        width: 100%;
    }

    .photo {
      order: 1; /* Ensure the photo div comes after the first div */
      align-self: center;
      margin-right: 30%;

     
    }
   
    
    #open{
        width: 50%;
    }
    
   .footTitle{
    width: 50%;
  
   
   }
   
   footer ul{
    margin-bottom: 0;
    padding-top: 5px;
    padding-bottom: 0px;
    margin-top: 1%;
   }
   body{

    align-content: center;

   }
 
  
 
  
}