/* Google Font CDN Link */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Ubuntu:wght@400;500;700&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  scroll-behavior: smooth;
}

/* Custom Scroll Bar CSS */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #1F618D;
    border-radius: 12px;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #1F618D;
}
/* navbar styling */
nav{
  position: fixed;
  width: 100%;
  padding: 20px 0;
  z-index: 998;
  transition: all 0.3s ease;
  font-family: 'Ubuntu', sans-serif;
   
}
nav.sticky{
  background:#1F618D;
  padding: 13px 0;
}
nav .navbar{
  width: 90%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto;
}
nav .navbar .logo a{
  font-weight: 500;
  font-size: 35px;
  color: #2874A6;
     text-decoration: none;
}
nav.sticky .navbar .logo a{
  color: #fff;
}
nav .navbar .menu{
  display: flex;
  position: relative;
}
nav .navbar .menu li{
  list-style: none;
  margin: 0 8px;
    
   
}

.navbar .menu a{
  font-size: 25px;
  font-weight: 500;
  color:#6D4C41;
  padding: 6px 0;
  transition: all 0.4s ease;
     text-decoration: none;
}

.navbar .menu a:hover{
  color: #1F618D;
}
nav.sticky .menu a{
  color: #FFF;
}
nav.sticky .menu a:hover{
  color: #FFF;
  text-decoration: underline;
}

.navbar .media-icons a{
  color: #2874A6;
  font-size: 20px;
  margin: 0 6px;
}
nav.sticky .media-icons a{
  color: #FFF;
}



/* Side Navigation Menu Button CSS */
nav .menu-btn,
.navbar .menu .cancel-btn{
  position: absolute;
  color: #fff;
  right: 30px;
  top: 20px;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: none;
}
nav .menu-btn{
  color: #1F618D;
}
nav.sticky .menu-btn{
  color: #FFF;
}
.navbar .menu .menu-btn{
  color: #fff;
}

/* home section styling */
.home{
  height: 100vh;
  width: 100%;
  background: url(Images/homelegal.webp) top left no-repeat;
  background-size: cover;
   
  background-attachment: fixed;
  font-family: 'Ubuntu', sans-serif;
}

.home .home-content{
  width: 90%;
  height: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
    background-position: center;
  
}


.home .text-two{
  color: #1F618D;
  font-size: 65px;
  font-weight: 500;
  margin-left: -3px;
}
.home .text-three{
  font-size: 40px;
  margin: 5px 0;
  color: #2874A6;
}


.home .button{
  margin: 14px 0;
  text-align: left;
}

.home .button button {
  outline: none;
  padding: 8px 16px;
  border-radius: 3px;
  font-size: 25px;
  font-weight: 400;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.4s ease;
  border-color: #2874A6;
  background: #2874A6;
  color: #fff;
}


.home .button button:hover{
   border-color: #2874A6;
  
  color:#fff;
    border-radius: 9px;
}








/* About Section Styling */
/* Those Elements Where We Have Apply Same CSS,
 I'm Selecting Directly 'Section Tag' and 'Class'  */
section{
  padding-top: 20px;
  
}

section .content{
  width: 80%;
  margin: 60px auto;
  font-family: 'Poppins', sans-serif;
}

.about .about-details{
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow:2px 2px 12px rgba(0,0,0,0.19);
   
}

section .title{
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
     font-family: 'Poppins', sans-serif;
    
}

section .title span{
  color: #0E2431;
  font-size: 30px;
  font-weight: 600;
  position: relative;
  padding-bottom: 8px;
}
section .title span::before,
section .title span::after{
  content: '';
  position: absolute;
  height: 3px;
  width: 100%;
  background: #2874A6;
  left: 0;
  bottom: 0;
}
section .title span::after{
  bottom: -7px;
  width: 70%;
  left: 50%;
  transform: translateX(-50%);
}
.about .about-details .left{
  width: 25%;
  

}
.about .left img{
   
  width: 300px;
  padding: 0 30px;



}




.about-details .right{
  width: 75%;
}


section  .topic{
    width: 100%;
  color: #0E2431;
  font-size: 25px;
  font-weight: 500;
  margin-bottom: 10px;
    text-align: center;
   
}
.about-details .right p{
  text-align: justify;
  color: #0E2431;
    padding: 5px 28px;
}

section .button{
  margin: 16px 0;
  text-align: center; 
}
section .button button{
  outline: none;
  padding: 8px 16px;
  border-radius: 2px;
  font-size: 25px;
  font-weight: 400;
  border: 1px solid #1F618D;
  color:#1F618D;
    background: #fff;
  cursor: pointer;
  transition: all 0.4s ease;
    
}

section .button button a{
    color: #2874A6;
}

section .button button a:hover{
    color: white;
}
section .button button:hover{
  border-color: #1F618D;
  background-color: #1F618D;
  color: #fff;
  border-radius: 8px;
}






