@import url('https://fonts.googleapis.com/css2?family=Arbutus+Slab&family=Open+Sans:wght@400;600&display=swap');

/* SECTION */
.fc-card-section {
    padding: 70px 40px;
    background: linear-gradient(135deg, #050b14, #0c1a2b);
    color: #fff;
}

/* WRAPPER */
.fc-card-wrapper {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 50px;
    align-items: center;
}

/* LEFT CONTENT */
.fc-card-content h1 {
    font-family: 'Arbutus Slab', serif;
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 14px;
}

.fc-red-underline {
    width: 80px;
    height: 4px;
    background: #e10600;
    margin-bottom: 22px;
}

.fc-card-content p {
    font-size: 17px;
    line-height: 1.6;
    color: #d5dbe3;
    margin-bottom: 26px;
}

/* BUTTONS – LEFT → RIGHT RED FILL */
.fc-links a {
    position: relative;
    display: inline-block;
    margin-right: 14px;
    padding: 8px 16px;
    border: 1px solid #e10600;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    overflow: hidden;
    z-index: 1;
}

.fc-links a::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #e10600;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
    z-index: -1;
}

.fc-links a:hover::before {
    transform: scaleX(1);
}

/* CARD GRID – 2 + 2 */
.fc-card-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

/* CARD */
.fc-card {
    position: relative;
    padding-bottom: 75%;
    height: 0;
    cursor: pointer;
    --offset-multiplier: 4px;
    transition: transform 0.3s ease;
}

/* CARD HOVER */
.fc-card.fc-card-hover {
    transform: translate(-8px, -8px);
}

/* CARD FACE */
.fc-card-child {
    position: absolute;
    inset: 0;
    background: #ffffff;
    border-radius: 8px;
    padding: 14px;
    color: #000;
    overflow: hidden;
    box-shadow:
        0 10px 22px rgba(0,0,0,0.25),
        0 -4px 10px rgba(255,255,255,0.9);
    transform: translate(
        calc(var(--offset) * var(--offset-multiplier)),
        calc(var(--offset) * var(--offset-multiplier))
    );
}

/* ICON */
.fc-card-icon {
    font-size: 22px;
    margin-bottom: 6px;
    display: inline-block;
}

/* TEXT */
.fc-card-child h2 {
    font-family: 'Arbutus Slab', serif;
    font-size: 20px;
    margin-bottom: 6px;
}

.fc-card-child p {
    font-size: 14px;
    line-height: 1.4;
    color: #555;
    word-break: break-word;
}

/* STACK ORDER */
.fc-card-child:nth-child(1) { --offset: 0; z-index: 3; }
.fc-card-child:nth-child(2) { --offset: 1; z-index: 2; }
.fc-card-child:nth-child(3) { --offset: 2; z-index: 1; }

/* RESPONSIVE */
@media (max-width: 992px) {
    .fc-card-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .fc-card-container {
        grid-template-columns: 1fr;
    }

    .fc-red-underline {
        margin-left: auto;
        margin-right: auto;
    }
}
