:root {
    --bg-color: #0d1117; 
    --brand-color: #ffffff;
    --nav-bg-gradient: linear-gradient(180deg, #2d343f, #22272e); 
    --nav-bg-gradient-active: linear-gradient(180deg, #373e49, #2d343f); 
    --text-color: #adbac7; 
    --icon-color: #adbac7; 
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    --bg-color: #050505;
    --window-bg: #111111;
    --window-border: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: #B0B0B0;
    --text-greeting: #888888;
    --mac-red: #FF5F57;
    --mac-yellow: #FEBC2E;
    --mac-green: #28C840;
    --badge-green-border: rgba(40, 200, 64, 0.3);
    --badge-green-text: #28C840;
    --badge-purple-border: rgba(157, 78, 221, 0.3);
    --badge-purple-text: #9d4edd;
    --btn-blue-gradient: linear-gradient(135deg, #007AFF, #0056b3);
    --btn-blue-glow: rgba(0, 122, 255, 0.4);
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --glass-bg: rgba(255, 255, 255, 0.035);
    --glass-bg-strong: rgba(255, 255, 255, 0.055);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(20px) saturate(160%);

}

body {
    margin: 0;
    background-color: var(--bg-color);
    background-image:
        radial-gradient(circle at 12% 15%, rgba(0, 122, 255, 0.16), transparent 42%),
        radial-gradient(circle at 88% 8%, rgba(157, 78, 221, 0.14), transparent 40%),
        radial-gradient(circle at 50% 90%, rgba(40, 200, 64, 0.07), transparent 45%);
    background-attachment: fixed;
    background-size: cover;
    color: var(--text-color);
    font-family: var(--font-family);
    min-height: 100vh;
    overflow-x:hidden;
}

*,
*::before,
*::after{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

.portfolio-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    height: auto;
}

.brand {
    font-size: 22px;
    font-weight: 600;
    color: var(--brand-color);
    margin-right: auto; 
    font-family: "Pixelify Sans", sans-serif;
}

.main-nav {
    display: flex;
    gap: 1rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    color: var(--brand-color);
    font-weight: 500;
    padding: 0.50rem 1.5rem;
    border-radius: 50px;
    margin-top: 20px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s ease, transform 0.1s ease;
}

.nav-button {
    color: var(--brand-color);
    font-weight: 500;
    padding: 0.50rem 0.75rem;
    border-radius: 50px;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.1s ease, border-color 0.2s ease;
    position: relative;
    z-index: 2;
}

.nav-button:hover {
    transform: translateY(-1px);
}

.nav-button.active {
    background: rgba(0, 122, 255, 0.18);
    border: 1px solid rgba(0, 122, 255, 0.35);
    color: #ffffff;
    
    transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1),
                width 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
    
}

.nav-indicator {
    position: absolute;
    height: 100%;
    border-radius: 50px;
    left: 0;
    top: 0;
    transition: width 0.45s cubic-bezier(0.25, 0.8, 0.25, 1),
                transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: none;
    z-index: 0;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 101;
    margin-right: auto;
    width: 28px;
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--brand-color);
    border-radius: 1px;
    transition: var(--transition-smooth);
    transform-origin: center;
    display: block;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(9px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-9px);
}

.external-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.ext-link {
    text-decoration: none;
    color: var(--brand-color);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s ease;
}

.ext-link:hover {
    color: var(--text-color);
}

.ext-icon {
    width: 14px;
    height: 14px;
    fill: var(--icon-color);
}

.special-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    margin-left: 2rem;
}

.sparkle-icon {
    width: 20px;
    height: 20px;
    fill: var(--icon-color);
}

.about-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    perspective: 1000px; 
}

