* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0s !important;
        scroll-behavior: auto !important;
    }
}


:root {
    /* Colors - Light Mode */
    --main-color: #f3f3f3;
    --main-bg: #c9c9c9;
    --darker-main-color: #bbbbbb;
    --bg-white: #ffffff;
    --black-hover: #6e6e6e;
    --active-bg: rgba(129, 129, 129, 0.42);
    --green-toast: #4BB543;
    --overlay: rgba(0, 0, 0, 0.54);
    --text-color: #000;
    --label-txt: #333;
    --section-p: #555;
    --p-c: #212529;
    --shadow: rgba(0, 0, 0, 0.25);
    --nav-shadow: rgba(0, 0, 0, 0.2);


    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 32px;
    --spacing-xl: 64px;


    /* font-sizes */
    --font-size-xs: 0.75rem;
    --font-size-sm: 1rem;
    --font-size-md: 1.25rem;
    --font-size-lg: 2rem;
    --font-size-xl: 3rem;
}

body.dark {
    --main-color: #0c0c0c;
    --main-bg: #363636;
    --darker-main-color: #444444;
    --bg-white: #1a1a1a;
    --black-hover: #919191;
    --active-bg: rgba(126, 126, 126, 0.42);
    --overlay: rgba(255, 255, 255, 0.54);
    --text-color: #ffffff;
    --label-txt: #cccccc;
    --section-p: #afafaf;
    --p-c: #dedad6;
    --shadow: rgba(255, 255, 255, 0.25);
    --nav-shadow: rgba(0, 0, 0, 0.829);
}

.transition {
    transition: all var(--transition-normal);
    -webkit-transition: all var(--transition-normal);
    -moz-transition: all var(--transition-normal);
    -ms-transition: all var(--transition-normal);
    -o-transition: all var(--transition-normal);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Archivo", sans-serif;
    color: var(--bg-white);
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: clamp(1rem, 1vw + 0.5rem, 1.125rem);
    line-height: 1.6;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--main-color);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--black-hover), var(--main-bg));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--black-hover), var(--label-txt));
}

/* Selection */
::selection {
    background: var(--black-hover);
    color: white;
}

::-moz-selection {
    background: var(--black-hover);
    color: white;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    display: block;
    text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--main-bg);
    outline-offset: 2px;
}


.txt-c {
    color: var(--text-color);
}

.p-c {
    color: var(--p-c);
}

p {
    margin: 0;
}

section {
    padding: 100px 0px;
}

.main-title {
    width: fit-content;
    margin: 0 auto 100px;
    font-size: clamp(2.5rem, 5vw, 6rem);
    color: var(--p-c);
    line-height: 1.1;
    border-radius: 5px;
    position: relative;
    font-weight: bold;
}

.main-title::after {
    position: absolute;
    content: "";
    left: 3px;
    width: 80%;
    height: 6px;
    background: linear-gradient(90deg, var(--black-hover), var(--main-bg));
    bottom: -10%;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
}

:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 3px;
}



.section-bg {
    background-color: var(--main-color);
}

.white-bg {
    background-color: var(--bg-white);
}

.soon {
    position: relative;
    cursor: not-allowed;
}

.soon::after {
    content: "SOON!";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    padding: 1rem 2rem;
    border-radius: 12px;
    transition: var(--transition-normal);
    z-index: 3;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.soon:hover::after {
    transform: translate(-50%, -50%) scale(1.1);
}

.soon .blur {
    filter: blur(3px) grayscale(1);
    pointer-events: none;
}

#Toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
    padding: 16px 28px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(72, 187, 120, 0.4);
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    font-weight: 600;
}

#Toast.show {
    opacity: 1;
    transform: translateY(0);
}

.form-control:focus {
    border-color: var(--main-bg);
    box-shadow: 0 0 7px .25rem rgb(141 142 143 / 25%);
}

.resize-none {
    resize: none;
}

.spikes::after {
    content: '';
    position: absolute;
    right: 0;
    left: 0;
    top: 100px;
    z-index: 2;
    display: block;
    height: 30px;
    background-size: 38px 100%;
    background-image: linear-gradient(135deg, var(--main-color) 25%, transparent 25%), linear-gradient(225deg, var(--main-color) 25%, transparent 25%);
    animation: spikesMove 2.5s linear infinite;
    -webkit-animation: spikesMove 2.5s linear infinite;
}

