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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.5;
    color: #333;
    background: linear-gradient(135deg, #061452 0%, #0c4b68 100%);
    min-height: 100vh;
    font-size: 0.9rem;
}

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

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem 0;
    text-align: center;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    position: relative;
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    font-weight: bold;
    overflow: hidden;
    border: 4px solid transparent;
    background: linear-gradient(45deg, #061452, #0c4b68);
    background-clip: padding-box;
    position: relative;
}

.profile-image::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(45deg, #061452, #0c4b68);
    border-radius: 50%;
    z-index: -1;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.profile-image.no-image {
    background: linear-gradient(45deg, #061452, #0c4b68);
    color: white;
}

h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #061452, #0c4b68);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.1rem;
    color: #667;
    margin-bottom: 1rem;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding: 0 10px;
}

.contact-link {
    padding: 0.5rem 0.8rem;
    background: linear-gradient(45deg, #061452, #0c4b68);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: transform 0.3s ease;
    font-size: 0.9rem;
    min-width: 100px;
}

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

.language-switcher {
    position: absolute;
    top: 20px;
    right: 30px;
    z-index: 10;
}

.language-btn {
    background: linear-gradient(45deg, #061452, #0c4b68);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 0.4rem 0.8rem;
    margin-left: 0.3rem;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: bold;
    transition: background 0.2s;
}

.language-btn.active {
    background: #4f46e5;
}


/* About Section */
.about {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 7px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.about h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #333;
}

.about p {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #667;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.skill-tag {
    background: linear-gradient(45deg, #061452, #0c4b68);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 5px;
    font-size: 0.85rem;
}


/* Tabs System */
.tabs-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 7px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.tabs-nav {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 1rem;
}

.tab-button {
    background: none;
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1.1rem;
    color: #667;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px;
    font-weight: 500;
}

.tab-button:hover {
    background: rgba(79, 70, 229, 0.1);
    color: #4f46e5;
}

.tab-button.active {
    background: linear-gradient(45deg, #4f46e5, #0ea5e9);
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}


/* Projects Section */
.projects {
    background: none;
}

.projects h2, .content-wrapper h2 {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    color: #333;
    /* text-align: center; */
}

.projects-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.project-item {
    background: white;
    border-radius: 7px;
    padding: 1.5rem;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid transparent;
    border-image: linear-gradient(45deg, #4f46e5, #0ea5e9) 1;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.project-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.project-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #4f46e5, #0ea5e9);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    flex-shrink: 0;
}

.project-content {
    flex: 1;
    min-width: 0;
}

.project-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #333;
}

.project-description {
    font-size: 1rem;
    color: #667;
    margin-bottom: 1rem;
    line-height: 1.4;
    text-align: left;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-bottom: 1rem;
}

.tech-tag {
    background: #f0f8ff;
    color: #4f46e5;
    padding: 0.2rem 0.6rem;
    border-radius: 5px;
    font-size: 0.85rem;
    border: 1px solid #e0f2fe;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(45deg, #4f46e5, #0ea5e9);
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    transition: transform 0.3s ease;
    font-size: 0.85rem;
}

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


/* Timeline Styles */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #4f46e5, #0ea5e9);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    width: calc(50% - 30px);
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.timeline-item:nth-child(odd) {
    margin-left: auto;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 30px;
    height: 4px;
    background: linear-gradient(90deg, #4f46e5, #0ea5e9);
}
.timeline-item:nth-child(odd)::before {
    left: -30px;
}

.timeline-item:nth-child(even)::before {
    right: -30px;
}

.timeline-dot {
    position: absolute;
    top: 18px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    border: 4px solid #4f46e5;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.2);
}

.timeline-item:nth-child(odd) .timeline-dot {
    left: -40px;
}

.timeline-item:nth-child(even) .timeline-dot {
    right: -40px;
}

.timeline-date {
    font-size: 0.9rem;
    color: #4f46e5;
    font-weight: bold;
    margin-bottom: 8px;
}

.timeline-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #333;
}

.timeline-company {
    font-size: 1rem;
    color: #667;
    margin-bottom: 10px;
    font-style: italic;
}

.timeline-description {
    font-size: 0.95rem;
    color: #667;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .tabs-nav {
        flex-direction: column;
        gap: 0.5rem;
    }
    .tab-button {
        width: 100%;
        text-align: center;
    }
    .timeline {
        padding-left: 15px;
    }
    .timeline::before {
        left: 15px;
    }
    .timeline-item {
        width: calc(100% - 45px);
        margin-left: 45px !important;
        position: relative;
        z-index: 1;
    }
    .timeline-item::before {
        left: -25px !important;
        width: 25px;
        z-index: 2;
    }
    .timeline-dot {
        left: 5px !important;
        top: 20px !important;
        width: 16px;
        height: 16px;
        z-index: 3;
        position: absolute;
    }
}


/* Footer */
footer {
    text-align: center;
    padding: 2rem 0;
    color: rgba(255, 255, 255, 0.8);
}


/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    h1 {
        font-size: 1.8rem;
    }
    .projects-list {
        gap: 1rem;
    }
    .project-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    .project-icon {
        align-self: center;
    }
}


/* Certifications Specific Styles */
.cert-category {
    margin-bottom: 3rem;
}

.cert-category-title {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: #333;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #4f46e5;
    display: inline-block;
}

.cert-legacy .cert-category-title {
    border-bottom-color: #999;
}

.cert-item {
    position: relative;
}

.cert-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    gap: 1rem;
}

.cert-issuer {
    font-size: 0.9rem;
    color: #667;
    font-style: italic;
    margin-top: 0.2rem;
}

.cert-date {
    font-size: 0.9rem;
    color: #4f46e5;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cert-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.cert-obtained {
    background: #10b981;
    color: white;
}

.cert-in-progress {
    background: #f59e0b;
    color: white;
}

.cert-legacy-badge {
    background: #6b7280;
    color: white;
}

.cert-icon-legacy {
    background: linear-gradient(45deg, #6b7280, #9ca3af);
}

.cert-note {
    background: #f3f4f6;
    border-left: 4px solid #4f46e5;
    padding: 0.8rem;
    margin: 1rem 0;
    font-size: 0.9rem;
    color: #667;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cert-legacy .cert-note {
    border-left-color: #9ca3af;
}

.cert-legacy .cert-item {
    opacity: 0.85;
    border-left-color: #9ca3af;
}

.cert-legacy .cert-item:hover {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cert-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .cert-badge {
        align-self: flex-start;
    }
}
