:root{
    --main-color:#1c1c1c;
    --sec-color:#F7F7F7;
    --Montserrat-font: "Montserrat", sans-serif;
    --Poppins-font: "Poppins", sans-serif;
}


html {
    scroll-behavior: smooth;
    scroll-padding-top:100px;
}
a{
    text-decoration: none;
    color: inherit;
}
h1, h2, h3, h4, h5, h6, .logo {
    font-family: "Montserrat", sans-serif;
}

/* ============================= */
/* start components */
.cd-headline {
    font-size: 3rem;
    line-height: 1.2;
}
.main-p{
    padding-block: 100px 70px;
}
.sec-p{
    padding-block: 100px 100px;
}
.main-h3{
    font-weight: 800;
    margin-bottom: 5px;
}
.sub-title{
    color: #999;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/*  */
.section-head {
    margin-bottom: 80px;
    text-align: center;
}
.section-head h3 {
    font-weight: 900;
    font-size: 40px;
    position: relative;
    display: inline-block;
    z-index: 4;
}
.section-head h3:after {
    content: "";
    width: 100%;
    height: 30px;
    background-image: url(../imgs/dots.png);
    background-repeat: repeat;
    position: absolute;
    bottom: -10px;
    left: 0;
    z-index: -1;
}
/*  */




/* end components */
/* ============================= */
/* start nav */

#navbar {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    padding: -2px;
    transition: background-color 0.3s ease;
    z-index: 1000;
    background-color: transparent; /* initial state */
    /* color: white; */
    color: var(--main-color);

  }
  #navbar.scrolled {
    /* background-color: rgba(231, 231, 231, 0.6); */
    background-color:#FFFFFF; 
    color: var(--main-color);
    box-shadow: 4px ;
  }

  #navbar.scrolled .navbar-brand,
  #navbar.scrolled .nav-item .nav-transition {
    color: var(--main-color); 
  }
  
  #navbar.scrolled .nav-item .nav-transition::after {
    background-color: var(--main-color); 
  }
  

.navbar-brand{
    margin: 0;
    font-family: var(--Montserrat-font);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1px;
    color: white;
    text-transform: uppercase;

}
.navbar-brand:hover {
    color:white;
}
.navbar-nav .nav-link.active, .navbar-nav .nav-link.show{
    color: white;
 }
.navbar-toggler{
    background: none;
    border: none;
    font-size: 24px;
}
 /* for after transition */
 .nav-transition{
    font-size: 14px;
    font-family: var(--Poppins-font);
    position: relative;
    color: white;
    font-weight: 400;
    margin-right: 5px;
    letter-spacing: 1px;
}
.nav-transition.active::after{
    content: "";
    position: absolute;
    height: 2px;
    left: 7px;
    width: 75%;
    background-color: white;
    bottom: 5px;
}
.nav-transition::after{
    content: "";
    position: absolute;
    height: 2px;
    left: 9px;
    width: 0%;
    background-color: white;
    bottom: 0;
}
.nav-transition:not(.active):hover::after{
    content: "";
    position: absolute;
    height: 2px;
    width: 70%;
    color: white;
    background-color: white;
    bottom: 0;
    transition: all 0.3s ease-in-out 0s;
}
.nav-link:focus, .nav-link:hover{
    color:white;
}


/* end nav */
/* ============================ */
/* start header */
header{
    min-height:100vh;
    background-image:linear-gradient(to right top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)) ,  url(../imgs/asset\ 10.jpeg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 0px 0px;
    background-attachment: fixed;
}
header .inner h5{
    font-family:var(--Montserrat-font);
    font-size: 56px;
    font-weight: 700;
}
header .inner h1{
    font-family:var(--Montserrat-font);
    font-size: 56px;
    font-weight: 200;
    letter-spacing: 5px;
}
header .inner h1 .text-two{
    font-family:var(--Montserrat-font);
    font-size: 56px;
    font-weight: 400;
}
header .social-icon{
    margin-top: 30px;
}
header .social-icon a{
    color:white;
}
header .social-icon span{
    padding: 10px;
    font-size: 14px;
    line-height: 35px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
}


