html, body {
    width: 100%;
    overflow-x: hidden;
    font-family: "poppins", sans-serif;
}

html {
    scroll-behavior: smooth;
}
* {
    margin: 0;
    box-sizing: border-box;

}
.container {
    max-width: 1140px;
    margin: auto;
}
.row {
    display: flex;
    flex-wrap: wrap;
    overflow-x: hidden;
    overflow-y: hidden;
}
.section-title {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 40px;
}
.section-title h1{
    display: inline-block;
    font-size: 25px;
    text-transform: uppercase;
    font-weight: 600;
    color: #000;
    margin: 0 0 5px;
    position: relative;
}
.section-title h1::before {
    content: "";
    left: 0;
    position: absolute;
    height: 2px;
    right: 32%;
    background-color: #febd31;
    bottom: 0;
    margin: auto;
}
.text-upper {
    text-transform: uppercase;
}
.align-center {
    align-items: center;
}
.text-center {
    text-align: center !important;
}
/* header css */

.nav-btn .fa{
    font-size: 20px;
    height: 30px;
    width: 35px;
    background-color: #ffffff;
    color: #000;
    border-radius: 3px;
    line-height: 30px;
    cursor: pointer;
    text-align: center;
    border: 1px solid #cccccc;
    display: none;
}
header {
    position: absolute;
    left: 0;
    right: 0;
    border-bottom: 1px solid #423441;
    padding: 0 15px;
    z-index: 11;
    /* background-color: red; */
}
header.fixed {
    background-color: #ffffff;
    position: fixed;
    border-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    animation: fixheader 0.5s ease;
    z-index: 11;
}
header.fixed .brand-name a{
    color: #000;

}
header.fixed .navbar ul li a{
    color: #000;
}
header.fixed .navbar ul li a::before {
    background-color: #febd31;
}

@keyframes fixheader {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: rotateY(-1);
    }
}

header .row{
    justify-content: space-between;
    align-items: center;
}

header .brand-name a{
    text-decoration: none;
    font-size: 23px;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    position: relative;
}

header .navbar ul li{
    display: inline-block;
    margin-left: 35px;
}
header .navbar ul li a {
    font-size: 15px;
    text-decoration: none;
    line-height: 72px;
    color: #ffffff;
    display: block;
    font-weight: 600;
    position: relative;
}
header .navbar ul li a:before {
    content: "";
    height: 3px;
    background-color: #ffffff;
    width: 0;
    position: absolute;
    right: 0;
    bottom: -1px;
    transition: all .5s ease;

}
header .navbar ul li a:hover::before {
    width: 100%;
    left: 0;
}
header .navbar ul li a.active::before {
    width: 100%;
    left: 0;
}


/* home css */
.home {
    min-height: 100vh;
    background-image: linear-gradient(180deg, rgba(0,0,0,0.6)0%, rgba(0,0,0,1)100%),
    url('img/2.jpg');
    background-size: cover;
    background-position: center;
    padding: 15px;
}

.home .full-screen {
    min-height: 100vh;
}
.home .home-content {
    flex: 0 0 100%;
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.home .home-content .block {
    flex: 0 0 75%;
    max-width: 75%;
    padding-left: 35px;
    border-left: 5px solid #ffffff;
    margin-top: 50px;
}
.home .home-content .block h4{
    color: #ffffff;
    font-size: 25px;
    font-weight: 500;
    margin: 0;
    padding: 0;
}
.home .home-content .block h1{
    color: #ffffff;
    /* background: linear-gradient(40deg, #ff0080, #ff8c00 70%); */
    font-size: 45px;
    font-weight: 600;
    margin: 0;
    padding: 0;
}
.home .home-content .block h3{
    color: #ffffff;
    font-size: 25px;
    font-weight: 600;
    margin: 0;
    padding: 0;
}
.home .home-content .block .cv-btn{
    padding-top: 20px;
}

.cv-download{
    border-radius: 4px;
    color: #ffffff;
    border: 1px solid #ffffff;
    padding: 12px 25px;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    transition: all .5s ease;
}

.cv-download:hover{
    background-color: #ffffff;
    color: #000;
}
.contact-me {
    margin-top: 20px;
    color: #000000;
    background-color: #fff;
    /* margin-left: 20px; */
    border-radius: 4px;
    border: 1px solid #ffffff;
    padding: 12px 25px;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    transition: all .5s ease;
}
.contact-me:hover {
    color: #fff;
    background-color: transparent;
    margin-left: 20px;
}

/* mouse scroll */
.home-hero-scroll {
    position: absolute;
    bottom: 3%;
    left: 50%;
    transform: translate(-50%);
}
.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid #ffffff;
    position: relative;
    border-radius: 60px;
    overflow: hidden;
}
.mouse::before{
    content: "";
    width: 5px;
    height: 5px;
    position: absolute;
    top: 7px;
    left: 50%;
    transform: translate(-50%);
    background-color: #ffffff;
    border-radius: 50%;
    opacity: 1;
    animation: wheel 1.3s infinite;
}

