:root {
    --bse-blue: #123c7b;
    --bse-blue-soft: #1f4f9a;
    --bse-dark: #020617;
    --bse-grey: #f3f4f6;
    --bse-accent: #00b4ff;
    --text-main: #111827;
    --text-muted: #6b7280;
    --radius-lg: 18px;
    --shadow-soft: 0 18px 45px rgba(0,0,0,0.12);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text-main);
    background: #ffffff;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 0 1.5rem;
    margin: 0 auto;
}

/* Header / Nav */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(10, 24, 48, 0.96);
    backdrop-filter: blur(12px);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo {
    height: 44px;
    width: auto;
}

.nav-title {
    color: #e5e7eb;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: .03em;
}

.nav-title span {
    display: block;
    font-weight: 400;
    font-size: .75rem;
    color: #9ca3af;
}

.nav-links {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.nav-links a {
    color: #d1d5db;
    font-size: .9rem;
    position: relative;
    padding-bottom: .2rem;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--bse-accent), #60a5fa);
    transition: width 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.nav-active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    border: none;
    background: transparent;
    color: #e5e7eb;
    font-size: 1.4rem;
    cursor: pointer;
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at top left, #1f4f9a 0, #0b1220 55%, #020617 100%);
    color: #e5e7eb;
    padding: 5rem 0 4.5rem;
}

.hero::before {
    content: "";
    position: absolute;
    inset: -40%;
    background:
        radial-gradient(circle at 20% 0, rgba(59,130,246,0.3), transparent 60%),
        radial-gradient(circle at 80% 100%, rgba(56,189,248,0.3), transparent 55%);
    opacity: 0.7;
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 3.2rem;
    align-items: center;
}

/* Smaller hero for inner pages */
.hero-small {
    padding: 4rem 0 3rem;
    background: radial-gradient(circle at top left, #1f4f9a 0, #0b1220 70%);
    color: #e5e7eb;
}

.hero-small-inner {
    max-width: 720px;
}

.hero-small-inner h1 {
    font-size: 2rem;
    margin-bottom: .5rem;
}

.hero-small-inner p {
    font-size: .98rem;
    color: #cbd5f5;
}

.hero-eyebrow {
    text-transform: uppercase;
    font-size: .8rem;
    letter-spacing: .22em;
    color: #a5b4fc;
    margin-bottom: .6rem;
}

.hero-title {
    font-size: clamp(2.1rem, 3.2vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 0.75rem;
}

.hero-highlight {
    color: #bfdbfe;
}

.hero-subtitle {
    max-width: 34rem;
    color: #cbd5f5;
    font-size: .98rem;
    margin-bottom: 1.5rem;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-bottom: 1.75rem;
}

.badge {
    font-size: .75rem;
    padding: .35rem .7rem;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.6);
    color: #e5e7eb;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.btn-primary, .btn-outline {
    padding: .75rem 1.4rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #f9fafb;
    box-shadow: 0 14px 35px rgba(37,99,235,0.45);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 45px rgba(37,99,235,0.6);
}

.btn-outline {
    background: transparent;
    color: #e5e7eb;
    border-color: #4b5563;
}

.hero-meta {
    margin-top: 1.25rem;
    font-size: .8rem;
    color: #9ca3af;
}

.hero-right {
    position: relative;
}

.hero-card {
    background: rgba(15,23,42,0.92);
    border-radius: 26px;
    padding: 1.4rem 1.4rem 1.6rem;
    box-shadow: 0 24px 65px rgba(0,0,0,0.45);
    border: 1px solid rgba(148,163,184,0.35);
}

.hero-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: .7rem;
}

.hero-card-title {
    font-size: .9rem;
    color: #e5e7eb;
    font-weight: 600;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .2rem .6rem;
    border-radius: 999px;
    background: rgba(22,163,74,0.15);
    color: #bbf7d0;
    font-size: .7rem;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34,197,94,0.4);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 0.75rem;
    margin-top: .4rem;
}

.hero-stat {
    padding: .7rem .9rem;
    border-radius: 16px;
    background: radial-gradient(circle at top left, rgba(59,130,246,0.4), transparent 55%);
    border: 1px solid rgba(148,163,184,0.45);
}

.hero-stat small {
    display: block;
    font-size: .7rem;
    color: #9ca3af;
    margin-bottom: .1rem;
}

.hero-stat strong {
    font-size: 1.1rem;
}

/* Sections */
section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-kicker {
    text-transform: uppercase;
    font-size: .76rem;
    letter-spacing: .22em;
    color: var(--bse-blue-soft);
    margin-bottom: .4rem;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: .4rem;
}

.section-subtitle {
    max-width: 640px;
    margin: 0.5rem auto 0;
    font-size: .95rem;
    color: var(--text-muted);
}

.grid-2 {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 1.8rem 1.9rem;
}

.card h3 {
    font-size: 1.1rem;
    margin-bottom: .75rem;
}

.card p {
    font-size: .95rem;
    color: var(--text-muted);
}

.list-check {
    margin-top: 1rem;
    list-style: none;
}

.list-check li {
    display: flex;
    gap: .5rem;
    align-items: flex-start;
    margin-bottom: .45rem;
    font-size: .92rem;
    color: var(--text-muted);
}

.list-check span.icon {
    margin-top: .2rem;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 1px solid #22c55e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    color: #16a34a;
}

