/* ==========================================================
   NEVAS TECHNOLOGIES — COMMON / GLOBAL STYLESHEET
   Shared across every page (header, footer, design tokens,
   base typography, buttons). Do NOT put page-specific rules
   in this file — see css/about.css for About Us styles.
========================================================== */

/* ==========================================
   DESIGN TOKENS / CSS VARIABLES
========================================== */
:root {
    /* Colors */
    --color-primary: #1891FF;
    --color-primary-dark: #0A6FD1;
    --color-secondary: #FE6013;
    --color-amber: #F28F06;
    --color-navy: #091D4E;
    --color-navy-light: #14295E;
    --color-peach: #FFEBE3;
    --color-peach-dark: #FCDCCB;
    --color-lavender: #EEEDF8;
    /* --color-gray-bg: #F2F3F5; */
    --color-gray-bg: #FAFAFA;

    --color-heading: #010101;
    /* --color-text: #010101; */
    --color-text: #0e0a42;

    --color-text-light: #8A8FA3;
    --color-white: #FFFFFF;
    --color-background: #FFFFFF;
    --color-border: #D4D4D4;

    /* Typography */
    --font-family-heading: "Geist", sans-serif;
    --font-family-base: "Geist", sans-serif;

    --font-size-base: 16px;
    --font-size-small: 0.875rem;
    --font-size-body: 1rem;
    --font-size-h1: 2.625rem;
    /* --font-size-h2: 2.25rem; */
    --font-size-h2: 2rem;
    --font-size-h3: 1.25rem;

    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    --line-height-base: 1.7;
    --line-height-heading: 1.25;

    /* Radius & shadow */
    --border-radius-sm: 6px;
    --border-radius-md: 12px;
    --border-radius-lg: 24px;
    --border-radius-btn: 8px;

    --shadow-sm: 0 2px 8px rgba(16, 22, 50, 0.06);
    --shadow-md: 0 10px 30px rgba(16, 22, 50, 0.1);
    --shadow-lg: 0 20px 50px rgba(16, 22, 50, 0.14);

    /* Layout */
    --container-width: 1200px;
    /* --section-spacing: 80px; */
    --section-spacing: 60px;
    /* --header-height: 82px; */
    --header-height: 90px;
    --topbar-height: 44px;
}

/* ==========================================
   BASE / RESET
========================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    outline: none;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--color-text);
    background-color: var(--color-background);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-heading);
    color: var(--color-heading);
    line-height: var(--line-height-heading);
    font-weight: var(--font-weight-semibold);
    margin: 0 0 1rem;
}

h1 {
    font-size: var(--font-size-h1);
}

h2 {
    font-size: var(--font-size-h2);
}

h3 {
    font-size: var(--font-size-h3);
}

p {
    margin: 0 0 1rem;
}

button {
    font-family: inherit;
    cursor: pointer;
}

/* Visible focus state for keyboard users */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.btn-arrow {
    transform: rotate(-45deg);
    transition: all 0.2s ease-in-out;
}

.btn-nevas:hover .btn-arrow {
    animation: textarrowani 1.4s linear;
}

@keyframes textarrowani {
    0% {
    opacity: 1;
    transform: translate(0px, 0px) rotate(-45deg);
}
25% {
    opacity: 0;
    transform: translate(10px, -10px) rotate(-45deg);
}
26% {
    opacity: 0;
    transform: translate(-10px, 10px) rotate(-45deg);
}
55% {
    opacity: 1;
    transform: translate(0px, 0px) rotate(-45deg);
}
}
/* ==========================================
   COMMON LAYOUT / CONTAINER
========================================== */
.card-border {
    position: relative;
    -webkit-transition: all 0.3s ease;
-o-transition: all 0.3s ease;
transition: all 0.3s ease;

    height: 114px;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 8px;

    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    z-index: 1;
    border: 0;
    border-radius: 8px;
    --ui-gradient-angle: 135deg;

}

