/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #999;
    background: linear-gradient(90deg, #001677 0%, #400046 80%);
    min-height: 100vh;
    padding: 20px;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    background: rgb(11, 11, 11);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

/* Header Styles */
.header {
    background: linear-gradient(315deg, #001677 0%, #400046 80%);
    color: #999;
    padding: 40px;
    min-height: 250px;
}

/* Navigation Styles */
.nav {
    display: flex;
    background: #1c1c1c;
    border-bottom: 2px solid #434343;
    overflow-x: auto;
}

.nav-btn {
    padding: 15px 30px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1em;
    font-weight: 500;
    color: #777;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.nav-btn:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.nav-btn.active {
    color: #667eea;
    border-bottom-color: #667eea;
    background: rgb(18, 18, 18);
}

/* Main Content Styles */
.main-content {
    padding: 40px;
    min-height: 500px;
}
.section {
    display: none;
    animation: fadeIn 0.5s ease;
}
.section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.section-title {
    font-size: 2em;
    color: #667eea;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 3px solid #667eea;
    display: inline-block;
}

/* About Section */
.about-text {
    font-size: 1.1em;
    line-height: 1.8;
    color: #777;
}
.profile-section {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
    animation: fadeIn 0.5s ease;
}
.profile-image {
    flex-shrink: 0;
}
.image-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
}
.profile-info {
    flex: 1;
}
.name {
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: 700;
}
.title {
    font-size: 1.3em;
    margin-bottom: 15px;
    opacity: 0.9;
}
.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.95em;
}
.contact-item {
    opacity: 0.9;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.project-card {
    background: #1c1c1c;
    /*border: 2px solid #e9ecef;*/
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
    border-color: #667eea;
}

.project-title {
    font-size: 1.4em;
    color: #999;
    margin-bottom: 10px;
    font-weight: 600;
}

.project-description {
    color: #777;
    margin-bottom: 15px;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.tech-tag {
    background: linear-gradient(135deg, #001677 0%, #400046 80%);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 500;
}

.project-link {
    display: inline-block;
    background-color: none;
    background-color: transparent;
    margin-top: 15px;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}
button {
    border-style: none;
    font-size: 0.95em;
    cursor: pointer;
}
.project-link:hover {
    color: #764ba2;
}


/* Skills Section */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.skill-category h3 {
    font-size: 1.3em;
    color: #777;
    margin-bottom: 15px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    background: linear-gradient(135deg, #001677 0%, #400046 80%);
    color: white; 
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
    transform: scale(1.05);
}

/* Experience Section */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #667eea, #764ba2);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -36px;
    top: 0;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #667eea;
    border: 3px solid white;
    box-shadow: 0 0 0 3px #667eea;
}

.timeline-date {
    font-weight: 600;
    color: #667eea;
    margin-bottom: 10px;
}

.timeline-content h3 {
    font-size: 1.3em;
    margin-bottom: 5px;
}

.company {
    color: #777;
    font-style: italic;
    margin-bottom: 10px;
}

.timeline-content ul {
    margin-left: 20px;
    color: #777;
}

.timeline-content li {
    margin-bottom: 5px;
}

/* Education Section */
.education-item {
    background: #1c1c1c;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 15px;
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
}
.education-item:hover {
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
    transform: scale(1.05);
}

.education-item h3 {
    font-size: 1.4em;
    color: #999;
    margin-bottom: 10px;
}

.institution {
    color: #777;
    font-size: 1.1em;
    margin-bottom: 5px;
}

.date {
    color: #667eea;
    font-weight: 600;
}

/* Footer */
.footer {
    background: #1c1c1c;
    text-align: center;
    padding: 20px;
    color: #777;
    border-top: 2px solid #434343;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .profile-section {
        flex-direction: column;
        text-align: center;
    }

    .name {
        font-size: 2em;
    }

    .contact-info {
        flex-direction: column;
        gap: 10px;
    }

    .nav {
        flex-wrap: wrap;
    }

    .nav-btn {
        flex: 1;
        min-width: 100px;
    }

    .main-content {
        padding: 20px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .skills-container {
        grid-template-columns: 1fr;
    }
}