.open-animation {
    animation: top-to-bottom 0.5s linear;
}

.close-animation {
    animation: bottom-to-top 0.5s linear;
}

.ml2 {
    font-weight: normal;
    font-size: 1rem;
}

.ml2 .letter {
    display: inline-block;
    line-height: 1em;
}

.ml6 {
    position: relative;
}

.ml6 .text-wrapper {
    position: relative;
    display: inline-block;
    padding-top: 0.2em;
    padding-right: 0.05em;
    padding-bottom: 0.1em;
    overflow: hidden;
}

.ml6 .letter {
    display: inline-block;
    line-height: 1em;
}

.ml7 {
    position: relative;
    font-weight: 900;
    font-size: 3.7em;
}

.ml7 .text-wrapper {
    position: relative;
    display: inline-block;
    padding-top: 0.2em;
    padding-right: 0.05em;
    padding-bottom: 0.1em;
    overflow: hidden;
}

.ml7 .letter {
    transform-origin: 0 100%;
    display: inline-block;
    line-height: 1em;
}


.ml7 .letter:not(:first-child) {
    text-transform: lowercase;
}

.pointer {
    cursor: pointer;
}

.nav-link.active {
    background-color: var(--active-bg);
    padding: 0px 10px;
    border-radius: 3px 3px 0px 0px;
    animation: padding 0.3s ease-in-out;
}

.nav-link.active::before {
    content: "";
    height: 2px;
    left: 0;
    width: 0;
    position: absolute;
    bottom: 0px;
    background-color: linear-gradient(90deg, var(--black-hover), var(--main-bg));
    animation: width 0.5s linear;
    width: 100%;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--overlay);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 11;
    opacity: 0;
    transition: opacity var(--transition-fast);
    cursor: pointer;
}

.overlay.active {
    display: flex;
    opacity: 1;
}

.popup-content {
    background-color: var(--bg-white);
    color: var(--text-color);
    padding: 2.5rem;
    border-radius: 16px;
    max-width: 95%;
    width: 900px;
    max-height: 70vh;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: row;
    gap: 2rem;
    cursor: default;
    animation: popupSlideIn 0.4s ease-out;
    z-index: 12;
    -webkit-animation: popupSlideIn 0.4s ease-out;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-btn {
    position: absolute;
    top: .5rem;
    right: .5rem;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    transition: all var(--transition-normal);
    z-index: 13;
    background: var(--main-color);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
}

.close-btn:hover {
    background: linear-gradient(90deg, var(--black-hover), var(--main-bg));
    color: var(--bg-white);
    transform: rotate(90deg) scale(1.1);
    border-color: var(--black-hover);
}

.popup-content .info {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: stretch;
    height: 100%;
    cursor: default;
}

.popup-content .project-img {
    flex: 1;
    max-width: 45%;
    max-height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-content .project-img img {
    width: 100%;
    height: auto;
    max-height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: top;
    filter: grayscale(1);
    transition: 0.3s;
}

.popup-content .details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    text-align: left;
    max-height: 100%;
    overflow: hidden;
    cursor: default;
}

.popup-content .details h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--p-c);
    margin: 0;
    line-height: 1.3;
}

.popup-content .details h2 span {
    color: var(--text-color);
    font-weight: 700;
}

.popup-content .details p {
    font-size: 1.1rem;
    color: var(--section-p);
    line-height: 1.6;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.popup-content .details h3 {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--p-c);
    margin: 0.5rem 0 0.25rem;
}

.popup-content .details .tech {
    font-size: 1rem;
    color: var(--section-p);
    font-weight: 400;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.popup-content .details .project-link {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.75rem 2rem;
    background: var(--main-bg);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    transition: all var(--transition-normal);
    -webkit-transition: all var(--transition-normal);
    -moz-transition: all var(--transition-normal);
    -ms-transition: all var(--transition-normal);
    -o-transition: all var(--transition-normal);
}

.popup-content .details .project-link:hover {
    background: linear-gradient(90deg, var(--black-hover), var(--main-bg));
    color: var(--bg-white);
    transform: translateY(-2px);
}

.swiper {
    width: 100%;
    height: 720px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px var(--shadow-lg);
}

.swiper-slide {
    background: var(--main-color);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.swiper-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.3));
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.swiper-slide:hover::before {
    opacity: 1;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 720px;
    object-fit: cover;
    object-position: top;
    filter: grayscale(0.6) brightness(0.95);
    transition: all var(--transition-slow);
    margin-bottom: 0;
}

