/* ================================
   GLOBAL RESET + BASE STYLES
================================ */

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100%;
}
html, body {
    overflow-x: hidden;
}
html {
    scroll-behavior: smooth;
}

/* Default Body */
body {
    font-family: "Zalando Sans Expanded", "Ubuntu", Helvetica, Arial, sans-serif;
    background: #f5f7fa;
    color: #1e1e1e;
    line-height: 1.6;
}

/* Container (Reusable layout) */
.container {
    width: 90%;
    margin: auto;
}

/* ================================
   TYPOGRAPHY SYSTEM
================================ */

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #000;
}

/* Paragraph */
p {
    font-size: 16px;
    color: #555;
}

/* Links */
a {
    text-decoration: none;
    color: inherit;
}

/* Lists */
ul {
    list-style: none;
}

/* Images */
img {
    max-width: 100%;
    display: block;
}
/* ===================== HERO ===================== */
.hero {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slideshow .slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: right center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slideshow .slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right, 
        rgba(255,255,255,1) 0%, 
        rgba(255,255,255,0.7) 35%, 
        rgba(255,255,255,0.1) 60%, 
        rgba(255,255,255,0) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 450px;
}

.hero-content h1 {
    font-size: 45px;
    font-weight: 700;
    line-height: 1.2;
}

.hero-content p {
    margin: 20px 0;
    font-size: 18px;
    color: #444;
}
@media (max-width: 768px) {
    .hero {
        height: 70vh;
        padding: 0 5%;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 60vh;
        padding: 0 20px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 26px;
    }

    .hero-content p {
        font-size: 14px;
    }
}
.about,
.capabilities {
    scroll-margin-top: 110px;
}
/* ===================== ABOUT ===================== */
.about {
    padding: 80px 5%;
    background: #ffffff;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1300px;
    margin: auto;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 40px;
    color: #003a78;
    margin-bottom: 20px;
    font-weight: 800;
}

.about-text p {
    font-size: 17px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 18px;
    text-align: justify;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .about-text h2 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .about {
        padding: 50px 20px;
    }

    .about-text h2 {
        font-size: 26px;
    }

    .about-text p {
        font-size: 14px;
    }
}
/* ===================== CAPABILITIES ===================== */
.capabilities {
    padding: 80px 5%;
    text-align: center;
}

.cap-title-block {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto 60px auto;
}

.cap-title-block h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 25px;
    color: #003a78;
}

.cap-title-block p {
    font-size: 18px;
    color: #555;
    line-height: 1.8;
    text-align: justify;
    padding: 0 5%;;
    text-align-last: center;
}

/* Arrows */
.arrows {
    display: inline-flex;
    gap: 4px;
}

.arrows span {
    font-size: 38px;
    font-weight: 900;
    color: #003a78;
    opacity: 0.20;
    animation: arrowFade 1.6s infinite;
}

.arrows span:nth-child(1) { animation-delay: 0s; }
.arrows span:nth-child(2) { animation-delay: 0.25s; }
.arrows span:nth-child(3) { animation-delay: 0.50s; }
.arrows span:nth-child(4) { animation-delay: 0.75s; }

@keyframes arrowFade {
    0% { opacity: 0.20; transform: translateX(0); }
    40% { opacity: 1; transform: translateX(3px); }
    80% { opacity: 0.25; transform: translateX(0); }
    100% { opacity: 0.20; }
}

/* Cards */
.capability-cards {
    display: flex;
    justify-content: center;
    gap: 35px;
    flex-wrap: wrap;
}

.cap-card {
    position: relative;
    width: 320px;
    height: 420px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: 0.3s ease;
    background-size: cover;
    background-position: center;
}


.cap-card:hover {
    transform: translateY(-8px);
}

.cap-card .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(59,75,124,0.6), rgba(0,0,0,0.1));
}

.cap-content {
    position: absolute;
    inset: 0;
    padding: 25px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cap-content h3 {
    font-size: 23px;
    font-weight: 700;
    color:#fff;
}

.bottom-block p {
    font-size: 15px;
    color:#fff;
}

.story-link {
    font-size: 15px;
    font-weight: bold;
    color: #fff;
}
@media (max-width: 768px) {
    .capability-cards {
        gap: 20px;
    }

    .cap-card {
        width: 280px;
        height: 380px;
    }
}

@media (max-width: 480px) {
    .capabilities {
        padding: 50px 20px;
    }

    .cap-card {
        width: 100%;
        max-width: 320px;
        height: 350px;
    }

    .cap-title-block h2 {
        font-size: 28px;
    }

    .cap-title-block p {
        font-size: 14px;
        padding: 0;
    }
}
/* ===================== ECOSYSTEM ===================== */
.ecosystem {
    padding: 80px 5%;
    text-align: center;
}

.ecosystem h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 25px;
    color: #003a78;
}

.ecosystem p {
    max-width: 1300px;
    margin: auto;
    padding: 0 40px;
    font-size: 18px;
    color: #555;
    line-height: 1.8;
}
@media (max-width: 768px) {
    .ecosystem h2 {
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .ecosystem {
        padding: 50px 20px;
    }

    .ecosystem h2 {
        font-size: 24px;
    }

    .ecosystem p {
        font-size: 14px;
        padding: 0;
    }
}
/* ===================== NEWS ===================== */
.news {
    padding: 80px 5%;
    text-align: center;
}

.news-title-block {
    max-width: 1300px;
    margin: 0 auto 60px;
}

.news-title-block h2 {
    font-size: 42px;
    font-weight: 800;
    color: #003a78;
}

.news-title-block p {
    font-size: 18px;
    color: #555;
    line-height: 1.8;
    padding: 0 40px;
}

.news-cards {
    display: flex;
    justify-content: center;
    gap: 35px;
    flex-wrap: wrap;
}

.news-item {
    width: 260px;
    height: 350px;
    position: relative;
    overflow: hidden;
}

.news-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--bg);
    background-size: cover;
}

.news-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(59,75,124,0.6), rgba(0,0,0,0.1));
}

.news-content {
    position: relative;
    padding: 20px;
    color: #fff;
}

.news-content h3 {
    font-size: 20px;
}

.news-content p {
    font-size: 14px;
}

.news-content .date {
    font-size: 13px;
}

/* ===================== CLIENTS ===================== */
.clients {
    padding: 80px 5%;
    text-align: center;
    background: #f5f7fa;
}

.clients-title {
    font-size: 42px;
    font-weight: 800;
    color: #003a78;
}

.clients-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.clients-wrapper {
    width: 100%;
    max-width: 900px;
    overflow: hidden;
}

.clients-track {
    display: flex;
    transition: transform 0.5s ease;
}

.client {
    min-width: 300px;
    padding: 20px;
}

.client img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    filter: grayscale(100%);
}

.client img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.client-btn {
    background: #003a78;
    color: #fff;
    border: none;
    font-size: 22px;
    padding: 10px 15px;
    cursor: pointer;
}
@media (max-width: 768px) {
    .clients-wrapper {
        width: 600px;
    }

    .client {
        min-width: 200px;
    }
}

@media (max-width: 480px) {
    .clients {
        padding: 50px 20px;
    }

    .clients-title {
        font-size: 26px;
    }

    .clients-wrapper {
        width: 260px;
    }

    .client {
        min-width: 260px;
    }

    .client img {
        height: 80px;
    }

    .client-btn {
        font-size: 18px;
        padding: 8px 10px;
    }
}