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

:root {
    --primary-color: #1e6a5f;
    --primary-dark: #124a43;
    --secondary-color: #98d8c8;
    --text-dark: #1f1d1a;
    --text-light: #6a645b;
    --bg-light: #f4efe6;
    --bg-white: #ffffff;
    --border-color: rgba(31, 29, 26, 0.1);
    --shadow: 0 24px 60px rgba(55, 37, 15, 0.12);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Dark theme variables */
html[data-theme="dark"] {
    --primary-color: #4ecdc4;
    --primary-dark: #3ab8b0;
    --secondary-color: #98d8c8;
    --text-dark: #e0e0e0;
    --text-light: #9a9a9a;
    --bg-light: #2d2d2d;
    --bg-white: #1a1a1a;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    color: var(--text-dark);
    background-color: #fffdf8;
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Hide native scrollbar for custom in-page scrollbar */
html {
    scrollbar-width: none;
}

body::-webkit-scrollbar,
html::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.custom-scrollbar {
    position: fixed;
    top: 78px;
    right: 8px;
    bottom: 10px;
    width: 8px;
    z-index: 995;
    pointer-events: none;
    opacity: 0;
    transition: opacity 220ms ease;
}

.custom-scrollbar.is-visible {
    opacity: 1;
}

.custom-scrollbar-track {
    position: relative;
    width: 100%;
    height: 100%;
    background: transparent;
    pointer-events: auto;
}

.custom-scrollbar-thumb {
    position: absolute;
    left: 0;
    width: 100%;
    min-height: 36px;
    border-radius: 999px;
    background: rgba(30, 106, 95, 0.65);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    cursor: grab;
}

.custom-scrollbar-thumb:active {
    cursor: grabbing;
}

html[data-theme="dark"] .custom-scrollbar-thumb {
    background: rgba(152, 216, 200, 0.72);
}

html[data-theme="dark"] body {
    background-color: #1a1a1a;
}

/* Navigation */
.navbar {
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 70px;
    transition: background-color 0.3s ease;
}

.nav-container {
    max-width: none;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 0 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2.2rem;
    line-height: 1;
    font-weight: 700;
    color: #1e6a5f;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #1e6a5f;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 5px 0;
    transition: 0.3s;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Scroll focus stack effect */
.stack-scroll-section {
    position: relative;
    will-change: transform, opacity;
    transition: transform 320ms cubic-bezier(0.22, 0.61, 0.36, 1), opacity 320ms ease;
}

.stack-scroll-section + .stack-scroll-section {
    margin-top: -24px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e6a5f 0%, #124a43 100%);
    color: white;
    padding: 120px 2rem;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-react-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    --parallax-1: 0px;
    --parallax-2: 0px;
    --parallax-3: 0px;
    --parallax-4: 0px;
    --parallax-spot: 0px;
}

.hero-bg-shell {
    position: absolute;
    inset: 0;
    animation: heroDrift 20s ease-in-out infinite;
}

.hero-layer {
    position: absolute;
    inset: 0;
    transition: opacity 700ms ease;
}

.hero-parallax-layer {
    position: absolute;
    inset: 0;
    will-change: transform;
    transition: transform 220ms ease-out;
}

.hero-parallax-1 {
    transform: translate3d(0, var(--parallax-1), 0);
}

.hero-parallax-2 {
    transform: translate3d(0, var(--parallax-2), 0);
}

.hero-parallax-3 {
    transform: translate3d(0, var(--parallax-3), 0);
}

.hero-parallax-4 {
    transform: translate3d(0, var(--parallax-4), 0);
}

.hero-parallax-spot {
    transform: translate3d(0, var(--parallax-spot), 0);
}

.hero-layer-light {
    opacity: 1;
}

.hero-layer-dark {
    opacity: 0;
}

html[data-theme="dark"] .hero-layer-light {
    opacity: 0;
}

html[data-theme="dark"] .hero-layer-dark {
    opacity: 1;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent 85%);
}

.hero-layer-dark .hero-bg-grid {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
}

.hero-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(2px);
    opacity: 0.34;
    animation: heroFloat 14s ease-in-out infinite, heroGlow 6.6s ease-in-out infinite;
}

.hero-orb-1 {
    width: min(42vw, 520px);
    height: min(42vw, 520px);
    top: -12%;
    left: -10%;
    background: radial-gradient(circle, rgba(152, 216, 200, 0.9) 0%, rgba(152, 216, 200, 0.06) 70%);
}

.hero-layer-dark .hero-orb-1 {
    background: radial-gradient(circle, rgba(78, 205, 196, 0.45) 0%, rgba(78, 205, 196, 0.04) 70%);
}

.hero-orb-2 {
    width: min(35vw, 460px);
    height: min(35vw, 460px);
    right: -8%;
    bottom: -16%;
    background: radial-gradient(circle, rgba(30, 106, 95, 0.72) 0%, rgba(58, 134, 163, 0.06) 72%);
    animation-delay: -5s, -1.2s;
}

.hero-layer-dark .hero-orb-2 {
    background: radial-gradient(circle, rgba(58, 184, 176, 0.42) 0%, rgba(102, 167, 230, 0.04) 72%);
}

.hero-orb-3 {
    width: min(22vw, 300px);
    height: min(22vw, 300px);
    top: 30%;
    right: 24%;
    background: radial-gradient(circle, rgba(96, 199, 170, 0.38) 0%, rgba(58, 184, 176, 0.03) 72%);
    animation-delay: -9s, -2.4s;
}

.hero-orb-4 {
    width: min(24vw, 340px);
    height: min(24vw, 340px);
    left: -6%;
    bottom: -12%;
    background: radial-gradient(circle, rgba(172, 229, 215, 0.45) 0%, rgba(141, 206, 226, 0.04) 74%);
    animation-delay: -2s, -3.1s;
}

.hero-layer-dark .hero-orb-3 {
    background: radial-gradient(circle, rgba(152, 216, 200, 0.33) 0%, rgba(117, 214, 200, 0.04) 72%);
}

.hero-layer-dark .hero-orb-4 {
    background: radial-gradient(circle, rgba(116, 226, 219, 0.34) 0%, rgba(102, 167, 230, 0.03) 74%);
}

.hero-spotlight {
    position: absolute;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    left: 50%;
    top: 42%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.02) 68%);
    animation: heroPulse 12s ease-in-out infinite, heroSpotGlow 7.6s ease-in-out infinite;
}

