@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/*css layouts*/
*{
   margin: 0;
   padding: 0;
   font-family: "Poppins", sans-serif;
   box-sizing: border-box;
}

.main{
   width: 100%;
   margin: auto;
}

.navbar{
   width: 100%;
   height: 60px;
   position: fixed;
   top: 0;
   z-index: 100;
   background-color: #fff;
   display: flex;
   align-items: center;
   justify-content: space-between;
   padding: 0px 10px;
}

.home{
   background: linear-gradient(to top, rgba(69, 74, 83, 0.5) 0%, rgba(18, 18, 19, 0.5) 100%) ,url(../assests/car.jpeg);
   background-size: cover;
   height: 100vh;
   display: flex;
   background-position: center;
   justify-content: center;
   align-items: center;
   text-align: center;
   flex-direction: column;
}
.about {
   padding: 40px 5%;
   text-align: center;
   height: 100vh;
   background-size: cover;
}

.ourservices{
   padding: 10px 2%;
}

.ourservices h2{
   font-size: 50px;  
   text-align: center;
   font-weight: 500;
}

.ss-container {
   max-width: 1200px;
   display: flex;
   flex-direction: column;
   gap: 20px;
   padding-top: 10px;
}

.service-container {
   display: flex;
   justify-content: center;
   flex-wrap: wrap;
   margin-top: 20px;
   gap: 20px;
   max-width: 1200px;
   padding-top: 30px;
   position: relative;
}

