:root{
    --primary: #FAFAFA;
    --btn-warning:#CF9455;
    --icons:#ffffff;
    --black: #212121;
    --practice:#F5F5F5;
    --padding:1rem; /**16px**/
}
body{
    overflow-x:hidden;
}
/**Resets**/
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/**Base styles**/
.navbar-light .navbar-nav .nav-link {
    color: #ffffff;
}
li{
    list-style-type: none;
}
a{
    text-decoration: none;
    font-size: 1.05rem;
}
.btn{
    font-family: 'Times New Roman', Times, serif;
    padding: 1.1rem 1.35rem;
}
.btn-warning {
    background:var(--btn-warning);
}
.btn-outline-warning{
    border-color: var(--btn-warning);
    border:2px solid var(--btn-warning)
}
body{
    color:var(--primary);
    font-family: serif;
}
.grid{
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap:2rem;
}
/**Header**/
header#header{
    background-image: url('../img/court.jfif');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 20%;
}
/**Contact Nav**/
nav.contact-nav,
nav#site-nav{
    padding:1rem 1.5rem;
}
.emailNoDiv span{
    color: var(--primary);
    opacity: 0.85;
    padding: 0 1rem;
    font-size: .9rem;
}
.socials a{
    padding:0 .5rem;
}
/**main navigation**/
.navbar-nav{
    padding-left: 10rem;
}
li.active a{
    border-bottom: 2px solid var(--btn-warning);
    color: var(--btn-warning)!important;
}
span.No{
    font-size: 1.3rem;
    font-weight: 800;
    color:var(--primary);
}
span.call{
    font-size: .85rem;
    color: var(--primary);
    opacity: .8;
}
.header-headphone{
    width: 10%;
    height: 15%;
    margin-top: 25px;
}
/**Hero**/
#hero{
    margin-top: 5rem;
    padding: 0 1.5rem 7rem;
}
#hero h1{
    font-size:2rem;
    color: var(--primary);
}
#hero h2{
    font-size:3rem;
    color: var(--primary);
    line-height: 4rem;
}
#hero span{
    padding-top:6rem;
    font-size: 1.25rem;
    color: var(--primary);
}
/**Profiles Section**/
.lawgroup-content h1{
    color: var(--black);
    font-size: 2.5rem;
}
.lawgroup-content span{
    color: var(--black);
    font-size: 1.05rem;
    font-weight: 500;
}
.lawgroup-content p{
    font-size: .95rem;
    color: var(--black);
}
/**Practice Areas**/
#practice{
    background: var(--practice);
    text-align: center;
    padding: 5rem 2rem;
}
.intro-content h1{
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--black);
}
.intro-content h2{
    font-size: 2.9rem;
    font-weight: 700;
    color: var(--black);
}
.speciality h5{
    color: var(--black);
    font-size: .99rem;
}
.speciality p{
    color: var(--black);
}
.speciality span.learn{
    color: #CF9455;
    padding-right: 15px;
    font-size: .85rem;
    font-weight: bold;
}
/**Results**/
#results{
    padding: 5rem 2rem;
}
#results .intro-content h2{
    font-size: 2.8rem;
}
#results .intro-content h2 span{
    font-size: 2rem;
    font-family: cursive;
    padding-right: .25rem;
    margin-top: 1.5rem;
}
.reasons{
    display: flex;
    justify-content: space-between;
    margin-top: 6rem;
}
.reason h1{
    color: var(--btn-warning);
    font-family: cursive;
}
.reason h2{
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--black);
}
.reason p{
    font-size:1rem;
    color:var(--black);
}
/**Testimonials**/
#testimonial{
    background-color: #000000;
}
.relative {
    position: relative;
  }
    
  .h-30 {
    height: 300px;
  }
  
  .flex {
    display: flex;
    flex-direction: row;
  }

  .two{
    width: 50%;
    padding: 5% 0;
    color: #fff;  
  }
  
  .two .section {
    display: flex;
    width: 100%;
    margin: 20px 0;
  }
  
  .two .section div {
    width: 50%;
    text-align: center;
  }
  
  .one {
    width: 50%;
  }
  
  .lbh {
    width: 60%;
    background: #282E3F;;
    height: 300px;
    position: absolute;
    top: 80px;
    left: 100px;
  }
  .lbh h4{
    font-weight: normal;
    font-size: 20px;
    line-height: 28px; 
    color: #FFFFFF;
  }
  .lbh .btn{
    font-weight: 500;
    font-size: 15px;
    line-height: 19px;
    color: #FFFFFF;
  }