.fade-element {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-element.visible {
    opacity: 1;
    transform: translateY(0);
}

.macos-window {
    background: var(--glass-bg-strong);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(0, 122, 255, 0.08), 
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.window-header {
    height: 45px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--window-border);
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.close {
     background-color: var(--mac-red);
     }
.dot.minimize {
     background-color: var(--mac-yellow); 
    }
.dot.maximize {
     background-color: var(--mac-green); 
    }

.window-content {
    display: flex;
    padding: 60px;
    gap: 50px;
    align-items: center;
}

.left-col {
    flex: 0 0 35%;
    display: flex;
    justify-content: center;
}

.profile-wrapper {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.profile-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--window-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 
                0 0 40px rgba(0, 122, 255, 0.15);
    transition: var(--transition-smooth);
}

.profile-image:hover {
    transform: scale(1.03);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 
                0 0 60px rgba(0, 122, 255, 0.25);
}

.right-col {
    flex: 0 0 65%;
}

.greeting {
    font-size: 20px;
    color: var(--text-greeting);
    font-weight: 500;
    margin-bottom: 5px;
    font-family: "Pixelify Sans", sans-serif;
}

.name {
    font-size: 60px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -1px;
    font-family: "Pixelify Sans", sans-serif;
}

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    cursor: default;
}

.badge.freelance {
    border: 1px solid var(--badge-green-border);
    color: var(--badge-green-text);
    background: rgba(40, 200, 64, 0.05);
}

.badge.open-to-work {
    border: 1px solid var(--badge-purple-border);
    color: var(--badge-purple-text);
    background: rgba(157, 78, 221, 0.05);
}

.badge:hover {
    transform: translateY(-2px);
    filter: brightness(1.2);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--mac-green);
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 0 rgba(40, 200, 64, 0.7);
    animation: pulse 2s infinite;
}

.badge .icon {
    margin-right: 6px;
    font-size: 14px;
}

.about-text {
    color: var(--text-secondary);
    font-size: 17px;
    max-width: 650px;
    margin-bottom: 40px;
}

.actions {
    display: flex;
    gap: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.btn .icon {
    margin-right: 10px;
    font-size: 18px;
}

.primary-btn {
    background: var(--btn-blue-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px var(--btn-blue-glow);
}

.primary-btn:disabled {
    background: rgba(40, 200, 64, 0.85);
    cursor: default;
    transform: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.secondary-btn {
    background: transparent;
    color: #ffffff;
    border: 1px solid var(--window-border);
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #007AFF;
    transform: translateY(-3px);
}

.skills-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 100px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-eyebrow {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #007AFF;
    margin-bottom: 10px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -1px;
    margin: 0;
    font-family: "Pixelify Sans", sans-serif;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
}

.skill-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 18px;
    padding: 35px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    cursor: default;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.skill-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(0, 122, 255, 0.18), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.skill-card:hover {
    transform: translateY(-8px) scale(1.04);
    border-color: #007AFF;
    box-shadow: 0 20px 40px rgba(0, 122, 255, 0.18),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.skill-card:hover::before {
    opacity: 1;
}

.skill-icon {
    font-size: 46px;
    line-height: 1;
    filter: grayscale(55%) brightness(0.85);
    transition: var(--transition-smooth);
}

.skill-card:hover .skill-icon {
    filter: grayscale(0%) brightness(1.1);
    transform: scale(1.15) rotate(-6deg);
}

.skill-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.skill-card:hover .skill-name {
    color: var(--text-primary);
}

.projects-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 100px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: #007AFF;
    box-shadow: 0 20px 45px rgba(0, 122, 255, 0.18),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.project-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 2;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image {
    transform: scale(1.08);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 5, 5, 0.1), rgba(5, 5, 5, 0.85));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-links {
    display: flex;
    gap: 14px;
}

.project-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transform: translateY(15px);
    opacity: 0;
    transition: var(--transition-smooth);
}

.project-card:hover .project-link {
    transform: translateY(0);
    opacity: 1;
}

.project-link:hover {
    background: #007AFF;
    border-color: #007AFF;
    transform: translateY(-3px);
}

.project-info {
    padding: 24px;
}

.project-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 10px;
}

.project-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 18px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tag {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--window-border);
    border-radius: 50px;
    padding: 5px 14px;
    transition: var(--transition-smooth);
}

