* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    overflow-x: hidden;
}

.cursor-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1000;
    display: grid;
    grid-template-columns: repeat(50, 2vw);
    grid-template-rows: repeat(50, 2vh);
}

.grid-square.glow {
    background: rgba(0, 255, 136, 0.2);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.social-links {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 25px;
    z-index: 1000;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.social-link img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.social-link:hover img {
    transform: scale(1.1);
}

.social-link.linkedin:hover {
    background: rgba(0, 255, 136, 0.3);
    border-color: rgba(0, 255, 136, 0.3);
}

.social-link.github:hover {
    background: rgba(0, 255, 136, 0.3);
    border-color: rgba(0, 255, 136, 0.3);
}

.social-link.email:hover {
    background: rgba(0, 255, 136, 0.3);
    border-color: rgba(0, 255, 136, 0.3);
}

.social-link:hover img {
    transform: scale(1.1);
}

.social-link.linkedin:hover {
    background: rgba(0, 255, 136, 0.3);
    border-color: rgba(0, 255, 136, 0.3);
}

.social-link.github:hover {
    background: rgba(0, 255, 136, 0.3);
    border-color: rgba(0, 255, 136, 0.3);
}

.social-link.youtube:hover {
    background: rgba(0, 255, 136, 0.3);
    border-color: rgba(0, 255, 136, 0.3);
}

@media (max-width: 768px) {
    .social-links {
        top: 20px;
        gap: 20px;
    }

    .social-link {
        width: 45px;
        height: 45px;
    }

    .social-link img {
        width: 20px;
        height: 20px;
    }
}

#intro {
    position: relative;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.intro-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    z-index: 2;
    max-width: 1200px;
    padding: 2rem;
}

.profile-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.intro-text {
    flex: 1;
}

.intro-text h1 {
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #ffffff;
}

.intro-text .greeting {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-weight: 300;
}

.intro-text .description {
    font-size: 1.8rem;
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-weight: 500;
    background: linear-gradient(90deg, var(--accent-color), #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    color: #cccccc;
    margin-bottom: 2rem;
}


.location img {
    width: 20px;
    height: 20px;
}

.location-pin {
    font-size: 1.4rem;
    color: var(--accent-color);
}

.learn-more-btn {
    display: inline-block;
    color: var(--accent-color);
    text-decoration: none;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--accent-color);
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.learn-more-btn:hover {
    color: #ffffff;
    border-bottom-color: #ffffff;
}

.learn-more-btn::after {
    content: " →";
    margin-left: 5px;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 0;


    right: 0;


    margin: 0 auto;


    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 3;
    animation: pulse 2s infinite;
    width: fit-content;


}

.scroll-text {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-color);
    border-top: none;
    border-left: none;
    animation: bounce 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: rotate(45deg) translateY(0) translateX(0);
    }

    40% {
        transform: rotate(45deg) translateY(5px) translateX(5px);
    }

    60% {
        transform: rotate(45deg) translateY(3px) translateX(3px);
    }
}

.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: twinkle 2s infinite;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

#tech-stack {
    background: #0a0a0a;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.tech-stack-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 1rem;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 2fr));
    gap: 1.5rem;
    width: 100%;
    max-width: 1200px;
}

.tech-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 1px solid #333;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    cursor: default;
}

.tech-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: white;
    cursor: default;
}

.tech-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0;
    color: #ffffff;
}

.tech-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.tech-used {
    display: flex;
    margin-top: 10px;
}

.tech-logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.tech-stack {
    background: #141414;
    padding: 4rem 0;
}

#projects {
    background: #141414;
    padding: 4rem 0;
}

.projects-title {
    text-align: center;
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 3rem;
    margin-top: -7rem;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.project-card {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    padding: 2.5rem;
    margin: 1.5rem auto;
    max-width: 1200px;
    background: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 100%);
    border-radius: 16px;
    border: 2px solid #333;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.05) 0%, rgba(0, 255, 136, 0.02) 100%);
    pointer-events: none;
}

.project-card:nth-child(odd) {
    flex-direction: row-reverse;
}

.project-card:nth-child(even) {
    flex-direction: row;
}

.project-images {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    max-width: 430px;
    z-index: 2;
}

