* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::selection {
    background: rgba(255, 193, 7, 0.3);
    color: #ffc107;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0a0a0a;
    color: #e0e0e0;
    overflow-x: hidden;
}

.container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 300px;
    background: #1a1a1a;
    padding: 40px 30px;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    border-right: 1px solid #2a2a2a;
    z-index: 100;
}

.profile {
    text-align: center;
    margin-bottom: 30px;
}

.profile-img {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    margin-bottom: 20px;
    border: 3px solid #ffc107;
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.3);
}

.profile h1 {
    font-size: 24px;
    margin-bottom: 5px;
    color: #fff;
}

.profile p {
    font-size: 13px;
    color: #aaa;
    background: #252525;
    padding: 8px 15px;
    border-radius: 8px;
    display: inline-block;
}

.contact-info {
    margin: 30px 0;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 12px;
    background: #252525;
    border-radius: 10px;
    transition: all 0.3s;
}

.contact-item:hover {
    background: #2a2a2a;
    transform: translateX(5px);
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: #ffc107;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 18px;
}

.contact-details {
    flex: 1;
}

.contact-label {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-value {
    font-size: 13px;
    color: #e0e0e0;
    word-break: break-all;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #252525;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 18px;
}

.social-link:hover {
    background: #ffc107;
    color: #000;
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.5);
    transform: translateY(-3px);
}

/* Main Content */
.main-content {
    margin-left: 300px;
    flex: 1;
    padding: 40px 60px;
}

.nav-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    justify-content: flex-end;
}

.nav-tab {
    padding: 12px 25px;
    background: #1a1a1a;
    border: none;
    color: #888;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.3s;
    font-weight: 500;
}

.nav-tab:hover {
    color: #ffc107;
    background: #252525;
}

.nav-tab.active {
    background: #ffc107;
    color: #000;
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.3);
}

.page {
    display: none;
    animation: fadeIn 0.5s;
}

.page.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-title {
    font-size: 36px;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #ffc107;
}

/* About Section */
.about-text {
    color: #bbb;
    line-height: 1.8;
    margin-bottom: 40px;
    font-size: 15px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.service-card {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 15px;
    transition: all 0.3s;
    border: 1px solid #2a2a2a;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.1);
    border-color: #ffc107;
}

.service-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 193, 7, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: #ffc107;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #fff;
}

.service-card p {
    color: #aaa;
    line-height: 1.7;
    font-size: 14px;
}

/* Resume Section */
.timeline {
    margin: 40px 0;
}

.timeline-item {
    margin-bottom: 30px;
    padding-left: 30px;
    border-left: 2px solid #2a2a2a;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 0;
    width: 12px;
    height: 12px;
    background: #ffc107;
    border-radius: 50%;
}

.timeline-date {
    color: #ffc107;
    font-size: 13px;
    margin-bottom: 10px;
}

.timeline-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: #fff;
}

.timeline-desc {
    color: #aaa;
    line-height: 1.7;
    font-size: 14px;
}

.skills-section {
    margin-top: 50px;
}

.skill-item {
    margin-bottom: 25px;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.skill-name {
    font-size: 15px;
    color: #e0e0e0;
}

.skill-percent {
    color: #ffc107;
    font-size: 14px;
}

.skill-bar {
    height: 8px;
    background: #252525;
    border-radius: 10px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #ffc107, #ff9800);
    border-radius: 10px;
    animation: progressLoad 1.5s ease;
}

@keyframes progressLoad {
    from {
        width: 0;
    }
}

/* Portfolio Section */
.filter-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 10px 20px;
    background: #1a1a1a;
    border: none;
    color: #888;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: #ffc107;
    color: #000;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.portfolio-item {
    background: #1a1a1a;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
    border: 1px solid #2a2a2a;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 193, 7, 0.2);
}

.portfolio-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 0.3s;
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.1);
}

.portfolio-info {
    padding: 20px;
}

.portfolio-category {
    color: #ffc107;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.portfolio-title {
    font-size: 18px;
    color: #fff;
}

/* Contact Section */
.contact-form {
    max-width: 600px;
    margin-top: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: #aaa;
    font-size: 14px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 15px;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    color: #e0e0e0;
    font-size: 14px;
    transition: all 0.3s;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #ffc107;
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    padding: 15px 40px;
    background: #ffc107;
    border: none;
    border-radius: 8px;
    color: #000;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    box-shadow: 0 0 30px rgba(255, 193, 7, 0.5);
    transform: translateY(-2px);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.testimonial-card {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #2a2a2a;
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    background: #ffc107;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.testimonial-name {
    font-size: 16px;
    color: #fff;
}

.testimonial-text {
    color: #aaa;
    line-height: 1.7;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        position: relative;
        height: auto;
    }

    .main-content {
        margin-left: 0;
        padding: 30px 20px;
    }

    .nav-tabs {
        flex-wrap: wrap;
        justify-content: center;
    }

    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}