:root {
    --soja-green: #0B2D6B;
    --soja-dark: #001A44;
    --soja-deep: #00122F;
    --soja-light: #EEF3FC;
    --soja-gold: #FFC72C;
    --soja-white: #ffffff;
    --soja-text: #1D2939;
    --soja-muted: #6c757d;
    --soja-radius: 18px;
    --soja-shadow: 0 12px 35px rgba(0, 26, 68, 0.10);
}

/* REGLAJ JENERAL */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--soja-text);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--soja-white);
    line-height: 1.6;
}

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

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

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

/* NAVIGATION */

.navbar,
.navbar-soja {
    background: var(--soja-white);
    box-shadow: 0 3px 18px rgba(0, 0, 0, 0.06);
}

.navbar-brand {
    color: var(--soja-dark) !important;
    font-weight: 800;
    letter-spacing: 1px;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-right: 8px;
    border-radius: 12px;
    background: var(--soja-green);
    color: var(--soja-white);
    font-weight: 800;
}

.navbar .nav-link {
    color: var(--soja-dark);
    font-weight: 600;
    transition: color 0.25s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--soja-green);
}

.navbar-toggler {
    border-color: rgba(18, 59, 37, 0.2);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.2);
}

/* BOUTONS */

.btn-soja {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: 2px solid var(--soja-green);
    border-radius: 50px;
    background: var(--soja-green);
    color: var(--soja-white);
    font-weight: 700;
    transition: transform 0.25s ease,
                background 0.25s ease,
                border-color 0.25s ease;
}

.btn-soja:hover {
    transform: translateY(-3px);
    background: var(--soja-dark);
    border-color: var(--soja-dark);
    color: var(--soja-white);
}

.btn-soja-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: 2px solid var(--soja-white);
    border-radius: 50px;
    background: transparent;
    color: var(--soja-white);
    font-weight: 700;
    transition: all 0.25s ease;
}

.btn-soja-outline:hover {
    transform: translateY(-3px);
    background: var(--soja-white);
    color: var(--soja-dark);
}

/* SLIDER PRINCIPAL */

.hero-slider {
    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: 570px;
    overflow: hidden;
    background-color: var(--soja-deep);
    color: var(--soja-white);
}

/*
 * Chak imaj kouvri tout zòn slider la.
 * Slayd aktif la rete vizib; lòt yo rete kache.
 */

.hero-slide {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    align-items: center;
    min-height: 570px;
    padding: 80px 0 105px;
    overflow: hidden;
    background-color: var(--soja-deep);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.8s ease,
        visibility 0.8s ease;
}

.hero-slide.active {
    position: relative;
    z-index: 1;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* KOUCH FONSE KI FÈ TÈKS LA LIZIB */

.hero-slide::before {
    position: absolute;
    content: "";
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        rgba(5, 30, 17, 0.92) 0%,
        rgba(5, 30, 17, 0.72) 55%,
        rgba(5, 30, 17, 0.25) 100%
    );
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 760px;
    animation: sojaSlideContent 0.8s ease both;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    padding: 9px 16px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.10);
    color: var(--soja-gold);
    font-size: 0.9rem;
    font-weight: 700;
}

.hero-slide h1 {
    margin-bottom: 22px;
    color: var(--soja-white);
    font-size: clamp(2.4rem, 5vw, 4.6rem);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.hero-slide h1 span {
    color: var(--soja-gold);
}

.hero-description {
    max-width: 650px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.12rem;
    line-height: 1.8;
}

.hero-slide-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-note {
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.92rem;
}

/* KONTWÒL SLIDER LA */

.slider-controls {
    position: absolute;
    right: 7%;
    bottom: 28px;
    left: 7%;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.slider-arrow {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.25);
    color: var(--soja-white);
    font-size: 1.2rem;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.25s ease;
}

.slider-arrow:hover {
    background: var(--soja-gold);
    border-color: var(--soja-gold);
    color: var(--soja-dark);
}

.slider-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    pointer-events: auto;
}

.slider-dot {
    width: 11px;
    height: 11px;
    padding: 0;
    border: 0;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    transition: width 0.3s ease, background 0.3s ease;
}

