/* =========================================================
   HYDRA — CENTRAL LUBRICATION SERVICE PAGE
   /public/css/pages/services/centeral_lubrication.css
   ========================================================= */

.page-banner{
    position:relative;
    padding:120px 0 90px;
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    overflow:hidden;
}

.page-banner::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(15,25,45,.72);
}

.page-banner .container{
    position:relative;
    z-index:2;
}

.page-banner h1{
    color:#fff;
    font-size:48px;
    font-weight:700;
    margin-bottom:15px;
}

.page-banner .breadcrumb{
    background:none;
    justify-content:center;
    padding:0;
    margin:0;
}

.page-banner .breadcrumb-item,
.page-banner .breadcrumb-item a{
    color:#fff;
    font-size:15px;
}

.page-banner .breadcrumb-item+.breadcrumb-item::before{
    color:#f9a305;
}

.system-intro{
    padding:90px 0;
}

.system-image{
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 18px 45px rgba(0,0,0,.15);
}

.system-image img{
    width:100%;
    display:block;
    transition:.5s;
}

.system-image:hover img{
    transform:scale(1.04);
}

.system-content h2{
    color:#23244a;
    font-size:38px;
    font-weight:700;
    margin-bottom:25px;
}

.system-content p{
    color:#666;
    font-size:16px;
    line-height:2.1;
    margin-bottom:18px;
}

.component-section{
    padding:90px 0;
    background:#f8f9fb;
}

.section-title{
    font-size:38px;
    font-weight:700;
    color:#23244a;
    margin-bottom:60px;
}

.component-card{
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.35s;
    height:100%;
}

.component-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 40px rgba(0,0,0,.15);
}

.component-card img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.component-card-body{
    padding:25px;
}

.component-card h4{
    font-size:22px;
    font-weight:700;
    color:#23244a;
    margin-bottom:15px;
}

.component-card p{
    color:#666;
    line-height:1.9;
    margin:0;
}

.feature-section{
    padding:90px 0;
}

.feature-box{
    background:#fff;
    border-radius:12px;
    padding:35px 30px;
    text-align:center;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    transition:.3s;
    height:100%;
}

.feature-box:hover{
    background:#23244a;
    transform:translateY(-8px);
}

.feature-icon{
    width:80px;
    height:80px;
    margin:0 auto 25px;
    border-radius:50%;
    background:#f9a305;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:34px;
    transition:.3s;
}

.feature-box:hover .feature-icon{
    transform:rotate(10deg) scale(1.08);
}

.feature-box h4{
    font-size:22px;
    color:#23244a;
    margin-bottom:15px;
    transition:.3s;
}

.feature-box p{
    color:#666;
    line-height:1.9;
    transition:.3s;
}

.feature-box:hover h4,
.feature-box:hover p{
    color:#fff;
}

.application-section{
    padding:90px 0;
    background:#f8f9fb;
}

.application-card{
    position:relative;
    overflow:hidden;
    border-radius:12px;
}

.application-card img{
    width:100%;
    height:280px;
    object-fit:cover;
    transition:.5s;
}

.application-card:hover img{
    transform:scale(1.08);
}

.application-overlay{
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(35,36,74,.68);
    opacity:0;
    transition:.35s;
}

.application-card:hover .application-overlay{
    opacity:1;
}

.application-overlay h5{
    color:#fff;
    font-size:24px;
    font-weight:700;
}

.description-section{
    padding:90px 0;
}

.description-section p{
    color:#666;
    line-height:2.15;
    margin-bottom:20px;
    text-align:justify;
}

.cta-section{
    padding:100px 0;
    background:#23244a;
    text-align:center;
}

.cta-section h2{
    color:#fff;
    font-size:42px;
    margin-bottom:20px;
}

.cta-section p{
    color:#d7d7d7;
    max-width:700px;
    margin:0 auto 35px;
    line-height:2;
}

.cta-btn{
    display:inline-block;
    padding:14px 40px;
    background:#f9a305;
    color:#fff;
    border-radius:40px;
    font-weight:600;
    transition:.3s;
    text-decoration:none;
}

.cta-btn:hover{
    background:#fff;
    color:#23244a;
}


@media(max-width:991px){

    .system-content{
        margin-top:45px;
    }

    .section-title{
        font-size:32px;
        margin-bottom:45px;
    }

    .page-banner h1{
        font-size:38px;
    }

    .system-content h2{
        font-size:32px;
    }
}

@media(max-width:767px){

    .page-banner{
        padding:90px 0 70px;
    }

    .page-banner h1{
        font-size:30px;
    }

    .system-intro,
    .component-section,
    .feature-section,
    .application-section,
    .description-section,
    .cta-section{
        padding:70px 0;
    }

    .system-image{
        margin-bottom:35px;
    }

    .component-card img,
    .application-card img{
        height:220px;
    }

    .cta-section h2{
        font-size:30px;
    }
}

