/* ==========================================================================
   PAGE HERO
   ========================================================================== */
.fc-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.fc-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.4) 100%
    );
}

.fc-hero-content {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px 90px;
    color: #fff;
}

.fc-hero-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #fff;
    border-bottom: 3px solid #fff;
    padding-bottom: 6px;
    margin-bottom: 18px;
}

.fc-hero-content h1 {
    font-size: 40px;
    font-weight: 600;
    margin: 0 0 12px;
    max-width: 760px;
}

.fc-hero-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0;
}

/* ==========================================================================
   SHARED SECTION EYEBROW
   ========================================================================== */
.fc-section-eyebrow {
    display: inline-block;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #b40707;
    margin-bottom: 14px;
}

/* ==========================================================================
   SHARED SCATTERED BACKGROUND DECOR
   ========================================================================== */
.fc-bg-decor {
    position: absolute;
    top: 0;
    width: 200px;
    height: 100%;
    color: rgba(180, 7, 7, 0.32);
    pointer-events: none;
    z-index: 0;
}

.fc-bg-decor svg {
    width: 100%;
    height: 100%;
    display: block;
}

.fc-bg-decor-left {
    left: 0;
}

.fc-bg-decor-right {
    right: 0;
}

/* ==========================================================================
   ANKAWA OPERATIONS & INFRASTRUCTURE (Facility Narrative)
   ========================================================================== */
.fc-narrative-section {
    position: relative;
    width: 100%;
    padding: 80px 24px;
    background-color: #ffffff;
    overflow: hidden;
}

.fc-narrative-inner {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.fc-narrative-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    text-align: left;
    margin-top: 20px;
}

.fc-narrative-col h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 16px;
}

.fc-narrative-col p {
    font-size: 14.5px;
    line-height: 1.75;
    color: #555;
    margin: 0;
}

.fc-highlights-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fc-highlights-list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #444;
}

.fc-highlights-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 16px;
    height: 16px;
    background-color: #b40707;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}

/* ==========================================================================
   MACHINERY GALLERY
   ========================================================================== */
.fc-machinery-section {
    position: relative;
    width: 100%;
    padding: 80px 24px;
    background-color: #f7f7f7;
    overflow: hidden;
}

.fc-machinery-inner {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
}

.fc-machinery-inner h2 {
    font-size: 32px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 44px;
}

.fc-machinery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: left;
}

.fc-machinery-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fc-machinery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
}

.fc-machinery-card img {
    width: 100%;
    height: 160px;
    object-fit: fill;
    display: block;
}

.fc-machinery-body {
    padding: 18px;
}

.fc-machinery-body h3 {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px;
}

.fc-machinery-body p {
    font-size: 13px;
    line-height: 1.55;
    color: #666;
    margin: 0;
}

/* ==========================================================================
   QC & INSPECTION TOOLS
   ========================================================================== */
.fc-qc-section {
    position: relative;
    width: 100%;
    padding: 80px 24px;
    background-color: #fdf1f1;
    overflow: hidden;
}

.fc-qc-inner {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.fc-qc-inner h2 {
    font-size: 32px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 44px;
}

.fc-qc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    text-align: left;
}

.fc-qc-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.fc-qc-image {
    width: 100%;
    height: 160px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 18px;
}

.fc-qc-image img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
}

.fc-qc-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 10px;
}

.fc-qc-card p {
    font-size: 13.5px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 991px) {
    .fc-hero {
        min-height: 320px;
    }

    .fc-hero-content h1 {
        font-size: 30px;
    }

    .fc-narrative-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .fc-bg-decor {
        display: none;
    }

    .fc-machinery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fc-qc-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .fc-hero {
        min-height: 320px;
    }

    .fc-hero-content {
        padding: 0 20px 50px;
    }

    .fc-hero-content h1 {
        font-size: 24px;
    }

    .fc-narrative-section,
    .fc-machinery-section,
    .fc-qc-section {
        padding: 50px 20px;
    }

    .fc-machinery-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   CLOSING CTA SECTION
   ========================================================================== */
.fc-closing-section {
    width: 100%;
    padding: 70px 24px;
    background-color: #ffffff;
}

.fc-closing-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 48px;
    align-items: center;
}

.fc-closing-image img {
    width: 100%;
    height: 300px;
    object-fit: fill;
    border-radius: 14px;
    display: block;
}

.fc-closing-content h2 {
    font-size: 32px;
    font-weight: 500;
    line-height: 1.25;
    color: #1a1a1a;
    margin: 0 0 18px;
}

.fc-closing-content p {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
    margin: 0 0 24px;
    max-width: 560px;
}

.fc-closing-btn {
    display: inline-block;
    background-color: #b40707;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    padding: 15px 32px;
    border-radius: 30px;
    transition: background-color 0.2s ease;
}

.fc-closing-btn:hover {
    background-color: #8f0505;
}

.fc-highlights-rich ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fc-highlights-rich li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #444;
}

@media (max-width: 991px) {
    .fc-closing-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .fc-closing-image img {
        height: 240px;
    }

    .fc-closing-content h2 {
        font-size: 26px;
    }
}

@media (max-width: 576px) {
    .fc-closing-section {
        padding: 50px 20px;
    }

    .fc-closing-content h2 {
        font-size: 22px;
    }

    .fc-closing-btn {
        width: 100%;
        text-align: center;
    }
}

/* ==========================================================================
   MANUAL CAROUSEL (for items beyond the first 4)
   ========================================================================== */
.fc-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 28px;
}

.fc-carousel-viewport {
    flex: 1;
    overflow: hidden;
}

.fc-carousel-track {
    display: flex;
    gap: 24px;
    transition: transform 0.4s ease;
}

.fc-carousel-item {
    flex: 0 0 calc((100% - 72px) / 4);
    min-width: 0;
}

.fc-carousel-arrow {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background-color: #b40707;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.fc-carousel-arrow:hover {
    background-color: #8f0505;
}

.fc-carousel-arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.fc-carousel-arrow svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 991px) {
    .fc-carousel-item {
        flex: 0 0 calc((100% - 24px) / 2);
    }
}

@media (max-width: 576px) {
    .fc-carousel-item {
        flex: 0 0 100%;
    }
}

.fc-hero-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    z-index: 0;
}
