* {
    box-sizing: border-box;
    margin: 0;
}
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}
body {
    font-family: Arial, Helvetica, sans-serif;
}
:root {
    --main-color : #72a1c0 ;
    --color-sec : #e1ebf4;
    --color-sec-one : #0661bc;
    --color-sec-two : #f3f8fb;
    --color-ddd : #ddd;
    --color-fff : #fff;
}
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-thumb {
    background-color: var(--main-color);
    border-radius: 10px;
}
nav {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: bold;
    padding: 10px 25px;
    position: relative;
    position: fixed;
    z-index: 999;
    background-color: none;
}
nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}
nav ul li {
    font-size: 18px;
    padding: 10px 14px;
}
nav ul i {
    border-left: 2px solid #000;
    padding-left: 20px;
    cursor: pointer;
}
nav ul li a {
    width: 100%;
    color: black;
    text-decoration: none;
    position: relative;
    padding: 10px 10px;
}
nav li a::after {
    content: "";
    width: 20%;
    height: 3px;
    background-color: var(--main-color);
    position: absolute;
    right: 0;
    top: 100%;
    transition: all 0.3s;
}


li a:hover::after {
    width: 100%;
}
nav > a svg {
    width: 65px;
}
/* menu-icon start */
.menu-icon {
    width: 20px;
    height: 14px;
    position: relative;
    cursor: pointer;
    display: none;
}
.menu-icon span {
    background-color: black;
    height: 2px;
    position: absolute;
    width: 100%;
    left: 0;
    transition: all .3s ease;
}
.menu-icon span:first-child {
    top: 0;
}
.menu-icon span:nth-child(2) {
    top: 6px;
}
.menu-icon span:last-child {
    top: 12px;
}
.menu-icon span:nth-child(2).show {
    opacity: 0;
}
.menu-icon span:first-child.show,
.menu-icon span:last-child.show {
    top: 6px;
    background-color: red;
}
.menu-icon span:first-child.show {
    transform: rotate(45deg);
}
.menu-icon span:last-child.show {
    transform: rotate(-45deg);
}
nav ul.show {
    display: block;
    left: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    color: #000;
}
/* menu-icon end */
/* end nav bar  */
/* start home  */
#home {
    background-image: url(../IMG/1672178995522.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
}
.home .content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.home .content  p:nth-child(1) {
    font-size: 20px;
    letter-spacing: 10px;
}
.home .content .title {
    margin-bottom: 30px;
} 
.home .content h1 {
    font-size: 50px;
    letter-spacing: 10px;
}
/* end home */
/* start btn */
.btn0 {
    text-decoration: none;  
    background-color: transparent;
    border: none;
    color: var(--main-color);
    font-size: 20px;
    position: relative;
    padding: 15px 20px;
    transition: all 0.3s;
    border: 1px solid #000;
}
.btn0 .span {
    padding: 15px 20px;
    border: 1px solid #000;
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translate( calc(-50% + 27px) ,-50%);
    transition: all 0.3s;
    font-size: 19px;
}
.btn0:hover .span {
    background-color: var(--main-color);
    color: var(--color-fff);
}
.btn0:hover {
    background-color: var(--main-color);
    color: white;
    box-shadow: 0 0 50px var(--main-color);
    transition-delay: 0.5s;
}
.btn0::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid var(--main-color);
    border-right: 2px solid var(--main-color);
    transition: all 0.5s;
    transition-delay: 0.5s;
}
.btn0:hover::before {
    width: 98%;
    height: 98%;
    transition-delay: 0s;
}
.btn0::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--main-color);
    border-left: 2px solid var(--main-color);
    transition: all 0.5s;
    transition-delay: 0.5s;
}
.btn0:hover::after {
    width: 98%;
    height: 98%;
    transition-delay: 0s;
}
/* end btn */
/* start main section */
.main-sections {
    padding: 50px 0;
    text-align: center;
}
.main-sections p {
    color: var(--main-color);
    font-size: 14px;
    margin-bottom: 15px;
}
.main-sections h3 {
    font-size: 27px;
    letter-spacing: 2px;
    position: relative;
}
.main-sections h3::after {
    content: "";
    width: 40px;
    height: 2px;
    background-color: var(--main-color);
    border-radius: 6px;
    position: absolute;
    left: 50%;
    top: calc(100% + 20px);
    transform: translate(-50%, -100%);
}
/* end main section */
/* start about */
.about-content {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
}
.about {
    position: relative;
}
.about-content-details {
    text-align: center;
    margin-top: 70px;
    transition: all 0.3S;
    padding: 30px 10px;
    box-shadow: 0 2px 15px rgb(0 0 0 / 10%);
}
.about-content-details2 {
    text-align: center;
    padding: 30px;
    box-shadow: 0 2px 15px rgb(0 0 0 / 10%);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background-color: var(--color-sec-one);
    width: 400px;
    color: var(--color-fff);
    display: none;
    z-index: 1000;
    animation-name: popup;
    /* animation-duration: 0.5s; */
    opacity: 0;
}
.xmark {
    position: absolute;
    right: -5px;
    top: -5px;
    font-size: 20px;
    color: red;
    background-color: var(--color-ddd);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
}
.about-content-details2::after {
    content: "";
    background-color: rgba(0, 0, 0, 0.27);
    width: 4000%;
    height: 4000%;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    position: absolute;
    z-index: -1;
}
#text:target {
    display: block;
    opacity: 1;
}
.about-content-details:hover {
    background-color: var(--main-color);
    color: var(--color-ddd);
}
.about-content-details:hover a {
    background-color: var(--color-fff);
    color: var(--main-color);
}
.about-content-details:hover i {
    background-color: var(--color-ddd);
    color: var(--main-color);
}
.about-content-details i {
    font-size: 30px;
    color: var(--color-fff);
    position: relative;
    background-color: var(--main-color);
    width: 50px;
    height: 50px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}