.project-images img {
    width: 100%;
    height: 190px;
    background: #333;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid #444;
    transition: all 0.3s ease;
}

.project-info {
    flex: 1;
    max-width: 550px;
    z-index: 2;
}

.project-info h2 {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    color: var(--accent-color);
    font-weight: 300;
}

.project-info a {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    color: #03da55;
    font-weight: 300;
}

.project-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    color: #e0e0e0;
}

.project-info ul#realtime-stats {
    list-style: none;
    padding-left: 0;
    margin-top: 1.5em;
    color: #ccc;
    font-size: 1rem;
}

.project-info ul#realtime-stats li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5em;
    line-height: 1.4;
}

.project-info ul#realtime-stats li::before {
    content: "•";
    color: #00ee6b;
    font-weight: bold;
    display: inline-block;
    width: 1.2em;
    margin-right: 0.3em;
}

.project-info h2 {
    color: #00ee6b;
    margin-top: 0;
    font-size: 1.8rem;
}

.project-info p {
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 1.5em;
}

.live-stats-title {
    color: #00ee6b;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.8em;
    margin-top: 1.5em;
}

.project-info ul#realtime-stats {
    list-style: none;
    padding-left: 0;
    margin-top: 0.5em;
    color: #ccc;
    font-size: 1rem;
}

.project-info ul#realtime-stats li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5em;
    line-height: 1.4;
}

.project-info ul#realtime-stats li::before {
    content: "•";
    color: #00ff88;
    font-weight: bold;
    display: inline-block;
    width: 1.2em;
    margin-right: 0.3em;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.4;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }

    100% {
        opacity: 0.4;
        transform: scale(1);
    }
}

.tech-used {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.tech-logo {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    color: white;
    transition: all 0.3s ease;
}

.project-info a {
    font-size: 1rem;
    text-align: center;
}

@media (max-width: 768px) {
    .cursor-grid {
        display: none;
    }

    body {
        cursor: auto;
    }

    .intro-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 1rem;
    }

    .profile-image {
        width: 200px;
        height: 200px;
    }

    .intro-text h1 {
        font-size: 2.5rem;
    }

    .intro-text .greeting {
        font-size: 1.5rem;
    }

    .intro-text .description {
        font-size: 1.2rem;
    }

    .location {
        font-size: 1rem;
        justify-content: center;
    }

    #tech-stack {
        background: #141414;
        padding: 4rem 0;
    }

    .tech-stack-title {
        font-size: 1.8rem;
        text-align: center;
    }

    .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 1rem;
    }

    .tech-card {
        padding: 1.2rem;
    }

    #projects {
        padding: 3rem 0;
    }

    .live-stats-title {
        font-size: 1.1rem;
        margin-top: 1.2em;
        margin-bottom: 0.6em;
    }

    #realtime-stats {
        font-size: 0.9rem;
    }

    #realtime-stats li {
        margin-bottom: 0.6em;
        line-height: 1.5;
        padding-right: 0.5em;
    }

    #realtime-stats li::before {
        width: 1em;
        margin-right: 0.4em;
    }

    .project-card {
        flex-direction: column !important;
        gap: 2rem;
        padding: 2rem 1rem;
        margin: 1rem;
        min-height: auto;
    }

    .project-info {
        max-width: 100%;
    }

    .project-info h2 {
        font-size: 1.8rem;
        text-align: center;
    }

    .project-info p {
        font-size: 1rem;
        text-align: center;
    }

    .project-info a {
        font-size: 1rem;
        text-align: center;
    }

    .project-images {
        max-width: 100%;
    }

    .project-images img {
        height: 180px;
    }

    .tech-used {
        gap: 1rem;
        justify-content: center;
    }

    #about {
        padding: 3rem 1rem;
        min-height: auto;
    }

    .about-cards {
        flex-direction: column;
        gap: 2rem;
        max-width: 100%;
    }

    .about-me,
    .experience-timeline {
        padding: 2.5rem 1.5rem;
        min-height: auto;
    }

    .about-me h3,
    .experience-timeline h3 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .about-me p {
        font-size: 1.1rem;
        line-height: 1.6;
        text-align: center;
    }

    .experience-timeline li {
        padding: 1.8rem;
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }

    .experience-timeline li strong {
        font-size: 1.1rem;
    }

    .scroll-indicator {
        bottom: 1rem;
    }

    .scroll-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .intro-text h1 {
        font-size: 2rem;
    }

    .intro-text .greeting {
        font-size: 1.3rem;
    }

    .intro-text .description {
        font-size: 1.1rem;
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }

    .project-card {
        padding: 1.5rem 0.5rem;
    }

    .about-me,
    .experience-timeline {
        padding: 2rem 1rem;
    }

    .about-me h3,
    .experience-timeline h3 {
        font-size: 1.8rem;
    }

    .live-stats-title {
        font-size: 1rem;
        margin-top: 1em;
        margin-bottom: 0.5em;
    }

    #realtime-stats {
        font-size: 0.85rem;
    }

    #realtime-stats li {
        margin-bottom: 0.7em;
        line-height: 1.6;
        flex-wrap: wrap;
    }

    #realtime-stats li strong {
        word-break: break-word;
    }
}

