@import url(https://fonts.googleapis.com/css2?family=Roboto%3Awght%40100%3B300%3B400%3B500%3B700%3B900&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Rubik%3Awght%40300%3B400%3B500%3B600%3B700%3B800%3B900&display=swap);

*{
    box-sizing: border-box;
    padding:0;
    margin:0;
}

:root{
    /* background-color */
    --primary-color:#4458dc;
    --secondary-color:#854fee;
    --bg-white:#fff;
    --bg-light:#faf8ff;
    --bg-black:#000;
    --bg-gray:#eee;
    --gradient:linear-gradient(to right,#4458dc 0% , #854fee 100% ) , radial-gradient(circle at top left, #4458dc,#854fee);

    /* text-color  */
    --primary-text:#4458dc;
    --scondary-text:#854fee;
    --text-white:#fff;
    --text-black:#000;
    --text-gray:#777;

    /* font-family  */
    --primary-text:'Rubik' ,sans-serif;
    --secondary-font:'Roboto',sans-serif;

}

body{
    font-family:var(--secondary-color);
    width:100%;
    background-image: url(../image/body-bg.png.webp);
    background-repeat: no-repeat;
}
a{
    text-decoration: none;

}

/* 1 custom css  */
::-webkit-scrollbar{
    width:0.25rem;
}
::-webkit-scrollbar-track{
    background: var(--bg-gray);
}
::-webkit-scrollbar-thumb{
    background:var(--primary-color);
}

section{
    padding:5rem 0;
}
.main-btn{
    display: inline-block;
    font-family: var(--primary-font);
    font-weight: 500;
    font-size: 0.875;
    line-height: 2.87rem;
    text-align: center;
    cursor: pointer;
    text-transform: uppercase;
    border-radius: .3125rem;
    box-shadow: 0 0.625rem 1.875rem rgb(118 85 225 / 30%);
    border:double 0.125rem transparent;
    padding:0 2.625rem;
    transition: all .3s ease-in-out;
    --webkit-transition:all .3s ease-in-out;
}

.primary-btn{
    background-image:var(--gradient);
    color:var(--text-white);

}
.primary-btn:hover{
    border-color: var(--secondary-color);
    background: var(--bg-white);
    color:var(--scondary-text);
    box-shadow: none;
}
.secondary-btn{
    background-image: var(--bg-white);
    color:var(--scondary-text);
    border-color: var(--secondary-color);

}
.secondary-btn:hover{
    background: var(--gradient);
    color:var(--text-white);
    box-shadow: none;
}
h1{
    font-size: 4.375rem;
    line-height: 3.75rem;
    font-weight: 700;
    color: var(--text-black);
    margin-bottom: 1.25rem;
    font-family: var(--primary-font);
}
h2{
    font-size: 2.5rem;
    line-height: 3.4375rem;
    font-weight: 500;
    color: var(--text-black);
    margin-bottom: 1.5625rem;
    font-family: var(--primary-font);
}
h3{
    font-size: 2.25rem;
    line-height: 3.125rem;
    font-weight: 700;
    color: var(--text-black);
    margin-bottom:0.9375rem;
    font-family: var(--primary-font);
    text-transform: uppercase;
}
h5{
    font-size: 1.5rem;
    line-height: 2.125rem;
    font-weight: 500;
    color: var(--text-black);
    margin-bottom:2.1875rem;
     
}
p{
    color:var(--text-gray);
    font-size: 0.9375rem;
    line-height: 1.6rem;
    font-weight: 400;
}

/* navbar start  */
.header-wrapper .navbar{
    padding:0.9375rem 0;
    -o-transition: all .2s linear;
    -webkit-transition:all .2s linear;
    transition:all .2s linear;
}

.header-wrapper .navbar-brand img{
    max-width: 10rem;
    height: auto;
}
.header-wrapper .navbar-toggler:focus{
    box-shadow: none;
}
.header-wrapper .nav-item{
    margin:0 0.625rem;
}
.header-wrapper .nav-item .nav-link{
    font-family: var(--primary-font);
    font-size: .91375rem;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--text-black);
    display: inline-block;
}

.header-wrapper .nav-item .nav-link.active,
.header-wrapper .nav-item .nav-link:hover{
    color:var(--primary-color);
}

.header-scrolled{
    position: fixed;
    top:0;
    left:0;
    width:100%;
    background-color: var(--bg-white);
    -webkit-box-shadow:0 0.25rem 0.375rem rgba(12,0,46,.05);
    box-shadow:0 0.25rem 0.375rem rgba(12,0,46,.05);
}

/* banner start  */

.banner-wrapper{
    padding-top: 6.875rem;
    z-index:1;
    background-image: url(../image/home-banner.png);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
}

.banner-wrapper .banner-content{
    vertical-align: middle;
    align-self: center;
}

.banner-wrapper .banner-content h2::after{
    content:'';
    width:60%;
    height: 0.125rem;
    position: absolute;
    top:50%;
    left:25%;
    background: var(--bg-black);
    overflow-x: hidden;
}

/* about start  */

.about-wrapper .single-log-item{
    width:100%;
    height: 6.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border:0.0625rem solid var(--bg-gray);
    box-shadow: none;
    -webkit-transition: all .4s ease 0s;
    -o-transition:all .4s ease 0s;
    -ms-transition:all .4s ease 0s;
    -moz-transition: all .4s ease 0s;
    transition: all .4s ease 0s;
}

.about-wrapper .single-log-item:hover{
    border:0.1625rem solid transparent;
    box-shadow: 0 1.5rem 2.875rem rgb(118 85 225 / 30%);
}
.about-wrapper .client-info{
    padding:1.5625rem 1.875rem;
    background: var(--bg-light);
    position: relative;
    margin-top: 1.565rem;
}
 
.image{
     height: 100px;
     width: 150px;
     mix-blend-mode: multiply;
}
.about-wrapper .client-info:before{
    content:'';
    position: absolute;
    top:-1.5625rem;
    left:-3.4375rem;
    /* background: url('../image/company/softpro.jpg'); */
    background-size: cover;
    background-repeat: no-repeat;
    mix-blend-mode: multiply;
    height: 10.9375rem;
    width: 10.9375rem;
}
.company-logo{
    height:150px;
    width: 200px;
    mix-blend-mode: multiply;
    
}

.about-wrapper .client-info .large{
    color:var(--scondary-text);
    font-family: var(--primary-font);
    font-size: 6.25rem;
    position:relative;
    z-index: 9;
    font-weight: 700;
}
.about-wrapper .client-info .smll{
    text-align: left;
    color:var(--text-black);
    font-family: var(--primary-font);
    font-size: 1.25rem;
    margin-left: 1.25rem;
    font-weight: 500;
}

/* service start  */

.services-wrapper .card{
    background-color: var(--bg-light);
    cursor:pointer;
    --webkit-transition:all .4s ease 0s;
    -o-transition:all .4s ease 0s;
    -ms-transition:all .4s ease 0s;
    -moz-transition:all .4s ease 0s;
    transition:all .4s ease 0s;
}
.services-wrapper .card:hover{
    box-shadow: 0 0.9375rem 1.875rem rgb(77 87 222 / 30%);
    background: var(--bg-white);
}
.services-wrapper .card img{
    height: 100px;
    width: 100px;
}

.services-wrapper .item img{
    mix-blend-mode: multiply;
}
/*  project start  */

.project-wrapper .nav-link{
    font-size: 0.9375rem;
    font-weight: 500;
    margin-right: 0.25rem;
    color:var(--text-black);
    text-transform: uppercase;
}
.project-wrapper .nav-link.active{
    color:var(--scondary-text);
    background-color: transparent;
}
.project-wrapper .project-img{
    position: relative;
    cursor:pointer;
     
}
.project-wrapper h5{
    line-height: 1.825rem;
    text-align: center;
    padding: 20px;
}
.project-wrapper img{
    height: 250px;
    width: 410px;
}
.project-wrapper .project-img .overlay{
    position: absolute;
    left:0;
    top:0;
    height: 100%;
    width: 100%;
    --webkit-transition:all .4s ease 0s;
    -o-transition:all .4s ease 0s;
    -ms-trnasition:all .4s ease 0s;
    -moz-transition:all .4s ease 0s;
    transition:all .4s ease 0s;
}
.project-wrapper .project-img:hover .overlay{
    background: rgba(77,87,222,.5);
}
.project-wrapper .project-img .overlay i{
    font-size: 6.25rem;
    color:var(--text-white);
    position: absolute;
    top:25%;
    left:25%;
    -webkit-transform: translate(-50% ,-50%);
    -o-transform: translate(-50% ,-50%);
    -ms-transform: translate(-50% ,-50%);
    -moz-transform: translate(-50% ,-50%);
    transform: translate(-50% ,-50%);
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all .4s ease 0s;
    -o-transition:all .4s ease 0s;
    -ms-trnasition:all .4s ease 0s;
    -moz-transition:all .4s ease 0s;
    transition:all .4s ease 0s;
}
.project-wrapper .project-img:hover .overlay i{
    opacity: 1;
    visibility: visible;
    top:50%;
    left:50%;
}

/* blog section start  */

.blog-wrapper .card{
    position: relative;
    cursor: pointer;

}
.blog-wrapper .blog_details{
    position: absolute;
    top:1.25rem;
    left:1.25rem;
    bottom: 1.25rem;
    right:1.25rem;
    background: rgba(34,34,34,.8);
    color: var(--text-white);
    transition:all .3s linear;
    display: flex;
    align-items: center;
    justify-content: center;
}
.blog-wrapper .card:hover .blog_details{
    background: rgba(68,88,220,.85);
} 

.blog-wrapper .blog_details .border_line{
    margin:0.625rem 0;
    background: var(--bg-white);
    width: 100%;
    height: 0.125rem;
}

/* contact start  */
.footer-wrapper .newsletter{
    width: 100%;
    height: 100%;
    background-image: url('../image/subscribe-bg.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    padding:9.375rem;
}
.footer-wrapper input{
    line-height: 3rem;
    padding:0 1.5625rem;
    border:0.125rem solid var(--bg-white);
    background: transparent;
    font-weight: 400;
    border-radius: 0.3125rem;
    color:var(--text-white);

}
.footer-wrapper .form-control:focus{
    color:var(--text-white);
    background-color: transparent;
    border-color: var(--bg-white);
    outline: 0;
    box-shadow: none;
}

.footer-wrapper .form-control::placeholder{
    color: var(--bg-white);
}
.footer-wrapper .footer-logo img{
    max-width:12.5rem;
    height: auto;
}
.footer-wrapper .social-icons li{
    margin:0.375rem;
}
.footer-wrapper .social-icons li a{
    line-height: 1.875rem;
    font-size: 1.5625rem;
    display: inline-block;
    color:var(--text-black);
    text-align:center;
    margin:0 0.625rem;
}
.footer-wrapper .social-icons li a:hover{
    color:var(--primary-color);
}
.footer-wrapper .footer-text{
    font-size: 0.6875rem;
    line-height: 1.25rem;
    font-weight: 600;
}
.footer-wrapper .footer-text a{
    color:var(--primary-color);
}
.contact-image{
    height: 21px;
    width: 22px;
    mix-blend-mode: multiply;
}


/* decripation  */

.modal {
    display: none; /* Initially hidden */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent background */
    overflow-y: auto; /* Enables vertical scrolling */
    overflow-x: hidden; /* Prevents horizontal scrolling */
    padding: 20px; /* Optional padding for content */
    box-sizing: border-box;
  }
  
  .modal-content {
    max-height: 90vh; /* Ensures content fits within the window */
    overflow-y: auto; /* Ensures the content inside the modal can scroll */
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    margin: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-width: 600px; /* Optional: Adjust width if needed */
    
  }

 .close {
    border-radius: 20%;
    font-size: 19px;
    font-weight: 1000;
    color: #333;
    cursor: pointer;
    position: absolute;
    top: 15px;
    
    /* border: 2px solid black; */
    right: 11px;
    height: 30px;
    width: 26px;
}
.github-btn {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 20px;
    font-size: 16px;
    color: #fff;
    background-color: #24292f;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
  }
  
  .github-btn:hover {
    background-color: #333;
  }
  