.card-content h3{
    color:#111111 !important;
    opacity:1 !important;
    visibility:visible !important;
    display:block !important;
}

.command-content h2{
    color:#000000 !important;
}

.command-content p{
    color:#000000 !important;
}

.command-features li{
    color:#000000 !important;
}

.section-tag{
    color:#000000 !important;
    background:rgba(217,31,38,.25) !important;
}

.command-image h3{
    color:#000000 !important;
}

.feature-box h4{
    color:#000000 !important;
}

.feature-box p{
    color:#000000 !important;
}

.command-content h2,
.section-header h2{
    font-size:clamp(2rem,5vw,4rem);
}



.site-content{
    max-width:100% !important;
    width:100% !important;
    padding:0 !important;
}

.content-area{
    width:100% !important;
    max-width:100% !important;
}

.site-main{
    width:100% !important;
    max-width:100% !important;
}
.container{
    width:97% !important;
    max-width:100% !important;
    padding:0 !important;
}



/* =========================================
   PREMIUM HERO SECTION
========================================= */

.hero{

    min-height:100svh;

    position:relative;

    display:flex;

    align-items:center;

    background-image:
    url("../images7/hanger-in-well-downhole.webp");

    background-size:cover;

    background-position:center center;

    background-repeat:no-repeat;

    overflow:hidden;
}

/* =========================================
   OVERLAY
========================================= */

.hero-overlay{

    position:absolute;

    inset:0;

    background:
    linear-gradient(
        90deg,
        rgba(0,0,0,.88) 0%,
        rgba(0,0,0,.72) 40%,
        rgba(0,0,0,.35) 100%
    );
}

/* =========================================
   LAYOUT
========================================= */

.hero-wrapper{
    width:100%;
    max-width:1600px;
    margin:0 auto;

    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:60px;

    min-height:100vh;
}

.hero-text{
    flex:0 0 55%;
}

.hero-card{
    flex:0 0 40%;
}
/* =========================================
   HERO TEXT
========================================= */

.hero-text{

    opacity:0;

    transform:translateY(40px);

    animation:
    heroFade .9s cubic-bezier(.22,.61,.36,1)
    forwards;
}

.hero-line{

    width:80px;

    height:4px;

    background:#d91f26;

    display:block;

    margin-bottom:25px;
}

.hero-text h1{

    color:#fff;

    font-size:clamp(2.5rem,6vw,5rem);

    line-height:1;

    font-weight:800;

    margin-bottom:25px;

    text-shadow:
    0 4px 20px rgba(0,0,0,.35);
}

.hero-text p{

    color:#e5e5e5;

    font-size:1.1rem;

    max-width:600px;

    margin-bottom:35px;

    line-height:1.8;
}

/* =========================================
   HERO CARD
========================================= */

.hero-card{

    opacity:0;

    transform:translateY(40px);

    animation:
    heroFade 1.2s cubic-bezier(.22,.61,.36,1)
    forwards;

    background:
    rgba(20,20,20,.78);

    backdrop-filter:
    blur(8px);

    border:
    1px solid rgba(255,255,255,.08);

    border-radius:22px;

    padding:40px;

    box-shadow:
    0 25px 60px rgba(0,0,0,.25);

    transition:.35s ease;
}

.hero-card:hover{

    transform:
    translateY(-5px);

    border-color:
    rgba(217,31,38,.45);

    box-shadow:
    0 30px 70px rgba(0,0,0,.35);
}

.hero-card-tag{

    display:inline-block;

    background:
    rgba(217,31,38,.15);

    border:
    1px solid rgba(217,31,38,.25);

    color:#fff;

    padding:8px 18px;

    border-radius:50px;

    font-size:.75rem;

    letter-spacing:1px;

    font-weight:600;

    margin-bottom:20px;
}

.hero-card h3{

    color:#fff;

    font-size:1.6rem;

    margin-bottom:30px;

    line-height:1.3;
}

/* =========================================
   CARD LIST
========================================= */

.hero-card ul{

    list-style:none;

    padding:0;

    margin:0;
}

.hero-card li{

    display:flex;

    align-items:center;

    gap:12px;

    color:#e8e8e8;

    margin-bottom:18px;

    transition:.3s ease;
}

.hero-card li:hover{

    padding-left:10px;

    color:#fff;
}

.hero-card li i{

    color:#d91f26;

    font-size:15px;
}

/* =========================================
   CARD FOOTER
========================================= */

.hero-card-footer{

    display:flex;

    gap:20px;

    margin-top:30px;

    padding-top:25px;

    border-top:
    1px solid rgba(255,255,255,.08);
}

.hero-stat{

    flex:1;
}

.hero-stat h4{

    color:#fff;

    font-size:2rem;

    font-weight:700;

    margin-bottom:5px;
}

.hero-stat span{

    color:#bfbfbf;

    font-size:.9rem;
}

/* =========================================
   PREMIUM BUTTON
========================================= */

.hero .btn-primary{

    display:inline-flex;

    align-items:center;

    gap:12px;

    padding:18px 36px;

    background:#d91f26;

    color:#fff;

    border-radius:10px;

    font-weight:600;

    letter-spacing:.5px;

    position:relative;

    overflow:hidden;

    transition:.35s ease;

    box-shadow:
    0 10px 25px rgba(217,31,38,.25);
}

