/* ===========================
   Anima Hero Slider v2
   =========================== */

.ahs-wrapper {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
    background: #111;
    display: block;
}

/* ---- Slide base ---- */
.ahs-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    /* hidden by default — JS controls everything */
    opacity: 0;
    pointer-events: none;
    z-index: 1;
}
.ahs-slide.ahs-current {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

/* ---- Background ---- */
.ahs-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    will-change: transform;
}

/* ---- Overlay ---- */
.ahs-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* ---- Content wrapper ---- */
.ahs-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    padding: 40px;
    box-sizing: border-box;
}
.ahs-align-left   { justify-content: flex-start; }
.ahs-align-center { justify-content: center; }
.ahs-align-right  { justify-content: flex-end; }

.ahs-content-inner {
    max-width: 900px;
    width: 100%;
}

/* ---- Pre-title ---- */
.ahs-pretitle {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #f0c040;
    margin-bottom: 14px;
}

/* ---- Title ---- */
.ahs-title {
    font-size: clamp(28px, 5vw, 68px);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin: 0 0 18px;
}

/* ---- Description ---- */
.ahs-desc {
    font-size: clamp(14px, 1.8vw, 18px);
    color: rgba(255,255,255,0.9);
    line-height: 1.7;
    margin: 0 auto 28px;
}
.ahs-align-left  .ahs-desc { margin-left: 0; }
.ahs-align-right .ahs-desc { margin-right: 0; }

/* ---- Buttons ---- */
.ahs-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.ahs-align-center .ahs-buttons { justify-content: center; }
.ahs-align-right  .ahs-buttons { justify-content: flex-end; }

.ahs-btn {
    display: inline-block;
    padding: 13px 30px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.2s, box-shadow 0.3s;
}
.ahs-btn-1 {
    background: #e63946;
    color: #fff;
    border-color: #e63946;
}
.ahs-btn-1:hover {
    background: #c1121f;
    border-color: #c1121f;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(230,57,70,.4);
}
.ahs-btn-2 {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,.7);
}
.ahs-btn-2:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
    transform: translateY(-2px);
}

/* ---- Arrows ---- */
.ahs-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.2);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 19px;
    backdrop-filter: blur(4px);
    transition: background .3s, transform .2s;
    outline: none;
    line-height: 1;
}
.ahs-arrow:hover { background: rgba(255,255,255,.4); }
.ahs-prev { left: 20px; }
.ahs-next { right: 20px; }

/* ---- Dots ---- */
.ahs-dots {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 9px;
    align-items: center;
}
.ahs-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: rgba(255,255,255,.45);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background .3s, transform .3s, width .3s, border-radius .3s;
    outline: none;
}
.ahs-dot:hover      { background: rgba(255,255,255,.75); transform: scale(1.2); }
.ahs-dot.is-active  { background: #fff; width: 26px; border-radius: 6px; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .ahs-content { padding: 20px; }
    .ahs-btn     { padding: 11px 20px; font-size: 13px; }
    .ahs-arrow   { width: 36px; height: 36px; font-size: 14px; }
    .ahs-prev    { left: 8px; }
    .ahs-next    { right: 8px; }
}
