/* ========================================
   main.css - Reliable Metals Home Page
   Compatible with existing site styles
   Font: Poppins | Base: 13px | Primary: #372949
======================================== */

/* ----- Variables (match existing) ----- */
:root {
    --hm-primary: #372949;
    --hm-primary-dark: #372949;
    --hm-text: #555353;
    --hm-dark: #1a1a1a;
    --hm-gray: #f5f5f5;
    --hm-border: #e8e8e8;
}

.pf{
    display: none !important;
}
/* ----- Hero ----- */
.hm-hero {
    background: linear-gradient(135deg, #0d2b5e 0%, #372949 60%, #1a5fc4 100%);
    padding: 110px 0 100px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hm-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hm-hero-content {
    max-width: 720px;
    position: relative;
    z-index: 2;
}

.hm-label {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 18px;
}

.hm-hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
    margin-bottom: 16px;
}

.hm-hero-text {
    font-size: 15px;
    line-height: 1.7;
    opacity: 0.92;
    margin-bottom: 28px;
    max-width: 560px;
}

.hm-hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* Buttons */
.hm-btn {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.hm-btn-primary {
    background: #fff;
    color: var(--hm-primary);
}

.hm-btn-primary:hover {
    background: transparent;
    border-color: #fff;
    color: #fff;
}

.hm-btn-outline {
    background: transparent;
    border-color: rgba(255,255,255,0.6);
    color: #fff;
}

.hm-btn-outline:hover {
    background: #fff;
    color: var(--hm-primary);
    border-color: #fff;
}

.hm-btn-white {
    background: #fff;
    color: var(--hm-primary);
}

.hm-btn-white:hover {
    background: var(--hm-primary-dark);
    color: #fff;
}

/* ----- Section Description ----- */
.hm-section-desc {
    max-width: 700px;
    margin: 12px auto 0;
    font-size: 14px;
    color: var(--hm-text);
    line-height: 1.7;
}

/* ----- About Row (col-6 + col-6) ----- */
.hm-about-row {
    margin-top: 50px;
    align-items: center;
}

.hm-about-img {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.hm-about-img img {
    width: 100%;
/*    height: 420px;*/
        height: 480px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.hm-about-img:hover img {
    transform: scale(1.03);
}

.hm-about-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: #fff;
    padding: 14px 20px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.hm-badge-num {
    font-size: 28px;
    font-weight: 700;
    color: var(--hm-primary);
    line-height: 1;
}

.hm-badge-txt {
    font-size: 12px;
    font-weight: 600;
    color: var(--hm-dark);
    line-height: 1.3;
}

.hm-about-content {
    padding-left: 20px;
}

.hm-about-title {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--hm-dark);
    margin-bottom: 16px;
}

.hm-about-content p {
    font-size: 13px;
    color: var(--hm-text);
    line-height: 1.75;
    margin-bottom: 14px;
}

/* Check list */
.hm-check-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 10px;
}

.hm-check-list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--hm-dark);
}

.hm-check-list li::before {
    content: '\f00c';
    font-family: 'FontAwesome';
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--hm-primary);
    font-size: 13px;
}

/* ----- Stats ----- */
.hm-stat-box {
    text-align: center;
    padding: 25px 15px;
}

.hm-stat-num {
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--hm-primary);
    line-height: 1.1;
    margin-bottom: 6px;
}

.hm-stat-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--hm-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ----- Value Cards ----- */
.hm-value-card {
    background: #fff;
    border: 1px solid var(--hm-border);
    border-radius: 6px;
    padding: 35px 28px;
    height: 100%;
    transition: all 0.3s ease;
    text-align: center;
}

.hm-value-card:hover {
    box-shadow: 0 12px 35px rgba(24, 72, 160, 0.12);
    border-color: transparent;
    transform: translateY(-5px);
}

.hm-value-icon {
    width: 60px;
    height: 60px;
    background: rgba(24, 72, 160, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 22px;
    color: var(--hm-primary);
}

.hm-value-title {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--hm-dark);
    margin-bottom: 12px;
}

.hm-value-card p {
    font-size: 13px;
    color: var(--hm-text);
    line-height: 1.7;
    margin: 0;
}

