@import url('https://fonts.cdnfonts.com/css/elnath');

* {
    font-family: "Montserrat", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    list-style: none;
    text-decoration: none;
}

header {
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 12%;
}

header .logo img {
    width: 115px;
}

.logo img {
    max-width: 100%;
    width: 160px;
    height: auto;
}

.navbar {
    display: flex;
    align-items: center;
}

.navbar a {
    color: #ffffff;
    font-size: 18px;
    text-decoration: none;
    font-weight: 400;
    text-transform: capitalize;
    padding: 10px 22px;
    transition: all .42s;
    position: relative;
}

.navbar a::before {
    content: '';
    position: absolute;
    top: 80%;
    left: 10;
    width: 0;
    height: 4px;
    background: #2fa1ee;
    transition: .4s;
    border-radius: 15px;
}

.navbar a:hover::before {
    width: 60%;
}

.navbar .x:hover::before {
    width: 65%;
}

.navbar .x1:hover::before {
    width: 55%;
}

.navbar .sp:hover::before {
    width: 70%;
}

.navbar i {
    font-size: 14px;
    margin-right: 5px;
    color: white;
    position: relative;
    left: 20px;
}

/*
.navbar .active{
    font-weight: bold;
    color: #2fa1ee;
}
*/

.header-btn {
    display: flex;
    align-items: center;
}

.nav-btn i {
    font-size: 22px;
    margin-right: 5px;
}

.nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2fa1ee;
    color: #FFFF;
    font-size: 19px;
    text-transform: capitalize;
    font-weight: 500;
    padding: 12px 25px;
    border-radius: 30px;
    transition: all .42s;
    text-decoration: none;
}

.nav-btn:hover {
    /*
    background: linear-gradient(to right,
            #31393b,
            #412C28,
            #6B2D25,
            #FA614F,
            #E05244,
            #A35047,
            #663d38,
            #31393b
        );
    background-size: 200%;
    animation: animationGradient 2.5s linear infinite;
    */
    background: #fff;
    color: #000000;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

#menu-icon {
    font-size: 40px;
    margin-left: 12px;
    z-index: 10001;
    cursor: pointer;
    color: #FFFF;
    display: none;
}

/* first section */
section {
    padding: 120px 12% 60px;
}

.home {
    position: relative;
    width: 100%;
    height: 100vh;
    background-image: url(images/banner.png);
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.home-img img {
    max-width: 100%;
    width: 470px;
    height: auto;
    border-radius: 75px;
}

/*
.home-img{
    position: relative;
    top: -150px;
    background-color: #56c1db;
    border-radius: 75px;
    display: flex;
    height: 100vh;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 0px 12px #ffffff;
}
*/

.home-text {
    position: relative;
    left: -3rem;
}

.home-text h4 {
    color: #FFFF;
    font-size: 25px;
    font-weight: 700;
    text-transform: capitalize;
    letter-spacing: 2px;
}

.home-text h4 span {
    color: #FA614F;
}

.home-text h1 {
    color: #FFFF;
    font-size: 60px;
    font-weight: 700;
    text-transform: none;
    margin: 12px 0px;
}

.home-text h3 {
    color: #FFFF;
    font-size: 25px;
    font-weight: 700;
    /* text-transform: capitalize; */
    margin-bottom: 20px;
}

/* Responsive text */
.home-text h3 span {
    color: #2fa1ee;
}

.home-text p {
    max-width: 600px;
    color: #FFFF;
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    margin-bottom: 30px;
}

.home-icon i {
    color: #ffffff;
    font-size: 32px;
    margin-right: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    /* border: 2px solid #ffffff; */
    border-radius: 30px;
    margin-bottom: 40px;
    transition: all .42s;
}

.home-icon {
    padding: 1.5rem;
}

.home-icon i:hover {
    background-color: none;
    color: #2fa1ee;
    /*transform: translate(1px) scale(1.1);*/
}

.home-btn {
    display: flex;
    align-items: center;
}

.home-btn i {
    font-size: 30px;
    margin-left: 2px;
}

.hm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #FFFF;
    font-size: 19px;
    font-weight: 700;
    background-color: #2fa1ee;
    padding: 8px 25px;
    border-radius: 50px;
    transition: all .42s;
}

