@import url("https://fonts.googleapis.com/css2?family=Nanum+Gothic&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Quicksand:wght@300..700&display=swap");

* {
    padding: 0;
    margin: 0;
    text-decoration: none;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

html,
body {
    overflow-x: hidden;
}

body {
    transition: background-color 0.3s ease, color 0.3s ease;
}

:root {
    --darker-color: #6B9080;
    --dark-color: #A4C3B2;
    --light-color: #CCE3DE;
    --lighter-color: #EAF4F4;
    --thin-color: #F6fff8;
    --white-color: white;
    --black-color: black;
}

.Home {
    min-height: 100vh;
    background-color: var(--dark-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 0 80px;
    overflow: hidden;
}


.dark-theme {
    --darker-color: #3D4D3C;
    --dark-color: #677D66;
    --light-color: #5c8a74;
    --lighter-color: #e6ffff;
    --thin-color: #3A4D4A;
    --white-color: #ebfff1;
    --black-color: black;

    .About-me,
    .Services,
    .projects,
    .Contact {
        background-color: #1e1e1e;
    }

    .services-list div {
        background: var(--dark-color);
    }

    header.sticky {
        background-color: var(--darker-color);

        .shade .sha {
            color: #0b2419;
        }
    }


    .layer a {
        border: 2px solid #3b554b;
        background: #1e1e1e;
        color: #6B9080;
    }

    .layer a:hover {
        background: var(--darker-color);
        color: white;
    }

    .see-more-btn {
        background: #677D66;
        color: #1e1e1e;
        border: 2px solid var(--darker-color);
    }

    .see-more-btn:hover {
        background: #3b554b;
        color: #A4C3B2;
        border: 2px solid #A4C3B2;
    }

    .navbar a::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -3px;
        width: 0;
        height: 2px;
        background: #0b2419;
        transition: width 0.3s ease;
    }

    .navbar a:hover,
    .navbar a.active {
        color: #0b2419;
    }

    .navbar a:hover::after,
    .navbar a.active {
        color: #0b2419;
    }

    .fOrm input,
    .fOrm textarea {
        background: var(--darker-color);
        color: #0b2419;
    }

    .end-Text {
        background: var(--darker-color);
    }

    .end-Text p {
        color: #0b2419;
        background-color: var(--darker-color);
    }

    .layer:hover h3 {
        color: var(--white-color);
    }

    .layer:hover p {
        color: var(--lighter-color);
    }

    .layer h3 {
        color: #99af96;
    }

    .layer p {
        color: #b6b6b6;
    }

    .modal-category {
        color: var(--white-color);
    }

    .skill-card {
        background: #99af96;
    }

    @media (max-width: 1024px) {
        .navbar {
            background: var(--dark-color);
        }

    }
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    color: var(--white-color);
    font-size: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 70px;
    z-index: 99;
    opacity: 0;
    animation: to_bottom 1s ease forwards;
    transition: background 0.5s ease, padding 0.5s ease, box-shadow 0.5s ease;
}

.hamburger {
    display: none;
    position: fixed;
    top: 17px;
    right: 16px;
    z-index: 1001;
    background: var(--dark-color);
    border: none;
    padding: 16px;
    border-radius: 14px;
    cursor: pointer;
}

.hamburger .bar {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--white-color);
    margin: 5px 0;
    border-radius: 2px;
    transition: 0.4s;
}

.hamburger.open .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.open .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.open .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


.sticky .hamburger {
    background-color: var(--light-color);
    top: 10px
}

.sticky .hamburger .bar {
    background: var(--black-color);
}



header .shade .sha {
    color: var(--darker-color);
}

header .shade {
    color: var(--white-color);
}

header.sticky {
    background: var(--light-color);
    padding: 13px 8%;
    box-shadow: rgba(33, 35, 38, 0.1) 0px 19px 10px -5px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;

}

#icon {
    width: 40px;
    cursor: pointer;
    margin: -6px;
    margin-left: 10px;
    background-color: var(--light-color);
    padding: 6px;
    border-radius: 50%;
    margin-top: 2px;

}

.sticky #icon {
    background-color: var(--dark-color);
}

.sticky .navbar a {
    color: var(--lighter-color);
}


.navbar a,
.navbar a.active {
    margin-left: 40px;
    color: var(--white-color);
    font-size: 20px;
    position: relative;
    transition: color 0.3s ease;
    text-decoration: none;
}

.navbar a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background: var(--darker-color);
    transition: width 0.3s ease;
}

.navbar a:hover,
.navbar a.active {
    color: var(--darker-color);
}

.navbar a:hover::after,
.navbar a.active {
    width: 100%;
}