.swiper-slide:hover img {
    filter: grayscale(0) brightness(1);
    transform: scale(1.05);
}

@media (max-width: 767px) {
    .swiper {
        height: 500px;
    }

    .swiper-slide img {
        height: 500px;
    }
}

.swiper-button-next,
.swiper-button-prev {
    color: white;
    background: var(--main-bg);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    transition: all var(--transition-normal);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 22px;
    font-weight: 900;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 20px var(--shadow);
}

.swiper-pagination-bullet {
    background: linear-gradient(90deg, var(--black-hover), var(--main-bg));
    width: 12px;
    height: 12px;
    transition: all var(--transition-normal);
}

.swiper-pagination-bullet-active {
    background: var(--main-bg);
    width: 35px;
    border-radius: 6px;
}


@media (max-width: 767px) {
    .popup-content {
        width: 95%;
        padding: 1rem;
        flex-direction: column;
        max-height: 80vh;
        gap: 1rem;
        overflow-y: auto;
    }

    .popup-content .info {
        flex-direction: column;
        align-items: center;
    }

    .popup-content .project-img {
        max-width: 100%;
        max-height: 50vh;
    }

    .popup-content .project-img img {
        height: auto;
        width: 100%;
    }

    .popup-content .details {
        text-align: center;
        padding: 0;
        flex-grow: 1;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .popup-content {
        width: 85%;
        max-width: 700px;
        padding: 2rem;
        gap: 1.5rem;
    }

    .popup-content .project-img {
        max-width: 50%;
    }

    .popup-content .details {
        padding-left: 1rem;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .popup-content {
        width: 80%;
        max-width: 800px;
        padding: 2.5rem;
        gap: 2rem;
    }

    .popup-content .project-img {
        max-width: 45%;
    }

    .popup-content .details {
        padding-left: 1.5rem;
    }
}

@media (min-width: 1200px) {
    .popup-content {
        width: 900px;
    }
}

body.dark .popup-content .details h2,
body.dark .popup-content .details h3 {
    color: var(--text-color);
}

body.dark .popup-content .details p,
body.dark .popup-content .details .tech {
    color: var(--section-p);
}

/* global rules */

nav .logo {
    padding: 1rem;
    width: 80px;
}

nav .logo:hover {
    transform: scale(1.08) rotate(-5deg);
}

nav .nav-links {
    display: flex;
}

nav .nav-links a::before,
nav .navlinks div::before {
    content: "";
    height: 2px;
    left: 0;
    width: 0;
    position: absolute;
    bottom: 0px;
    background: linear-gradient(90deg, var(--black-hover), var(--main-bg));
}

nav .nav-links a:hover,
nav .navlinks div:hover {
    background-color: var(--active-bg);
    color: var(--text-color);
    padding: 0px 10px;
    border-radius: 3px 3px 0px 0px;
    animation: padding 0.3s ease-in-out;
    -webkit-animation: padding 0.3s ease-in-out;
}

nav .nav-links a:hover::before,
nav .navlinks div:hover::before {
    animation: width 0.5s linear;
    width: 100%;
}

.topnav .icon {
    display: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-color);
}

.topnav .icon:hover {
    color: var(--main-bg);
}

#myNavLinks {
    display: none;
}

.dark-mode {
    width: 25px;
    height: 25px;
    border: 2px solid var(--text-color);
    color: var(--text-color);
    padding: 1rem;
    position: relative;
}

.dark-mode::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(var(--black-hover), var(--label-txt));
    opacity: 0;
    transition: opacity var(--transition-normal);
    border-radius: 50%;
    z-index: -1;
}


.dark-mode:hover {
    transform: rotate(180deg) scale(1.1);
    border-color: transparent;
    color: var(--bg-white);
}

