/* General Body Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

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

/* Header Styles */
header {
    background-color: #2c3e50;
    color: #fff;
    padding: 1rem 0;
    border-bottom: 5px solid #e74c3c;
}

header h1 {
    float: left;
    margin: 0;
    padding: 0;
    font-size: 2.5rem;
}

header nav {
    float: right;
}

header ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

header li {
    display: inline;
    padding: 0 20px;
}

header a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1rem;
}

header a:hover {
    color: #e74c3c;
}

/* Main Content Styles */
main {
    padding: 20px 0;
}

section {
    padding: 40px 0;
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

section h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 2rem;
}

/* Blog Post Styles */
.blog-post {
    padding: 40px;
}

.blog-post h1 {
    font-size: 2.8rem;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
}

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

.blog-post a {
    color: #e74c3c;
    text-decoration: none;
    font-weight: bold;
}

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

/* Table Styles */
.blog-post table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.blog-post th,
.blog-post td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.blog-post th {
    background-color: #2c3e50;
    color: #fff;
    font-weight: bold;
}

.blog-post tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* Contact Form Styles */
#contact .form-group {
    margin-bottom: 20px;
}

#contact label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

#contact input[type="text"],
#contact input[type="email"],
#contact textarea {
    width: calc(100% - 22px);
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

#contact textarea {
    resize: vertical;
}

#contact button[type="submit"] {
    display: block;
    width: 100%;
    padding: 12px 20px;
    background-color: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

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

footer p {
    margin: 0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1,
    header nav {
        float: none;
        text-align: center;
    }

    header nav ul li {
        padding: 0 10px;
    }

    .blog-post h1 {
        font-size: 2rem;
    }

    .blog-post p {
        font-size: 1rem;
    }

    #contact input[type="text"],
    #contact input[type="email"],
    #contact textarea {
        width: calc(100% - 20px);
    }
}