.hero-layer-dark .hero-spotlight {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.01) 68%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

@keyframes heroFloat {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(0, -16px, 0) scale(1.03);
    }
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes heroPulse {
    0% {
        transform: translate(-50%, -50%) scale(0.96);
        opacity: 0.72;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.04);
        opacity: 0.92;
    }
    100% {
        transform: translate(-50%, -50%) scale(0.96);
        opacity: 0.72;
    }
}

@keyframes heroGlow {
    0% {
        opacity: 0.22;
        filter: blur(3.2px);
    }
    50% {
        opacity: 0.5;
        filter: blur(1.4px);
    }
    100% {
        opacity: 0.22;
        filter: blur(3.2px);
    }
}

@keyframes heroSpotGlow {
    0% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.7;
    }
}

@keyframes heroDrift {
    0% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -8px, 0);
    }
    100% {
        transform: translate3d(0, 0, 0);
    }
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.hero-content .name {
    position: relative;
    background: linear-gradient(120deg, #b9ecdf 0%, #98d8c8 28%, #6bb7aa 60%, #1e6a5f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 0.5rem;
    letter-spacing: 0.04em;
    font-size: clamp(2rem, 4.2vw, 3.2rem);
    font-weight: 900;
    line-height: 0.95;
    filter: drop-shadow(0 6px 14px rgba(12, 20, 18, 0.16));
}

.hero-content .name::after {
    content: "";
    display: block;
    width: 42%;
    height: 2px;
    margin: 0.45rem auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(152, 216, 200, 0.22), rgba(152, 216, 200, 0.9), rgba(30, 106, 95, 0.42));
    opacity: 0.85;
    transition: opacity 320ms ease, background 320ms ease;
}

html[data-theme="dark"] .hero-content .name {
    background: none;
    -webkit-text-fill-color: #9be7d8;
    color: #9be7d8;
    filter: none;
    text-shadow: 0 0 14px rgba(78, 205, 196, 0.22);
}

html[data-theme="dark"] .hero-content .name::after {
    display: block;
    background: transparent;
    opacity: 0;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 12px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-color);
}

.cta-button:hover {
    background-color: transparent;
    color: var(--secondary-color);
    transform: translateY(-2px);
}

/* About Section */
.about {
    padding: 80px 2rem;
    background-color: #f4efe6;
    transition: background-color 0.3s ease;
}

html[data-theme="dark"] .about {
    background-color: #2d2d2d;
}

.about h2,
.projects h2,
.skills h2,
.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-dark);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Projects Section */
.projects {
    padding: 80px 2rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: transform 520ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 520ms cubic-bezier(0.16, 1, 0.3, 1), border-color 460ms ease;
    box-shadow: var(--shadow);
}

.project-card:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 14px 28px rgba(31, 29, 26, 0.16);
    border-color: var(--primary-color);
}

.project-card.coming-soon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    background: linear-gradient(135deg, #f4efe6 0%, #ead8c3 100%);
    text-align: center;
}

html[data-theme="dark"] .project-card.coming-soon {
    background: linear-gradient(135deg, #2d2d2d 0%, #3a3a3a 100%);
}

.project-card.coming-soon h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.project-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin: 0;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    color: #1e6a5f;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 4px 12px;
    border: 1px solid #1e6a5f;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.project-link:hover {
    background-color: #1e6a5f;
    color: white;
}

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

.project-impact {
    margin-bottom: 1.25rem;
    padding: 0.7rem 0.85rem;
    border-left: 3px solid rgba(30, 106, 95, 0.45);
    background: rgba(30, 106, 95, 0.08);
    color: var(--text-dark);
    font-size: 0.93rem;
    border-radius: 0 8px 8px 0;
}