/* ----- CTA ----- */
.hm-cta-title {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.hm-cta-text {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 25px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

/* ----- Responsive ----- */
@media (max-width: 991px) {
    .hm-hero {
        padding: 80px 0 70px;
    }

    .hm-hero-title {
        font-size: 28px;
    }

    .hm-about-content {
        padding-left: 0;
        margin-top: 30px;
    }

    .hm-about-img img {
        height: 340px;
    }
}

@media (max-width: 767px) {
    .hm-hero {
        padding: 60px 0 50px;
        text-align: center;
    }

    .hm-hero-title {
        font-size: 24px;
    }

    .hm-hero-text {
        font-size: 14px;
        margin-left: auto;
        margin-right: auto;
    }

    .hm-hero-btns {
        justify-content: center;
    }

    .hm-about-img img {
        height: 280px;
    }

    .hm-stat-num {
        font-size: 28px;
    }

    .hm-cta-title {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .hm-hero-title {
        font-size: 22px;
    }

    .hm-stat-box {
        padding: 18px 10px;
    }

    .hm-stat-num {
        font-size: 24px;
    }
}


/* ========================================
   Our Products Section
======================================== */

.op-subtitle {
    max-width: 640px;
    margin: 12px auto 0;
    font-size: 14px;
    color: #555353;
    line-height: 1.7;
}

.op-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eaeaea;
    transition: all 0.35s ease;
    height: 100%;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.04);
}

.op-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(24, 72, 160, 0.12);
    border-color: transparent;
}

/* Image */
.op-img-wrap {
    position: relative;
    overflow: hidden;
    height: 210px;
}

.op-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.op-card:hover .op-img-wrap img {
    transform: scale(1.08);
}

/* Overlay */
.op-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #5e2aa140;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.op-card:hover .op-overlay {
    opacity: 1;
}

.op-link-btn {
    display: inline-block;
    background: #fff;
    color: #372949;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 22px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.op-link-btn:hover {
    background: #372949;
    color: #fff;
}

/* Body */
.op-body {
    padding: 22px 20px 24px;
}

.op-title {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.op-text {
    font-size: 13px;
    color: #555353;
    line-height: 1.65;
    margin-bottom: 14px;
}

.op-more {
    font-size: 13px;
    font-weight: 600;
    color: #372949;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease;
}

.op-more:hover {
    gap: 10px;
    color: #372949;
}

.op-more i {
    font-size: 11px;
}

/* Responsive */
@media (max-width: 767px) {
    .op-img-wrap {
        height: 190px;
    }

    .op-body {
        padding: 18px 16px 20px;
    }

    .op-title {
        font-size: 15px;
    }
}

/* ========================================
   Our Products Section
======================================== */

.op-subtitle {
    max-width: 680px;
    margin: 12px auto 0;
    font-size: 14px;
    color: #555353;
    line-height: 1.7;
}

.op-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eaeaea;
    transition: all 0.35s ease;
    height: 100%;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.04);
}

.op-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(24, 72, 160, 0.12);
    border-color: transparent;
}

.op-img-wrap {
    position: relative;
    overflow: hidden;
    height: 210px;
}

.op-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.op-card:hover .op-img-wrap img {
    transform: scale(1.08);
}

.op-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #5e2aa140;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.op-card:hover .op-overlay {
    opacity: 1;
}

.op-link-btn {
    display: inline-block;
    background: #fff;
    color: #372949;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 22px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.op-link-btn:hover {
    background: #372949;
    color: #fff;
}

.op-body {
    padding: 22px 20px 24px;
}

.op-title {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.op-text {
    font-size: 13px;
    color: #555353;
    line-height: 1.65;
    margin-bottom: 14px;
}

.op-more {
    font-size: 13px;
    font-weight: 600;
    color: #372949;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease;
}

.op-more:hover {
    gap: 10px;
    color: #372949;
}

.op-more i {
    font-size: 11px;
}

@media (max-width: 767px) {
    .op-img-wrap {
        height: 190px;
    }
    .op-body {
        padding: 18px 16px 20px;
    }
}


/*how we work*/
/* How We Work */
.hw-subtitle {
    max-width: 620px;
    margin: 12px auto 0;
    font-size: 14px;
    color: #555353;
    line-height: 1.7;
}

.hw-step {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 35px 22px 30px;
    text-align: center;
    height: 100%;
    position: relative;
    transition: all 0.35s ease;
}

.hw-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(24, 72, 160, 0.12);
    border-color: transparent;
}

.hw-step-num {
    position: absolute;
    top: 15px;
    right: 18px;
    font-size: 28px;
    font-weight: 700;
    color: #e8eef7;
    font-family: 'Poppins', sans-serif;
}

.hw-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #372949, #87759f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #fff;
    font-size: 24px;
}

.hw-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}

.hw-text {
    font-size: 13px;
    color: #555353;
    line-height: 1.65;
    margin: 0;
}


/* Client Logos */
.cl-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px 50px;
}

