﻿a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 14px 30px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

    .btn:hover {
        background-color: var(--secondary-color);
        transform: translateY(-3px);
    }

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

    .btn-outline:hover {
        background-color: var(--primary-color);
        color: var(--white);
    }

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

    .section-title h2 {
        font-size: 2.2rem;
        margin-bottom: 15px;
        color: var(--text-color);
    }

    .section-title p {
        color: var(--light-text);
        max-width: 600px;
        margin: 0 auto;
    }

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

    .nav-links a {
        font-weight: 500;
        transition: var(--transition);
    }

        .nav-links a:hover {
            color: var(--primary-color);
        }

.nav-buttons {
    display: flex;
    gap: 15px;
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(74, 108, 247, 0.9), rgba(106, 117, 255, 0.9));
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* About Section */
.about-section {
    background-color: var(--white);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 60px;
}

.profile-image {
    flex: 1;
    text-align: center;
}

.profile-img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--primary-color);
    box-shadow: var(--shadow);
}

.profile-text {
    flex: 1;
}

    .profile-text h2 {
        font-size: 2.2rem;
        margin-bottom: 20px;
        color: var(--text-color);
    }

    .profile-text p {
        margin-bottom: 20px;
        color: var(--light-text);
        font-size: 1.1rem;
    }

.profile-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--light-text);
}

/* Timeline Section */
.timeline-section {
    background-color: var(--bg-light);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

    .timeline::before {
        content: '';
        position: absolute;
        right: 50%;
        top: 0;
        bottom: 0;
        width: 2px;
        background-color: var(--primary-color);
        transform: translateX(50%);
    }

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 30px;
    position: relative;
    margin: 40px 0;
    width: 50%;
}

    .timeline-item:nth-child(even) {
        align-self: flex-end;
        justify-content: flex-start;
        padding-right: 0;
        padding-left: 30px;
        right: -50%;
    }

.timeline-content {
    background-color: var(--white);
    border-radius: 10px;
    padding: 25px;
    box-shadow: var(--shadow);
    width: 100%;
    position: relative;
    transition: var(--transition);
}

    .timeline-content:hover {
        transform: translateY(-5px);
    }

    .timeline-content::before {
        content: '';
        position: absolute;
        top: 30px;
        width: 20px;
        height: 20px;
        background-color: var(--white);
        transform: rotate(45deg);
    }

.timeline-item:nth-child(odd) .timeline-content::before {
    left: -10px;
    border-right: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: -10px;
    border-left: 2px solid var(--primary-color);
    border-top: 2px solid var(--primary-color);
}

.timeline-date {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.timeline-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.timeline-content p {
    color: var(--light-text);
    margin-bottom: 15px;
}

.timeline-icon {
    position: absolute;
    top: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.timeline-item:nth-child(odd) .timeline-icon {
    left: -75px;
}

.timeline-item:nth-child(even) .timeline-icon {
    right: -75px;
}

/* Skills Section */
.skills-section {
    background-color: var(--white);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.skill-category {
    background-color: var(--bg-light);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
}

    .skill-category h3 {
        font-size: 1.4rem;
        margin-bottom: 20px;
        color: var(--text-color);
        text-align: center;
    }

.skill-item {
    margin-bottom: 20px;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.skill-name {
    font-weight: 500;
}

.skill-percentage {
    color: var(--primary-color);
    font-weight: 600;
}

.skill-bar {
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
    transition: width 1s ease-in-out;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

    .cta-section h2 {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    .cta-section p {
        max-width: 600px;
        margin: 0 auto 30px;
        opacity: 0.9;
        font-size: 1.2rem;
    }

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.cta-section .btn {
    background-color: var(--white);
    color: var(--primary-color);
}

    .cta-section .btn:hover {
        background-color: rgba(255, 255, 255, 0.9);
    }

.cta-section .btn-outline {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

    .cta-section .btn-outline:hover {
        background-color: var(--white);
        color: var(--primary-color);
    }

/* Footer */
footer {
    background-color: #1a1a1a;
    color: var(--white);
    padding: 70px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

    .footer-column h3::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: 40px;
        height: 2px;
        background-color: var(--primary-color);
    }

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #aaa;
    transition: var(--transition);
}

    .footer-links a:hover {
        color: var(--white);
        padding-right: 5px;
    }

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

    .social-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        transition: var(--transition);
    }

        .social-links a:hover {
            background-color: var(--primary-color);
            transform: translateY(-5px);
        }

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .profile-stats {
        justify-content: center;
    }

    .timeline::before {
        right: 30px;
    }

    .timeline-item {
        width: 100%;
        padding-right: 70px;
        padding-left: 0;
    }

        .timeline-item:nth-child(even) {
            right: 0;
            padding-left: 70px;
        }

        .timeline-item:nth-child(odd) .timeline-icon {
            left: 20px;
        }

        .timeline-item:nth-child(even) .timeline-icon {
            right: 20px;
        }
}

@media (max-width: 768px) {
    .nav-links, .nav-buttons {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .profile-img {
        width: 250px;
        height: 250px;
    }

    .profile-stats {
        flex-direction: column;
        gap: 20px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section {
        padding: 60px 0;
    }
}
