/*
CSS-File for n2trans.com
Description: Modern design layer (2026) - loaded after n2trans.css.
Remove the <link> to this file to return to the previous look.
*/

:root {
    --n2-green: #2b8f34;
    --n2-green-light: #36ad41;
    --n2-blue: #006e9d;
    --n2-ink: #13231f;
    --n2-text: #33433f;
    --n2-muted: #5d6d69;
    --n2-surface: #f4f7f6;
    --n2-gradient: linear-gradient(110deg, #2b8f34 0%, #006e9d 100%);
    --n2-radius: 1.25rem;
    --n2-shadow: 0 12px 32px -14px rgba(19, 35, 31, 0.28);
    --n2-shadow-hover: 0 22px 44px -16px rgba(19, 35, 31, 0.38);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: Nunito, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.7;
    letter-spacing: 0.005em;
    color: var(--n2-text);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: Nunito, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 800;
    letter-spacing: -0.015em;
    color: var(--n2-ink);
}
h2 {
    font-size: clamp(1.9rem, 1.3rem + 2vw, 2.9rem);
}
h3 {
    font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
    font-weight: 700;
}
section h2::after {
    content: "";
    display: block;
    width: 56px;
    height: 4px;
    margin: 1rem auto 0;
    border-radius: 2px;
    background: var(--n2-gradient);
}
section h2.text-white::after {
    background: rgba(255, 255, 255, 0.8);
}
span.green, h2 .green {
    color: var(--n2-green);
}

/* ---------- Navigation ---------- */
#mainNav,
#mainNav.navbar-shrink {
    background: rgba(255, 255, 255, 0.95) !important;
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    box-shadow: 0 1px 0 rgba(19, 35, 31, 0.08);
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
}
#mainNav.navbar-shrink {
    box-shadow: 0 6px 24px -12px rgba(19, 35, 31, 0.35);
}
#navbar-logo {
    display: inline !important;
}
.navbar-brand.logo-image img {
    width: 170px;
}
#mainNav .navbar-toggler {
    border-radius: 999px;
    color: var(--n2-ink);
    border-color: rgba(19, 35, 31, 0.25);
    padding: 0.5rem 1rem;
}
@media (min-width: 992px) {
    #mainNav .nav-link,
    #mainNav.navbar-shrink .nav-link {
        color: var(--n2-ink);
        font-weight: 700;
        font-size: 0.95rem;
        letter-spacing: 0;
        text-transform: none;
        padding: 0.5rem 0.9rem;
        border-radius: 999px;
        border-bottom: none;
    }
    #mainNav .nav-link:hover,
    #mainNav.navbar-shrink .nav-link:hover {
        color: var(--n2-green);
        background: rgba(43, 143, 52, 0.08);
    }
    #mainNav .nav-link.active,
    #mainNav.navbar-shrink .nav-link.active {
        color: var(--n2-green);
        border-bottom: none;
        background: rgba(43, 143, 52, 0.1);
    }
}
.dropdown-menu,
.dropdown-menu[data-bs-popper] {
    border: none;
    border-radius: 1rem;
    padding: 0.5rem;
    box-shadow: var(--n2-shadow-hover);
    min-width: 15rem;
}
.dropdown-item {
    border-radius: 0.6rem;
    padding: 0.45rem 0.9rem;
    font-weight: 600;
    font-size: 0.95rem;
}
.dropdown-item:hover,
.dropdown-item:focus {
    background: rgba(43, 143, 52, 0.08);
    color: var(--n2-green);
}
.dropdown-header {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--n2-blue);
    padding: 0.6rem 0.9rem 0.2rem;
}
.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    margin-left: 0.5rem;
    padding: 0.2rem;
    border-radius: 999px;
    background: rgba(19, 35, 31, 0.06);
}
.lang-switch a {
    display: block;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--n2-muted);
    text-decoration: none;
}
.lang-switch a:hover {
    color: var(--n2-green);
}
.lang-switch a.current {
    background: #fff;
    color: var(--n2-green);
    box-shadow: 0 2px 6px rgba(19, 35, 31, 0.15);
}
@media (max-width: 991.98px) {
    .lang-switch {
        display: inline-flex;
        margin: 0.75rem 0 0.5rem;
    }
}

/* ---------- Hero ---------- */
header {
    height: 100vh;
    min-height: 620px;
    min-width: 0;
}
header .overlay {
    opacity: 1;
    background: linear-gradient(120deg, rgba(8, 32, 26, 0.88) 0%, rgba(8, 32, 26, 0.55) 55%, rgba(0, 60, 95, 0.55) 100%);
}
.hero-content {
    max-width: 820px;
    padding-top: 4rem;
}
.hero-eyebrow {
    display: inline-block;
    margin-bottom: 1.25rem;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
header h1 {
    color: #fff;
    font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4.4rem);
    line-height: 1.08;
    margin-bottom: 1.25rem;
}
header h1 .hero-accent {
    background: linear-gradient(90deg, #6fd47a 0%, #4fc3f7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-lead {
    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.3rem);
    max-width: 680px;
    margin-bottom: 2.25rem;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}
.btn.btn-hero-outline {
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.6) !important;
    background: transparent;
}
.btn.btn-hero-outline:hover {
    background: #fff;
    color: var(--n2-ink);
}
.hero-scroll {
    position: absolute;
    left: 50%;
    bottom: 1.75rem;
    z-index: 2;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.4rem;
    animation: hero-bounce 2s infinite;
}
@keyframes hero-bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 8px); }
}

