:root {

    /**
   * colors
   */
    --primary-color: #ffd60a;
    --raisin-black: #202127;
    --roman-silver: #868a9c;
    --eerie-black: #17181c;
    --black: #000000;
    --white: #FFFF;
    --white_a10: hsla(0, 0%, 100%, 0.1);
    --white_a5: hsla(0, 0%, 100%, 0.05);

    /**
   * typography
   */

    --ff-syne: 'Syne', sans-serif;
    --ff-rubik: 'Rubik', sans-serif;
    --ff-pixel: 'Pixelify Sans', cursive;

    --fs-1: 4.8rem;
    --fs-2: 4.5rem;
    --fs-3: 4rem;
    --fs-4: 2.4rem;
    --fs-5: 2rem;
    --fs-6: 1.8rem;
    --fs-7: 1.4rem;
    --fs-8: 1.2rem;
    --fs-9: 1.1rem;

    --fw-800: 800;
    --fw-700: 700;

    /**
   * spacing
   */

    --section-padding: 100px;

    /**
   * border radius
   */

    --radius-pill: 100px;
    --radius-circle: 50%;
    /**
   * transition
   */

    --transition-1: 0.3s ease;
    --transition-2: 0.4s ease;
}

/* Reset styles */


*,
::after,
::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: var(--white);
    border-radius: 20px;
}

a,
button,
img {
    display: block;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

li {
    list-style: none;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background: var(--eerie-black);
    font-family: var(--ff-syne);
    position: relative;
    color: var(--roman-silver);
    background-color: #17181C;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 800 800'%3E%3Cg fill='none' stroke='%23101114' stroke-width='1'%3E%3Cpath d='M769 229L1037 260.9M927 880L731 737 520 660 309 538 40 599 295 764 126.5 879.5 40 599-197 493 102 382-31 229 126.5 79.5-69-63'/%3E%3Cpath d='M-31 229L237 261 390 382 603 493 308.5 537.5 101.5 381.5M370 905L295 764'/%3E%3Cpath d='M520 660L578 842 731 737 840 599 603 493 520 660 295 764 309 538 390 382 539 269 769 229 577.5 41.5 370 105 295 -36 126.5 79.5 237 261 102 382 40 599 -69 737 127 880'/%3E%3Cpath d='M520-140L578.5 42.5 731-63M603 493L539 269 237 261 370 105M902 382L539 269M390 382L102 382'/%3E%3Cpath d='M-222 42L126.5 79.5 370 105 539 269 577.5 41.5 927 80 769 229 902 382 603 493 731 737M295-36L577.5 41.5M578 842L295 764M40-201L127 80M102 382L-261 269'/%3E%3C/g%3E%3Cg fill='%232A2C33'%3E%3Ccircle cx='769' cy='229' r='5'/%3E%3Ccircle cx='539' cy='269' r='5'/%3E%3Ccircle cx='603' cy='493' r='5'/%3E%3Ccircle cx='731' cy='737' r='5'/%3E%3Ccircle cx='520' cy='660' r='5'/%3E%3Ccircle cx='309' cy='538' r='5'/%3E%3Ccircle cx='295' cy='764' r='5'/%3E%3Ccircle cx='40' cy='599' r='5'/%3E%3Ccircle cx='102' cy='382' r='5'/%3E%3Ccircle cx='127' cy='80' r='5'/%3E%3Ccircle cx='370' cy='105' r='5'/%3E%3Ccircle cx='578' cy='42' r='5'/%3E%3Ccircle cx='237' cy='261' r='5'/%3E%3Ccircle cx='390' cy='382' r='5'/%3E%3C/g%3E%3C/svg%3E");
}


body.nav-active {
    overflow: hidden;
}

body.login {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}


@media (max-width : 600px) {
    body {
        font-size: 15px;
    }
}

/* Preloader  */

.preloader {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100%;
    position: fixed;
    left: 0;
    top: 0;
    background-color: #000;
    z-index: 999999999;
    opacity: 1;
    pointer-events: all;
}

.preloader.active {
    opacity: 0;
    pointer-events: none;
}

.cursor-outline {
    position: fixed;
    height: 35px;
    width: 35px;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    mix-blend-mode: exclusion;
}

.cursor-outline.active {
    transform: translate(-50%, -50%) scale(1.8) ;
}

.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius:37% 63% 47% 53% / 67% 46% 54% 33%  ;
    z-index: 999999999999999999;
    pointer-events: none;
}