.hm-btn:hover {
    background-color: #ffffff;
    color: #000000;
}

.hm-btn i:hover {
    transform: rotate(0deg);
}

.infinite {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    padding: 20px 0px;
    background: #101315;
}

/*
.infinite:hover .infi-logo{
    animation-play-state: paused;
}
*/

.infi-logo img {
    height: 75px;
    margin: 0px 30px;
    cursor: pointer;
}

.infi-logo {
    display: inline-block;
    white-space: nowrap;
    animation: 30s slide infinite linear;
}

/*----- animation -----*/
@keyframes slide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

/*----- navigation color -----*/
header.sticky {
    background-color: rgba(14, 13, 13, 0.9);
    padding: 14px 12%;
    box-shadow: 0px 4px 15px rgba(0 0 0/ 8%);
    transition: all .42s;
}

.about {
    background-color: #101315;
}

.main-about {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.about-img img {
    max-width: 100%;
    width: 450px;
    height: auto;
}

.about-text h5 {
    color: #ffffff;
    font-size: 35px;
    font-weight: bold;
    margin-bottom: 12px;
}

.about-text h5 span {
    color: #FA614F;
}

.about-text h2 {
    color: #FFFF;
    font-size: 20px;
    font-weight: 450;
    line-height: 1.4;
}

.about-text h2 span {
    color: #2fa1ee;
}

.about-text h2 .spc {
    font-weight: 650;
}

.about-text h2 .skill {
    color: #2fa1ee;
    font-style: italic;
}

.about-text h1 {
    color: #FA614F;
}

.about-text p {
    max-width: 540px;
    color: #D4CECE;
    font-size: 16px;
    line-height: 28px;
    margin: 20px 0px;
}

.about-text p a {
    font-style: italic;
    color: #2fa1ee;
    text-decoration: underline;
}

.about-text p span {
    font-weight: bold;
    color: white;
}

.about-li {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.about-li h6 {
    color: #FFFF;
    font-size: 16px;
    text-transform: capitalize;
    font-weight: 400;
    margin: 10px 0px;
    display: flex;
    align-items: center;
}

.about-li h6 i {
    color: #2fa1ee;
    font-size: 20px;
    margin-right: 10px;
}

.areas {
    background-color: #170A24;
    padding: 120px 25% 60px;
}

.areas-top h1 {
    color: #ffffff;
    font-size: 40px;
    text-transform: capitalize;
    font-weight: 750;
    text-align: center;
    margin-bottom: 20px;
}

.areas-top h1 span {
    color: #FA614F;
}

.areas-top p {
    max-width: 700px;
    color: #FFFF;
    font-size: 17px;
    font-weight: 400;
    line-height: 28px;
    text-align: center;
    margin: 0px auto 80px;
}

.descript-text h3 {
    text-align: center;
    color: #2fa1ee;
    font-size: 20px;
    font-weight: 650;
    line-height: 28px;
    text-align: center;
    margin: 40px auto 20px;
    max-width: 700px;
}

.skill-detls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, auto));
    gap: 2rem;
}

.box-img img {
    width: 100px;
    height: auto;
    cursor: pointer;
    transition: all .42s;
}

/*--- gray color from the expert area ---*/
.box-img:hover img {
    filter: brightness(20%);
    transform: scale(1.1);
}

.box-img {
    filter: none;
    text-align: center;
    padding: 30px 50px;
    background: #150B1F;
    border-radius: 15px;
    box-shadow: #b8b2b2 2px 2px 10px;
    /* default color > rgba(48, 49, 49, 0.2)*/
    cursor: pointer;
    transition: all .42s ease;
}

