/*  import google fonts */
/*Template by CodingNepal, Revamped by Harsh Kachhia*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Ubuntu:wght@400;500;700&display=swap');

:root {
    --bggradient: linear-gradient(100deg, rgb(32, 38, 57) 35%, rgb(63, 76, 119) 55%);
    --inversegradient: linear-gradient(110deg, rgb(63, 76, 119) 15%, rgb(32, 38, 57) 65.2%);
    --scrollbar: linear-gradient(130deg, rgb(63, 76, 119) 42%, rgb(32, 38, 57) 65.2%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

html {
    scroll-behavior: smooth;
}

/* custom scroll bar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    /*background: #f1f1f1;*/
    background: white;
}

::-webkit-scrollbar-thumb {
    /*background: #888;*/
    background: #8b9dc3;
}

::-webkit-scrollbar-thumb:hover {
    background: #3b5998;
}

/* all similar content styling codes */
section {
    padding: 60px 0;
    /*general padding*/
}

.max-width {
    max-width: 1300px;
    padding: 0 80px;
    margin: auto;
}

.about,
.services,
.skills,
.teams,
.contact,
footer {
    font-family: 'Poppins', sans-serif;
}

.about .about-content,
.services .serv-content,
.skills .skills-content,
.contact .contact-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

section .title {
    position: relative;
    text-align: center;
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 60px;
    padding-bottom: 20px;
    font-family: 'Ubuntu', sans-serif;
}

section .title::before {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 50%;
    width: 180px;
    height: 3px;
    background: #111;
    transform: translateX(-50%);
}

section .title::after {
    position: absolute;
    bottom: -8px;
    left: 50%;
    font-size: 20px;
    color: #3b5998;
    /*who am i*/
    padding: 0 5px;
    background: #fff;
    transform: translateX(-50%);
}

/* navbar styling */
.navbar {
    position: fixed;
    width: 100%;
    z-index: 999;
    padding: 30px 0;
    font-family: 'Ubuntu', sans-serif;
    transition: all 0.3s ease;
}

.navbar.sticky {
    padding: 15px 0;
    background: var(--bggradient);
    /*Nav bar scroll*/
}

