/* Nevec Technologies main CSS */
:root {
    --nevec-blue: #0f5f91;
    --nevec-dark: #111827;
    --nevec-gold: #f2b233;
    --nevec-light: #f7f9fc;
    --nevec-text: #4b5563;
    --nevec-white: #ffffff;
    --nevec-border: #e5e7eb;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--nevec-text);
    font-family: "Open Sans", Arial, sans-serif;
    line-height: 1.7;
    background: #fff;
}

a { color: var(--nevec-blue); text-decoration: none; }
a:hover { color: #093b5b; }
img { max-width: 100%; height: auto; }
.text-center { text-align: center; }
.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;
}

.nevec-container {
    width: min(1140px, calc(100% - 32px));
    margin: 0 auto;
}

.narrow { width: min(860px, calc(100% - 32px)); }

.nevec-navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 999;
    background: rgba(17,24,39,.92);
    border-bottom: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(10px);
}

.nav-inner {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: Lato, sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.custom-logo { max-height: 54px; width: auto; }
.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 42px; height: 42px;
    border-radius: 999px;
    background: var(--nevec-gold);
    color: var(--nevec-dark);
    font-weight: 900;
}
.brand-text { color: #fff; }

.nevec-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
}
.nevec-menu a {
    color: #fff;
    display: block;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .7px;
}
.nevec-menu a:hover,
.nevec-menu .current-menu-item > a {
    color: var(--nevec-gold);
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    width: 44px;
    height: 44px;
}
.nav-toggle span:not(.sr-only) {
    display: block;
    height: 2px;
    margin: 6px 0;
    background: #fff;
}

.hero {
    min-height: 100vh;
    color: #fff;
    background:
        linear-gradient(rgba(8, 18, 33, .68), rgba(8, 18, 33, .72)),
        radial-gradient(circle at 20% 15%, rgba(242,178,51,.25), transparent 30%),
        linear-gradient(135deg, #0a2239, #0f5f91 55%, #111827);
    display: grid;
    place-items: center;
    padding: 110px 16px 70px;
}
.overlay {
    width: 100%;
}
.hero-content {
    max-width: 900px;
    margin: 0 auto;
}
.eyebrow {
    margin: 0 0 12px;
    color: var(--nevec-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
    font-size: 13px;
}
.hero h1 {
    font-family: Lato, sans-serif;
    font-size: clamp(44px, 8vw, 86px);
    line-height: 1;
    margin: 0 0 18px;
    text-transform: uppercase;
    font-weight: 900;
}
.lead {
    font-size: clamp(19px, 2.2vw, 28px);
    font-weight: 300;
    margin: 0 auto 30px;
    max-width: 780px;
}
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
    border: 2px solid transparent;
}
.btn-primary {
    background: var(--nevec-gold);
    color: var(--nevec-dark);
}
.btn-outline {
    color: #fff;
    border-color: rgba(255,255,255,.7);
}
.btn:hover { transform: translateY(-1px); }

.scroll-down,
.scroll-up {
    display: inline-grid;
    place-items: center;
    width: 52px; height: 52px;
    border-radius: 999px;
    border: 2px solid currentColor;
    margin-top: 46px;
    font-size: 26px;
    color: #fff;
}
.scroll-down.dark,
.scroll-up { color: var(--nevec-blue); }

.section {
    position: relative;
    padding: 92px 0;
}
.section-title h1,
.section-title h2 {
    color: var(--nevec-dark);
    margin: 0;
    font-family: Lato, sans-serif;
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 300;
    text-transform: uppercase;
}
.section-title strong { font-weight: 900; }
.section-title hr,
.line hr {
    width: 68px;
    height: 4px;
    border: 0;
    margin: 18px 0 28px;
    background: var(--nevec-gold);
}
.section-title.center hr,
.line hr { margin-left: auto; margin-right: auto; }

.two-column {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 46px;
    align-items: center;
}
.intro {
    font-size: 17px;
}
.about-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
}
.about-list li {
    margin: 14px 0;
    display: flex;
    gap: 12px;
}
.about-list i { color: var(--nevec-blue); padding-top: 5px; }

