
:root {
    --primary-color: #1a2a6c;
    --secondary-color: #ffffff;
    --text-color: #000;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    color: var(--text-color);
    background: var(--secondary-color);
}

header {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 0;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.logo {
    margin: 10;
}

nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}

main {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 1rem;
}

footer {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}

.hero {
    text-align: center;
    margin-bottom: 2rem;
}

.highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-around;
    margin-bottom: 2rem;
}

.highlight {
    background: var(--secondary-color);
    padding: 1rem;
    border-radius: 6px;
    flex: 1 1 250px;
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 5px;
    text-decoration: none;
}

.btn:hover {
    background-color: #0d1746;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

input[type="text"], input[type="email"], textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background: #0d1746;
}

/* Responsive */
@media (max-width: 768px) {
    nav ul {
        justify-content: center;
    }

    main {
        padding: 1rem;
    }

    .highlights {
        flex-direction: column;
        align-items: center;
    }
}


/* Header layout with logo and nav */
.logo-nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.logo-link {
    display: inline-block;
}

.logo-img {
    height: 80px;      /* adjust to resize logo */
    top: -7px;        /* negative value makes it overlap header */
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        background-color: var(--primary-color);
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        text-align: center;
    }
    nav ul.show {
        display: flex;
    }
    .menu-toggle {
        display: block;
    }
    .logo-img {
        height: 70px;
        width: 90;
    }
}

/* --- Custom Updates by ChatGPT --- */

/* Reduce header height and allow logo overlap */
header {
    background-color: var(--primary-color);
    color: white;
    padding: 0.25rem 0; /* 1/4 of original 1rem */
    position: relative;
    overflow: visible;
}

.logo-img {
    height: 80px;
    position: absolute;
    top: -7px;
}

/* Responsive navigation */
.menu-toggle {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        background-color: var(--primary-color);
        width: 100%;
        text-align: right;
    }

    nav ul.showing {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
}

/* Gradient background for main content area */
main.container {
    background: linear-gradient(to bottom, #d3bbed, #e2bbed, #edbbe4);
    color: black;
}
