* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
html {
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

html::-webkit-scrollbar {
    display: none;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #e2e8f0;
    background-color: #0f0f0f;
    overflow-x: hidden;
    cursor: none;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

body::-webkit-scrollbar {
    display: none;
}

*::-webkit-scrollbar {
    display: none;
}

* {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

#education,
#education *,
#experience,
#experience *,
#projects,
#projects * {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #ffffff;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    margin: 1rem auto;
    border-radius: 2px;
}
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(220, 38, 38, 0.3);
}

.nav-container {
    max-width: none;
    margin: 0;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    width: 100%;
    overflow-x: hidden;
}

.nav-logo {
    flex-shrink: 0;
    position: absolute;
    left: 20px;
}

.nav-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin-left: auto;
    margin-right: 60px;
    max-width: 100vw;
    box-sizing: border-box;
}

.nav-link {
    text-decoration: none;
    color: #e2e8f0;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #dc2626;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: #dc2626;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: absolute;
    right: 20px;
}

.bar {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    /*background: linear-gradient(135deg, #0f0f0f 0%, #1f1f1f 50%, #dc2626 100%);*/
    background: #0b0909;
    color: white;
    position: relative;
    overflow: hidden;
    
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 
        0 0 20px rgba(0, 0, 0, 0.9),
        0 0 40px rgba(0, 0, 0, 0.7),
        4px 4px 8px rgba(0, 0, 0, 0.8),
        -2px -2px 6px rgba(0, 0, 0, 0.6),
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000,
        -2px -2px 0 #000,
        2px -2px 0 #000,
        -2px 2px 0 #000,
        2px 2px 0 #000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    color: #ffffff;
}

.hero-title.typing {
    opacity: 1;
    visibility: visible;
}