.live-stats-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #04ff75;
    margin-bottom: 0.8em;
    margin-top: 1.5em;
}

#realtime-stats {
    list-style: none;
    padding-left: 0;
    margin-top: 0.5em;
    color: #ccc;
    font-size: 1rem;
}

#realtime-stats li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5em;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

#realtime-stats li::before {
    content: "•";
    color: #00ff88;
    font-weight: bold;
    display: inline-block;
    width: 1.2em;
    margin-right: 0.3em;
    flex-shrink: 0;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.4;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }

    100% {
        opacity: 0.4;
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .live-stats-title {
        font-size: 1.1rem;
        margin-top: 1.2em;
        margin-bottom: 0.6em;
    }

    #realtime-stats {
        font-size: 0.9rem;
    }

    #realtime-stats li {
        margin-bottom: 0.6em;
        line-height: 1.5;
        padding-right: 0.5em;
    }

    #realtime-stats li::before {
        width: 1em;
        margin-right: 0.4em;
    }
}

@media (max-width: 480px) {
    .live-stats-title {
        font-size: 1rem;
        margin-top: 1em;
        margin-bottom: 0.5em;
    }

    #realtime-stats {
        font-size: 0.85rem;
    }

    #realtime-stats li {
        margin-bottom: 0.7em;
        line-height: 1.6;
        flex-wrap: wrap;
    }

    #realtime-stats li strong {
        word-break: break-word;
    }
}

@media (max-width: 768px) {
    .project-card {
        flex-direction: column;
    }

    .project-info {
        margin-bottom: 1.5rem;
    }

    .project-info h2 {
        font-size: 1.5rem;
    }

    .project-info p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

.live-stats-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
}

.live-stats-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #00ff80;
    margin-bottom: 0.8em;
    margin-top: 1.5em;
}

#realtime-stats {
    list-style: none;
    padding-left: 0;
    margin-top: 0.5em;
    color: #ccc;
    font-size: 1rem;
}

#realtime-stats li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5em;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

#realtime-stats li::before {
    content: "•";
    color: #00ff88;
    font-weight: bold;
    display: inline-block;
    width: 1.2em;
    margin-right: 0.3em;
    flex-shrink: 0;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.4;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }

    100% {
        opacity: 0.4;
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .live-stats-container {
        padding: 0 10px;
    }

    .live-stats-title {
        font-size: 1.1rem;
        margin-top: 1.2em;
        margin-bottom: 0.6em;
    }

    #realtime-stats {
        font-size: 0.9rem;
    }

    #realtime-stats li {
        margin-bottom: 0.6em;
        line-height: 1.5;
        padding-right: 0.5em;
    }

    #realtime-stats li::before {
        width: 1em;
        margin-right: 0.4em;
    }
}

@media (max-width: 480px) {
    .live-stats-container {
        padding: 0 8px;
    }

    .live-stats-title {
        font-size: 1rem;
        margin-top: 1em;
        margin-bottom: 0.5em;
    }

    #realtime-stats {
        font-size: 0.85rem;
    }

    #realtime-stats li {
        margin-bottom: 0.7em;
        line-height: 1.6;
        flex-wrap: wrap;
    }

    #realtime-stats li strong {
        word-break: break-word;
    }
}