@keyframes wheel {

    to {
        opacity:0;
        top: 27px;
    }
}

@-webkit-keyframes wheel {
    to {
        opacity:0;
        top: 27px;
    }
}


/* social media side bar  */

.s-media-bar {
    position: fixed;
    top: 50%;
    border: 2px solid #fff;
    border-left: 2px solid #fff;
    background-color: #000;
    box-shadow: rgba(100, 100, 111, 0.2) 0 7px 20px 0;
    transform: translateY(-50%);
    right: 10px;
    z-index: 1;
}
.s-media-item {
    width: 50px;
}
.s-media-link {
    width: 100%;
    display: block;
    padding: 12px;
    border-bottom: 2px solid #fff;
    text-align: center;
    transition: background .5s;
}
.s-media-link:hover {
    background: rgba(255, 255, 255, 0.1);
}
.s-media-icon {
    font-size: 20px;
    color: #fff;
}
.s-media-link:hover .s-media-icon {
    color: #febd31;
}

/* About section css */
.about-me {
    padding: 100px 15px;
    background-color: #fff;

}
.about-me .about-content {
    position: relative;
}
.about-me .about-content .img {
    flex: 0 0 33.33%;
    max-width: 33.33%;
}
.desc-contact {
    display: flex;
    gap: 25px;
}
.desc-contact svg {
    width: 30px;
    height: 25px;
    padding-top: 7px;
    margin-top: 5px;
}

.desc-contact a {
    text-decoration: none;
    font-size: 18px;
    color: #000;
    padding-bottom: 10px;
    margin-bottom: 5px;
    font-weight: 400;
}

.about-me .about-content .img img{
    width: 100%;
    display: block;
    border-radius: 50%;
    border: 1px solid #febd31;
    box-shadow: rgba(100, 100, 111, 0.2) 0 7px 20px 0;

}
.about-me .about-content .text {
    flex: 0 0 66.66%;
    max-width: 66.66%;
    padding-left: 36px;
}
.about-me .about-content .text h2 {
    font-size: 25px;
    font-weight: 600;
    margin: 0 0 5px;
    color: #000;
}
.about-me .about-content .text h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 5px;
    color: #000;
}
.about-me .about-content .text h4 span{
    color: #febd31;
}
.about-me .about-content .text p{
    font-size: 15px;
    font-weight: 400;
    margin: 0 0 20px;
    color: #000;
    line-height: 24px;
}
.about-me .about-content .text .social-link {
    padding-top: 32px;
}
.about-me .about-content .text .social-link a {
    height: 30px;
    width: 30px;
    background-color: #000;
    border-radius: 3px;
    display: inline-block;
    border: 1px solid #000;
    list-style: 20px;
    text-align: center;
    margin: 0 1px;
    transition: all .5s ease;
}
.about-me .about-content .text .social-link a:hover {
    background-color: transparent;
}
.about-me .about-content .text .social-link a .fa-brands {
    color: #fff;
    font-size: 12px;
    transition: all .5s ease;
}
.about-me .about-content .text .social-link a:hover .fa-brands{
    color: #000;
}

/* sticky arrow styles */
.up-arrow {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #000;
    color: #fff;
    padding: 10px;
    border-radius: 50%;
    box-shadow: rgba(100, 100, 111, 0.2) 0 7px 20px 0;
    transition: all .5s ease;
    z-index: 100;
    display: none;
}
.up-arrow a svg{
    color:  #fff;
    position: sticky;
}
.active {
    display: block;
}



/* skills scroller */