.hero .btn-primary::before{

    content:"";

    position:absolute;

    top:0;

    left:-100%;

    width:100%;

    height:100%;

    background:
    linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.18),
        transparent
    );

    transition:.6s;
}

.hero .btn-primary:hover::before{

    left:100%;
}

.hero .btn-primary:hover{

    background:#b9181f;

    transform:translateY(-3px);

    box-shadow:
    0 18px 35px rgba(217,31,38,.35);
}

/* =========================================
   ANIMATION
========================================= */

@keyframes heroFade{

    from{

        opacity:0;

        transform:
        translateY(40px);
    }

    to{

        opacity:1;

        transform:
        translateY(0);
    }

}

/* =========================================
   MOBILE
========================================= */
@media(max-width:768px){

    .hero{
        min-height:auto;
        padding:120px 0 80px;
    }

    .hero-wrapper{
        min-height:auto;
    }

}

@media(max-width:768px){

    .hero-text h1{
        font-size:2.5rem;
        line-height:1.2;
    }

}

/* =========================================
   COMMAND SET SECTION
========================================= */

.command-set{
    background:
    linear-gradient(
        135deg,
        #f9fafb 0%,
        #eef2f6 40%,
        #e5eaef 100%
    );
    position:relative;
    overflow:hidden;
}

.command-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:80px;

    align-items:center;
}

/* =========================================
   CONTENT
========================================= */

.command-content{

    animation:
    commandFade .8s ease forwards;
}

.section-tag{

    display:inline-block;

    background:
    rgba(217,31,38,.08);

    color:var(--primary);

    padding:10px 22px;

    border-radius:40px;

    font-size:.85rem;

    font-weight:600;

    margin-bottom:25px;

    transition:.3s ease;
}

.section-tag:hover{

    background:
    rgba(217,31,38,.15);

    transform:
    translateY(-2px);
}

.command-content h2{

    font-size:4rem;

    line-height:1.1;

    font-weight:800;

    color:var(--secondary);

    margin-bottom:20px;
}

.command-content p{

    color:var(--gray);

    font-size:1.05rem;

    line-height:1.9;

    margin-bottom:20px;
}

/* =========================================
   DIVIDER
========================================= */

.section-divider{

    display:block;

    width:90px;

    height:4px;

    background:var(--primary);

    margin:25px 0 35px;

    position:relative;

    overflow:hidden;
}

.section-divider::after{

    content:"";

    position:absolute;

    top:0;

    left:-100%;

    width:100%;

    height:100%;

    background:
    rgba(255,255,255,.7);

    animation:
    dividerShine 3s infinite;
}

@keyframes dividerShine{

    from{
        left:-100%;
    }

    to{
        left:120%;
    }
}

/* =========================================
   FEATURE LIST
========================================= */

.command-features{

    margin:30px 0;

    padding:0;

    list-style:none;
}

.command-features li{

    position:relative;

    padding-left:30px;

    margin-bottom:16px;

    color:#444;

    font-size:16px;

    line-height:1.8;

    transition:.3s ease;
}

.command-features li:hover{

    transform:
    translateX(8px);

    color:#111;
}

.command-features li::before{

    content:"✓";

    position:absolute;

    left:0;

    top:0;

    font-weight:700;

    color:#d91f26;
}

/* =========================================
   IMAGE SIDE
========================================= */

.command-image{

    position:relative;

    text-align:center;
}

.command-image h3{

    font-size:1.3rem;

    font-weight:700;

    color:#111;

    margin-bottom:25px;
}

/* =========================================
   TOOL IMAGE
========================================= */

.command-image img{

    max-width:520px;

    margin:auto;

    filter:
    drop-shadow(
    0 25px 45px rgba(0,0,0,.18));

    animation:
    toolReveal 1.2s cubic-bezier(.22,.61,.36,1)
    forwards;

    transition:
    transform .5s ease;
}

.command-image:hover img{

    transform:
    scale(1.04)
    rotate(-2deg);
}

@keyframes toolReveal{

    from{

        opacity:0;

        transform:
        translateX(80px)
        rotate(-6deg);
    }

    to{

        opacity:1;

        transform:
        translateX(0)
        rotate(0deg);
    }
}

/* =========================================
   FEATURE BOXES
========================================= */

.feature-boxes{

    display:grid;

    gap:20px;

    margin-top:40px;
}

.feature-box{

    background:#fff;

    border:1px solid #ececec;

    border-radius:18px;

    padding:24px;

    display:flex;

    align-items:center;

    gap:18px;

    box-shadow:
    0 10px 30px rgba(0,0,0,.05);

    transition:
    all .35s ease;

    opacity:0;

    transform:
    translateY(40px);

    animation:
    featureReveal .8s ease forwards;
}

.feature-box:nth-child(1){
    animation-delay:.3s;
}

.feature-box:nth-child(2){
    animation-delay:.5s;
}

.feature-box:nth-child(3){
    animation-delay:.7s;
}

.feature-box:hover{

    transform:
    translateY(-8px);

    box-shadow:
    0 20px 40px rgba(0,0,0,.08);

    border-color:
    rgba(217,31,38,.3);
}

@keyframes featureReveal{

    from{

        opacity:0;

        transform:
        translateY(40px);
    }

    to{

        opacity:1;

        transform:
        translateY(0);
    }
}

.feature-box i{

    width:58px;

    height:58px;

    border-radius:50%;

    background:
    rgba(217,31,38,.08);

    color:var(--primary);

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:1.4rem;

    transition:.3s;
}

