* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    text-align: center;
    padding: 60px 0;
    color: white;
}

.header h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.header .subtitle {
    font-size: 1.3em;
    opacity: 0.9;
    margin-bottom: 30px;
}

.nav {
    text-align: center;
    margin-bottom: 40px;
}

.nav a {
    display: inline-block;
    padding: 12px 25px;
    margin: 0 10px;
    text-decoration: none;
    color: white;
    border: 2px solid white;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav a:hover {
    background-color: white;
    color: #667eea;
    transform: translateY(-2px);
}

.main-content {
    background-color: white;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.section {
    margin-bottom: 40px;
}

.section h2 {
    color: #2c3e50;
    font-size: 2.2em;
    margin-bottom: 20px;
    border-bottom: 3px solid #667eea;
    padding-bottom: 10px;
}

.section h3 {
    color: #34495e;
    font-size: 1.5em;
    margin: 25px 0 15px 0;
}

.section p {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

.section ul {
    margin: 20px 0;
    padding-left: 30px;
}

.section li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.highlight-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 10px;
    margin: 25px 0;
    text-align: center;
}

.highlight-box h3 {
    color: white;
    margin-bottom: 15px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.skill-item {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border-left: 4px solid #667eea;
    transition: transform 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-3px);
}

.skill-item h4 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.blog-preview {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    margin: 25px 0;
    border-left: 4px solid #667eea;
}

.blog-preview h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.blog-preview p {
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.footer {
    text-align: center;
    padding: 40px 0;
    color: white;
}

.social-links {
    margin: 20px 0;
}

.social-links a {
    display: inline-block;
    margin: 0 15px;
    color: white;
    font-size: 1.2em;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2.5em;
    }
    
    .nav a {
        display: block;
        margin: 10px auto;
        max-width: 200px;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
}

/* Blog-specific styles */
.blog-list {
    margin: 30px 0;
}

.blog-item {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    border-left: 4px solid #667eea;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.blog-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.blog-item h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.4em;
}

.blog-item .description {
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
}

.blog-item .date {
    color: #7f8c8d;
    font-size: 0.9em;
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.read-more:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

.back-link {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.back-link:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

/* Blog post content styles */
.content {
    font-size: 1.1em;
    line-height: 1.8;
}

.content h2 {
    color: #2c3e50;
    margin: 30px 0 15px 0;
    font-size: 1.8em;
}

.content p {
    margin-bottom: 20px;
    text-align: justify;
}

.content ul {
    margin: 20px 0;
    padding-left: 30px;
}

.content li {
    margin-bottom: 10px;
}

.quote {
    background-color: #f8f9fa;
    border-left: 4px solid #667eea;
    padding: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #555;
}