.slider-dot.active {
    width: 32px;
    background: var(--soja-gold);
}

/* SEKSYON JENERAL */

.section-soja,
.section-space {
    padding: 80px 0;
}

.section-heading,
.section-heading-center {
    max-width: 720px;
    margin: 0 auto 45px;
    text-align: center;
}

.section-label {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--soja-green);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.section-heading h2,
.section-title {
    margin-bottom: 15px;
    color: var(--soja-dark);
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    font-weight: 800;
    line-height: 1.2;
}

.section-heading p,
.section-description {
    color: var(--soja-muted);
    line-height: 1.8;
}

/* KAT KATEGORI YO */

.category-card {
    height: 100%;
    padding: 32px 24px;
    border: 1px solid #e8eee9;
    border-radius: var(--soja-radius);
    background: var(--soja-white);
    text-align: center;
    box-shadow: var(--soja-shadow);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(18, 59, 37, 0.15);
}

.category-icon {
    display: flex;
    width: 76px;
    height: 76px;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    border-radius: 22px;
    background: var(--soja-light);
    color: var(--soja-green);
    font-size: 2rem;
}

.category-card h3 {
    margin-bottom: 12px;
    color: var(--soja-dark);
    font-size: 1.2rem;
    font-weight: 800;
}

.category-card p {
    margin-bottom: 18px;
    color: var(--soja-muted);
    line-height: 1.7;
}

.category-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--soja-green);
    font-weight: 700;
}

.category-link:hover {
    color: var(--soja-dark);
}

/* MISYON SOJA BOUTIK */

.mission-section {
    padding: 80px 0;
    background: var(--soja-light);
}

.mission-panel {
    padding: 38px;
    border-radius: var(--soja-radius);
    background: var(--soja-white);
    box-shadow: var(--soja-shadow);
}

.mission-card {
    height: 100%;
    padding: 28px 22px;
    border: 1px solid rgba(18, 59, 37, 0.06);
    border-radius: var(--soja-radius);
    background: var(--soja-white);
    box-shadow: 0 8px 25px rgba(18, 59, 37, 0.06);
}

.mission-card i,
.mission-icon {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--soja-green);
    font-size: 2.1rem;
}

.mission-card h3 {
    margin-bottom: 12px;
    color: var(--soja-dark);
    font-size: 1.15rem;
    font-weight: 800;
}

.mission-card p {
    margin-bottom: 0;
    color: var(--soja-muted);
    line-height: 1.8;
}

/* APÈL A AKSYON */

.cta-section {
    padding: 70px 0;
    background: var(--soja-dark);
    color: var(--soja-white);
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 18px;
    color: var(--soja-white);
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    font-weight: 800;
    line-height: 1.25;
}

.cta-section p {
    max-width: 680px;
    margin: 0 auto 28px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.8;
}

/* PYE PAJ LA */

.footer-soja {
    padding: 28px 0;
    background: var(--soja-deep);
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

.footer-soja p {
    margin-bottom: 0;
}

.footer-soja a {
    color: var(--soja-gold);
}

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

/* ANIMASYON */

@keyframes sojaSlideContent {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ADAPTASYON TELEFÒN AK TABLÈT */

@media (max-width: 768px) {
    .hero-slider {
        min-height: 540px;
    }

    .hero-slide {
        min-height: 540px;
        padding: 65px 0 100px;
        background-position: center center;
    }

    .hero-slide h1 {
        font-size: clamp(2.2rem, 9vw, 3.3rem);
        letter-spacing: -0.7px;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.7;
    }

    .hero-slide-buttons {
        align-items: stretch;
        flex-direction: column;
        max-width: 280px;
    }

    .hero-slide-buttons .btn-soja,
    .hero-slide-buttons .btn-soja-outline {
        width: 100%;
    }

    .slider-controls {
        right: 20px;
        bottom: 22px;
        left: 20px;
    }

    .section-soja,
    .section-space,
    .mission-section {
        padding: 55px 0;
    }

    .mission-panel {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .hero-slider,
    .hero-slide {
        min-height: 570px;
    }

    .hero-slide {
        padding-top: 45px;
        padding-bottom: 95px;
    }

    .hero-label {
        margin-bottom: 16px;
        font-size: 0.78rem;
    }

    .hero-slide h1 {
        font-size: clamp(2rem, 10vw, 2.8rem);
    }

    .slider-arrow {
        width: 38px;
        height: 38px;
    }

    .mission-panel {
        padding: 18px;
    }
}

/* RESPEKTE PREFEREANS MOUVMAN ITILIZATÈ A */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==================================================
   CORRECTION DU SLIDER PRINCIPAL SOJA BOUTIK
   ================================================== */

#sojaSlider.hero-slider {
    position: relative;
    display: block;
    width: 100%;
    min-height: 600px;
    overflow: hidden;
    isolation: isolate;
    background-color: #123b25;
}

#sojaSlider .hero-slide {
    position: absolute;
    inset: 0;
    display: none;
    width: 100%;
    min-height: 600px;
    align-items: center;
    padding: 90px 0 110px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
}

#sojaSlider .hero-slide.active {
    display: flex;
    z-index: 1;
}