.about-content-details h3 {
    font-size: 25px;
    letter-spacing: 2px;
    margin-top: 30px;
}
.about-content-details p {
    margin: 30px 0;
}
.about-content-details a {
    background-color: var(--main-color);
    font-size: 18px;
    color: var(--color-fff);
    text-decoration: none;
    padding: 10px 15px;
    transition: all 0.3s;
}
.about-content-details a:hover{
    background-color: var(--color-ddd);
    color: var(--main-color);
}
.about-creative {
    padding: 100px 0;
    margin: 100px 0 0 0;
    background-color: var(--color-sec-two);
}
.about-content-creative {
    display: flex;
    justify-content: space-between;
}
.about-content-creative .img-box {
    width: 50%;
    padding-right: 70px;
} 
.about-content-creative .img-box:hover img {
    transform: scale(1.1);
}
.about-content-creative .img-box img {
    width: 100%;
    transition: all 0.3s;
}
.about-content-creative .content {
    width: 50%;
}
.about-content-creative .content h3 {
    color: var(--main-color);
    font-size: 25px;
    margin-bottom: 10px;
}
.about-content-creative .content .title  {
    font-size: 35px;
    letter-spacing: 4px;
}
.about-content-creative .content p {
    margin-bottom: 20px;
}
#our-creativity {
    background-color: var(--color-sec);
    padding: 100px 0;
}
.our-creativity-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.our-creativity-details .details i {
    padding-right: 15px;
    font-size: 30px;
    transition: all 0.3s;
}
.our-creativity-details .details {
    display: flex;
    align-items: center;
    justify-content: center;
}
.our-creativity-details .details:hover i {
    color: var(--main-color);
    transform: scale(1.5);
}
.details-btween {
    font-size: 50px;
    color: #cacdd6;
    border-radius: 6px;
}
/* end about */
/* start project */
.projects-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 100px;
}
.projects-details .img-box {
    text-align: center;
    width: 50%;
}
.projects-details .img-box img:hover  {
    transform: scale(1.1);
}
.projects-details .img-box img{ 
    width: 400px;
    height: 400px;
    border-radius: 50% ;
    transition: all 0.3s;
}
.projects-details .projects-content {
    width: 50%;
}
.projects-details .projects-content h3 {
    color: var(--main-color);
    font-size: 25px;
    margin-bottom: 10px;
}
.projects-details .projects-content  .title  {
    font-size: 35px;
    letter-spacing: 4px;
}
.projects-details .projects-content p {
    margin-bottom: 20px;
}
.projects .last {
    color: var(--main-color);
    text-decoration: underline;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
}
.proj {
    background-color: var(--color-sec-one);
    padding: 50px 0;
    margin-top: 40px;
    color: var(--color-fff);
}
.proj .content-project {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.proj .content-project div h3 {
    font-size: 30px;
    letter-spacing: 4px;
    padding-bottom: 15px;
}
.proj .content-project div p {
    font-size: 14px;
}
.btn0 {
    margin-top: 0;
}
.last {
    width: fit-content;
    margin: auto;
    padding: 10px 15px;
    transition: all 0.3s;
}
.last:hover {
    color: var(--color-ddd);
    background-color: #000;
}
/* end project */
/* start testimonials */
.testimonials {
    background-color: var(--color-sec);
}
.testimonials .testimonials-content {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    text-align: center;
    padding: 50px 0;
    gap: 10px;
    color: rgb(212, 212, 212);
}
.testimonials .testimonials-content .card {
    background-color: var(--color-fff);
    padding: 25px;
    transition: all 0.3s;
}
.testimonials .testimonials-content .card:hover {
    background-color: var(--main-color);
    transform: scale(1.5);
} 
.testimonials .testimonials-content .card i {
    font-size: 50px;
    color: var(--color-ddd);
    margin-bottom: 20px;
}
.testimonials .testimonials-content .card p {
    margin-bottom: 25px;
}
.testimonials-content .testimonials-name {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
}
.testimonials-content .testimonials-name img {
    width: 80px;
    padding-right: 20px;
    border-radius: 50%;
}
.img-company {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 100px 0;
}
.img-company div {
    position: relative;
}
.img-company div::after {
    content: "";
    width: 100%;
    height: 100%;
    background-color: var(--main-color);
    position: absolute;
    top: 0;
    left: 0;
    transform: scale(0);
    transition: all 0.3s;
    z-index: -1;
}
.img-company div:hover::after {
    transform: scale(1);
}
.img-company div svg {
    width: 120px;
}
.img-company div {
    border: 1px solid #000;
    padding: 20px 32px;
}
/* end testimonials */
/* start footer */
.footer {
    background-color: var(--color-sec);
    padding: 100px 0 20px 0;
}
.footer .footer-details {
    display: grid;
    grid-template-columns: repeat(3,1fr);
}
.footer-card h4 {
    font-weight: bold;
}
.footer-card p {
    margin: 20px 0;
}
.footer-card div a {
    text-decoration: none;
    color: var(--main-color);
    border: 1px solid var(--color-ddd);
    padding: 10px 15px;
    transition: all 0.3s;
}
.footer-card div a:hover {
    color: var(--color-fff);
    background-color: var(--main-color);
}
.footer-card ul {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 30px;
    list-style: none;
    padding: 0;
}
.footer-card ul li a i {
    transition: all 0.3s;
}
.footer-card ul li:hover i {
    transform: scale(1.5);
}
.footer-card ul li a{
    padding: 0 30px 0 0;
}
.footer-card-two {
    padding: 0 0 0 30px;
}
.footer-card-two ul {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    list-style: none;
    padding: 0;
}
.footer-card-two ul li a{
    padding: 0 30px 0 0;
    text-decoration: none;
    color: #000;
    transition: all 0.3s;
    display: inline-block;
    position: absolute;
    transform: translateX(0);
}
.footer-card-two ul li:hover a {
    color: var(--main-color);
    transform: translateX(14px);
}
.footer-card-two ul li {
    padding: 20px 0;
}
.footer-card-three h4 {
    margin-bottom: 20px;
}
.footer-card-three img {
    width: 70px;
    padding-right:10px;
}
.footer-card-three .footer-card-details {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.footer-card-three .footer-card-details p {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
}
.footer-card-three .footer-card-details span {
    color: gray;
    transition: all 0.3s;
}
.footer-card-three .footer-card-details:hover span {
    color: #000;
}
i.fa-brands.fa-github {
    color: #131418;
}
.creator-name {
    border-top: 2px solid #000;
    margin-top: 100px;
    padding: 10px 0 0 0;
}
.creator-name span {
    color: var(--main-color);
}
/* end footer */
.change-color {
    position: fixed;
    top: 50%;
    transform: translateY(-50%) translateX(-100%);
    background-color: #cacdd6;
    padding: 15px;
    display: flex;
    gap: 10px;
    transition: all 0.3s;
}
.change-color span {
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
}
.change-color span:nth-child(1) {
    background-color: #65b6ff;
}
.change-color span:nth-child(2) {
    background-color: #3285d0;
}
.change-color span:nth-child(3) {
    background-color: #009aff;
}
.change-color i.fa-solid.fa-gear {
    position: absolute;
    left: 100%;
    top: 0;
    background-color: #0661bc;
    color: #cacdd6;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 10px;
    cursor: pointer;
}
.changColor {
    transform: translateY(-50%) translateX(0);
}
.change-color .rest {
    background-color: red;
    color: #fff;
    border: none;
    cursor: pointer;
}
.active {
    background-color: var(--main-color);
    color: var(--color-fff);
}


a .btn-top {
    font-size: 20px;
    color: #fff;
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    cursor: pointer;
}

.btn-top::after {
    content: "";
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: #3bbbc9;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    border-radius: 50%;
}
#dark {
    font-size: 20px;
    color: #fff;
    background-color: transparent;
    border: none;
    cursor: pointer;
}
i.fa-solid.fa-sun {
    color: #0661bc;
} 
i.fa-solid.fa-moon {
    color: #0661bc;
}

.input-search {
    position: absolute;
    right: 0;
    bottom: -120%;
    height: 0;
    width: 0;
    border-style: none;
    padding: 0;
    font-size: 18px;
    letter-spacing: 2px;
    outline: none;
    border-radius: 25px;
    transition: all .5s ease-in-out;
    background-color: var(--main-color);
    padding-right: 40px;
    color: #fff;
}

.input-search::placeholder {
    color: rgba(255, 255, 255, .5);
    font-size: 18px;
    letter-spacing: 2px;
    font-weight: 100;
}

.btn-search {
    width: 69px;
    height: 50px;
    border-style: none;
    font-size: 20px;
    font-weight: bold;
    outline: none;
    cursor: pointer;
    border-radius: 50%;
    color: #ffffff;
    background-color: transparent;
    pointer-events: painted;
}
.input-search.show-search  {
    height: 50px;
    width: 300px;
    padding: 10px;
    border-radius: 10px;
    background-color: var(--color-sec-one);
    border-bottom: 1px solid rgba(255, 255, 255, .5);
    transition: all 500ms cubic-bezier(0, 0.110, 0.35, 2);
}
.btn-search:hover {
    color: var(--color-sec-one);
}
.input-search:hover {
    width: 300px;
    padding: 10px;
    height: 50px;
    border-radius: 10px;
    background-color: var(--color-sec-one);
    border-bottom: 1px solid rgba(255, 255, 255, .5);
    transition: all 500ms cubic-bezier(0, 0.110, 0.35, 2);
} 
.ntifaction {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: var(--color-sec-one);
    padding: 15px 20px;
    color: var(--color-fff);
    border-radius: 25px;
    animation-name: fade;
    animation-duration: 3s;
    animation-delay: 5s;
    opacity: 0;
    display: none;
}
@keyframes fade {
    50% {
        transform: translateY(-200px);
        opacity: 1;
    }
    100% {
        transform: translateY(-400px);
        opacity: 0;
    }
}
.ntifaction2 {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: var(--color-sec-one);
    padding: 15px 20px;
    color: var(--color-fff);
    border-radius: 25px;
    animation-name: fade2;
    animation-duration: 3s;
    animation-delay: 10s;
    opacity: 0;
}
@keyframes fade2 {
    50% {
        transform: translateY(-200px);
        opacity: 1;
    }
    100% {
        transform: translateY(-400px);
        opacity: 0;
    }
}