.cursor-dot.hide,
.cursor-outline.hide {
    display: none;
}

/* Ruesable styles */

.container {
    width: 90%;
    margin-inline: auto;
    max-width: 1500px;
}



.section {
    padding-block: var(--section-padding);
}


.title-wrapper .sub-title {
    text-transform: uppercase;
    margin: 15px 0 0 15px;
    font-weight: var(--fw-700);
    font-size: 12px;
    letter-spacing: 1px;
}

.section-title {
    color: var(--white);
    font-weight: var(--fw-800);
    font-size: var(--fs-5);
    text-transform: capitalize;
}

.btn {
    outline: none;
    border: none;
    cursor: pointer;
}


@media (max-width : 600px) {
    .container {
        width: 95%;
    }

    .title-wrapper .sub-title {
        font-weight: 600;
        font-size: 11px;
    }

    .section-title {
        font-weight: var(--fw-700);
        font-size: var(--fs-5);
        text-transform: capitalize;
    }
}



/* Header  */

header {
    width: 100%;
    background: var(--eerie-black);
    padding-block: 10px;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10;
    transition: var(--transition-1);
}

header.active {
    background: var(--raisin-black);
    padding-block: 8px;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


header .options {
    display: flex;
    align-items: center;
    gap: 10px;
}

header .btn-toggler {
    height: 35px;
    width: 35px;
    font-size: 16px;
    border-radius: var(--radius-circle);
    padding: 8px;
    background: var(--white);
    display: flex;
    /* flex-direction: column;
    justify-content: center;
    gap: 8px; */
    align-items: center;
    justify-content: center;
}

header .btn-toggler .line {
    width: 100%;
    height: 2px;
    background: var(--black);
}

header nav {
    position: absolute;
    right: -350px;
    top: 100%;
    background: var(--white);
    height: 100vh;
    max-width: 350px;
    width: 350px;
    z-index: 1;
    transition: var(--transition-2);
}

header nav.active {
    right: 0;
}

header nav .social-media {
    width: 100%;
    padding: 10px 12px;
    position: absolute;
    bottom: 90px;
    left: 0;
    display: flex;
    justify-content: space-evenly;
    color: #333;
}

header nav .social-media .icon {
    font-size: 15px;
    height: 35px;
    width: 35px;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-circle);
    transition: var(--transition-1);
}

header nav .social-media .icon:hover {
    color: var(--black);
    cursor: pointer;
}

header nav .nav-items {
    margin-block: 50px;
    text-align: center;
}

header nav .nav-items a {
    padding: 10px 0;
    text-transform: capitalize;
    font-weight: var(--fw-700);
    color: var(--eerie-black);
    transition: var(--transition-2);
}

header nav .nav-items a:hover {
    transform: translateX(10px);
}

header .overlay {
    position: absolute;
    left: 0;
    top: 100%;
    height: 100vh;
    width: 100vw;
    display: none;
}

header .overlay.active {
    display: block;
}

/* Hero  */

.hero {
    padding-block-start: 160px;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.5fr 0.5fr;
    align-items: center;
    gap: 30px;
}

