
:root{

         --smokey-black: hsl(0, 0%, 7%);
         --black: #030303;
         --cream: #cb945e;
         --cream-light: #fcd9bd;
         --white: #fff;
     
         /* gradient */
         --gradient-1: linear-gradient(180deg, transparent, var(--smokey-black));
         --gradient-2: linear-gradient(180deg,var(--smokey-black) 25%,hsla(0, 0%, 0%, 0.6) 80%);
     
         /* typography */
         --ff-recoleta: "Recoleta", serif;
         --ff-gordita: "Gordita", sans-serif;

         --fs-1: 6rem;
         --fs-2: 5rem;
         --fs-3: 3.8rem;
         --fs-4: 2.8rem;
         --fs-5: 2.6rem;
         --fs-6: 2.2rem;
         --fs-7: 2rem;
         --fs-8: 1.8rem;
         --fs-9: 1.5rem;
         --fs-10: 1.4rem;
         --fs-11: 1.2rem;
     
         --fw-300: 300;
         --fw-400: 400;
         --fw-500: 500;
     
         /* spacing */
         --section-padding: 60px;
     
         /* shadow */
         --shadow: 0 12px 30px -10px hsla(0, 0%, 14%, 0.1);

         /* border radius */
        --radius-circle: 50%;
        --radius-5: 5px;
        --radius-25: 25px;

        /* transition */
        --transition-1: 0.25s ease;
        --transition-2: 0.5s ease;
        --transition-3: 1s ease;
        --cubic-in: cubic-bezier(0.51, 0.03, 0.64, 0.28);
        --cubic-out: cubic-bezier(0.33, 0.85, 0.4, 0.96);
}


/*-------------------------------------
            reset
---------------------------------------*/

*,
*::before,
*::after{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

ul{
    padding-inline: 0;
}

li{
    list-style: none;
}

a,
img,
span,
button,
ion-icon{
    display: block;
}

a{
    color: inherit;
    text-decoration: none;
}

button{
    background: none;
    border: none;
    font: inherit;
    cursor: pointer;
}

ion-icon{
    pointer-events: none;
}

address{
    font-style: normal;
}

html{
    font-family: var(--ff-recoleta);
    font-size: 10px;
    scroll-behavior: smooth;
}

body{
    background-color: var(--black);
    color: var(--white);
    font-size: 1.6rem;
    font-weight: var(--fw-400);
    line-height: 2.15;
    overflow-x: hidden;
    scroll-behavior: smooth;
}


:focus-visible {
    outline-offset: 4px;
}

::-webkit-scrollbar{
    width: 5px;
}

::-webkit-scrollbar-track{
    background-color: var(--white);
}

::-webkit-scrollbar-thumb{
    background-color: var(--cream-light);
}

/*-------------------------------------
            reused styles
---------------------------------------*/
.container{
    width: 85%;
    margin: 0 auto;
}


.section{
    padding-block: var(--section-padding);
}

main{
    overflow: hidden;
    }
article{
    overflow: hidden;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6{
    font-family: var(--ff-recoleta);
    line-height: 1.2;
}

.h1{
    font-size: var(--fs-1);
    font-weight: var(--fw-400);
}

.h2,
.h3,
.h4,
.h5,
.h6{
  font-weight: var(--fw-300);
}

.h2{
    font-size: var(--fs-2);
}

.h3{
    font-size: var(--fs-3);
}

.h4{
    font-size: var(--fs-4);
}

.h5{
    font-size: var(--fs-5);
}

.h6{
    font-size: var(--fs-6);
}


/*****************************  */

.btn_black{
    display: inline-block;
    border: 2px solid var(--black);
    width: 200px;
    margin-top: 20px;
    padding: 12px;
    position: relative;
    transition: all 0.2s ease-in-out;
    overflow: hidden;
}

.btn_black:hover{
    color: #fff;
}

.btn_black::before{
    content: '';
    position: absolute;
    width: 300px;
    height: 200px;
    border-radius: 60%;
    background: rgba(0, 0, 0, 0.5);
    top: -250px;
    left: -50px;
    transition: all 0.5s ease-in-out;  
}

.btn_black:hover::before{
    top: -100px;
    left: -50px;
}

.light{
    border-radius: 50%;
    background: radial-gradient(#d9a67371,transparent,transparent);     
    filter: blur(10px);
    z-index: -1;
}

.light-1{
    position: absolute;
    top: -250px;
    left: -250px;
    width: 700px;
    height: 750px;
}

.light-2{
    position: absolute;
    top: 200px;
    left: 600px;
    width: 700px;
    height: 750px;
    z-index: -1;
}

@media screen and (max-width: 1152px) {
    .light-2{
       display: none;
    } 
}

/**** btn form one  *********/
.btn-form-one{
    width: 300px;
    margin: 0 auto;
	position: relative;
	text-decoration: none;
	padding: 12px 32px;
	color: var(--cream-light);
	overflow: hidden;
	border: 2px solid var(--cream-light);
}

.btn-form-one::before{
content: "";
position: absolute;
bottom: 2px;
left: 2px;
width: 10px;
height: 10px;
border-bottom: 2px solid var(--cream-light);
border-left: 2px solid var(--cream-light);
}

.btn-form-one::after{
	content: "";
	position: absolute;
	top: 2px;
	right: 2px;
	width: 10px;
	height: 10px;
	border-top: 2px solid var(--cream-light);
	border-right: 2px solid var(--cream-light);
}

.btn-form-one:hover{
	background-color: var(--cream-light);
	box-shadow: 0px 0px 40px var(--cream-light);
	color: black;
	transition: all 0.3s ease-in-out 0.4s;
}

.btn-form-one:hover::before,a:hover::after{
	width: 100%;
	height: 100%;
	transition: all 0.5s ease-in-out;
}

/* ******* */
.indecate_btn{
  width: 50px;
  height: 75px;
  border: 2px solid var(--cream-light) ;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 auto;
  margin-top: 50px;
  animation: indecate 3.5s linear infinite;
}

@keyframes indecate {
    0%, 100%{
        transform: translateY(0);
    }
    50%{
        transform: translateY(50px);
    }
}

.indecate_btn i{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1.5em;
    margin-left: 10px;
}

/*********** Text animation ****************/



/*-----------------------------------*\
  #PRELOADER
\*-----------------------------------*/

.preloader{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    box-shadow: inset 55vw 0 0 0 var(--white),
                inset -55vw 0 0 0 var(--white);
    display: grid;
    place-items: center;
    z-index: 10000;
  }
  
  .preloader.loaded{
    transition: 500ms ease 600ms;
    pointer-events: none;
    box-shadow: inset 0 0 0 0 var(--white),
                inset 0 0 0 0 var(--white);
  }             
  
  
  .preloader .line_load{
    width: 1px;
    height: 100%;
    background-color: var(--black);
    transition: var(--transition-2);
    animation: loading 1000ms linear forwards;
  }
  
  @keyframes loading {
    
       0%{
          transform: scaleY(0);
       }
  
       100%{
        transform: scaleY(0.3);
       }
  }
  
  .preloader.loaded .line_load{
    animation: loaded 500ms ease forwards;
  }
  
  @keyframes loaded {
    
    0%{
      transform: scaleY(0.3);
   }
  
   100% {
    transform: scaleY(1);
    opacity: 0;
   }
  
  }
  
  

/*-------------------------------------
                header
---------------------------------------*/

.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding-block: 18px;
    transition: var(--transition-2);
    z-index: 100;
}


.header.active{
    background-color: var(--smokey-black);
    padding-block: 12px;
    box-shadow: var(--shadow);
}

.navbar-top,
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar{
    position: fixed;
    top: 0;
    right: -380px;
    transform: rotateZ(-15deg);
    background-color: var(--smokey-black);
    color: var(--cream-light);
    height: 100vh;
    max-width: 380px;
    width: 100%;
    padding: 25px;
    overflow-y: auto;
    z-index: 2;
    transition: 0.25s var(--cubic-out);
    /* transition: all 0.6s; */
    visibility: hidden;
}

.navbar.active{
    visibility: visible;
    transform: translateX(-380px) rotateZ(0);
    transition-duration: 0.5s;
}


.brand{
    font-family: var(--ff-recoleta);
    user-select: none;
}

.brand span{
    display: inline-block;
    color: #fcd9bd;
    font-size: var(--fs-6);
    user-select: none;
}

.nav-close-btn{
   width: 25px;
   height: 25px;
}

.nav-close-btn .span{
   background-color: var(--cream-light);
   width: 25px;
   height: 3px;
   border-radius: 5px;
   transition: var(--transition-1);
}

.nav-close-btn .one{
    transform: rotate(45deg) translate(2px,2px);
}

.nav-close-btn .two{
    transform: rotate(-45deg);
}

.nav-close-btn:is(:hover, :focus-visible) .span{
    background-color: var(--cream);
}

.navbar-list{
    text-align: center;
    padding-block: 40px;
}

.navbar-link{
    font-size: var(--fs-7);
    font-weight: var(--fw-400);
    padding-block: 2px;
    text-transform: capitalize;
    transition: var(--transition-1);
}

.navbar-link:is(:hover, :focus-visible){
    color: var(--cream);
}

.login-btn{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    width: 100%;
    background-color: var(--cream-light);
    color: var(--smokey-black);
    padding: 4px 30px;
    border-radius: var(--radius-5);
    margin-block-end: 50px;
}

.login-btn .span{
    font-weight: var(--fw-500);
}

.navbar-title{
    font-size: var(--fs-8);
    font-weight: var(--fw-500);
    line-height: 1;
    margin-block-end: 15px;
}

.navbar-text{
     color: var(--cream-light);
     font-weight: var(--fw-300);
     line-height: 1.6;
     margin-block-end: 15px;
}

.navbar .contact-link{
    color: var(--cream-light);
    font-size: var(--fs-6);
    font-weight: var(--fw-400);
}

.navbar .contact-link:is(:hover, :focus){
    text-decoration: underline;
}

.nav-social{
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--fs-8);
}

.overlay{
    position: fixed;
    inset: 0;
    background-color: var(--black);
    z-index: 1;
    transition: var(--transition-1);
    opacity: 0;
    pointer-events: none;
}

.overlay.active{
     opacity: 0.75;
     pointer-events: all;
}


/*-------------------------------------
            Hero section 
---------------------------------------*/

.hero{
    padding-block-start: 120px;
    text-align: center;
 }

 .hero-content{
    padding-left: 50px;
 }
 
 .hero .container{
    display: grid;
    align-items: center;
    gap: 100px;
 }

 .hero .wrapperr{
    position: relative;
    text-align: left;
    height: 1.2em;
    margin-block: 10px 25px;
}


.hero .wrapperr .strong{
    position: absolute;
    top: 0;
    left: 40%;
    transform: translateX(-40%);
    width: 300px;
    font-weight: inherit;
    display: flex;
    color: var(--cream-light);
    user-select: none;
}

.hero-title{
    user-select: none;
    color: var(--cream-light);
}

.hero-text{
    font-size: var(--fs-10);
    font-weight: var(--fw-300);
    text-transform: uppercase;
    letter-spacing: 5px;
}

.hero .wrapperr .space {
    padding: 0.1em;
}

.hero .wrapperr :is(.in,.out){
    opacity: 0;
    transform: scaleY(0);
}

.hero .strong.active .out{
    opacity: 1;
    transform: scaleY(1);
    animation: textWave 0.2s ease reverse forwards;
}

.hero .wrapperr .in{
    animation: textWave 0.2s ease forwards;
}

@keyframes textWave {
    0%{
        opacity: 0;
        transform: scaleY(0);
    }
    100%{
        opacity: 1;
        transform: scaleY(1);
    }
}


@media screen and (min-width: 575px) {
    
    :root{
        --section-padding: 80px;
    }

}

@media screen and (min-width: 768px){
 
    :root{
        --fs-3: 4.5rem;
    }

} 

@media screen and (min-width: 992px){
  
    :root{
       --fs-1: 8rem;
    }

    .hero {
      padding-block-start: 150px;
    }

    .hero .container{
       position: relative;
       z-index: 1;
    }

    .hero-title{
      text-align: left;
    }

    .hero .wrapperr{
      --fs-2: 8rem;
      margin-block: -5px 10px;
    }

}

@media screen and (min-width: 1400px){

    :root{
       --fs-1: 12rem;
       --fs-2: 10rem;
       --fs-3: 8rem;
    }
}

@media screen and (max-width: 500px){
    
    .hero-content .strong{
        font-size: 4rem;
    }
}

@media screen and (max-width: 700px){
    .circle-1{
        top: -25%;
        left: -35%;
        width: 600px;
        height: 650px;
    }

}

@media screen and (max-width: 1080px){

    .hero .container{
        grid-template-columns: 1fr;
        place-items: center;
        gap: 0;
     }
} 


/*---------------------------------------------------
            Hero section part two 
----------------------------------------------------*/
.hero_two {
    position: relative;
}

.hero_two .hero_two_container{
    display: grid; 
    grid-template-columns: 0.5fr 1.2fr 0.3fr;
    place-content: center; 
    gap: 100px;
    font-family: var(--ff-recoleta);
}

.hero_two-left{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero_two-left-content h1{
    margin-bottom: 10px;
    font-size: 3rem;
    color: var(--cream-light);
}

.hero_two-left-content p{
    color: var(--cream-light);
}

.hero_two-left ul li{
    margin-bottom: 30px;
    position: relative;
    transition: var(--transition-3);
}


.hero_two-left ul li::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--cream);
}

