/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;400;500;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* --- VARIABLES CSS --- */
:root {
    --header-height: 3.5rem;

    /* Colors - Light Theme */
    --hue-color: 250;
    --first-color: hsl(var(--hue-color), 69%, 61%);
    --first-color-second: hsl(var(--hue-color), 69%, 61%);
    --first-color-alt: hsl(var(--hue-color), 57%, 53%);
    --title-color: hsl(var(--hue-color), 8%, 15%);
    --text-color: hsl(var(--hue-color), 8%, 45%);
    --text-color-light: hsl(var(--hue-color), 8%, 65%);
    --input-color: hsl(var(--hue-color), 70%, 96%);
    --body-color: hsl(var(--hue-color), 60%, 99%);
    --container-color: #ffffff;
    --scroll-bar-color: hsl(var(--hue-color), 12%, 90%);
    --scroll-thumb-color: hsl(var(--hue-color), 12%, 80%);

    --neon-blue: #00bcd4;
    --neon-purple: #6200ea;

    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);

    /* Font and Typography */
    --body-font: 'Outfit', sans-serif;
    --code-font: 'Fira Code', monospace;

    --big-font-size: 2rem;
    --h1-font-size: 1.5rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1rem;
    --normal-font-size: .938rem;
    --small-font-size: .813rem;
    --smaller-font-size: .75rem;

    /* Font weights */
    --font-medium: 500;
    --font-semi-bold: 600;
    --font-bold: 700;

    /* Margins */
    --mb-0-25: .25rem;
    --mb-0-5: .5rem;
    --mb-0-75: .75rem;
    --mb-1: 1rem;
    --mb-1-5: 1.5rem;
    --mb-2: 2rem;
    --mb-2-5: 2.5rem;
    --mb-3: 3rem;

    /* Z-index */
    --z-tooltip: 10;
    --z-fixed: 100;
    --z-modal: 1000;
}

/* --- VARIABLES DARK THEME --- */
body.dark-theme {
    /* HSL Variables for Dark Mode */
    --first-color-second: hsl(var(--hue-color), 30%, 8%);
    --title-color: hsl(var(--hue-color), 8%, 95%);
    --text-color: hsl(var(--hue-color), 8%, 75%);
    --input-color: hsl(var(--hue-color), 29%, 16%);
    --body-color: hsl(var(--hue-color), 28%, 12%);
    --container-color: hsl(var(--hue-color), 29%, 16%);
    --scroll-bar-color: hsl(var(--hue-color), 12%, 48%);
    --scroll-thumb-color: hsl(var(--hue-color), 12%, 36%);

    --shadow-soft: none;
    --shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.5);

    --text-color-light: hsl(var(--hue-color), 8%, 65%);
}

/* Adjust components for Dark Mode */
.dark-theme .header {
    background-color: rgba(20, 20, 20, 0.8);
    box-shadow: none;
}