.live-stats-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #04ff82;
    margin-bottom: 0.8em;
    margin-top: 1.5em;
}

#realtime-stats {
    list-style: none;
    padding-left: 0;
    margin-top: 0.5em;
    color: #ccc;
    font-size: 1rem;
}

#realtime-stats li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5em;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

#realtime-stats li::before {
    content: "•";
    color: #00ff88;
    font-weight: bold;
    display: inline-block;
    width: 1.2em;
    margin-right: 0.3em;
    flex-shrink: 0;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.4;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }

    100% {
        opacity: 0.4;
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .live-stats-title {
        font-size: 1.1rem;
        margin-top: 1.2em;
        margin-bottom: 0.6em;
    }

    #realtime-stats {
        font-size: 0.9rem;
    }

    #realtime-stats li {
        margin-bottom: 0.6em;
        line-height: 1.5;
        padding-right: 0.5em;
    }

    #realtime-stats li::before {
        width: 1em;
        margin-right: 0.4em;
    }
}

@media (max-width: 480px) {
    .live-stats-title {
        font-size: 1rem;
        margin-top: 1em;
        margin-bottom: 0.5em;
    }

    #realtime-stats {
        font-size: 0.85rem;
    }

    #realtime-stats li {
        margin-bottom: 0.7em;
        line-height: 1.6;
        flex-wrap: wrap;
    }

    #realtime-stats li strong {
        word-break: break-word;
    }
}

#realtime-stats {
    list-style-type: none;
    padding: 0;
    margin: 15px 0;
    font-size: clamp(14px, 3.5vw, 16px);


}

#realtime-stats li {
    margin-bottom: 12px;
    line-height: 1.5;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    word-break: break-word;


}

#realtime-stats li strong {
    font-weight: 700;
    color: #fff;
}

#realtime-stats .count {
    font-weight: 500;
    color: #4CAF50;
    font-size: 0.85em;
    white-space: nowrap;


}

.live-stats-title {
    font-size: clamp(16px, 4vw, 18px);
    font-weight: 600;
    margin: 20px 0 12px 0;
    color: #fff;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 480px) {
    #realtime-stats li {
        padding: 10px;
        margin-bottom: 10px;
    }

    #realtime-stats .count {
        display: block;



        margin-left: 0;
        margin-top: 2px;
    }
}

@media (max-width: 350px) {
    #realtime-stats {
        font-size: 13px;
    }

    .live-stats-title {
        font-size: 15px;
    }
}

#realtime-stats {
    list-style-type: none;
    padding: 0;
    margin: 5px 0;


}

#realtime-stats li {
    margin-bottom: 8px;


    padding: 6px 8px;


    background: rgba(255, 255, 255, 0.05);


    border-radius: 4px;


    font-size: 14px;


    line-height: 1.4;


}

#realtime-stats li span.label {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-right: 4px;


}

#realtime-stats li strong {
    font-weight: 600;
    color: #fff;
    margin-right: 4px;


}

#realtime-stats .count {
    font-weight: 500;
    color: #4CAF50;
    font-size: 0.85em;
    white-space: nowrap;


}

.live-stats-title {
    font-size: 15px;
    font-weight: 600;
    margin: 10px 0 6px 0;


    color: #fff;
}

i {
    font-size: 52px;
    color: #ffffff;
}


.projects-title {
    font-size: 2.25rem;


}

.project-card {
    min-height: 36vh;
    gap: 2.7rem;
    padding: 2.25rem;
    margin: 1.35rem auto;
    max-width: 1085px;
    border-radius: 14.4px;
    z-index: 9000;
}

.project-images {
    max-width: 387px;
    gap: 0.72rem;
}

.project-images img {
    height: 171px;
}

.project-info {
    max-width: 495px;
}

.project-info h2 {
    font-size: 1.98rem;
    margin-bottom: 1.08rem;
}

.project-info p {
    font-size: 0.99rem;


    margin-bottom: 1.08rem;


}

.project-info ul#realtime-stats {
    font-size: 0.9rem;
}

.project-info h2 {
    font-size: 1.62rem;
}

.project-info p {
    margin-bottom: 1.35rem;
}

.live-stats-title {
    font-size: 1.08rem;


    margin-bottom: 0.72rem;


    margin-top: 1.35rem;


}