.hero .container .intreduce {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.hero .container .intreduce h2 {
    font-weight: var(--fw-800);
    font-size: var(--fs-5);
    color: var(--white);
    text-transform: uppercase;
}

.hero .container .intreduce p {
    line-height: 1.5;
}



.hero .btn {
    border: var(--roman-silver) 1px solid;
    width: fit-content;
    padding: 8px 15px;
}


@media (max-width : 998px) {
    .hero .container {
        display: block;
        text-align: center;
    }

    .hero .container .intreduce {
        align-items: center;
        margin: 20px 0;
    }
}

@media (max-width : 600px) {
    .hero .container .intreduce h2 {
        font-weight: var(--fw-800);
        font-size: var(--fs-6);
        color: var(--white);
        text-transform: uppercase;
    }
}

/* Education  */

.education-section .education-container {
    margin-block-start: 80px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.education-container .education-card {
    padding: 15px;
    background: var(--raisin-black);
    position: relative;
    box-shadow: 6px 7px 0px 0px rgba(134, 138, 156, 0.91);
    -webkit-box-shadow: 6px 7px 0px 0px rgba(134, 138, 156, 0.91);
    -moz-box-shadow: 6px 7px 0px 0px rgba(134, 138, 156, 0.91);
}

.education-container .education-card:hover {
    box-shadow: 6px 7px 0px 0px rgba(213, 226, 99, 0.91);
    -webkit-box-shadow: 6px 7px 0px 0px rgba(213, 226, 99, 0.91);
    -moz-box-shadow: 6px 7px 0px 0px rgba(213, 226, 99, 0.91);
}


.education-container .education-card p {
    line-height: 1.5;
}

.education-container .education-card .year {
    font-size: var(--fs-8);
    font-family: var(--ff-rubik);
}

.education-container .education-card i {
    margin-right: 5px;
    font-size: 14px;
}

.education-container .education-card .description {
    font-size: 14px;
    margin-block: 12px;
}

.education-container .education-card .diploma {
    font-size: 15px;
    font-style: italic;
}


@media (max-width : 998px) {
    .education-section .education-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width : 600px) {
    .education-section .education-container {
        grid-template-columns: 1fr;
    }
}

/* Skills  */


.skills-section .skills-container {
    margin-block-start: 80px;
}

.skills-section .skills-container .skills-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}


.skills-section .skills-container .skills-items .item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-transform: capitalize;
    color: var(--roman-silver);
    font-family: var(--ff-rubik);
}

.skills-section .skills-container .skills-items .progress {
    height: 5px;
    background-color: var(--raisin-black);
    margin-top: 10px;
    border-radius: var(--radius-pill);
    overflow: hidden;
}

.skills-section .skills-container .skills-items .progress-value {
    background-color: var(--primary-color);
    height: 100%;
}


@media (max-width : 600px) {
    .skills-section .skills-container .skills-items {
        grid-template-columns: 1fr;

    }
}

/* projects */

.projects-section .projects-container {
    margin-top: 80px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    overflow: hidden;
}

.project-card {
    position: relative;
    overflow: hidden;
    transition: var(--transition-2);
}

.project-card::after {
    content: "";
    height: 100%;
    width: 100%;
    position: absolute;
    inset: 0;
    background: #00000090;
    transition: var(--transition-1);
}



.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card .content {
    color: #FFF;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-55%, -50%);
    opacity: 0;
    z-index: 4;
    transition: var(--transition-1);
}

.project-card .content .project-title {
    font-weight: 800;
    line-height: 1.4;
}

.project-card .content p {
    font-weight: 500;
    font-style: italic;
    letter-spacing: 1px;
    margin: 20px 0;
}

.project-card .content .btn-project {
    font-size: 14px;
    margin: auto;
    width: fit-content;
    padding: 6px 20px;
    border: 1px solid var(--primary-color);
}



.project-card:hover .content {
    transform: translate(-50%, -50%);
    opacity: 1;
}

.project-card:hover::after {
    background: #000000e4;
}


@media (max-width : 750px) {
    .projects-section .projects-container {
        margin-top: 50px;
        grid-template-columns: 1fr;
    }
}

/* work */

.work-section .work-container {
    margin-top: 80px;
}

.work-container .services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
}

.work-container .services .service-card {
    border: 1px solid var(--white_a5);
    padding: 25px 20px;
    box-shadow: 6px 7px 0px 0px rgba(134, 138, 156, 0.91);
    -webkit-box-shadow: 6px 7px 0px 0px rgba(134, 138, 156, 0.91);
    -moz-box-shadow: 6px 7px 0px 0px rgba(134, 138, 156, 0.91);
}