.still-learning {
    text-align: center;
    font-size: 3.2vh;
    font-weight: 520px;
    color: #f1eaea;
}

.box h4 {
    color: #ffffff;
    font-size: 25px;
    font-weight: 550;
    margin: 12px 0px 0px 0px;
}

.box h3 {
    text-align: center;
    color: #FFFF;
    font-size: 20px;
    font-weight: 500;
    margin-top: 20px;
}

.recent-project {
    background-color: #101315;
}

.project-top {
    text-align: center;
}

.project-top h5 {
    color: #3282B8;
    font-size: 22px;
    font-weight: 700;
    text-transform: capitalize;
    margin-bottom: 20px;
}

.project-top h2 {
    color: #FFFF;
    font-size: 40px;
    text-transform: capitalize;
    font-weight: 700;
    margin-bottom: 40px;
}

.project-top h2 span {
    color: #FA614F;
}

.project-list {
    margin-bottom: 80px;
}

.project-list a {
    color: #FFFF;
    font-size: 15px;
    text-transform: capitalize;
    font-weight: 400;
    margin-right: 20px;
    border: 1px solid transparent;
    padding: 5px 15px;
    border-radius: 10px;
    transition: all .42s;
    text-decoration: none;
}

.project-list .active {
    border: 1px solid #2fa1ee;
    padding: 5px 15px;
    border-radius: 10px;
}

.project-list a:hover {
    font-weight: 500;
}

