/* ===== page_facturare — color alignment with homepage palette ===== */

/* Banner: înlocuiește teal-dark (#0d333f) cu navy-ul de pe homepage (#242549) */
.v8banner-section {
    background: #242549;
}

/* Butonul CTA din banner — accent verde (#0DAC81) */
.banner-btn-v8 {
    background-color: #0DAC81;
    border-color: #0DAC81;
}
.banner-btn-v8:hover {
    background-color: #0b9870;
    border-color: #0b9870;
}

/* Sub-titluri verzi */
.section-title .green-color,
.green-color {
    color: #0DAC81;
}

/* Tab-ul activ din "we-offering" */
.we-offering-slider-nav .slick-btn.slick-current {
    color: #0DAC81;
}
.we-offering-slider-nav .slick-btn.slick-current::before {
    background: #0DAC81;
}
.we-offering-slider-nav .slick-btn.slick-current::after {
    background: #0DAC81;
}

/* Butoane din slide-uri */
.we-offering-slide-btns button {
    border-color: #0DAC81;
    color: #0DAC81;
}
.we-offering-slide-btns button svg,
.we-offering-slide-btns button .iconify {
    color: #0DAC81;
}

/* Iconify check-list */
.check-list li .iconify {
    color: #0DAC81;
}

/* ===== index8-card — imagine ca background + overlay la hover ===== */

/* Cardul devine container de pozitionare, fara padding propriu */
.index6-card-section.index8-card-section .index6-card.index8-card {
    position: relative;
    background: #1c1c2e;
    padding: 0;
}

/* Imaginea din .index6-card-icon devine fundal full-cover */
.index6-card-section.index8-card-section .index6-card.index8-card .index6-card-icon {
    position: absolute;
    inset: 0;
    margin: 0;
    z-index: 0;
}

.index6-card-section.index8-card-section .index6-card.index8-card .index6-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 30px;
}

/* Overlay intunecat implicit */
.index6-card-section.index8-card-section .index6-card.index8-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.30);
    border-radius: 30px;
    transition: background 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

/* Overlay mai inchis la hover */
.index6-card-section.index8-card-section .index6-card.index8-card:hover::before {
    background: rgba(0, 0, 0, 0.62);
}

/* Continutul textual: ocupa tot cardul, impinge elementele jos */
.index6-card-section.index8-card-section .index6-card.index8-card > div:not(.index6-card-icon) {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
}

/* Reseteaza animatia bottom: -100px — textul sta vizibil jos */
.index6-card-section.index8-card-section .index6-card.index8-card .index8-card-text {
    position: relative;
    bottom: auto !important;
    animation: none !important;
}

/* Titlul mereu vizibil, alb */
.index6-card-section.index8-card-section .index6-card.index8-card h5 {
    color: #fff;
    margin-bottom: 8px;
}

/* Paragraful ascuns implicit, apare la hover */
.index6-card-section.index8-card-section .index6-card.index8-card p {
    color: rgba(255, 255, 255, 0.92);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-bottom: 0;
    transition: max-height 0.45s ease, opacity 0.45s ease;
}

.index6-card-section.index8-card-section .index6-card.index8-card:hover p {
    max-height: 160px;
    opacity: 1;
}

/* Link-ul ascuns implicit, apare la hover */
.index6-card-section.index8-card-section .index6-card.index8-card a {
    background: transparent;
    padding-bottom: 0;
    padding-top: 12px;
    margin-top: 8px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.45s ease, opacity 0.45s ease;
}

.index6-card-section.index8-card-section .index6-card.index8-card:hover a {
    max-height: 60px;
    opacity: 1;
}

/* Card link arrows & text */
.index8-card a .btn-text {
    color: #fff;
}

/* Sageata link — vizibila pe fond inchis */
.index6-card-section.index8-card-section .index6-card.index8-card a .icon {
    filter: brightness(0) invert(1) !important;
}

.index6-card-section.index8-card-section .index6-card.index8-card:hover a .icon {
    filter: brightness(0) invert(1) !important;
    transform: rotate(-45deg);
}

/* Brands slider v8 sub-title */
.brands-section-title h2 {
    color: #242549;
}

/* Sub-titlu verde lime */
.section-title .green-lite {
    color: #0DAC81;
}