.project-card:hover .project-tag {
    border-color: rgba(0, 122, 255, 0.3);
    color: var(--text-primary);
}

.contact-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 120px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 12px 0 0;
}

.contact-card {
    background: var(--glass-bg-strong);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 25px;
    padding: 60px;
    display: grid;
    grid-template-columns: 0.9fr 1.3fr;
    gap: 60px;
    box-shadow: 0 15px 50px rgba(0, 122, 255, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
}

.contact-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(0, 122, 255, 0.1);
    border: 1px solid rgba(0, 122, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.contact-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-greeting);
    margin: 0 0 4px;
}

.contact-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.contact-socials {
    display: flex;
    gap: 12px;
    margin-top: 35px;
}

.social-link {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 20px;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.social-link:hover {
    transform: translateY(-3px);
    border-color: #007AFF;
    background: rgba(0, 122, 255, 0.12);
    color: #ffffff;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: flex;
    gap: 18px;
}

.form-input,
.form-textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 14px 18px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 14px;
    transition: var(--transition-smooth);
    resize: none;
    box-sizing: border-box;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-greeting);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #007AFF;
    background: rgba(0, 122, 255, 0.05);
    box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.1);
}

.form-submit {
    align-self: flex-start;
    border: none;
}

.site-footer {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 22px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--glass-border);
}

.footer-copy {
    font-size: 13px;
    color: var(--text-greeting);
    margin: 0;
    letter-spacing: 0.3px;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-social-link:hover {
    transform: translateY(-3px);
    border-color: #007AFF;
    background: rgba(0, 122, 255, 0.12);
    color: #ffffff;
}

.footer-cv-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    background: rgba(0, 122, 255, 0.12);
    border: 1px solid rgba(0, 122, 255, 0.3);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-cv-btn:hover {
    background: #007AFF;
    border-color: #007AFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 122, 255, 0.25);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(40, 200, 64, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(40, 200, 64, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(40, 200, 64, 0);
    }
}