.pro-skills {
    background-color: #f1f1f1;
    /* height: ; */
    width: 100%;
}
.tech-skills {
    padding-top: 25px;
}
.services .section-title h1::before {
    left: 30%;
}
.pro-skills .tech-skills h1::before {
    left: 32%;
}
.scroller-items {
    display: flex;
}
.tag-list {
    margin: 0;
    padding-inline: 0;
    list-style: none;
}
.tag-list li {
    padding: 1rem;
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem -0.25rem #cccccc;
    color: #333;
}
.tag-list img {
    /* padding: 1rem; */
    /* background: #333; */
    border-radius: 0.5rem;
    /* box-shadow: 0 0.5rem 1rem -0.25rem #cccccc; */
    width: 55px;
    color: #fff;
}

.scroller {
    width: 900px;
    max-width: 70%;
    margin: 0 auto;
    /* overflow: hidden; */
    /* border: 3px solid lime; */
    text-align: center;
}
.scroller-inner {
    padding-block: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    
}
.scroller[data-animated=true]{
    overflow: hidden;
    mask: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
}

.scroller[data-animated=true] .scroller-inner {
    width: max-content;
    flex-wrap: nowrap;
    animation: scroll 
    var(--_animation-duration, 40s) 
    var(--_animation-direction, forwards)
    linear infinite;
}
.scroller[data-direction="left"]{
    --_animation-direction: forwards;
}
.scroller[data-direction="right"]{
    --_animation-direction: reverse;
    margin-bottom: 25px;
}
.scroller[data-speed="fast"]{
    --_animation-duration: 20s;
}
.scroller[data-speed="slow"]{
    --_animation-duration: 20s;
}



@keyframes scroll {
    to {
        transform: translate(calc(-50% - .5rem));
    }
}



/* Services */
.services {
    background-color: #f1f1f1;
    padding: 100px 15px;
}
.services .section-title h1::before {
    left: 30%;
}
.services .services-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}
.service-card {
    height: 250px;
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: transform .3s ease;
    /* border: 1px solid #cccc; */
}
.service-card .img-card {
    width: 100%;
    height: 50%;
    margin-top: 10px;
    border: 1px solid #cccc;
    border-radius: 5px;
    /* background-image: url("img/Capture.PNG"); */
    background-position: center;
    background-size: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}
.service-card .img-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    /* background-size: cover; */
    object-fit: cover;
}


.border-1 {
    border: 1px solid #cccc;
    height: 400px;
}
.border-1 p{
    padding: 10px 0 10px 0;
    margin: 5px 0 0 0;
}
.border-1 a{
    color: #fff;
    background: #000;
    padding: 10px;
    border-radius: 5px;
    margin-top: 20px;
    text-decoration: none;
    transition: all .5s ease-in-out;
}
.border-1 a:hover {
    color: #000;
    background: #fff;
    border: 1px solid #000;
}


.service-card:hover {
    transform: translateY(-10px);
}
.service-card h4{
    font-size: 18px;
    margin: 15px 0;
    color: #000;
}
.service-card p{
    font-size: 15px;
    color: #828282;
}
.icon-bg {
    position: relative;
    width: 64px;
    height: 64px;
    margin: 0 auto 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 32px;
    z-index: 1;
}
.icon-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: currentColor;
    border-radius: 50%;
    opacity: 0.1;
    z-index: -1;
}

/* color */
.icon-primary {
    color: blue;
}
.icon-yellow {
    color: #febd31;
}
.icon-purple {
    color: #423441;
}
.icon-red {
    color: #ff4349;
}
.icon-green {
    color: lime;
}
.icon-cyan {
    color: rgba(0, 255, 213, 0.712);
}


/* skills section */

.skills {
    padding: 100px 15px 40px 15px;
    background-color: #ffffff;
}
.skills .skills-content {
    flex: 0 0 50%;
    max-width: 50%;
    padding-right: 40px;
}
.skills .img {
    flex: 0 0 50%;
    max-width: 50%;
}
.skills .img img {
    width: 100%;
    display: block;
    /* flex-grow: 1;
    object-fit: cover; */

}
.skills .skills-content .section-title p {
    font-size: 15px;
    font-weight: 400;
    line-height: 24px;
    color: #838383;
    margin: 15px 0;
}
.skills .skills-content .skill-box {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 30px;
}
.skills .skills-content .skill-box h4 {
    font-size: 15px;
    font-weight: 600;
    line-height: 24px;
    color: #000;
    margin: 0 0 8px;

}
.skills .skills-content .skill-box .skill-bar {
    height: 5px;
    background-color: #ccc;
    position: relative;
}
.skills .skills-content .skill-box .skill-bar .skill-bar-in {
    background-color: #febd31;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
}
.skills .skills-content .skill-box .skill-bar .skill-bar-in span {
    color: #838383;
    font-size: 15px;
    font-weight: 400;
    position: absolute;
    right: 0;
    top: -25px;
}
.message-text {
    background-color: #000;
    padding: 40px 15px;
}