.tech-used {
    gap: 1.8rem;


    margin-top: 1.35rem;


}

.tech-logo {
    width: 45px;


    height: 45px;


    font-size: 14.4px;


}

.tech-stack-title {
    font-size: 2.25rem;


}

.tech-grid {
    gap: 1.35rem;


    max-width: 1080px;


}

.tech-card {
    padding: 1.35rem;


    gap: 0.9rem;


    border-radius: 10.8px;


}

.tech-icon {
    width: 43.2px;


    height: 43.2px;


    font-size: 21.6px;


}

.tech-info h3 {
    font-size: 1.08rem;


}

.tech-icon img {
    width: 36px;


    height: 36px;


}

.tech-logo img {
    width: 45px;


    height: 45px;


}

.about-cards {
    gap: 3.6rem;


    max-width: 1440px;


}

.about-me,
.experience-timeline {
    padding: 3.6rem;


    min-height: 450px;


}

.about-me h3,
.experience-timeline h3 {
    font-size: 2.25rem;


    margin-bottom: 2.25rem;


}

.about-me p {
    font-size: 1.17rem;


    line-height: 1.62;


}

.experience-timeline li {
    margin-bottom: 1.8rem;


    padding: 1.98rem;


    font-size: 1.08rem;


    line-height: 1.53;


}

.experience-timeline li strong {
    font-size: 1.17rem;


}



:root {
    --background-color: #121212;
    --text-color: #f0f0f0;
    --accent-color: #00ff88;
    --hover-fill: rgba(0, 255, 136, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    overflow-x: hidden;
}

.cursor-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1000;
    display: grid;
    grid-template-columns: repeat(50, 2vw);
    grid-template-rows: repeat(50, 2vh);
}

.grid-square.glow {
    background: rgba(0, 255, 136, 0.2);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.social-links {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 25px;
    z-index: 9000;
    z-index: 1000;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    z-index: 9000;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    z-index: 9000;
}

.social-link img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
    z-index: 9000;
}

.social-link:hover img {
    transform: scale(1.1);
    z-index: 9000;
}

.social-link.linkedin:hover {
    background: rgba(0, 255, 136, 0.3);
    z-index: 9000;
    border-color: rgba(0, 255, 136, 0.3);
}

.social-link.github:hover {
    background: rgba(0, 255, 136, 0.3);
    border-color: rgba(0, 255, 136, 0.3);
    z-index: 9000;
}

.social-link.email:hover {
    background: rgba(0, 255, 136, 0.3);
    border-color: rgba(0, 255, 136, 0.3);
    z-index: 9000;
}

#intro {
    position: relative;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.intro-content {
    display: flex;
    align-items: center;
    gap: 2.4rem;


    z-index: 2;
    max-width: 960px;


    padding: 1.6rem;
    z-index: 9000;


}

.profile-image {
    width: 240px;


    height: 240px;


    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    z-index: 9000;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 9000;
}

.intro-text {
    flex: 1;
}

.intro-text h1 {
    font-size: 2.8rem;


    font-weight: 400;
    margin-bottom: 0.8rem;


    color: #ffffff;
}

.intro-text .greeting {
    font-size: 1.6rem;


    color: var(--accent-color);
    margin-bottom: 0.8rem;


    font-weight: 300;
}

.intro-text .description {
    font-size: 1.44rem;


    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 0.8rem;


    font-weight: 500;
    background: linear-gradient(90deg, var(--accent-color), #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.location {
    display: flex;
    align-items: center;
    gap: 0.4rem;


    font-size: 1.2rem;


    color: #cccccc;
    margin-bottom: 1.6rem;


}

.location img {
    width: 16px;


    height: 16px;


}

.location-pin {
    font-size: 1.12rem;


    color: var(--accent-color);
}

.learn-more-btn {
    display: inline-block;
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.88rem;


    border-bottom: 1px solid var(--accent-color);
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.learn-more-btn:hover {
    color: #ffffff;
    border-bottom-color: #ffffff;
}

.learn-more-btn::after {
    content: " →";
    margin-left: 5px;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 3;
    width: fit-content;
}

.scroll-text {
    z-index: 9000;
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.scroll-arrow {
    z-index: 9000;
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-color);
    border-top: none;
    border-left: none;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: rotate(45deg) translateY(0) translateX(0);
    }

    40% {
        transform: rotate(45deg) translateY(5px) translateX(5px);
    }

    60% {
        transform: rotate(45deg) translateY(5px) translateX(5px);
    }
}

.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: twinkle 2s infinite;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

#tech-stack {
    background: #0a0a0a;
    padding: 4rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    z-index: 9000;
}