.feature-box:hover i{

    background:var(--primary);

    color:#fff;

    transform:
    rotate(360deg);
}

.feature-box h4{

    font-size:1.1rem;

    font-weight:700;

    margin-bottom:5px;

    color:#111;
}

.feature-box p{

    margin:0;

    color:#666;

    font-size:.95rem;
}

/* =========================================
   SECTION LOAD
========================================= */

@keyframes commandFade{

    from{

        opacity:0;

        transform:
        translateY(30px);
    }

    to{

        opacity:1;

        transform:
        translateY(0);
    }
}

/* =========================================
   MOBILE
========================================= */

@media(max-width:991px){

    .command-grid{

        grid-template-columns:1fr;

        gap:60px;
    }

    .command-content h2{

        font-size:3rem;
    }
}

@media(max-width:768px){

    .command-content h2{

        font-size:2.4rem;
    }

    .command-image img{

        max-width:100%;
    }

    .feature-box{

        padding:18px;
    }
}

/* =========================================
   HYDRAULIC SECTION PREMIUM
========================================= */

.hydraulic-section{

    position:relative;

    padding:70px 0;

    background:
linear-gradient(
rgba(8,12,18,.82),
rgba(8,12,18,.82)
),
url("images/1.png");
    background-size:cover;

    background-position:center center;

    background-repeat:no-repeat;

    background-attachment:fixed;
}



/* =========================================
   RED AMBIENT GLOW
========================================= */

.hydraulic-section::after{

    content:"";

    position:absolute;

    top:-250px;

    right:-250px;

    width:800px;

    height:800px;

    border-radius:50%;

    background:
    radial-gradient(
        circle,
        rgba(217,31,38,.08),
        transparent 70%
    );

    pointer-events:none;
}

/* =========================================
   CONTAINER
========================================= */

.hydraulic-section .container{

    position:relative;

    z-index:2;
}

/* =========================================
   SECTION HEADER
========================================= */
.hydraulic-section .section-header{

    max-width:1400px;

    margin:0 auto 80px;
}

.hydraulic-section .section-description{

    max-width:1400px;

    margin:0 auto;

    font-size:1.15rem;

    line-height:1.8;

    color:rgba(255,255,255,.85);
}
.section-header{

    text-align:center;

    max-width:900px;

    margin:0 auto 90px;
}

.section-subtitle{

    display:inline-block;

    color:#d91f26;

    font-size:.9rem;

    font-weight:700;

    letter-spacing:3px;

    text-transform:uppercase;

    margin-bottom:20px;
}

.section-header h2{

    font-size:4rem;

    font-weight:800;

    line-height:1.1;

    color:#ffffff;

    margin-bottom:25px;

    letter-spacing:-2px;
}

.section-header p{

    max-width:700px;

    margin:auto;

    color:#d9d9d9;

    line-height:1.9;

    font-size:1.1rem;
}

/* =========================================
   PRODUCT GRID
========================================= */

.product-grid{

    display:grid;

    grid-template-columns:
    repeat(4,1fr);

    gap:35px;
}

/* =========================================
   PRODUCT CARD
========================================= */

.product-card{

    background:#ffffff;

    border:none;

    border-radius:24px;

    overflow:hidden;

    box-shadow:
    0 20px 60px rgba(0,0,0,.15);

    transition:.4s ease;
    position:relative;
}

.product-card:hover{

    transform:
    translateY(-8px);

    box-shadow:
    0 30px 80px rgba(0,0,0,.25);
}

.product-card::before{

    content:"";

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:4px;

    background:#d91f26;
}
/* =========================================
   IMAGE AREA
========================================= */

.card-image{

    min-height:260px;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:40px 30px;
}

.card-image img{

    max-width:100%;

    transition:
    transform .5s ease;
}

.product-card:hover img{

    transform:
    scale(1.08)
    rotate(-2deg);
}

/* =========================================
   CARD CONTENT
========================================= */

.card-content{

    padding:35px 25px 40px;

    text-align:center;
}

.card-content h3{

    font-size:1.55rem;

    font-weight:700;

    line-height:1.4;

    color:#111;

    min-height:90px;

    margin-bottom:25px;
}

/* =========================================
   BUTTON
========================================= */

.card-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:14px 32px;

    border-radius:50px;

    border:2px solid #d91f26;

    color:#d91f26;

    font-weight:600;

    transition:.35s ease;
}

.card-btn:hover{

    background:#d91f26;

    color:#fff;

    transform:
    translateY(-3px);
}

/* =========================================
   EXPLORE BUTTON
========================================= */

.section-btn{

    text-align:center;

    margin-top:70px;
}

.section-btn .btn-primary{

    display:inline-flex;

    align-items:center;

    gap:12px;

    padding:18px 42px;

    border-radius:50px;

    background:#d91f26;

    color:#fff;

    font-weight:600;

    transition:.35s ease;

    box-shadow:
    0 15px 35px rgba(217,31,38,.2);
}

.section-btn .btn-primary:hover{

    transform:
    translateY(-4px);

    box-shadow:
    0 25px 45px rgba(217,31,38,.3);
}

/* =========================================
   RESPONSIVE
========================================= */

@media(max-width:1200px){

    .product-grid{

        grid-template-columns:
        repeat(2,1fr);
    }
}

