.nf-info-cards {
    padding: 100px 0;
    background: var(--nf-bg, #f8fafc);
    position: relative;
    overflow: hidden;
}

.nf-info-cards__header {
    align-items: center;
    text-align: center;
    margin-bottom: 60px;
}

.nf-info-cards__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Individual Card Styling */
.nf-info-card {
    position: relative;
    height: 480px;
    border-radius: var(--nf-card-radius, 24px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.08);
}

.nf-info-card:hover {
    transform: translateY(-15px);
    border-color: var(--nf-brand-color, #d4af37);
    box-shadow:
        0 25px 50px rgba(212, 175, 55, 0.15),
        0 0 20px rgba(212, 175, 55, 0.1);
}

/* Background & Overlays */
.nf-info-card__bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.nf-info-card__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: all 0.8s ease;
}

.nf-info-card:hover .nf-info-card__bg img {
    transform: scale(1.08);
    opacity: 1;
}

.nf-info-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.05) 0%,
        rgba(0, 0, 0, 0.12) 60%,
        rgba(0, 0, 0, 0.2) 100%
    );
    z-index: 2;
}

/* Content Area */
.nf-info-card__content {
    position: relative;
    z-index: 10;
    text-align: center;
    transition: transform 0.4s ease;
}

/* Mirror glass content box — navbar gradient at low opacity */
.nf-info-card__content-box {
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.28) 0%,
        rgba(51, 51, 51, 0.28) 100%
    );
    backdrop-filter: blur(4px) saturate(180%) brightness(1.08);
    -webkit-backdrop-filter: blur(4px) saturate(180%) brightness(1.08);
    border-radius: 16px;
    padding: 28px 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        inset 0 -1px 0 rgba(0, 0, 0, 0.15),
        inset 1px 0 0 rgba(255, 255, 255, 0.06);
    transition:
        background 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease;
}

.nf-info-card:hover .nf-info-card__content-box {
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.38) 0%,
        rgba(51, 51, 51, 0.38) 100%
    );
    border-top-color: rgba(212, 175, 55, 0.4);
    border-left-color: rgba(212, 175, 55, 0.25);
    border-right-color: rgba(212, 175, 55, 0.25);
    border-bottom-color: rgba(212, 175, 55, 0.25);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(212, 175, 55, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2),
        inset 1px 0 0 rgba(255, 255, 255, 0.08);
}

.nf-info-card__icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--nf-brand-color, #d4af37);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    transform: rotate(-5deg);
}

.nf-info-card:hover .nf-info-card__icon {
    background: var(--nf-brand-color, #d4af37);
    color: #fff;
    transform: rotate(0deg) scale(1.1);
    box-shadow: 0 12px 28px rgba(212, 175, 55, 0.35);
    border-color: transparent;
}

.nf-info-card__icon .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
}

.nf-info-card__title {
    font-family: var(--nf-title-font, "Orbitron", sans-serif);
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 12px;
    color: #ffffff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.nf-info-card__text {
    font-size: 14px;
    line-height: 1.65;
    color: #e2e8f0;
    opacity: 0.92;
    margin: 0;
    overflow: visible;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Tech Accents */
.nf-info-card__tech-accents {
    position: absolute;
    inset: 15px;
    z-index: 5;
    pointer-events: none;
    opacity: 0.25;
    transition: opacity 0.4s ease;
}

.nf-info-card:hover .nf-info-card__tech-accents {
    opacity: 1;
}

.nf-info-card__corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--nf-brand-color, #d4af37);
}

.nf-info-card__corner--tl {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.nf-info-card__corner--br {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

/* Scroll Animations */
.nf-info-cards.nf-scroll-reveal .nf-info-cards__col {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition-delay: calc(var(--reveal-index) * 0.15s);
}

.nf-info-cards.nf-scroll-reveal.is-visible .nf-info-cards__col {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1199px) {
    .nf-info-cards__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .nf-info-cards__grid {
        grid-template-columns: 1fr;
    }
    .nf-info-card {
        height: 420px;
    }
}