.tech-stack-title {
    font-size: 2.25rem;


    font-weight: 300;
    color: #ffffff;
    margin-bottom: 1rem;
    z-index: 9000;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    z-index: 9000;


    gap: 1.2rem;


    width: 100%;
    max-width: 1085px;


}

.tech-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 1px solid #333;
    border-radius: 12px;
    padding: 1.2rem;
    z-index: 9000;


    display: flex;
    align-items: center;
    gap: 0.8rem;


    transition: all 0.3s ease;
    cursor: default;
}

#about {
    min-height: 80vh;


    background: #0f0f0f;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4.8rem 1.6rem;


}

.about-cards {
    display: flex;
    gap: 3.2rem;


    width: 100%;
    max-width: 1280px;


}

.about-me,
.experience-timeline {
    background: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 100%);
    padding: 3.2rem;


    border-radius: 19px;


    flex: 1;
    border: 2px solid #333;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);


    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    z-index: 9000;


}

.about-me::before,
.experience-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.05) 0%, rgba(0, 255, 136, 0.02) 100%);
    pointer-events: none;
}

.about-me h3,
.experience-timeline h3 {
    z-index: 9000;
    color: var(--accent-color);
    font-size: 2rem;


    margin-bottom: 2rem;


    font-weight: 300;
    position: relative;
    z-index: 2;
}

.about-me p {
    font-size: 1.04rem;


    line-height: 1.8;
    color: #e0e0e0;
    position: relative;
    z-index: 2;
}

.experience-timeline ul {
    list-style: none;
    position: relative;
    z-index: 2;
}

.experience-timeline li {
    margin-bottom: 1.6rem;


    padding: 1.76rem;


    background: linear-gradient(135deg, #2a2a2a 0%, #333333 100%);
    border-radius: 13px;


    border-left: 5px solid var(--accent-color);


    transition: all 0.3s ease;
    font-size: 0.96rem;


    line-height: 1.7;
}

.experience-timeline li strong {
    color: var(--accent-color);
    font-size: 1.04rem;


}

.project-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-link svg {
    fill: #fff;

}

.project-links {
    display: flex;
    gap: 15px;


    align-items: center;
}

@media (max-width: 768px) {
    .project-title {
        display: flex;
        flex-direction: column;



        align-items: center;



        text-align: center;
    }

    .project-title h2 {
        margin-bottom: 10px;
    }

    .project-links {
        display: flex;
        justify-content: center;
        gap: 15px;
        width: 100%;
    }

    .project-links a {
        display: inline-flex;
    }
}


@media (max-width: 480px) {
    .project-title {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .project-title h2 {
        margin-bottom: 10px;
    }

    .project-links {
        display: flex;
        justify-content: center;
        gap: 15px;
        width: 100%;
    }

    .project-links a {
        display: inline-flex;
    }
}

#work-experience {
    background: linear-gradient(180deg, #0a0a0a 0%, #141414 100%);
    padding: 4rem 0;
    z-index: 9000;
}

.experience-title {
    z-index: 9000;
    text-align: center;
    font-size: 2.2rem;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 3rem;
    margin-top: -5rem;
}

.timeline-container {
    max-width: 1207px;
    margin: 0 auto;
    position: relative;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: #00ff88;
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
    align-items: center;
}

.timeline-item.left {
    justify-content: flex-end;
}

.timeline-item.left .timeline-content {
    margin-right: 60px;
    text-align: left;
}

.timeline-item.left .timeline-logo {
    order: 1;
    margin-left: 60px;
}

.timeline-item.right {
    justify-content: flex-start;
}

.timeline-item.right .timeline-content {
    margin-left: 60px;
    text-align: left;
}

.timeline-item.right .timeline-logo {
    order: 1;
    margin-right: 60px;
}

.timeline-content {
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    max-width: 500px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 100%);
    z-index: 9000;
}

.timeline-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.timeline-logo img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 6px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 16px;
    height: 16px;
    background-color: #00ff88;
    border: 3px solid #0a0a0a;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.5);
}