.message-text .text {
    flex: 0 0 66.66%;
    max-width: 66.66%;
}
.message-text .button {
    flex: 0 0 33.33%;
    max-width: 33.33%;
    text-align: right;
}
.message-text h2 {
    font-size: 25px;
    color: #fff;
    font-weight: 500;
    margin-top: 0;
    padding: 0;
    line-height: 35px;
}

.message-text .button a{
    border-radius: 4px;
    color: #ffffff;
    border: 1px solid #ffffff;
    padding: 12px 25px;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    transition: all .5s ease;
}
.message-text .button a:hover {
    background-color: #ffffff;
    color: #000;
}


/* Projects */

.projects {
    padding: 100px 15px 0 15px;
    background-color: #f1f1f1;

}
.projects .section-title h1::before {
    left: 32%;
}
.project-card {
    padding: 10px 0;
}
.project-card:last-child{
    margin-bottom: 0;
}
.project-img-ctn {
    overflow: hidden;
    flex: 0 0 50%;
    max-width: 50%;
}
.project-img {
    width: 100%;
    object-fit: cover;
}
.project-details {
    padding: 20px 0;
    flex: 0 0 50%;
    max-width: 50%;
}
.project-title {
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 20px;
}
.project-desc {
    font-size: 13px;
    color: grey;
    max-width: 600px;
    line-height: 1.7;
    margin-bottom: 30px;
}
.project-details .button a{
    border-radius: 4px;
    color: #000;
    border: 1px solid #000;
    padding: 12px 25px;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    transition: all .5s ease;
}
.project-details .button a:hover {
    background-color: #000;
    color: #fff;
}


/* Contact us css */

.contact-us {
    padding: 100px 15px;
    background-color: #f1f1f1;
}
.contact-us .section-title h1::before {
    left: 30%;
}

.contact-us .contact-form {
    background-color: #ffffff;
    flex: 0 0 100%;
    max-width: 100%;
    padding: 50px;
    border: 1px solid #cccccc;
}
.contact-us .container .section-title {
    text-align: center;
    margin-bottom: 10px;
}
.contact-us .contact-form .form-header h2 {
    font-size: 26px;
    font-weight: 600;
    color: #000;
    margin: 0;
    padding: 0;
    text-align: left;
}

.contact-us .contact-form .form-header p{
    font-weight: 400;
    line-height: 24px;
    color: #838383;
    margin: 0;
    padding: 10px 0 10px 0;
}
.contact-us .contact-form .form-fields {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}
.contact-us .contact-form .input-field {
    flex: 1;
}
.contact-us .contact-form .input-field.full-width{
    flex: 1 0 100%;
}

.contact-us .contact-form .form-control {
    height: 45px;
    width: 100%;
    margin-bottom: 15px;
    padding: 6px 17px;
    font-size: 14px;
    border: 1px solid #ccc;
    font-family: "poppins", sans-serif;
} 
.contact-us .contact-form textarea.form-control {
        height: 150px;
}
input:focus, textarea:focus {
    outline: 1px solid #1ABC9C;
}
.contact-us .contact-form textarea.form-control::placeholder{
    color: #838383;
}
.contact-us .contact-form .form-submit {
    text-align: right;
}
.contact-us .contact-form .submit-button {
    border-radius: 4px;
    color: #fff;
    border: 1px solid #000;
    background-color: #000;
    padding: 12px 25px;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
    transition: all .5s ease;
}
.contact-us .contact-form .submit-button:hover {
    background-color: #fff;
    color: #000;
}

/* footer */
footer {
    padding: 50px 15px;
    background-color: #000;
}
footer .logs {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
    font-size: 45px;
    color: #ffffff;
    font-weight: 900;
}
footer .social {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
    padding-top: 15px;
}

footer .social a {
    color: #999999;
    text-decoration: none;
    display: inline-block;
    margin: 0 12px;
    font-size: 25px;
    transition: all .5s ease;
}
footer .social a:hover {
    color: #ffff;
}