.highlight {
    background: linear-gradient(45deg, #dc2626 0%, #fca5a5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    text-shadow: 
        0 0 15px rgba(0, 0, 0, 0.9),
        0 0 30px rgba(0, 0, 0, 0.7),
        3px 3px 6px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    opacity: 1;
    color: #ffffff;
    text-shadow: 
        0 0 15px rgba(0, 0, 0, 0.9),
        0 0 30px rgba(0, 0, 0, 0.6),
        3px 3px 6px rgba(0, 0, 0, 0.8),
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000,
        -2px -2px 0 #000,
        2px -2px 0 #000,
        -2px 2px 0 #000,
        2px 2px 0 #000;
}

.hero-description {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    opacity: 1;
    line-height: 1.8;
    text-align: center;
    font-weight: 500;
    color: #f8fafc;
    text-shadow: 
        0 0 12px rgba(0, 0, 0, 0.9),
        0 0 24px rgba(0, 0, 0, 0.6),
        2px 2px 4px rgba(0, 0, 0, 0.8),
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000,
        -2px -2px 0 #000,
        2px -2px 0 #000,
        -2px 2px 0 #000,
        2px 2px 0 #000;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    text-shadow: 
        0 0 10px rgba(0, 0, 0, 0.9),
        2px 2px 4px rgba(0, 0, 0, 0.8);
}

.btn-primary {
    background: #dc2626;
    color: white;
    border-color: #dc2626;
}

.btn-primary:hover {
    background: #991b1b;
    color: white;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: #dc2626;
}

.btn-secondary:hover {
    background: #dc2626;
    color: white;
    transform: translateY(-2px);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(220, 38, 38, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(220, 38, 38, 0.3);
}

.social-links a:hover {
    background: #dc2626;
    color: white;
    transform: translateY(-3px);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.about {
    padding: 5rem 0;
    background: #1a1a1a;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #e2e8f0;
    line-height: 1.8;
}

.stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #dc2626;
}

.stat-label {
    font-size: 0.9rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-image {
    display: flex;
    justify-content: center;
    position: relative;
}

.profile-photo {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #dc2626;
    transition: transform 0.3s ease;
}

.profile-photo:hover {
    transform: scale(1.05);
}

.image-placeholder {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: white;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.education {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
}

.education-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.education-item {
    background: rgba(220, 38, 38, 0.05);
    border-left: 4px solid #dc2626;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.education-item:hover {
    background: rgba(220, 38, 38, 0.08);
    transform: translateX(5px);
}

.education-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.education-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.education-location {
    color: #dc2626;
    font-weight: 500;
}

.education-date {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-left: auto;
}

.education-degree {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.education-degree strong {
    color: #ffffff;
    font-weight: 600;
}

.education-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.detail-section h4 {
    color: #dc2626;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.detail-section ul {
    list-style: none;
    padding: 0;
}

.detail-section li {
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1rem;
}

.detail-section li:before {
    content: '•';
    color: #dc2626;
    position: absolute;
    left: 0;
}

.coursework-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.course-tag {
    background: rgba(220, 38, 38, 0.1);
    color: #fca5a5;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(220, 38, 38, 0.3);
    transition: all 0.3s ease;
}

.course-tag:hover {
    background: rgba(220, 38, 38, 0.2);
    border-color: #dc2626;
}

.education .education-item .detail-section ul a {
    color: #fff;
    text-decoration: underline;
    transition: color 0.2s;
}
.education .education-item .detail-section ul a:hover {
    color: #ffd700;
    text-decoration: underline;
}

.experience {
    padding: 5rem 0;
}

.experience-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.experience-item {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    border: 1px solid rgba(220, 38, 38, 0.1);
    transition: all 0.3s ease;
}

.experience-item:hover {
    border-color: rgba(220, 38, 38, 0.3);
    transform: translateY(-5px);
}

.experience-header {
    margin-bottom: 1.5rem;
}

.experience-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.experience-company {
    font-size: 1.1rem;
    color: #dc2626;
    font-weight: 600;
    display: block;
    margin-bottom: 0.3rem;
}

.experience-location,
.experience-date {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-right: 1rem;
}

.experience-type {
    background: rgba(220, 38, 38, 0.1);
    color: #fca5a5;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.experience-description ul {
    list-style: none;
    padding: 0;
}

.experience-description li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.6;
}

.experience-description li:before {
    content: '▶';
    color: #dc2626;
    position: absolute;
    left: 0;
    font-size: 0.8rem;
}

.skills {
    padding: 5rem 0;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    justify-items: center;
}

.skill-category {
    background: #262626;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    border: 1px solid rgba(220, 38, 38, 0.1);
}

.skill-category:hover {
    transform: translateY(-5px);
}

.skill-category h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
}

.volunteering {
    padding: 5rem 0;
    background: #1a1a1a;
}

.volunteering-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    justify-items: center;
}

.volunteering-item {
    background: #262626;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    border: 1px solid rgba(220, 38, 38, 0.1);
}

.volunteering-item:hover {
    transform: translateY(-5px);
}

.volunteering-header {
    margin-bottom: 1rem;
}

.volunteering-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.volunteering-organization {
    color: #dc2626;
    font-weight: 500;
    display: block;
    margin-bottom: 0.3rem;
}

.volunteering-date {
    color: #94a3b8;
    font-size: 0.9rem;
}

.volunteering-description {
    color: #e2e8f0;
    line-height: 1.6;
}

.achievement-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.achievement-tag {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.organizations {
    padding: 5rem 0;
}

.organizations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    justify-items: center;
}

.organization-item {
    background: #262626;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    border: 1px solid rgba(220, 38, 38, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.organization-item:hover {
    transform: translateY(-5px);
}

.organization-icon {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.organization-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.organization-type {
    color: #dc2626;
    font-weight: 500;
    margin-bottom: 0.8rem;
}

.organization-description {
    color: #e2e8f0;
    line-height: 1.6;
}

.languages {
    padding: 5rem 0;
    background: #1a1a1a;
}

.languages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    justify-items: center;
}

.language-item {
    background: #262626;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    border: 1px solid rgba(220, 38, 38, 0.1);
    width: 100%;
}

.language-item:hover {
    transform: translateY(-5px);
}

.language-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.language-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
}

.proficiency-level {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.proficiency-level.native {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white;
}

.proficiency-level.intermediate {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    color: white;
}

.proficiency-bar {
    width: 100%;
    height: 8px;
    background: #404040;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.proficiency-fill {
    height: 100%;
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    border-radius: 4px;
    transition: width 1s ease;
    width: 0%;
}

.language-description {
    color: #e2e8f0;
    line-height: 1.6;
    font-size: 0.9rem;
}

.honors {
    padding: 5rem 0;
}

.honors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    justify-items: center;
}

.honor-item {
    background: #262626;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    border: 1px solid rgba(220, 38, 38, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.honor-item:hover {
    transform: translateY(-5px);
}

.honor-item.academic .honor-icon {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
}

.honor-item.leadership .honor-icon {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.honor-icon {
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.honor-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.honor-organization {
    color: #dc2626;
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.honor-date {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.honor-description {
    color: #e2e8f0;
    line-height: 1.6;
}

.honor-item.certification .honor-icon {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

.honor-actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    border-radius: 6px;
}

.btn-outline.btn-sm:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.2);
}
.writing {
    padding: 5rem 0;
    background: #0f0f0f;
}

.writing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.writing-item {
    background: rgba(26, 26, 26, 0.8);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.writing-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.writing-item:hover::before {
    transform: scaleX(1);
}

.writing-item:hover {
    transform: translateY(-5px);
    border-color: rgba(220, 38, 38, 0.3);
}

.writing-header {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.writing-icon {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.writing-info h3 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.writing-course {
    color: #dc2626;
    font-weight: 500;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.writing-institution {
    color: #94a3b8;
    font-size: 0.9rem;
    font-style: italic;
}

.writing-description {
    margin-bottom: 1.5rem;
}

.writing-description p {
    color: #e2e8f0;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.writing-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.writing-tag {
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.writing-actions {
    display: flex;
    justify-content: flex-start;
}

.btn-outline {
    background: transparent;
    border: 2px solid #dc2626;
    color: #dc2626;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-outline:hover {
    background: #dc2626;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.btn-outline i {
    font-size: 1rem;
}
@media (max-width: 768px) {
    .writing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .writing-item {
        padding: 1.5rem;
    }
    
    .writing-header {
        gap: 1rem;
    }
    
    .writing-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .writing-info h3 {
        font-size: 1.1rem;
    }
    
    .writing-tags {
        gap: 0.4rem;
    }
    
    .writing-tag {
        font-size: 0.75rem;
        padding: 0.2rem 0.6rem;
    }
}
.projects {
    padding: 5rem 0;
    background: #1a1a1a;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    justify-items: center;
}

.project-card {
    background: #262626;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(220, 38, 38, 0.1);
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-card.featured {
    grid-column: 1 / -1;
    max-width: 600px;
    margin: 0 auto;
}

.projects-grid > .project-card:last-child:nth-child(odd) {
    margin-left: auto;
    margin-right: auto;
}

.project-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.project-placeholder {
    font-size: 4rem;
    opacity: 0.7;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-links {
    display: flex;
    gap: 1rem;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.project-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    color: #dc2626;
    text-decoration: none;
    transition: transform 0.3s ease;
    cursor: pointer;
    z-index: 10;
    position: relative;
}

.project-link::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
}

.project-link:hover {
    transform: scale(1.1);
    background: #dc2626;
    color: white;
    box-shadow: 0 5px 15px rgba(220, 38, 38, 0.4);
}

.project-content {
    padding: 2rem;
}

.project-badge {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 1rem 0 0.5rem;
    color: #ffffff;
}

.project-content p {
    color: #e2e8f0;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-tech span {
    background: #3a3a3a;
    color: #e2e8f0;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.skills-grid > .skill-category:last-child:nth-child(odd) {
    margin-left: auto;
    margin-right: auto;
}

.contact {
    padding: 5rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.contact-info p {
    font-size: 1.1rem;
    color: #e2e8f0;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-methods .contact-method {
    flex: 1 1 0;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #262626;
    border-radius: 10px;
    border: 1px solid rgba(220, 38, 38, 0.1);
}

.contact-method i {
    font-size: 1.2rem;
    color: #dc2626;
    width: 24px;
}

.contact-method div span {
    display: block;
    font-size: 0.9rem;
    color: #9ca3af;
    font-weight: 500;
}

.contact-method div a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
}

.contact-method div a:hover {
    color: #dc2626;
}

.contact-form {
    background: #262626;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(220, 38, 38, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #3a3a3a;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background: #1a1a1a;
    color: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #dc2626;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.footer {
    background: rgba(15, 15, 15, 0.95);
    color: white;
    padding: 2rem 0;
    border-top: 1px solid rgba(220, 38, 38, 0.3);
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    text-align: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.1s ease;
}

.cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: all 0.15s ease-out;
}


.cursor.hover {
    transform: scale(1.5);
    background: linear-gradient(135deg, #ffffff 0%, #dc2626 100%);
}

.cursor-follower.hover {
    transform: scale(1.5);
    border-color: rgba(255, 255, 255, 0.6);
}

input, textarea, select {
    cursor: text !important;
}
.clickable {
    cursor: pointer !important;
}
.pdf-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.pdf-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pdf-modal-content {
    position: relative;
    width: 90%;
    height: 90%;
    max-width: 1200px;
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
}

.pdf-modal-header {
    background: #0f0f0f;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.pdf-modal-header h3 {
    color: #ffffff;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    flex: 1;
    min-width: 200px;
}

.pdf-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(26, 26, 26, 0.8);
    padding: 0.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pdf-control-btn {
    background: transparent;
    border: none;
    color: #e2e8f0;
    padding: 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
}

.pdf-control-btn:hover {
    background: rgba(220, 38, 38, 0.2);
    color: #dc2626;
    transform: scale(1.05);
}

.pdf-control-btn:active {
    transform: scale(0.95);
}

#zoomLevel {
    color: #e2e8f0;
    font-size: 0.9rem;
    font-weight: 500;
    min-width: 50px;
    text-align: center;
    padding: 0 0.5rem;
}

.pdf-modal-close {
    background: transparent;
    border: none;
    color: #e2e8f0;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
}

.pdf-modal-close:hover {
    background: rgba(220, 38, 38, 0.2);
    color: #dc2626;
    transform: rotate(90deg);
}

.pdf-modal-body {
    flex: 1;
    padding: 1rem;
    overflow: hidden;
}

.pdf-container {
    width: 100%;
    height: 100%;
    position: relative;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}

#pdfEmbed {
    border: none;
    border-radius: 8px;
}

.pdf-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: #f8f9fa;
    color: #333;
}

.fallback-content {
    text-align: center;
    padding: 2rem;
}

.fallback-content i {
    font-size: 4rem;
    color: #dc2626;
    margin-bottom: 1rem;
}

.fallback-content h4 {
    margin-bottom: 0.5rem;
    color: #333;
}

.fallback-content p {
    margin-bottom: 1.5rem;
    color: #666;
}

.pdf-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.pdf-modal.fullscreen {
    background: rgba(0, 0, 0, 0.95);
}

.pdf-modal.fullscreen .pdf-modal-content {
    width: 100%;
    height: 100%;
    max-width: none;
    border-radius: 0;
}
@media (max-width: 768px) {
    .pdf-modal-content {
        width: 95%;
        height: 95%;
    }
    
    .pdf-modal-header {
        padding: 0.75rem 1rem;
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    
    .pdf-modal-header h3 {
        font-size: 1rem;
        text-align: center;
        min-width: auto;
    }
    
    .pdf-controls {
        justify-content: center;
        order: 2;
    }
    
    .pdf-modal-close {
        position: absolute;
        top: 0.5rem;
        right: 0.5rem;
        order: 3;
    }
}

@media (max-width: 480px) {
    .pdf-modal-content {
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
    
    .pdf-modal-body {
        padding: 0.5rem;
    }
    
    .pdf-controls {
        gap: 0.25rem;
        padding: 0.25rem;
    }
    
    .pdf-control-btn {
        min-width: 32px;
        height: 32px;
        padding: 0.25rem;
    }
}

/* mobile navigation */
@media (max-width: 900px) {
  html, body {
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .navbar {
    height: 56px;
    min-height: 56px;
    padding: 0;
  }
  .nav-container {
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    padding: 0 0.5rem;
    height: 56px;
    min-height: 56px;
    position: relative;
  }
  .nav-logo {
    flex: 0 0 auto;
    margin-right: 1rem;
    position: static;
    left: unset;
    z-index: 2;
  }
  .nav-logo span {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
  }
  .nav-menu {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    max-width: calc(100vw - 60px);
    width: 100%;
    box-sizing: border-box;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    align-items: center;
    gap: 0.5rem;
  }
  .nav-menu::-webkit-scrollbar {
    display: none;
  }
  .nav-menu li {
    flex: 0 0 auto;
    margin: 0 0.25rem;
  }
  .nav-link {
    font-size: 0.98rem;
    padding: 0.5rem 0.7rem;
    border-radius: 8px;
    background: none;
    color: #e2e8f0;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
  }
  .nav-link:hover,
  .nav-link.active {
    background: #dc2626;
    color: #fff;
  }
  .hamburger {
    display: none;
  }
}
@media (max-width: 600px) {
  .navbar {
    height: 48px;
    min-height: 48px;
  }
  .nav-container {
    height: 48px;
    min-height: 48px;
    padding: 0 0.25rem;
  }
  .nav-logo span {
    font-size: 1.1rem;
  }
  .nav-menu {
    max-width: calc(100vw - 48px);
    padding-left: 0.25rem;
    padding-right: 0.25rem;
    gap: 0.25rem;
  }
  .nav-link {
    font-size: 0.92rem;
    padding: 0.4rem 0.5rem;
    border-radius: 7px;
  }
  
  .about-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }
  .about-image {
    order: -1;
    width: 180px;
    height: 180px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .about-text {
    order: 2;
    width: 100%;
  }
  .profile-photo,
  .image-placeholder {
    width: 180px;
    height: 180px;
    min-width: 120px;
    min-height: 120px;
    max-width: 90vw;
    max-height: 90vw;
    display: block;
    margin: 0 auto;
  }
  .contact-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: stretch;
  }
  .contact-info,
  .contact-form {
    width: 100%;
    min-width: 0;
    max-width: 100vw;
    box-sizing: border-box;
    margin: 0 auto;
  }
}
@media (max-width: 480px) {
  .about-image {
    width: 120px;
    height: 120px;
  }
  .profile-photo,
  .image-placeholder {
    width: 120px;
    height: 120px;
    min-width: 80px;
    min-height: 80px;
    max-width: 90vw;
    max-height: 90vw;
  }
}

/* audio system */
.audio-controls {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 12px;
}

.audio-toggle, .audio-control-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.audio-toggle {
    background: rgba(220, 38, 38, 0.9);
}

.audio-toggle:hover {
    background: rgba(220, 38, 38, 1);
    transform: scale(1.1);
}

.audio-toggle.muted {
    background: rgba(107, 114, 128, 0.9);
}

.audio-toggle.muted:hover {
    background: rgba(107, 114, 128, 1);
}

.audio-control-btn {
    background: rgba(55, 65, 81, 0.9);
    font-size: 16px;
}

.audio-control-btn:hover {
    background: rgba(75, 85, 99, 1);
    transform: scale(1.1);
}

.now-playing {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    pointer-events: none;
}

.now-playing.show {
    opacity: 1;
    transform: translateY(0);
}

.now-playing-content {
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: 12px;
    padding: 16px 20px;
    min-width: 300px;
    max-width: 400px;
}

.now-playing-text {
    color: #e2e8f0;
    font-size: 14px;
    line-height: 1.4;
}

.now-playing-text .track-name {
    font-weight: 600;
    color: #dc2626;
    display: block;
    margin-bottom: 4px;
}

.now-playing-text .artist-credit {
    font-size: 12px;
    color: #94a3b8;
}
@media (max-width: 768px) {
    .audio-controls {
        bottom: 20px;
        left: 20px;
        gap: 8px;
    }
    
    .audio-toggle, .audio-control-btn {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    
    .audio-control-btn {
        font-size: 14px;
    }
    
    .now-playing {
        bottom: 20px;
        right: 20px;
        left: 20px;
    }
    
    .now-playing-content {
        min-width: auto;
        max-width: none;
    }
}