/* ---------- Buttons ---------- */
.btn {
    font-family: Nunito, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.01em;
    text-transform: none;
    border-radius: 999px;
    padding: 0.85rem 1.9rem;
    box-shadow: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary, a .btn-primary {
    background: var(--n2-gradient);
    color: #fff;
    border-radius: 999px;
    padding: 0.85rem 1.9rem;
    box-shadow: 0 10px 24px -10px rgba(0, 110, 157, 0.7) !important;
}
.btn-primary:hover, a .btn-primary:hover {
    color: #fff;
    transform: translateY(-2px);
}

/* ---------- Sections ---------- */
.light-section, .dark-section, .color-section, .team-section {
    padding-top: clamp(4rem, 3rem + 4vw, 7rem);
    padding-bottom: clamp(3rem, 2rem + 3vw, 5.5rem);
}
.dark-section {
    background: var(--n2-surface);
}
.awg-subtitle {
    color: var(--n2-blue);
    font-weight: 700;
    font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.25rem);
}
p.text-start, .text-start p {
    color: var(--n2-text);
}

/* ---------- Cards ---------- */
.awg-feature, .awg-model, .n2l-stage, .n2l-app, .solution-card, .awg-compare-new {
    border-radius: var(--n2-radius);
    box-shadow: var(--n2-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.awg-feature:hover, .awg-model:hover, .n2l-stage:hover, .n2l-app:hover, .solution-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--n2-shadow-hover);
}
.awg-feature {
    border-bottom: none;
    border-top: 4px solid transparent;
    border-image: var(--n2-gradient) 1;
    border-image-slice: 1;
    border-radius: 0 0 var(--n2-radius) var(--n2-radius);
}
.n2l-stage {
    border-bottom: none;
}
.awg-rounded-img {
    border-radius: var(--n2-radius);
    box-shadow: var(--n2-shadow);
}
.n2l-table-wrap {
    border-radius: var(--n2-radius);
    box-shadow: var(--n2-shadow);
    overflow: hidden;
}
.n2l-table thead th {
    background: var(--n2-ink);
}
.awg-highlight,
.text-start p.awg-highlight {
    border-radius: var(--n2-radius);
    color: #fff;
}
.advantage-border {
    border-radius: var(--n2-radius);
    box-shadow: var(--n2-shadow);
}
.tab-content {
    border-radius: 0 0 calc(var(--n2-radius) - 4px) calc(var(--n2-radius) - 4px);
}
#myTab .nav-link {
    font-weight: 700;
}

/* ---------- Solutions overview ---------- */
.solutions-section {
    background: #fff;
    padding-top: clamp(4rem, 3rem + 4vw, 7rem);
    padding-bottom: clamp(3rem, 2rem + 3vw, 5rem);
}
.solution-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.75rem 1.5rem;
    background: #fff;
    border: 1px solid rgba(19, 35, 31, 0.06);
    text-align: left;
    text-decoration: none;
    color: var(--n2-text);
}
.solution-card:hover {
    color: var(--n2-text);
}
.solution-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    margin-bottom: 1.1rem;
    border-radius: 1rem;
    background: var(--n2-gradient);
    color: #fff;
    font-size: 1.35rem;
}
.solution-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}
.solution-card p {
    flex-grow: 1;
    font-size: 0.97rem;
    margin-bottom: 1rem;
}
.solution-link {
    font-weight: 800;
    color: var(--n2-green);
}
.solution-card:hover .solution-link i {
    transform: translateX(4px);
}
.solution-link i {
    transition: transform 0.2s ease;
}

/* ---------- Wind ---------- */
.wind-feats li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.55rem;
}
.wind-feats li i {
    position: absolute;
    left: 0;
    top: 0.3rem;
    width: 1.3rem;
    text-align: center;
    color: var(--n2-green);
}

/* ---------- Goals ---------- */
.color-section {
    background: linear-gradient(120deg, #1f6b26 0%, #2b8f34 35%, #006e9d 100%);
}
.invest-card {
    border-radius: var(--n2-radius);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: none;
}
.invest-card .card-body {
    text-shadow: none;
}
#goals .row {
    align-items: stretch !important;
}
#goals .invest-card {
    height: calc(100% - 1rem);
}
.invest-card h4 {
    font-size: 1.1rem;
    letter-spacing: 0.06em;
}

/* ---------- Team ---------- */
#team img.rounded-circle {
    max-width: 230px;
    border: 6px solid #fff;
    box-shadow: var(--n2-shadow);
}
#team h4 {
    font-size: 1.3rem;
}
#team p {
    color: var(--n2-muted);
}

/* ---------- Contact background image (IPE) ---------- */
.team-pic {
    background-color: #f1f1ec;
    background-image: url(../assets/img/contact_ipe.jpg);
    background-size: cover;
    background-position: center 40%;
    background-attachment: scroll !important;
    height: clamp(260px, 42vw, 640px);
    max-width: none;
}
.contact-section {
    background: linear-gradient(120deg, #0f2a24 0%, #13392f 50%, #0b3550 100%);
    padding-top: clamp(4rem, 3rem + 3vw, 6rem);
}
.contact-section h3 {
    color: #fff;
}
.contact-section .card {
    border-radius: var(--n2-radius);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.06);
    transition: transform 0.25s ease, background 0.25s ease;
}
.contact-section a .card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.12);
}
.contact-section .card i {
    color: #7fd889 !important;
}
.contact-section .card h4 {
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 800;
    font-size: 0.8rem;
}
.contact-section .card .text-black-50 {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* ---------- Footer ---------- */
.footer {
    background: #0a1c18;
    color: rgba(255, 255, 255, 0.55) !important;
    padding: 3rem 0;
}

/* ---------- Scroll reveal (only when JS is active) ---------- */
.js-reveal .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.js-reveal .reveal.is-visible {
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .js-reveal .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .hero-scroll {
        animation: none;
    }
}