/*Story Section*/
#story{
    margin-top: 7rem;
    padding: 2rem;
}
#story .story h1{
    color: var(--black);
    font-size: 2.8rem;
    font-weight: 700;
}
#story .story p{
    font-size: 1rem;
    color: #424242;
}
/**Team**/
#team{
    background: #FAFAFA;
    padding: 5rem 1.5rem;
    margin: 5rem 0;
}
#team .intro-content h1{
    font-size: 2.9rem;
    font-weight: 700;
    color: var(--black);
}
#team .intro-content span{
    color: #424242;
    font-size:1.1rem;
}
.backWhite{
    background-color:var(--icons);
    padding-bottom: 2rem;
}
.member h4{
    font-size: 1.24rem;
    color: var(--black);
    padding-top: 2rem;
}
.member span{
    color: #424242;
    font-size: .95rem;
}
/**Client Video**/
.clientVideo{
    background: #282E3F;
    padding: 3rem 2rem;
}
.clientVideo h2{
    color: var(--icons);
    font-size: 2.8rem;
}
.clientVideo video{
    border: 2px solid var(--icons);
    border-radius: 2px;
}
/**Contact**/
#contact{
    padding: 5rem 3rem;
}
.contact-info h1{
    font-weight: bold;
    font-size: 2.3rem;
    line-height: 48px;
    color: var(--black);
}
.contact-info h5{
    font-size: 1.1rem;
    line-height: 21px;
    color:var(--black);
}
.contact-info p{
    font-size: .9rem;
    line-height: 30px;
    color: #424242
}
#contact input{
    padding: .5rem 2rem;
    max-width: 100%;
}
#contact textarea{
    padding-top: .75rem;
    padding-left:.5rem;
}
input, textarea{
    background: #EEEEEE;
    opacity: 0.6;
    border: 2px solid #CF9455
}
.gap{
    grid-gap: 20px;
}
/**main testimonials**/
#main-testimonials{
    background: var(--primary);
    padding: 5rem 3rem;
    /* border: 2px dashed #B7B7B7;
    border-radius: 50%; */
    border-spacing: 10rem;
}
#main-testimonials .positioned-quote{
    position: absolute;
    left: 45%;
}
.top-text{
    position: relative;
    z-index: 1000;
    margin-top: 4.55rem;
}
.top-text h1{
    font-size: 2.9rem;
    line-height: 61px;
    color: var(--black);
    font-weight: bold;
}
.top-text p{
    color: #424242;
    font-size:1.09rem;
}
.test-grid{
    margin-top: 5rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 9rem;
}
#main-testimonials .grid-info h3{
    font-size: 2rem;
    line-height: 43px;
    color: #424242;
}
#main-testimonials .grid-info h4{
   font-size: 1rem;
    line-height: 19px;    
    color: #000000;
}
/**Blog**/
#blog{
    margin-top: 5rem;
}
#blog h1{
    font-size: 2.9rem;
    line-height: 61px;
    color: #0D0D0D;
    font-weight: bold;
}
.post-span{
    background-color:#fafafa;
    padding:1.5rem 1rem;
}
.post-span h5{
    font-size: 14px;
    line-height: 16px;
    color: #424242;
}
.post-span h4{
    font-weight: 500;
    font-size: 20px;
    line-height: 23px;
    color: #212121;
}
.post-span p{
    font-size: 16px;
    line-height: 19px;
    color: #424242;

}
.post-span span{
    font-size: 12px;
    line-height: 14px;
    color: #CF9455;
    opacity: 0.8;
}
/**NewsLeter**/
#newsletter{
    background: #282E3F;
    padding: 3rem 4rem;
    color:var(--primary);
}
.input-btn{
    background: #CF9455;
    border: transparent;
    color: var(--icons);
    font-size: 14px;
}