.container{
  max-width: 1200px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

    
.titlea{
  background-color: rgba(31, 97, 141,.7);
    border-radius: 8px;
  display: flex;
  color: #fff;
   
  padding: 20px;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  align-items: center;
  justify-content: space-between;
     box-shadow:0px 4px 20px rgba(31, 97, 141,.2);
}



.icon{
  position: relative;
  width: 14px;
}

.icon::before, .icon::after{
  content: "";
  position: absolute;
  width: 14px;
  height: 3px;
  background-color: #fff;
  top: -1.5px;
}

.icon::after{
  transform: rotate(90deg);
  transition: .5s linear;
}

.texta{
  background-color: #ffffff60;
  color: black;
  line-height: 26px;
  margin: 6px 0;
  opacity: 0;
  height: 0;
    background-color: rgba(31, 97, 141,.1);
    text-align: justify;
}

.item:target .texta{
  height: auto;
  opacity: 1;
  padding: 20px;
  margin: 12px 0;
}

.item:target .icon::after{
  transform: rotate(0);
}

@media screen and (max-width:960px){
  .container{
    max-width: 600px;
  }

  .image, .accordion-menu{
    width: 100%;
    margin: 20px 0;
  }
}








.skills .content .gallery{
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 50px 0px;
    flex-wrap: wrap; 
  
    
}
.skills .content .gallery img{
        

   
    margin: 10px 50px;
    width: 140px;
    height: 140px;
   border-radius: 6px;
    object-fit: cover;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .6) ;
   
 }


.skills .content .gallery img:hover{
    transform: translateY(-15px);
    box-shadow: 0 12px 16px rgba(169, 204, 227, 0.9);
    background: #EAF2F8;
    transition: all .8s;
}



 /* My Skills CSS */
 .skills{
   background: #F0F8FF;
 }
 .skills .content{
   padding: 40px 0;
 }




/* My Services CSS */
.services .boxes{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
    
}
.services .boxes .box{
  margin: 20px 0;
  width: calc(100% / 3 - 20px);
  text-align: center;
  border-radius: 12px;
  padding: 30px 10px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  cursor: default;
  transition: all 0.4s ease;
    background: rgba(31, 97, 141,.1);
   
    clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
    overflow: visible;
}

.services .boxes .box:hover{
  background: #1F618D;
  color: #fff;
}
.services .boxes .box .icon{
  height: 50px;
  width: 50px;
  background: #6D4C41;
  border-radius: 50%;
  text-align: center;
  line-height: 50px;
  font-size: 18px;
  color: #fff;
  margin: 0 auto 10px auto;
  transition: all 0.4s ease;
}

.services .boxes .box p{
    font-size: 13px;
}

.boxes .box:hover .icon{
  background-color: #fff;
  color: #2874A6;
}
.services .boxes .box:hover .topic,
.services .boxes .box:hover p{
  color: #0E2431;
  transition: all 0.4s ease;
    
}
.services .boxes .box:hover .topic,
.services .boxes .box:hover p{
  color: #fff;
}
/* Contact Me CSS */
.contact{
  background: #F0F8FF;
}
.contact .content{
  margin: 0 auto;
  padding: 30px 0;
}
.contact .text{
  width: 80%;
  text-align: center;
  margin: auto;
}

/* Footer CSS */
footer{
  background: #1F618D;
  padding: 15px 0;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}
footer .text span{
  font-size: 17px;
  font-weight: 400;
  color: #fff;
}
footer .text span a{
  font-weight: 500;
  color: #FFF;
}
footer .text span a:hover{
  text-decoration: underline;
    color: #FFF;
}

footer .text span a:active{
  text-decoration: underline;
    color: #FFF;
}
footer .text span a:visited{
  text-decoration: underline;
    color: #FFF;
}
/* Scroll TO Top Button CSS */
.scroll-button a{
  position: fixed;
  bottom: 20px;
  right: 20px;
  color: #fff;
  background: #1F618D;
  padding: 7px 12px;;
  font-size: 18px;
  border-radius: 6px;
  box-shadow: rgba(0, 0, 0, 0.15);
  display: none;
}

/* Responsive Media Query */
@media (max-width: 1190px) {
  section .content{
    width: 85%;
  }
    .about-details .right{
        width: 75%;
        padding: 0 10px;
    }
    
    .about .about-details .left {
        width: 20%;
    }
    .about .left img{
        width: 280px;
    }
}

@media (max-width: 1000px) {
  .about .about-details{
    justify-content: center;
    flex-direction: column;
  }
  .about .about-details .left{
    display: flex;
    justify-content: center;
    width: 100%;
      margin-top: 15px;
  }
    
  .about-details .right{
    width: 90%;
    margin: 40px 0;
  }
  .services .boxes .box{
    margin: 20px 0;
    width: calc(100% / 2 - 20px);
  }
}
@media (max-width: 900px) {
  .about .left img{
    
    width: 280px;
  }
}