.dark-theme .service-card {
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.dark-theme .tech-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--title-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.dark-theme .tech-circle {
    border-color: rgba(0, 243, 255, 0.2);
}

.dark-theme .circle-2 {
    border-color: rgba(157, 0, 255, 0.2);
}

.dark-theme .tech-icon {
    color: var(--text-color-light);
    opacity: 0.5;
}

.dark-theme .footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.dark-theme .footer-copy {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Response Typography */
@media screen and (min-width: 968px) {
    :root {
        --big-font-size: 3rem;
        --h1-font-size: 2.25rem;
        --h2-font-size: 1.5rem;
        --h3-font-size: 1.25rem;
        --normal-font-size: 1rem;
        --small-font-size: .875rem;
        --smaller-font-size: .813rem;
    }
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0 0 var(--header-height) 0;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--body-color);
    color: var(--text-color);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    color: var(--title-color);
    font-weight: var(--font-semi-bold);
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* --- LAYOUT --- */
.container {
    max-width: 1024px;
    margin-left: var(--mb-1-5);
    margin-right: var(--mb-1-5);
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.section {
    padding: 2rem 0 4rem;
}

.section-header {
    text-align: center;
    margin-bottom: var(--mb-3);
}

.section-title {
    font-size: var(--h1-font-size);
    color: var(--title-color);
}

.section-subtitle {
    display: block;
    font-size: var(--small-font-size);
    margin-bottom: var(--mb-3);
    color: var(--neon-blue);
    font-family: var(--code-font);
    position: relative;
}

.typewriter-text::after {
    content: '|';
    margin-left: 2px;
    animation: blink 0.7s infinite;
    color: var(--text-color);
    font-weight: 300;
}

/* --- HEADER --- */
.header {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: var(--z-fixed);
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

/* Nav */
.navbar {
    max-width: 1024px;
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--title-color);
    font-weight: var(--font-bold);
    font-size: var(--h3-font-size);
    font-family: var(--code-font);
}

.logo .highlight {
    color: var(--neon-blue);
}

.logo .cursor {
    animation: blink 1s infinite step-end;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.nav-link {
    color: var(--title-color);
    font-weight: var(--font-medium);
    transition: .3s;
}

.nav-link:hover {
    color: var(--neon-blue);
}

.nav-toggle {
    color: var(--title-color);
    font-size: 1.3rem;
    cursor: pointer;
}

.nav-close {
    position: absolute;
    right: 1.3rem;
    bottom: .5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--title-color);
}

@media screen and (max-width: 767px) {
    .nav-menu {
        position: fixed;
        bottom: -100%;
        left: 0;
        width: 100%;
        background-color: var(--container-color);
        padding: 2rem 1.5rem 4rem;
        box-shadow: 0 -1px 4px rgba(0, 0, 0, .15);
        border-radius: 1.5rem 1.5rem 0 0;
        transition: .3s;
        z-index: var(--z-fixed);
    }
}

.show-menu {
    bottom: 0;
}

.nav-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.nav-item {
    text-align: center;
}

/* --- HERO --- */
.home {
    position: relative;
    padding-top: 2rem;
    /* Reduced padding */
    padding-bottom: 4rem;
    /* Added bottom spacing */
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

/* Background Animation Effect */
.home-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 20%, rgba(0, 188, 212, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(98, 0, 234, 0.05) 0%, transparent 40%);
    z-index: -1;
}

.home-container {
    gap: 2rem;
    padding-top: 2rem;
}

.home-data {
    text-align: center;
}

.home-subtitle {
    font-size: var(--normal-font-size);
    color: var(--neon-blue);
    font-family: var(--code-font);
    display: block;
    margin-bottom: var(--mb-0-5);
}

.home-title {
    font-size: var(--big-font-size);
    line-height: 1.2;
    margin-bottom: var(--mb-1);
}

.typewriter-text {
    color: var(--first-color);
    position: relative;
}

.typewriter-text::after {
    content: '|';
    position: absolute;
    right: -4px;
    animation: blink 0.7s infinite;
    color: var(--neon-blue);
}

.home-description {
    font-size: var(--normal-font-size);
    margin-bottom: var(--mb-2);
    color: var(--text-color-light);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Home Animation Section */
.home-img {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.tech-animation {
    width: 300px;
    height: 300px;
    position: relative;
    transform: scale(0.8);
    /* Scale down for mobile */
}

.tech-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(0, 188, 212, 0.3);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.circle-1 {
    width: 100%;
    height: 100%;
    animation: rotate-circle 10s linear infinite;
}

.circle-2 {
    width: 70%;
    height: 70%;
    border-color: rgba(98, 0, 234, 0.3);
    animation: rotate-circle 15s linear infinite reverse;
}

.tech-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--code-font);
    font-size: var(--small-font-size);
    color: var(--title-color);
    box-shadow: var(--shadow-soft);
}

.tech-card i {
    color: var(--neon-blue);
    font-size: 1.2rem;
}

.card-1 {
    top: 20%;
    left: 10%;
    animation: float-card 4s ease-in-out infinite;
}

.card-2 {
    top: 50%;
    right: 0%;
    border-color: rgba(157, 0, 255, 0.3);
    animation: float-card 5s ease-in-out infinite 1s;
}

.tech-card.card-2 i {
    color: var(--neon-purple);
}

.card-3 {
    bottom: 20%;
    left: 20%;
    animation: float-card 4.5s ease-in-out infinite 0.5s;
}

.tech-icon {
    position: absolute;
    font-size: 2rem;
    color: var(--first-color);
    /* Changed from text-color-light */
    opacity: 0.8;
    /* Increased opacity */
}

.icon-1 {
    top: 10%;
    right: 20%;
    animation: pulse 3s infinite;
}

.icon-2 {
    bottom: 15%;
    right: 15%;
    animation: pulse 3s infinite 1s;
}

.icon-3 {
    top: 40%;
    left: 0%;
    animation: pulse 3s infinite 2s;
}

@keyframes rotate-circle {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes float-card {
    0% {
        transform: translateY(0);
    }

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

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

@keyframes pulse {
    0% {
        opacity: 0.3;
        transform: scale(0.9);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }

    100% {
        opacity: 0.3;
        transform: scale(0.9);
    }
}

.home-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.button {
    display: inline-flex;
    align-items: center;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: var(--font-medium);
    transition: 0.3s;
    cursor: pointer;
}

.button--primary {
    background-color: var(--first-color);
    color: #fff;
    box-shadow: 0 4px 12px rgba(97, 26, 254, 0.4);
}

.button--primary:hover {
    background-color: var(--first-color-alt);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(97, 26, 254, 0.6);
}

.button--ghost {
    background-color: transparent;
    border: 2px solid var(--first-color);
    color: var(--first-color);
}

.button--ghost:hover {
    background-color: var(--first-color);
    color: #fff;
}

.button i {
    font-size: 1.25rem;
    margin-left: 0.5rem;
    transition: 0.3s;
}

.button:hover i {
    transform: translateX(0.25rem);
}

/* Scroll Down */
.scroll-down {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-color);
}

.mouse {
    width: 20px;
    height: 32px;
    border: 2px solid var(--text-color);
    border-radius: 12px;
    position: relative;
    margin-bottom: 0.5rem;
}

.wheel {
    width: 4px;
    height: 4px;
    background-color: var(--neon-blue);
    border-radius: 50%;
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        top: 4px;
        opacity: 1;
    }

    100% {
        top: 18px;
        opacity: 0;
    }
}

.scroll-text {
    font-size: var(--smaller-font-size);
    font-family: var(--code-font);
}

/* --- SERVICES --- */
.services-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.service-card {
    background-color: var(--container-color);
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    transition: .4s;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.service-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: var(--shadow-hover);
    border-color: var(--first-color);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
    opacity: 0;
    transition: 0.3s;
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    display: inline-flex;
    padding: 0.75rem;
    background-color: rgba(97, 26, 254, 0.1);
    color: var(--first-color);
    font-size: 2rem;
    border-radius: 0.75rem;
    margin-bottom: var(--mb-1);
}

.service-title {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-1);
}

.service-description {
    font-size: var(--normal-font-size);
    margin-bottom: var(--mb-2);
    color: var(--text-color-light);
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--first-color);
    font-weight: var(--font-medium);
    font-family: var(--code-font);
    font-size: var(--small-font-size);
    transition: 0.3s;
}

.service-link:hover {
    color: var(--neon-blue);
}

.service-link i {
    margin-left: 0.25rem;
    transition: 0.3s;
}

.service-link:hover i {
    transform: translateX(0.25rem);
}

/* --- FEATURES --- */
.features-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.feature-card {
    background-color: var(--container-color);
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Light border */
    transition: .3s;
    box-shadow: var(--shadow-soft);
}

.feature-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: var(--shadow-hover);
    border-color: var(--first-color);
}

