/* ---------- Global ---------- */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f4f6f8; /* light grey */
    color: #333;
    line-height: 1.6;
}

/* ---------- Header / Brand ---------- */
h1 {
    color: #8b1e1e; /* dark red */
    font-size: 34px;
    margin-bottom: 5px;
}

h2 {
    color: #1f3c5b; /* corporate blue */
    margin-top: 30px;
}

h3 {
    color: #2c3e50; /* dark blue-grey */
    margin-top: 25px;
}

/* ---------- Navigation ---------- */
nav {
    background-color: #1f3c5b; /* corporate blue */
    padding: 12px;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    margin-right: 15px;
    font-weight: bold;
}

nav a:hover {
    color: #f39c12; /* orange accent */
}

/* ---------- Page container ---------- */
.page {
    max-width: 1100px;
    margin: auto;
    background-color: #ffffff;
    padding: 30px;
}

/* ---------- Images ---------- */
img {
    margin: 20px 0;
    border-radius: 4px;
}

/* ---------- Lists ---------- */
ul {
    padding-left: 20px;
}

li {
    margin-bottom: 8px;
}

/* ---------- Footer ---------- */
footer {
    background-color: #1f3c5b;
    color: #eeeeee;
    text-align: center;
    padding: 15px;
    margin-top: 40px;
    font-size: 14px;
}

/* ---------- Header layout (Logo + Company Name) ---------- */
.header-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-bottom: 25px;
}

/* Company logo (left) */
.company-logo {
    width: 100px;
    height: auto;
}

/* Text block */
.company-text {
    text-align: center;
}

/* Company name - FORCE brand color */
.company-name {
    color: #8b1e1e !important; /* dark red */
    font-size: 36px;
    margin: 0;
}

/* Tagline */
.company-tagline {
    color: #1f3c5b; /* corporate blue */
    margin-top: 8px;
    font-weight: normal;
}

@media (max-width: 768px) {
    .header-box {
        flex-direction: column;
    }

    .company-logo {
        width: 80px;
    }
}
/* ===== FORCE BRAND COLOR FOR COMPANY NAME ===== */
.header-box .company-text h1.company-name {
    color: #8b1e1e !important; /* dark red */
}

/* ===== Product / Case Study Layout ===== */
.case-item {
    display: flex;
    gap: 25px;
    margin-bottom: 35px;
    align-items: flex-start;
}

/* Image block */
.case-item img {
    width: 220px;
    max-width: 100%;
    border-radius: 6px;
}

/* Text block */
.case-content h3 {
    margin-top: 0;
    color: #1f3c5b; /* corporate blue */
}

.case-content p {
    margin: 8px 0;
}

/* Alternate layout: image on right */
.case-item.reverse {
    flex-direction: row-reverse;
}

/* Mobile friendly */
@media (max-width: 768px) {
    .case-item,
    .case-item.reverse {
        flex-direction: column;
    }

    .case-item img {
        width: 100%;
    }
}

/* ---------- Home page hero image ---------- */
.hero-image {
    width: 100%;
    max-height: 500px;   /* adjust: 300–450px as you like */
    object-fit: cover;  /* crops nicely instead of stretching */
    border-radius: 6px;
}

/* ---------- Contact form ---------- */
form {
    max-width: 600px;
}

input, textarea {
    width: 100%;
    padding: 8px;
    margin-top: 4px;
    box-sizing: border-box;
}

button {
    background-color: #1f3c5b;
    color: #ffffff;
    padding: 10px 18px;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color: #8b1e1e; /* brand accent */
}

.company-logo {
    width: 180px;
    height: auto;
}