@keyframes to_bottom {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-box {
    width: 60%;
    color: var(--white-color);
    display: flex;
    flex-direction: row-reverse;
    justify-content: start;
    align-items: center;
    gap: 30px;
}

.text-box {
    width: 90%;
    display: flex;
    flex-direction: column;
}

.text-box h1:nth-child(1) {
    font-size: 30px;
    animation: to_right 1s ease forwards .6s;
}

.text-box h1 {
    font-size: 37px;
    animation: to_right 1s ease forwards .7s;
}

.text-box h1 :nth-child(3) {
    font-size: 37px;
    animation-delay: .8s;
}

.text-box .roles {
    color: var(--darker-color);
}

.text-box p {
    margin: 15px 0;
    font-size: 15px;
    color: var(--lighter-color);
    font-family: 'poppins', sans-serif;
    text-align: justify;
    line-height: 1.6;
    animation: to_right 1s ease forwards .9s;
}

.btn-box {
    display: flex;
    gap: 20px;
}

.btn {
    position: relative;
    padding: 12px 25px;
    font-size: 15px;
    font-family: 'poppins', sans-serif;
    border: 2px solid var(--darker-color);
    background: transparent;
    cursor: pointer;
    border-radius: 5px;
    overflow: hidden;
    transition: .3s;
    z-index: 0;
    animation: to_right 1s ease forwards 1s;
    font-weight: 500;
}

.btn::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: var(--darker-color);
    z-index: -1;
    transform-origin: top;
    transition: transform .3s;
}

.btn:nth-child(1) {
    color: var(--white-color);
    font-weight: 600;
}

.btn:hover,
.btn:nth-child(2) {
    color: var(--darker-color);
}

.btn:hover::before,
.btn:nth-child(2)::before {
    transform-origin: top;
    transform: scaleX(0);
}

.btn:nth-child(2):hover::before {
    transform-origin: bottom;
    transform: scaleX(1);
}

.btn:nth-child(2):hover {
    color: var(--white-color);
}

.icon-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.icon-box i {
    color: var(--darker-color);
    padding: 8px;
    border: 2px solid var(--darker-color);
    font-size: 25px;
    border-radius: 50%;
    cursor: pointer;
    transition: .2s;
    opacity: 0;
    animation: to_bottom 1s ease forwards var(--delay);
}

.icon-box i:hover {
    color: var(--lighter-color);
    background-color: var(--darker-color);
    box-shadow: 0 0 15px var(--darker-color);
}

.img img {
    transition: transform 0.1s ease;
    transform-style: preserve-3d;
}

.img {
    position: absolute;
    right: 70px;
    height: 50%;
    opacity: 0;
    animation: to_left 1s ease forwards 1s;
    transition: transform 0.1s ease-out;
    perspective: 1000px;
}

.text-box * {
    opacity: 0;
}

.text-box span {
    opacity: 1;
}