.feature-icon {
    display: inline-flex;
    padding: 0.75rem;
    background-color: rgba(97, 26, 254, 0.1);
    color: var(--first-color);
    font-size: 2rem;
    border-radius: 50%;
    margin-bottom: var(--mb-1);
}

.feature-title {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-0-5);
    color: var(--title-color);
}

.feature-description {
    font-size: var(--small-font-size);
    color: var(--text-color-light);
}

/* Dark Theme Features Override */
.dark-theme .feature-card {
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- PORTFOLIO --- */
.portfolio-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.portfolio-card {
    background-color: var(--container-color);
    border-radius: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: .4s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.portfolio-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: var(--shadow-hover);
    border-color: var(--first-color);
}

.portfolio-img {
    height: 200px;
    background: linear-gradient(135deg, rgba(98, 0, 234, 0.1) 0%, rgba(0, 188, 212, 0.1) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4rem;
    color: var(--first-color);
    transition: .4s;
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-data {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.portfolio-category {
    font-size: var(--smaller-font-size);
    color: var(--first-color);
    font-weight: var(--font-medium);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
}

.portfolio-title {
    font-size: var(--h3-font-size);
    margin-bottom: 0.5rem;
    color: var(--title-color);
}

.portfolio-description {
    font-size: var(--normal-font-size);
    margin-bottom: 1.5rem;
    color: var(--text-color-light);
    flex-grow: 1;
}

.button--link {
    padding: 0;
    background: transparent;
    color: var(--first-color);
    box-shadow: none;
}

.button--link:hover {
    background: transparent;
    color: var(--first-color-alt);
    transform: none;
    box-shadow: none;
}

.button--link i {
    transition: .3s;
}

.button--link:hover i {
    transform: translateX(0.25rem);
}

/* Dark Theme Portfolio overrides */
.dark-theme .portfolio-card {
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- ABOUT --- */
.about-container {
    gap: 2rem;
    align-items: center;
}

.about-content {
    text-align: left;
}

.about-description {
    margin-bottom: var(--mb-2);
}

.about-features {
    display: grid;
    gap: 1.5rem;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.about-feature i {
    font-size: 1.5rem;
    color: var(--neon-blue);
    margin-top: 0.2rem;
}

.feature-title {
    font-size: var(--normal-font-size);
    font-weight: var(--font-semi-bold);
    margin-bottom: 0.25rem;
}

.feature-text {
    font-size: var(--small-font-size);
    color: var(--text-color-light);
}

.code-block {
    background-color: #1a1a1a;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid #333;
    font-family: var(--code-font);
    font-size: var(--small-font-size);
    color: #e6e6e6;
    overflow-x: auto;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    position: relative;
}

.code-block::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 15px;
    width: 10px;
    height: 10px;
    background-color: #ff5f56;
    border-radius: 50%;
    box-shadow: 15px 0 0 #ffbd2e, 30px 0 0 #27c93f;
}

pre {
    margin-top: 1rem;
}

.keyword {
    color: #d55fde;
}

.class-name {
    color: #ebbf83;
}

.function {
    color: #61afef;
}

.string {
    color: #98c379;
}

.return {
    color: #d55fde;
}

.this {
    color: #e5c07b;
}

/* --- CTA --- */
.cta {
    text-align: center;
    background: linear-gradient(135deg, var(--first-color) 0%, var(--first-color-alt) 100%);
    border-radius: 1rem;
    padding: 3rem 1.5rem;
    margin: 2rem var(--mb-1-5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cta-title {
    font-size: var(--h2-font-size);
    margin-bottom: var(--mb-1);
    color: white;
}

.cta-description {
    margin-bottom: var(--mb-2);
    color: rgba(255, 255, 255, 0.8);
}

.button--white {
    background-color: #fff;
    color: var(--first-color);
}

.button--white:hover {
    background-color: #f0f0f0;
}

/* --- FOOTER --- */
.footer {
    padding: 2rem 0;
    margin-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-container {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-logo {
    font-weight: var(--font-bold);
    font-size: var(--h2-font-size);
    color: var(--title-color);
    font-family: var(--code-font);
    margin-bottom: var(--mb-1);
    display: inline-block;
}

.footer-description {
    font-size: var(--small-font-size);
    margin-bottom: var(--mb-1-5);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social-link {
    font-size: 1.5rem;
    color: var(--title-color);
    transition: .3s;
}

.footer-social-link:hover {
    color: var(--neon-blue);
    transform: translateY(-3px);
}

.footer-title {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-1-5);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    color: var(--text-color-light);
    font-size: var(--small-font-size);
    transition: .3s;
}

.footer-link:hover {
    color: var(--neon-blue);
    padding-left: 5px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--small-font-size);
    color: var(--text-color-light);
}

.footer-contact-item i {
    font-size: 1.25rem;
    color: var(--first-color);
}

.footer-copy {
    text-align: center;
    margin-top: 3rem;
    font-size: var(--smaller-font-size);
    color: var(--text-color-light);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 1rem;
}

/* --- WHATSAPP FLOAT --- */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: var(--z-tooltip);
    transition: .3s;
    animation: float 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20b857;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

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

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

/* --- SCROLL BAR --- */
::-webkit-scrollbar {
    width: .6rem;
    background-color: var(--scroll-bar-color);
    border-radius: .5rem;
}

::-webkit-scrollbar-thumb {
    background-color: var(--scroll-thumb-color);
    border-radius: .5rem;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--text-color-light);
}

/* --- MEDIA QUERIES --- */
@media screen and (min-width: 768px) {
    body {
        margin: 0;
    }

    .header {
        top: 0;
        bottom: initial;
    }

    .navbar {
        height: calc(var(--header-height) + 1.5rem);
        column-gap: 3rem;
    }

    .container {
        margin-left: auto;
        margin-right: auto;
    }

    .nav-toggle,
    .nav-close {
        display: none;
    }

    .nav-list {
        display: flex;
        gap: 3rem;
    }

    .nav-menu {
        margin-left: auto;
    }

    .home-container {
        padding-top: 0;
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
    }

    .home-data {
        text-align: left;
    }

    .home-buttons {
        justify-content: flex-start;
    }

    .home-description {
        margin-left: 0;
        margin-right: 0;
    }

    .tech-animation {
        transform: scale(1);
        /* Reset scale for desktop */
    }

    .about-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-container {
        width: 80%;
        margin: auto;
    }
}