/* Body and General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f1eee8;
    color: #333;
}

/* Header */
header {
    background-color: #003a54;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
}

.header-logo {
    width: auto;
    height: 50px;
}

nav ul {
    list-style-type: none;
    display: flex;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
}

/* Hero Section (Index Page) */
.hero {
    background-color: #dad1bf;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
}

.hero-content {
    display: flex;
    max-width: 1200px;
    width: 100%;
    align-items: center;
}

.hero-image-container {
    flex: 1;
}

.hero-image {
    width: 100%;
    max-width: 350px;
    height: auto;
}

.hero-text {
    flex: 1;
    padding: 0 20px;
}

.hero-text h1 {
    text-align: center;  /* Keep the title centered */
    font-size: 48px;
    color: #003a54;
}

.hero-text p {
    text-align: left;  /* Align the paragraph text to the left */
    font-size: 20px;
    color: #333;
}

/* Three-Column Section (Index Page) */
.columns {
    background-color: #ffffff;
    display: flex;
    justify-content: space-between;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.column {
    width: 30%;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    margin: 0 10px;
}

.column h2 {
    text-align: center;  /* Center only the titles */
}

.column p {
    text-align: left;  /* Left-align the text below the titles */
}

/* Subpage Content (Non-Blog Pages) */
.subpage-content {
    text-align: center; /* Titles centered */
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

.subpage-content h1, .subpage-content h2, .subpage-content h3 {
    text-align: center; /* Ensure all titles remain centered */
    font-size: 36px;
    color: #003a54;
    margin-bottom: 20px;
}

.subpage-content p {
    text-align: left;  /* Left-align the main text */
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
}

/* Blog Page */
.blog-post h2 {
    text-align: left;   /* Left-align the blog post titles */
    font-size: 36px;
    color: #003a54;
}

.blog-post p {
    text-align: left;   /* Left-align the blog post text */
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
}

/* Centered Images in Blog Post */
.centered-image {
    text-align: center;
    margin: 20px 0;
}

.blog-image {
    max-width: 300px;  /* Set the maximum width for the image */
    width: 100%;  /* Ensure the image scales down on smaller screens */
    height: auto;  /* Maintain the aspect ratio */
}


/* Footer */
footer {
    background-color: #003a54;
    color: white;
    padding: 20px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-column {
    flex: 1;
    text-align: center;
}

.footer-logo {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.social-icon {
    width: 48px;
    height: 48px;
    margin-left: 15px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    /* Header */
    header {
        flex-direction: column;
        height: auto;
        padding: 10px;
    }

    .header-content {
        flex-direction: column;
        align-items: center;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin-left: 0;
        margin-bottom: 10px;
    }

    /* Hero Section */
    .hero-content {
        flex-direction: column;
    }

    .hero-image {
        max-width: 80%;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .hero-text p {
        font-size: 18px;
    }

    /* Three-Column Section */
    .columns {
        flex-direction: column;
    }

    .column {
        width: 100%;
        margin: 10px 0;
    }
}

/* Very Small Mobile Devices */
@media (max-width: 480px) {

    .hero-text h1 {
        font-size: 28px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .header-logo {
        height: 40px;
    }

    .social-icon {
        width: 32px;
        height: 32px;
    }
}