/*transistions*/
@keyframes to_bottom {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes to_right {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes to_left {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce-in-up {
    0% {
        opacity: 0;
        transform: translateY(100px);
        transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }

}

/*About me*/
.About-me {
    background: var(--thin-color);
    padding: 80px 0;
    color: var(--dark-color);
}

.row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.about-col-1 {
    flex-basis: 35%;
}

.about-col-2 {
    flex-basis: 60%;

}

.about-col-1 img {
    width: 320px;
    aspect-ratio: 1/1;
    border-radius: 100%;
    margin-left: 30%;
    color: gray;
    height: 320px;
    object-fit: cover;
    transition: transform 1s ease-in-out;
    flex-shrink: 0;
    box-shadow: 0 0 25px var(--darker-color),
        0 0 50px var(--darker-color),
        0 0 100px var(--darker-color);

}

.about-col-1 img:hover {
    border: 3px solid var(--dark-color);
    transform: translateY(-4px);

}

.aboutedu {
    position: relative;
    top: 60px;
    margin-bottom: 50px;
    width: 100%;
}

.tab-links active-link .about-col-1 img {
    width: 64%;
    height: 31%;
}

.sub-title {
    font-size: 40px;
    font-weight: 600;
    color: var(--dark-color);
    padding-bottom: 20px;
    text-decoration: underline;
    text-decoration-thickness: 5px;
    text-underline-offset: 8px;
    font-family: 'poppins', sans-serif;
    /* Adjust spacing */
    text-decoration-color: var(--dark-color);
    line-height: 1.5;
}

.about-col-2 p {
    text-align: justify;
    max-width: 90%;
    line-height: 1.6;
    font-family: 'poppins', sans-serif;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 20px;
    margin-top: 100px;
    margin-left: 50px;
    margin-right: 50px;
    margin-bottom: 50px;
    width: 100%;
}

.stat-box {
    background: var(--light-color);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 20px 15px;
    text-align: center;
    border: 2px solid var(--darker-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 185, 114, 0.1) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease;
}

.stat-box:hover::before {
    transform: scale(1);
}

.stat-box:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.25);
}

.stat-icon {
    font-size: 50px;
    margin-bottom: 10px;
    display: inline-block;
    color: var(--white-color);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.stat-number {
    font-size: 56px;
    font-weight: bold;
    color: var(--white-color);
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-family: 'poppins', sans-serif;
}



.stat-box:hover .stat-label {
    color: var(--dark-color);
}

.stat-box:hover .stat-number,
.stat-icon {
    color: var(--darker-color);
}

.stat-label {
    font-size: 16px;
    color: var(--white-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-bottom: 10px;
}

.progress-ring {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    position: relative;
}

.progress-ring svg {
    transform: rotate(-90deg);
}

.progress-ring circle {
    fill: none;
    stroke-width: 8;
}

.progress-ring .bg {
    stroke: rgba(255, 255, 255, 0.2);
}

.progress-ring .progress {
    stroke: white;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    transition: stroke-dashoffset 2s ease;
}


.tab-title {
    display: flex;
    margin: 20px 0 80px;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.tab-links {
    /* margin-right: 50px; */
    font-size: 25px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}

.tab-links i {
    padding-right: 6px;
}

.tab-links::after {
    content: '';
    width: 0;
    height: 3px;
    background: var(--darker-color);
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
}

.tab-links.active-link::after {
    width: 100%;
}

.tab-links:hover,
.tab-links.active {
    color: var(--darker-color);
}

.tab-links:hover::after,
.tab-links.active {
    width: 100%;
}

.tab-links.active-link {
    color: var(--darker-color);
}

.tab-contents ul li {
    list-style: none;
    margin: 10px 0;
    color: var(--dark-color);
    line-height: 1.6;
}

.tab-contents ul li span {
    color: #507566;
    font-size: 14px;
}

.tab-contents {
    display: none;

}

.tab-contents.active-tab {
    display: block;
}

.skills-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    margin-left: 50px;
    margin-right: 50px;
}

.skill-card {
    background: var(--thin-color);
    border-radius: 25px;
    padding: 35px;
    backdrop-filter: blur(15px);
    border: 1px solid var(--darker-color);
    transition: all 0.4s ease;
    font-size: clamp(8px, 7vw, 22px);

}

.skill-card:hover {
    transform: translateY(-10px) rotate(2deg);
    background: var(--dark-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.skill-card:hover h3,
.skill-card:hover .skill-name,
.skill-card:hover .skill-percentage {
    color: var(--white-color);
}

.skill-card h3 {
    font-family: 'poppins', sans-serif;
    font-size: clamp(8px, 10vw, 22px);
    color: var(--darker-color);
    margin-bottom: 25px;
    text-align: center;
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skill-item {
    position: relative;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.skill-name {
    color: var(--darker-color);
    font-weight: 400;
    font-size: 17px;
}

.skill-percentage {
    color: var(--darker-color);
    font-weight: 500;
    font-size: 0.9rem;
}

.progress-bar {
    position: relative;
    width: 100%;
    height: 7px;
    background-color: var(--light-color);
    border-radius: 15px;
    margin-bottom: 10px;
}

.progress-bar::after {
    position: absolute;
    content: attr(value);
    top: -35px;
    right: 0;
    color: var(--dark-color);
    font-size: 14px;
}

.progress-line {
    position: absolute;
    width: 0%;
    height: 10px;
    background-color: var(--darker-color);
    border-radius: 15px;
    top: -1px;
    animation: animate 1.5s cubic-bezier(1, 0.2, 0.2, 1) forwards;
}

@keyframes animate {
    100% {
        width: 100%;
    }
}

.progress-line::after {
    content: '';
    position: absolute;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    top: 50%;
    left: 100%;
    transform: translate(-50%, -50%);
    background-color: var(--darker-color);
}

.experience-timeline {
    position: relative;
    padding: 20px 0;
    margin-top: 50px;
    margin-left: 50px;
    margin-right: 50px;
}

.timeline-line {
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(var(--darker-color));
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    padding-left: 80px;
}

.timeline-dot {
    position: absolute;
    left: 21px;
    top: 20px;
    width: 18px;
    height: 18px;
    background: var(--dark-color);
    border-radius: 50%;
    border: 4px solid var(--darker-color);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

.exp-card {
    background: var(--dark-color);
    border: 1px solid var(--lighter-color);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
}

.exp-card:hover {
    transform: translateX(10px);
    border: 2px solid var(--darker-color);
}

.exp-header {
    margin-bottom: 15px;
}

.exp-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white-color);
    margin-bottom: 5px;
}

.exp-company {
    color: var(--darker-color);
    font-weight: 500;
    margin-bottom: 8px;
}

.exp-date {
    color: var(--white-color);
    font-size: 0.9rem;
    background-color: var(--darker-color);
    border-radius: 40px;
    padding: 5px 7px;
    width: 175px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.exp-desc {
    color: var(--lighter-color);
    line-height: 1.7;
}

/*services*/
.title {

    font-size: clamp(1rem, calc(7vw + 1rem), 2.5rem);
    font-weight: 600;
    color: var(--dark-color);
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-bottom: 15px;
    text-decoration: underline;
    text-decoration-thickness: 5px;
    text-underline-offset: 8px;
    /* Adjust spacing */
    text-decoration-color: var(--dark-color);
    line-height: 1.5;
}

.Services {
    background: var(--thin-color);
    padding: 100px 0;

}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
    margin-left: 50px;
    margin-right: 50px;
}

.services-list div h2 {
    color: var(--darker-color);
    font-size: 23x;
    font-weight: 700;
    margin-bottom: 15px;
}

.services-list div {
    background: var(--thin-color);
    border: 2px solid var(--darker-color);
    padding: 30px;
    font-size: 13px;
    font-weight: 300;
    border-radius: 15px;
    color: var(--darker-color);
    transition: background 0.5s, transform 0.5s, color 0.5s;
    text-align: justify;
    line-height: 1.3;
    overflow: hidden;
}

.services-list div i {
    font-size: 50px;
    margin-bottom: 30px;
    color: var(--darker-color);
}

.services-list div p {
    margin-bottom: 10px;
}

.services-list div span {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;

}

.services-list div span p {
    background-color: var(--darker-color);
    color: var(--white-color);
    font-size: 10px;
    padding: 6px;
    border-radius: 20px;
    font-weight: 600;
}

.services-list div:hover {
    box-shadow: 5px 30px 56.1276px rgb(55 55 55 / 12%);
    border: 2px solid var(--darker-color);
    transform: translateY(-10px) scale(1.05);
    color: var(--light-color);
    background-color: var(--darker-color);
}

.services-list div::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.services-list div:hover::before {
    left: 100%;
}

.services-list div:hover h2,
.services-list div:hover i,
.services-list div:hover p {
    color: var(--white-color);
}

.services-list div:hover span p {
    background-color: var(--white-color);
    color: var(--darker-color);
}

/* project sec */
.title2 {
    font-size: clamp(1rem, calc(7vw + 1rem), 2.5rem);
    font-weight: 600;
    color: var(--dark-color);
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-bottom: 15px;
    text-decoration: underline;
    text-decoration-thickness: 5px;
    text-underline-offset: 8px;
    text-decoration-color: var(--dark-color);
    line-height: 1.5;
    margin-bottom: 20px;
}

.projects {
    background: var(--thin-color);
    padding: 100px 0;
}

.project-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    margin-bottom: 50px;
}

.pro-titles {
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 8px;
    position: relative;
    color: var(--light-color);
    padding: 10px 15px;
    transition: color 0.3s ease;
}

.pro-titles::after {
    content: '';
    width: 0;
    height: 3px;
    background: var(--dark-color);
    position: absolute;
    left: 50%;
    bottom: -5px;
    transition: 0.5s;
    transform: translateX(-50%);
}

.pro-titles.active-link::after {
    width: 85%;
}

.pro-titles.active-link {
    color: var(--darker-color);
}

.pro-titles:hover,
.pro-titles.active {
    color: var(--darker-color);
}

.pro-titles:hover::after,
.pro-titles.active {
    width: 90%;
}

.work-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 40px;
    margin: 0 auto;
    max-width: 1000px;
    justify-items: center;
}

.work {
    border-radius: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 420px;
    width: 100%;
    max-width: 350px;
    min-width: 300px;
}

.work.hidden {
    display: none;
}

.layer {
    position: relative;
    padding: 15px;
    color: var(--white-color);
    display: flex;
    border-radius: 40px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    height: 100%;
    overflow: hidden;
    transition: all 0.5s ease 0s;
}

.layer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
    transition: transform 0.3s ease;
}

.layer:hover::before {
    transform: scale(1.2);
}

.layer:hover {
    box-shadow: 5px 30px 50px rgb(55 55 55 / 12%);
    border: 1px solid transparent;
    transform: translateY(-5px);
}

/* Different background images for each card */
.work[data-category="uiux"]:nth-of-type(1) .layer::before {
    background-image: url(../img/e-commerce-website-vector.webp);
}

.work[data-category="uiux"]:nth-of-type(2) .layer::before {
    background-image: url(../img/monster-zero-sugar-coming-to-the-uk.webp);
}

.work[data-category="uiux"]:nth-of-type(3) .layer::before {
    background-image: url(../img/NFSMW_Boxart.webp);
}

.work[data-category="uiux"]:nth-of-type(4) .layer::before {
    background-image: url(../img/pexels-caleboquendo-3143850.webp);
}

.work[data-category="uiux"]:nth-of-type(5) .layer::before {
    background-image: url(../img/th.webp);
}

.work[data-category="frontend"]:nth-of-type(6) .layer::before {
    background-image: url(../img/travel1.webp);
}

.work[data-category="fullstack"]:nth-of-type(7) .layer::before {
    background-image: url(../img/pexels-imin-technology-276315592-12935041.webp);
}

.work[data-category="frontend"]:nth-of-type(8) .layer::before {
    background-image: url(../img/todo\ 3.webp);
}

.work[data-category="frontend"]:nth-of-type(9) .layer::before {
    background-image: url(../img/expense\ 2.webp);
}

.work[data-category="frontend"]:nth-of-type(10) .layer::before {
    background-image: url(../img/food\ 1.webp);
}

.work[data-category="frontend"]:nth-of-type(11) .layer::before {
    background-image: url(../img/weather\ 2.webp);
}

.work[data-category="frontend"]:nth-of-type(12) .layer::before {
    background-image: url(../img/tip\ 1.webp);
}

.work[data-category="fullstack"]:nth-of-type(13) .layer::before {
    background-image: url(../img/standard-quality-control-concept-m.webp);
}

.work[data-category="database"]:nth-of-type(14) .layer::before {
    background-image: url(../img/IMG_20250704_191210.webp);
}

.work[data-category="fullstack"]:nth-of-type(15) .layer::before {
    background-image: url(../img/Rebuild-Your-Fitness-Career-1024x683\ \(1\).webp);
}

.work[data-category="fullstack"]:nth-of-type(16) .layer::before {
    background-image: url(../img/female-pharmacist-with-table-checking-stock-pharmacy.webp);
}



.details {
    border-radius: 20px;
    margin-top: auto;
    padding: 20px;
    position: relative;
    backdrop-filter: blur(18px);
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
    width: 100%;
}

.layer:hover h3 {
    color: var(--white-color);
}

.layer:hover p {
    color: var(--light-color);
}

.layer h3 {
    margin-bottom: 8px;
    font-size: 17px;
    text-align: center;
    color: var(--light-color);
}

.layer p {
    margin-bottom: 10px;
    font-size: 13px;
    text-align: center;
    color: var(--dark-color);
}

.unbtn-box {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.github-btn {
    background-color: var(--lighter-color);
    color: var(--darker-color);
    border: 2px solid var(--darker-color);
    font-weight: 500;
    padding: 8px 17px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
    border-radius: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.github-btn i {
    font-size: 15px;
    background-color: transparent;
    color: inherit;
    transition: all 0.3s ease;
}

.github-btn:hover {
    background: var(--darker-color);
    color: var(--lighter-color);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--thin-color);
    transform: translateY(-2px);
}

.see-more-btn {
    display: block;
    margin: 40px auto;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    background: var(--thin-color);
    color: var(--darker-color);
    border: 2px solid var(--darker-color);
    border-radius: 40px;
    transition: all 0.3s ease;
}

.see-more-btn:hover {
    background: var(--darker-color);
    color: var(--lighter-color);
    border: 2px solid var(--light-color);
    transform: translateY(-2px);
}

.see-more-btn.hidden {
    display: none;
}


/*contact me*/
.title3 {
    font-size: clamp(1rem, calc(7vw + 1rem), 2.5rem);
    font-weight: 600;
    color: var(--dark-color);
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-bottom: 20px;
    text-decoration: underline;
    text-decoration-thickness: 5px;
    text-underline-offset: 8px;
    /* Adjust spacing */
    text-decoration-color: var(--dark-color);
    line-height: 1.5;
    margin-bottom: 40px;
}

.contact-left h4 {
    margin-left: 20%;
}

.contact-right h4 {
    margin-bottom: 20px;
}

h4 {
    font-size: 25px;
    font-weight: 500;
    color: var(--dark-color);
    justify-content: center;
    align-items: center;
    text-align: left;
    padding-bottom: 5px;
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 8px;
    /* Adjust spacing */
    text-decoration-color: var(--dark-color);
    line-height: 0.5;
}

.paragh {
    justify-content: center;
    align-items: center;
    text-align: justify;
}

.Contact {
    background: var(--thin-color);
    padding: 100px 0;
}

.contact-left {
    flex-basis: 45%;
}

.contact-right {
    flex-basis: 50%;
}

.contact-left p {
    margin-top: 23px;
    margin-left: 20%;
    color: var(--dark-color);
}

.contact-left p i {
    color: var(--dark-color);
    margin-right: 15px;
    font-size: 25px;
}

.social-media {
    margin-top: 30px;
    margin-left: 20%;
}

.social-media a {
    text-decoration: none;
    font-size: 30px;
    margin-right: 15px;
    color: var(--dark-color);
    display: inline-block;
    transition: transform 0.5s;
}

.social-media a:hover {
    color: var(--darker-color);
    transform: translateY(-5px);
}

.contact-right .fOrm {
    width: 100%;
}

.fOrm input,
.fOrm textarea {
    width: 90%;
    border: 0;
    outline: none;
    background: var(--light-color);
    padding: 15px;
    margin: 10px 0;
    color: var(--darker-color);
    font-size: 18px;
    border-radius: 5px;
}

.fOrm input:focus,
.fOrm textarea:focus {
    border: 2px solid var(--darker-color);
}

input[name="Name"] {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.fOrm textarea {
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.fOrm .see-more-btn {
    padding: 8px 20px;
    font-size: 18px;
    margin-top: 20px;
    margin-left: 20px;
    cursor: pointer;
}

.fOrm .see-more-btn i {
    padding-right: 8px;
}


.success-message {
    background: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    display: none;
    width: 80%;
    font-size: 18px;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    display: none;
    width: 80%;
    font-size: 18px;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--darker-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1000;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn svg {
    width: 35px;
    height: 35px;
    fill: white;
}

/* Chat Box */
.chat-box {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: none;
    flex-direction: column;
    z-index: 999;
    overflow: hidden;
}

.chat-box.active {
    display: flex;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-header {
    background: var(--darker-color);
    padding: 1.5rem;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.8s ease-in-out;
}

.close-btn:hover {
    transform: rotate(360deg);
}


.chat-body {
    padding: 1.5rem;
    color: #333;

}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--darker-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--darker-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.send-btn {
    width: 100%;
    padding: 1rem;
    background: var(--darker-color);
    color: white;
    border: none;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.send-btn:hover {
    background: #6da08b;
}

.end-Text {
    width: 100%;
    text-align: center;
    padding: 25px 0;
    background: var(--light-color);
    font-weight: 300;
    margin-top: 20px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    margin-bottom: -100px;
}

.end-Text p {
    color: var(--darker-color);
    font-size: 14px;
    letter-spacing: 2px;
    background-color: var(--light-color);
}

/* Media Queries for Responsiveness */

@media (max-width: 1500px) {
    .content-box {
        width: 55%;
    }
}

@media (max-width: 1350px) {
    .content-box {
        width: 54%;
    }
}


@media (max-width: 1200px) {
    .Home {
        padding: 0 40px;
    }

    .content-box {
        width: 50%;
    }

    .img {
        right: 40px;
    }

    .about-col-1 img {
        width: 280px;
        margin-left: 26%;
        height: 280px;

    }

    .navbar a,
    .navbar a.active {
        margin-left: 30px;
    }

    header.sticky {
        padding: 13px 6%;
    }
}

@media (max-width: 1097px) {

    .contact-left p,
    .social-media {
        margin-left: 15%;
    }

    .contact-right {
        flex-basis: 55%;
    }

    .contact-left {
        flex-basis: 42%;
    }
}

/* For devices with a maximum width of 1024px (e.g., tablets in portrait mode) */
@media (max-width: 1024px) {
    header {
        padding: 15px 40px;
        z-index: 1001;
    }

    .chat-box {
        z-index: 1002;
    }

    .navbar a,
    .navbar a.active {
        margin-left: 0;
    }

    .navbar {
        position: fixed;
        top: -700%;
        margin: 10px 0;
        left: calc(50% - 250px);
        width: 500px;
        height: 75vh;
        background: var(--light-color);
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 45px 30px;
        transition: 0.5s all;
        z-index: 1000;
        border-radius: 30px;
    }

    .hamburger {
        display: block;
        z-index: 1003;
    }

    #icon {
        background-color: var(--dark-color);

    }

    .navbar a {
        display: block;
        margin: 20px 0;
    }

    .navbar a.active {
        width: fit-content;
    }

    .navbar.open {
        top: 90px;
    }

    .Home {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 100px 20px;
    }

    .content-box {
        width: 90%;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .text-box {
        width: 100%;
        align-items: center;
    }

    .img {
        position: relative;
        right: 0;
        margin-top: 30px;
        height: auto;
        max-width: 106%;
    }

    .icon-box {
        flex-direction: row;
        gap: 20px;
        margin-top: 20px;
    }

    .btn-box {
        justify-content: center;
    }

    .contact-left p,
    .social-media {
        margin-left: 10%;
    }

    .project-section {
        gap: 17px;
        flex-wrap: wrap;
        margin-bottom: 40px;
    }

    .pro-titles {
        font-size: 16px;
        padding: 6px 9px;
    }

    .about-col-1 img {
        width: 270px;
        margin-left: 20%;
        height: 270px;

    }

}

@media (max-width: 968px) {

    .contact-left p,
    .social-media {
        margin-left: 50px;
    }
}

@media (max-width: 912px) {

    .about-col-1 img {
        width: 240px;
        margin-left: 18%;
        height: 240px;

    }

    /* .navbar {
        left: 22%;
    } */
}

@media (max-width: 858px) {

    /* .navbar {
        left: 19%;
    } */
    .contact-right {
        flex-basis: 47%;
    }

    .contact-left {
        flex-basis: 49%;
    }

    .project-section {
        gap: 14px;
        margin: 0 20px 40px 20px;
    }

    .pro-titles {
        font-size: 16px;
        padding: 4px 7px;
    }

    .timeline-item {
        padding-left: 60px;
    }

    .experience-timeline {
        margin-left: 20px;
        margin-right: 28px;
    }



}

/* @media (max-width: 800px) {
    .navbar {
        left: 16%;
    }
} */


/* For devices with a maximum width of 768px (e.g., smaller tablets and large phones) */
@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }

    .navbar {
        top: -900%;
        width: 80vw;
        max-width: 400px;
        left: calc(50% - min(40vw, 200px));
    }

    .navbar.open {
        top: 80px;
    }

    header.sticky {
        padding: 8px 7%;
    }

    .work .layer {
        height: 100%;
    }

    .Home {
        padding: 100px 25px;

    }

    .img img {
        width: 90%;
    }

    .text-box h1:nth-child(1) {
        font-size: 24px;
    }

    .text-box h1 {
        font-size: 36px;
    }

    .text-box p {
        font-size: 14px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .content-box {
        width: 90%;
        flex-direction: column;
        align-items: center;
    }

    .sub-title {
        font-size: 35px;
    }

    .about-col-1 {
        flex-basis: 100%;
        justify-content: center;
        align-items: center;
    }

    .about-col-2 {
        flex-basis: 100%;
        font-size: 14px;
        margin-left: 11%;
        margin-top: 40px;
    }

    .about-col-2 .sub-title {
        text-align: center;
        margin-right: 12%;
        font-size: clamp(1rem, calc(7vw + 1rem), 2.5rem);
    }

    .about-col-1 img {
        width: 270px;
        height: 270px;
        margin-left: auto;
        margin-right: auto;
        display: block;
        box-shadow: 0 0 25px var(--darker-color),
            0 0 50px var(--darker-color),
            0 0 100px var(--darker-color);
        border: 3px solid var(--dark-color);
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-number {
        font-size: 42px;
    }

    .stat-label {
        font-size: 14px;
    }

    .tab-title {
        display: flex;
        gap: 35px;
    }

    .timeline-item {
        padding-left: 50px;
    }

    .exp-title {
        font-size: 1.1rem;

    }

    .exp-date {
        font-size: 0.7rem;
        width: 140px;
    }

    .exp-desc {
        font-size: 13px;
    }


    .contact-left,
    .contact-right {
        flex-basis: 100%;
    }

    .contact-left p,
    .contact-left h4,
    .social-media {
        margin-left: 80px;
        margin-right: 50px;
    }

    .contact-left {
        margin-bottom: 25px;
    }

    .contact-right {
        margin-left: 80px;
        margin-top: 25px;
    }

    .end-Text {
        font-size: 13px;
    }


}

@media (max-width: 710px) {
    .work-list {
        grid-gap: 20px;
        margin-top: 14px;
        margin-left: 7%;
        margin-right: 7%;
    }

    .stats-container {
        margin-left: 40px;
        margin-right: 40px;
    }

    .exp-title {
        font-size: 1.1rem;
    }

    .experience-timeline {
        margin-left: 5px;
        margin-right: 36px;
    }

    /* .navbar {
        left: 115px;
    } */

}


@media (max-width: 635px) {

    .project-section {
        gap: 10px;
        margin: 0 18px 35px 18px;
    }

    .pro-titles {
        font-size: 14px;
        padding: 4px 7px;
    }

    .tab-links {
        font-size: 21px;
    }

    .exp-title {
        font-size: 1rem;
    }

    .exp-company {
        font-size: 14px;
    }

    .experience-timeline {
        margin-right: 25px;
    }

}

@media (max-width: 606px) {
    .work-list {
        grid-gap: 20px;
        margin-top: 9px;
        margin-left: 6%;
        margin-right: 6%;
    }

    .contact-left p,
    .contact-left h4,
    .contact-right,
    .social-media {
        margin-left: 65px;
    }

}

/* For devices with a maximum width of 576px (e.g., small phones) */
@media (max-width: 576px) {
    header {
        padding: 15px 10px;
    }

    .Home {
        padding: 100px 25px;

    }

    .text-box h1:nth-child(1) {
        font-size: 20px;
    }

    .text-box h1 {
        font-size: 30px;
    }

    .text-box p {
        font-size: 12px;
    }

    .btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    .icon-box i {
        font-size: 20px;
    }

    .content-box {
        width: 90%;
        flex-direction: column;
        align-items: center;
    }

    .img {
        position: relative;
        height: auto;
        max-width: 106%;

    }

    .stats-container {
        margin-left: 30px;
        margin-right: 30px;
    }

    .stat-icon {
        font-size: 40px;
        margin-bottom: 8px;
    }

    .stat-label {
        font-size: 12px;
    }

    .tab-title {
        gap: 25px;
    }
}


@media(max-width: 543px) {
    .project-section {
        gap: 5px;
        margin: 0 15px 30px 15px;
    }

    .pro-titles {
        font-size: 14px;
        padding: 2px 4px;
    }

    .success-message,
    .error-message {
        font-size: 15px;
    }

    .experience-timeline {
        margin-left: 3px;
        margin-right: 18px;
    }

    .timeline-item {
        padding-left: 45px;
    }


}




@media(max-width: 488px) {

    .img {
        position: relative;
        height: auto;
        max-width: 100%;
    }

    .stats-container {
        margin-left: 20px;
        margin-right: 20px;
    }

    .contact-left p i {
        color: var(--dark-color);
        font-size: 23px;
    }

    .contact-left p {
        font-size: 13px;
        margin-left: 55px;
    }

    .contact-left h4,
    .contact-right,
    .social-media {
        margin-left: 55px;
    }

    .tab-title {
        gap: 20px;
    }

    .tab-links {
        font-size: 17px;
    }

    .exp-title {
        font-size: 0.9rem;
    }

    .exp-card {
        padding: 20px;
    }

    .hamburger {
        right: 10px;
    }


}



@media(max-width: 425px) {
    .text-box h1 {
        font-size: 25px;
    }

    .text-box h1:nth-child(1) {
        font-size: 20px;
    }

    .success-message,
    .error-message {
        font-size: 13px;
    }

}


@media(max-width: 415px) {

    .contact-left p,
    .contact-left h4,
    .contact-right,
    .social-media {
        margin-left: 45px;
    }

    .about-col-1 img {
        width: 240px;
        height: 240px;
    }

    .tab-title {
        gap: 15px;
    }

    .tab-links {
        font-size: 14px;
    }

    .skills-layout {
        margin-left: 30px;
        margin-right: 30px;
    }

    .chat-box {
        width: calc(100vw - 40px);
        right: 20px;
    }

    .whatsapp-btn {
        right: 20px;
        bottom: 20px;
    }

}



@media(max-width: 375px) {
    .text-box h1 {
        font-size: 23px;
    }

    .contact-left p,
    .contact-left h4,
    .contact-right,
    .social-media {
        margin-left: 40px;
    }

    .contact-left p {
        margin-right: 40px;
    }

    .services-list {
        margin-left: 38px;
    }

    .stats-container {
        margin-left: 10px;
        margin-right: 10px;
    }

    .stat-icon {
        font-size: 30px;
        margin-bottom: 8px;
    }

    .stat-label {
        font-size: 10px;
    }

    .stat-number {
        font-size: 35px;
    }



}

@media(max-width: 365px) {
    .project-section {
        gap: 5px;
        margin: 0 10px 30px 10px;
    }

    .pro-titles {
        font-size: 14px;
        padding: 0px 2px;
    }

    .success-message,
    .error-message {
        font-size: 13px;
    }

    .about-col-1 img {
        width: 220px;
        height: 220px;

    }

    .services-list {
        margin-left: 32px;
    }

    .skills-layout {
        margin-left: 28px;
        margin-right: 30px;
    }

    .skill-card {
        padding: 25px;
    }

    .skill-name {
        font-size: 14px;
    }

    .skill-percentage {
        font-size: 0.8rem;
    }
}

@media(max-width: 340px) {

    .contact-left p,
    .contact-left h4,
    .contact-right,
    .social-media {
        margin-left: 35px;
    }

    .social-media {
        margin-right: 25px;
    }

    .contact-left p {
        margin-right: 35px;
    }

    .services-list {
        margin-left: 17px;
    }

    .skills-layout {
        margin-left: 17px;
        margin-right: 17px;
    }
}




@media(max-width: 320px) {
    .text-box h1 {
        font-size: 20px;
    }

    .services-list {
        margin-left: 10px;
    }

    .contact-left p,
    .contact-left h4,
    .contact-right,
    .social-media {
        margin-left: 32px;

    }

    .contact-left p {
        margin-right: 32px;
    }

    .skills-layout {
        margin-left: 10px;
        margin-right: 10px;
    }
}

@media(max-width: 300px) {

    .contact-left p,
    .contact-left h4,
    .contact-right,
    .social-media {
        margin-left: 29px;
    }

    .contact-left p {
        margin-right: 29px;
    }
}