.job-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #00ff88;
    font-size: 1.5rem;
    color: var(--accent-color);
    font-weight: 300;

}

.company-name {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 3px;

}

.job-date {
    font-size: 0.85rem;
    color: #8a8888;
    margin-bottom: 10px;
    font-style: italic;
}

.job-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    color: #e0e0e0;
}

@media (max-width: 768px) {
    #work-experience {
        padding: 30px 15px;
    }

    .timeline-line {
        left: 25px;
    }

    .timeline-item {
        flex-direction: row !important;
        justify-content: flex-start !important;
        margin-bottom: 30px;
    }

    .timeline-item.left,
    .timeline-item.right {
        justify-content: flex-start;
    }

    .timeline-item.left .timeline-content,
    .timeline-item.right .timeline-content {
        margin-left: 60px;
        margin-right: 0;
        text-align: left;
    }

    .timeline-item.left .timeline-logo,
    .timeline-item.right .timeline-logo {
        order: -1;
        margin-left: 0;
        margin-right: 15px;
        width: 45px;
        height: 45px;
    }

    .timeline-item.left .timeline-logo img,
    .timeline-item.right .timeline-logo img {
        width: 25px;
        height: 25px;
    }

    .timeline-item::before {
        left: 25px;
        width: 12px;
        height: 12px;
    }

    .timeline-content {
        max-width: none;
        padding: 15px;
    }

    .experience-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }
}

/* Smaller Project Cards Section */
#small-projects {
    background: #141414;
    padding: 2rem 0;
}

.small-projects-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 2.5rem;
    margin-top: -5rem;
}

/* Match big project cards width */
.small-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1090px;
    /* Same as big cards */
    margin: 0 auto;
}

.small-project-card {
    z-index: 9000;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 100%);
    border-radius: 12px;
    border: 2px solid #333;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Handle tall mobile screenshots gracefully */
.small-project-img {
    width: 100%;
    height: 220px;
    /* taller for phone screenshots */
    object-fit: fill;
    /* prevents cropping */
    background: #222;
    /* fills space around narrow images */
    border-bottom: 2px solid #333;
}

.small-project-info {
    padding: 1rem;
}

.small-project-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #00ff88;
    font-size: 1.5rem;
    color: var(--accent-color);
    font-weight: 300;
}

.small-project-info p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    color: #e0e0e0;
}

/* Responsive layout */
@media (max-width: 1024px) {
    .small-projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .small-projects-grid {
        grid-template-columns: 1fr;
    }
}

/* Title + GitHub link row */
.small-project-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.6rem;
}


@media (max-width: 768px) {

    #small-projects {
        display: none;
    }

    #work-experience {
        padding: 2rem 15px;
    }

    .timeline-item {
        display: flex;
        margin-bottom: 40px;
        position: relative;
        align-items: center;
        right: 22px;
    }

    .timeline-container {
        padding: 0 15px;
    }

    /* Move timeline line to the left */
    .timeline-line {
        left: 30px;
        transform: none;
    }

    /* Move timeline dots to align with left line */
    .timeline-item::before {
        left: 30px;
        transform: translateY(-50%);
        width: 12px;
        height: 12px;
    }

    /* Reset all timeline items to have content on the right */
    .timeline-item {
        flex-direction: row;
        justify-content: flex-start;
        margin-bottom: 80px;
        align-items: flex-start;
    }

    .timeline-item.left,
    .timeline-item.right {
        justify-content: flex-start;
    }

    .timeline-item.left .timeline-content,
    .timeline-item.right .timeline-content {
        margin-left: 70px;
        margin-right: 0;
        text-align: left;
        max-width: none;
        width: calc(100% - 90px);
        padding: 15px;
    }

    /* Hide the separate timeline logos since you have them inline */
    .timeline-item.left .timeline-logo,
    .timeline-item.right .timeline-logo {
        display: none;
    }

    .experience-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .job-title {
        font-size: 1.2rem;
    }
}