@media(max-width:768px){

    .product-grid{

        grid-template-columns:1fr;
    }

    .section-header h2{

        font-size:2.8rem;
    }

    .hydraulic-section{

        padding:80px 0;
    }
}

/* =========================================
   MECHANICAL SECTION
========================================= */

.mechanical-section{

    position:relative;

    padding:90px 0;

    background:
    linear-gradient(
        135deg,
        #2d323c 0%,
        #434a56 50%,
        #5a616d 100%
    );

    overflow:hidden;
}

/* =========================================
   RED GLOW EFFECT
========================================= */

.mechanical-section::after{

    content:"";

    position:absolute;

    top:-250px;

    right:-250px;

    width:700px;

    height:700px;

    border-radius:50%;

    background:
    radial-gradient(
        circle,
        rgba(217,31,38,.12),
        transparent 70%
    );

    pointer-events:none;
}

/* =========================================
   CONTAINER
========================================= */

.mechanical-section .container{

    position:relative;

    z-index:2;
}

/* =========================================
   HEADER
========================================= */
.mechanical-section .section-header{

    max-width:1400px;

    margin:0 auto 80px;

    text-align:center;
}

.mechanical-section .section-description{

    max-width:1200px;

    margin:0 auto;

    font-size:1.15rem;

    line-height:1.8;

    color:rgba(255,255,255,.85);

    font-weight:400;
}




/* =========================================
   GRID
========================================= */

.mechanical-grid{

    display:grid;

    grid-template-columns:
    repeat(3,1fr);

    gap:35px;
}

/* =========================================
   CARD
========================================= */

.mechanical-card{

    background:#ffffff;

    border-radius:28px;

    overflow:hidden;

    position:relative;

    transition:.4s ease;

    box-shadow:
    0 20px 50px rgba(0,0,0,.15);
}

.mechanical-card::before{

    content:"";

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:5px;

    background:
    linear-gradient(
        90deg,
        #d91f26,
        #ff4d4d
    );
}

.mechanical-card:hover{

    transform:
    translateY(-12px);

    box-shadow:
    0 35px 80px rgba(0,0,0,.25);
}

/* =========================================
   IMAGE AREA
========================================= */

.mechanical-card .card-image{

    min-height:300px;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:40px;

    background:
    linear-gradient(
        180deg,
        #fafafa,
        #f0f2f5
    );
}

.mechanical-card .card-image img{

    max-width:100%;

    transition:.5s ease;
}

.mechanical-card:hover .card-image img{

    transform:
    scale(1.08)
    rotate(-2deg);
}

/* =========================================
   CONTENT
========================================= */

.mechanical-section .section-header{

    max-width:1200px;

    margin:0 auto 80px;

    text-align:center;
}

.mechanical-section .section-header h2{

    font-size:5rem;

    font-weight:800;

    line-height:1;

    color:#fff;

    letter-spacing:-3px;

    margin-bottom:30px;

    
}
@media(max-width:768px){

    .mechanical-section .section-header h2{
        white-space:normal;
        font-size:2.8rem;
    }

}
/* =========================================
   BUTTON
========================================= */

.mechanical-card .card-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:14px 30px;

    border-radius:50px;

    border:2px solid #d91f26;

    color:#d91f26;

    font-weight:600;

    transition:.35s ease;
}

.mechanical-card .card-btn:hover{

    background:#d91f26;

    color:#fff;

    transform:
    translateY(-3px);
}

/* =========================================
   EXPLORE BUTTON
========================================= */

.mechanical-section .section-btn{

    text-align:center;

    margin-top:70px;
}

.mechanical-section .btn-primary{

    display:inline-flex;

    align-items:center;

    gap:12px;

    padding:18px 42px;

    border-radius:50px;

    background:#d91f26;

    color:#fff;

    font-weight:600;

    transition:.35s ease;

    box-shadow:
    0 15px 35px rgba(217,31,38,.25);
}

.mechanical-section .btn-primary:hover{

    transform:
    translateY(-5px);

    box-shadow:
    0 25px 50px rgba(217,31,38,.35);
}

/* =========================================
   RESPONSIVE
========================================= */

@media(max-width:1200px){

    .mechanical-grid{

        grid-template-columns:
        repeat(2,1fr);
    }
}

@media(max-width:768px){

    .mechanical-grid{

        grid-template-columns:1fr;
    }

    .mechanical-section .section-header h2{

        font-size:2.8rem;
    }

    .mechanical-card .card-image{

        min-height:240px;
    }
}













/* ==========================
   FOOTER
========================== */

.footer{
    background:#000;
    color:#fff;
}

.footer-top{
    max-width:1400px;
    margin:auto;
    padding:70px 8%;
    display:grid;
    grid-template-columns:1.5fr 1fr 1fr 1fr;
    gap:40px;
}

.footer-box{
    padding-right:30px;
}

.footer-box h3{
    color:#d32f2f;
    font-size:22px;
    margin-bottom:20px;
}

.footer-box h4{
    margin-bottom:15px;
    font-size:18px;
    color:#fff;
}

.footer-box p{
    color:#cfcfcf;
    line-height:1.8;
    margin-bottom:10px;
}

.footer-box ul{
    list-style:none;
    padding:0;
    margin:0;
}

.footer-box ul li{
    margin-bottom:12px;
}

.footer-box ul li a{
    color:#cfcfcf;
    text-decoration:none;
    transition:0.3s;
}

.footer-box ul li a:hover{
    color:#d32f2f;
    padding-left:5px;
}

