:root {
    --primary-color: #103A6E;   /* Navy blue from logo "EBC" */
    --secondary-color: #1F6B3A; /* Dark forest green from logo */
    --accent-color: #2A9D6E;    /* Teal/medium green from logo */
    --accent-light: #3FB58F;    /* Lighter teal accent */
    --surface-color: #ffffff;   /* White cards/surfaces */
    --surface-alt: #f4f6f8;     /* Subtle off-white alt sections */
    --body-bg-color: #f8f9fb;   /* Light page background */
    --heading-color: #103A6E;   /* Navy headings */
    --text-color: #2c3e50;      /* Dark slate body text */
    --muted-text: #5a6b7a;
    --border-color: #e2e6ec;
    --font-family: 'Poppins', sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--body-bg-color);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

h1, h2 {
    color: var(--heading-color);
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

/* Header & Navigation */
header {
    background: var(--surface-color);
    box-shadow: 0 2px 10px rgba(16, 58, 110, 0.08);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: inline-flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--heading-color);
}

.logo img {
    height: 56px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    font-weight: 600;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.nav-active {
    color: var(--secondary-color);
}

.mobile-nav-toggle {
    display: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #103A6E 0%, #1F6B3A 100%);
    color: #fff;
    padding: 12rem 0 6rem;
    text-align: center;
}

.hero h1 {
    color: #fff;
}

.hero .subtitle {
    font-size: 1.2rem;
    color: #e6eef7;
    margin-bottom: 2rem;
}

.hero p {
    color: #d8e2ee;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.btn-primary {
    background: var(--accent-color);
    color: #fff;
}

.btn-primary:hover {
    background: var(--secondary-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(16,58,110,0.25);
}

/* Sections */
section {
    padding: 6rem 0;
}

/* About Us Section */
.about-us {
    background: var(--surface-alt);
}

.about-us .container {
    max-width: 800px;
    text-align: center;
}

.about-us .founder-bio {
    max-width: 900px;
    text-align: left;
}

.about-us .founder-bio h2 {
    text-align: left;
}

.team-grid-compact {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
}

/* Services Section */
.services {
    background: var(--body-bg-color);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--surface-color);
    padding: 2rem;
    border-radius: 10px;
    border-top: 4px solid var(--accent-color);
    box-shadow: 0 4px 15px rgba(16,58,110,0.06);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-top-color: var(--secondary-color);
    box-shadow: 0 10px 25px rgba(16,58,110,0.12);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* MBE Callout Section */
.mbe-callout {
    background: var(--surface-color);
    border-left: 5px solid var(--secondary-color);
    box-shadow: 0 4px 15px rgba(16,58,110,0.06);
    padding: 3rem 2rem;
    margin: 3rem auto;
    max-width: 900px;
    text-align: center;
    border-radius: 8px;
}

.mbe-badge {
    display: inline-block;
    background: var(--secondary-color);
    color: #fff;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.mbe-callout h3 {
    color: var(--heading-color);
    margin-bottom: 1rem;
}

.mbe-callout p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

/* Industries Strip */
.industries-strip {
    background: var(--surface-alt);
    padding: 3rem 0;
    text-align: center;
}

.industries-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.industry-tag {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    color: var(--primary-color);
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.industry-tag:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

/* Contact Section */
.contact {
    text-align: center;
    background: linear-gradient(135deg, #103A6E 0%, #1F6B3A 100%);
    color: #fff;
}

.contact h2 {
    color: #fff;
}

.contact p {
    color: #d8e2ee;
    margin-bottom: 2rem;
}

.btn-secondary {
    background: #fff;
    color: var(--primary-color);
    margin: 0.5rem;
}

.btn-secondary:hover {
    background: var(--accent-light);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Team Section (About page) */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.bio-card {
    background: var(--surface-color);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(16,58,110,0.06);
    border: 1px solid var(--border-color);
}

.bio-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 3px solid var(--primary-color);
}

.bio-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.bio-role {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: #d8e2ee;
    text-align: center;
    padding: 2rem 0;
}

footer p {
    margin: 0;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        inset: 0 0 0 30%;
        flex-direction: column;
        padding: min(20vh, 10rem) 2rem;
        gap: 2rem;
        background: var(--surface-color);
        transform: translateX(100%);
        transition: transform 350ms ease-out;
        backdrop-filter: blur(1rem);
    }

    .nav-links[data-visible="true"] {
        transform: translateX(0%);
    }

    .mobile-nav-toggle {
        display: block;
        position: absolute;
        z-index: 9999;
        background-color: transparent;
        background-image: url('data:image/svg+xml;utf8,<svg fill="%23103A6E" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"/></svg>');
        background-repeat: no-repeat;
        width: 2rem;
        height: 2rem;
        border: 0;
        top: 2rem;
        right: 2rem;
        cursor: pointer;
    }

    .mobile-nav-toggle[aria-expanded="true"] {
        background-image: url('data:image/svg+xml;utf8,<svg fill="%23103A6E" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg>');
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .industries-list {
        gap: 1rem;
    }

    .industry-tag {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}