/* =========================================================
   ICON FONTS — protect Font Awesome glyphs
   ========================================================= */
.page-banner i.fas,
.page-banner i.far,
.page-banner i.fal,
.page-banner i.fab,
.page-banner i.fas::before,
.page-banner i.far::before,
.page-banner i.fal::before,
.page-banner i.fab::before,
.description-section i.fas,
.description-section i.far,
.description-section i.fal,
.description-section i.fab,
.description-section i.fas::before,
.description-section i.far::before,
.description-section i.fal::before,
.description-section i.fab::before,
.feature-icon i,
.feature-icon i::before {
    font-family: "Font Awesome 5 Free", "Font Awesome 5 Pro", "FontAwesome", "FontAwesome5Free" !important;
    font-weight: 900 !important;
    font-style: normal !important;
}

/* =========================================================
   ENGLISH PAGES — LTR DIRECTION FIXES
   ========================================================= */

html[dir="ltr"] .system-intro,
html[dir="ltr"] .description-section,
html[dir="ltr"] .component-section,
html[dir="ltr"] .feature-section,
html[dir="ltr"] .application-section,
html[dir="ltr"] .cta-section {
    direction: ltr !important;
}

html[dir="ltr"] .description-section p,
html[dir="ltr"] .system-content p,
html[dir="ltr"] .component-section p,
html[dir="ltr"] .feature-section p,
html[dir="ltr"] .application-section p {
    text-align: left !important;
    direction: ltr !important;
}

html[dir="ltr"] .component-card,
html[dir="ltr"] .component-card-body,
html[dir="ltr"] .component-card h4,
html[dir="ltr"] .component-card p,
html[dir="ltr"] .feature-box,
html[dir="ltr"] .feature-box h4,
html[dir="ltr"] .feature-box p,
html[dir="ltr"] .application-card {
    text-align: center !important;
    direction: ltr !important;
}