#sojaSlider .hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(
        90deg,
        rgba(5, 25, 15, 0.90) 0%,
        rgba(5, 25, 15, 0.70) 48%,
        rgba(5, 25, 15, 0.20) 100%
    );
    pointer-events: none;
}

#sojaSlider .hero-slide > .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

#sojaSlider .hero-slide-content {
    width: 100%;
    max-width: 760px;
    color: #ffffff;
}

#sojaSlider .hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 0.9rem;
}

#sojaSlider .hero-slide h1 {
    margin: 0 0 22px;
    color: #ffffff;
    font-size: clamp(2.3rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.12;
}

#sojaSlider .hero-slide h1 span {
    display: block;
    color: #c5e8a0;
}

#sojaSlider .hero-description {
    max-width: 620px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.08rem;
    line-height: 1.8;
}

#sojaSlider .hero-slide-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

#sojaSlider .btn-soja,
#sojaSlider .btn-soja-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 13px 22px;
    border: 2px solid #ffffff;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

#sojaSlider .btn-soja {
    border-color: #c5e8a0;
    background: #c5e8a0;
    color: #123b25;
}

#sojaSlider .btn-soja:hover {
    border-color: #ffffff;
    background: #ffffff;
    color: #123b25;
}

#sojaSlider .btn-soja-outline {
    background: transparent;
    color: #ffffff;
}

#sojaSlider .btn-soja-outline:hover {
    background: #ffffff;
    color: #123b25;
}

#sojaSlider .hero-note {
    margin-top: 24px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.92rem;
}

#sojaSlider .slider-controls {
    position: absolute;
    right: 0;
    bottom: 25px;
    left: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

#sojaSlider .slider-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.25);
    color: #ffffff;
    cursor: pointer;
}

#sojaSlider .slider-arrow:hover {
    background: #ffffff;
    color: #123b25;
}

#sojaSlider .slider-dots {
    display: flex;
    align-items: center;
    gap: 10px;
}

#sojaSlider .slider-dot {
    width: 11px;
    height: 11px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
}

#sojaSlider .slider-dot.active {
    width: 30px;
    border-radius: 20px;
    background: #c5e8a0;
}

@media (max-width: 767px) {
    #sojaSlider.hero-slider,
    #sojaSlider .hero-slide {
        min-height: 620px;
    }

    #sojaSlider .hero-slide {
        padding: 65px 0 100px;
        background-position: center;
    }

    #sojaSlider .hero-slide h1 {
        font-size: clamp(2rem, 9vw, 3rem);
    }

    #sojaSlider .hero-description {
        font-size: 1rem;
        line-height: 1.65;
    }

    #sojaSlider .hero-slide-buttons {
        align-items: stretch;
        flex-direction: column;
    }

    #sojaSlider .hero-slide-buttons a {
        width: 100%;
    }

    #sojaSlider .slider-controls {
        bottom: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #sojaSlider *,
    #sojaSlider *::before,
    #sojaSlider *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}