@media (max-width: 750px) {
  nav .navbar{
    width: 90%;
  }
  nav .navbar .menu{
    position: fixed;
    left: -100%;
    top: 0;
    background: #0E2431;
    height: 100vh;
    max-width: 400px;
    width: 100%;
    padding-top: 60px;
    flex-direction: column;
    align-items: center;
    transition: all 0.5s ease;
  }
  .navbar.active .menu{
    left: 0;
  }
  nav .navbar .menu a{
    font-size: 23px;
    display: block;
    color: #fff;
    margin: 10px 0;
  }
    
  nav.sticky .menu a:hover{
    color: #4070f4;
  }
  nav .navbar .media-icons{
    display: none;
  }
  nav .menu-btn,
  .navbar .menu .cancel-btn{
    display: block;
  }
  .home .text-two{
    font-size: 65px;
  }
  .home .text-three{
    font-size: 35px;
  }
  .skills .skills-details{
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }
  .skills-details .text{
    width: 100%;
    margin-bottom: 50px;
  }
  .skills-details .boxes{
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  .services .boxes .box{
    margin: 20px 0;
    width: 100%;
  }
  .contact .text{
    width: 100%;
      
      
      
}
    .home{
  height: 100vh;
  width: 100%;
  background: url(Images/law-firm-blind-lady-justice-picjumbo-com.jpg) center no-repeat;
  background-size: cover;
   
  background-attachment: fixed;
  font-family: 'Ubuntu', sans-serif;
}
    
    
}

@media (max-width: 500px){
    
    
    
    
   ¿
  .home .text-two{
    font-size: 55px;
  }
  .home .text-three{
    font-size: 33px;
  }
  .skills-details .boxes .per{
    font-size: 50px;
    color: #4070f4;
  }
}











.contact .content .map{
   text-align: center;
}


.contact .content .map iframe{
    width: 80%;
    height: 350px;
    align-content: center;
    border: 2px solid #1F618D;
    margin-bottom: 20px;
    margin-top: 50px;
}





.contact .contact-content .text{
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}



.contact  .formu .right form .fields{
    display: flex;
}
.contact .right form .field,
.contact .right form .fields .field{
    height: 45px;
    width: 100%;
    margin-bottom: 15px;
}
.contact .right form .textarea{
    height: 80px;
    width: 100%;
}
.contact .right form .name{
    margin-right: 10px;
}
.contact .right form .email{
    margin-left: 10px;  
}
.contact .right form .field input,
.contact .right form .textarea textarea{
    height: 100%;
    width: 100%;
    border: 1px solid lightgrey;
    border-radius: 4px;
    outline: none;
    padding: 0 15px;
    font-size: 17px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.contact .right form .field input:focus,
.contact .right form .textarea textarea:focus{
    border-color: #b3b3b3;
}
.contact .right form .textarea textarea{
    padding-top: 10px;
    resize: none;
}


.contact .right .checkv a{
    color: rgb(10, 86, 150) ;
    font-weight: 500;
    
    
}



.contact .right .checkv a:hover{
    
    text-decoration: underline;
      color: rgb(10, 86, 150) ;
}


.contact .right .checkv a:active{
    
   
      color: rgb(10, 86, 150) ;
}
.contact .right .checkv a:visited{
    
   
      color: rgb(10, 86, 150) ;
}



.contact .right form .button{
    height: 47px;
    width: 170px;
}
.contact .right form .button button{
    width: 100%;
    height: 100%;
    border: 2px solid #1F618D;
   
    color: #2874A6;
    outline: none;
    font-size: 20px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.contact .right form .button button:hover{
    color: #fff;
    background: #1F618D;
}


















.galeria-port{
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.imagen-port{
    width: 20%;
    height: 100px;
    margin-bottom: 10px;
    margin-top: 40px;
    margin-left: 10px;
    margin-right: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, .5);
}

.imagen-port > img{
    width: 100%;
    height:100%;
    object-fit:contain;
    display: block;
    
}

.hover-galeria{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    transform: scale(0);
    background: rgba(31, 97, 141 , 0.7);
    transition: transform .5s;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.hover-galeria img{
    width: 65px;

}

.hover-galeria p{
    color: #fff;
}

.imagen-port:hover .hover-galeria{
    transform: scale(1);
}



/*Redes Sociales*/

.sm{
    text-align: center;
    margin: 50px 0;
}

.sm a{
  margin: 0 20px;
  width: 80px;
  height: 80px;
  background-color: rgba(31, 97, 141,.1);
  display: inline-block;
  border-radius: 24px;
  box-shadow: 6px 6px 12px rgba(0,0,0,.15),
              -6px -6px 12px rgba(255,255,255,.1);
  overflow: hidden;
  font-size: 28px;
  transition: .3s linear;
  position: relative;
}

.sm a:hover{
  transform: scale(1.3);
  border-radius: 50%;
}

.sm a i::before{
  position: absolute;
  width: 100%;
  height: 100%;
  text-align: center;
  background-size: 200% 200%;
  background-position: 75% 75%;
  top: 0;
  left: 0;
  line-height: 80px;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: background .5s linear;
}

.sm a:hover i::before{
  background-position: 0% 0%;
}


.sm .fa-whatsapp::before{
  background-image: linear-gradient(135deg,#2ECC71 30%,#0a3d62 50%);

}


.sm .fa-facebook-f::before{
  background-image: linear-gradient(135deg,#3D5B99 30%,#0a3d62 50%);
}



.sm .fa-instagram::before{
  background-image: linear-gradient(135deg,#c32aa3 30%,#0a3d62 50%);
}