.dark-mode:hover::before {
    opacity: 1;
}

@media (max-width:767px) {
    #myLinks {
        display: none;
    }

    #myNavLinks {
        top: 0;
        left: 0;
        z-index: 9;
        box-shadow: 0px 2px 10px var(--shadow);
    }

    .topnav .icon {
        display: block;
        font-size: 2rem !important;
    }
}

nav.slidedown {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    animation: slideDown .4s forwards;
    z-index: 10;
}

header {
    height: calc(100vh - 96px);
    position: relative;
    overflow: hidden;
}

header .container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

header .right-content {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

header .right-content::before {
    content: "";
    position: absolute;
    width: 2px;
    height: 390px;
    background-color: var(--main-bg);
    left: 65px;
    top: 30%;
}

@media (max-width:992px) {
    header .right-content::before {
        left: 60px;
    }
}

@media (max-width:768px) {
    header .right-content::before {
        left: 54px;
    }
}

@media (max-height:810px) {
    header .right-content::before {
        top: 32%;
        height: 275px;
    }
}

@media (min-height:540px) and (max-height:810) {
    header .right-content::before {
        top: 50%;
        height: 275px;
    }
}



header .right-content p:first-child {
    bottom: 20%;
    margin-left: 44px;
}

header .right-content p:last-child {
    top: 20%;
}


@media (min-width:992px) and (max-width:1100px) {
    header .right-content {
        display: none;
    }
}

@media (min-width:768px) and (max-width:834px) {
    header .right-content {
        display: none;
    }
}

header .right-content p {
    position: absolute;
    transform: rotate(-90deg);
}

header .main-heading h1 {
    font-size: 10.5rem;
    text-transform: capitalize;
    font-weight: 400;
}

header .main-heading p {
    margin-left: 30px;
    position: relative;
    font-size: 18px;
}

header .main-heading p::before {
    content: "";
    width: 15px;
    height: 3px;
    background-color: var(--text-color);
    position: absolute;
    left: -25px;
    top: 50%;
    transform: translateY(-50%);
}

header .scroll {
    width: fit-content;
}

header .scroll a:hover i[class*="arrow"] {
    animation: up-down 0.3s infinite;
}

header .scroll a {
    text-transform: capitalize;
    color: var(--text-color);
    text-shadow: 1px 2px 5px #00000045;
}

header .scroll a .i-animation {
    animation: i-animation 3.5s infinite cubic-bezier(1, 0.01, 0, 1.03);
    -webkit-animation: i-animation 3.5s infinite cubic-bezier(1, 0.01, 0, 1.03);
}

header>img {
    position: absolute;
    bottom: -50%;
    width: min(1250px, 100%);
    left: 40%;
    transform: translateX(-20%);
    z-index: 1;
    animation: fadeInUp-forHeader 1s ease-in-out;
}

@media (min-width:540px) and (max-width:1024px) {
    header>img {
        bottom: 0%
    }
}

@media (max-width: 540px) {
    header .right-content {
        display: none;
    }

    header>img {
        width: 200%;
        left: 20%;
        bottom: -95%;
        transform: translateX(-20%);
    }
}

@media (min-width:312px) and (max-width:539px) {
    header>img {
        bottom: -26%
    }
}

@media (max-width:375px) {
    header>img {
        bottom: -45%;
    }
}

@media (min-height:600px) and (max-height:739px) {
    header>img {
        bottom: -90%;
    }
}

@media (max-width: 540px) {
    header {
        height: calc(80vh - 50px);
    }

    header .main-heading h1 {
        font-size: 6rem;
    }

    header .main-heading p {
        font-size: 14px;
        margin-left: 20px;
    }

    header .right-content {
        display: none;
    }

}

header .scroll {
    margin-top: 20px;
}


@media (min-width: 541px) and (max-width: 767px) {
    header {
        height: calc(90vh - 70px);
    }

    header .main-heading h1 {
        font-size: 8rem;
    }

    header .main-heading p {
        font-size: 16px;
    }

    header .right-content p {
        transform: rotate(-90deg);
        font-size: 14px;
    }

}

@media (min-width: 768px) and (max-width: 991px) {
    header {
        height: calc(100vh - 80px);
    }

    header .main-heading h1 {
        font-size: 9rem;
    }

    header .right-content p {
        font-size: 16px;
    }
}

@media (min-width: 1200px) {
    header .main-heading h1 {
        font-size: 12rem;
    }
}



#about .container {
    align-items: normal;
}

