/* ── EIS Project Slider ─────────────────────────────────────────── */
:root {
    --eis-accent: #b8892a;
    --eis-white:  #ffffff;
    --eis-dark:   #1a1a1a;
    --eis-overlay-bg: rgba(20, 20, 20, 0.62);
    --eis-radius: 16px;
    --eis-font:   -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.eis-slider-section {
    font-family: var(--eis-font);
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 60px;
    box-sizing: border-box;
}

/* ── Section header ─────────────────────────────────────────────── */
.eis-slider-header {
    text-align: center;
    margin-bottom: 32px;
}

.eis-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--eis-accent);
    margin-bottom: 10px;
}

.eis-section-title {
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 700;
    color: var(--eis-dark);
    line-height: 1.2;
    margin: 0;
    padding: 0;
}

/* ── Slider wrap ────────────────────────────────────────────────── */
.eis-slider-wrap {
    position: relative;
    border-radius: var(--eis-radius);
    overflow: hidden;
    user-select: none;
    background: #111;
}

/* ── Slides container ───────────────────────────────────────────── */
.eis-slides {
    position: relative;
    width: 100%;
    /* Height driven by aspect ratio of the bg images — default 16:9 */
    padding-top: 56.25%;
}

.eis-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.eis-slide.eis-active {
    opacity: 1;
    pointer-events: auto;
}

/* ── Slide background ───────────────────────────────────────────── */
.eis-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.eis-slide-bg--placeholder {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d6a9f 100%);
}

/* ── Logo ───────────────────────────────────────────────────────── */
.eis-slide-logo {
    position: absolute;
    top: 20px;
    left: 24px;
    z-index: 3;
    background: rgba(0,0,0,0.45);
    border-radius: 8px;
    padding: 6px 10px;
    max-width: 140px;
}

.eis-slide-logo img {
    display: block;
    max-height: 48px;
    width: auto;
    object-fit: contain;
}

/* ── Overlay ────────────────────────────────────────────────────── */
.eis-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--eis-overlay-bg);
    backdrop-filter: blur(2px);
    padding: 22px 28px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    z-index: 2;
}

.eis-slide-content {
    flex: 1;
    min-width: 0;
}

.eis-slide-subtitle {
    color: var(--eis-white);
    font-size: clamp(14px, 1.8vw, 20px);
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.3;
}

.eis-slide-desc {
    color: rgba(255,255,255,0.85);
    font-size: clamp(12px, 1.2vw, 15px);
    margin: 0 0 12px;
    line-height: 1.5;
    max-width: 580px;
}

/* ── Tags ───────────────────────────────────────────────────────── */
.eis-slide-tags {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
}

.eis-slide-tags li {
    color: rgba(255,255,255,0.90);
    font-size: clamp(11px, 1vw, 13px);
    display: flex;
    align-items: center;
    gap: 6px;
}

.eis-slide-tags li::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.6);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%23fff' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: 70%;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

/* ── CTA Button ─────────────────────────────────────────────────── */
.eis-slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    background: rgba(255,255,255,0.12);
    border: 1.5px solid rgba(255,255,255,0.35);
    color: var(--eis-white);
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.25s, border-color 0.25s;
    flex-shrink: 0;
}

.eis-slide-btn:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.7);
    color: var(--eis-white);
    text-decoration: none;
}

.eis-btn-arrow {
    font-size: 18px;
    line-height: 1;
}

/* ── Prev/Next arrows ───────────────────────────────────────────── */
.eis-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    background: rgba(255,255,255,0.18);
    border: 1.5px solid rgba(255,255,255,0.4);
    color: var(--eis-white);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    padding: 0;
}

.eis-arrow:hover {
    background: rgba(255,255,255,0.35);
}

.eis-prev { left: 16px; }
.eis-next { right: 16px; }

/* ── Thumbnail strip ────────────────────────────────────────────── */
.eis-thumbs {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
    padding: 0 4px;
}

.eis-thumb {
    width: 180px;
    cursor: pointer;
    opacity: 0.55;
    transition: opacity 0.25s, transform 0.25s;
    text-align: center;
    flex-shrink: 0;
}

.eis-thumb:hover,
.eis-thumb.eis-thumb-active {
    opacity: 1;
    transform: translateY(-2px);
}

.eis-thumb.eis-thumb-active {
    border-bottom: 3px solid var(--eis-accent);
    padding-bottom: 4px;
}