.cl-logo-item {
    width: 140px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.cl-logo-item:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.cl-logo-item img {
    max-width: 100%;
    max-height: 55px;
    object-fit: contain;
}

@media (max-width: 767px) {
    .cl-logos {
        gap: 25px 30px;
    }
    .cl-logo-item {
        width: 110px;
        height: 55px;
    }
}

/**/
/* Customer Feedback */
.cf-subtitle {
    max-width: 560px;
    margin: 12px auto 0;
    font-size: 14px;
    color: #555353;
}

.cf-card {
    background: #fff;
    border-radius: 8px;
    padding: 30px 26px;
    height: 100%;
    border: 1px solid #eaeaea;
    transition: all 0.3s ease;
}

.cf-card:hover {
    box-shadow: 0 12px 30px rgba(24, 72, 160, 0.1);
    transform: translateY(-5px);
}

.cf-stars {
    color: #f5a623;
    font-size: 14px;
    margin-bottom: 15px;
}

.cf-text {
    font-size: 13px;
    color: #555353;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.cf-author strong {
    display: block;
    font-size: 14px;
    color: #1a1a1a;
    font-weight: 600;
}

.cf-author span {
    font-size: 12px;
    color: #888;
}


/* Industries We Serve */
.is-subtitle {
    max-width: 600px;
    margin: 12px auto 0;
    font-size: 14px;
    color: #555353;
}

.is-card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 32px 24px;
    text-align: center;
    height: 100%;
    transition: all 0.35s ease;
}

.is-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(24, 72, 160, 0.12);
    border-color: transparent;
}

.is-icon {
    width: 60px;
    height: 60px;
    background: rgba(24, 72, 160, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    color: #372949;
    font-size: 22px;
    transition: all 0.3s ease;
}

.is-card:hover .is-icon {
    background: linear-gradient(135deg, #372949, #1a6fd4);
    color: #fff;
}

.is-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}

.is-text {
    font-size: 13px;
    color: #555353;
    line-height: 1.65;
    margin: 0;
}


/* ===== Client Logos Slider ===== */
.cl-slider-wrap {
    margin-top: 20px;
}

.cl-logo-box {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 15px;
    transition: all 0.3s ease;
}

.cl-logo-box:hover {
    border-color: #372949;
    box-shadow: 0 8px 20px rgba(24, 72, 160, 0.1);
}

.cl-logo-box img {
    max-height: 55px;
    max-width: 120px;
    object-fit: contain;
/*    filter: grayscale(100%);*/
    opacity: 0.75;
    transition: all 0.3s ease;
}

.cl-logo-box:hover img {
    filter: grayscale(0%);
    opacity: 1;
}


/* ===== Industries We Serve Slider ===== */
.is-subtitle {
    max-width: 600px;
    margin: 12px auto 0;
    font-size: 14px;
    color: #555353;
}

.is-slider-wrap {
    margin-top: 30px;
}

.is-card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 35px 22px;
    text-align: center;
    height: 100%;
    transition: all 0.35s ease;
    margin: 5px;
}

.is-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(24, 72, 160, 0.12);
    border-color: transparent;
}

.is-icon {
    width: 60px;
    height: 60px;
    background: rgba(24, 72, 160, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    color: #372949;
    font-size: 22px;
    transition: all 0.3s ease;
}

.is-card:hover .is-icon {
/*    background: linear-gradient(135deg, #372949, #1a6fd4);*/
    background: #372949;
    color: #fff;
}

.is-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}

.is-text {
    font-size: 13px;
    color: #555353;
    line-height: 1.65;
    margin: 0;
}

/* Smooth slider transitions */
.cl-carousel .owl-stage,
.is-carousel .owl-stage {
    transition-timing-function: linear !important;
}

/* Industry slider navigation arrows */
.is-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    pointer-events: none;
}

.is-carousel .owl-nav button {
    position: absolute;
    width: 42px;
    height: 42px;
    background: #372949 !important;
    color: #fff !important;
    border-radius: 50%;
    font-size: 18px !important;
    pointer-events: auto;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(24, 72, 160, 0.25);
}

.is-carousel .owl-nav button:hover {
    background: #372949 !important;
    transform: scale(1.08);
}

.is-carousel .owl-prev {
    left: -20px;
}

.is-carousel .owl-next {
    right: -20px;
}

@media (max-width: 991px) {
    .is-carousel .owl-prev { left: -8px; }
    .is-carousel .owl-next { right: -8px; }
}


/*about page*/
.hm-about-subtitle {
    font-size: 16px;
    font-weight: 600;
    color: #372949;
    margin: 18px 0 10px;
    font-family: 'Poppins', sans-serif;
}

.hm-about-content p {
    font-size: 13px;
    color: #555353;
    line-height: 1.75;
    margin-bottom: 12px;
}

.hm-check-list {
    margin: 18px 0 10px;
}

.hm-check-list li {
    font-size: 13px;
    margin-bottom: 8px;
}