/* copyright */
.copyright {
    background-color: #000;
    border-top: 1px solid #1d1d27;
    padding: 15px;
}
.copyright p {
    color: #999999;
    margin: 0;
    text-align: center;
    font-weight: 400;
    font-size: 25px;
}



/* responsive */

@media (max-width: 931px){
    .home .home-content .block h1 {
        font-size: 54px;
    }
}

@media (max-width:747px){
    .home .home-content .block h1 {
        font-size: 40px;
    }
    .home .home-content .block h3 {
        font-size: 25px;
    }
    header {
        padding: 20px 15px;
        position: fixed;
        background-color: #fff;
        border: none;
        border-bottom: 1px solid #eeeeee;
    }
    header .brand-name a {
        color: #000;
    }
    header .navbar ul li {
        display: none;
    }
    .nav-btn .fa {
        display: inline-block;
        color: #000;
        
    }
    .navbar {
        position: absolute;
        background-color: #fff;
        width: 100%;
        left: 0;
        top: 60px;
        padding: 15px;
        border-top: 1px solid #cccccc;
        border-bottom: 1px solid #cccccc;
        display: none;
    }
    .navbar.show {
        display: block;

    }
    header .navbar ul li {
        display: block;
        margin-left: 0;
    }
    header .navbar ul li a {
        line-height: 42px;
        color: #000;
    }
    header .navbar ul li a::before {
        background-color: #febd31;
    }
    .s-media-bar {
        display: none;
    }
    .about-me {
        padding: 20px 15px;
    }
    .about-me .about-content .text {
        flex: 0 0 100%;
        max-width: 100%;
        padding-left: 0;
        padding-top: 30px;
    }
    .desc-contact {
        display: flex;
        flex-direction: column;
        gap: 0;
        /* margin-bottom: 20px; */
        padding: 0;
    }
    .desc-contact p {
        margin-bottom: 0;
        padding: 0;
        font-weight: 400;
    }
    .desc-contact a {
        padding-bottom: 0;
    }
    .about-me .about-content .img {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .services {
        padding: 20px 15px;
    }
    .skills {
        padding: 20px 15px;
    }
    .skills .skills-content {
        flex: 0 0 100%;
        max-width: 100%;
        padding-right: 0;
    }
    .skills .skills-content .skill-box .skill-bar .skill-bar-in span{
        /* right: 0; */
        display: none;
    }
    .skills .img {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .message-text {
        padding: 20px 15px;
    }
    .message-text .text {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .message-text .button {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
        padding-top: 40px 20px;
    }
    .message-text .container .align-center {
        gap: 20px;
    }
    
    .message-text h2 {
        font-size: 20px;
        text-align: center;
    }
    .projects {
        padding: 20px 15px;
    }
    .project-card .project-img-ctn, .project-details{
        flex: 0 0 100%;
        max-width: 100%;
    }
    .project-card {
        text-align: center;
        padding-bottom: 20px;
        border-bottom: 1px solid #f1f1f1;
    }
    .project-desc {
        max-width: none;
        margin-bottom: 10px;
    }
    .project-title {
        margin-bottom: 10px;
    }
    .contact-us {
        padding: 20px 15px;

    }
    .contact-us .contact-form {
        padding: 20px;
    }
    .contact-us .contact-form .form-fields {
        flex-direction: column;
        gap: 0;
    }
    .contact-us .contact-form .form-fields,
    .contact-us .contact-form .form-fields.full-screen {
        flex: 1 0 100%;
    }
    footer {
        padding: 20px 15px;
    }
}

@media (max-width: 500px){
    .home .home-content .block h1 {
        font-size: 30px;
    }
    .home .home-content .block h3 {
        font-size: 20px;
    }
    .home .home-content .block {
        padding-left: 20px;
    }
    .section-title h1{
        font-size: 25px;
    }
    .project-desc {
        font-size: 15px;
        margin-bottom: 15px;
    }
    .project-title {
        font-size: 25px;
        margin-bottom: 0;
    }
    .project-details {
        padding: 0;
    }
    .tag-list li {
        padding: 0.5rem;
        background: #fff;
        border-radius: 0.2rem;
        /* box-shadow: 0 0.5rem 1rem -0.25rem #cccccc; */
        color: #333;
    }
    
    .scroller {
        /* width: 900px; */
        max-width: 90%;
        margin: 0 auto;
        /* overflow: hidden; */
        /* border: 3px solid lime; */
        text-align: center;
    }
}



[data-aos] {
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}