.card-border::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    padding: .25rem;
    background: -webkit-gradient(linear, left top, left bottom, from(var(--ui-gradient-angle)), color-stop(0, #fff), color-stop(40%, transparent), color-stop(60%, transparent), to(white));
    background: -webkit-linear-gradient(var(--ui-gradient-angle), #fff 0, transparent 40%, transparent 60%, #fff 100%);
    background: -o-linear-gradient(var(--ui-gradient-angle), #fff 0, transparent 40%, transparent 60%, #fff 100%);
    background: linear-gradient(var(--ui-gradient-angle), #fff 0, transparent 40%, transparent 60%, #fff 100%);
    -webkit-mask: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff)) content-box, -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff));
    -webkit-mask: -webkit-linear-gradient(#fff 0 0) content-box, -webkit-linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
    border-radius: 8px;
    -webkit-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;

}

.partners-grid {
    max-height: 560px;
    overflow: hidden;
}

.partners_col {
    position: relative; 
    height: 100%;
    overflow: visible;
    box-sizing: border-box;
}

.stack-card {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.speed-fast{
    -webkit-animation-duration: 15s;
    -o-animation-duration: 15s;
    animation-duration: 15s;
}

.speed-medium {
    -webkit-animation-duration: 20s;
    -o-animation-duration: 20s;
    animation-duration: 20s;
}
.scroll-up{
-webkit-animation: infiniteScrollUp 20s linear infinite;
    -o-animation: infiniteScrollUp 20s linear infinite;
    animation: infiniteScrollUp 20s linear infinite;
}



.scroll-down {
    -webkit-animation: infiniteScrollDown 20s linear infinite;
    -o-animation: infiniteScrollDown 20s linear infinite;
    animation: infiniteScrollDown 20s linear infinite;
}


@keyframes infiniteScrollUp {
    0% {
    -webkit-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
}
100% {
    -webkit-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}
}

@keyframes infiniteScrollDown {
    0% {
    -webkit-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}
100% {
    -webkit-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
}
}
.site-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-eyebrow {
    display: inline-block;
    font-family: var(--font-family-heading);
    font-size: var(--font-size-h3);
    font-weight: var(--font-weight-semibold);
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

/* Eyebrow flanked by short lines, e.g. "— ABOUT US —" */
.section-eyebrow-lines {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.section-eyebrow-lines::before,
.section-eyebrow-lines::after {
    content: "";
    width: 26px;
    height: 1px;
    background: var(--color-primary);
}

/* ==========================================
   REUSABLE SECTION WRAPPER
   Every page section gets its vertical rhythm from
   .section, then picks a background variant. Any
   extra page-specific styling (decorative shapes,
   overflow clipping, etc.) stays in that page's own
   stylesheet on the section's semantic class.
========================================== */
.section {
    padding: var(--section-spacing) 0;
}

.section--white { background-color: var(--color-white); }
.section--gray { background-color: var(--color-gray-bg); }
.section--lavender { background-color: var(--color-lavender); }
.section--navy { background-color: var(--color-navy); }

/* ==========================================
   REUSABLE SECTION HEADER
   Centered eyebrow + heading + intro paragraph,
   used by any section that opens with this layout.
   Pair with a page-specific class for margin-bottom.
========================================== */
.section-header-center {
    max-width: 940px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* ==========================================
   REUSABLE ICON CIRCLE
   Structural base for any "icon inside a circle" —
   stat icons, quote icons, feature icons, etc. Each
   use sets its own size/background/color, except for
   the common white/shadow/primary size shared below.
========================================== */
.icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
}

.icon-circle--white-md {
    width: 54px;
    height: 54px;
    background: var(--color-white);
    /* box-shadow: var(--shadow-sm); */
    box-shadow:
        inset 0 4px 4px rgba(0, 0, 0, 0.2), /* Inner shadow */
        0 4px 4px rgba(0, 0, 0, 0.2);       /* Drop shadow */
    color: var(--color-primary);
    font-size: 1.125rem;
}

/* ==========================================
   REUSABLE ICON CARD
   Centered icon-circle + short label inside a
   rounded, tinted panel — feature grids, service
   lists, etc.
========================================== */
.icon-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    padding: 24px 8px;
    border-radius: var(--border-radius-md);
    transition: box-shadow 0.25s ease;
}

.icon-card:hover {
    box-shadow: var(--shadow-sm);
}

.icon-card--tinted {
    background: #EAF2FE;
}

/* ==========================================
   COMMON BUTTONS
========================================== */
.btn-nevas {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 30px;
    font-family: var(--font-family-heading);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-semibold);
    border-radius: var(--border-radius-btn);
    border: none;
    transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.btn-nevas:hover {
    transform: translateY(-2px);
}

.btn-nevas--primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-nevas--primary:hover {
    background-color: var(--color-primary-dark);
}

.btn-nevas--amber {
    background-color: var(--color-amber);
    color: var(--color-white);
}

.btn-nevas--amber:hover {
    opacity: 0.9;
}

/* Same as --primary, with a two-tone gradient for use on lighter sections */
.btn-nevas--gradient {
    background: linear-gradient(99.46deg, #56B7FB -13.24%, #7461D3 100.47%);
    color: var(--color-white);
    
}

.btn-nevas--gradient:hover {
    opacity: 0.9;
}

/* ==========================================
   TOPBAR
========================================== */
.topbar {
    background-color: var(--color-white);
    /* border-top: 4px solid; */
    border-image: linear-gradient(90deg, var(--color-primary), #8562E8) 1;
    /* border-bottom: 1px solid var(--color-border); */
}

.topbar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: var(--topbar-height);
    padding: 7px 20px;
    display: none;
}

.topbar-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.topbar-contact a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: var(--font-size-small);
    color: var(--color-primary);
}

.topbar-contact a i {
    color: var(--color-primary);
}

.topbar-actions {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.topbar-actions .btn-nevas {
    padding: 12px 24px;
    font-size: 0.8125rem;
    letter-spacing: 0.03em;
}

/* ==========================================
   SITE HEADER / MAIN NAVIGATION
========================================== */
.site-header {
    background-color: var(--color-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
    box-shadow: var(--shadow-md);
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-height);
    gap: 24px;
}

.site-logo {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 36px;
}

.main-nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-nav-list > li {
    position: relative;
}

.main-nav-list > li > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-family-heading);
    /* font-size: 0.9375rem; */
    font-size: 1.125rem;

    font-weight: var(--font-weight-medium);
    color: var(--color-heading);
    padding: 8px 0;
}

.main-nav-list > li > a i {
    font-size: 0.625rem;
    color: var(--color-text-light);
}

.main-nav-list > li > a:hover,
.main-nav-list > li > a.is-active {
    color: var(--color-primary);
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--color-white);
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-md);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 10;
}