/* ===== MOBILE FIRST (Small Devices - 320px and up) ===== */
@media (max-width: 1100px) {
    .portfolio-nav {
        position: sticky;
        top: 0;
        z-index: 100;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 16px;
        height: auto;
        flex-wrap: wrap;
        gap: 12px;
    }

    .brand {
        font-size: 1.15rem;
        font-weight: 700;
        order: 1;
        flex: 1;
    }

    .menu-toggle {
        display: flex;
        order: 2;
        flex-shrink: 0;
    }

    .main-nav {
        order: 3;
        width: 100%;
        position: static !important;
        transform: none !important;
        display: none;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        background: var(--glass-bg);
        backdrop-filter: var(--glass-blur);
        border: 1px solid var(--glass-border);
        border-radius: 12px;
        padding: 12px 16px;
    }

    .nav-indicator {
        display: none !important;
    }

    .main-nav.active {
        display: flex;
    }

    .nav-button {
        padding: 8px 16px;
        font-size: 14px;
        width: 100%;
        text-align: center;
        border: none !important;
        background: transparent !important;
    }

    .nav-button:hover {
        transform: none;
        background: rgba(0, 122, 255, 0.12) !important;
    }

    .nav-button.active {
        background: rgba(0, 122, 255, 0.15) !important;
        border: 1px solid rgba(0, 122, 255, 0.3) !important;
    }

    .external-links {
        order: 4;
        width: 100%;
        justify-content: center;
        gap: 12px;
        display: none;
    }

    .external-links.active {
        display: flex;
    }

    .ext-link {
        font-size: 14px;
    }

    .about-section {
        padding: 24px 16px;
    }

    .window-content {
        flex-direction: column;
        padding: 30px 20px;
        gap: 30px;
        text-align: center;
    }

    .left-col {
        flex: 1;
    }

    .profile-image {
        width: 200px;
        height: 200px;
    }

    .right-col {
        flex: 1;
    }

    .greeting {
        font-size: 16px;
    }

    .name {
        font-size: 32px;
        margin-bottom: 18px;
    }

    .badges {
        justify-content: center;
        gap: 10px;
    }

    .badge {
        font-size: 11px;
        padding: 6px 12px;
    }

    .about-text {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .actions {
        flex-direction: column;
        gap: 12px;
    }

    .actions .btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 14px;
    }

    .btn .icon {
        font-size: 16px;
        margin-right: 8px;
    }

    .skills-section {
        padding: 20px 16px 60px;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-eyebrow {
        font-size: 11px;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .skill-card {
        padding: 24px 12px;
        gap: 10px;
    }

    .skill-icon {
        font-size: 36px;
    }

    .skill-name {
        font-size: 12px;
    }

    .projects-section {
        padding: 20px 16px 60px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .project-card:hover {
        transform: translateY(-4px);
    }

    .project-image-wrapper {
        aspect-ratio: 16 / 10;
    }

    .project-overlay {
        background: linear-gradient(180deg, rgba(5, 5, 5, 0), rgba(5, 5, 5, 0.75));
    }

    .project-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .project-info {
        padding: 18px;
    }

    .project-title {
        font-size: 16px;
    }

    .project-desc {
        font-size: 13px;
    }

    .contact-section {
        padding: 20px 16px 80px;
    }

    .contact-card {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 20px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    .contact-info-item {
        margin-bottom: 20px;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .contact-label {
        font-size: 11px;
    }

    .contact-value {
        font-size: 14px;
    }

    .contact-socials {
        gap: 10px;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .form-row {
        flex-direction: column;
        gap: 12px;
    }

    .form-input,
    .form-textarea {
        padding: 12px 14px;
        font-size: 14px;
    }

    .form-submit {
        width: 100%;
    }

    .site-footer {
        flex-direction: column;
        text-align: center;
        padding: 16px;
        gap: 16px;
    }

    .footer-right {
        width: 100%;
        flex-direction: column;
        justify-content: center;
        gap: 12px;
    }

    .footer-socials {
        gap: 8px;
    }

    .footer-social-link {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .footer-cv-btn {
        width: 100%;
        justify-content: center;
        font-size: 12px;
        padding: 8px 16px;
    }

    .macos-window {
        border-radius: 16px;
    }

    .window-header {
        height: 40px;
        padding: 0 16px;
    }
}

@media (min-width: 1101px) {
    .menu-toggle {
        display: none !important;
    }

    .main-nav {
        position: absolute !important;
        transform: translateX(-50%) !important;
        display: flex !important;
    }

    .nav-indicator {
        display: block !important;
    }

    .external-links {
        display: flex !important;
    }

    .window-content {
        padding: 50px;
        gap: 40px;
    }

    .profile-image {
        width: 260px;
        height: 260px;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-card {
        grid-template-columns: 0.9fr 1.3fr;
        padding: 50px;
    }
}

@media (min-width: 1024px) {
    .about-section {
        padding: 50px 40px;
    }

    .skills-section {
        padding: 40px 40px 120px;
    }

    .projects-section {
        padding: 40px 40px 120px;
    }

    .contact-section {
        padding: 40px 40px 140px;
    }

    .window-content {
        padding: 60px;
        gap: 50px;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 20px;
    }

    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }

    .section-title {
        font-size: 42px;
    }
}

@media (min-width: 1600px) {
    .about-section,
    .skills-section,
    .projects-section,
    .contact-section,
    .site-footer {
        max-width: 1500px;
    }

    .window-content {
        gap: 80px;
    }

    .projects-grid {
        gap: 40px;
    }
}
