@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --bg: #0f172a;
    --card-bg: rgba(30, 41, 59, 0.1);
    --card-hover-bg: rgba(42, 56, 79, 0.3);
    --card-hover-border: #475569;
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --text-tertiary: #64748b;
    --link: #5eead4;
    --nav-line: #1e293b;
    --nav-line-active: #5eead4;
}
.section h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 40px;
    line-height: 1.2;
}
p {
    margin-bottom: 20px;
}
html {
    scrollbar-width: thin;
    scrollbar-color: #475569 #0f172a;
}
::-webkit-scrollbar {
    width: 12px;
}
::-webkit-scrollbar-track {
    background: #0f172a;
}
::-webkit-scrollbar-thumb {
    background-color: #475569;
    border-radius: 6px;
    border: 3px solid #0f172a;
}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--bg);
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.cursor-spotlight {
    position: fixed;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(600px at center, rgba(29, 78, 216, 0.15), transparent 40%);
    z-index: 9999;
    mix-blend-mode: screen;
    opacity: 1;
    transition: opacity 0.3s ease;
}
.layout {
    display: flex;
    min-height: 100vh;
    margin: 0 auto;
    max-width: 1280px;
}
.form-status.success {
    color: var(--link);
}
.form-status.error {
    color: #ef4444;
}
.contact-form {
    max-width: 500px;
    margin-top: 30px;
    padding: 20px;
    background-color: var(--card-bg);
    border-radius: 8px;
    border: 1px solid var(--card-hover-border);
}
.contact-form .form-group {
    margin-bottom: 20px;
}
.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 10px;
    background-color: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--nav-line);
    border-radius: 4px;
    color: var(--text-primary);
    font-size: 16px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}
.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--link);
    box-shadow: 0 0 0 1px var(--link);
}
.contact-form button {
    background-color: var(--link);
    color: var(--bg);
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    position: relative;
    z-index: 2;
}
.contact-form button:hover {
    background-color: #4cd4bd;
    transform: translateY(-2px);
}
.contact-form .form-status {
    margin-top: 15px;
    font-size: 14px;
    text-align: center;
}
.form-status.success {
    color: var(--link);
}
.form-status.error {
    color: #ef4444;
}

/* Resume Section Styles */
.resume-container {
    margin-top: 30px;
}

.resume-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease;
}

.resume-link:hover {
    transform: translateY(-2px);
}

.resume-preview {
    background-color: var(--card-bg);
    padding: 32px;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 300px;
}