.hero_two-left ul li a{
    color: var(--cream-light);
    transition: var(--transition-3);
}

.hero_two-left ul li a i{
    margin-right: 10px;
    font-size: 2rem;
    transition: var(--transition-3);
}

.hero_two-left ul li:hover i{
    margin-right: 20px;
}

.hero_two-mid{
    text-align: center;
    padding-left: 50px;
    position: relative;
}


.hero_two-mid img{
    width: 70%;
    height: 100%;
    object-fit: cover;
}

.hero_two-mid-btn{
    display: flex;
    flex-direction: column;
    color: var(--white);
    font-size: 2rem;
    width: 90px;
    height: 90px;
    border-radius: 100%;
    background-color: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 20%;
    right: 10%;
    border: 1px solid var(--cream);
    transition: var(--transition-2);
    padding: 10px;
}

.hero_two-mid-btn:hover{
    box-shadow: 0px 3px 8px 8px rgba(196, 143, 89, 0.5);
    transform: scale(1.1);
}

.hero_two-mid-btn i{
    font-size: 1.5rem;
    color: var(--smokey-black);
    color: #fff;
}


.hero_two-right{
 display: flex;
 flex-direction: column;
 justify-content: space-between;
}

.hero_two-right-content{
    text-align: center;
}

.hero_two-right-content p{
    color: var(--cream-light);
    font-size: 5rem;
}

.hero_two-right-content span{
    color: var(--cream);
}


@media screen and (max-width: 1300px){
    .hero_two-mid img{
        width: 100%;
    }

    .hero_two-mid-btn{
        bottom: 20%;
        right: -5%;
    }
}


@media screen and (max-width: 1150px){

    .hero_two .hero_two_container{
        grid-template-columns: 1fr;
    }

    .hero_two-mid{
        padding-left: 200px;
    }

    .hero_two-mid img{
        width: 75%;
        transform: rotate(0deg);
    }

    .hero_two-mid-btn{
        position: relative;
        bottom: 40%;
    }

    .hero_two-right-content{
        margin-bottom: 50px;
    }
}

@media screen and (max-width: 700px){
    .hero_two-mid{
        padding-left: 40px;
    }
    .hero_two-mid img{
        width: 90%;
    }
}


@media screen and (max-width: 500px){
.hero_two-mid-btn{
    position: relative;
    bottom: 120%;
}
}


/*---------------------------------------------------
                    NAVAR 
----------------------------------------------------*/

