

:root {
    --primary-color: #f59e0b;
    --primary-hover: #d97706;
    --bg-dark: #0c0f14;
    --bg-card: #12161f;
    --bg-card-hover: #171d29;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-gold: rgba(245, 158, 11, 0.35);
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --text-light: #cbd5e1;
}

.rfg-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.rfg-section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.rfg-section-subtitle {
    display: inline-block;
    color: var(--primary-color, #f59e0b);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.2px;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
    background: rgba(245, 158, 11, 0.1);
    padding: 4px 14px;
    border-radius: 50px;
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.rfg-section-title {
    font-size: clamp(2rem, 3.8vw, 2.5rem);
    margin-bottom: 0.65rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.rfg-line {
    width: 60px;
    height: 3.5px;
    background: linear-gradient(90deg, #D29110, #f59e0b);
    margin: 0 auto;
    border-radius: 2px;
}

.rfg-section-desc {
    max-width: 680px;
    margin: 0.85rem auto 0;
    color: var(--text-muted, #94a3b8);
    font-size: 0.98rem;
    line-height: 1.55;
}

.rfg-products-showcase {
    padding: 2.25rem 0 5rem 0;
    background-color: var(--bg-dark, #0c0f14);
    position: relative;
}

.rfg-products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.product-item {
    background: rgba(13, 17, 26, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.product-item:hover {
    border-color: rgba(255, 255, 255, 0.32);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55), 0 0 20px rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

.product-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.05rem, 3.2vw, 1.18rem);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.3px;
    line-height: 1.35;
    padding-bottom: 6px;
    margin: 0;
    text-align: center;
    transition: color 0.3s ease;
    position: relative;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
    min-height: 2.7em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2.5px;
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.2), #f59e0b 20%, #f59e0b 80%, rgba(245, 158, 11, 0.2));
    border-radius: 3px;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.7);
}

.product-item:hover .product-title {
    color: var(--primary-color, #f59e0b);
}

.product-item:hover .product-title::after {
    width: 75%;
}

.product-image-box {
    position: relative;
    width: 100%;
    height: 340px;
    max-width: 100%;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    overflow: hidden;
}

.product-image-box img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 14px;
    display: block;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-image-box:hover img,
.product-item:hover .product-image-box img {
    transform: scale(1.03);
}

.product-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 0.15rem;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.82rem 1rem;
    border-radius: 12px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: nowrap;
    cursor: pointer;
}

.btn-view-details {
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.btn-view-details:hover {
    background: #ffffff;
    color: #090c10;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.btn-view-details i {
    font-size: 0.8rem;
    color: var(--primary-color, #f59e0b);
    transition: all 0.25s ease;
}

.btn-view-details:hover i {
    color: #090c10;
    transform: translateX(4px);
}

.btn-enquire {
    background: #f59e0b;
    color: #000000;
    font-weight: 700;
    border: 2px solid #f59e0b;
    box-shadow: none;
}

.btn-enquire:hover {
    background: transparent;
    color: #f59e0b;
    border-color: #f59e0b;
    transform: translateY(-2px);
    box-shadow: none;
}

.btn-enquire i {
    font-size: 0.82rem;
}

.rfg-products-footer-cta {
    margin-top: 3.5rem;
    padding: 2rem 2.5rem;
    background: linear-gradient(135deg, rgba(20, 27, 40, 0.85) 0%, rgba(13, 17, 23, 0.95) 100%);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 25px rgba(245, 158, 11, 0.05);
    position: relative;
    overflow: hidden;
}

.rfg-cta-content-group {
    display: flex;
    align-items: center;
    gap: 1.35rem;
    flex: 1;
    min-width: 280px;
}

.rfg-cta-icon-box {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 14px;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    color: #f59e0b;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.2);
}

.rfg-cta-text-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-align: left;
}

.rfg-cta-heading {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.3px;
    margin: 0;
    line-height: 1.3;
}

.rfg-cta-desc {
    color: #cbd5e1;
    font-size: 0.96rem;
    font-weight: 400;
    margin: 0;
    line-height: 1.5;
}

.rfg-products-footer-cta .rfg-btn {
    padding: 0.85rem 1.85rem;
    min-width: auto;
    font-size: 0.96rem;
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 12px;
    transition: all 0.25s ease;
    text-decoration: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
}

.rfg-products-footer-cta .rfg-btn i {
    transition: transform 0.25s ease;
}

.rfg-products-footer-cta .rfg-btn:hover i {
    transform: translateX(4px);
}

@media (max-width: 1024px) {
    .rfg-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .product-image-box {
        height: 320px;
    }

    .rfg-products-footer-cta {
        text-align: center;
        flex-direction: column;
        justify-content: center;
        gap: 1.25rem;
        padding: 2rem 1.75rem;
    }

    .rfg-products-footer-cta p {
        text-align: center;
        font-size: 1rem;
    }

    .rfg-products-footer-cta .rfg-btn {
        width: auto;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .rfg-section-title {
        font-size: 1.85rem;
        margin-bottom: 0.5rem;
    }

    .rfg-section-header {
        margin-bottom: 1.5rem;
    }

    .rfg-products-showcase {
        padding: 1.5rem 0 3.5rem;
    }

    .rfg-products-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
    }

    .product-item {
        padding: 1.15rem 1rem;
        border-radius: 18px;
    }

    .product-buttons {
        gap: 8px;
    }

    .product-image-box {
        height: clamp(300px, 82vw, 360px);
    }

    .btn-action {
        padding: 0.75rem 0.65rem;
        font-size: 0.84rem;
        gap: 6px;
    }

    .rfg-products-footer-cta {
        margin-top: 2rem;
        padding: 1.65rem 1.25rem;
        border-radius: 18px;
        gap: 1.2rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .rfg-cta-content-group {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
        width: 100%;
        min-width: auto;
    }

    .rfg-cta-icon-box {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
        border-radius: 12px;
        margin: 0 auto;
    }

    .rfg-cta-text-wrap {
        text-align: center;
        align-items: center;
        gap: 0.35rem;
    }

    .rfg-cta-heading {
        font-size: 1.15rem;
        line-height: 1.3;
        text-align: center;
        margin-bottom: 0.15rem;
    }

    .rfg-cta-desc {
        font-size: 0.9rem;
        line-height: 1.5;
        color: #cbd5e1;
        text-align: center;
        max-width: 320px;
        margin: 0 auto;
    }

    .rfg-products-footer-cta .rfg-btn {
        padding: 0.85rem 1.25rem;
        font-size: 0.94rem;
        width: 100%;
        max-width: 100%;
        margin: 0;
    }
}

@media (max-width: 480px) {
    .product-image-box {
        height: clamp(280px, 86vw, 340px);
    }

    .product-buttons {
        grid-template-columns: 1fr;
    }

    .btn-action {
        padding: 0.75rem 1rem;
        font-size: 0.88rem;
    }
}
