/* Reset and Base Styles */
html, body {
    height: 100%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #e8e8e8;
    background-color: #0d1117;
    overflow-x: hidden;
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }

p {
    margin-bottom: 1rem;
    color: #b0b0b0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
     background: rgba(10, 10, 10, 0.95);
    /* background:transparent; */
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.nav-brand a {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.nav-menu {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Nav List */
.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
}


.nav-link {
    color: #b0b0b0;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #64ffda;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #64ffda;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    color: #ffffff;
    cursor: pointer;
}

 /* Hero Section */
 :root {
    --header-height: 80px;
}

.hero {
    min-height: 100vh;
    padding-top: 100px; /* или 80px если твой header ниже */
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
    position: relative;
    overflow: hidden;
} 

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #58a6ff 100%);
    -webkit-background-clip: text;
    color: transparent;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(88, 166, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #58a6ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #58a6ff;
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.hero-description {
    font-size: 1.2rem;
    color: #b0b0b0;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.profile-photo {
    width: 350px;
    height: 350px;
   /*  border-radius: 50%; */
   border-radius: 20px;
    object-fit: cover;
   /*   border: 4px solid #64ffda;  */
     border: 1px solid #6495ff;
     box-shadow: 0 0 40px rgba(100, 255, 218, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
     
}

.profile-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 0 60px rgba(100, 255, 218, 0.5);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #64ffda 0%, #00bfa5 100%);
    color: #0a0a0a;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(100, 255, 218, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #64ffda;
    border: 2px solid #64ffda;
}

.btn-secondary:hover {
    background: #64ffda;
    color: #0a0a0a;
    transform: translateY(-2px);
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: #ffffff;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #64ffda 0%, #00bfa5 100%);
    margin: 1rem auto;
    border-radius: 2px;
}

/* About Section */
.about {
    background: #111111;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #c0c0c0;
    line-height: 1.8;
}

.skills {
    margin-top: 3rem;
}

.skills h3 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.skill-tag {
    background: rgba(100, 255, 218, 0.1);
    color: #64ffda;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 500;
    border: 1px solid rgba(100, 255, 218, 0.3);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: rgba(100, 255, 218, 0.2);
    transform: translateY(-2px);
}

/* Projects Section */
.projects {
    background: #0a0a0a;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(100, 255, 218, 0.1);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(100, 255, 218, 0.3);
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-placeholder {
    font-size: 3rem;
    color: #64ffda;
    opacity: 0.7;
}

.project-content {
    padding: 1.5rem;
}

.project-title {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.project-description {
    color: #b0b0b0;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    background: rgba(100, 255, 218, 0.1);
    color: #64ffda;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    color: #64ffda;
    font-weight: 500;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: #ffffff;
}

.project-link i {
    margin-right: 0.5rem;
}

/* Publications Section */
.publications {
    background: #111111;
}

.publications-list {
    max-width: 900px;
    margin: 0 auto;
}

.publication-item {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    border-left: 4px solid #64ffda;
    transition: all 0.3s ease;
}

.publication-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.publication-title {
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.publication-authors {
    color: #64ffda;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.publication-venue {
    color: #888888;
    margin-bottom: 1rem;
    font-style: italic;
}

.publication-description {
    color: #b0b0b0;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.publication-links {
    display: flex;
    gap: 1rem;
}

.publication-link {
    color: #64ffda;
    font-weight: 500;
    transition: color 0.3s ease;
}

.publication-link:hover {
    color: #ffffff;
}

.publication-link i {
    margin-right: 0.5rem;
}

/* Contact Section */
.contact {
    background: #0a0a0a;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-description {
    font-size: 1.1rem;
    color: #c0c0c0;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #b0b0b0;
}

.contact-item i {
    color: #64ffda;
    font-size: 1.2rem;
    width: 20px;
}

.contact-item a {
    color: #64ffda;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #ffffff;
}

.contact-form {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(100, 255, 218, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: #2a2a2a;
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #64ffda;
    box-shadow: 0 0 10px rgba(100, 255, 218, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #888888;
}

/* Footer */
.footer {
    background: #111111;
    padding: 2rem 0;
    border-top: 1px solid rgba(100, 255, 218, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-text p {
    color: #888888;
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    /* width: 40px; */
    height: 40px;
    background: rgba(100, 255, 218, 0.1);
    border-radius: 50%;
    color: #64ffda;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #64ffda;
    color: #0a0a0a;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        transition: right 0.3s ease;
        padding: 2rem;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .nav-toggle {
        display: block;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .profile-photo {
        width: 250px;
        height: 250px;
    }

    .hero-buttons {
        justify-content: center;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .skills-grid {
        justify-content: center;
    }

    section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .profile-photo {
        width: 200px;
        height: 200px;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .project-card,
    .publication-item,
    .contact-form {
        margin: 0 -5px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 200px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Timeline Styles */
.timeline {
    margin: 3rem 0;
    padding: 2rem 0;
}

.timeline h3 {
    color: #ffffff;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    text-align: center;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(88, 166, 255, 0.05);
    border-radius: 12px;
    border-left: 4px solid #58a6ff;
    transition: all 0.3s ease;
}

.timeline-item:hover {
    background: rgba(88, 166, 255, 0.1);
    transform: translateX(5px);
}

.timeline-year {
    font-weight: 700;
    color: #58a6ff;
    min-width: 120px;
    font-size: 1rem;
}

.timeline-content h4 {
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.timeline-content p {
    color: #b0b0b0;
    margin: 0;
    line-height: 1.5;
}

/* Documents Section */
.documents {
    margin-top: 3rem;
    padding: 2rem 0;
}

.documents h3 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

.document-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.document-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: rgba(88, 166, 255, 0.1);
    color: #58a6ff;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(88, 166, 255, 0.2);
}

.document-link:hover {
    background: rgba(88, 166, 255, 0.2);
    transform: translateY(-2px);
    color: #ffffff;
}

/* Carousel Sections */
.carousel-section {
    background: #0d1117;
    padding: 5rem 0;
}

.carousel-section:nth-of-type(even) {
    background: #111827;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-subtitle {
    color: #9ca3af;
    font-size: 1rem;
    margin-top: -0.5rem;
}

.carousel {
    position: relative;
    overflow: hidden;
    background: #111827;
    border: 1px solid rgba(88, 166, 255, 0.12);
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
}

.carousel-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    transition: transform 0.4s ease;
}

.carousel-slide {
    padding: 0 0.5rem;
}

.carousel-media {
    position: relative;
    background: linear-gradient(135deg, #111827 0%, #0d1117 100%);
    border-radius: 12px;
    padding: 2rem;
    min-height: 240px;
    border: 1px solid rgba(88, 166, 255, 0.16);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.25);
    color: #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.carousel-media.image-card {
    padding: 1.25rem;
    overflow: hidden;
    background: #0d1117;
    border: 1px solid rgba(88, 166, 255, 0.2);
    gap: 1rem;
    align-items: center;
    text-align: center;
    max-width: 520px;
    margin: 0 auto;
}

.carousel-media.image-card img {
    display: block;
    width: 90%;
    max-width: 420px;
    aspect-ratio: 1 / 1;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.25);
    background: #0b0f17;
    padding: 0.5rem;
}

.image-caption h3 {
    color: #ffffff;
    margin: 0 0 0.35rem 0;
    font-size: 1.1rem;
}

.image-caption p {
    color: #cbd5e1;
    margin: 0;
    line-height: 1.5;
    font-size: 0.95rem;
}

.mock-thumb {
    width: 90%;
    max-width: 420px;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    margin: 0 auto;
    border: 1px solid rgba(88, 166, 255, 0.25);
    box-shadow: 0 12px 24px rgba(0,0,0,0.25);
}

.carousel-media h3 {
    color: #ffffff;
    margin: 0;
}

.carousel-media p {
    color: #cbd5e1;
    margin: 0;
    line-height: 1.6;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(88, 166, 255, 0.3);
    background: rgba(17, 24, 39, 0.9);
    color: #e5e7eb;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.carousel-control:hover {
    background: #58a6ff;
    color: #0d1117;
    box-shadow: 0 10px 20px rgba(88, 166, 255, 0.25);
}

.carousel-control.prev { left: 12px; }
.carousel-control.next { right: 12px; }

.carousel-dots {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(88, 166, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: #58a6ff;
    transform: scale(1.1);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(88, 166, 255, 0.16);
    color: #58a6ff;
    font-weight: 600;
    font-size: 0.85rem;
    width: fit-content;
}

.pill-row {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.pill {
    background: rgba(88, 166, 255, 0.12);
    color: #e5e7eb;
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    font-size: 0.9rem;
    border: 1px solid rgba(88, 166, 255, 0.18);
}

.gradient-1 { background: radial-gradient(circle at 20% 20%, rgba(88,166,255,0.15), transparent 40%), linear-gradient(135deg, #0f172a 0%, #0b1220 100%); }
.gradient-2 { background: radial-gradient(circle at 80% 30%, rgba(16,185,129,0.15), transparent 40%), linear-gradient(135deg, #0c1721 0%, #0b1119 100%); }
.gradient-3 { background: radial-gradient(circle at 50% 80%, rgba(236,72,153,0.15), transparent 40%), linear-gradient(135deg, #17111f 0%, #0f0b14 100%); }
.gradient-4 { background: radial-gradient(circle at 20% 20%, rgba(94,234,212,0.15), transparent 40%), linear-gradient(135deg, #0f172a 0%, #101827 100%); }
.gradient-5 { background: radial-gradient(circle at 60% 20%, rgba(250,204,21,0.15), transparent 40%), linear-gradient(135deg, #1f1a0f 0%, #0f0f0b 100%); }
.gradient-6 { background: radial-gradient(circle at 30% 80%, rgba(94,234,212,0.15), transparent 40%), linear-gradient(135deg, #0f172a 0%, #0b1220 100%); }


/* Project Metrics */
.project-metrics {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
}

.metric {
    text-align: center;
}

.metric-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #58a6ff;
    margin-bottom: 0.25rem;
}

.metric-label {
    font-size: 0.9rem;
    color: #888888;
    font-weight: 500;
}

/* Projects CTA */
.projects-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(88, 166, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(88, 166, 255, 0.1);
}

.projects-cta p {
    color: #b0b0b0;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Writing Section */
.writing {
    background: #161b22;
}

.writing-intro {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.writing-intro p {
    font-size: 1.1rem;
    color: #b0b0b0;
    line-height: 1.7;
}

.writing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.writing-item {
    background: #21262d;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(88, 166, 255, 0.1);
    transition: all 0.3s ease;
}

.writing-item:hover {
    transform: translateY(-5px);
    border-color: rgba(88, 166, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.writing-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.writing-date {
    color: #888888;
    font-size: 0.9rem;
    font-weight: 500;
}

.writing-type {
    background: rgba(88, 166, 255, 0.1);
    color: #58a6ff;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.writing-title {
    margin-bottom: 1rem;
}

.writing-title a {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.writing-title a:hover {
    color: #58a6ff;
}

.writing-excerpt {
    color: #b0b0b0;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.writing-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    background: rgba(88, 166, 255, 0.1);
    color: #58a6ff;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.writing-links {
    display: flex;
    gap: 1rem;
}

.writing-link {
    color: #58a6ff;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.writing-link:hover {
    color: #ffffff;
}

.writing-link i {
    margin-right: 0.5rem;
}

.writing-cta {
    text-align: center;
    padding: 2rem;
    background: rgba(88, 166, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(88, 166, 255, 0.1);
}

.writing-cta p {
    color: #b0b0b0;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Enhanced Contact Section */
.contact {
    background: #0d1117;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.social-links .social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(88, 166, 255, 0.1);
    color: #58a6ff;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(88, 166, 255, 0.2);
}

.social-links .social-link:hover {
    background: rgba(88, 166, 255, 0.2);
    transform: translateY(-2px);
    color: #ffffff;
}

/* Form Enhancements */
.form-group label {
    display: block;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.error-message {
    color: #f85149;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: block;
}

.form-success {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(46, 160, 67, 0.1);
    border: 1px solid rgba(46, 160, 67, 0.3);
    border-radius: 8px;
    color: #3fb950;
    margin-top: 1rem;
}

.form-success i {
    font-size: 1.2rem;
}

/* Updated Button Styles */
.btn-primary {
    background: linear-gradient(135deg, #58a6ff 0%, #1f6feb 100%);
    color: #ffffff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(88, 166, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #58a6ff;
    border: 2px solid #58a6ff;
}

.btn-secondary:hover {
    background: #58a6ff;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Updated Color Scheme */
.nav-link:hover,
.nav-link.active {
    color: #58a6ff;
}

.nav-link::after {
    background: #58a6ff;
}

.section-title::after {
    background: linear-gradient(135deg, #58a6ff 0%, #1f6feb 100%);
}

.skill-tag {
    background: rgba(88, 166, 255, 0.1);
    color: #58a6ff;
    border: 1px solid rgba(88, 166, 255, 0.3);
}

.skill-tag:hover {
    background: rgba(88, 166, 255, 0.2);
}

.project-card:hover {
    border-color: rgba(88, 166, 255, 0.3);
}

.project-placeholder {
    color: #58a6ff;
}

.tech-tag {
    background: rgba(88, 166, 255, 0.1);
    color: #58a6ff;
}

.project-link {
    color: #58a6ff;
}

.project-link:hover {
    color: #ffffff;
}

.contact-item i {
    color: #58a6ff;
}

.contact-item a {
    color: #58a6ff;
}

.contact-item a:hover {
    color: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #58a6ff;
    box-shadow: 0 0 10px rgba(88, 166, 255, 0.2);
}

.social-link {
    background: rgba(88, 166, 255, 0.1);
    color: #58a6ff;
}

.social-link:hover {
    background: #58a6ff;
    color: #ffffff;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #161b22;
}

::-webkit-scrollbar-thumb {
    background: #58a6ff;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1f6feb;
}

/* Music Section */
.music {
    background: #111111;
    padding: 5rem 0;
}

.music-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: flex-start;
}

.music-text p {
    font-size: 1.1rem;
    color: #c0c0c0;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.music-subtitle {
    color: #ffffff;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    text-align: left;
}

.music-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.music-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: #b0b0b0;
    font-size: 1.05rem;
}

.music-list li::before {
    content: "●";
    position: absolute;
    left: 0;
    color: #58a6ff;
    font-size: 0.9rem;
}

/* Right-side image */
.music-photo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.music-photo {
    width: 100%;
    max-width: 420px;
    border-radius: 12px;
    border: 1px solid rgba(88, 166, 255, 0.25);
    box-shadow: 0 0 25px rgba(88, 166, 255, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-fit: cover;
}

.music-photo:hover {
    transform: scale(1.03);
    box-shadow: 0 0 40px rgba(88, 166, 255, 0.35);
}

/* Responsive */
@media (max-width: 900px) {
    .music-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .music-photo-wrapper {
        order: -1;
        margin-bottom: 2rem;
    }

    .music-text {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .music-photo {
        max-width: 300px;
    }
}