.hero-navar{
    margin-top: 50px;
    border-top: 2px solid var(--cream-light);
    border-bottom: 2px solid var(--cream-light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-block: 20px;
    padding-inline: 16px;
    gap: 20px;
    color: var(--cream-light);
    font-family: var(--ff-recoleta);
}

.hero-navar marquee{
    font-size: 3.5rem;
}

.hero-navar marquee i{
    margin-right: 20px;
    margin-left: 20px;
}



@media screen and (max-width: 750px) {
    .hero-navar marquee{
        font-size: 3rem;
    }
}


/*---------------------------------------------------
                      ABOUT 
----------------------------------------------------*/
.about{
  margin-top: 100px;
  background-color: #0e0e0e;
  color: var(--black);
  font-family: var(--ff-recoleta);
}

.sub-title-about{
    font-size: 2em;
}

.profile-img-about img{
    width: 100%;
    object-fit: cover;
}

.profile-description-about > div{
   background-image: linear-gradient(120deg, var(--cream-light), var(--cream)) ;
   padding: 2em;
   padding-top: 2.6em;
   display: flex;
   justify-content: center;
   align-items: center;
}

.hero_about .profile-description-about, .hero_about p{
    color: var(--smokey-black)
}


.profile-description-about .btn-form-one{
    display: inline-block;
    margin-top: 2em;
    margin-bottom: 1em;
    text-align: center;
    float: right;
}

@media screen and (min-width: 880px){
    
    .hero_about{
       display: grid;
       grid-template-columns: 2fr 3fr;
       min-height: 40em;
    }

    .profile-img-about, .profile-description-about{
       position: relative;
    }

    .profile-img-about img{
       position: absolute;
       top: 0;
       left: 0;
       width: 90%;
       height: 90%;
       object-fit: cover;
    }

    .profile-description-about > div{
       width: 100%;
       height: 70%;
       position: absolute;
       top: 10%;
       left: -8vw;
    }

    .profile-img-about::before,
    .profile-img-about::after{
       content: "";
       position: absolute;
       bottom: 1em;
       right: 0;
       background-color: var(--cream);
    }

    .profile-img-about::before{
       width: 2em;
       height: 20vw;
    }

    .profile-img-about::after{
       width: 20vw;
       height: 2em;
    }
}



/*---------------------------------------------------
                      portfolio 
----------------------------------------------------*/
.portfolio{
 color: var(--cream-light);
 margin-top: 100px;
}

.tab-container{
    border: 1px solid var(--cream-light);
    color: var(--cream-light);
}

.tab-btn{
    width: 100%;
    padding-block: 16px;
    border-block-end: 1px solid var(--cream-light);
    transition: var(--transition-1);
    color: var(--cream-light);
  }

  .tab-btn:is(:hover, :focus-visible, .active){
    background: var(--cream);
}

.tab-content{
    display: none;
    padding: 30px;
 }
 
 .tab-content.active{
   display: block;
   animation: fade 500ms linear forwards;
 }
 
 @keyframes fade {
    0%{opacity: 0;}
    100%{opacity: 1;}
 }

/***** Education  ******/
 .education_group{
   margin-bottom: 50px;
   padding-bottom: 50px;
   border-bottom: 1px solid var(--cream-light);
 }

 .education_group:last-child{
    border-bottom: none;
 }

 .education_sub_title{
    font-size: 14px;
    margin-top: -5px;
 }

 .education_date_place{
    width: 45%;
    display: flex;
    justify-content: space-between;
    align-items: center;
 }

/***** Skills  ******/
 .skill-list{
     margin-top: 50px;
 }

 .skill-list{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 70px;
 }

.progress-bar{
    background-color: var(--cream);
    height: 4px;
}

.progress-fill{
    background-color: var(--cream-light);
    height: 100%;
}


/***** projects  ******/
.projects_container{
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 50px;
}

.project_card{
    background-color: var(--smokey-black);
    padding: 16px;
    border-radius: 30px;
    box-shadow: 0 1px 2px 3px var(--cream-light);
}

/* .project_indicator{
    grid-column: span 2;
} */

.project_indicator{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 20px;
}

.project_indicator:hover i{
    margin-left: 20px;
    transition: all 0.3s;
}

.project_indicator h2{
  font-size: 35px;
}

.project_explore_btn i{
   font-size: 25px;
}

.project_btn{
    width: 50px;
    height: 50px;
    margin-left: auto;
    border-radius: 50%;
    color: var(--white);
    background-color: var(--cream-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s;
}

.project_btn:hover{
    transform: scale(1.1);
}

.project-image-container{
    width: 100%;
    height: 40%;
}

.project-image-container img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
}

.project-card-content{
    padding-top: 10px;
    padding-left: 10px;
    padding-bottom: 22px;
    color: var(--white);
}

.project-card-content h3{
    font-weight: bold;
    font-size: 2.5rem;
}

/* clients */
.clients-container{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    row-gap: 100px;
    column-gap: 100px;
}

.client-card{
    flex: 1;
    width: 200px;
    text-align: center;
}

.client-card img{
    width: 100%;
    height: 150px;
    object-fit: cover;
    margin: 0 auto;
}


@media screen and (max-width: 1450px) {
    .project_btn{
        margin-bottom: 80px;
    }
}


@media screen and (max-width: 1130px) {
    .projects_container{
        grid-template-columns: repeat(2,1fr);
      }
}

@media screen and (max-width: 1130px) {
    .projects_container{
        grid-template-columns: 1fr;
      }
      .project_indicator{
           grid-column: span 1;
      }
}

@media screen and (max-width: 750px) {

    .skill-list{
        grid-template-columns: 1fr;
    }
}


@media screen and (min-width: 575px){
   
    .tab-btn-list{
       display: flex;
       flex-wrap: wrap;
    }

    .tab-btn-item{
      width: 50%;
      flex-grow: 1;
    }

    .tab-btn-item:nth-child(2n){
       border-inline-start: 1px solid var(--border-eerie-black);
    }

    .tab-content{
      padding: 40px;
    }
}

@media screen and (min-width: 768px){

    .tab-btn-item{
     width: 20%;
    }

    .tab-btn-item:not(:last-child){
       border-inline-end: 1px solid var(--border-eerie-black);
    }

}

@media screen and (min-width: 1200px){

    .tab-content{
       padding: 60px;
    }
}

/*---------------------------------------------------
                     video section 
----------------------------------------------------*/

.video_home{
    overflow: hidden;
}

.video_home .container{
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 50px;
}

.video_first_container{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
}

.video_first_container p{
    color: var(--cream-light);
}

.video_first_container_img{
    height: 450px;
}

.video_first_container_img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.home_video_heading{
    font-size: 3.5rem;
    color: var(--cream-light);
}

.services_container{
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
}

.service_box{
   text-align: center;
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   background-color: var(--smokey-black);
   padding: 20px;
   width: 250px;
   border-radius: 10px;
   transition: all 0.4s ease-in-out;
}

.service_box:hover img{
    transition: all 0.4s ease-in-out;
    transform: scale(1.1);
}

.service_box p{
  color: var(--cream-light);
}

.service_box img{
  width: 50px;
}

.video_second_container{
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.video-wrapper {
    width: 100%;
    height: 40rem;
    box-shadow: 5rem 6rem 6rem rgba(0, 0, 0, 0.9);
}

.video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    transition: opacity 0.3s;
}

.buttons {
    padding: 2rem 1rem 1rem 1rem;
}
  
.buttons button {
    background: none;
    border: none;
    cursor: pointer;
}
  
.buttons i {
    width: 3rem;
    height: 3rem;
    font-size: 2.8rem;
    color: #fff;
}

.controls {
    width: 100%;
    position: absolute;
    bottom: 60px;
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(calc(100% - 0.4rem));
    transition: transform 0.4s;
  }

  .video-bar-wrapper {
    width: 100%;
    height: 0.7rem;
    background-color: #000;
    position: absolute;
    top: 0;
    left: 0;
  }

  .video-bar {
    height: 100%;
    width: 0;
    background-color: #d30819;
    transition: width 0.2s linear;
  }

  @media screen and (max-width: 1510px){
    .video_home .container{
        grid-template-columns: 1fr 1fr;
    }
    .services_container{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 10px;
    } 
    .service_box{
        width: 48%;
     }

     .video_first_container_img{
        height: 500px;
     }
  }

  @media screen and (max-width: 1100px){
        .video_home .container{
            grid-template-columns: 1fr;
        }
    }
  
  @media screen and (max-width: 440px){
      .service_box{
          width: 100%;
        }
    }

/*---------------------------------------------------
                     blogs section 
----------------------------------------------------*/

.blogs{
    position: relative;
}



.blogs_section_title{
    color: var(--cream-light);
    font-size: 3rem;
}

.blogs_section_text{
    color: var(--cream-light);
    font-size: 18px;
}

.blogs_container{
    display: grid;
    gap: 20px;
    margin-top: 50px;
}

.blog_card{
    position: relative;
    border-radius: 10px;
    border: 1px solid transparent;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
}

.blog_card:hover{
    border-color: var(--cream-light);
}

.blog_btn{
    position: absolute;
    top: 0;
    right: -40%;
    background-color: rgba(196, 143, 89, 0.6);
    width: 40%;
    padding: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    text-align: center;
    transition: all 0.3s ease-in-out;
}

.blog_card:hover .blog_btn{
    right: 0;
} 

.blogs_left_part .blog_card{
    height: 100%;
}

.blog_card_content{
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 16px;
    background-color: rgba(0, 0, 0, 0.6);
    width: 100%;
    color: var(--cream-light);
}

.blog_card img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.more_blogs_btn{
    display: inline-block;
    margin: 0 auto;
    font-size: 50px;
    font-weight: 300;
    margin-top: 30px;
    color: var(--cream-light);
    transition: all 0.3s ease-in-out;
}

.more_blogs_btn:hover i{
    transition: all 0.3s ease-in-out;
}

.more_blogs_btn:hover i{
  transform: translateX(20px);
}


@media screen and (max-width: 1140px){

    .blog_cart_title{
        font-size: 16px;
    }
    
    .blog_card_content p{
        font-size: 14px;
    }
}

@media screen and (min-width: 900px){  
       
    .blogs_container{
        display: grid;
        grid-template-columns: repeat(5,1fr);
        grid-template-rows: repeat(5,1fr);
        gap: 1.5em;
    }

    .blog_card_1{
     grid-area: 1 / 1 / 3 / 3;
    }

    .blog_card_2{
     grid-area: 4 / 3 / 6 / 6;
    }

    .blog_card_3{
     grid-area: 1 / 3 / 4 / 5;
    }

    .blog_card_4{
     grid-area: 1 / 5 / 4 / 6;
    }

    .blog_card_5{
     grid-area: 3 / 1 / 6 / 3;
    }
}


/* @media screen and (max-width: 1060px){
    .blogs_container{
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 50px;
    }
} */

@media screen and (max-width: 650px){
    .blog_card_content p{
        display: none;
    }
}


/*---------------------------------------------------
                     testimonials section 
----------------------------------------------------*/
.testimonials{
  background-color: #0e0e0e;
}

.testi{
    margin: 0 auto;
}

.testi .head{
    text-align: left;
    margin-bottom: 60px;
    color: var(--cream-light);
}

.testi .head h3{
    font-size: 34px;
    font-weight: 800;
}

.testi .wrapper{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    padding: 30px 0;
}


.testi .thumbnail{
    width: 150px;
    height: 150px;
    position: relative;
    flex-shrink: 0;
}

.testi .thumbnail img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transform: scale(2);
    transition: transform 0.5s;
}

