/* GENERAL STYLES */
:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --success-color: #2ecc71;
    --warning-color: #f39c12;
    --text-color: #333;
    --border-radius: 5px;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f9f9f9;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER */
header {
    background: var(--secondary-color);
    color: #fff;
    padding: 50px 0;
    text-align: center;
}

.name {
    font-size: 3rem;
    margin-bottom: 10px;
}

.tagline {
    font-size: 1.5rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
}

/* NAVIGATION */
nav {
    background-color: var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav ul {
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0;
    display: flex;
    align-items: center;
}

nav ul li a {
    display: block;
    color: white;
    padding: 15px 20px;
    transition: var(--transition);
}

nav ul li a:hover {
    background-color: rgba(0, 0, 0, 0.1);
    color: white;
}

/* External link icon in navigation */
nav ul li a .fa-external-link-alt {
    margin-left: 5px;
    font-size: 0.7em;
    opacity: 0.8;
}

nav ul li a:hover .fa-external-link-alt {
    opacity: 1;
}

/* SECTIONS */
.section {
    padding: 80px 0;
}

.section:nth-child(even) {
    background-color: #f5f5f5;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--secondary-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
}

/* ABOUT SECTION */
.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    text-align: justify;
}

/* EXPERIENCE SECTION */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 4px;
    background-color: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 60px;
}

.timeline-date {
    display: inline-block;
    padding: 6px 12px;
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
}

.timeline-content {
    padding: 20px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.timeline-content h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.timeline-content ul {
    margin-left: 20px;
}

.timeline-content ul li {
    margin-bottom: 8px;
    position: relative;
    list-style-type: circle;
}

/* PROJECTS SECTION */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 25px;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Project links styling */
.project-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: var(--text-color);
    text-decoration: none;
}

.project-link:hover {
    color: var(--text-color);
}

.project-link:hover .project-title {
    color: var(--primary-color);
}

.project-title {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
    transition: var(--transition);
}

.project-description {
    margin-bottom: 20px;
    flex-grow: 1;
}

.project-status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    background-color: var(--light-color);
    align-self: flex-start;
}

.project-status:not(.completed) {
    background-color: var(--warning-color);
    color: white;
}

.project-status.completed {
    background-color: var(--success-color);
    color: white;
}

.view-more {
    text-align: center;
    margin-top: 40px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.btn:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* SKILLS SECTION */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.skill-category {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 25px;
    height: 100%;
}

.skill-category h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.skill-list li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.skill-list li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* QUALIFICATIONS SECTION */
.qualification-list {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
}

.qualification-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.qualification-list li::before {
    content: '✓';
    margin-right: 10px;
    color: var(--success-color);
    font-weight: bold;
}

.qualification-list li:last-child {
    border-bottom: none;
}

/* CONTACT SECTION */
.social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
}

.social-link i {
    font-size: 1.5rem;
    margin-right: 10px;
    color: var(--primary-color);
}

/* PHILOSOPHY SECTION */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.philosophy-item {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 25px;
    transition: var(--transition);
}

.philosophy-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.philosophy-item p {
    font-size: 1.1rem;
    position: relative;
    padding-left: 25px;
}

.philosophy-item p::before {
    content: '❝';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.5rem;
    top: -5px;
}

/* FOOTER */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 30px 0;
    text-align: center;
}

footer p {
    margin-bottom: 10px;
}

/* CONTACT FORM */
.contact-form {
    max-width: 600px;
    margin: 0 auto 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.contact-info {
    max-width: 600px;
    margin: 40px auto 0;
    padding-top: 30px;
    border-top: 1px solid #ddd;
}

.contact-info h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.contact-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.contact-info p i {
    margin-right: 10px;
    color: var(--primary-color);
    width: 16px;
}

/* RESPONSIVE STYLES */
@media (max-width: 768px) {
    .name {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    nav ul {
        flex-wrap: wrap;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .timeline::before {
        left: 15px;
    }
    
    .timeline-item {
        padding-left: 45px;
    }
    
    .projects-grid,
    .skills-container,
    .philosophy-grid {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .name {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .timeline-content {
        padding: 15px;
    }
} 