/**Footer**/
#footer{
    padding: 3rem 5rem;
}
#colOne p{
    font-weight: normal;
    font-size: .95rem;
    line-height: 1.58rem;
    text-align: justify;
    color: #424242;
}
#colTwo ul,
#colTwo ul,
#colFour ul{
    margin-top: 2rem;
}
#colTwo h1,
#colThree h1{
    font-size: 1.65rem;
    font-weight: bold;
    color: #212121;
}
#colTwo ul li,
#colThree ul li{
    font-size: 16px;
    line-height: 19px;
    color: #424242;
    opacity: 0.85;
    padding-top: 1.5rem;
}
#colTwo ul li::before,
#colThree ul li::before{
    content:url(../img/beforeli.png);
    padding-right:.5rem;
}
#colFour h1{
    font-weight: bold;
    font-size: 22px;
    line-height: 29px;
    color: #212121;
}
#colFour span{
    display: block;
    padding-top: .75rem;
    font-size: 16px;
    line-height: 19px;
    color: #424242;
}
.copyright span{
    font-size: 16px;
    line-height: 19px;
    color: #424242;
}
.copyright .social-links a img{
    background: #CF9455;
    padding: .5rem;
    border-radius: 50%;
    /* width: 40px;
    height: 40px; */
}
.mobile-nav{
    display: none;
}
/**Responsive**/
@media only screen and (max-width:960px){

}
@media only screen and (max-width:620px){
    .contact-nav{
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        align-items: flex-start;
    }
    #practice .grid .speciality{
        grid-column: span 12;
    }
    #results .reasons{
        display:flex;
        flex-direction: column;
    }
    #story{
        padding:0;
    }
    section#testimonial{
        display: flex;
        flex-direction: column;
    }
    .clientVideo{
        display: flex;
        flex-direction: column;
        padding:1.5rem;
    }
    .clientVideo h2{
        text-align: center;
        font-size: 32px;
    }
    .clientVideo video{
        width: 100%;
    }
    #contact{
        padding:2rem .5rem;
    }
   #top-nav,
   #site-nav{
       display: none !important;
   }
    .mobile-nav{
        display: flex;
        justify-content: space-between;
    }
    .mobile-nav .mobile-socials{
        display: flex;
        flex-direction: column;     
    }
    #hero{
        margin-top: .5rem;
    }
    #profiles,
    #story{
        padding: 1rem;
    }
    #testimonial{
        display:flex;
        flex-direction: column;
        align-items: center;
    }
    .lbh{
        width: 100%;
        position: relative;
        top:-70px;
        left: auto;
        text-align: center;
    }
    #testimonial .two{
        display: flex;
        flex-direction: column;
    }
    .reasons{
        margin-top: 4rem;
    }
    #footer{
        padding:3rem 1rem;
    }
    #footer #colTwo,
    #footer #colThree,
    #footer #colFour{
        flex-direction: column;
        display: flex;
        flex-wrap: wrap;
        text-align: center;
        align-items: center;
    }
    #footer #colTwo ul,
    #footer #colThree ul{
        margin-top:0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
    #footer #colTwo ul li,
    #footer #colThree ul li{
        display:block;
        padding-left: 15px;        

    }
    #colFour span{
        margin-top: 0;
    }
    .copyright{
        display: flex;
        flex-direction: column;
        align-items:center;
        justify-content: space-around;
    }
    .copyright .social-links{
        order:2;
    }
    #contact form .grid{
        display: grid;
        grid-template-rows:repeat(12, 1fr);
        grid-gap: 20px;
    }
    .speciality{
        margin-top:2rem;
    }
}