html[data-theme="dark"] .project-impact {
    background: rgba(152, 216, 200, 0.1);
    border-left-color: rgba(152, 216, 200, 0.55);
}

.project-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-badge {
    background-color: rgba(30, 106, 95, 0.12);
    color: #1e6a5f;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.project-features {
    list-style: none;
    font-size: 0.95rem;
}

.project-features li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.project-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Skills Section */
.skills {
    padding: 80px 2rem;
    background-color: #f4efe6;
    transition: background-color 0.3s ease;
}

html[data-theme="dark"] .skills {
    background-color: #2d2d2d;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.skill-category {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.skill-category:hover {
    transform: translateY(-2px) scale(1.03);
}

.skill-category h3 {
    color: #1e6a5f;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.skill-category ul {
    list-style: none;
}

.skill-category li {
    color: var(--text-light);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.skill-category li:last-child {
    border-bottom: none;
}

/* Contact Section */
.contact {
    padding: 80px 2rem;
    text-align: center;
}

.contact p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-open-btn {
    color: #1e6a5f;
    text-decoration: none;
    font-weight: 600;
    padding: 12px 24px;
    border: 2px solid #1e6a5f;
    border-radius: 8px;
    margin: 0 auto 1.4rem;
    font: inherit;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-open-btn:hover {
    background-color: #1e6a5f;
    color: white;
}

.contact-modal {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(12, 14, 18, 0.34);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 260ms ease;
}

.contact-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.contact-modal-dialog {
    position: relative;
    width: min(780px, 100%);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.3);
    padding: 2.2rem 1.35rem 1.35rem;
}

.contact-modal-dialog h3 {
    margin: 0 0 0.9rem;
    color: var(--text-dark);
    text-align: left;
}

.contact-modal-close {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    border: none;
    background: transparent;
    color: var(--text-dark);
    font-size: 1.35rem;
    line-height: 1;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 200ms ease;
}

.contact-modal-close:hover {
    background: rgba(31, 29, 26, 0.08);
}

body.modal-open {
    overflow: hidden;
}

.contact-form {
    width: min(760px, 100%);
    margin: 0;
    text-align: left;
    display: grid;
    gap: 0.9rem;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.contact-form label {
    display: grid;
    gap: 0.45rem;
    color: var(--text-dark);
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0.75rem 0.85rem;
    font: inherit;
    color: var(--text-dark);
    background: color-mix(in srgb, var(--bg-white) 85%, white 15%);
    transition: border-color 220ms ease, box-shadow 220ms ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(30, 106, 95, 0.55);
    box-shadow: 0 0 0 3px rgba(30, 106, 95, 0.16);
}

.contact-submit {
    justify-self: start;
    border: none;
    border-radius: 999px;
    padding: 0.8rem 1.2rem;
    font: inherit;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #1e6a5f, #2c8a7e);
    cursor: pointer;
    transition: transform 220ms ease, filter 220ms ease;
}

.contact-submit:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.contact-submit:disabled {
    cursor: not-allowed;
    opacity: 0.75;
    transform: none;
}

.contact-form-status {
    min-height: 1.2rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-link {
    color: #1e6a5f;
    text-decoration: none;
    font-weight: 600;
    padding: 12px 24px;
    border: 2px solid #1e6a5f;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-link-button {
    font: inherit;
    font-weight: 600;
    background: transparent;
    cursor: pointer;
}

.contact-link:hover {
    background-color: #1e6a5f;
    color: white;
}

/* Footer */
.footer {
    background-color: #1f1d1a;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
}

/* Theme Toggle Button */
.theme-toggle-wrapper {
    position: fixed;
    top: 70px;
    left: 1rem;
    z-index: 1001;
    padding-top: 0.6rem;
}

.theme-toggle-btn {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background-color: var(--bg-white);
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.theme-toggle-btn:hover {
    transform: scale(1.08);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .contact-modal-dialog {
        padding: 2rem 1rem 1rem;
    }

    .contact-submit {
        width: 100%;
        justify-self: stretch;
    }

    .stack-scroll-section + .stack-scroll-section {
        margin-top: -12px;
    }

    .hero-spotlight {
        width: 280px;
        height: 280px;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        gap: 0;
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        padding: 1rem 0;
        display: block;
        border-bottom: 1px solid var(--border-color);
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero {
        padding: 80px 2rem;
        min-height: auto;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .about h2,
    .projects h2,
    .skills h2,
    .contact h2 {
        font-size: 2rem;
    }

    .contact-links {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-link {
        display: block;
    }
}

@media (prefers-reduced-motion: reduce) {
    .stack-scroll-section {
        transition: none;
        transform: none !important;
        opacity: 1 !important;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }

    .theme-toggle-wrapper {
        left: 0.5rem;
        top: 70px;
    }

    .theme-toggle-btn {
        width: 42px;
        height: 42px;
        font-size: 1.15rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .about,
    .projects,
    .skills,
    .contact {
        padding: 40px 1rem;
    }

    .project-stack {
        justify-content: flex-start;
    }
}