.footer-sub-box{
    margin-bottom:35px;
}

.footer-sub-box:last-child{
    margin-bottom:0;
}

/* Social Icons */

.footer-social{
    display:flex;
    gap:12px;
    margin-top:25px;
}

.footer-social a{
    width:42px;
    height:42px;
    border:1px solid rgba(255,255,255,0.2);
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    text-decoration:none;
    transition:0.3s;
}

.footer-social a:hover{
    background:#d32f2f;
    border-color:#d32f2f;
    transform:translateY(-3px);
}

/* Bottom */

.footer-bottom{
    border-top:1px solid rgba(255,255,255,0.1);
    padding:25px 8%;
    text-align:center;
}

.footer-links{
    display:flex;
    justify-content:center;
    gap:25px;
    flex-wrap:wrap;
    margin-bottom:15px;
}

.footer-links a{
    color:#cfcfcf;
    text-decoration:none;
}

.footer-links a:hover{
    color:#d32f2f;
}

.footer-bottom p{
    color:#999;
    margin:0;
}

/* Mobile */

@media(max-width:991px){

    .footer-top{
        grid-template-columns:1fr;
        gap:40px;
    }

    .footer-box{
        padding-right:0;
    }

}
.floating-social{
    position:fixed;
    right:15px;
    top:50%;
    transform:translateY(-50%);
    display:flex;
    flex-direction:column;
    gap:10px;
    z-index:9999;
}

.floating-social a{
    width:42px;
    height:42px;
    background:#071b38;
    color:#fff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    font-size:18px;
    box-shadow:0 5px 15px rgba(0,0,0,0.15);
    transition:.3s;
}

.floating-social a:hover{
    background:#d32f2f;
    transform:translateX(-4px);
}

.supplier-logo{
    width:140px;
    height:auto;
    margin-top:10px;
    display:block;
    border-radius:4px;
    background:#fff;
    padding:5px;
}
/* Links */
.contact-link{
    display:flex;
    align-items:center;
    gap:10px;
    color:inherit;
    text-decoration:none;
}
/* WhatsApp Contact Link */

.whatsapp-link{
    display:flex;
    align-items:center;
    gap:10px;
    color:inherit;
    text-decoration:none;
    transition:0.3s ease;
}

.whatsapp-link i{
    font-size:20px;
    color:#25D366;
}

.whatsapp-link:hover{
    color:#25D366;
}

.whatsapp-link:hover i{
    transform:scale(1.1);
}
.website-link{
    color:inherit;
    text-decoration:none;
    transition:0.3s ease;
}

.website-link:hover{
    color:#d32f2f;
}
.footer-address{
    color:inherit;
    text-decoration:none;
    display:inline-block;
    transition:0.3s ease;
}

.footer-address:hover{
    color:#d32f2f;
}
.phone-link{
    display:flex;
    align-items:center;
    gap:10px;
    color:inherit;
    text-decoration:none;
    transition:0.3s ease;
}

.phone-link:hover{
    color:#d32f2f;
}
.phone-link i{
    font-size:20px;
    color:#071b38;
}
.phone-link:hover i{
    transform:scale(1.1);
}


/* =========================================
   CARD SHINE EFFECT
========================================= */

.product-card::after{

    content:"";

    position:absolute;

    top:0;
    left:-120%;

    width:70%;

    height:100%;

    background:
    linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,.45),
    transparent);

    transition:.8s;
}

.product-card:hover::after{

    left:130%;
}

/* =========================================
   PRODUCT GRID
========================================= */



.section-btn{
    text-align:center;
    margin-top:60px;
}

/* =========================================
   PRODUCT CARD
========================================= */

.product-card{

    background:#fff;

    border-radius:24px;

    overflow:hidden;

    position:relative;

    box-shadow:
    0 15px 35px rgba(0,0,0,.06);

    transition:all .4s ease;
}

.product-card:hover{

    transform:
    translateY(-12px);

    box-shadow:
    0 25px 50px rgba(0,0,0,.12);
}

.product-card::before{

    content:"";

    position:absolute;

    top:0;
    left:0;

    width:100%;
    height:5px;

    background:var(--primary);

    transform:scaleX(0);

    transition:.4s;
}

.product-card:hover::before{

    transform:scaleX(1);
}