/* Vision / Mission / Values */
.pill-layout {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.pill {
    border-radius: 24px;
    padding: 1.6rem 1.7rem;
    background: #0b1120;
    color: #e5e7eb;
    background-image: radial-gradient(circle at top left, rgba(59,130,246,0.3), transparent 55%);
    border: 1px solid rgba(148,163,184,0.4);
}

.pill h3 {
    font-size: 1.05rem;
    margin-bottom: .4rem;
}

.pill p {
    font-size: .9rem;
    color: #d1d5db;
}

/* Sectors tags */
.sector-tag {
    display: inline-flex;
    padding: .4rem .7rem;
    border-radius: 999px;
    background: #e5edff;
    font-size: .8rem;
    margin: .15rem;
    color: #1d4ed8;
}

/* Stats band */
.stats-band {
    background: linear-gradient(90deg, #111827, #1f2937);
    color: #e5e7eb;
    padding: 2.3rem 0;
}

.stats-inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    text-align: center;
}

.stat-block strong {
    font-size: 1.6rem;
    display: block;
}

.stat-block span {
    font-size: .86rem;
    color: #d1d5db;
}

/* Tables / Management */
.table-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 1.6rem 1.8rem;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9rem;
}

th, td {
    padding: .6rem .8rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

th {
    white-space: nowrap;
    font-weight: 600;
    color: var(--text-muted);
    background: #f9fafb;
}

tbody tr:hover {
    background: #f3f4ff;
}

.org-note {
    margin-top: 0.9rem;
    font-size: .85rem;
    color: var(--text-muted);
}

/* Machinery */
.machinery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}

.machinery-item {
    background: #0f172a;
    color: #e5e7eb;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    border: 1px solid rgba(148,163,184,0.35);
    font-size: .88rem;
}

.machinery-item span.qty {
    display: block;
    font-size: .78rem;
    color: #a5b4fc;
    margin-top: .2rem;
}

/* Certifications / Clients / Projects */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.cert-card, .client-card, .project-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.1rem 1.2rem;
    box-shadow: var(--shadow-soft);
    border-top: 3px solid var(--bse-blue-soft);
    font-size: .9rem;
}

.cert-card h4,
.client-card h4,
.project-card h4 {
    margin-bottom: .2rem;
    font-size: .95rem;
}

.cert-card p,
.client-card p,
.project-card p {
    color: var(--text-muted);
    font-size: .86rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.project-label {
    font-size: .76rem;
    text-transform: uppercase;
    letter-spacing: .16em;
    color: var(--bse-blue-soft);
    margin-bottom: .35rem;
}

/* Contact */
.contact-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 2rem;
}

.contact-box {
    background: #0b1120;
    color: #e5e7eb;
    border-radius: 22px;
    padding: 1.7rem 1.9rem;
    border: 1px solid rgba(148,163,184,0.4);
}

.contact-box h3 {
    margin-bottom: .6rem;
}

.contact-box p,
.contact-box li {
    font-size: .9rem;
    color: #cbd5f5;
}

.contact-list {
    list-style: none;
    margin-top: .9rem;
}

.contact-list li {
    margin-bottom: .4rem;
}

.contact-form {
    background: #ffffff;
    border-radius: 22px;
    padding: 1.7rem 1.9rem;
    box-shadow: var(--shadow-soft);
}

.contact-form h3 {
    margin-bottom: .6rem;
}

.field {
    margin-bottom: .75rem;
}

.field label {
    display: block;
    font-size: .78rem;
    font-weight: 600;
    margin-bottom: .2rem;
    color: var(--text-muted);
}

.field input,
.field textarea {
    width: 100%;
    border-radius: 12px;
    border: 1px solid #d1d5db;
    padding: .55rem .7rem;
    font-size: .9rem;
    font-family: inherit;
}

.field textarea {
    min-height: 110px;
    resize: vertical;
}

/* Form messages */
.form-success {
    background: #ecfdf5;
    color: #15803d;
    border: 1px solid #bbf7d0;
    padding: .5rem .75rem;
    border-radius: 8px;
    font-size: .85rem;
    margin-bottom: .75rem;
}

.form-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
    padding: .5rem .75rem;
    border-radius: 8px;
    font-size: .85rem;
    margin-bottom: .75rem;
}

/* Downloads list */
.downloads-list {
    list-style: none;
    margin-top: 1rem;
}

.downloads-list li {
    margin-bottom: .4rem;
    font-size: .9rem;
}

.downloads-list a {
    text-decoration: underline;
    text-decoration-style: dotted;
    color: var(--bse-blue-soft);
}

/* Footer */
footer {
    background: var(--bse-dark);
    color: #9ca3af;
    padding: 1.8rem 0;
    font-size: .8rem;
    margin-top: 3rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-inner a {
    color: #e5e7eb;
    text-decoration: underline;
    text-decoration-style: dotted;
}

/* Responsive */
@media (max-width: 960px) {
    .hero-inner,
    .grid-2,
    .pill-layout,
    .contact-wrap {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-inner {
        gap: 2rem;
    }

    .machinery-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .cert-grid,
    .projects-grid,
    .grid-3 {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .stats-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        padding: .75rem 0 0.7rem;
    }

    .nav-links.show {
        display: flex;
    }

    .hero {
        padding-top: 4.25rem;
    }

    section {
        padding: 3rem 0;
    }

    .pill-layout {
        grid-template-columns: minmax(0,1fr);
    }

    .machinery-grid,
    .cert-grid,
    .projects-grid,
    .grid-3 {
        grid-template-columns: minmax(0,1fr);
    }

    .stats-inner {
        grid-template-columns: minmax(0, 1fr);
        text-align: left;
    }
}


.hp-field {
    position: absolute;
    left: -9999px;
    visibility: hidden;
    height: 0;
    overflow: hidden;
}