/* General styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    width: 85%;
    margin: 0 auto;
}

/* Header styles */
header {
    background-color: #1a2940;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between; /* Ensures space between logo and nav */
    align-items: center; /* Vertically centers logo and nav */
}

.logo {
    display: flex; /* Flex container for logo */
    align-items: center; /* Vertically center the logo */
    flex-shrink: 0; /* Prevents shrinking */
    width: auto; /* Auto width to avoid excess space */
}

.logo img {
    max-height: 60px; /* Constrain logo height */
    width: auto; /* Maintain aspect ratio */
    display: block;
}

nav {
    flex-grow: 1; /* Ensure it takes up available space */
    text-align: right; /* Align navigation to the right */
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end; /* Align menu items to the right */
    align-items: center; /* Vertically center menu items */
}

nav ul li {
    margin-left: 20px; /* Space between menu items */
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 700;
    padding: 10px 15px;
}

nav ul li a.cta {
    background-color: #4b6cb7;
    padding: 8px 15px;
    border-radius: 5px;
}

nav ul li a.cta:hover {
    background-color: #3a539b;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    header {
        flex-wrap: wrap; /* Wrap content on smaller screens */
        justify-content: center; /* Center header content on smaller screens */
    }

    nav ul {
        justify-content: center; /* Center menu items on smaller screens */
    }

    nav ul li {
        margin-left: 10px; /* Reduce space between items for smaller screens */
        margin-right: 10px;
    }
}

/* Hero Section */
/* Main Blue Section (Hero Section) */
.hero {
    background-image: 
        linear-gradient(to bottom, rgba(26, 41, 64, 1), rgba(26, 41, 64, 0.5)),
        url('world1.png'); /* Replace with the path to your hero image */
    background-size: cover; /* Ensures the image covers the entire section */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    color: white; /* Keep the text white for contrast */
    padding: 100px 0; /* Adjust padding as needed */
    text-align: center;
}

.hero h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 40px;
}

.btn-primary {
    background-color: #4b6cb7;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
}

.btn-primary:hover {
    background-color: #3a539b;
}


/* Services Section */
.services {
    background-color: white;
    padding: 50px 0;
    text-align: center;
}

.services h2 {
    margin-bottom: 40px;
}

.service-grid {
    display: flex;
    justify-content: space-around;
}

.service-item {
    width: 30%;
    padding: 20px;
    background-color: #f8f8f8;
    border-radius: 5px;
}

.service-item h3 {
    margin-bottom: 15px;
}

/* About Section */
.about {
    background-color: #f4f4f4;
    padding: 50px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.about-text {
    width: 50%;
}

.about-image {
    width: 40%;
}

.about-image img {
    max-width: 100%;
    border-radius: 10px;
}

/* Contact Section */
.contact {
    background-color: #1a2940;
    color: white;
    padding: 50px 0;
    text-align: center;
}

.contact form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: 0 auto;
}

.contact form input,
.contact form textarea {
    margin-bottom: 15px;
    padding: 10px;
    border: none;
    border-radius: 5px;
}

.contact form button {
    padding: 10px;
    background-color: #4b6cb7;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 700;
}

.contact form button:hover {
    background-color: #3a539b;
}

/* Footer styles */
footer {
    background-color: #1a2940;
    color: white;
    padding: 20px 0;
    text-align: center;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    display: inline;
    margin-right: 15px;
}

footer ul li a {
    color: white;
    text-decoration: none;
    font-weight: 700;
}
