@font-face {
    font-family: 'MyCustomFont';
    src: url('./../../fonts/YekanBakh-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.resume-hero,
.resume-skills,
.resume-projects,
.resume-testimonials,
.resume-education,
.resume-contact {
    font-family: 'MyCustomFont', sans-serif;
}

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

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

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #0a192f;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.section-sub {
    font-size: 1.1rem;
    color: #64748b;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: #64ffda;
    color: #0a192f;
}
.btn-primary:hover {
    background: #4cd8b5;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(100, 255, 218, 0.35);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline:hover {
    border-color: #64ffda;
    background: rgba(100, 255, 218, 0.08);
    transform: translateY(-2px);
}

.resume-hero {
    background: linear-gradient(135deg, #0a192f 0%, #1a365d 100%);
    color: #fff;
    padding: 4rem 0 3.5rem;
    border-radius: 0 0 50px 50px;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}
.resume-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 70%;
    height: 200%;
    background: radial-gradient(circle, rgba(100,255,218,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 700px;
}

.hero-name {
    font-size: 3.2rem;
    font-weight: 800;
    margin: 0 0 0.2rem;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.hero-experience-badge {
    font-size: 1rem;
    font-weight: 500;
    background: rgba(100, 255, 218, 0.12);
    color: #64ffda;
    padding: 0.2rem 1.2rem;
    border-radius: 30px;
    border: 1px solid rgba(100, 255, 218, 0.2);
    white-space: nowrap;
}

.hero-title {
    font-size: 1.5rem;
    font-weight: 400;
    color: #94a3b8;
    margin: 0 0 1rem;
}

.hero-summary {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #e2e8f0;
    margin-bottom: 1.8rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.8rem;
}

.hero-social {
    display: flex;
    gap: 1rem;
}
.hero-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    transition: all 0.3s ease;
    color: #fff;
}
.hero-social a:hover {
    border-color: #64ffda;
    background: rgba(100,255,218,0.08);
    transform: translateY(-3px);
}

.hero-avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(100,255,218,0.3);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    flex-shrink: 0;
}
.hero-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.resume-skills {
    padding: 3rem 0 4rem;
    background: #fff;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1.2rem;
}

.skill-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: 1.2rem 0.8rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e9edf2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.skill-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    border-color: #64ffda;
}

.skill-icon {
    font-size: 2rem;
    line-height: 1;
}

.skill-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: #0a192f;
}

.resume-projects {
    padding: 4rem 0;
    background: #0b0c1a;
    color: #fff;
    position: relative;
}
.resume-projects .section-title {
    color: #fff;
}
.resume-projects .section-sub {
    color: #b0b8d0;
}

.projects-scroll-wrapper {
    overflow-x: auto;
    padding-bottom: 15px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
}
.projects-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.projects-horizontal {
    display: flex;
    gap: 30px;
    padding: 0 4px;
    flex-wrap: nowrap;
}

.project-card-link {
    flex: 0 0 280px;
    max-width: 280px;
    display: block;
    text-decoration: none;
    color: inherit;
}

.project-card {
    background: #1a1b2e;
    border-radius: 24px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.project-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: #64ffda;
    box-shadow: 0 16px 50px rgba(100, 255, 218, 0.15);
}

.project-image {
    aspect-ratio: 3 / 4;
    width: 100%;
    overflow: hidden;
    background: #0f1020;
}
.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.project-card:hover .project-image img {
    transform: scale(1.04);
}

.project-info {
    padding: 1.2rem 1rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.project-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 0.4rem;
    color: #fff;
}
.project-desc {
    font-size: 0.85rem;
    color: #b0b8d0;
    line-height: 1.5;
    margin-bottom: 0.8rem;
    flex: 1;
}
.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.project-tech span {
    background: rgba(255,255,255,0.08);
    padding: 0.15rem 0.6rem;
    border-radius: 30px;
    font-size: 0.7rem;
    color: #c5c9d9;
}

.resume-testimonials {
    padding: 4rem 0;
    background: #f8fafc;
}

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

.testimonial-card {
    background: #fff;
    border-radius: 24px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.testimonial-audio audio {
    width: 100%;
    margin-bottom: 1rem;
    border-radius: 30px;
}
.testimonial-name {
    font-weight: 600;
    color: #0a192f;
}

.resume-education {
    padding: 4rem 0;
    background: #fff;
}

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

.edu-item {
    background: #f8fafc;
    padding: 1.8rem;
    border-radius: 24px;
}
.edu-item h3 {
    font-size: 1.2rem;
    color: #0a192f;
    margin-bottom: 0.8rem;
}
.edu-item p {
    color: #334155;
    margin-bottom: 0.3rem;
}
.edu-date {
    font-size: 0.9rem;
    color: #64748b;
}

.lang-level {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.8rem;
    flex-wrap: wrap;
}
.level-dot {
    width: 28px;
    height: 8px;
    border-radius: 10px;
    background: #d1d5db;
}
.level-dot.active {
    background: #0a192f;
}
.level-label {
    font-size: 0.8rem;
    color: #64748b;
    margin-right: 0.5rem;
}

.resume-contact {
    padding: 4rem 0 3rem;
    background: #0a192f;
    color: #fff;
}

.contact-box {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}
.contact-box h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}
.contact-box p {
    color: #94a3b8;
    margin-bottom: 2rem;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
}
.contact-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: #e2e8f0;
    transition: color 0.2s;
    font-size: 1rem;
}
.contact-links a:hover {
    color: #64ffda;
}
.contact-links svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-avatar {
        margin: 0 auto;
        width: 170px;
        height: 170px;
    }
    .hero-social {
        justify-content: center;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-name {
        font-size: 2.6rem;
        justify-content: center;
    }
    .hero-experience-badge {
        font-size: 0.9rem;
    }
    .project-card-link {
        flex: 0 0 240px;
        max-width: 240px;
    }
}

@media (max-width: 600px) {
    .resume-hero {
        padding: 2.5rem 0 2rem;
        border-radius: 0 0 30px 30px;
    }
    .hero-name {
        font-size: 2rem;
        justify-content: center;
        gap: 0.5rem;
    }
    .hero-experience-badge {
        font-size: 0.75rem;
        padding: 0.1rem 0.8rem;
    }
    .hero-title {
        font-size: 1.2rem;
    }
    .hero-summary {
        font-size: 0.95rem;
    }
    .hero-avatar {
        width: 140px;
        height: 140px;
    }
    .section-title {
        font-size: 1.7rem;
    }
    .testimonials-grid,
    .edu-grid {
        grid-template-columns: 1fr;
    }
    .contact-links a {
        font-size: 0.9rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
    }
    .skill-card {
        padding: 0.8rem 0.4rem;
    }
    .skill-icon {
        font-size: 1.6rem;
    }
    .skill-name {
        font-size: 0.75rem;
    }
    .project-card-link {
        flex: 0 0 200px;
        max-width: 200px;
    }
    .project-info h3 {
        font-size: 1rem;
    }
    .project-desc {
        font-size: 0.75rem;
    }
}

@media (max-width: 400px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .project-card-link {
        flex: 0 0 170px;
        max-width: 170px;
    }
}