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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

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

header {
    background-color: #0033cc; /* Dark Blue */
    color: white;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 22px;
    font-weight: 700;
}

.logo .icon {
    width: 30px;
    height: auto;
    margin-right: 10px;
}

nav {
    display: flex;
    justify-content: center;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ffcc00; /* Gold Accent */
}

#blog-posts {
    padding: 40px 0;
    text-align: center;
}

h1 {
    margin-bottom: 20px;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

article {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

article:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.post-image img {
    width: 100%;
    height: 250px;
    border-bottom: 3px solid #0033cc; /* Blue Accent */
    object-fit: cover; 
    object-position: top;
}

article h3 {
    color: #0033cc; /* Dark Blue */
    margin: 15px 0;
}

.post-meta {
    font-size: 14px;
    color: #666;
    margin: 0 0 10px;
}

.read-more {
    display: inline-block;
    padding: 10px 15px;
    background-color: #ffcc00; /* Gold Accent */
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    margin: 1rem;
}

.read-more:hover {
    background-color: #e6b800; /* Darker Gold */
}

footer {
    background-color: #0033cc; /* Dark Blue */
    color: white;
    text-align: center;
    padding: 20px;
}

.footer-links {
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.social-icons {
    margin-bottom: 10px;
}

.social-icons a {
    color: white;
    margin: 0 8px;
    font-size: 20px;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
    }

    nav ul {
        flex-direction: column;
        margin-top: 10px;
    }

    nav ul li {
        margin: 5px 0;
    }
}