/* end header */
/* ============================ */
/* start about */
.about .hero-img {
    padding: 0 0 0 30px;
    position: relative;
}
/* img {
    width: 100%;
    height: auto;
} */
.about .hero-img:after {
    content: "";
    width: 70%;
    height: 80%;
    position: absolute;
    left: 0px;
    bottom: -30px;
    background-image: url(../imgs/dots.png);
    background-repeat: repeat;
    z-index: -1;
}
.about .bold-b{
    font-family:var(--Poppins-font) ;
    font-weight: 700;
}
.about article p{
    line-height: 1.6;
    margin: 0;
    font-family:var(--Poppins-font) ;
    font-size: 15px;
    color: #748182;
}
.about .skills {
    margin-top: 30px;
}
.about .skills .item {
    margin-bottom: 30px;
}
.about .skills .skills-progress {
    width: 100%;
    padding: 5px 10px;
    border-radius: 5px;
    background: #f7f7f7;
    -webkit-box-shadow: 0px 2px 7px rgba(0, 0, 0, 0.15) inset;
    box-shadow: 0px 2px 7px rgba(0, 0, 0, 0.15) inset;
    position: relative;
}
.about .skills h6 {
    font-size: 13px;
    color: #fff;
    position: relative;
    z-index: 2;
}
.about .skills .skills-progress span {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 10%;
    border-radius: 5px;
    background-color: #1c1c1c;
    -webkit-transition: all 1s;
    transition: all 1s;
}
.about .skills .skills-progress span:after {
    content: attr(data-value);
    position: absolute;
    top: 6px;
    right: 10px;
    font-size: 11px;
    color: #fff;
}
.about .btn-groub .btn-n{
    border: 1px solid #1c1c1c;
}
.about .btn-groub .btn-n:hover{
    border: 1px solid #1c1c1c;
    background-color: var(--main-color);
    color: white;
}

.about .btn-groub .active-btn{
    color: white;
    background-color: var(--main-color);
}
.about .btn-groub .active-btn:hover{
    background-color: white;
    border: 1px solid #1c1c1c;
    color: var(--main-color);
}
/* end about */
/* ================================= */
/* start services */
.services{
    background-color:var(--sec-color) ;
}
.services .item {
    padding: 50px 20px;
    background: #fff;
    -webkit-box-shadow: 0px 10px 30px -8px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 10px 30px -8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    border-radius: 5px;

}
.fa-inverse{
    color: var(--main-color);
}
.fa-inverse-bg{
    color:var(--sec-color) ;
}
.services .item h6 {
    margin-bottom: 15px;
    font-weight: 800;
    font-size: 18px;
}
.services .item:hover .fa-solid{
   background-color: var(--main-color);
   border-radius: 50%;
   transition: background-color 0.2s;
}
.services .item:hover .fa-inverse{
    color: white; 
}
/* end services */
/* ========================== */
/* start portfolio */
.portfolio{
    overflow: hidden;
}
.portfolio .tabs{
    margin-top: -20px;
}
.portfolio .item-img{
    position: relative;
    overflow: hidden;
}
.portfolio .item-img:hover .item-img-overlay {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
}
.portfolio .item-img-overlay {
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    opacity: 0;
    z-index: 2;
    transform: translateY(10px);
    background: rgba(255, 255, 255, 0.95);
    transition: 0.5s;
}
.v-middle {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 0;
    -webkit-transform: translate(0%, -50%);
    -moz-transform: translate(0%, -50%);
    -ms-transform: translate(0%, -50%);
    -o-transform: translate(0%, -50%);
    transform: translate(0%, -50%);
}
.portfolio .item-img h6 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    position: relative;
    margin-bottom: 15px;
    transform: translateY(-15px);
    transition: 0.5s;
}
.portfolio .item-img:hover h6,
.portfolio .item-img:hover .icons {
  -webkit-transform: translateY(0);
  transform: translateY(0);
}
.portfolio .item-img .icon i {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 28px;
    border-radius: 50%;
    border: 1px solid #111;
    background: #111;
    color: #eee;
  }
  .portfolio .item-img .icon i:hover {
    background: transparent;
    color: #000;
  }





  .nav-pills .nav-link{
    background: none;
    color: var(--main-color);
    font-family: var(--Poppins-font);
    font-weight: bold;
    position: relative;
  }
  .nav-pills .nav-link::before{
    content: "";
    width: 0;
    height: 3px;
    background: #111;
    position: absolute;
    left: 16px;
    bottom: 5px;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
    z-index: -1;
  }
  .nav-pills .nav-link.active::before{
    width: 40%;

  }

  .nav-pills .nav-link.active, .nav-pills .show>.nav-link{
    background: none;
    color: var(--main-color);
    font-family: var(--Poppins-font);
    font-weight: bold;
  }
  