.card-image{

    background:
    linear-gradient(
    135deg,
    #f7f7f7,
    #ffffff);

    padding:40px;
}

.card-image img{

    height:240px;

    object-fit:contain;

    transition:.4s;
}

.product-card:hover .card-image img{

    transform:
    scale(1.08)
    rotate(-2deg);
}

.card-content{

    padding:30px;
    text-align:center;
}

.card-content h3{

    font-size:1.1rem;

    font-weight:700;

    color:var(--secondary);

    margin-bottom:20px;

    min-height:60px;
}
/* =========================================
   RUNNING & SETTING TOOLS
========================================= */

.tools-section{

    position:relative;

    overflow:hidden;

    padding:100px 0;

    background:
    linear-gradient(
        135deg,
        #f8f9fb 0%,
        #eef2f6 100%
    );
}

.tools-section::before{

    content:"";

    position:absolute;

    top:-200px;

    left:-200px;

    width:600px;

    height:600px;

    border-radius:50%;

    background:
    radial-gradient(
        circle,
        rgba(217,31,38,.06),
        transparent 70%
    );

    pointer-events:none;
}

/* =========================================
   HEADER
========================================= */

.tools-section .section-header{

    text-align:center;

    max-width:900px;

    margin:0 auto 80px;
}

.tools-section .section-header h2{

    font-size:4rem;

    font-weight:800;

    color:#111;

    margin-bottom:20px;

    letter-spacing:-2px;
}

.tools-section .section-header p{

    color:#666;

    max-width:700px;

    margin:auto;
}

/* =========================================
   TOOLS GRID
========================================= */

.tools-section .product-grid{

    display:grid;

    grid-template-columns:
    repeat(2,1fr);

    gap:50px;

    max-width:1000px;

    margin:auto;
}

/* =========================================
   TOOL CARD
========================================= */

.tools-section .product-card{

    background:#fff;

    border-radius:30px;

    overflow:hidden;

    position:relative;

    box-shadow:
    0 20px 50px rgba(0,0,0,.08);

    transition:.4s ease;
}

.tools-section .product-card:hover{

    transform:
    translateY(-12px);

    box-shadow:
    0 35px 80px rgba(0,0,0,.15);
}

.tools-section .product-card::before{

    content:"";

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:5px;

    background:
    linear-gradient(
        90deg,
        #d91f26,
        #ff4d4d
    );
}

/* =========================================
   IMAGE
========================================= */

.tools-section .card-image{

    min-height:320px;

    display:flex;

    align-items:center;

    justify-content:center;

    padding:40px;

    background:
    linear-gradient(
        180deg,
        #f8f9fb,
        #ffffff
    );
}

.tools-section .card-image img{

    max-width:100%;

    transition:.5s ease;
}

.tools-section .product-card:hover img{

    transform:
    scale(1.08);
}

/* =========================================
   CONTENT
========================================= */

.tools-section .card-content{

    text-align:center;

    padding:35px;
}

.tools-section .card-content h3{

    font-size:1.5rem;

    font-weight:700;

    color:#111;

    margin-bottom:25px;
}

/* =========================================
   BUTTON
========================================= */

.tools-section .card-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    min-width:170px;

    height:50px;

    border-radius:50px;

    border:2px solid #d91f26;

    color:#d91f26;

    font-weight:600;

    transition:.35s ease;
}

.tools-section .card-btn:hover{

    background:#d91f26;

    color:#fff;
}

/* =========================================
   EXPLORE BUTTON
========================================= */

.tools-section .btn-primary{

    padding:18px 42px;

    border-radius:50px;

    background:#d91f26;

    color:#fff;

    font-weight:600;

    box-shadow:
    0 15px 35px rgba(217,31,38,.2);
}

.tools-section .btn-primary:hover{

    transform:
    translateY(-4px);

    box-shadow:
    0 25px 45px rgba(217,31,38,.3);
}

/* =========================================
   MOBILE
========================================= */

@media(max-width:768px){

    .tools-section .product-grid{

        grid-template-columns:1fr;
    }

    .tools-section .section-header h2{

        font-size:2.8rem;
    }
}

@media(max-width:768px){

    .floating-social{
        display:none;
    }

}

@media(max-width:768px){

    .hero-wrapper,
    .command-grid{
        gap:30px;
    }

}

/* =========================================
   RESPONSIVE LAYOUT FOUNDATION
   Keeps the page aligned from 320px phones to large desktops.
========================================= */

*,
*::before,
*::after{
    box-sizing:border-box;
}

html{
    overflow-x:clip;
}

body{
    overflow-x:hidden;
}

img{
    display:block;
    max-width:100%;
    height:auto;
}

.section-padding{
    padding-block:clamp(4rem, 7vw, 6.25rem);
}

/* A single max-width and consistent side gutter for every content section. */
.container{
    width:min(1400px, calc(100% - clamp(2rem, 6vw, 7.5rem))) !important;
    max-width:none !important;
    margin-inline:auto !important;
    padding:0 !important;
}

.hero-wrapper,
.command-grid,
.product-grid,
.mechanical-grid,
.footer-top{
    min-width:0;
}

.hero-wrapper{
    position:relative;
    z-index:1;
    min-height:100svh;
    padding-block:clamp(5rem, 8vw, 7.5rem);
}

.hero-text,
.hero-card,
.command-content,
.command-image,
.product-card,
.mechanical-card,
.footer-box{
    min-width:0;
}

.hero-text h1,
.section-header h2,
.card-content h3,
.feature-box h4{
    overflow-wrap:anywhere;
}

.hero-text p,
.section-header p,
.section-description,
.feature-box p,
.footer-box p,
.footer-box a{
    overflow-wrap:break-word;
}

.command-grid{
    grid-template-columns:minmax(0, 1fr) minmax(0, 1fr);
}

.product-grid{
    grid-template-columns:repeat(4, minmax(0, 1fr));
}

.mechanical-grid{
    grid-template-columns:repeat(3, minmax(0, 1fr));
}

.command-image img{
    width:min(100%, 520px);
    height:auto;
}

.card-image,
.mechanical-card .card-image,
.tools-section .card-image{
    min-height:260px;
    padding:clamp(1.5rem, 3vw, 2.5rem);
}

.card-image img,
.mechanical-card .card-image img,
.tools-section .card-image img{
    width:100%;
    height:240px;
    object-fit:contain;
}

.product-card::after{
    pointer-events:none;
}