.about-card {
    background: var(--nevec-light);
    border: 1px solid var(--nevec-border);
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 18px 50px rgba(17,24,39,.08);
}
.about-image {
    height: 260px;
    border-radius: 18px;
    background: linear-gradient(135deg, #0f5f91, #111827);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 82px;
    margin-bottom: 24px;
}

.values-section,
.partners-section {
    color: #fff;
    background:
        linear-gradient(rgba(17,24,39,.82), rgba(17,24,39,.82)),
        linear-gradient(135deg, #0f5f91, #111827);
}
.values-section .section-title h2,
.partners-section .section-title h2 { color: #fff; }

.value-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.value-card {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 20px;
    padding: 26px 18px;
}
.value-card i {
    width: 74px; height: 74px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(242,178,51,.16);
    color: var(--nevec-gold);
    font-size: 30px;
}
.value-card h3 { color: #fff; margin-bottom: 8px; }

.services-section { background: #fff; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 38px;
}
.service {
    border: 1px solid var(--nevec-border);
    border-radius: 20px;
    padding: 32px 24px;
    background: #fff;
    min-height: 230px;
    box-shadow: 0 14px 40px rgba(17,24,39,.05);
}
.service > i {
    color: var(--nevec-blue);
    font-size: 44px;
    margin-bottom: 18px;
}
.service h4 {
    color: var(--nevec-dark);
    margin: 0 0 10px;
    font-size: 18px;
}

.partner-copy {
    max-width: 720px;
    margin: 0 auto 32px;
    color: rgba(255,255,255,.82);
}
.partner-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
.partner-grid span {
    display: grid;
    place-items: center;
    min-height: 84px;
    border-radius: 16px;
    color: #fff;
    font-weight: 800;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.14);
}

.page-content {
    background: var(--nevec-light);
    padding-top: 120px;
}

.contact-section { background: #fff; }
.contact-copy { max-width: 700px; margin: 0 auto 24px; }
.contact-card {
    background: var(--nevec-light);
    border: 1px solid var(--nevec-border);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 24px;
}
.contact-card p { margin: 8px 0; }
.contact-card i { color: var(--nevec-blue); margin-right: 8px; }
.nevec-contact-form {
    text-align: left;
    background: #fff;
    border: 1px solid var(--nevec-border);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 16px 50px rgba(17,24,39,.06);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.nevec-contact-form label {
    display: block;
    font-weight: 700;
    color: var(--nevec-dark);
    margin-bottom: 16px;
}
.nevec-contact-form input,
.nevec-contact-form textarea {
    width: 100%;
    margin-top: 8px;
    border: 1px solid var(--nevec-border);
    border-radius: 12px;
    padding: 13px 14px;
    font: inherit;
}
.nevec-contact-form button,
.wpcf7-submit {
    border: 0;
    border-radius: 999px;
    background: var(--nevec-blue);
    color: #fff;
    padding: 14px 24px;
    font-weight: 800;
    cursor: pointer;
}
.site-footer {
    background: var(--nevec-dark);
    color: rgba(255,255,255,.78);
    padding: 24px 0;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.site-footer p { margin: 0; }
.site-footer a { color: #fff; }

.page-content h1 {
    color: var(--nevec-dark);
    font-family: Lato, sans-serif;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.1;
}
.entry-content {
    font-size: 18px;
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    border: 1px solid var(--nevec-border);
}
.single-thumb { margin: 24px 0; }
.single-thumb img { border-radius: 20px; width: 100%; }

@media (max-width: 980px) {
    .nav-toggle { display: block; }
    .nevec-menu {
        position: absolute;
        top: 74px;
        left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        background: rgba(17,24,39,.98);
        display: none;
        padding: 10px 16px 18px;
    }
    .nevec-menu.is-open { display: flex; }
    .nevec-menu a { padding: 14px; }
    .two-column,
    .services-grid,
    .value-grid { grid-template-columns: repeat(2, 1fr); }
    .partner-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
    .section { padding: 72px 0; }
    .value-grid,
    .partner-grid,
    .form-row { grid-template-columns: 1fr; }
    .hero h1 { font-size: 42px; }
    .footer-inner { display: block; text-align: center; }
}
