/* --- Basic Reset & Defaults --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #4A4A4A; /* Charcoal for body text */
    background-color: #EAEAEA; /* Light Gray background */
    overflow-x: hidden; /* Prevent horizontal scroll */
}

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

h1, h2, h3 {
    font-family: 'Open Sans', sans-serif;
    color: #0A2342; /* Dark Sapphire */
    margin-bottom: 0.8em;
}

h1 { font-size: 2.8em; margin-bottom: 0.5em; }
h2 { font-size: 2.2em; }
h3 { font-size: 1.8em; }

p {
    margin-bottom: 1em;
    color: #555; /* Slightly lighter than charcoal for readability */
}

a {
    color: #003366; /* Midnight Blue for links */
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* --- Header & Navigation --- */
header {
    background-color: #F8F8F8; /* Crisp Off-White */
    padding: 15px 0;
    border-bottom: 3px solid #0A2342; /* Dark Sapphire accent */
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 80px;
}

/* Hamburger menu toggle button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    font-weight: 600;
    color: #003366; /* Midnight Blue */
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

nav ul li a:hover, nav ul li a.active {
    color: #0A2342; /* Dark Sapphire */
    border-bottom-color: #B08D57; /* Soft Gold accent on hover */
}

/* --- Hero Section --- */
.hero {
    background-color: #0A2342; /* Dark Sapphire */
    color: #F8F8F8; /* Crisp Off-White text */
    padding: 80px 0;
    text-align: center;
    background-image: url('/images/ACBannerLCD_2048x1148.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}
.hero::before { /* Overlay for text readability */
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(10, 35, 66, 0.7); /* Dark Sapphire with opacity */
}
.hero .container {
    position: relative; /* To ensure content is above overlay */
}

.hero h1 {
    color: #FFFFFF; /* White */
    font-size: 3.5em;
}

.hero p {
    font-size: 1.3em;
    color: #EAEAEA; /* Light Gray */
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background-color: #B08D57; /* Soft Gold */
    color: #FFFFFF; /* White text */
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: 600;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
    background-color: #a07d47; /* Darker Gold */
    text-decoration: none;
    transform: translateY(-2px);
}

/* --- Feature Sections --- */
.section {
    padding: 60px 0;
}
.section-light { background-color: #F8F8F8; /* Crisp Off-White */ }
.section-dark  { background-color: #EAEAEA; /* Light Gray */ }

.section .container {
    text-align: center;
}

.section h2 {
    margin-bottom: 40px;
}

.feature-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    text-align: left;
}

.feature-item {
    background-color: #FFFFFF; /* White card */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    flex-basis: calc(33.333% - 20px); /* Adjust for gap */
    min-width: 280px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(10, 35, 66, 0.15); /* Dark Sapphire shadow */
}

.feature-item h3 {
    color: #003366; /* Midnight Blue */
    margin-bottom: 15px;
}
.feature-item img.icon { /* Placeholder for icons */
    max-width: 50px;
    margin-bottom: 15px;
    display: block; /* If you want them centered: margin-left: auto; margin-right: auto; */
}


/* --- Integrations Section --- */
.integrations-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.integrations-logos img {
    max-height: 60px;
    max-width: 150px;
    filter: grayscale(80%);
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease;
    outline: 1px solid #9e9e9e;   /* small grey border */
    outline-offset: 1px;          /* 1 px gap from the image */
}
.integrations-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.legal-content {
    text-align: left !important;   /* forces left alignment */
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* --- Call to Action Section --- */
.cta-section {
    background-color: #003366; /* Midnight Blue */
    color: #F8F8F8;
    padding: 60px 0;
    text-align: center;
}
.cta-section h2 { color: #FFFFFF; }
.cta-section p { color: #EAEAEA; margin-bottom: 30px; }

/* --- Footer --- */
footer {
    background-color: #4A4A4A; /* Charcoal */
    color: #BCC1C6; /* Medium Cool Gray text */
    text-align: center;
    padding: 30px 0;
    font-size: 0.9em;
}

footer p {
    margin-bottom: 5px;
    color: #BCC1C6;
}
footer a {
    color: #EAEAEA; /* Light Gray links in footer */
}
footer a:hover {
    color: #B08D57; /* Soft Gold for hover */
}

/* --- Contact Form --- */
#contact-form {
    max-width: 700px;
    margin: 0 auto;
}

#contact-form .form-control {
    font-size: 1.1rem;
    padding: 0.75rem;
}

#status {
    min-height: 1.5em;
    font-weight: 600;
}

.icon { width: 40px; height: 40px; }

/* Social Links */
.social-links {
    margin-top: 10px;
}
.social-links a {
    margin: 0 8px;
    color: #EAEAEA;
}
.social-links a:hover {
    color: #B08D57;
}
.social-links svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    vertical-align: middle;
}

@media (max-width: 600px) {
    .menu-toggle {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 250px;
        background: #fff;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        display: flex;
        flex-direction: column;
        padding-top: 60px;
        z-index: 999;
    }

    nav.open {
        transform: translateX(0);
    }

    nav ul {
        flex-direction: column;
        width: 100%;
    }

    nav ul li {
        margin: 10px 0;
    }

    nav ul li a {
        display: block;
        padding: 12px 20px;
        width: 100%;
        border-bottom: 1px solid #eaeaea;
        color: #003366;
    }

    nav ul li a:hover {
        background-color: #f0f0f0;
        color: #0A2342;
    }
}