@media (max-width:992px) {
    #about .container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
    }

    #about .left img {
        display: none;
    }
}

#about .left {
    flex-basis: 30%;
}

#about .left img {
    opacity: 0.09;
    animation: left-moving 3s linear;
    animation-timeline: view();
    animation-range: entry 0 cover 30%;
}

#about .mid {
    flex-basis: 20%;
    height: fit-content;
    overflow: hidden;

}

#about .mid:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px var(--shadow);
}

#about .mid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--black-hover), var(--main-bg));
}

#about .right {
    flex-basis: 30%;
    animation: right-moving 1s ease-in-out;
    animation-timeline: view();
    animation-range: 0 cover 40%;
}

#about img {
    width: 100%;
    margin-bottom: 10px;
}

#about .right img {
    width: 220px;
    border-radius: 20px;
    transition: all var(--transition-normal);
    border: 0px solid var(--bg-white);
}

#about .right img:hover {
    transform: scale(1.05) rotate(-2deg);
    box-shadow: 0 20px 60px var(--shadow);
    border-width: 2px;
}

#about .right p {
    position: relative;
    margin-inline-start: 3.5rem;
    margin-bottom: 2rem;
}

#about .right p::before {
    content: "\f621";
    font-family: 'Font Awesome\ 5 Free';
    font-weight: bold;
    position: absolute;
    left: auto;
    inset-inline-start: -65px;
    top: 0;
    background-color: var(--text-color);
    color: var(--bg-white);
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    border-radius: 50%;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -ms-transition: 0.3s;
    -o-transition: 0.3s;
}

#about .right p:hover::before {
    background-color: var(--black-hover);
    color: var(--main-color);
}

@media (min-width:768px) and (max-width:1200px) {
    #about .container {
        flex-direction: row;
        flex-wrap: wrap;
    }

    #about .left,
    #about .mid,
    #about .right {
        flex-basis: 45%;
        margin-bottom: 20px;
    }

}

@media (max-width:768px) {
    #about .container {
        flex-direction: column;
    }
}


#skills img {
    filter: grayscale(1);
    animation: left-moving 1s ease-in-out;
    animation-timeline: view();
    animation-range: 0 cover 40%;
    -webkit-filter: grayscale(1);
}

@media (max-width: 991px) {
    #skills img {
        display: none;
    }
}

#skills img {
    filter: grayscale(1);
    animation: left-moving 1s ease-in-out;
    animation-timeline: view();
    animation-range: 0 cover 40%;
}

.skills {
    flex-grow: 1;
    animation: right-moving 1s ease-in-out;
    animation-timeline: view();
    animation-range: 0 cover 40%;
}

#skills .skill h3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    text-transform: uppercase;
}

#skills .skill h3 span {
    font-size: 13px;
    border: 1px solid var(--active-bg);
    padding: 4px 10px;
    border-radius: 20px;
    color: var(--text-color);
    background: var(--main-color);
    font-weight: 600;
}

#skills .skill .progress {
    height: 35px;
    background-color: var(--main-color);
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
}

#skills .skill .progress span {
    position: absolute;
    left: 0;
    top: 0;
    background: linear-gradient(90deg, var(--black-hover), var(--main-bg));
    height: 100%;
    transition: width 1s ease-out;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
    color: white;
    font-weight: 600;
    font-size: 14px;
}

/* Mobile Skills */
@media (max-width: 991px) {
    #skills img {
        display: none;
    }
}


#services::before {
    content: '';
    position: absolute;
    right: 0;
    left: -0%;
    top: 0;
    z-index: 1;
    display: block;
    height: 50px;
    width: 100%;
    background-image: linear-gradient(180deg, var(--bg-white), transparent);
}

#services .container {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

#services .container .service {
    color: var(--p-c);
    max-width: 400px;
    padding: 3rem 2rem;
    border: 2px solid var(--bg-white);
    border-radius: 10px;
}