.main-project {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.main-project .project {
    display: none;
}

.main-project.show-development .project[data-name="development"] {
    display: block;
}

.main-project.show-design .project[data-name="design"] {
    display: block;
}

.project-list a {
    cursor: pointer;
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}


.project {
    overflow: hidden;
}

.project.hide {
    display: none;
}

.project img {
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
    cursor: pointer;
    border-radius: 10px;
    transition: all .42s;
}

.project:hover img {
    transform: scale(1.1);
}

.client-say {
    background-color: #101315;
}

.client-top h5 {
    color: #3282B8;
    font-size: 22px;
    font-weight: 700;
    text-transform: capitalize;
    margin-bottom: 20px;
    text-align: center;
}

.client-top h2 {
    color: #FFFF;
    font-size: 40px;
    text-transform: capitalize;
    font-weight: 700;
    margin-bottom: 80px;
    text-align: center;
}

.client-top h2 span {
    color: #FA614F;
}

.client-detls {
    /* display: grid; */
    display: flex;
    grid-template-columns: repeat(auto-fit, minmax(300px, auto));
    gap: 4rem;
    justify-content: center;
}

.test-card {
    position: relative;
    padding: 20px 20px;
    border-radius: 10px;
    background-color: #150B1F;
    cursor: pointer;
    box-shadow: rgba(130, 236, 236, 0.2) 0px 8px 114px;
    transition: all .42s;
    width: 60vh;
    /* width of the boxes*/
}

.test-card.jeho {
    background-image: url(images/testimonials.png);
}

.test-card.rayv {
    background-image: url(webflex/rayvscents/testimonialsrayv.png);
}

.test-card.arias {
    background-image: url(webflex/arias/testi-arias.png);
}

.test-card.titing {
    background-image: url(webflex/nhk/testi-nhk.png);
}

.test-card:hover {
    box-shadow: rgba(255, 255, 255, 0.24) 0px 3px 114px;
}

.test-card img {
    cursor: pointer;
}

.test-top {
    display: flex;
    justify-content: space-between;
}

.test-logo {
    width: 100%;
    height: auto;
}

.test-img img {
    width: 100px;
    height: auto;
    border-radius: 10px;
    border-bottom-left-radius: 90px;
}

.test-btm i {
    font-size: 40px;
    color: #BBE1FA;
    margin-bottom: 20px;
    transition: all .42s;
}

.test-btm p {
    color: #ffffff;
    font-weight: 500;
}

.test-btm p span {
    color: #ffffff;
    font-weight: 1000;
    font-style: italic;
}

.test-btm i:hover {
    transform: translateX(5px);
}

.test-btm p {
    columns: #DDD;
    font-size: 17px;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 20px;
}

.test-btm h4 {
    color: #000000;
    font-size: 20px;
    text-transform: capitalize;
    font-weight: 700;
    margin-bottom: 5px;
}

.test-btm h6 {
    color: #DDDDDD;
    font-size: 14px;
    font-weight: 700;
}

.test-btm h6 span a {
    color: #FA614F;
}

.test-btm h6 span a:hover {
    color: #2fa1ee;
}

.contact {
    background-color: #101315;
}

.cont-top h2 {
    color: #FFFF;
    font-size: 45px;
    text-transform: capitalize;
    font-weight: 700;
    text-align: center;
    margin-bottom: 35px;
}

.cont-top h2 span {
    color: #FA614F;
}

.cont-top p {
    color: #DDDDDD;
    font-size: 17px;
    font-weight: 400;
    line-height: 24px;
    text-align: center;
    margin-bottom: 50px;
}

.main-cont {
    text-align: center;
}

.cont-input input {
    width: 50%;
    padding: 20px;
    margin: 10px 10px;

}

form button {
    width: 50%;
    padding: 20px;
    margin: 10px 10px;
}

form .cont-input input {
    width: 30%;
}

form .cont-input button {
    width: 30%;
}

.cont-input input {
    background-color: #150B1F;
    color: #fff;
    font-size: 16px;
    text-transform: inherit;
    border-radius: 10px;
    border: none;
    caret-color: #FFF;
    border: 2px solid #FFF;
    outline: none;
}

form .cont-input button {
    background-color: #150B1F;
    font-size: 16px;
    text-transform: inherit;
    border-radius: 10px;
    border: none;
    caret-color: #FFF;
    border: 2px solid #FFF;
    outline: none;
}


input:focus,
input:valid {
    color: #FFF;
}


button:focus,
button:valid {
    color: #FFF;
}

form textarea {
    max-width: 100%;
    width: 62%;
    height: 40vh;
    padding: 20px 20px;
    font-size: 16px;
    resize: none;
    border: 2px solid #FFF;
    outline: none;
    border-radius: 10px;
    background-color: #150B1F;
    caret-color: #FFF;
    margin-top: 40px;
}

textarea:focus,
textarea:valid {
    color: #FFF;
}

.sub {
    color: #FFF;
    font-size: 20px;
    padding: 12px 50px;
    background-color: #0F4C75;
    border: 2px solid #000000;
    border-radius: 30px;
    margin-top: 40px;
    font-weight: 500;
    cursor: pointer;
    transition: all .42s;
}


.sub:hover {
    background-color: white;
    color: #000000;
    background: #fff;
    color: #000000;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.footer {
    background-color: #100719;
}

.main-footer {
    text-align: center;
    padding: 40px 0px;
}

.main-footer img {
    max-width: 100%;
    width: 140px;
    height: auto;
    margin-bottom: 20px;
}

.footer-li a {
    color: #FFF;
    font-size: 18px;
    text-decoration: none;
    text-transform: capitalize;
    font-weight: 500;
    padding: 0px 20px;
    transition: all .42s;
}

.footer-li a:hover {
    color: #2fa1ee;
}

.main-footer p {
    color: #A7A2A2;
    font-size: 17px;
    margin-top: 30px;
}

.box-proj img:hover {
    transition: 0.3s ease-in-out;
    transform: scale(1.1);
    transition: all .42s;
}

.tech-stack {
    background: #181818;
    color: #fff;
    padding: 40px 30px;
    border-radius: 16px;
    max-width: 700px;
    margin: 40px auto;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
}

.tech-stack-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 35px;
    color: #fff;
}

.tech-stack-header h2 {
    font-size: 1.6rem;
    font-weight: bold;
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 10px;
}