.reason {
   max-width: 900px;
   margin: 100px auto;
   padding: 20px;
   height: 50vh;
   background-color: #f8f9fa;
   border-left: 5px solid #24262b;
   border-radius: 8px;
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-container{
   height: 100vh;
   display: flex;
   align-items: center;
   justify-content: center;   
}

.footer{
   width: 100%;
   position: relative;
   bottom: 0;
   background-color: #f8f9fa;
   color: #000;
   padding: 15px;
   font-size: 14px;
   line-height: 18px;

}
/*End of css Layouts*/

/*Styling the nav bar*/
.menu ul{
   display: flex;
   gap: 25px;
}

.menu ul li a{
   text-decoration: none;
   color: #000;
}

/*Styling the home content*/
.home-content {
   color: white;
   max-width: 600px;
}

.home-content h1{
   font-size: 50px;
   margin-bottom: 5px;
   font-weight: bold;
}

.home-content h4{
   font-size: 20px;
   font-weight: bold;
   margin-bottom: 20px;
}

.search-container{
   width: 100%;
   padding: 5px;
   background-position: center;
   display: flex;
   justify-content: center;
}
.search-bar{
   width: 80%;
   max-width: 400px;
   height: 40px;
   display: flex;
   border-radius: 50px;
   padding: 5px 10px;
   background: rgba(255, 255, 255,0.2);
}
.search-bar input{
   background: transparent;
   border: 0;
   outline: none;
   padding: 5px;
   font-size: 17px;
   color: #fff;
}
::placeholder{
   color: #fff;
}
.search-bar button fa-solid  {
   width: 50px;
}
.search-bar button{
   border: 0;
   width: 30px;
   height: 30px;
   cursor: pointer;
   order: 1;
   border-radius: 50%;
   background-color: #EBE5C2;
}
/* Styling our About content*/
.about-heading{
   font-size: 50px;
   font-weight: 500;   
   margin-bottom: 20px;
   text-align: center;
   color: #000;
}

.about-container {
   display: flex;
   align-items: center;
   flex-wrap: wrap;  
}

.about-text {
   max-width: 50%;
   text-align: justify; 
   justify-content: center;
   padding: 20px;
   font-size: 18px;
   line-height: 1.2; 
}
.btn{   
   background: #00308F;
   color: #fff;   
   padding: 15px;
   display: flex;
   align-items: left;
   text-decoration: none;
   justify-content: center;
   font-size: 19px;
   margin-top: 25px;
   border-radius: 10px;   
   width: 40%;
   height: 60px;
}
.about-image {
   width: 50%;
}

.about-image img {
   width: 100%;
   height: 380px;
   border-radius: 20px;
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
/*Styling Our services part*/
.ourservices p{
   text-align: center;
   padding-bottom: 10px;
}

.top-row, .bottom-row {
   display: flex;
    gap: 20px;
 }
 
 .card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
 }
 
 .cards{
   width: 30em;
   box-sizing: border-box;
   border-radius: 6px;
   max-width: 360px;
   align-items: center;
   padding: 5px;
   height: 390px;
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.card-content span{
   margin-top: -5px;
}
 
 
 
.cards:hover{
   box-shadow: 2px 2px 15px #504B38;
}

.cards img{
   width: 100%;
   height: 250px;
   object-fit: cover;
   border-radius: 6px;
}

.card-content{
  text-align: center;
}
.card-content h1{
   font-size: 22px;
}
.icon-container {
  display: flex;
  justify-content: center;   
   gap: 15px;
  
}
  .icon {
   font-size: 20px;
   color: #143e92;
   cursor: pointer;
   transition: transform 0.3s ease;
}

.icon:hover {
   transform: scale(1.2);
}

.tooltip {
   position: absolute;
   bottom: 100%;
   left: 50%;
   transform: translateX(-50%);
   background: #333;
   color: #fff;
   padding: 6px;
   font-size: 14px;
   border-radius: 5px;
   white-space: nowrap;
   opacity: 0;
   visibility: hidden;
   transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
}

.icon:hover .tooltip {
   opacity: 1;
   visibility: visible;
   transform: translateX(-50%) translateY(-5px);
}
/*Reason heading Styling*/
.reason h2 {
   font-size: 24px;
   font-weight: bold;
   text-align: center;
   color: #000;
   margin-bottom: 15px;
}
/* Styling for form container*/
.details{
   display: flex;
   flex-direction: column;
   gap: 15px;
}
.details h2{
   font-weight: 600;
   font-size: 50px;
   border-bottom: 1px solid #000;
   margin-bottom: 10px;
}

.feedback-details{
   width: 130%;
   height: 45px;
   padding: 10px;
   color: #000;
   border-radius: 50px;
   font-weight: 550;
   font-size: 18px;
}
.feedback-details:focus{
   border: 2px solid #24262b;
}
.details button{
   align-items: center;
   padding: 15px;
   width: 150px;
   color: #fff;
   font-size: 18px;
   gap: 10px;
   border-radius: 20px;
   background:#00308F;
   cursor: pointer;
}
.feedback-details::placeholder {
   color: gray; 
   opacity: 1;
}
.details textarea {
   height: 160px;
   padding: 10px;
   border-radius: 15px;
}

/*Styling the footer section*/
.container{
   max-width: 2500px;
}

.row{
   display: flex;
   flex-wrap: wrap;
}

.col{
   width: 30%;
   padding: 0 30px;
   line-height: 1.6;
}
.col h3{
   font-size: 20px;
}

ul li{
   list-style: none;
   margin-bottom: 5px;
}

ul li a{
   text-decoration: none;
   color: #000;
}

.social-icons{
   padding-top: 9px;
}

.social-icons .fa-brands {
   width: 30px;
   height: 30px;
   border-radius: 50%;
   text-align: center;
   line-height: 30px;
   font-size: 16px;
   color: #000;
   background: #fff;
   cursor: pointer
}

.social-icons .fa-brands:hover{
   color: #fff;
   background: #000;
}

.underline {
   width: 60px;
   height: 2px;
   background-color: #000;
   margin-top: 3px;
}

hr{
   width: 90%;
   border-bottom: 1px solid #000;
   margin: 20px auto;
}

@media screen and (max-width: 768px) {
   .btn {
      width: 80%; 
      max-width: 250px;
      font-size: 16px;
      padding: 10px;
      margin: 20px auto; 
   }
}

.ss-container {
   max-width: 1200px;
   display: flex;
   flex-direction: column;
   gap: 20px;
   padding-top: 10px;
}

.top-row, .bottom-row {
   display: flex;
   gap: 20px;
}


@media screen and (max-width: 1024px) {
   .top-row, .bottom-row {
       flex-wrap: wrap;
       justify-content: center;
   }

   .card {
       width: 45%; 
   }
}


@media screen and (max-width: 768px) {
   .top-row, .bottom-row {
       flex-direction: column; 
       align-items: center;
   }

   .card {
       width: 90%; 
   }
}
