/*Remove Browser styles */

/* variable declarations */ 
:root{
   --primary:rgb(230, 98, 116);
   --primary-light:#e521662e;

   --secondary : #0d1137;
   --secondary-light:#0d113783;
}
::selection{
    color:var(--secondary)
}
.fa-bars{
    color: white;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
li{
    list-style-type: none;
}
a{
    text-decoration: none;
}
img{
    width: 100%;
    height: 100%;


}

/* common styles */
.btn{
    color: white;
    display: inline-block;
    background-color: var(--primary);
    padding: 10px 18px;
    transform: 300ms;
}
.btn:hover {
    transform: translateY(10px);
}

.flex-design{
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/*styles*/  



header{
    min-height: 100vh;
    background:linear-gradient(rgba(0, 0, 0, 0.082),rgba(0, 0, 0, 0.477))  ,url(/images/hs.jpg);
    background-size: cover;
    background-position: center;
    position: relative;
   
}
.header-content{
    background-color: var(--secondary);
 
    height: 12vh;
}
.logo {
    height: 80px;
}
.nav-links{

   
    width: 60%;
   

}
.nav-links a {
    color: white;
}

.nav-links li ::after{
    content:'';
    display: block;
    background-color:var(--primary);
    height: 2px;
    transform: scaleX(0);
    transition: 300ms;
    
}
.nav-links li:hover::after{
    transform: scaleX(1);
}
.burger{
    display: none;
    cursor: pointer;
}

.text-center{
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
    transition: all 300ms;
}

.text-center h1{
    margin: 1.2rem 0;
}

.content{
    max-width: 1020px;
    margin-left: auto;
    margin-right: auto;
}

.mb{
    margin-bottom: 3rem;
}
.mt{
    margin-top: 5rem;
}

.heading{
    text-align: center;
    margin-bottom: 2rem;
}


.wwa-box{
    background-color:var(--primary);
    padding: 20px;
    margin-left: 10px;
    text-align: center;
    color: white;
}
.wwa-box h3{
    margin-bottom: 5px;
}
.wwa-box:first-child{
    margin-left: 0px;
}
.wwa-box:hover{
    box-shadow: 3px 5px 11px 0px rgba(0, 0, 0, 0.663);
}


.products_img{
    position: relative;
}

.products_img img {
    display: block;
}
.products_img::after{
    position: absolute;
    content: '';
    top:0;
    left: 0;
    bottom: 0;
    right: 0;
    transform: scale(1,0);
    transform-origin: right;
    transition: transform 300ms;
    background-color: rgba(0, 0, 0, 0.432);
}
.products:hover .products_img::after{
    transform: scale(1);
    transform-origin: left;
}
.products{
    position: relative;
}
.products_content{
    position: absolute;
    top: 80%;
    left: 50%;
    opacity: 0;
    transform: translate(-50%,-50%);
    text-align: center;
    color: white;
    font-size: 1.5rem;
    transition: top 200ms ,opacity 350ms;
    transition-delay: 200ms;

}
.products:hover .products_content{
     top: 50%;
     opacity: 1;
}
.products-content{
    display: grid;
    grid-gap:5px ;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
}
.footer-logo{
    height: 150px;
    width: 150px;
}
.footer-top{
    background-color: var(--secondary);
    color: white;
}

.footer-link a{
   color:white;
}
.footer-bottom{
    background-color: skyblue;
    text-align: center;
    color:black;
    padding: 0.6rem 0;
}
.about-us-text{
    position: relative;
    padding: 0.6rem 0;
}
.about-us-text::after{
    content: '';
    position: absolute;
    inset : -100px 0 0 -100px;
    background-image: url(/images/home.jpg);
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.1;
    z-index:-1;


}
.our-dealers{
    background-color: rgb(186, 150, 150);
    color: white;
    padding: 3rem ;
}
.dealer{
    margin-top: 3rem;
}
.dealer-text{
    width: 100%;
    padding:2rem;
    line: height 3.2rem;

}
.register-now{
    padding: 2rem 0;
    background-color: var(--secondary-light);
}

.register-now-heading{
    color: white;
}
.register-now-content{
    padding: 0 2rem;
    text-align: center;
}

/* prouduct table*/

.product-table-section{
    padding: 2rem 0;
    background-color: var(--primary);
}
.product-table th,.product-table td{
    padding: 1rem;
}
.product-table th{
    color: var(rgb(72, 25, 33));
    background-color:rgb(175, 177, 209);
    
}
.product-table-content{
    max-width: 600px;
   
    text-align: center;
}
.product-table tr{
    transition: transform 300ms;
}

.product-table tr:not(:first-child):hover{
    transform: scale(1.1);
}

.product-table tr:nth-child(odd){
    background-color: rgb(213, 176, 176);
}
.product-table tr:nth-child(even){
    color: rgb(84, 42, 42);
    background-color: rgb(212, 70, 94);
}
.product-table tr a{
    color: white;
    text-decoration: none;
    background-color: rgb(7, 87, 7);
    padding: 6px  10px;
}

.product-table{
    width: 100%;
    border-collapse: collapse;
    filter: drop-shadow(-20px -10px 20px);
}

.center i{
    color: var(--primary);
    margin-right: 15px;

}
.center i{
    transition: transform 300ms;
}
.center:hover i {
    transform: translate(20px,-15px)scale(1.4);
}
.info-center-content{
    display: grid;
    grid-row-gap: 20px;
    grid-template-columns: repeat( auto-fit,minmax(300px,1fr));
}

input,textarea {
    display:block;
   
    width: 100%;
    margin-bottom: 1rem;
    padding: 6px;
    border: none;
    border-bottom: 1px solid var(--primary);

}
input:focus, textarea:focus{
    border: none;
    outline: none;
    background-color: var(--primary-light);
    border: bottom 2px solid var(--primary); 
}
.form h2 {
    display: inline-block;
}

.form h2::after{
    content: '';
    display: block;
    height: 2px;
    width: 80%;
    background-color: var(--primary);
}

/*Media queries*/


@media  only screen and (max-width:894px){
    .text-center{
        width: 100%;
    }
}

@media  only screen and (max-width:8408px){
    .dealers{
        flex-direction: column;
    }
}

@media  only screen and (max-width:858px){
    .wwa-content{
        flex-direction: column;
    }
    .wwa-box{
        margin-left: 0px;
        margin-top: 15px;
    }
    .wwa-box:first-child{
        margin-top: 0px;
    }
}

@media  only screen and (max-width:762px){
    .footer-top-container{
        flex-direction: column;

    }
    .footer-link{
        margin-bottom: 1rem;
    }
    .footer-company{
        text-align: center;
    }
}


@media  only screen and (max-width:600px){
   .nav-links{
    /*display: none;*/
    position: absolute;
    flex-direction: column;
    background-color: var(--secondary-light);
    right:-10rem;
    top: 12vh;
    height: 50vh;
    width: 0%;
    padding: 1.5rem 0;
    transition: width 400ms ;

     
   }
   .burger{
    display: block;
}
.nav-show{
    width: 100%;
    right: 0px;

} 
.textareahide{
    left: -15rem;


}