.tech-stack-header .view-all {
    color: #b3b3b3;
    text-decoration: none;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.tech-stack-header .view-all:hover {
    color: #ffffff;
    cursor: pointer;
}

.tech-category {
    margin-bottom: 24px;
}

.tech-category h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
}

.tech-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    border-radius: .375rem;
    padding: 6px 16px;
    font-size: 1rem;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
    cursor: default;
    margin-bottom: 6px;
}

.pill img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: inline-block;
}

.pill:hover {
    background: #fff;
    color: #181818;
}

.project-card {
    background: #18181b;
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s;
}

.project-card:hover {
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.28);
}

.project-image {
    width: 100%;
    aspect-ratio: 16/9;
    background: #23232a;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    transition: .42s;
}

.project-image img.active {
    opacity: 1;
}

.project-content {
    padding: 1.5rem 1.2rem 0.2rem 1.2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.project-content h3 {
    color: #2fa1ee;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.project-content p {
    color: #b3b3b3;
    font-size: 1rem;
    margin-bottom: 1.2rem;
    min-height: 48px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-tags a {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0rem 0rem 1.2rem 1.2rem;
}


.tag {
    background: #23232a;
    color: #fff;
    border-radius: 16px;
    padding: 0.3em 1em;
    font-size: 0.95em;
    font-weight: 500;
    border: 1px solid #333;
    transition: background 0.2s, color 0.2s;
}

.tag-more {
    background: #23232a;
    color: #b3b3b3;
    border: 1px solid #444;
}

.tag-preview {
    display: flex;
    margin: auto;
    margin-top: 15px;
    background: #2fa1ee;
    color: #fff;
    border-radius: 16px;
    padding: 0.5em 1em;
    font-size: 0.95em;
    font-weight: 600;
    border: 1px solid #333;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
}

.tag-preview:hover {
    background-color: #fff;
    color: #000000;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

@keyframes animationGradient {
    to {
        background-position: 200%;
    }
}

#preloader {
    background: #000 url(images/ezgif-2-078cdcb3f1d3.gif) no-repeat center center;
    background-size: 35%;
    background-color: #0E111F;
    height: 100vh;
    width: 100%;
    position: fixed;
    z-index: 999999;
}

#preloader iframe {
    display: none;
}

.sticky-visitor-counter {
    position: fixed;
    bottom: 18px;
    left: 18px;
    z-index: 9999;
    background: #181818;
    color: #e0e0e0;
    border-radius: 2em;
    display: flex;
    align-items: center;
    font-size: 1.08rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.13);
    min-width: 57px;
    max-width: 200px;
    gap: 0.6em;
    padding: 0.3em 1.2em 0.3em 0.9em;
    transition: max-width 0.35s cubic-bezier(.4, 2, .6, 1), padding 0.35s cubic-bezier(.4, 2, .6, 1);
    overflow: hidden;
    cursor: pointer;
}

.sticky-visitor-counter.collapsed {
    max-width: 130px;
    padding-right: 0.7em;
}

.sticky-visitor-counter .visitor-label {
    opacity: 1;
    transition: opacity 0.2s;
    white-space: nowrap;
}

.visitor-label {
    font-size: .7em;
}

.sticky-visitor-counter.collapsed .visitor-label {
    opacity: 0;
    width: 0;
    margin: 0;
    padding: 0;
    pointer-events: none;
}

.visitor-eye {
    color: #2fa1ee;
    font-size: 0.9em;
    margin-right: 0.2em;
    display: flex;
    align-items: center;
}

.visitor-count {
    font-weight: bold;
    color: #fff;
    margin-right: 0.2em;
    font-size: 0.9em;
}


/*---- responsive area ----*/
@media (max-width:1420px) {
    header {
        padding: 25px 5%;
        transition: .5s;
    }

    section {
        padding: 120px 5% 60px;
        transition: .5s;
    }

    header.sticky {
        padding: 14px 5%;
        transition: .5s;
    }

    .home-img img {
        width: 420px;
        height: auto;
        transition: .5s;
    }
}