.resume-preview:hover {
    background-color: var(--card-hover-bg);
    border-color: var(--card-hover-border);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.resume-preview svg {
    width: 48px;
    height: 48px;
    color: var(--link);
    margin-bottom: 16px;
}

.resume-preview h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.resume-preview p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.header {
    width: 50%;
    padding: 96px 96px 96px 80px;
    position: fixed;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.header__name {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.025em;
    line-height: 1;
}
.header__title {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-primary);
    margin-top: 12px;
    line-height: 1.2;
}
.header__tagline {
    font-size: 16px;
    color: var(--text-secondary);
    margin-top: 16px;
    max-width: 340px;
    line-height: 1.5;
}
.nav {
    margin-top: 72px;
}
.nav__list {
    list-style: none;
}
.nav__item {
    margin-bottom: 12px;
}
.nav__link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-tertiary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.2s ease;
    outline: none;
}
.nav__link:hover {
    color: var(--text-primary);
}
.nav__link--active {
    color: var(--text-primary);
}
.nav__line {
    width: 32px;
    height: 1px;
    background-color: var(--nav-line);
    margin-right: 16px;
    transition: all 0.2s ease;
}
.nav__link:hover .nav__line {
    width: 64px;
    background-color: var(--text-primary);
}
.nav__link--active .nav__line {
    width: 64px;
    background-color: var(--nav-line-active);
}
.social {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: auto;
}
.social__link {
    display: block;
    color: var(--text-tertiary);
    transition: color 0.2s ease, transform 0.2s ease;
}
.social__link:hover {
    color: var(--text-primary);
    transform: translateY(-3px);
}
.social__link svg {
    width: 20px;
    height: 20px;
}
.main {
    width: 50%;
    margin-left: 50%;
    padding: 96px 80px 96px 0;
}
.section {
    margin-bottom: 144px;
}
.section#about .section__content {
    max-width: 700px;
}
.section#about .section__content p {
    font-size: 15px;
    line-height: 1.625;
    color: var(--text-secondary);
}
.link {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
}
.link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--link);
    transition: width 0.3s ease;
}
.link:hover {
    color: var(--link);
}
.link:hover::after {
    width: 100%;
}
.highlight {
    color: var(--link);
}
.experience-list,
.cert-list {
    list-style: none;
}
.experience,
.cert {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 16px;
    margin-bottom: 48px;
}
.experience__time,
.cert__time {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    padding-top: 1px;
}
.experience__title,
.cert__title {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.experience__title span,
.cert__title span {
    position: relative;
}
.experience__link,
.cert__link {
    display: inline-flex;
    align-items: baseline;
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}
.experience__link:hover,
.cert__link:hover {
    color: var(--link);
}
.experience__link svg,
.cert__link svg {
    width: 16px;
    height: 16px;
    margin-left: 4px;
    transition: transform 0.2s ease;
}
.experience__link:hover svg,
.cert__link:hover svg {
    transform: translate(4px, -4px);
}
.experience__description {
    font-size: 14px;
    line-height: 1.625;
    margin-bottom: 16px;
}
.experience__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
}
.tag {
    background-color: rgba(94, 234, 212, 0.1);
    color: var(--link);
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 500;
}
.skills-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.skill-item {
    display: flex;
    flex-direction: column;
    background-color: var(--card-bg);
    padding: 24px;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    cursor: default;
}
.skill-item:hover {
    background-color: var(--card-hover-bg);
    border-color: var(--card-hover-border);
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.skill-item__icon {
    font-size: 48px;
    margin-bottom: 16px;
    line-height: 1;
}
.skill-item__content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.skill-item__content p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}
.footer {
    margin-top: 96px;
}
.footer p {
    font-size: 14px;
    color: var(--text-tertiary);
    line-height: 1.625;
}
*:focus {
    outline: none;
}
@media (max-width: 1024px) {
    .cursor-spotlight {
        display: none;
    }
    
    .layout {
        display: block;
    }
    .header {
        position: relative;
        width: 100%;
        height: auto;
        padding: 64px 48px;
    }
    .nav {
        margin-top: 48px;
    }
    .social {
        margin-top: 48px;
    }
    .main {
        width: 100%;
        margin-left: 0;
        padding: 0 48px 64px;
    }
    .section {
        margin-bottom: 96px;
    }
    .section#about .section__content {
        max-width: 100%;
    }
    .section#about .section__content p {
        font-size: 16px;
    }
    .resume-preview {
        max-width: 100%;
    }
}
@media (max-width: 640px) {
    .header {
        padding: 48px 24px;
    }
    .header__name {
        font-size: 36px;
    }
    .header__title {
        font-size: 18px;
    }
    .nav__list {
        display: flex;
        gap: 24px;
        flex-wrap: wrap;
    }
    .nav__line {
        display: none;
    }
    .main {
        padding: 0 24px 48px;
    }
    .experience,
    .cert {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .experience__time,
    .cert__time {
        font-size: 12px;
    }
    
    .skills-list {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .skill-item__icon {
        display: none;
    }
    .resume-preview {
        max-width: 100%;
        padding: 24px;
    }
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.section {
    animation: fadeIn 0.6s ease-out;
}
::selection {
    background-color: rgba(94, 234, 212, 0.3);
    color: var(--text-primary);
}

/* Simplified Achievement Section Styles */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.achievement-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    cursor: pointer;
}

.achievement-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.achievement-image {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #1e293b;
    border: 1px solid #334155;
}

.achievement-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.achievement-item:hover .achievement-image img {
    transform: scale(1.05);
}

.achievement-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(15, 23, 42, 0.9) 0%,
        rgba(15, 23, 42, 0.7) 60%,
        transparent 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.achievement-item:hover .achievement-overlay {
    opacity: 1;
}

.achievement-info h3 {
    color: #f8fafc;
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
}

.achievement-info p {
    color: #5eead4;
    font-size: 0.875rem;
    margin: 0 0 0.5rem 0;
}

.achievement-date {
    color: #94a3b8;
    font-size: 0.75rem;
}

/* Simplified Modal Styles */
.image-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    background: rgba(0, 0, 0, 0.9);
}

.image-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    cursor: pointer;
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    background: #1e293b;
    border-radius: 0.5rem;
    overflow: hidden;
    z-index: 1001;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(15, 23, 42, 0.8);
    color: #f8fafc;
    border: none;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1002;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(15, 23, 42, 0.9);
    transform: scale(1.1);
}

.modal-close svg {
    width: 1.25rem;
    height: 1.25rem;
}

.modal-image {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
}

.modal-info {
    padding: 1.5rem;
    background: #1e293b;
}

.modal-title {
    color: #f8fafc;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.modal-description {
    color: #5eead4;
    margin: 0 0 0.5rem 0;
}

.modal-date {
    color: #94a3b8;
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        max-width: 95vw;
        max-height: 95vh;
        margin: 1rem;
    }
    
    .modal-close {
        top: 0.5rem;
        right: 0.5rem;
        width: 2rem;
        height: 2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .cursor-spotlight {
        display: none;
    }
}
