* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0F172A;
    color: #D1D5DB;
    overflow: hidden;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    inset: -200px;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(56, 189, 248, 0.22),
            rgba(37, 99, 235, 0) 30%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease-out;
    z-index: 0;

}


body.glow-active::before {
    opacity: 1;
}

.container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
    height: 100vh;
    position: relative;
    overflow: hidden;
    z-index: 1;

}

.hero-section {
    flex: 1;
    max-width: 400px;
    padding: 60px 20px;
    background-color: transparent;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100vh;
    overflow: hidden;
}

.hero-section h1 {
    font-size: 60px;
    margin-bottom: 10px;
    position: relative;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.hero-section h1:hover {
    color: #94A3B8;
    transform: scale(1.1);
}

.hero-section h1 {
    font-size: 35px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.hero-section h2 {
    font-size: 20px;
    margin-top: -10px;
    margin-bottom: -5px;
}

.hero-section p {
    font-size: 16px;
    margin-bottom: 20px;
}


.nav-section ul {
    padding-left: 0;
    margin-top: 140px;
}

.nav-section li {
    list-style: none;
    margin-bottom: 22px;
    position: relative;
    padding-left: 70px;
    transition: all 0.3s ease;
    opacity: 0.35;
}

.nav-section a {
    color: #94A3B8;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.nav-section li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 1px;
    width: 40px;
    background-color: rgba(255, 255, 255, 0.18);
    transition: all 0.3s ease;
}

.nav-section li:hover {
    opacity: 0.7;
}

.nav-section li:hover::before {
    width: 50px;
    background-color: rgba(255, 255, 255, 0.4);
}

.nav-section li.active {
    opacity: 1;
}

.nav-section li.active a {
    color: #FFFFFF;
    font-weight: 700;
}

.nav-section li.active::before {
    width: 55px;
    background-color: #FFFFFF;
}


.main-content {
    flex: 2;
    padding: 60px;
    margin-left: 63px;
    height: 100vh;
    overflow-y: auto;
}

.main-content::-webkit-scrollbar {
    display: none;
}

.main-content {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.experience-grid {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 32px;
    align-items: flex-start;
}


.job-date {
    color: #94A3B8;
    font-size: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 6px;
}


.job-content h3 {
    color: #FFFFFF;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0 0 6px;
}


.arrow {
    font-size: 13px;
    transition: transform 0.2s ease;
}


.experience-item:hover .arrow {
    transform: translate(3px, -2px);
}


.experience-item {
    display: block;
    max-width: 640px;
    margin: 0 auto 28px;
    padding: 18px 22px;
    border-radius: 16px;
    background-color: #0B1220;
    border: 1px solid rgba(148, 163, 184, 0.18);
    text-decoration: none;
    color: inherit;
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.15s ease,
        box-shadow 0.15s ease;
    cursor: pointer;
}


.experience-item:hover {
    background:
        radial-gradient(circle at top left,
            rgba(148, 163, 184, 0.22),
            transparent 60%) #111827;
    border-color: rgba(248, 250, 252, 0.55);
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.7);
}


.job-title {
    color: #94A3B8;
    margin-bottom: 6px;
}


.job-description {
    color: #94A3B8;
    margin-bottom: 12px;
}


.technologies ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
}

.technologies li {
    padding: 5px 10px;
    border-radius: 30%;
    background: linear-gradient(to right, #1931bd8a, #82918e);
    font-size: 12px;
    color: white;
}



.project-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.project-item {
    position: relative;
    flex: 1 1 30%;
    padding: 20px;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: #D1D5DB;
}

.project-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.8);
}

.project-card {
    text-decoration: none;
    color: inherit;
}


.social-section {
    margin-top: auto;
    padding-bottom: 20px;
}

.social-list {
    list-style: none;
    display: flex;
    padding: 0;
}

.social-list li {
    margin-right: 15px;
}

.social-list a {
    text-decoration: none;
    color: #94A3B8;
    font-size: 25px;
}

.social-list a:hover {
    color: white;
}


.resume {
    margin: 40px 0 20px;
}

.resume-link {
    color: #E5E7EB;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.resume-arrow {
    font-size: 14px;
    transition: transform 0.2s ease;
}


.resume-link:hover {
    opacity: 0.85;
}

.resume-link:hover .resume-arrow {
    transform: translate(2px, -2px);
}

#fun-hexagon-container {
    position: fixed;
    right: 35px;
    bottom: 40px;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9998;
    pointer-events: none;
}

#fun-hexagon {
    width: 70px;
    animation: bobble 2.4s ease-in-out infinite;
    opacity: 0.85;
}


.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    margin-top: 20px;
}


.project-card {
    background: #0b1220;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    padding: 20px;
    text-align: left;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}


.project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255,255,255,0.35);
    box-shadow: 0 14px 40px rgba(0,0,0,0.45);
}


.project-thumb img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 16px;
    border: 1px solid rgba(255,255,255,0.18);
    transition: opacity 0.3s ease;
}

.project-thumb img:hover {
    opacity: 0.85;
}

.project-thumb.placeholder {
    width: 100%;
    height: 160px;
    background: rgba(255,255,255,0.06);
    border-radius: 10px;
    margin-bottom: 16px;
}

.project-card h3 {
    margin: 6px 0 10px;
    color: #fff;
}

.project-card p {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.5;
}



@keyframes bobble {
    0% {
        transform: translateY(4px);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(4px);
    }
}


   @media only screen and (max-width: 768px) {

    body {
        overflow: auto !important;
    }
    #fun-hexagon-container {
    display: none !important;
}


    .container {
        flex-direction: column;
        padding: 20px;
        height: auto;
        overflow: visible;
    }

    .hero-section {
        width: 100%;
        max-width: 100% !important;
        padding: 20px 0;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        height: auto;
        position: relative;
    }

    .hero-section h1 {
        font-size: 28px;
        margin-bottom: 5px;
    }

    .hero-section h2 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .hero-section p {
        font-size: 14px;
        margin-bottom: 20px;
        padding: 0 15px;
    }

    .social-section {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 15px;
        text-align: center;
    }

    .social-list {
        display: flex;
        justify-content: center;
        gap: 20px;
        width: auto;
    }

    .social-list li a {
        font-size: 28px;
    }

    .nav-section {
        display: none;
    }

    .main-content {
        margin-left: 0;
        height: auto;
        overflow: visible;
        padding: 0 15px 40px;
    }

    .experience-item {
        max-width: 100%;
        margin: 16px 0;
        padding: 18px;
        border-radius: 14px;
    }

    .experience-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .job-date {
        font-size: 12px;
        text-align: left;
        margin-bottom: 4px;
    }

    .job-content h3 {
        font-size: 17px;
        margin-bottom: 6px;
    }

    .job-title,
    .job-description {
        font-size: 14px;
    }

    #fun-hexagon-container {
        bottom: 160px;
        right: 20px;
    }

    .fun-widget {
        bottom: 40px;
        right: 20px;
    }
}