/* end portfolio */
/* ======================== */
/* start slider  */
.testimonials{
    background-color: var(--sec-color);
}

.txt-slid{
    font-size: 12px;
    font-weight: 600;
    color: #888;
    margin-bottom: 30px;
}
.carousel-indicators [data-bs-target]{
    width: 17px;
    height: 3px;
    border-radius: 50%;
    background: #869791;
}

.testimonials .carousel-item .txt-p{
    font-family: var(--Poppins-font);
    font-size: 16px;
    font-weight: 400;
    margin: 30px 0 5px;
}
.testimonials .carousel-item .carousel-caption p{
    word-spacing: 2px;
    font-size:20px ;
    padding-inline: 100px;
}
.testimonials .carousel-item .carousel-caption span{
    font-size: 12px;
    font-weight: 600;
    color: #888;
    margin-bottom: 30px;
}

/* end slider  */
/* start counter */
.counter .counter-ico .ico-circle i{
    font-weight: bold;
    font-size: 35px;
    margin-bottom: 15px;
}
.counter .counter-box .counter-num p{
    font-weight: 900;
    margin-bottom: 15px;
}
.counter .counter-box .counter-num span{
    color: #748182;
    font-weight: 500;
    margin-bottom: 30px;
}
/* end counter */
/* ============================ */
/* start team */
.team{
    background-color: var(--sec-color);
}
.team .card-body{
    color: #fff;
    text-align: center;
    background-color: #5C5C5C;
}

.team .card .img-card{
    overflow: hidden;
    position: relative;
}
.team .card:hover img{
    transform:scale(1.25);
}
.team .social{
    margin: -24px;
}
.team .card:hover .img-card .social {
    background-color: rgba(255, 255, 255, 0.95);
    position: absolute;
    text-align: center;
    inset: 5px;
    transition: 0.5s;
    transform: rotateY(180deg) scale(1.25);
}
.team .social ul {
    text-align: center;
    position: relative;
    top: 175px;
}
.list-inline {
    padding-left: 0;
    margin-left: -5px;
    list-style: none;
}
.team .social .fa-stack.small {
    font-size: 1em;

}
.team .social .fa-inverse{
    color: white;
}
/* end team */
/* ============================= */
/* start contact */
.contact{
    background-color: white;
}
.contact h6{
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 18px; 
}
.contact .item:hover .fa-solid{
    background-color: var(--main-color);
    border-radius: 50%;
    transition: background-color 0.2s;
 }
.contact .item:hover .fa-inverse{
    color: white; 
}
.contact input{
    background-color: var(--sec-color);
    border: none;
    padding: 6px;
}
.contact textarea{
    height: 160px;
    width: 100%;
    background-color: var(--sec-color);
    border: none;
    padding: 6px;
}
.contact form .btn:hover{
    background-color: white;
    border-color: var(--main-color);
    color: var(--main-color);
    transition: all .5s;
}



/* end contact */
/* ==================== */
/* start footer  */
footer{
    background-color: var(--main-color);
    color: #748182;
}
footer p{
    font-size: 13px;
    word-spacing: 2px;
}
/* end footer  */