.main-nav-list > li:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown li a {
    display: block;
    padding: 8px 20px;
    font-size: 0.875rem;
    color: var(--color-text);
}

.nav-dropdown li a:hover {
    color: var(--color-primary);
    background-color: var(--color-lavender);
}

.header-actions {
    align-items: center;
    gap: 12px;
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    background: var(--color-white);
    padding: 0;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 0 auto;
    background-color: var(--color-heading);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 991.98px) {
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        background: var(--color-white);
        box-shadow: var(--shadow-md);
        padding: 12px 20px 20px;
        padding: 0px;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .main-nav.is-open {
        max-height: 500px;
    }

    .main-nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .main-nav-list > li > a {
        padding: 12px 12px;
        border-bottom: 1px solid var(--color-border);
        justify-content: space-between;
        width: 100%;
    }

    .nav-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none;
        padding: 0 0 8px 12px;
    }

    .main-nav-list > li.is-open .nav-dropdown {
        display: block;
    }

     .header-actions, .nav-toggle {
        display: flex;
    }
}

@media (max-width: 767.98px) {
    .topbar-actions {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .topbar-contact a span {
        display: none;
    }
}

/* ==========================================
   SITE FOOTER
========================================== */
.site-footer {
    background-color: var(--color-navy);
    color: rgba(255, 255, 255, 0.7);
    /* border-top: 4px solid;
    border-image: linear-gradient(90deg, var(--color-primary), #8562E8) 1; */
    padding: 60px 0 0;
    margin-top: -1px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h3 {
    color: var(--color-white);
    font-size: 0.9375rem;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 18px;
}

.footer-group + .footer-group {
    margin-top: 30px;
}

.footer-col ul li {
    margin-bottom: 5px;
}

.footer-col ul li a {
    /* font-size: var(--font-size-small); */
    font-size: var(--font-size-small);
    color: var(--color-white);
    transition: color 0.2s ease;
}

.footer-col ul li a:hover {
    color: var(--color-secondary);
}

.footer-location + .footer-location {
    margin-top: 22px;
}

.footer-location-label {
    display: block;
    color: var(--color-white);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-small);
    margin-bottom: 8px;
}

.footer-location p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: var(--font-size-small);
    color: var(--color-white);
    margin-bottom: 8px;
}

.footer-location p a {
    color: var(--color-white);
}

.footer-location p a:hover {
    color: var(--color-secondary);
}

.footer-location i {
    color: var(--color-white);
    margin-top: 3px;
    width: 14px;
    flex-shrink: 0;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    font-size: 0.8125rem;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
    background-color: var(--color-primary);
    transform: translateY(-2px);
}

.footer-newsletter h3 {
    margin-bottom: 12px;
}

.footer-newsletter-form {
    display: flex;
}

.footer-newsletter-form input {
    flex: 1;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-white);
    border-radius: var(--border-radius-btn) 0 0 var(--border-radius-btn);
    font-size: var(--font-size-small);
}

.footer-newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer-newsletter-form button {
    padding: 12px 20px;
    border: none;
    background: var(--color-amber);
    color: var(--color-white);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-small);
    border-radius: 0 var(--border-radius-btn) var(--border-radius-btn) 0;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 0;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8125rem;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a:hover {
    color: var(--color-white);
}

@media (max-width: 991.98px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        row-gap: 40px;
    }
}

@media (max-width: 575.98px) {
    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}