.eis-thumb img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.eis-thumb-placeholder {
    width: 100%;
    height: 110px;
    border-radius: 10px;
    background: linear-gradient(135deg, #c8c8c8 0%, #e8e8e8 100%);
}

.eis-thumb p {
    font-size: 12px;
    color: #444;
    margin: 8px 0 0;
    line-height: 1.3;
    text-align: center;
}

/* ── Dot indicators ─────────────────────────────────────────────── */
.eis-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.eis-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}

.eis-dot.eis-dot-active {
    background: var(--eis-accent);
    transform: scale(1.25);
}

/* ── No-slides message ──────────────────────────────────────────── */
.eis-no-slides {
    text-align: center;
    color: #777;
    padding: 40px 20px;
    font-size: 15px;
}

/* ── Responsive ─────────────────────────────────────────────────── */
/* ===============================
   LARGE DESKTOP
=================================*/
@media (max-width:1400px){

    .eis-slider-section{
        padding:10px 10px;
    }
    
    .eis-thumb{
        width:170px;
    }
    
    }
    
    /* ===============================
       DESKTOP
    =================================*/
    @media (max-width:1200px){
    
    .eis-slider-section{
        padding:10px 0px;
    }
    
    .eis-slides{
        height:480px;
        min-height:480px;
    }
    
    .eis-thumb{
        width:160px;
    }
    

    
    }
    
    /* ===============================
       TABLET
    =================================*/
    @media (max-width:991px){
    
    .eis-slides{
        height:520px;
        min-height:520px;
    }
    
    .eis-slide-overlay{
        display:flex;
        flex-direction:column;
        align-items:flex-start;
        justify-content:flex-end;
        gap:14px;
        padding:20px;
    }
    
    .eis-slide-desc{
        max-width:100%;
    }
    
    .eis-slide-btn{
        width:100%;
        text-align:center;
    }
    
    .eis-thumbs{
        display:flex;
        overflow-x:auto;
        overflow-y:hidden;
        flex-wrap:nowrap;
        gap:12px;
        padding-bottom:10px;
        scrollbar-width:none;
    }
    
    .eis-thumbs::-webkit-scrollbar{
        display:none;
    }
    
    .eis-thumb{
        width:150px;
        flex:0 0 auto;
    }
    
    .eis-thumb img{
        height:90px;
    }
    
    }
    
    /* ===============================
   MOBILE
=================================*/
@media (max-width:767px){

    .eis-slider-section{
        padding:10px 0px;
    }
    
    .eis-section-title{
        font-size:30px;
        line-height:1.2;
        margin-bottom:25px;
    }
    
    .eis-slides{
        height:500px;
        min-height:500px;
        border-radius:18px;
    }
    
    .eis-slide-overlay{
        padding:15px;
    }
    
    .eis-slide-subtitle{
        font-size:22px;
        line-height:1.25;
        margin-bottom:10px;
    }
    
    .eis-slide-desc{
        font-size:14px;
        line-height:1.5;
        margin-bottom:12px;
    }
    
    .eis-slide-tags{
        gap:6px;
        margin-bottom:15px;
    }
    
    .eis-slide-tags li{
        width:100%;
        font-size:13px;
    }
    
    .eis-slide-btn{
        width:90%;
        margin:15px auto 0;
        display:flex;
        justify-content:center;
        align-items:center;
        padding:12px 18px;
    }
    
    .eis-thumbs{
        margin-top:20px;
    }
    
    .eis-thumb{
        width:110px;
    }
    
    .eis-thumb img{
        height:65px;
    }

    .eis-arrow {
        display: none !important;
    }
    
    }




    /* ===============================
   SMALL MOBILE
=================================*/
@media (max-width:480px){

    .eis-slider-section{
        padding:10px 0px;
    }
    
    .eis-section-title{
        font-size:26px;
    }
    
    .eis-slides{
        height:430px;
        min-height:430px;
    }
    
    .eis-slide-overlay{
        padding:12px;
    }
    
    .eis-slide-subtitle{
        font-size:18px;
    }
    
    .eis-slide-desc{
        font-size:12px;
        line-height:1.4;
    }
    
    .eis-slide-btn{
        width:92%;
        margin:12px auto 0;
    }
    
    .eis-thumb{
        width:90px;
    }
    
    .eis-thumb img{
        height:55px;
    }

    .eis-arrow {
        display: none !important;
    }
    
    }


    /* Hide all slider arrows on tablet & mobile */
@media (max-width: 991px) {

    .eis-arrow,
    .eis-prev,
    .eis-next{
        display:none !important;
        opacity:0 !important;
        visibility:hidden !important;
        pointer-events:none !important;
    }

}