.footer-top{
    width:min(1400px, calc(100% - clamp(2rem, 6vw, 7.5rem)));
    max-width:none;
    padding:clamp(3.5rem, 6vw, 4.5rem) 0;
}

/* Tablet: retain balanced card grids, while two-column content stacks cleanly. */
@media (max-width:1199px){
    .hero-wrapper{
        gap:clamp(2rem, 4vw, 3.75rem);
    }

    .product-grid{
        grid-template-columns:repeat(2, minmax(0, 1fr));
        gap:clamp(1.5rem, 3vw, 2.2rem);
    }

    .mechanical-grid{
        grid-template-columns:repeat(2, minmax(0, 1fr));
        gap:clamp(1.5rem, 3vw, 2.2rem);
    }

    .footer-top{
        grid-template-columns:repeat(2, minmax(0, 1fr));
        gap:2.5rem;
    }
}

@media (max-width:991px){
    .hero{
        min-height:auto;
    }

    .hero-wrapper{
        min-height:auto;
        flex-direction:column;
        align-items:stretch;
        gap:2.5rem;
    }

    .hero-text,
    .hero-card{
        flex:0 1 auto;
        width:100%;
    }

    .hero-text{
        max-width:45rem;
    }

    .hero-text p{
        max-width:none;
    }

    .command-grid{
        grid-template-columns:minmax(0, 1fr);
        gap:3.5rem;
    }

    .command-content,
    .command-image{
        width:100%;
    }

    .command-image{
        max-width:42rem;
        margin-inline:auto;
    }

    .hydraulic-section{
        background-attachment:scroll;
    }
}

/* Phone: one clear content column, compact type, and touch-friendly controls. */
@media (max-width:767px){
    .container,
    .footer-top{
        width:calc(100% - 2.5rem) !important;
    }

    .section-padding{
        padding-block:4rem;
    }

    .hero-wrapper{
        padding-block:5.5rem 4rem;
        gap:2rem;
    }

    .hero-text h1{
        font-size:clamp(2.25rem, 12vw, 3.25rem);
        line-height:1.08;
        margin-bottom:1.25rem;
    }

    .hero-text p{
        font-size:1rem;
        line-height:1.7;
        margin-bottom:1.75rem;
    }

    .hero-card{
        padding:1.5rem;
        border-radius:1.125rem;
    }

    .hero-card h3{
        font-size:1.35rem;
        margin-bottom:1.5rem;
    }

    .hero-card li{
        align-items:flex-start;
        margin-bottom:.85rem;
    }

    .hero-card li i{
        margin-top:.3rem;
    }

    .hero-card-footer{
        gap:1rem;
        margin-top:1.5rem;
        padding-top:1.25rem;
    }

    .hero-stat h4{
        font-size:1.45rem;
    }

    .section-header,
    .hydraulic-section .section-header,
    .mechanical-section .section-header,
    .tools-section .section-header{
        margin-bottom:3rem;
    }

    .section-header h2,
    .mechanical-section .section-header h2,
    .tools-section .section-header h2{
        font-size:clamp(2rem, 9vw, 2.7rem);
        line-height:1.15;
        letter-spacing:-.06em;
    }

    .section-header p,
    .hydraulic-section .section-description,
    .mechanical-section .section-description{
        font-size:1rem;
        line-height:1.7;
    }

    .command-grid{
        gap:2.5rem;
    }

    .command-content h2{
        font-size:clamp(2rem, 9vw, 2.7rem);
    }

    .command-features li{
        padding-left:1.6rem;
        font-size:.98rem;
        line-height:1.65;
    }

    .feature-boxes{
        gap:.9rem;
        margin-top:2rem;
    }

    .feature-box{
        align-items:flex-start;
        padding:1rem;
        gap:.85rem;
    }

    .feature-box i{
        flex:0 0 2.8rem;
        width:2.8rem;
        height:2.8rem;
        font-size:1.1rem;
    }

    .product-grid,
    .mechanical-grid,
    .tools-section .product-grid{
        grid-template-columns:minmax(0, 1fr);
        gap:1.25rem;
    }

    .product-card,
    .mechanical-card,
    .tools-section .product-card{
        border-radius:1.25rem;
    }

    .card-image,
    .mechanical-card .card-image,
    .tools-section .card-image{
        min-height:220px;
        padding:1.25rem;
    }

    .card-image img,
    .mechanical-card .card-image img,
    .tools-section .card-image img{
        height:190px;
    }

    .card-content,
    .tools-section .card-content{
        padding:1.5rem 1.25rem;
    }

    .card-content h3,
    .tools-section .card-content h3{
        min-height:0;
        font-size:1.1rem;
        margin-bottom:1.25rem;
    }

    .card-btn{
        min-height:2.8rem;
        padding:.7rem 1.25rem;
    }

    .section-btn,
    .mechanical-section .section-btn{
        margin-top:2.5rem;
    }

    .footer-top{
        grid-template-columns:minmax(0, 1fr);
        gap:2rem;
    }

    .footer-box{
        padding-right:0;
    }

    .footer-bottom{
        padding:1.5rem 1.25rem;
    }

    .footer-links{
        gap:.75rem 1.25rem;
    }
}

@media (max-width:420px){
    .hero .btn-primary,
    .section-btn .btn-primary,
    .mechanical-section .btn-primary,
    .tools-section .btn-primary{
        width:100%;
        justify-content:center;
    }

    .hero-card-footer{
        flex-direction:column;
    }

    .hero-stat + .hero-stat{
        padding-top:1rem;
        border-top:1px solid rgba(255,255,255,.08);
    }
}