html[dir="ltr"] .cta-section {
    text-align: center !important;
}
html[dir="ltr"] .cta-section h2,
html[dir="ltr"] .cta-section p {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

html[dir="ltr"] .list-unstyled {
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: left !important;
    direction: ltr !important;
}
html[dir="ltr"] .list-unstyled li {
    text-align: left !important;
    direction: ltr !important;
}
html[dir="ltr"] .list-unstyled li i.fas,
html[dir="ltr"] .list-unstyled li i.far,
html[dir="ltr"] .list-unstyled li i.fal,
html[dir="ltr"] .list-unstyled li i.fab {
    font-family: "Font Awesome 5 Free", "Font Awesome 5 Pro", "FontAwesome", "FontAwesome5Free" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    margin-left: 0 !important;
    margin-right: 8px !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

/* =========================================================
   ENGLISH — CENTER ONLY THESE TITLES + THEIR LEADS
   ========================================================= */

html[dir="ltr"] .component-section .section-title,
html[dir="ltr"] .component-section .section-title + p {
    text-align: center !important;
    max-width: 820px;
    margin-left: auto !important;
    margin-right: auto !important;
}

html[dir="ltr"] .feature-section .section-title,
html[dir="ltr"] .feature-section .section-title + p {
    text-align: center !important;
    max-width: 820px;
    margin-left: auto !important;
    margin-right: auto !important;
}

html[dir="ltr"] .description-section:not(.bg-light) > .container > .row > .col-lg-12 > .section-title {
    text-align: center !important;
}

/* =========================================================
   ENGLISH — KEEP THESE THREE TITLES LEFT-ALIGNED
   ========================================================= */

html[dir="ltr"] .system-content h2 {
    text-align: left !important;
}

html[dir="ltr"] .description-section.bg-light .section-title {
    text-align: left !important;
}

/* =========================================================
   PERSIAN PAGES — keep RTL layout, fix icon list margins
   ========================================================= */
html[dir="rtl"] .list-unstyled li i.fas,
html[dir="rtl"] .list-unstyled li i.far,
html[dir="rtl"] .list-unstyled li i.fal,
html[dir="rtl"] .list-unstyled li i.fab {
    font-family: "Font Awesome 5 Free", "Font Awesome 5 Pro", "FontAwesome", "FontAwesome5Free" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    margin-right: 0 !important;
    margin-left: 8px !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

/* =========================================================
   BREADCRUMB — white pill, orange current page, correct order
   ========================================================= */

/* Wrapper */
.page-title .page-breadcrumb,
.page-title nav.page-breadcrumb {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* The white pill */
.page-title .page-breadcrumb .breadcrumb {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    width: auto !important;
    max-width: 100% !important;
    background: #ffffff !important;
    margin: 0 auto !important;
    padding: 8px 18px !important;
    border-radius: 4px !important;
    box-shadow: 0 2px 10px rgba(0,0,0,.06) !important;
    gap: 0 !important;
    list-style: none !important;
}

/* Every crumb item */
.page-title .page-breadcrumb .breadcrumb-item {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
    color: #171a1d !important;
}

/* Non-active links — dark text */
.page-title .page-breadcrumb .breadcrumb-item:not(.active) a,
.page-title .page-breadcrumb .breadcrumb-item:not(.active) a:visited {
    display: inline-flex !important;
    align-items: center !important;
    color: #171a1d !important;
    text-decoration: none !important;
}

.page-title .page-breadcrumb .breadcrumb-item:not(.active) a:hover,
.page-title .page-breadcrumb .breadcrumb-item:not(.active) a:focus {
    color: #f9a305 !important;
    text-decoration: none !important;
}

/* Current page — orange */
.page-title .page-breadcrumb .breadcrumb-item.active,
.page-title .page-breadcrumb .breadcrumb-item.active a,
.page-title .page-breadcrumb .breadcrumb-item.active a:visited {
    color: #f9a305 !important;
    text-decoration: none !important;
}

.page-title .page-breadcrumb .breadcrumb-item.active a:hover {
    color: #e58d00 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

/* Separator */
.page-title .page-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "/" !important;
    display: inline-block !important;
    padding: 0 8px !important;
    color: #999999 !important;
    font-size: inherit !important;
}

/* Home icon */
.page-title .page-breadcrumb .breadcrumb-item i {
    color: inherit !important;
}

/* =========================================================
   ORDER — forced per language
   EN: home / services / current
   FA: current / services / home (via RTL)
   ========================================================= */

html[dir="ltr"] .page-title .page-breadcrumb .breadcrumb {
    direction: ltr !important;
    flex-direction: row !important;
}

html[dir="rtl"] .page-title .page-breadcrumb .breadcrumb {
    direction: rtl !important;
    flex-direction: row !important;
}

html[dir="ltr"] .page-title .page-breadcrumb .breadcrumb-item,
html[dir="rtl"] .page-title .page-breadcrumb .breadcrumb-item {
    order: initial !important;
}

/* Mobile */
@media (max-width: 767.98px) {
    .page-title .page-breadcrumb .breadcrumb { padding: 6px 14px !important; }
    .page-title .page-breadcrumb .breadcrumb-item,
    .page-title .page-breadcrumb .breadcrumb-item a,
    .page-title .page-breadcrumb .breadcrumb-item.active,
    .page-title .page-breadcrumb .breadcrumb-item i,
    .page-title .page-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
        font-size: 12px !important;
    }
    .page-title .page-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
        padding: 0 6px !important;
    }
}

/* =========================================================
   ENGLISH — LATIN DIGITS ON BREADCRUMB
   ========================================================= */

html[dir="ltr"] .page-title .page-breadcrumb .breadcrumb,
html[dir="ltr"] .page-title .page-breadcrumb .breadcrumb-item,
html[dir="ltr"] .page-title .page-breadcrumb .breadcrumb-item a,
html[dir="ltr"] .page-title .page-breadcrumb .breadcrumb-item.active,
html[dir="ltr"] .page-title .page-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    font-family: Arial, Helvetica, sans-serif !important;
    font-variant-numeric: lining-nums !important;
    font-feature-settings: "lnum" 1, "tnum" 0 !important;
    unicode-bidi: isolate !important;
}

/* Restore FA icon font on the home icon */
html[dir="ltr"] .page-title .page-breadcrumb .breadcrumb-item i.fas,
html[dir="ltr"] .page-title .page-breadcrumb .breadcrumb-item i.fas::before {
    font-family: "Font Awesome 5 Free", "Font Awesome 5 Pro", "FontAwesome", "FontAwesome5Free" !important;
    font-weight: 900 !important;
    font-style: normal !important;
}

html[dir="rtl"] .page-title .page-breadcrumb .breadcrumb,
html[dir="rtl"] .page-title .page-breadcrumb .breadcrumb-item,
html[dir="rtl"] .page-title .page-breadcrumb .breadcrumb-item a,
html[dir="rtl"] .page-title .page-breadcrumb .breadcrumb-item.active {
    font-family: 'Vazirmatn RD FD', Tahoma, Arial, sans-serif !important;
}

/* =========================================================
   MOBILE — CENTER ALL SECTION TITLES AND LEADS
   ========================================================= */

@media (max-width: 767.98px) {

    /* Every section title + the paragraph right after it */
    .section-title,
    .system-content h2,
    .component-section .section-title,
    .component-section .section-title + p,
    .feature-section .section-title,
    .feature-section .section-title + p,
    .description-section .section-title,
    .description-section.bg-light .section-title,
    .description-section:not(.bg-light) > .container > .row > .col-lg-12 > .section-title,
    .cta-section h2,
    .cta-section p {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Ensure no left/right alignment survives inside content blocks */
    .system-content h2,
    .system-content p,
    .description-section p,
    .description-section .section-title {
        text-align: center !important;
    }

    /* Card titles and text already centered, but lock them */
    .component-card h4,
    .component-card p,
    .feature-box h4,
    .feature-box p,
    .application-overlay h5 {
        text-align: center !important;
    }

    /* The check-list lines can stay left-aligned inside their column
       — remove this block if you want them centered too */
    .list-unstyled,
    .list-unstyled li {
        text-align: right !important;   /* Persian */
    }

    html[dir="ltr"] .list-unstyled,
    html[dir="ltr"] .list-unstyled li {
        text-align: left !important;    /* English */
    }
}

/* =========================================================
   MATCH EN / FA VISUAL FONT SIZE + LINE-HEIGHT
   Vazirmatn renders ~5% larger than Arial at the same px.
   Bump English px slightly + tighten English line-height.
   ========================================================= */

/* ----- Body paragraphs ----- */
.system-content p,
.description-section p,
.component-card p,
.feature-box p,
.application-section p {
    font-size: 16px;
}

html[dir="ltr"] .system-content p,
html[dir="ltr"] .description-section p,
html[dir="ltr"] .component-card p,
html[dir="ltr"] .feature-box p,
html[dir="ltr"] .application-section p {
    font-size: 16.5px !important;
    line-height: 1.85 !important;
}

html[dir="rtl"] .system-content p,
html[dir="rtl"] .description-section p,
html[dir="rtl"] .component-card p,
html[dir="rtl"] .feature-box p,
html[dir="rtl"] .application-section p {
    font-size: 16px !important;
    line-height: 2.1 !important;
}

/* ----- Section titles ----- */
html[dir="ltr"] .section-title,
html[dir="ltr"] .system-content h2 {
    font-size: 39px !important;
    line-height: 1.35 !important;
}

html[dir="rtl"] .section-title,
html[dir="rtl"] .system-content h2 {
    font-size: 38px !important;
    line-height: 1.6 !important;
}

/* ----- Card titles (h4) ----- */
html[dir="ltr"] .component-card h4,
html[dir="ltr"] .feature-box h4 {
    font-size: 22.5px !important;
    line-height: 1.4 !important;
}

html[dir="rtl"] .component-card h4,
html[dir="rtl"] .feature-box h4 {
    font-size: 22px !important;
    line-height: 1.7 !important;
}

/* ----- Hero h1 ----- */
html[dir="ltr"] .page-title h1.title {
    font-size: 49px !important;
    line-height: 1.25 !important;
}

html[dir="rtl"] .page-title h1.title {
    font-size: 48px !important;
    line-height: 1.45 !important;
}

/* ----- CTA heading ----- */
html[dir="ltr"] .cta-section h2 {
    font-size: 43px !important;
    line-height: 1.3 !important;
}

html[dir="rtl"] .cta-section h2 {
    font-size: 42px !important;
    line-height: 1.55 !important;
}

/* ----- CTA paragraph ----- */
html[dir="ltr"] .cta-section p {
    font-size: 16.5px !important;
    line-height: 1.9 !important;
}

html[dir="rtl"] .cta-section p {
    font-size: 16px !important;
    line-height: 2.1 !important;
}

/* ----- Mobile: same treatment, smaller base sizes ----- */
@media (max-width: 767.98px) {

    html[dir="ltr"] .system-content p,
    html[dir="ltr"] .description-section p,
    html[dir="ltr"] .component-card p,
    html[dir="ltr"] .feature-box p,
    html[dir="ltr"] .application-section p {
        font-size: 15.5px !important;
        line-height: 1.8 !important;
    }

    html[dir="rtl"] .system-content p,
    html[dir="rtl"] .description-section p,
    html[dir="rtl"] .component-card p,
    html[dir="rtl"] .feature-box p,
    html[dir="rtl"] .application-section p {
        font-size: 15px !important;
        line-height: 2 !important;
    }

    html[dir="ltr"] .section-title,
    html[dir="ltr"] .system-content h2 {
        font-size: 31px !important;
    }
    html[dir="rtl"] .section-title,
    html[dir="rtl"] .system-content h2 {
        font-size: 30px !important;
    }

    html[dir="ltr"] .page-title h1.title { font-size: 31px !important; }
    html[dir="rtl"] .page-title h1.title { font-size: 30px !important; }

    html[dir="ltr"] .cta-section h2 { font-size: 31px !important; }
    html[dir="rtl"] .cta-section h2 { font-size: 30px !important; }
}