@media (max-width:1180px) {
    .home-text h1 {
        font-size: 55px;
        line-height: 1.2;
        transition: .4s;
    }

    .home-text h4 {
        font-size: 25px;
        transition: .4s;
    }

    .home-icon i {
        margin-bottom: 30px;
        transition: .4s;
    }

    .home-img img {
        width: 400px;
        height: auto;
        transition: .5s;
    }

    .navbar i {
        display: none;
    }

    #preloader {
        background-size: 50%;
    }
}

@media (max-width:1080px) {
    .home-text h1 {
        font-size: 45px;
        line-height: 1.2;
        transition: .4s;
    }

    .home-text h3 {
        font-size: 25px;
        margin-bottom: 15px;
        transition: .4s;
    }

    .home-text p {
        margin-bottom: 25px;
        transition: .4s;
    }

    .home-icon i {
        margin-bottom: 30px;
        transition: .4s;
    }

    .home-img img {
        width: 380px;
        height: auto;
        transition: .5s;
    }

    #preloader {
        background-size: 55%;
    }

    .areas {
        background-color: #170A24;
        padding: 120px 20% 60px;
    }
}

@media (max-width:1000px) {
    .home {
        display: block;
        flex-wrap: wrap;
        height: 100%;
    }

    .home-text {
        position: relative;
        left: 10px;
        margin-bottom: 40px;
        padding-top: 30px;
        justify-content: center;
        text-align: center;
    }

    .home-img {
        position: relative;
        left: 10px;
        text-align: center;
    }
}

@media (max-width:850px) {
    #preloader {
        background-size: 75%;
    }

    .areas {
        background-color: #170A24;
        padding: 120px 15% 60px;
    }
}

@media (max-width:550px) {
    .home-text h1 {
        font-size: 40px;
        line-height: 1.2;
        transition: .4s;
    }

    .home-text h3 {
        font-size: 22px;
        margin-bottom: 15px;
        transition: .4s;
    }

    /* --font is too much--
    .about-text h2 {
        font-size: 29px;
        transition: .3s;
    }*/

    .project-top h2 {
        font-size: 29px;
        line-height: 1.2;
    }

    .project-list a {
        padding: 0px 0px;
    }

    .client-top h2 {
        font-size: 35px;
        line-height: 1.2;
        transition: .4s;
    }

    .cont-top h2 {
        font-size: 35px;
        line-height: 1.2;
        transition: .4s;
    }

    .footer-li a {
        padding: 0px 5px;
    }

    #preloader {
        background-size: 95%;
    }
}

@media (max-width:1100px) {
    .main-about {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .about-img {
        text-align: center;
        order: 2;
    }
}

@media (max-width:980px) {
    form .cont-input input {
        width: 62%;
        transition: .5s;
    }

    form .cont-input button {
        width: 62%;
        transition: .5s;
    }

    #menu-icon {
        display: block;
    }

    .navbar {
        position: absolute;
        top: -1000px;
        right: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 10px 20px;
        /* backdrop-filter: blur(40px); */
        background-color: rgba(14, 13, 13, 0.9);
        transition: all .42s;
    }

    header.sticky {
        background-color: rgba(14, 13, 13, 0.9);
    }

    /*
    .home-text{
        position: relative;
        left: 1rem;
    }
    */

    .navbar a {
        display: block;
        font-size: 25px;
        margin: 5px;
    }

    .navbar a::before {
        display: block;
        font-size: 25px;
        margin: 5px;
    }

    .navbar a:hover::before {
        display: block;
        font-size: 25px;
        margin: 5px;
    }

    .navbar.open {
        top: 100%;
        height: 580%;
    }

    .navbar i {
        display: inline;
        position: relative;
        top: 40px;
        position: relative;
        left: 0px;
    }
}

