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

body {
    font-family: 'Inter', sans-serif;
    background-image: url('image3.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    color: #333;
    overflow-x: hidden;
}

.container {
    min-height: 100vh;
    position: relative;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

/* Background text */
.background-text {
    position: absolute;
    top: 50%;
    left: 40px;
    transform: translateY(-50%);
    font-size: 48px;
    font-weight: 300;
    color: rgba(0, 0, 0, 0.8);
    line-height: 1.2;
    z-index: 1;
    animation: fadeIn 1s ease-out;
}

/* Top controls */
.top-controls {
    text-align: center;
    position: absolute;
    top: 40px;
    right: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 10;
}

.language-buttons {
    display: flex;
    gap: 8px;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 400;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    backdrop-filter: blur(10px);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.lang-btn.active {
    background: #333;
    color: white;
}

.download-btn {
    background: rgba(53, 43, 43, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    color: #dde6e7;
    text-decoration: none;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    display: inline-block;
}

.download-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Navigation */
.nav-menu {
    position: absolute;
    top: 40px;
    left: 40px;
    display: flex;
    gap: 30px;
    z-index: 10;
}

.nav-link {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 400;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    backdrop-filter: blur(10px);
}

.nav-link:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nav-link.active {
    background: #333;
    color: white;
}

/* Main content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 120px 0 60px;
    animation: fadeInUp 1s ease-out;
}

.page-title {
    text-align: center;
    margin-bottom: 60px;
    animation: slideInFromTop 0.8s ease-out;
}

.page-title h1 {
    font-size: 48px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 8px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Skills layout */
.skills-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    max-width: 1400px;
    width: 100%;
    align-items: start;
}

/* Skills section */
.skills-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    animation: slideInFromLeft 1s ease-out 0.3s both;
}

.skills-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.skills-section h2 {
    font-size: 28px;
    font-weight: 500;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
    letter-spacing: 2px;
}

.skill-category {
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.skill-category:nth-child(2) { animation-delay: 0.5s; }
.skill-category:nth-child(3) { animation-delay: 0.7s; }
.skill-category:nth-child(4) { animation-delay: 0.9s; }
.skill-category:nth-child(5) { animation-delay: 1.1s; }
.skill-category:nth-child(6) { animation-delay: 1.3s; }
.skill-category:nth-child(7) { animation-delay: 1.5s; }

.skill-category h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.skill-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 15px;
}

.skill-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    min-width: 200px;
}

.skill-bar {
    flex: 1;
    height: 8px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
    width: 0%;
    transition: width 1.5s ease-out;
    position: relative;
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    animation: shimmer 2s infinite;
}

.skill-percent {
    font-size: 12px;
    font-weight: 600;
    color: #667eea;
    min-width: 40px;
    text-align: right;
}

/* Languages section */
.languages-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    animation: slideInFromRight 1s ease-out 0.5s both;
    height: fit-content;
}

.languages-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.languages-section h2 {
    font-size: 24px;
    font-weight: 500;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
    letter-spacing: 2px;
}

.language-item {
    margin-bottom: 25px;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.language-item:nth-child(2) { animation-delay: 0.7s; }
.language-item:nth-child(3) { animation-delay: 0.9s; }
.language-item:nth-child(4) { animation-delay: 1.1s; }
.language-item:nth-child(5) { animation-delay: 1.3s; }

.language-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 5px;
}

.language-level {
    font-size: 12px;
    color: #666;
    display: block;
    margin-bottom: 10px;
}

.language-bar {
    height: 6px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.language-progress {
    height: 100%;
    background: linear-gradient(90deg, #764ba2 0%, #667eea 100%);
    border-radius: 3px;
    width: 0%;
    transition: width 1.5s ease-out;
    position: relative;
}

.language-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    animation: shimmer 2s infinite;
}

/* Certificates section */
.certificates-section {
    grid-column: 1 / -1;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    animation: slideInFromBottom 1s ease-out 0.7s both;
    margin-top: 20px;
}

.certificates-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.certificates-section h2 {
    font-size: 28px;
    font-weight: 500;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
    letter-spacing: 2px;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.certificate-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.certificate-item:nth-child(1) { animation-delay: 1s; }
.certificate-item:nth-child(2) { animation-delay: 1.2s; }
.certificate-item:nth-child(3) { animation-delay: 1.4s; }

.certificate-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.8);
}

.certificate-icon {
    font-size: 32px;
    animation: bounce 2s infinite;
}

.certificate-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.certificate-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.certificate-year {
    font-size: 12px;
    font-weight: 600;
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px 0;
    z-index: 5;
    animation: fadeIn 1s ease-out 2s both;
}

.footer p {
    background-color: rgb(53, 43, 43, 0.9);
    margin: 0;
    color: #b0b0b0;
    font-size: 0.9em;
    padding: inherit;
}

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

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Responsive design */
@media (max-width: 1200px) {
    .skills-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .page-title h1 {
        margin-top: 125px;
        font-size: 36px;
        letter-spacing: 4px;
    }
    
    .background-text {
        font-size: 36px;
    }
}

@media (max-width: 1024px) {
    .nav-menu {
        flex-direction: column;
        gap: 10px;
    }
    
    .certificates-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 20px;
    }
    
    .top-controls {
        top: 20px;
        right: 20px;
        gap: 10px;
    }
    
    .nav-menu {
        top: 20px;
        left: 20px;
        gap: 5px;
    }
    
    .language-buttons {
        flex-direction: column;
        gap: 5px;
    }
    
    .main-content {
        padding: 100px 0 40px;
    }
    
    .page-title h1 {
        font-size: 28px;
        letter-spacing: 2px;
    }
    
    .background-text {
        font-size: 24px;
        left: 20px;
    }
    
    .skills-section,
    .languages-section,
    .certificates-section {
        padding: 30px 20px;
    }
    
    .skill-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .skill-name {
        min-width: auto;
    }
    
    .skill-bar {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .page-title h1 {
        margin-top: 125px;
        font-size: 24px;
        letter-spacing: 1px;
    }
    
    .background-text {
        font-size: 20px;
    }
    
    .skills-section,
    .languages-section,
    .certificates-section {
        padding: 20px 15px;
    }
    
    .certificate-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