#services .container .service:hover {
    border-color: var(--main-bg);
    box-shadow: 0 20px 40px var(--shadow);
    transform: translateY(-10px);
}

#services .container .service:hover i {
    background: linear-gradient(135deg, var(--black-hover), var(--main-bg));
    color: white;
    transform: scale(1.05);
}

#services .container .service i {
    border: none;
    background: var(--main-color);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 60px;
    transition: all var(--transition-normal);
    margin-bottom: 1.5rem;
    color: var(--black-hover);
}

#services .container .service h3 {
    font-weight: 600;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

#services .container .service p {
    line-height: 1.7;
    color: var(--section-p);
}

.contact-section {
    padding-block: 3.75rem;
}

.contact-section .container {
    max-width: 800px;
    margin: auto;
    text-align: center;
}

.contact-section h2 {
    margin-bottom: 1rem;
}

.contact-section p {
    color: var(--section-p);
    margin-bottom: 40px;
    font-weight: 400;

}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-form label {
    text-align: left;
    font-weight: bold;
    color: var(--label-txt);
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 2px solid var(--darker-main-color);
    border-radius: 10px;
    background-color: var(--bg-white);
    color: var(--text-color);
    font-family: inherit;
    font-size: 1rem;
}

.contact-form button {
    align-self: flex-end;
    background: var(--black-hover);
    color: var(--bg-white);
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.contact-form button:hover {
    background: var(--label-txt);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.contact-form button:hover,
.contact-form button:focus {
    background: var(--label-txt);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.contact-info p {
    margin: 8px 0;
    color: var(--section-p);
}

.contact-info i {
    margin-right: 8px;
}

.footer-section {
    background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
    color: #e0e0e0;
    padding: 3rem 0 2rem;
    font-family: 'Archivo', sans-serif;
    animation: bottom-to-up 1s ease-in-out;
    animation-timeline: view();
    animation-range: 0 cover 10%;
    position: relative;
}

.footer-section::before {
    content: "";
    position: absolute;
    top: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(45deg, #1a1a1a, #0a0a0a);
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer-brand img {
    width: 50px;
    margin-bottom: 10px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin: 8px 0;
}

footer a {
    color: #ddd;
    text-decoration: none;
    width: fit-content;
}

footer a:hover {
    color: #fff;
    transform: translateX(5px);
}

footer a::before {
    content: "";
    height: 2px;
    left: 0;
    width: 0;
    position: absolute;
    bottom: 0px;
    background: linear-gradient(90deg, var(--black-hover), var(--main-bg));
}

footer a:hover::before {
    animation: width var(--transition-normal);
    width: 100%;
    -webkit-animation: width var(--transition-normal);
}


.footer-contact p {
    margin: 6px 0;
}

.footer-socials a {
    color: #ddd;
    font-size: 20px;
    margin-right: 15px;
}

.footer-socials a:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-socials {
        margin-top: 20px;
    }
}

@keyframes up-down {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.fade-in-up {
    animation: fadeInUp 1s ease-in-out;
    animation-timeline: view();
    animation-range: 0 cover 40%;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp-forHeader {
    from {
        opacity: 0;
        transform: translate(-20%, 20px);
    }

    to {
        opacity: 1;
        transform: translate(-20%, 0);
    }
}

@keyframes left-moving {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }

    to {
        transform: translateX(0px);
    }
}

@keyframes right-moving {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes bottom-to-up {
    from {
        transform: translateY(400px);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes spikesMove {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 76px 0;
    }
}

@keyframes padding {
    from {
        padding: 0 0;
    }

    to {
        padding: 0 10px;
    }
}

@keyframes width {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

@keyframes top-to-bottom {
    from {
        top: -100%;
    }

    to {
        top: 0;
    }
}

@keyframes bottom-to-top {
    from {
        top: 0;
    }

    to {
        top: -100%;
    }
}

@keyframes i-animation {

    0%,
    100% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        top: -250px;
    }

    to {
        top: 0;
        box-shadow: 0 2px 8px 0 var(--nav-shadow);
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }

    header .main-heading h1 {
        font-size: 12rem;
    }

    #services .container .service {
        max-width: 450px;
    }
}
