/* -----------------------------
   Global reset & base
------------------------------ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.6;
    color: #10243f;
    background-color: #f5f7fb;
}

/* -----------------------------
   Header & Navigation
------------------------------ */

header {
    background-color: #0b1f33;     /* Deep navy bar across the top */
    color: #ffffff;
}

/* Main header layout */
.nav {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;       /* Controls header height */
    display: flex;
    align-items: center;           /* Vertical centering */
    justify-content: space-between;
}

/* Logo container */
.nav .logo {
    display: flex;
    align-items: center;
}

/* Logo image */
.nav .logo img {
    height: 48px;                  /* Adjust this up/down to taste */
    width: auto;
    display: block;
}

/* Navigation list */
.nav ul {
    list-style: none;              /* No bullets */
    display: flex;
    gap: 1.75rem;                  /* Space between links */
    margin: 0;
    padding: 0;
}

/* Navigation links */
.nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    padding-bottom: 0.25rem;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.nav a:hover,
.nav a:focus,
.nav a.active {
    color: #83d2e9;                /* Teal accent */
    border-color: #83d2e9;
}

/* -----------------------------
   Layout containers
------------------------------ */

main {
    max-width: 1180px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 3.5rem;
}

footer {
    max-width: 1180px;
    margin: 0 auto 2rem;
    padding: 1.25rem 1.5rem;
    border-top: 1px solid #d8e2ef;
    color: #627898;
    font-size: 0.85rem;
    text-align: center;
}

/* -----------------------------
   Typography
------------------------------ */

h1, h2, h3 {
    font-weight: 700;
    color: #10243f;
    margin-bottom: 0.75rem;
}

h1 {
    font-size: 2.1rem;
    margin-bottom: 1.25rem;
}

h2 {
    font-size: 1.4rem;
    margin-top: 0.5rem;
}

h3 {
    font-size: 1.15rem;
    margin-top: 0.3rem;
}

p {
    margin-bottom: 0.75rem;
}

a {
    color: #0b7bbf;
}

/* -----------------------------
   Section blocks
------------------------------ */
/* ---------------------------------
   Hero banners (top of each page)
   --------------------------------- */
/* --------------------------------
   Hero Banner (Stable Version)
-------------------------------- */
.hero {
    background: linear-gradient(135deg, #0b1727, #102a43); /* deep navy */
    color: #ffffff;
    padding: 3rem 2.25rem;
    border-radius: 10px;
    margin: 2rem auto 2rem;
    max-width: 1080px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
}

.hero h1 {
    font-size: 2.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.hero p {
    font-size: 1rem;
    max-width: 640px;
    margin: 0;
    color: #e5e7eb; /* soft light grey for subtitle */
}
.hero-home { background-image: url(...); }
.hero-oem { background-image: url(...); }
.hero-ess { background-image: url(...); }
.hero-auto { background-image: url(...); }
.hero-ghana { background-image: url(...); }
.hero-portal { background-image: url(...); }
}

}



@media (max-width: 768px) {
    .hero {
        padding: 2.5rem 1.5rem;
        border-radius: 0.75rem;
    }

    .hero h1 {
        font-size: 1.6rem;
    }
}

.section {
    background: #ffffff;
    border-radius: 8px;
    padding: 1.5rem 1.75rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
}

/* Make the first section on each page pop a bit */
.section:first-of-type {
    border-left: 4px solid #38b2ac;
}

.section ul {
    margin-top: 0.4rem;
    margin-left: 1.25rem;
}

.section li {
    margin-bottom: 0.35rem;
}

/* -----------------------------
   Index / landing page hero
------------------------------ */

.index-hero {
    background: linear-gradient(120deg, #0b1f33, #163a63);
    color: #ffffff;
}

.index-hero h1 {
    color: #ffffff;
}

.index-hero p {
    max-width: 640px;
    font-size: 1rem;
}

/* Optional pill tags on index */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.9rem;
}

.tag {
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.8rem;
}

/* -----------------------------
   Small / meta text
------------------------------ */

small,
.meta {
    font-size: 0.82rem;
    color: #627898;
}

/* -----------------------------
   Contact page layout (optional)
------------------------------ */

.contact-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.contact-columns .section {
    margin-bottom: 0;
}

/* -----------------------------
   Responsive tweaks
------------------------------ */

@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .nav ul {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    main {
        padding: 1.75rem 1rem 3rem;
    }

    .section {
        padding: 1.25rem 1.25rem 1.5rem;
    }

    .contact-columns {
        grid-template-columns: 1fr;
    }
}