.work-container .services .service-card:hover {
    box-shadow: 6px 7px 0px 0px rgba(213, 226, 99, 0.91);
    -webkit-box-shadow: 6px 7px 0px 0px rgba(213, 226, 99, 0.91);
    -moz-box-shadow: 6px 7px 0px 0px rgba(213, 226, 99, 0.91);
}

.work-container .services .service-card .header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.work-container .services .service-card .header .title {
    text-transform: capitalize;
    word-spacing: 2px;
    font-weight: 700;
}

.work-container .services .service-card .header .icon {
    font-size: 24px;
}

.work-container .services .service-card .description {
    font-size: 14px;
    margin: 20px 0;
    line-height: 1.8;
}

.work-container .services .service-card .btn-apply {
    width: fit-content;
    outline: none;
    padding: 6px 20px;
    border: 1px solid var(--roman-silver);
    background: transparent;
    color: var(--roman-silver);
    font-weight: 400;
}

@media (max-width : 600px) {
    .work-container .services {
        grid-template-columns: 1fr;
    }
}

/* contact */

.contact-container {
    margin-top: 80px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    align-items: center;
}

.contact-container .form-contact form {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.contact-container .form-contact form input {
    padding: 10px;
    height: 40px;
}

.contact-container .form-contact form textarea {
    height: 100px;
    resize: none;
}

.contact-container .form-contact form textarea,
.contact-container .form-contact form input {
    display: block;
    padding: 10px;
    width: 100%;
    background: transparent;
    border: 1px solid var(--white_a10);
    color: var(--white);
    font-family: var(--ff-rubik);
}

.contact-container .form-contact form input[type='submit'] {
    background: var(--primary-color);
    color: var(--black);
    font-weight: var(--fw-700);
    cursor: pointer;
}

@media (max-width : 998px) {
    .contact-container {
        display: block;
    }

    .contact-container .form-contact {
        margin-top: 20px;
    }
}

/* Footer  */

footer {
    padding: 20px;
    font-family: var(--ff-rubik);
}


footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

footer .social-media {
    display: flex;
    align-items: center;
    gap: 15px;
}

footer .social-media .icon {
    height: 25px;
    width: 25px;
    padding: 15px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--roman-silver);
    border-radius: var(--radius-circle);
}

.stats-counter {
    width: 35px;
    height: 35px;
    border-radius: var(--radius-circle);
    position: fixed;
    right: 2%;
    bottom: 30px;
    border: dashed 1px var(--primary-color);
    font-family: var(--ff-rubik);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
}

.stats-counter.active {
    opacity: 1;
    pointer-events: all;
}


@media (max-width : 600px) {
    footer .container {
        display: block;
        text-align: center;
    }

    footer .social-media {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 15px;
        gap: 10px;
    }
}


/* Login  */

.login-container {
    width: 85%;
    max-width: 500px;
    margin-inline: auto;
}

.login-container form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.login-container form label {
    text-transform: capitalize;
}

.login-container form input {
    margin: 10px 0;
    display: block;
    padding: 15px 10px;
    width: 100%;
    background: #000;
    border: 1px solid var(--white_a10);
    color: var(--white);
    font-family: var(--ff-rubik);
}

.login-container form a {
    width: fit-content;
    text-decoration: underline;
    margin-top: 5px;
}

.login-container form input[type='submit'] {
    background: var(--primary-color);
    color: var(--black);
    font-weight: var(--fw-700);
    cursor: pointer;
}

.login-container .error-login {
    color: #CC0000;
}


/* Animation */

[data-reveal] {
    opacity: 0;
    transition: 0.65s ease;
}

[data-reveal="top"] {
    transform: translateY(-50px);
}

[data-reveal="bottom"] {
    transform: translateY(50px);
}

[data-reveal="left"] {
    transform: translateX(-50px);
}

[data-reveal="right"] {
    transform: translateX(50px);
}

[data-reveal].revealed {
    transform: translate(0);
    opacity: 1;
}