html, body {
    margin: 0;
    height: 100%;
    font-family: 'General Sans', Arial, sans-serif;
}

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #000;
    position: relative;
    overflow: hidden;
}

.hero-grid-canvas {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    transform: translateZ(0);
    will-change: transform;
}

.hero-content {
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.2s ease-out forwards;
}

#animated-title {
    font-size: 70px;
    color: #fff;
    opacity: 0;
    transform: translateY(30px);
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

#animated-title.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 1.2s ease-out;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}

.hero-subtitle {
    font-size: 22px;
    color: rgba(255,255,255,0.5);
    max-width: 800px;
    margin: 20px auto 0 auto;
    transition: all 0.3s ease;
}


.scroll-arrow {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    z-index: 2;
}

.scroll-arrow svg {
    width: 30px;
    height: 30px;
    stroke: rgba(255, 255, 255, 0.6);
    stroke-width: 2;
    fill: none;
}

@keyframes arrowPulse {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateX(-50%) translateY(10px);
        opacity: 0.6;
    }
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

.scroll-arrow {
    animation: arrowPulse 2s ease-in-out infinite;
}

body {
    cursor: none;
}

a, 
button,
input,
textarea,
select {
    cursor: text !important;
}

.about {
    min-height: 100vh;
    padding: 120px 0 80px 0;
    background-color: #fbfbfd;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 0 0 0 70px;
}

.about-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about h2 {
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 10px;
    line-height: 1.1;
}

.about h2 span {
    display: block;
    color: #6e6e73;
    font-size: 24px;
}

.about h3 {
    font-size: 24px;
    font-weight: 500;
    color: #1d1d1f;
    margin-bottom: 15px;
}

.about p {
    font-size: 18px;
    line-height: 1.5;
    color: #6e6e73;
    margin-bottom: 20px;
}

.about-image {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 60px;
}

.about-image img {
    width: 90%;
    max-width: 500px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.5s ease;
}

.interests-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.interest-item {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.interest-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.04);
}

@media (max-width: 768px) {
    .about {
        padding: 40px 0;
    }

    .about h2 {
        font-size: 2em;
    }

    .about h3 {
        font-size: 1.5em;
    }

    .about-image {
        padding-top: 30px;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}



.timeline-container {
    position: relative;
}

.timeline {
    animation: autoScroll 30s linear infinite;
}

@keyframes autoScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-340px * 5));
    }
}

.timeline-section {
    min-height: auto;
    padding: 60px 0 20px 0;
    background-color: #ffffff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.timeline-heading h2 {
    font-size: 40px;
    font-weight: 500;
    color: #000;
    margin: 60px 0;
}

.timeline-container {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    cursor: grab;
    margin-bottom: 100px;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.timeline {
    display: flex;
    gap: 30px;
    padding: 20px;
    animation: continuousScroll 20s linear infinite;
    user-select: none;
}

.timeline-item {
    min-width: 300px;
    width: 300px;
    height: 300px;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.timeline-date {
    font-size: 18px;
    color:rgba(0,0,0,0.5);
    font-weight: 500;
    margin: 20px 0;
    margin-bottom: 16px;
}

.timeline-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 10px;
    color: #000;
}

.timeline-description {
    font-size: 18px;
    color:rgba(0,0,0,0.5);
}

@keyframes continuousScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-330px * 3));
    }
}


@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.custom-cursor {
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate3d(-50%, -50%, 0);
    transition: 
        transform 0.05s cubic-bezier(0.23, 1, 0.32, 1),
        background-color 0.2s ease,
        border-color 0.2s ease,
        width 0.2s ease,
        height 0.2s ease;
    will-change: transform, width, height;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.custom-cursor.dark {
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.custom-cursor.hover {
    transform: translate3d(-50%, -50%, 0) scale(1.5);
    transition: all 0.1s cubic-bezier(0.23, 1, 0.32, 1);
}

.scroll-arrow {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    cursor: none;
    z-index: 10;
    transition: transform 0.3s ease;
}

.scroll-arrow svg {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: white;
    stroke-width: 1.5;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.scroll-arrow:hover {
    transform: translate(-50%, 5px);
}

.scroll-arrow:hover svg {
    opacity: 1;
    stroke-width: 2;
}

@keyframes arrowPulse {
    0% {
        transform: translate(-50%, 0);
    }
    50% {
        transform: translate(-50%, 10px);
    }
    100% {
        transform: translate(-50%, 0);
    }
}

.scroll-arrow {
    animation: arrowPulse 2s ease-in-out infinite;
}

@media (max-width: 768px) {
    #animated-title {
        font-size: 48px;
    }
    
    .highlight {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
}

a, 
button,
.timeline-container,
.timeline-item,
nav ul li a,
.scroll-arrow,
.footer-link,
.social-icon {
    cursor: none !important;
}

input,
textarea,
select {
    cursor: text !important;
}

.social-sidebar {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 1000;
    transition: color 0.3s ease;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-sidebar.dark-icons .social-icon {
    color: #1d1d1f;
    background: rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.2);
}

.social-sidebar.dark-icons .social-icon:hover {
    background: rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 0, 0, 0.3);
}

.social-icon i {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
}

.social-icon:hover i {
    transform: scale(1.1);
}

/* responsive for mobile layout */
@media (max-width: 768px) {
    /* Hide social sidebar on mobile */
    .social-sidebar {
        display: none;
    }

    /* Hero Section */
    #animated-title {
        font-size: 36px;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 16px;
        padding: 0 20px;
    }

    /* About Section */
    .about {
        padding: 60px 0 40px 0;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }

    .about-image {
        display: none;
    }

    .about h2 {
        font-size: 28px;
    }

    .about h3 {
        font-size: 18px;
    }

    .about p {
        font-size: 16px;
    }

    .interests-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .interest-item {
        padding: 15px;
        font-size: 14px;
    }

    /* Timeline Section */
    .timeline-section {
        padding: 40px 0 20px 0;
    }

    .timeline-heading h2 {
        font-size: 28px;
        margin: 40px 20px;
        text-align: center;
    }

    .timeline-container {
        margin-bottom: 60px;
    }

    .timeline-item {
        min-width: 260px;
        width: 260px;
        height: auto;
        min-height: 240px;
        padding: 20px;
    }

    .timeline-date {
        font-size: 14px;
    }

    .timeline-title {
        font-size: 16px;
    }

    .timeline-description {
        font-size: 14px;
    }

    /* Custom cursor - hide on mobile */
    .custom-cursor {
        display: none;
    }

    /* Restore default cursor on mobile */
    body,
    a, 
    button,
    .timeline-container,
    .timeline-item,
    nav ul li a,
    .scroll-arrow,
    .footer-link,
    .social-icon {
        cursor: auto !important;
    }
}