@media (prefers-reduced-motion:reduce){
    *,
    *::before,
    *::after{
        scroll-behavior:auto !important;
        animation-duration:.01ms !important;
        animation-iteration-count:1 !important;
        transition-duration:.01ms !important;
    }
}

/* =========================================
   DESKTOP SCALE & PREMIUM MOTION
========================================= */

@media (min-width:1200px){
    .container{
        width:min(1600px, calc(100% - clamp(3rem, 5vw, 8rem))) !important;
    }

    .hero-wrapper{
        max-width:1600px;
        gap:clamp(3rem, 6vw, 6rem);
    }

    .hero-text{
        flex-basis:55%;
    }

    .hero-card{
        flex-basis:38%;
    }
}

/* The reveal class stays visible without JavaScript, so content is never hidden. */
.has-js .reveal{
    opacity:0;
    transform:translate3d(0, 2.5rem, 0);
    transition:
        opacity .75s cubic-bezier(.22, .61, .36, 1),
        transform .75s cubic-bezier(.22, .61, .36, 1);
    will-change:opacity, transform;
}

.has-js .reveal.active{
    opacity:1;
    transform:translate3d(0, 0, 0);
    will-change:auto;
}

/* Replaces the old load animation so it does not fight the scroll reveal. */
.has-js .command-content.reveal{
    animation:none;
}

.has-js .product-grid > .reveal:nth-child(2),
.has-js .mechanical-grid > .reveal:nth-child(2){
    transition-delay:.12s;
}

.has-js .product-grid > .reveal:nth-child(3),
.has-js .mechanical-grid > .reveal:nth-child(3){
    transition-delay:.24s;
}

.has-js .product-grid > .reveal:nth-child(4){
    transition-delay:.36s;
}

.hero-card{
    position:relative;
    overflow:hidden;
}

.hero-card > *{
    position:relative;
    z-index:1;
}

.hero-card::after{
    content:"";
    position:absolute;
    z-index:0;
    inset:-40% auto -40% -30%;
    width:45%;
    background:linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
    transform:rotate(18deg) translateX(-260%);
    pointer-events:none;
}

@media (prefers-reduced-motion:no-preference){
    .hero{
        animation:heroBackgroundDrift 20s ease-in-out infinite alternate;
    }

    .hero-overlay{
        animation:heroOverlayBreath 9s ease-in-out infinite;
    }

    .hero-card::after{
        animation:heroCardSweep 7s cubic-bezier(.22, .61, .36, 1) 1.5s infinite;
    }

    .hydraulic-section::after,
    .mechanical-section::after,
    .tools-section::before{
        animation:ambientPulse 9s ease-in-out infinite alternate;
    }
}

@keyframes heroBackgroundDrift{
    from{
        background-position:50% 50%;
    }
    to{
        background-position:56% 45%;
    }
}

@keyframes heroOverlayBreath{
    0%,
    100%{
        opacity:.9;
    }
    50%{
        opacity:1;
    }
}

@keyframes heroCardSweep{
    0%,
    65%{
        transform:rotate(18deg) translateX(-260%);
    }
    100%{
        transform:rotate(18deg) translateX(650%);
    }
}

@keyframes ambientPulse{
    from{
        opacity:.65;
        transform:scale(.94);
    }
    to{
        opacity:1;
        transform:scale(1.08);
    }
}

@media (hover:hover) and (pointer:fine){
    .hero .btn-primary i,
    .section-btn .btn-primary i{
        transition:transform .35s cubic-bezier(.22, .61, .36, 1);
    }

    .hero .btn-primary:hover i,
    .section-btn .btn-primary:hover i{
        transform:translateX(.3rem);
    }

    .mechanical-card{
        transform-style:preserve-3d;
    }

    .mechanical-card:hover{
        transform:translateY(-12px) scale(1.01);
    }
}

@media (max-width:991px){
    .has-js .reveal{
        transform:translate3d(0, 1.5rem, 0);
    }
}

/* =========================================
   SYDNEY THEME FULL-WIDTH TEMPLATE FIX
   The theme wraps this template in a 95% `.content-wrapper.container`.
   Let sections reach the viewport edges; constrain only their inner content.
========================================= */

#content.page-wrap,
#content .content-wrapper.container,
#content .content-wrapper.container > .row{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 !important;
}

#content .content-wrapper.container > .row > .hero,
#content .content-wrapper.container > .row > .command-set,
#content .content-wrapper.container > .row > .hydraulic-section,
#content .content-wrapper.container > .row > .mechanical-section,
#content .content-wrapper.container > .row > .tools-section,
#content .content-wrapper.container > .row > .footer{
    width:100%;
    max-width:none;
    margin-inline:0;
}

#content .hero > .container,
#content .command-set > .container,
#content .hydraulic-section > .container,
#content .mechanical-section > .container,
#content .tools-section > .container{
    width:min(1600px, calc(100% - clamp(2rem, 6vw, 8rem))) !important;
    max-width:none !important;
    margin-inline:auto !important;
}

@media (max-width:767px){
    #content .hero > .container,
    #content .command-set > .container,
    #content .hydraulic-section > .container,
    #content .mechanical-section > .container,
    #content .tools-section > .container{
        width:calc(100% - 2.5rem) !important;
    }
}