```css
@charset "utf-8";

/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


:root {
    --primary-dark: #0a0a0a;
    --secondary-dark: #151515;
    --card-dark: #1a1a1a;

    --accent-color: #f39c12;

    --text-light: #ffffff;
    --text-gray: #a0a0a0;

    --border-color: rgba(255,255,255,0.08);

    --container-width: 1200px;
}


html {
    scroll-behavior: smooth;
    color-scheme: dark;
}


body {
    font-family:
        'Inter',
        -apple-system,
        BlinkMacSystemFont,
        'Segoe UI',
        sans-serif;

    background: var(--primary-dark);
    color: var(--text-light);

    overflow-x: hidden;

    line-height: 1.6;
}


/* =========================================================
   SCROLLBAR
========================================================= */

::-webkit-scrollbar {
    width: 8px;
}


::-webkit-scrollbar-track {
    background: var(--secondary-dark);
}


::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 4px;
}


/* =========================================================
   HEADER
========================================================= */

header {
    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    z-index: 1000;

    padding: 20px 0;

    background: rgba(10,10,10,0.90);

    backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(255,255,255,0.04);

    transition: all 0.3s ease;
}


header.scrolled {
    padding: 14px 0;

    background: rgba(10,10,10,0.98);
}


nav {
    width: min(100% - 60px, 1400px);

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


/* LOGO */

.logo {
    display: flex;

    align-items: center;

    gap: 12px;

    color: rgba(255,255,255,0.75);

    text-decoration: none;

    font-size: 24px;

    font-weight: 700;

    letter-spacing: -0.5px;

    white-space: nowrap;

    transition: 0.3s ease;
}


.logo:hover {
    color: #fff;
}


.logo svg {
    width: 32px;
    height: 32px;

    fill: var(--accent-color);

    transition: 0.3s ease;
}


.logo:hover svg {
    transform: rotate(-5deg) scale(1.05);
}


/* NAV */

.nav-menu {
    display: flex;

    align-items: center;

    gap: 5px;

    list-style: none;
}


.nav-menu a {
    position: relative;

    display: block;

    padding: 10px 18px;

    color: rgba(255,255,255,0.60);

    text-decoration: none;

    font-size: 14px;

    font-weight: 500;

    letter-spacing: 0.5px;

    border: 1px solid transparent;

    border-radius: 6px;

    transition: 0.3s ease;
}


.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent-color);

    background: rgba(243,156,18,0.08);

    border-color: rgba(243,156,18,0.20);
}


.menu-toggle {
    display: none;

    flex-direction: column;

    gap: 5px;

    cursor: pointer;
}


.menu-toggle span {
    width: 26px;
    height: 2px;

    background: #fff;

    transition: 0.3s ease;
}


/* =========================================================
   HERO
========================================================= */

.hero-section {
    position: relative;

    height: 100vh;
    min-height: 650px;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #080808 0%,
            #1a1a1a 50%,
            #0d0d0d 100%
        );
}


.hero-content {
    position: relative;

    z-index: 5;

    width: min(100% - 40px, 1000px);

    text-align: center;
}


.hero-greeting {
    margin-bottom: 15px;

    color: var(--accent-color);

    font-size: 13px;

    font-weight: 600;

    letter-spacing: 4px;
}


.hero-title {
    margin-bottom: 20px;

    font-size: clamp(2.4rem, 7vw, 5rem);

    font-weight: 900;

    line-height: 1.1;

    letter-spacing: -2px;

    background:
        linear-gradient(
            135deg,
            #ffffff,
            #a0a0a0
        );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    background-clip: text;
}


.hero-subtitle {
    margin-bottom: 40px;

    color: #d0d0d0;

    font-size: clamp(1rem, 2vw, 1.4rem);

    font-weight: 300;

    letter-spacing: 1.5px;
}


/* CTA */

.cta-button {
    display: inline-block;

    padding: 15px 38px;

    color: var(--primary-dark);

    background: var(--accent-color);

    text-decoration: none;

    font-size: 14px;

    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;

    border-radius: 3px;

    transition: 0.3s ease;
}


.cta-button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 12px 30px rgba(243,156,18,0.30);
}


/* =========================================================
   HERO WAVE
========================================================= */

.wave {
    position: absolute;

    inset: 0;

    overflow: hidden;

    background: #4973ff;

    opacity: 0.20;

    pointer-events: none;
}


.wave span {
    position: absolute;

    width: 325vh;
    height: 325vh;

    top: 0;
    left: 50%;

    transform:
        translate(-50%, -75%);

    background: #000;
}


.wave span:nth-child(1) {
    border-radius: 45%;

    background: rgba(20,20,20,1);

    animation:
        animate-wave 8s linear infinite;
}


.wave span:nth-child(2) {
    border-radius: 40%;

    background: rgba(20,20,20,0.5);

    animation:
        animate-wave 12s linear infinite;
}


.wave span:nth-child(3) {
    border-radius: 42.5%;

    background: rgba(20,20,20,0.5);

    animation:
        animate-wave 16s linear infinite;
}


@keyframes animate-wave {

    from {
        transform:
            translate(-50%, -75%)
            rotate(0deg);
    }

    to {
        transform:
            translate(-50%, -75%)
            rotate(360deg);
    }

}


/* =========================================================
   COMMON SECTION
========================================================= */

.section-header {
    width: min(100% - 40px, var(--container-width));

    margin: 0 auto 50px;

    text-align: center;
}


.section-title {
    margin-bottom: 10px;

    font-size: clamp(2rem, 5vw, 2.8rem);

    font-weight: 800;

    letter-spacing: -1px;
}


.section-subtitle {
    color: var(--text-gray);

    font-size: 15px;
}


/* =========================================================
   PROJECTS
========================================================= */

.portfolio-section {
    padding: 100px 20px;

    background: var(--primary-dark);
}


.portfolio-slider-wrapper {
    width: 100%;

    min-height: 650px;

    display: grid;

    place-items: center;

    padding: 30px 10px;

    overflow: hidden;
}


.portfolio-slider-wrapper input[type="radio"] {
    position: absolute;

    width: 1px;
    height: 1px;

    overflow: hidden;

    clip: rect(0,0,0,0);
}


.cards {
    --img-w: 220px;
    --duration: 300ms;

    width: min(100% - 20px, 800px);

    margin: auto;

    display: grid;

    counter-reset: my-counter;
}


.card {
    --cards-grid-cols: auto;
    --cards-grid-rows: var(--img-w) auto;
    --cards-grid-gap: 2rem;

    grid-area: 1 / 1;

    display: grid;

    place-items: center;

    grid-template-columns: var(--cards-grid-cols);

    grid-template-rows: var(--cards-grid-rows);

    gap: var(--cards-grid-gap);

    z-index: -1;
}


.card-img {
    width: 220px;
    height: 220px;

    object-fit: cover;

    aspect-ratio: 1;

    rotate: var(--angle, 0deg);

    border: 3px solid #333;

    border-radius: 12px;

    box-shadow:
        0 0 15px 5px rgba(0,0,0,0.4);

    transition: 0.3s ease;
}


.card-data {
    display: grid;

    gap: 1rem;

    color: var(--text-light);
}


.card-num {
    color: var(--accent-color);

    font-size: 0.9rem;

    opacity: var(--data-opacity, 0);
}


.card-data h2,
.card-data p {
    opacity: var(--data-opacity, 0);

    transform:
        translateY(var(--data-y, 20px));

    transition:
        300ms ease-in-out;
}


.card-data h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
}


.card-data p {
    color: var(--text-gray);

    font-size: 1rem;
}


.card-data footer {
    display: flex;

    justify-content: var(--cards-footer-justify, center);

    gap: 20px;

    margin-top: 10px;
}


.card-data footer label {
    width: 38px;
    height: 38px;

    display: grid;

    place-items: center;

    color: #fff;

    background: #333;

    border-radius: 50%;

    cursor: pointer;

    opacity: var(--data-opacity, 0);

    transition: 0.3s ease;
}


.card-data footer label:hover {
    color: #111;

    background: var(--accent-color);
}


/* Checked card */

input:checked + .card {
    z-index: 10 !important;

    --data-opacity: 1;

    --data-y: 0;

    --card-events: auto;
}


input:checked + .card > .card-img {
    animation:
        reveal-img
        calc(var(--duration) * 2)
        forwards;
}


@keyframes reveal-img {

    50% {
        translate: -150% 0;

        --angle: 0deg;
    }

}


/* Card stacking */

.card:has(+ input:checked) {
    z-index: 9;
}


.card:has(+ input + .card + input:checked) {
    z-index: 8;
}


.card:has(+ input + .card + input + .card + input:checked) {
    z-index: 7;
}


.card:has(+ input + .card + input + .card + input + .card + input:checked) {
    z-index: 6;
}


/* =========================================================
   ABOUT
========================================================= */

.about-section {
    padding: 100px 20px;

    background: var(--secondary-dark);
}


.about-container {
    width: min(100%, var(--container-width));

    margin: auto;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;
}


.about-image {
    overflow: hidden;

    border-radius: 10px;

    border: 1px solid var(--border-color);
}


.about-image img {
    width: 100%;

    display: block;

    filter: grayscale(100%);

    transition: 0.5s ease;
}


.about-image:hover img {
    filter: grayscale(0);
}


.about-content h2 {
    margin-bottom: 20px;

    font-size: clamp(2rem, 5vw, 2.7rem);
}


.about-content p {
    margin-bottom: 20px;

    color: var(--text-gray);

    font-size: 16px;

    line-height: 1.8;
}


/* STATS */

.stats {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;

    margin-top: 40px;
}


.stat-item {
    text-align: center;
}


.stat-number {
    color: var(--accent-color);

    font-size: 2.4rem;

    font-weight: 800;
}


.stat-label {
    color: var(--text-gray);

    font-size: 11px;

    letter-spacing: 1px;

    text-transform: uppercase;
}


/* =========================================================
   SKILLS
========================================================= */

.services-section {
    padding: 100px 20px;

    background: var(--primary-dark);

    overflow: hidden;
}


/* IMPORTANT:
   Automatic responsive grid
*/

.skills-grid {

    width: min(100%, 1200px);

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 70px 45px;

    justify-items: center;
}


/* SKILL CARD */

.services-canvas {

    position: relative;

    width: 170px;
    height: 170px;

    display: block;

    color: inherit;

    text-decoration: none;

    transition: 0.3s ease;
}


.services-canvas-border {

    position: absolute;

    top: 25px;
    left: -25px;

    width: 100%;
    height: 100%;

    z-index: 0;

    transform:
        rotate(-10deg)
        skew(-10deg);

    transition: 0.35s ease;
}


.services-canvas-border svg {

    width: 100%;
    height: 100%;
}


.services-rect-gradient {

    stroke-dasharray: 700;

    stroke-dashoffset: 700;

    transition: 0.8s ease;
}


.services-canvas-img-wrapper {

    position: absolute;

    inset: 0;

    z-index: 1;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #171717,
            #0e0e0e
        );

    border: 1px solid rgba(255,255,255,0.08);

    transform:
        rotate(-10deg)
        skew(-10deg);

    transition: 0.35s ease;
}


.services-canvas-img {

    width: 75%;
    height: 75%;

    object-fit: contain;

    transform: scale(0.9);

    transition: 0.35s ease;
}


/* NAME */

.skill-name {

    position: absolute;

    left: 50%;
    bottom: -42px;

    width: max-content;

    transform:
        translateX(-50%)
        translateY(10px);

    color: var(--text-gray);

    font-size: 13px;

    font-weight: 600;

    letter-spacing: 0.5px;

    opacity: 0;

    transition: 0.35s ease;
}


/* HOVER */

.services-canvas:hover {

    transform: translateY(-10px);
}


.services-canvas:hover
.services-canvas-img-wrapper {

    transform:
        rotate(-14deg)
        skew(-14deg)
        scale(0.96);

    border-color:
        rgba(243,156,18,0.25);

    box-shadow:
        0 15px 35px rgba(0,0,0,0.5);
}


.services-canvas:hover
.services-canvas-border {

    transform:
        rotate(-14deg)
        skew(-14deg)
        scale(0.96);
}


.services-canvas:hover
.services-canvas-img {

    transform: scale(1);
}


.services-canvas:hover
.services-rect-gradient {

    stroke-dashoffset: 0;
}


.services-canvas:hover
.skill-name {

    opacity: 1;

    transform:
        translateX(-50%)
        translateY(0);

    color: var(--accent-color);
}


/* =========================================================
   CONTACT
========================================================= */

.contact-section {
    padding: 100px 20px;

    background: var(--secondary-dark);
}


.contact-container {
    width: min(100%, 900px);

    margin: auto;

    text-align: center;
}


.contact-info {

    margin-top: 50px;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}


.contact-item {

    padding: 30px 20px;

    background:
        linear-gradient(
            135deg,
            #171717,
            #101010
        );

    border: 1px solid var(--border-color);

    border-radius: 12px;

    text-decoration: none;

    transition: 0.4s ease;
}


.contact-item:hover {

    transform:
        translateY(-8px);

    border-color:
        rgba(243,156,18,0.3);

    box-shadow:
        0 15px 35px rgba(0,0,0,0.5);
}


.contact-icon {

    width: 50px;
    height: 50px;

    margin:
        0 auto 15px;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        rgba(243,156,18,0.08);

    border-radius: 50%;
}


.contact-icon svg {

    width: 24px;
    height: 24px;

    fill: var(--accent-color);
}


.contact-label {

    margin-bottom: 8px;

    color: var(--text-gray);

    font-size: 11px;

    letter-spacing: 1px;

    text-transform: uppercase;
}


.contact-value {

    color: #fff;

    font-size: 14px;

    word-break: break-word;

    transition: 0.3s ease;
}


.contact-item:hover
.contact-value {

    color: var(--accent-color);
}


/* =========================================================
   FOOTER
========================================================= */

footer {

    padding: 40px 20px;

    background: var(--primary-dark);

    border-top:
        1px solid rgba(255,255,255,0.05);

    text-align: center;
}


.social-links {

    display: flex;

    justify-content: center;

    gap: 15px;

    margin-bottom: 25px;
}


.social-link {

    width: 45px;
    height: 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid rgba(255,255,255,0.08);

    border-radius: 50%;

    background: #151515;

    transition: 0.3s ease;
}


.social-link svg {

    width: 20px;
    height: 20px;

    fill: var(--text-gray);

    transition: 0.3s ease;
}


.social-link:hover {

    transform:
        translateY(-4px);

    border-color:
        var(--accent-color);

    background:
        var(--accent-color);
}


.social-link:hover svg {

    fill: #111;
}


.footer-text {

    color: var(--text-gray);

    font-size: 13px;
}


/* =========================================================
   LOADING
========================================================= */

.loading-screen {

    position: fixed;

    inset: 0;

    z-index: 9999;

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--primary-dark);

    transition: opacity 0.5s ease;
}


.loading-screen.hidden {

    opacity: 0;

    pointer-events: none;
}


.loader {

    width: 50px;
    height: 50px;

    border:
        3px solid rgba(255,255,255,0.1);

    border-top-color:
        var(--accent-color);

    border-radius: 50%;

    animation:
        spin 1s linear infinite;
}


@keyframes spin {

    to {
        transform: rotate(360deg);
    }

}


/* =========================================================
   REVEAL
========================================================= */

.reveal {

    opacity: 0;

    transform:
        translateY(30px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}


.reveal.active {

    opacity: 1;

    transform:
        translateY(0);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .skills-grid {

        grid-template-columns:
            repeat(4, 1fr);

        gap: 65px 30px;
    }


    .services-canvas {

        width: 155px;
        height: 155px;
    }


    .about-container {

        gap: 45px;
    }

}


/* =========================================================
   TABLET / SMALL LAPTOP
========================================================= */

@media (max-width: 900px) {

    .nav-menu {

        position: fixed;

        top: 70px;
        left: -100%;

        width: 100%;

        padding: 30px 20px;

        display: flex;

        flex-direction: column;

        gap: 8px;

        background:
            rgba(10,10,10,0.98);

        backdrop-filter: blur(15px);

        transition: 0.3s ease;
    }


    .nav-menu.active {

        left: 0;
    }


    .nav-menu a {

        width: 100%;

        padding: 14px;

        text-align: center;

        font-size: 16px;
    }


    .menu-toggle {

        display: flex;
    }


    .about-container {

        grid-template-columns:
            1fr;
    }


    .about-image {

        max-width: 700px;

        margin: auto;
    }


    .skills-grid {

        grid-template-columns:
            repeat(3, 1fr);

        gap: 70px 30px;
    }


    .contact-info {

        grid-template-columns:
            repeat(2, 1fr);
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    nav {

        width:
            calc(100% - 30px);
    }


    .logo {

        font-size: 18px;

        gap: 8px;
    }


    .logo svg {

        width: 27px;
        height: 27px;
    }


    .hero-section {

        min-height: 600px;
    }


    .hero-content {

        width:
            calc(100% - 30px);
    }


    .hero-greeting {

        font-size: 10px;

        letter-spacing: 2px;
    }


    .hero-title {

        font-size:
            clamp(2.1rem, 11vw, 3.5rem);

        letter-spacing:
            -1px;
    }


    .hero-subtitle {

        font-size: 0.95rem;

        line-height: 1.6;
    }


    .portfolio-section {

        padding:
            80px 15px;
    }


    .portfolio-slider-wrapper {

        min-height: 700px;

        padding: 20px 0;
    }


    .cards {

        width: 100%;
    }


    .card {

        --img-w: 180px;

        gap: 1.5rem;
    }


    .card-img {

        width: 180px;
        height: 180px;
    }


    .card-data {

        width:
            min(100%, 330px);

        text-align: center;
    }


    .card-data footer {

        justify-content: center;
    }


    .about-section,
    .services-section,
    .contact-section {

        padding:
            80px 15px;
    }


    .about-content {

        text-align: center;
    }


    .stats {

        gap: 10px;
    }


    .stat-number {

        font-size: 2rem;
    }


    .skills-grid {

        grid-template-columns:
            repeat(2, 1fr);

        gap: 75px 15px;
    }


    .services-canvas {

        width: 140px;
        height: 140px;
    }


    .services-canvas-border {

        top: 20px;

        left: -20px;
    }


    .skill-name {

        font-size: 12px;

        bottom: -35px;
    }


    .contact-info {

        grid-template-columns:
            1fr;

        gap: 18px;
    }


    .contact-item {

        padding: 25px 15px;
    }

}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 380px) {

    .logo span {

        font-size: 16px;
    }


    .skills-grid {

        grid-template-columns:
            1fr;

        gap: 80px;
    }


    .services-canvas {

        width: 160px;
        height: 160px;
    }


    .card-img {

        width: 160px;
        height: 160px;
    }


    .card-data {

        width:
            min(100%, 290px);
    }

}


/* =========================================================
   REDUCE MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {

        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        scroll-behavior: auto !important;

        transition-duration: 0.01ms !important;
    }

}