@media (max-width: 410px) {
    .main-project {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        margin-top: 1rem !important;
    }

    .project-card {
        border-radius: 10px;
        min-width: 0;
        margin: 0 2px;
    }

    .project-image {
        aspect-ratio: 16/10;
        min-height: 120px;
    }

    .project-content {
        padding: 1rem 0.7rem 0.2rem 0.7rem;
    }

    .project-content h3 {
        font-size: 1.05rem;
    }

    .project-content p {
        font-size: 0.92rem;
        min-height: unset;
    }

    .project-tags a {
        gap: 0.3rem;
        padding: 0rem 0rem .5rem .5rem;
    }

    .tag {
        font-size: 0.85em;
        padding: 0.2em 0.7em;
    }
}

@media (max-width:386px) {
    .project-tags a {
        gap: 0.3rem;
        padding: 0rem 0rem 0rem 0rem;
    }
}

@media (max-width:368px) {
    .project-tags a {
        gap: 0.3rem;
    }
}

@media (max-width:557px) {
    .main-cont button {
        font-size: 16px;
        width: 50%;
    }
}

@media (max-width:491px) {
    .main-cont button {
        font-size: 16px;
        width: 30%;
    }
}

@media (max-width:357px) {
    .nav-btn {
        font-size: 16px;
    }
}

@media (max-width:700px) {
    form .cont-input input {
        width: 100%;
        transition: .5s;
    }

    form .cont-input button {
        width: 100%;
        transition: .5s;
    }

    form textarea {
        width: 100%;
    }

    .cont-input input {
        margin: 10px 0px;
    }

    .cont-input button {
        margin: 10px 0px;
    }
}

@media (max-width:491px) {
    .main-cont button {
        font-size: 15px;
        width: 50%;
    }
}

@media (max-width:479px) {
    .tech-stack-header {
        gap: 0;
    }
}

@media (max-width:435px) {
    .tech-stack-header h2 {
        font-size: 1.2rem;
    }
}

@media (max-width:330px) {
    .tech-stack-header h2 {
        font-size: 1rem;
    }
}


@media (max-width:450px) {
    .logo img {
        width: 120px;
        height: auto;
    }

    .nav-btn {
        padding: 12px 20px;
    }

    #preloader {
        background-size: 120%;
    }
}

@media (max-width:475px) {
    .main-cont button {
        font-size: 15px;
        width: 55%;
    }
}

@media (max-width:432px) {
    .main-cont button {
        font-size: 15px;
        width: 60%;
    }
}

@media (max-width:396px) {
    .main-cont button {
        font-size: 15px;
        width: 65%;
    }

    .areas {
        background-color: #170A24;
        padding: 120px 10% 60px;
    }
}



@media (max-width: 795px) {
    .location .images .box-proj {
        width: 100%;
    }
}

@media (max-width: 706px) {
    .location .images .box-proj {
        width: 100%;
    }

}

@media (max-width: 546px) {
    .location .images .box-proj {
        width: 100%;
    }
}

/*----webkit-scrollbar---- */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #000000;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(transparent, #2fa1ee);
    border-radius: 15px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(transparent, #FA614F);
}

/*----github-repositories---- */

.github-contributions {
    background: transparent;
    border-radius: 18px;
    padding: 48px 4vw 40px 4vw;
    margin: 50px auto 0 auto;
    max-width: 1500px;
    text-align: center;
    box-shadow: none;
    position: relative;
}

.contrib-title {
    font-size: 40px;
    font-weight: 700;
    color: #FA614F;
    margin-bottom: 28px;
    letter-spacing: 1px;
}

.contrib-highlight {
    color: #fff;
}


