﻿body {
    margin: 0;
    padding-top: 100px; /* pushes page content below fixed header */
    font-family: Arial, sans-serif;
    background: url("wsbg4.png") repeat center top;
    background-size: cover;
    min-height: 100vh;
}

* {
    box-sizing: border-box;
    max-width: 100%;
}

/* Header */
header {
    position: fixed; /* stays visible on scroll */
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    background-color: rgba(255, 255, 255, 0.9); /* semi-transparent */
    border-bottom: 1px solid #ddd;
    z-index: 1000; /* make sure it’s always on top */
}

.logo-section {
    display: flex;
    align-items: center;
}

.logo {
    height: 60px;
    margin-right: 10px;
}

.title h1 {
    margin: 0;
    font-size: 20px;
    color: #002366;
}

.title h2 {
    margin: 0;
    font-size: 14px;
    font-weight: normal;
    color: #002366;
}

.title p {
    margin: 0;
    font-size: 12px;
    color: red;
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    gap: 30px; /* even spacing */
    margin: 0;
    padding: 0;
    align-items: center; /* aligns menu vertically with logo */
}

nav li {
    display: flex;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: black;
    font-weight: bold;
}

    nav a:hover {
        color: #007BFF;
    }

/* Hero Section */
.hero {
    background: url('MElogo2.png') no-repeat center center;
    background-size: contain; /* Makes image fill section proportionally */
    background-position: center;
    /* background-color: white;  <-- removed so body background shows */
    height: 500px; /* Fixed height, adjust if needed */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 50px;
    color: #002366;
    box-sizing: border-box;
}

    .hero h1 {
        font-size: 40px;
    }

.facebook-btn {
    display: inline-block;
    background-color: #3b5998;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    margin: 10px 0;
}

.phone {
    font-size: 18px;
    margin-top: 5px;
}

/* Aim Section */
.aim {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background-color: #3b6ef5; /* blue background */
    color: white;
    padding: 40px 20px;
}

.aim-text {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

    .aim-text h2 {
        margin: 0;
        font-size: 28px;
        text-transform: uppercase;
    }

    .aim-text hr {
        border: none;
        height: 3px;
        background-color: white;
        width: 60px;
        margin: 10px 0 20px;
    }

    .aim-text h3 {
        margin-top: 0;
        font-size: 22px;
    }

    .aim-text p {
        font-size: 16px;
        line-height: 1.5;
    }

/* Image Section */
.aim-image {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .aim-image img {
        max-width: 350px; /* smaller size */
        height: auto;
        border-radius: 10px;
    }

@media (max-width: 768px) {
    .aim {
        flex-direction: column;
        text-align: center;
    }

    .aim-text {
        padding: 20px 10px;
    }

    .aim-image img {
        max-width: 250px; /* smaller image for mobile */
    }
}