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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* Header Styles */
header {
    background-color: #2c3e50;
    color: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header h1 {
    display: inline-block;
    margin-right: 40px;
}

header nav ul {
    list-style: none;
    display: inline-flex;
    gap: 30px;
}

header nav a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

header nav a:hover {
    color: #3498db;
}

/* Main Content */
main {
    min-height: calc(100vh - 200px);
    padding: 40px 0;
}

.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 40px;
}

.hero h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.3em;
}

.content {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.content h2 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.about-section {
    background: #fff;
    padding: 20px;
    margin: 20px 0;
    border-left: 4px solid #3498db;
    border-radius: 4px;
}

.about-section h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

/* Contact Form */
.contact-form {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    max-width: 600px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1em;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

button[type="submit"] {
    background-color: #3498db;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #2980b9;
}

/* Blog Post Styles */
.post {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    max-width: 800px;
}

.post h2 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.post-meta {
    color: #7f8c8d;
    font-size: 0.9em;
    margin-bottom: 20px;
}

.post h3 {
    color: #2c3e50;
    margin-top: 20px;
    margin-bottom: 10px;
}

.post ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.post ul li {
    margin-bottom: 8px;
}

.post a {
    color: #3498db;
    text-decoration: none;
}

.post a:hover {
    text-decoration: underline;
}

/* Footer Styles */
footer {
    background-color: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 768px) {
    header nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .hero h2 {
        font-size: 1.8em;
    }

    .hero p {
        font-size: 1em;
    }

    .contact-form {
        padding: 20px;
    }

    .post {
        padding: 20px;
    }
}