.contrib-graph-wrap {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.contrib-svg-graph {
    width: 1050px;
    max-width: none;
    min-width: 0;
    height: auto;
    background: transparent;
    border-radius: 18px;
    margin: 0 auto 18px auto;
    border: none;
    box-shadow: none;
}

.contrib-svg-graph text {
    fill: #adbac7;
    font-size: 9px;
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
}

.contrib-month-label {
    text-anchor: start;
}

.contrib-day-label {
    text-anchor: start;
    dominant-baseline: central;
}

.contrib-svg-graph rect.contrib-active-rect {
    filter: drop-shadow(0 0 2px currentColor);
}

.contrib-count {
    color: #fff;
    font-size: 0.95rem;
    margin: 0;
    text-align: left;
    font-family: 'Montserrat', Arial, sans-serif;
    line-height: 1;
}

.contrib-legend {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    font-size: 0.95rem;
    color: #fff;
    margin: 0;
    font-family: 'Montserrat', Arial, sans-serif;
    flex-shrink: 0;
    line-height: 1;
}

.contrib-box {
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.15);
    transition: background 0.2s, border 0.2s;
}

.box-1 {
    background: #21262d;
}

.box-2 {
    background: #16693a;
}

.box-3 {
    background: #279044;
}

.box-4 {
    background: #40c463;
}

.box-5 {
    background: #6be484;
}

.box-6 {
    background: #68f383;
}


.contrib-graph-wrap::-webkit-scrollbar {
    display: none;
}

.contrib-graph-wrap {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

@media (max-width: 800px) {
    .github-contributions {
        padding: 24px 1vw 24px 1vw;
        max-width: 100vw;
    }

    .contrib-title {
        font-size: 1.6rem;
    }

    .contrib-svg-graph {
        min-width: 0;
    }

    .contrib-svg-graph text {
        font-size: 8px;
    }

    .contrib-count {
        font-size: 0.85rem;
    }

    .contrib-legend span:not(.contrib-box) {
        font-size: 0.75rem;
    }

    .contrib-box {
        width: 18px;
        height: 18px;
        border-radius: 5px;
    }
}

.contrib-footer-details {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1050px;
    margin: 10px auto 0 auto;
    padding: 0 5px;
}

.contrib-count {
    color: #fff;
    font-size: 0.95rem;
    margin: 0;
    text-align: left;
    font-family: 'Montserrat', Arial, sans-serif;
    line-height: 1;
}

.contrib-legend {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    font-size: 0.95rem;
    color: #fff;
    margin: 0;
    font-family: 'Montserrat', Arial, sans-serif;
    flex-shrink: 0;
    line-height: 1;
}

.contrib-legend span:not(.contrib-box) {
    font-size: 0.85rem;
}

@media (max-width: 800px) {
    .contrib-count {
        font-size: 0.85rem;
    }

    .contrib-legend span:not(.contrib-box) {
        font-size: 0.75rem;
    }
}

.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.gallery-modal-content {
    background: url(images/universe.png);
    background-size: 900px 1000px;
    padding: 2rem 2rem 1.5rem 2rem;
    border-radius: 16px;
    min-width: 350px;
    max-width: 900px;
    width: 90vw;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    position: relative;
}

.gallery-modal-content .img {
    width: 100px;
}

.gallery-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.gallery-title {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.gallery-header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.gallery-logo {
    width: 120px;
    height: auto;
}

.gallery-close {
    font-size: 4rem;
    color: #fff;
    cursor: pointer;
    margin-left: 1rem;
}

.gallery-main-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.gallery-main-img {
    width: 600px;
    max-width: 70vw;
    border-radius: 10px;
    background: #222;
    box-shadow: 0 0px 26px rgba(255, 255, 255, 0.5);
}

.gallery-main-wrap i {
    font-size: 2.5rem;
    color: #fff;
    cursor: pointer;
    user-select: none;
    padding: 0 10px;
    transition: color 0.2s;
    display: none;
}

.gallery-close:hover {
    color: #2fa1ee;
}

.gallery-thumbnails {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.gallery-thumb {
    width: 90px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border 0.2s;
    background: #222;
}

.gallery-thumb.active,
.gallery-thumb:hover {
    border: 2px solid #ffff;
}

@media (max-width: 800px) {
    .gallery-main-img {
        width: 90vw;
    }

    .gallery-thumb {
        width: 60px;
        height: 45px;
    }
}