.testi .swiper-slide-active .thumbnail img{
    transform: scale(1);
}

.testi .thumbnail::before{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: calc(100% + 30px);
    height: calc(100% + 10px);
    background-color: var(--cream-light);
    border-radius: 50%;
    z-index: -1;
    box-shadow: rgb(0 0 2 / 35%) 0px 20px 30px -10px;
    transition: border-radius 0.5s 0.3s;
}

.testi .swiper-slide-active .thumbnail::before{
    border-radius: 33% 67% 50% 50% / 50% 14% 86% 50%;
}

.testi .aside{
    position: relative;
    color: var(--cream-light);
    padding-top: 15px;
    display: flex;
    flex-direction: column;
    align-self: flex-end;
}

.testi .aside > p{
    position: relative;
    font-size: 16px;
    line-height: normal;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateX(10%);
    transition: transform 1s, opacity 1s;
}

.testi .swiper-slide-active .aside > p{
    transform: translateX(0);
    opacity: 1;
} 

.testi .aside > p::before,
.testi .aside > p::after{
  font-size: 80px;
  font-weight: 800;
  line-height: 1;
  position: absolute;
  color: #ced6e0;
  height: 40px;
  z-index: -1;
}

.testi .aside > p::before{
    content: open-quote;
    color: var(--cream-light);
    top: -40px;
    left: 10px;
}

.testi .aside > p::after{
    content: close-quote;
    color: var(--cream-light);
    right: 0;
}

.testi .aside .name{
    position: relative;
    width: fit-content;
    line-height: 1;
    opacity: 0;
    transform: translateX(30px);
    transition: transform 1s 0.2s, opacity 1s 0.3s;
}

.testi .swiper-slide-active .name{
    transform: translateX(0);
    opacity: 1;
}

.testi .aside .name h4{
    font-size: 22px;
    font-weight: 800;
    color: var(--cream-light);
    opacity: 0.8;
}

.testi .aside .name p{
    font-size: 12px;
    text-align: right; 
}


/* slide */

.testi :is(.swiper-button-next,.swiper-button-prev){
    background-color: var(--cream-light);
    color: var(--smokey-black);
    top: 35%;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    transition: background-color 0.3s;
    box-shadow: rgb(0 0 2 / 35%) 0px 20px 30px -10px;;
}

.testi :is(.swiper-button-next,.swiper-button-prev):hover{
    background-color: var(--cream);
    color: var(--cream-light);
}

.testi :is(.swiper-button-next,.swiper-button-prev)::after{
    font-size: 16px;
    font-weight: 800;
    color: var(--white-color);
}

.testi .swiper-pagination{
    position: relative;
}

.testi .swiper-pagination span{
 background-color: var(--cream-light);
 transition: width 0.3s;
 opacity: 1;
}

.testi .swiper-pagination .swiper-pagination-bullet-active{
    width: 26px;
    border-radius: 4px;
    background-color: var(--cream-light);
}



@media screen and (min-width: 768px){
    
     .testi .wrapper{
        flex-direction: row;
        padding: 30px 100px;
     }

     .testi .thumbnail{
        width: 200px;
        height: 200px;
    }

    .testi :is(.swiper-button-next,.swiper-button-prev){
        top: 50%;
    }
}


/*---------------------------------------------------
                subscribe section 
----------------------------------------------------*/
.subscribe{
    position: relative;
    overflow: hidden;
}

.subscribe_container{
    border-radius: 10px;
    text-align: center;
    padding: 32px;
    color: var(--cream-light);
    text-align: center;
    border: 1px solid var(--cream-light);
    z-index: 3;
}

.subscribe_container h2{
    font-weight: 400;
    font-size: 3.5rem;
}

.subscribe_container input{
    width: 400px;
    padding: 8px;
    background: none;
    outline: none;
    border: none;
    margin-bottom: 30px;
    margin-top: 30px;
    border-bottom: 2px solid var(--cream-light);
    font-size: 16px;
    color: var(--cream-light);
    transition: all 0.3s ease-in-out;
}

.subscribe_container input:focus{
    width: 450px;
}

.subs_btn{
    background-color: var(--cream-light);
    width: 400px;
    padding: 8px;
    border-radius: 20px;
    margin: 0 auto;
    transition: all 0.3s ease-in-out;
}

.subs_btn:hover{
    transform: scale(1.1);
}

@media screen and (max-width: 650px) {
    .subscribe_container h2{
        font-size: 2.5rem;
    }

    .subs_btn{
        width: 300px;
    }

    .subscribe_container input{
        width: 300px;
    }
    
    .subscribe_container input:focus{
        width: 350px;
    }
    
}

@media screen and (max-width: 400px) {
    .subscribe_container h2{
        font-size: 2rem;
    }

    .subs_btn{
        width: 200px;
    }

    .subscribe_container input{
        width: 200px;
    }
    
    .subscribe_container input:focus{
        width: 300px;
    }
}


