/* Base Styles */
:root {
    --primary-color: #6c63ff;
    --secondary-color: #4d47b7;
    --dark-color: #333;
    --light-color: #f4f7fe;
    --text-color: #444;
    --border-color: #eee;
    --gray-color: #888;
    --white-color: #fff;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.primary-btn {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.primary-btn:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

.secondary-btn {
    background-color: var(--white-color);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.secondary-btn:hover {
    background-color: var(--light-color);
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.bg-light {
    background-color: var(--light-color);
}

/* Header Styles */
header {
    padding: 100px 0;
    background-color: var(--primary-color);
    background-image: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white-color);
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

.hero-text h1 {
    font-size: 48px;
    margin-bottom: 10px;
    font-weight: 700;
}

.hero-text h2 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 500;
}

.subtitle {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 300;
}

.contact-info {
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 5px;
}

.contact-info i {
    margin-right: 10px;
    color: var(--white-color);
}

.social-links {
    margin-bottom: 20px;
}

.social-links a {
    margin-right: 15px;
    font-size: 20px;
    color: var(--white-color);
}

.cta-buttons {
    margin-top: 30px;
}

.cta-buttons .btn {
    margin-right: 15px;
    margin-bottom: 15px;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* About Section */
.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Experience Section */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 150px;
    margin-left: -1px;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    display: flex;
}

.timeline-date {
    width: 150px;
    padding-right: 20px;
    text-align: right;
    font-weight: 600;
    padding-top: 3px;
}

.timeline-content {
    position: relative;
    background-color: var(--white-color);
    border-radius: 6px;
    padding: 20px;
    box-shadow: var(--shadow);
    flex: 1;
    margin-left: 30px;
}

.timeline-content::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--white-color);
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    top: 15px;
    left: -40px;
    z-index: 1;
}

.timeline-content h3 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.timeline-content h4 {
    margin-bottom: 15px;
    color: var(--gray-color);
    font-weight: 500;
}

.timeline-content ul {
    margin-left: 20px;
    margin-top: 10px;
}

.timeline-content li {
    margin-bottom: 5px;
}

/* Skills Section */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.skill-item {
    background-color: var(--white-color);
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    background-color: var(--primary-color);
    color: var(--white-color);
}

/* Education Section */
.education-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.education-item {
    background-color: var(--white-color);
    padding: 20px;
    border-radius: 5px;
    box-shadow: var(--shadow);
    width: 300px;
    text-align: center;
    transition: all 0.3s ease;
}

.education-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.education-item h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Languages Section */
.languages-container {
    max-width: 600px;
    margin: 0 auto;
}

.language-item {
    margin-bottom: 20px;
}

.language-item h3 {
    margin-bottom: 10px;
}

.progress-bar {
    background-color: #e0e0e0;
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background-color: var(--primary-color);
}

/* Contact Section */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.contact-info-section {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-item {
    background-color: var(--white-color);
    padding: 20px;
    border-radius: 5px;
    box-shadow: var(--shadow);
    text-align: center;
    flex: 1;
    min-width: 200px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.contact-item i {
    font-size: 30px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-item h3 {
    margin-bottom: 10px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 5px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: 30px 0;
    text-align: center;
}

footer .social-links {
    margin-top: 20px;
}

footer .social-links a {
    margin: 0 10px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column-reverse;
    }
    
    .hero-text, .hero-image {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        flex-direction: column;
    }
    
    .timeline-date {
        width: 100%;
        text-align: left;
        padding-left: 70px;
        margin-bottom: 10px;
    }
    
    .timeline-content {
        margin-left: 70px;
    }
    
    .timeline-content::before {
        left: -80px;
    }
    
    .contact-container {
        flex-direction: column;
    }
}