.navbar .max-width {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar .logo a {
    color: #fff;
    font-size: 35px;
    font-weight: 600;
}

.navbar .logo a span {
    color: #3b5998;
    transition: all 0.3s ease;
}

.navbar.sticky .logo a span {
    color: #fff;
}

.navbar .menu li {
    list-style: none;
    display: inline-block;
}

.navbar .menu li a {
    display: block;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    margin-left: 25px;
    transition: color 0.3s ease;
}

.navbar .menu li a:hover {
    color: #8b9dc3;
}

.navbar.sticky .menu li a:hover {
    color: #8b9dc3;
}

/* menu btn styling */
.menu-btn {
    color: #fff;
    font-size: 23px;
    cursor: pointer;
    display: none;
}

.scroll-up-btn {
    position: fixed;
    height: 45px;
    width: 42px;
    background: var(--scrollbar);
    right: 30px;
    bottom: 10px;
    text-align: center;
    line-height: 45px;
    color: #fff;
    z-index: 9999;
    font-size: 30px;
    border-radius: 6px;
    border-bottom-width: 2px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.scroll-up-btn.show {
    bottom: 30px;
    opacity: 1;
    pointer-events: auto;
    border: 2px solid rgb(32, 38, 57);
}

.scroll-up-btn:hover {
    color: #3b5998;
    background: none;
    filter: brightness(150%);
}


/* home section styling */
.home {
    display: flex;
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
        url("resources/banner.jpg");
    height: 100vh;
    color: #fff;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    font-family: 'Ubuntu', sans-serif;
}

.home .max-width {
    width: 100%;
    display: flex;
}

.home .max-width .row {
    margin-right: 0;
}

.home .home-content .text-1 {
    font-size: 27px;
}

.home .home-content .text-2 {
    font-size: 75px;
    font-weight: 600;
    margin-left: -3px;
}

.home .home-content .text-3 {
    font-size: 40px;
    margin: 5px 0;
}

.home .home-content .text-3 span {
    color: #4461a0;
    /*TYping Homescreen*/
    font-weight: 700;
}

.home .home-content a {
    display: inline-block;
    background: var(--inversegradient);
    color: #fff;
    font-size: 25px;
    padding: 12px 36px;
    margin-top: 20px;
    font-weight: 500;
    border-radius: 6px;
    border: 2px solid rgb(32, 38, 57);
    transition: all 0.3s ease;
}

.home .home-content a:hover {
    color: white;
    background: none;
    border: 2px solid white;
}

.white {
    color: white;
}

/* about section styling */
.about .title::after {
    content: "Who am I";
}

.about .about-content .left {
    width: 45%;
}

.about .about-content .left img {
    height: 572px;
    width: 435px;
    object-fit: cover;
    border-radius: 6px;
}

.about .about-content .right {
    width: 55%;
}

.about .about-content .right .text {
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 10px;
}

.about .about-content .right .text span {
    color: #3b5998;
}

.about .about-content .right p {
    text-align: justify;
}

.about .about-content .right a {
    display: inline-block;
    background: var(--inversegradient);
    color: #fff;
    font-size: 20px;
    font-weight: 525;
    padding: 10px 30px;
    margin-top: 20px;
    border-radius: 6px;
    border: 2px solid rgb(32, 38, 57);
    transition: all 0.3s ease;
}

.about .about-content .right a:hover {
    color: #3b5998;
    border: 2px solid #3b5998;
    background: none;
}

/* services section styling */
.services,
.teams {
    color: #fff;
    background: #111;
}

.work-experience .title::before,
.services .title::before,
.teams .title::before {
    background: #fff;
}

.work-experience .title::after,
.services .title::after,
.teams .title::after {
    background: #111;
    content: "What I've done";
}

.services .serv-content .card {
    width: calc(33% - 20px);
    background: #222;
    text-align: center;
    border-radius: 6px;
    padding: 35px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.services .serv-content .card:hover {
    background: #3b5998;
}

.services .serv-content .card .box {
    transition: all 0.3s ease;
}

.services .serv-content .card:hover .box {
    transform: scale(1.05);
}

.services .serv-content .card i {
    font-size: 50px;
    color: #3b5998;
    transition: color 0.3s ease;
}

.services .serv-content .card:hover i {
    color: #fff;
}

.services .serv-content .card .text {
    font-size: 25px;
    font-weight: 500;
    margin: 10px 0 7px 0;
}


/* Work Experience Section */
.work-experience {
    padding: 60px 0;
    background-color: #000;
    color: #fff;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    /* Ensuring consistent font */
}

.work-experience .title {
    font-size: 40px;
    font-weight: 500;
    /* Consistent with other section titles */
    margin-bottom: 40px;
    /* Adjusted margin for spacing without subtitle */
    color: #fff;
    font-family: 'Ubuntu', sans-serif;
    /* Font for titles */
    position: relative;
}

/* Experience Cards */
.experience-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.experience-card {
    display: flex;
    background-color: #222;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    align-items: center;
    width: 100%;
    max-width: 100%;
    font-family: 'Poppins', sans-serif;
    /* Ensure card content uses consistent font */
}

.company-logo {
    width: 130px;
    height: auto;
    margin-right: 20px;
    border-radius: 10px;
}

.experience-content {
    max-width: none;
}

.experience-content h3 {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 600;
    /* Ensuring uniform heading weight */
    font-family: 'Poppins', sans-serif;
    /* Font consistency */
}

.experience-content p {
    font-size: 1rem;
    margin: 10px 0;
    font-weight: 400;
    /* Font-weight adjusted for body text */
    color: #fff;
}

/* Fix for bullet points alignment */
.experience-content ul {
    list-style-type: disc;
    padding-left: 20px;
    margin: 0;
    /* Remove default margin to avoid unwanted indentation */
    font-weight: 400;
    color: #ccc;
    line-height: 1.5;
    text-align: left;
    /* Ensures the bullet points are left-aligned */
}

.experience-content ul li {
    font-size: 1rem;
    margin-bottom: 10px;
    padding-left: 0;
    /* Ensure no extra padding on the list item */
    line-height: 1.5;
    /* Improve readability */
    text-align: left;
    /* Ensures each list item is left-aligned */
}


/* Box Style for Skills/Technologies */
.askills-used {
    margin-top: 15px;
}

.askill {
    display: inline-block;
    color: #ccc;
    /* Text color set to white */
    background-color: transparent;
    /* Transparent background */
    border: 2px solid #ccc;
    /* Border color set to white */
    padding: 5px 10px;
    /* Adjusted padding for smaller size */
    margin: 5px;
    border-radius: 5px;
    font-size: 0.85rem;
    /* Smaller font size for experience card */
    font-weight: 400;
    /* Make text bold */
    transition: none;
    /* Remove hover transition */
}

/* Remove hover effect */
.askill:hover {
    background: transparent;
    /* Keep background transparent on hover */
    color: #fff;
    /* Keep text color white */
    border: 2px solid #fff;
    /* Keep border white */
}

/* Target the job details paragraph to be left-aligned */
.job-details {
    text-align: left;
    padding-left: 20px;
    margin-top: 20px;
}

/* Ensure flexbox layout for job info alignment */
.job-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 5px;
    margin-bottom: 15px;
}

.job-title {
    text-align: left;
    flex: 1;
    padding-right: 10px;
}

.job-location {
    text-align: center;
    flex: 1;
    padding-right: 10px;
}

.job-duration {
    text-align: right;
    flex: 1;
}

/* Padding around icons */
.experience-content p i {
    margin-left: 10px;
    margin-right: 10px;
    color: #ccc;
    vertical-align: middle;
}










/* Add media query for mobile responsiveness */
@media (max-width: 768px) {
    .experience-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        /* Center align the entire content */
        text-align: center;
    }

    .company-logo {
        margin: 10px 0;
        /* Ensure some spacing around the logo */
        width: 100px;
        /* Adjust the size of the logo for mobile */
    }

    .experience-content {
        max-width: 100%;
    }

    .experience-content h3 {
        margin-top: 10px;
        /* Add some spacing above the company name */
    }

    .job-info {
        margin-bottom: 15px;
        /* Add space between the job info and the description */
    }
}





/* skills section styling */

.skills .title::after {
    content: "What I know";
}

.skills .skills-content .column {
    width: calc(50% - 30px);
}

.skills .skills-content .left .text {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.skills .skills-content .left p {
    text-align: justify;
}

.skills .skills-content .left a {
    display: inline-block;
    background: var(--inversegradient);
    color: #fff;
    font-size: 18px;
    font-weight: 525;
    padding: 8px 16px;
    margin-top: 20px;
    border-radius: 6px;
    border: 2px solid rgb(32, 38, 57);
    transition: all 0.3s ease;
}

.skills .skills-content .left a:hover {
    color: #3b5998;
    border: 2px solid #3b5998;
    background: none;
}

.skills .skills-content .right .bars {
    margin-bottom: 15px;
}

.skills .skills-content .right .info {
    display: flex;
    margin-bottom: 5px;
    align-items: center;
    justify-content: space-between;
}

.skills .skills-content .right span {
    font-weight: 500;
    font-size: 18px;
}

.skills .skills-content .right .line {
    height: 5px;
    width: 100%;
    background: lightgrey;
    position: relative;
}

.skills .skills-content .right .line::before {
    content: "";
    position: absolute;
    height: 100%;
    left: 0;
    top: 0;
    background: #3b5998;
}



ol {
    list-style-type: none;
    counter-reset: li;
    padding-left: 0px;
    /*ol padding shift */
}

.fontlis {
    font-size: 20px;
    margin-bottom: 15px;
}

.message-form {
    color: #3b5998;
}

.numbers {
    counter-increment: li;
    content: counter(li, decimal-leading-zero);
    color: #3b5998;
    margin-right: 0.25em;
    font-size: 25px;

}

/* li:before {
  counter-increment: li;
  content: counter(li, decimal-leading-zero);
    color: red;
	margin-right: 0.25em;
} */


.skilllanguage {
    color: #3b5998;
    font-size: x-large;
}

.skills-content .right .dt::before {
    width: 70%;
}

.skills-content .right .html::before {
    width: 100%;
}

/* Box Style for Skills/Technologies in Skills Section */
.skills-box {
    margin-top: 15px;
}

.skill {
    display: inline-block;
    color: #3b5998;
    /* Text color set to #3b5998 */
    background-color: transparent;
    /* Transparent background */
    border: 2px solid #3b5998;
    /* Border color set to #3b5998 */
    padding: 5px 10px;
    /* Adjusted padding for smaller size */
    margin: 2px;
    border-radius: 5px;
    font-size: 0.85rem;
    /* Smaller font size for experience card */
    font-weight: 500;
}

/* No hover effect needed for this section */
.skill:hover {
    background: none;
    /* Keep background transparent on hover */
    color: #3b5998;
    /* Ensure text remains the same */
    border: 2px solid #3b5998;
    /* Keep the border intact */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .skills-content .column {
        width: 100%;
    }
}




/* Project section styling */
#projects .title::after {
    content: "What I'm Doing";
    color: #3b5998;
    display: block;
    margin-top: 10px;
    text-align: center;
}

/* See More Button Styling */
.see-more-btn {
    font-size: 14px;
    font-weight: bold;
    color: #3b5998;
    border: 2px solid #3b5998;
    background: transparent;
    padding: 5px 15px;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    /* Ensures proper inline behavior */
}

/* Hover animation for See More button */
.see-more-btn:hover {
    background: #3b5998;
    color: #fff;
    /* White text on hover */
}

/* To match the size of the skill buttons */
.askill,
.see-more-btn {
    font-size: 14px;
    /* Adjust as needed */
    padding: 5px 15px;
    margin-right: 10px;
    border-radius: 5px;
    text-align: center;
    display: inline-block;
    transition: all 0.3s ease;
}

.teams .title::after {
    content: "What I've done";
}

.teams .carousel .card {
    background: #222;
    border-radius: 10px;
    padding: 25px 35px;
    text-align: center;
    overflow: hidden;
    transition: all 0.3s ease;
}

.teams .carousel .card:hover {
    background: rgb(32, 38, 57);
}

.teams .carousel .card .box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.teams .carousel .card:hover .box {
    transform: scale(1.05);
}

.teams .carousel .card .text {
    font-size: 25px;
    font-weight: 500;
    margin: 10px 0 7px 0;
    text-align: center;
}

.teams .carousel .card img {
    height: 170px;
    width: 170px;
    object-fit: cover;
    border-radius: 15px;
    border: 5px solid #3b5998;
    transition: all 0.3s ease;
}

.teams .carousel .card p {
    text-align: left;
    /* Align the description text to the left */
    margin-top: 15px;
    color: #fff;
    /* Adjust color if necessary */
    line-height: 1.6;
    /* Improve readability */
}

.teams .carousel .card:hover img {
    border-color: #fff;
}

.owl-dots {
    text-align: center;
    margin-top: 20px;
}

.owl-dot {
    height: 13px;
    width: 13px;
    margin: 0 5px;
    outline: none !important;
    border-radius: 50%;
    border: 2px solid #3b5998 !important;
    transition: all 0.3s ease;
}

.owl-dot.active {
    width: 35px;
    border-radius: 14px;
}

.owl-dot.active,
.owl-dot:hover {
    background: #3b5998 !important;
}




/* contact section styling */
.contact .title::after {
    content: "Let's Connect";
}

.contact .contact-content .column {
    width: calc(50% - 30px);
}

.contact .contact-content .text {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.contact .contact-content .left p {
    text-align: justify;
}

.contact .contact-content .left .icons {
    margin: 10px 0;
}

.contact .contact-content .row {
    display: flex;
    height: 65px;
    align-items: center;
}

.contact .contact-content .row .info {
    margin-left: 30px;
}

.contact .contact-content .row i {
    font-size: 25px;
    color: #3b5998;
}

.contact .contact-content .info .head {
    font-weight: 500;
}

.contact .contact-content .info .sub-title {
    color: #333;
}

.contact .right form .fields {
    display: flex;
}

.contact .right form .field,
.contact .right form .fields .field {
    height: 45px;
    width: 100%;
    margin-bottom: 15px;
}

.contact .right form .textarea {
    height: 80px;
    width: 100%;
}

.contact .right form .name {
    margin-right: 10px;
}

.contact .right form .field input,
.contact .right form .textarea textarea {
    height: 100%;
    width: 100%;
    border: 1px solid lightgrey;
    border-radius: 6px;
    outline: none;
    padding: 0 15px;
    font-size: 17px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.contact .right form .field input:focus,
.contact .right form .textarea textarea:focus {
    border-color: #b3b3b3;
}

.contact .right form .textarea textarea {
    padding-top: 10px;
    resize: none;
}

.contact .right form .button-area {
    display: flex;
    align-items: center;
}

.right form .button-area button {
    color: #fff;
    display: block;
    width: 160px !important;
    height: 45px;
    outline: none;
    font-size: 18px;
    font-weight: 550;
    border-radius: 6px;
    cursor: pointer;
    flex-wrap: nowrap;
    background: var(--inversegradient);
    border: 2px solid rgb(32, 38, 57);
    transition: all 0.3s ease;
}

.right form .button-area button:hover {
    color: #3b5998;
    border: 2px solid #3b5998;
    background: none;
}

/* footer section styling */
footer {
    /*background: #111;*/
    background: var(--inversegradient);
    padding: 15px 23px;
    color: #fff;
    text-align: center;
}

footer span a {
    color: #3b5998;
    text-decoration: none;
}

footer span a:hover {
    text-decoration: underline;
}


/* responsive media query start */
@media (max-width: 1104px) {
    .about .about-content .left img {
        height: 350px;
        width: 350px;
    }
}

@media (max-width: 991px) {
    .max-width {
        padding: 0 50px;
    }
}

@media (max-width: 947px) {
    .menu-btn {
        display: block;
        z-index: 999;
    }

    .menu-btn i.active:before {
        content: "\f00d";
    }

    .navbar .menu {
        position: fixed;
        height: 100vh;
        width: 100%;
        left: -100%;
        top: 0;
        background: #111;
        text-align: center;
        padding-top: 80px;
        transition: all 0.3s ease;
    }

    .navbar .menu.active {
        left: 0;
    }

    .navbar .menu li {
        display: block;
    }

    .navbar .menu li a {
        display: inline-block;
        margin: 20px 0;
        font-size: 25px;
    }

    .home .home-content .text-2 {
        font-size: 70px;
    }

    .home .home-content .text-3 {
        font-size: 35px;
    }

    .home .home-content a {
        font-size: 23px;
        padding: 10px 30px;
    }

    .max-width {
        max-width: 930px;
    }

    .about .about-content .column {
        width: 100%;
    }

    .about .about-content .left {
        display: flex;
        justify-content: center;
        margin: 0 auto 60px;
    }

    .about .about-content .right {
        flex: 100%;
    }

    .services .serv-content .card {
        width: calc(50% - 10px);
        margin-bottom: 20px;
    }

    .skills .skills-content .column,
    .contact .contact-content .column {
        width: 100%;
        margin-bottom: 35px;
    }
}

@media (max-width: 690px) {
    .max-width {
        padding: 0 23px;
    }

    .home .home-content .text-2 {
        font-size: 60px;
    }

    .home .home-content .text-3 {
        font-size: 32px;
    }

    .home .home-content a {
        font-size: 20px;
    }

    .services .serv-content .card {
        width: 100%;
    }
}

@media (max-width: 500px) {
    .home .home-content .text-2 {
        font-size: 50px;
    }

    .home .home-content .text-3 {
        font-size: 27px;
    }

    .about .about-content .right .text,
    .skills .skills-content .left .text {
        font-size: 19px;
    }

    .contact .right form .fields {
        flex-direction: column;
    }

    .contact .right form .name,
    .contact .right form .email {
        margin: 0;
    }

    .right form .error-box {
        width: 150px;
    }

    .scroll-up-btn {
        right: 15px;
        bottom: 15px;
        height: 38px;
        width: 35px;
        font-size: 23px;
        line-height: 38px;
    }
}

/*See project files button------------------------*/
/* .teams .title a {
    display: inline-block;
    background: var(--inversegradient);
    color: #fff;
    font-size: 18px;
    padding: 10px 15px;
    margin-top: 18px;
    font-weight: 500;
    border-radius: 6px;
    border: 2px solid rgb(32, 38, 57);
    transition: all 0.3s ease;
}

.teams .title a:hover {
    color: white;
    border-radius: 6px;
    border: 2px solid white;
    background: none;
} */

/* Owl Carousel Nav Bars*/
/* Owl Carousel Nav Bars */
.owl-prev,
.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 60px;
    /* Increased size for larger buttons */
    width: 60px;
    /* Increased size for larger buttons */
    line-height: 58px;
    /* Adjusted for larger size */
    text-align: center;
    border-radius: 15px;
    /* Slight border-radius for a rectangle with rounded corners */
    border: 2px solid #3b5998;
    /* Blue border */
    background: transparent;
    /* Transparent background */
    color: #3b5998;
    /* Blue text color */
    transition: all 0.3s ease;
}

.owl-prev {
    left: -70px;
    /* Adjusted to center the buttons along the card length */
}

.owl-next {
    right: -70px;
    /* Adjusted to center the buttons along the card length */
}

/* Hover Effects */
.owl-prev:hover,
.owl-next:hover {
    background: #1c356b;
    /* Dark blue background on hover */
    color: #fff;
    /* White text color on hover */
    border: 2px solid #1c356b;
    /* Dark blue border on hover */
}





/* Improve padding on smaller screens */
@media (max-width: 600px) {
    .menu li a {
        font-size: 18px;
        margin: 10px 0;
    }

    .about .about-content .column img {
        width: 100%;
    }

    .services .serv-content .card,
    .skills .skills-content .column {
        width: 100%;
    }
}