/*---------------------------------------------------
                contact section 
----------------------------------------------------*/
.contact{
    height: 120vh;
    background-image: url('../images/contact_bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    text-align: center;
}

.contact h2{
    font-size: 3.5rem;
    color: var(--cream-light);
    padding-top: 100px;
    font-weight: 500;
}

.contact_container{
    background-color: #000;
    margin-top: 250px;
    box-shadow: 0 3px 3px 3px rgba(0, 0, 0, 0.6);
}

.contact_container{
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
}

.contact_right{
    background-image: url('../images/pattern.jpg');
    background-size: cover;
    background-position: center;
}

.contact_left{
    padding: 16px 32px;
}

.contact_left h2,
.contact_right h2{
    font-size: 4rem;
}

.contact_left p{
    color: var(--cream-light);
    margin-bottom: 20px;
}

.form_group{
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
}
.contact_left input,
.contact_left textarea{
    width: 100%;
    padding: 16px;
    outline: none;
    background: none;
    border: none;
    background-color: var(--smokey-black);
    border: 1px solid #c3c1c1;
    transition: all 0.4s ease-in-out;
    color: var(--cream-light);
    font-family: var(--ff-recoleta);
}

.contact_left input:focus,
.contact_left textarea:focus{
    border-color: var(--cream);
}

.contact_left textarea{
    resize: none;
}

.contact_left ::placeholder{
    color: #fff;
    font-size: 16px;
}

.contact_btn{
    background-color: var(--cream-light);
    width: 100%;
    padding: 8px;
    transition: all 0.3s ease-in-out;
}

.contact_btn:hover{
    background-color: #fdc79a;
}

.contact_right p{
 font-size: 2rem;
}

.contact_num{
    display: inline-block;
    font-size: 2.4rem;
    color: var(--cream-light);
    position: relative;
    transition: all 0.3s ease-in-out;
}

.contact_num::before{
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    background: var(--cream-light);
    bottom: 0;
    transition: all 0.3s ease-in-out;
}
.contact_num::after{
    content: '';
    position: absolute;
    width: 0;
    height: 1px !important;
    background: var(--cream-light);
    bottom: -10px;
    left: 0;
    transition: all 0.3s ease-in-out;
}

.contact_num:hover::before,
.contact_num:hover::after{
    width: 100%;
}

.contact_right ul{
    display: flex;
    flex-direction: column;
}

.contact_right ul li{
    margin-bottom: 10px;
    display: inline-block;
}

.contact_right ul li a i{
    font-size: 2.3rem;
    color: var(--cream-light);
}

@media screen and (max-width: 890px) {
    .contact h2{
        font-size: 4.5rem;
    }

    .contact_container{
        grid-template-columns: 1fr;
    }

    .contact_right ul{
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 20px;
    }
}

@media screen and (max-width: 650px){
    .form_group{
        display: block;
    }

    .contact h2{
        font-size: 3rem;
    }

    .contact_container{
        margin-top: 200px;
    }
}

/*---------------------------------------------------
                strength section 
----------------------------------------------------*/
.strength{
    margin-top: 480px;
    text-align: center;
}

.strength_title_one{
    display: inline-block;
    font-weight: 300;
    color: var(--cream-light);
    position: relative;
}

.strength_title_one::after{
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background: var(--cream-light);
    bottom: 0;
    left: 0;
}

.strength_title_one::before{
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background: var(--cream-light);
    bottom: -10px;
    left: 0;
}

.strength_title_two{
    margin-top: 20px;
    font-size: 3.5rem;
    font-weight: 400;
    letter-spacing: 2px;
}

.strength_container{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
    gap: 30px;
    margin-top: 40px;
}

.strength_card{
    height: 415px;
    perspective: 1000px;
}

.strength_card_inner{
   width: 100%;
   height: 100%;
   position: relative;
   transition: transform 1s;
   transform-style: preserve-3d;
}

.strength_card_front,
.strength_card_back{
   width: 100%;
   height: 100%;
   border-radius: 15px;
   position: absolute;
   backface-visibility: hidden;
   box-shadow: 2rem 3rem 3rem hsl(0, 0%, 4%);
}

.strength_card_front{
   background-image: url(images/user.png);
   background-size: cover;
   background-position: center;
   display: flex;
   flex-direction: column;
   justify-content: center;
   color: #fff;
}

.strength_card_front i{
    font-size: 3.5rem;
    color: var(--cream-light);
}

.strength_card_front h3{
    margin-top: 2rem;
    color: var(--cream-light);
    font-size: 2rem;
}

.strength_card_front p{
    width: 200px;
    margin: 0 auto;
    margin-top: 5rem;
    border: 1px solid var(--cream-light);
    padding: 12px;
    border-radius: 20px;
    color: var(--cream-light);
}

.strength_card_back{
   background: var(--cream-light);
   color: #000;
   padding: 20px 40px;
   display: flex;
   align-items: center;
   justify-content: center;
   transform: rotateY(180deg);
}

.strength_card:hover .strength_card_inner{
   transform: rotateY(180deg);
}


@media screen and (max-width: 1400px) {
    .strength_container{
        grid-template-columns: repeat(2,1fr);
    }
}

@media screen and (max-width: 890px) {
    .strength{
        margin-top: 1300px;
    }
}

@media screen and (max-width: 747px) {
    .strength{
        margin-top: 1400px;
    }
}

@media screen and (max-width: 667px) {
    .strength{
        margin-top: 1550px;
    }
}

@media screen and (max-width: 650px) {
    .strength{
        margin-top: 900px;
    }
}

@media screen and (max-width: 565px) {
    .strength_container{
        grid-template-columns: 1fr;
    }
    .strength{
        margin-top: 1000px;
    }
}

@media screen and (max-width: 498px) {
    .strength{
        margin-top: 1200px;
    }
}

@media screen and (max-width: 385px) {
    .strength{
        margin-top: 1400px;
    }
}
@media screen and (max-width: 345px) {
    .strength{
        margin-top: 1600px;
    }
}


/*---------------------------------------------------
                footer section 
----------------------------------------------------*/
.footer{
    background-color: var(--smokey-black);
    width: 100%;
}

.footer .container{
    border-right: 1px solid var(--cream-light);
    border-left: 1px solid var(--cream-light);
    height: 100%;
    padding-block: 1rem;
}

.footer_container_up{
    display: grid;
    grid-template-columns: repeat(2,1fr);
}

.footer_left ul{
    display: flex;
    flex-direction: column;
}

.footer_left ul li{
    padding-block: 1rem;
    width: 60%;
    transition: all 0.4s ease-in-out;
}

.footer_left ul li a{
    display: inline-block;
    width: 100%;
    font-size: 2.5rem;
    padding-left: 10px;
    position: relative;
 }
 
.footer_left ul li a::before{
   content: "";
   position: absolute;
   left: 0;
   bottom: -5px;
   height: 0.01rem;
   background-color: var(--cream-light);
   width: 100%;
   transition: all 0.4s ease-in-out;
}

.footer_left ul li a:hover::before{
    width: 115%;
}

.footer_right{
    display: flex;
    flex-direction: column;
   justify-content: space-between;
}

.footer_right_up{
    display: flex;
    flex-direction: column;
    justify-items: flex-start;
    align-items: flex-start;
}

.footer_right_up img{
    width: 60px;
}

.brand_text{
    margin-top: -10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
}

.brand_text span{
    color: var(--cream-light);
    margin-right: 5px;
    font-size: 2.5rem;
}

.footer_right_down{
    padding-bottom: 20px;
}

.footer_right_down a{
    width: 40%;
    padding-block: 10px;
    transition: all 0.4s ease-in-out;
}

.footer_right_down a:hover{
    color: var(--cream-light);
    letter-spacing: 1px;
}

.footer_right_down i{
    color: var(--cream-light);
    font-size: 2rem;
    margin-right: 10px;
}

.footer_last_part{
    background-color: #1a1818;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
}

.footer_last_part p{
    color: #c0b9b9;
}

.footer_social_medias{
    display: flex;
    gap: 20px;
}


@media screen and (max-width: 1340px) {
    .footer_right_down a{
        width: 70%;
    }
}


@media screen and (max-width: 770px) {
    .footer_right_down a{
        width: 100%;
    }
}
@media screen and (max-width: 560px) {
    .footer_container_up{
        grid-template-columns: 1fr;
        gap: 50px;
    } 
}
@media screen and (max-width: 390px) {
    .footer_last_part p{
        font-size: 10px;
    }
}

/* **************** blogs Page   ********************/
.blogs_page_container{
    display: grid;
    gap: 1.5em;
}

.blogsPage{
    margin-top: 80px;
}

.blog_template{
    background: var(--smokey-black);
    border: 2px solid var(--cream-light);
    border-top-left-radius: 100px;
    border-bottom-right-radius: 100px;
    margin-top: 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.blogs_page_btn{
    position: absolute;
    top: 0;
    right: -42%;
    background-color: rgba(196, 143, 89, 0.5);
    width: 40%;
    text-align: center;
    padding: 8px;
    transition: all 0.3s ease-in-out;
}

.blog_template:hover .blogs_page_btn {
    right: 0;
}


.blog_template_content{
    padding: 16px
}

.blog_template_content h2{
    color: var(--cream-light);
    font-weight: 400;
    font-size: 3rem;
}

.blog_template_content-detail{
    display: flex;
    gap: 15px;
    font-style: italic;
    font-size: 14px;
    margin-top: -10px;
}

.blog_template_content-detail i{
    margin-right: 5px;
}

.blog_template_content p{
    width: 95%;
    margin-top: 20px;
}


/******* right blog ********/
.blog_template img{
  width: 100%;
  height: 40%;
  object-fit: cover;
  border-top-left-radius: 100px;
}

.blog_template_content h2{
    color: var(--cream-light);
    font-weight: 400;
    font-size: 2rem;
}

.blog_template_content-detail{
    font-size: 12px;
}

.blog_template_content p{
    width: 95%;
    margin-top: 20px;
}

@media screen and (min-width: 900px){  
       
    .blogs_page_container{
        display: grid;
        grid-template-columns: repeat(7,1fr);
        gap: 1.5em;
    }

    .blog_template_1{
     grid-area: 1 / 1 / span 2 / span 3;
    }

    .blog_template_2{
     grid-area: 1 / 4 / span 3 / span 2;
    }

    .blog_template_3{
     grid-area: 1 / 6 / span 1 / span 2;
    }

    .blog_template_4{
     grid-area: 3 / 1 / span 3 / span 3;
    }

    .blog_template_5{
     grid-area: 2 / 6 / span 3 / span 2;
    }


    /* .blog_template_1{
     grid-area: 1 / 1 / span 2 / span 3;
    }

    .blog_template_2{
     grid-area: 3 / 1 / span 2 / span 3;
    }

    .blog_template_3{
     grid-area: 1 / 4 / span 1 / span 2;
    }

    .blog_template_4{
     grid-area: 2 / 4 / span 1 / span 2;
    }

    .blog_template_5{
     grid-area: 4 / 4 / span 1 / span 2;
    } */
}



/* **************** blog single Page   ********************/
.blog_single_page{
    margin-top: 80px;
}

.single_blog_up{
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
}

.single_blog_up-left h1{
    font-size: 35px;
    color: var(--cream-light);
    line-height: 1.2;
    margin-bottom: 20px;
}

.single_blog_up-left i{
   color: var(--cream-light);
   margin-right: 10px;
}

.single_blog_up-right{
    height: 550px;
}

.box_blog{
    width: 90%;
    height: 100%;
    position: relative;
    border-radius: 10px;
    box-shadow: 1px 2px 2px 2px rgba(114, 114, 114, 0.2),
                -1px 2px 2px 2px rgba(114, 114, 114, 0.2);
    border-radius: 20px;
}
.box_blog .left_box_blog,
.box_blog .right_box_blog{
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
	background-image: url('../images/blog-2.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 20px;
}
.box_blog .left_box_blog{
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0% 100%);
}
.box_blog .right_box_blog .content_box_blog{
    width: 50%;
}
.box_blog .right_box_blog{
    padding-inline: 10px;
    font-family: var(--ff-recoleta);
    font-weight: 700;
    font-size: 35px;
    -webkit-background-clip: text;
	color: transparent;
    box-sizing: border-box;
    display: flex;
    justify-content: right;
    align-items: center;
    line-height: 65px;
    text-transform: uppercase;
    text-align: center;
}

@media screen and (max-width: 1090px) {
    .box_blog .right_box_blog{
        font-size: 30px;
    }
}

@media screen and (max-width: 980px) {
    .box_blog .right_box_blog{
        font-size: 20px;
    }
}

@media screen and (max-width: 890px){
   
    .single_blog_up{
        display: grid;
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .box_blog .right_box_blog{
        font-size: 35px;
    }

}

@media screen and (max-width: 640px){
   
    .box_blog .right_box_blog{
        font-size: 25px;
    }
}


/******* middle design  **********/
.single_blog_mid{
    margin-top: 50px;
}

.single_blog_mid h2{
  color: var(--cream-light);
  font-size: 30px;
}

.single_blog_mid p{
    font-size: 18px;
}

.single_blog_mid img{
    width: 100%;
    border-radius: 10px;
    height: 500px;
    object-fit: cover;
    margin-top: 50px;
}


/******* down design  **********/
.single_blog_down{
    display: grid;
    grid-template-columns: 1.6fr 0.4fr;
    gap: 30px;
}

.single_blog_down{
  margin-top: 80px;
}

.single_blog_down-left h3{
    color: var(--cream-light);
}

.single_blog_down-left p{
    margin-bottom: 30px;
}

.single_blog_down-right{
    border-left: 1px solid var(--cream-light);
    padding-left: 30px;
}

.single_blog_down-right h3{
 color: var(--cream-light);
 font-size: 30px;
 margin-bottom: 30px;
}

.single_blog_down-right a{
    margin-bottom: 20px;
}

.other_blog_card{
    transition: all 0.3s ease-in-out;
}

.other_blog_card img{
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.other_blog_card:hover h4{
    text-decoration: underline;
}

.tag_section h2{
    color: var(--cream-light);
    text-decoration: underline;
} 

.tag_container{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.blog_tag{
    background-color: var(--cream);
    padding: 4px 16px;
    text-align: center;
    border-radius: 15px; 
}


@media screen and (max-width: 1020px){
    .single_blog_up-left h1{
        font-size: 25px;
    }
}


@media screen and (max-width: 910px){
    
    .single_blog_up-left h1{
        font-size: 20px;
    }

    .single_blog_down-right h3{
        font-size: 20px;
       }
}


@media screen and (max-width: 710px){
    
    .other_blog_card h4{
        font-size: 14px;
    }
}


@media screen and (max-width: 690px){

    .single_blog_down{
        grid-template-columns: 1fr;
    }
    
   .single_blog_down-right{
    display: none;
   }
}


@media screen and (max-width: 600px){
   
    .single_blog_up{
        display: grid;
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .single_blog_up-right img{
        width: 100%;
    }
}


/*---------------------------------------------------
                Project Page 
----------------------------------------------------*/

.project_page_container{
    margin-top: 80px;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    align-items: center;
    justify-content: center;
    gap: 80px;
}

.project_page_card{
    text-align: center;
    transition: all 0.4s;
}


.project_page_card img{
    width: 100%;
    transition: all 0.4s;
}

.project_page_card img:hover{
    transform: scale(1.2);
}

.project_page_card h3{
    color: var(--cream-light);
}

@media screen and (max-width: 830px){
    .project_page_container{
        grid-template-columns: repeat(2,1fr);
    }
}


@media screen and (max-width: 495px){
    .project_page_container{
        grid-template-columns: 1fr;
    }
}


/*---------------------------------------------------
                single project page 
----------------------------------------------------*/

.single_project_container{
    display: grid;
    grid-template-columns: 1fr 0.8fr 1fr;
    gap: 20px;
}

.single_projec_part_left{
    /* border: 1px solid red; */
}

.single_projec_part_mid{
    /* border: 1px solid red; */
}

.single_projec_part_right{
    /* border: 1px solid red; */
}

.single_projec_part_mid img{
   width: 100%;
}

.single_projec_part_left h1{
    font-size: 25px;
    color: var(--cream-light);
}

.single_projec_part_right video{
    margin-top: 40px;
    width: 100%;
    border-radius: 30px;
}

.single_projec_part_left_content{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 10px;
}

.single_projec_part_left_content img{
    width: 100%;
}


@media screen and (max-width: 1350px) {
    .single_projec_part_left_content{
        grid-template-columns: 1fr;
    } 

    .single_projec_part_left_content img{
        width: 100%;
        height: 300px;
        object-fit: cover;
    }

    .single_projec_part_mid img{
        width: 100%;
        height: 100%;
        object-fit: contain;
     }
}


@media screen and (max-width: 1186px) {
    .single_project_container{
        grid-template-columns: 1fr;
    }
    .single_projec_part_left_content{
        grid-template-columns: repeat(2,1fr);
    } 

    .single_projec_part_left_content img{
        width: 100%;
        height: 300px;
        object-fit: contain;
    }
}



/*---------------------------------------------------
                Back to Top Btn 
----------------------------------------------------*/
.back-to-top-btn{
    position: fixed;
    bottom: 20px;
    right: -100px;
    font-size: 24px;
    width: 50px;
    height: 50px;
    background-color: #fcd9bd;
    color: var(--black);
    cursor: pointer;
    outline: none;
    border: 3px solid var(--cream-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease-in-out;
}

.back-to-top-btn:is(:hover,:focus){
    background-color: var(--cream);
}


.back-to-top-btn.active{
    right: 20px;
    opacity: 1;
    visibility: visible; 
}




/* **************** feature repository Page   ********************/
.repository{
    padding-top: 50px;
    overflow: hidden;
    position: relative;
    /* background: linear-gradient(180deg, #20282a 0%, #090c0d 50%, #20282a 100%); */
    background-color: #0e0e0e;
}

#features{
    position: relative;
}

.feature{
    margin-bottom: 6em;
    color: var(--cream-light);
}

.feature .icon{
    width: 4.5em;
    height: 4.5em;
    background-color: #20282a;
    border: 1px solid #344044;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature .icon img{
    width: 2.5em;
    object-fit: cover;
}

.feature-img{
    width: 30em;
    height: 28em;
    margin: 0 auto;
    position: relative;
}

.feature-img div,
.feature-img img{
   border-radius: 8px;
}

.feature-img img{
  width: 22em;
  position: absolute;
  top: 0;
  left: 5em;
  z-index: 1;
}

.glass-square{
 width: 12em;
 height: 12em;
 background-color: rgba(255, 255, 255, 0.2);
 border: 1px solid #9f9f9f;
 -webkit-backdrop-filter: blur(4px);
 backdrop-filter: blur(4px);
 box-shadow: 10px 10px 25px rgba(44, 71, 95, 0.4);
 position: absolute;
 left: 0;
 top: 16em;
 z-index: 3;
}

.sm-square,
.lg-square{
  border: 5px solid var(--cream-light);
  position: absolute;
}

.sm-square{
 width: 4em;
 height: 4em;
 top: 14em;
 left: 3em;
 z-index: 2;
}

.lg-square{
 z-index: 0;
 width: 22em;
 height: 22em;
 top: 3em;
 left: 8em;
}

   /* Invert second feature panel positions */
.feature:nth-child(2) .feature-img img{
    left: initial;
    right: 5em;
 }

 .feature:nth-child(2) .glass-square{
  left: initial;
  right: 0em;
 }

 .feature:nth-child(2) .sm-square{
  left: initial;
  right: 3em;
 }

 .feature:nth-child(2) .lg-square{
  left: initial;
  right: 8em;
 }

 .line{
    width: 1px;
    background-color: #344044;
    height: 100%;
    position: absolute;
    top: 0;
    z-index: 0;
   }

   .line:nth-child(1) {
     left: calc(25% + 0.8em);
   }

   .line:nth-child(2) {
     right: calc(25% + 0.8em);
   }

   .line span{
    width: 1px;
    height: 25px;
    position: absolute;
    top: -45px;
    left: 0;
    background-image: linear-gradient(0deg, transparent, #fff, transparent);
    box-shadow: 0 0 10px #30a9ff;
    animation: lineFlow 10s linear infinite;
   }

   .line:nth-child(2) span{
     animation-delay: 5s;
   }

 @keyframes lineFlow {
      
    0%{
        top: -45px;
    }
    100%{
        top: 110%;
    }
}

.btn_repo{
    border: 1px solid var(--cream-light);
    padding: 16px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 300ms ease-in-out;
}

.btn_repo:hover{
    background-color: var(--cream-light);
    color: var(--white);
}


@media screen and (max-width: 1080px){  
    .feature-img{
       font-size: 13px;
    }
  }

  @media screen and (max-width: 908px){  
    .feature-img{
       font-size: 10px;
    }
  }

  @media screen and (max-width: 380px){  
    .feature-img{
       font-size: 7px;
    }
  }

  @media screen and (max-width: 900px){  

    .feature .icon{
     margin: 3em auto 3em auto;
    }

    .line:nth-child(1) {
      left: 50%;
    }

    .line:nth-child(2){
      display: none;
    }
}


@media screen and (min-width: 1420px){  
      
    .line:nth-child(1){
      left: calc(50% + -21.2em);
    }

    .line:nth-child(2){
      right: calc(50% + -21.2em);
    }
 }


 @media screen and (min-width: 900px){  

    .feature{
       display: grid;
       grid-template-columns: 1fr 1fr;
       gap: 2em;
    }

    .feature .col-1 h2{
        font-size: 2.5em;
        line-height: 1.2;
    }

    .feature .col-1 p{
        font-size: 1.3em;
    }

    .feature:nth-child(2) .col-1{
     order: 2;
    }

    .feature:nth-child(2) .col-2{
     order: 1;
    }

    .feature .col-1{
     display: flex;
     justify-content: space-between;
     align-items: flex-start;
     flex-direction: column;
    }

    .feature .col-2{
     display: flex;
     justify-content: space-between;
     align-items: center;
     flex-direction: column;
    }

    .feature .icon{
     margin-bottom: 8em;
    }

    .feature h2{
     margin-top: 2em;
    }

    .feature p{
     margin: 0 2em 4em 0;
     align-self: flex-end;
    }

}

/*********** repo page  ***************/
.repo_container{
    margin-top: 80px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
    row-gap: 100px;
}

.repo_card_container{
    width: 450px;
    height: 300px;
    position: relative;
    transition: all 500ms ease-in-out;
}

.repo_card{
    width: 450px;
    height: 300px;
    background-color: transparent;
    clip-path: polygon(0 0, 49% 0, 100% 49%, 100% 100%, 80% 100%, 20% 100%, 0 100%, 0% 20%);
    border-radius: 10px;
    /* background-image: url('../images/repo_img.jpg'); */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    transition: all 500ms ease-in-out;
}

.repo_card::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    z-index: -1;
}

.repo_btn{
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: rgba(236, 196, 155, 0.6);
    color: var(--cream-light);
    padding: 6px 16px;
    border-radius: 10px;
}

.repo_hidden_btn{
    background-color: rgba(236, 196, 155, 0.6);
    position: absolute;
    top: 30%;
    right: 10%;
    padding: 8px;
    border-radius: 10px;
    width: 120px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease-in-out;
    opacity: 0;
}

 .repo_card_container:hover .repo_hidden_btn{
    opacity: 1;
    top: -5%;
}

@media screen and (max-width: 1700px){
    .repo_card_container{
        width: 400px;
        height: 300px;
    }
    
    .repo_card{
        width: 400px;
        height: 300px;
    }
}

@media screen and (max-width: 1540px){

    .repo_container{
        justify-content: center;
    }
    
    .repo_card_container{
        width: 600px;
        height: 300px;
    }
    
    .repo_card{
        width: 600px;
        height: 300px;
    }
}

@media screen and (max-width: 700px){
    .repo_card_container{
        width: 400px;
        height: 300px;
    }
    
    .repo_card{
        width: 400px;
        height: 300px;
    }
}

@media screen and (max-width: 450px){
    .repo_card_container{
        width: 300px;
        height: 300px;
    }
    
    .repo_card{
        width: 300px;
        height: 300px;
    }
}


@media screen and (min-width: 2100px){
    .repo_card_container{
        width: 550px;
        height: 300px;
    }
    
    .repo_card{
        width: 550px;
        height: 300px;
    }
}

@media screen and (min-width: 2700px){
    .repo_card_container{
        width: 650px;
        height: 300px;
    }
    
    .repo_card{
        width: 650px;
        height: 300px;
    }
} 


/************************* Repo Single Page  ***********************/
.repo_single{
    margin-top: 80px;
}

.repo_single-text h1{
    font-size: 2.5em;
}

.repo_single-text p{
    font-size: 1.1em;
    line-height: 1.5em;
}

.repo_single-hero{
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
}

.repo_single-bg-img{
    position: absolute;
    top: 0;
    right: 0;
    /* background-image: url(../images/repo_img.jpg); */
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    z-index: -2;
    width: 70%;
}

.repo_single-bg-img, .repo_single-content{
    height: 100%;
    display: inline-block;
    transition: 700ms cubic-bezier(0.77,0,0.18,1);
}

.repo_single-hero h1{
    font-weight: 900;
    text-transform: uppercase;
}

.repo_single-content{
    padding: 2.5em;
    position: relative;
    width: 30%;
    background-color: var(--cream);
}

.repo_single-hero .repo_single-text{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column;
    height: 100%;
}

.repo_single-hero .repo_single-title{
    margin-block: 5em;
}

.repo_single-hero p{
    margin-top: 1em;
}

.repo_single-hero .repo_single-btn{
    text-decoration: none;
    padding: 1em 2.5em;
    background-color: var(--black);
    border-radius: 5px 5px 0 0;
    color: #fff;
    text-transform: uppercase;
    font-weight: 900;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: 200ms;
}

.repo_single-hero .repo_single-btn::before,
.repo_single-hero .repo_single-btn::after{
  content: "";
  background-color: transparent;
  width: 2.5em;
  height: 2.5em;
  position: absolute;
  bottom: -2px;
  border-radius: 50%;
  transition: 200ms;
}

.repo_single-hero .repo_single-btn::before{
    left: -2.4em;
    box-shadow: 10px 10px 0 var(--black);
}

.repo_single-hero .repo_single-btn::after{
    right: -2.4em;
    box-shadow: -10px 10px 0 var(--black);
}


.repo_single-hero .repo_single-btn:hover{
    background-color: #0b0e11;
}

.repo_single-hero .repo_single-btn:hover::before{
    box-shadow: 10px 10px 0 #0b0e11;
}

.repo_single-hero .repo_single-btn:hover::after{
    box-shadow: -10px 10px 0 #0b0e11;
}

.repo_single-play-btn{
    border: none;
    border-radius: 50%;
    width: 6em;
    height: 6em;
    position: absolute;
    top: 25%;
    right: -3em;
    cursor: pointer;
}

.repo_single-play-btn::before,
.repo_single-play-btn::after{
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  background-image: linear-gradient(
    var(--cream) 16%,
    var(--cream-light) 32%,
    var(--cream) 48%,
    var(--cream-light) 64%,
    var(--cream) 80%,
    var(--cream-light) 100%
  );
  width: 6.7em;
  height: 6.7em;
  z-index: 0;
  border-radius: 50%;
  transition: 300ms;
}

.repo_single-play-btn::after {
    filter: blur(15px);
}

.repo_single-play-btn:hover::before,
.repo_single-play-btn:hover::after{
   transform: translate(-50%, -50%) rotate(180deg);
}

.repo_single-play-btn:hover::after{
    filter: blur(5px);
}

.repo_single-play-btn i{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
    height: 100%;
    font-size: 2em;
    color: #fff;
    background-color: #1a2028;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.repo_single-loader{
    width: 15em;
    height: 15em;
    border-radius: 50%;
    -webkit-box-reflect: below -10px linear-gradient(180deg, transparent 0%, transparent 50%, #000 100%);
}

.repo_single-loader, .repo_single-loader span{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 2;
}

.repo_single-loader span{
    height: 50%;
    width: 0.5em;
    animation: repo-spin 1.5s infinite ease-in-out;
}

.repo_single-loader span::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1em;
    height: 1em;
    box-shadow: 0px 0px 7px 1px var(--cream-light);
    border-radius: 50%;
    background-color: var(--cream-light);
}

.repo_single-loader span:nth-child(2){
    animation-delay: 0.2s;
}

.repo_single-loader span:nth-child(2)::before{
    box-shadow: 0px 0px 7px 1px var(--cream);
    background-color: var(--cream);
}


.repo_single-loader span:nth-child(3){
    animation-delay: 0.4s;
}
.repo_single-loader span:nth-child(3)::before{
    box-shadow: 0px 0px 7px 1px var(--cream-light);
    background-color: var(--cream-light);
}

.repo_single-preview{
    background-color: #000;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    transition: 300ms;
}

.repo_single-preview video{
    width: 100%;
    height: 99%;
}

.repo_single-close-btn{
    position: absolute;
    top: 1em;
    left: 1em;
    border: none;
    background-color: #1a2028;
    color: #fff;
    font-size: 1.5em;
    width: 2em;
    height: 2em;
    border-radius: 50%;
    z-index: 3;
    cursor: pointer;
    transition: 200ms;
}

.repo_single-close-btn:hover{
    background-color: #0f1318;
}

.repo-video-open .repo_single-content{
    left: -35%;
}

.repo-video-open .repo_single-bg-img{
    width: 100%;
}

.repo_single-loader, .repo_single-preview{
    opacity: 0;
    display: none;
}

@keyframes repo-spin {
    70%{
        transform: translate(-50%,-50%) rotate(360deg);
    }
    100%{
        transform: translate(-50%,-50%) rotate(360deg);
    }
}

/* *********************************** */
.repo_single_img_container{
    margin-top: 100px;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 50px;
}

.single_repo_image{
    width: 35rem;
    height: 400px;
    cursor: pointer;
    box-shadow: 1rem 1rem 1rem #000;
    position: relative;
    transform: rotateY(20deg) skewX(-2deg);
    transition: transform 0.5s, box-shadow 0.5s;
}

.single_repo_image:hover {
    transform: rotateY(20deg) skewX(-2deg) translateY(-3rem);
    box-shadow: 2rem 2rem 2rem #000;
}

.single_repo_image::before {
    content: "";
    height: 100%;
    width: 1rem;
    background-color: #323131;
    position: absolute;
    top: 0;
    left: -1rem;
    transform: skewY(45deg);
    transform-origin: right;
    box-shadow: -0.1rem -0.1rem 0.1rem #000;
}
  
.single_repo_image::after {
    content: "";
    width: 100%;
    height: 1rem;
    background-color: #323131;;
    position: absolute;
    top: -1rem;
    left: 0;
    transform: skewX(45deg);
    transform-origin: bottom;
    box-shadow: -0.1rem -0.1rem 0.1rem #000;
}


.single_repo_image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease-in-out;
}


@media screen and (max-width: 1500px) {
    .repo_single_img_container{
        grid-template-columns: repeat(2,1fr);
    }
}

@media screen and (max-width: 800px) {
    .repo_single_img_container{
        grid-template-columns: 1fr;
    }
}



@media screen and (max-width: 1120px){
    .repo_single-content{
        width: 40%;
    }

    .repo_single-bg-img{
        width: 60%;
    }

    .repo-video-open .repo_single-content{
       left: -50%;
    }   
}

@media screen and (max-width: 1100px){
    .repo_single-text h1{
        font-size: 2em;
    }
}


@media screen and (max-width: 800px){

    .repo_single-content, .repo_single-bg-img{
       width: 100%;
    }

    .repo_single-text p{
        margin-top: 200px;
    }

    .repo_single-bg-img{
       display: none;
    }

    .repo_single-content{
       color:#fff;
       background-image: url(../images/repo_img.jpg);
       background-repeat: no-repeat;
       background-position: center;
       background-size: cover;
    }

    .repo_single-play-btn{
       right: 5em;
       z-index: 0;
    }

    .repo_single-content::before{
       content: "";
       background-color: rgba(6, 10, 16, 0.5);
       position: absolute;
       top: 0;
       left: 0;
       width: 100%;
       height: 100%;
       z-index: 0;
       transition: 200ms;
    }

    .repo_single-text{
       position: relative;
    }

    .repo_single-hero .repo_single-btn{
       background-color: #fff;
       color: #000;
    }

    .repo_single-hero .repo_single-btn::before{
       box-shadow: 10px 10px 0 #fff;
    }

    .repo_single-hero .repo_single-btn::after{
       box-shadow: -10px 10px 0 #fff;
    }

    .repo_single-hero .repo_single-btn:hover{
       color: #fff;
    }

    .repo-video-open .repo_single-content{
       left: 0;
    }

    .repo-video-open .repo_single-content::before{
       z-index: 1;
       background-color: rgba(6, 10, 16, 0.9);
    }
}

.text-danger{
    color: red;
    font-size: 14px;
}

.captch_group {
    display: flex;
    margin-bottom: 10px;
}

.captch_group div{
    width: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-block: 5px;
    gap: 10px;
    font-size: 20px;
    border: 1px solid #c3c1c1;
}


/*********** Gsap and animation  ***************/

.pagination{
    display: flex;
    gap: 20px;
}

.pagination .page-item{
    background-color: var(--cream-light);
    width: 35px;
    height: 35px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    border-radius: 50%;
    transition: all 0.3s;
} 

.pagination .page-item:hover{
    background-color: var(--cream);
}

.pagination .page-item.active{
    background-color: var(--cream);
}

.pagination_btns{
    margin-top: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}


/************************ 404 page  **********************/
.not_found_container{
    height: 100vh;
    width: 100%;
    /* background-image: url('../images/static_404.jpg'); */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.not_found_content h1{
    font-size: 28rem;
    font-weight: bold;
    height: 500px;
    opacity: 0.5;
}
.not_found_content h3{ 
    text-align: center;
    font-size: 20px;
}

.not_found_btn{
    text-align: center;
    font-size: 20px;
    letter-spacing: 1px;
    transition: all 0.4s;
}

.not_found_btn:hover{
    letter-spacing: 2px;
}