.ababil-stack-cards {
    --bg: #f5f5f2;
    --surface: #ffffff;
    --text: #171717;
    --muted: #777;
    --line: #deded8;
    --dark: #111;
    color: var(--text);

    overflow: hidden;
}

.ababil-stack-cards * {
    box-sizing: border-box;
}

.ababil-stack-cards .stack-container {
    width: 100%;
    margin: auto;
}

.ababil-stack-cards .section-header {
    display: grid;
    grid-template-columns: .5fr 1.5fr;
    gap: 50px;
    margin-bottom: 80px;
}

.ababil-stack-cards .eyebrow {
    font-size: 10px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
}

.ababil-stack-cards .section-title {
    max-width: 760px;
    margin: 0;
    font-size: clamp(45px, 6vw, 80px);
    line-height: .92;
    letter-spacing: -.065em;
    font-weight: 500;
}

.ababil-stack-cards .stack-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.ababil-stack-cards .stack-stage {
    position: relative;
    aspect-ratio: 4 / 5;
    min-height: 400px;
}

.ababil-stack-cards .stack-card {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: white;
    transform-origin: center bottom;
    transition: transform .65s cubic-bezier(.22,1,.36,1), opacity .5s ease, filter .5s ease;
    box-shadow: 0 25px 70px rgba(0,0,0,.10);
}

.ababil-stack-cards .stack-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ababil-stack-cards .stack-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.55), transparent 45%);
}



.ababil-stack-cards .stack-card.active {
    z-index: 100 !important;
    transform: translate(0,0) rotate(0) scale(1) !important;
    opacity: 1 !important;
}

.ababil-stack-cards .card-meta {
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 28px;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: end;
    color: white;
}

.ababil-stack-cards .card-meta small {
    display: block;
    margin-bottom: 10px;
    font-size: 10px;
    letter-spacing: .14em;
    text-transform: uppercase;
    opacity: .7;
}

.ababil-stack-cards .card-meta h3 {
    margin: 0;
    font-size: 38px;
    line-height: .95;
    letter-spacing: -.045em;
    font-weight: 500;
}

.ababil-stack-cards .stack-content {
    max-width: 520px;
}

.ababil-stack-cards .content-counter {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    font-size: 11px;
    color: var(--muted);
}

.ababil-stack-cards .counter-line {
    width: 55px;
    height: 1px;
    background: var(--line);
}

.ababil-stack-cards .stack-content h3 {
    margin: 0;
    font-size: clamp(40px, 5vw, 68px);
    line-height: .92;
    letter-spacing: -.06em;
    font-weight: 500;
}

.ababil-stack-cards .stack-content p {
    max-width: 430px;
    margin: 30px 0 0;
    font-size: 15px;
    line-height: 1.8;
    color: var(--muted);
}

.ababil-stack-cards .stack-navigation {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 50px;
}

.ababil-stack-cards .stack-button {
    width: 48px;
    height: 48px;
    border: 1px solid var(--line);
    background: transparent;
    display: grid;
    place-items: center;
    font-size: 18px;
    transition: .3s ease;
    cursor: pointer;
}

.ababil-stack-cards .stack-button:hover {
    background: var(--dark);
    color: white;
    border-color: var(--dark);
}

.ababil-stack-cards .stack-progress {
    display: flex;
    gap: 6px;
    margin-left: 15px;
}

.ababil-stack-cards .progress-dot {
    width: 24px;
    height: 2px;
    background: var(--line);
    transition: .3s ease;
}

.ababil-stack-cards .progress-dot.active {
    width: 42px;
    background: var(--dark);
}

@media(max-width: 850px) {
    .ababil-stack-cards .section-header {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 50px;
    }
    .ababil-stack-cards .stack-layout {
        grid-template-columns: 1fr;
    }
    .ababil-stack-cards .stack-content h3 { font-size: 48px; }
}

@media(max-width: 600px) {
    .ababil-stack-cards .stack-container { width: calc(100% - 28px); }
    .ababil-stack-cards .card-meta h3 { font-size: 28px; }
}

/* --- RESTORED STYLES --- */
.ababil-stack-cards {
    color: var(--text);
}

.ababil-stack-cards .stack-container {
    width: 100%;
}

.ababil-stack-cards .section-header {
    margin-bottom: 80px;
    margin-bottom: 50px;
}

.ababil-stack-cards .eyebrow {
    color: var(--muted);
}

.ababil-stack-cards .section-title {
    max-width: 760px;
    line-height: .92;
}

.ababil-stack-cards .stack-card img {
    width: 100%;
    height: 100%;
}

.ababil-stack-cards .stack-card::after {
    background: linear-gradient(to top, rgba(0,0,0,.55), transparent 45%);
}

.ababil-stack-cards .card-meta small {
    margin-bottom: 10px;
}

.ababil-stack-cards .card-meta h3 {
    line-height: .95;
}

.ababil-stack-cards .stack-content {
    max-width: 520px;
}

.ababil-stack-cards .content-counter {
    margin-bottom: 28px;
    color: var(--muted);
}

.ababil-stack-cards .counter-line {
    width: 55px;
    height: 1px;
    background: var(--line);
}

.ababil-stack-cards .stack-content h3 {
    line-height: .92;
}

.ababil-stack-cards .stack-content p {
    max-width: 430px;
    line-height: 1.8;
    color: var(--muted);
}

.ababil-stack-cards .stack-navigation {
    margin-top: 50px;
}

.ababil-stack-cards .stack-button {
    width: 48px;
    height: 48px;
    border: 1px solid var(--line);
}

.ababil-stack-cards .stack-button:hover {
    background: var(--dark);
    border-color: var(--dark);
}

.ababil-stack-cards .stack-progress {
    margin-left: 15px;
}

.ababil-stack-cards .progress-dot {
    width: 24px;
    height: 2px;
    background: var(--line);
}

.ababil-stack-cards .progress-dot.active {
    width: 42px;
    background: var(--dark);
}


/* --- RESTORED STYLES --- */
.ababil-stack-cards .eyebrow {
    font-size: 10px;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.ababil-stack-cards .section-title {
    font-size: clamp(45px, 6vw, 80px);
    letter-spacing: -.065em;
    font-weight: 500;
}

.ababil-stack-cards .card-meta small {
    font-size: 10px;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.ababil-stack-cards .card-meta h3 {
    font-size: 38px;
    letter-spacing: -.045em;
    font-weight: 500;
}

.ababil-stack-cards .content-counter {
    font-size: 11px;
}

.ababil-stack-cards .stack-content h3 {
    font-size: clamp(40px, 5vw, 68px);
    letter-spacing: -.06em;
    font-weight: 500;
}

.ababil-stack-cards .stack-content p {
    font-size: 15px;
}

.ababil-stack-cards .stack-button {
    font-size: 18px;
}

