/*=====================================================
  MUDHAI INSTRUMENT SERVICES
  PRODUCTS PAGE
  PART 1 - HERO & FILTER
======================================================*/


/*=====================================================
  PRODUCTS HERO
======================================================*/

.products-hero{

    position:relative;

    display:flex;

    align-items:center;

    justify-content:center;

    min-height:70vh;

    padding:140px 0 100px;

    overflow:hidden;

    text-align:center;

    background:linear-gradient(
        135deg,
        #050816 0%,
        #07111d 45%,
        #0f172a 100%
    );

}


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

.products-hero::before{

    content:"";

    position:absolute;

    width:550px;

    height:550px;

    top:-180px;

    right:-180px;

    border-radius:50%;

    background:rgba(0,212,255,.12);

    filter:blur(90px);

}

.products-hero::after{

    content:"";

    position:absolute;

    width:450px;

    height:450px;

    left:-150px;

    bottom:-150px;

    border-radius:50%;

    background:rgba(0,255,153,.08);

    filter:blur(90px);

}


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

.products-hero .container{

    position:relative;

    z-index:2;

}

.products-hero .hero-badge{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:12px 28px;

    margin-bottom:30px;

    border-radius:50px;

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

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

    backdrop-filter:blur(15px);

    color:var(--primary);

    font-size:.95rem;

    font-weight:600;

}

.page-title{

    margin-bottom:25px;

    color:#ffffff;

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

    font-weight:800;

    line-height:1.15;

}

.page-description{

    max-width:820px;

    margin:0 auto;

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

    font-size:1.1rem;

    line-height:1.9;

}


/*=====================================================
  PRODUCT FILTER
======================================================*/

.product-filter-section{

    padding:70px 0;

}

.filter-wrapper{

    display:flex;

    justify-content:center;

    align-items:center;

    flex-wrap:wrap;

    gap:18px;

}

.filter-btn{

    padding:14px 34px;

    border:none;

    border-radius:50px;

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

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

    color:#ffffff;

    font-weight:600;

    transition:all .35s ease;

    cursor:pointer;

}

.filter-btn:hover{

    transform:translateY(-4px);

    border-color:var(--primary);

    color:var(--primary);

    background:rgba(0,212,255,.08);

}

.filter-btn.active{

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    color:#000;

    border:none;

}


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

@media(max-width:991px){

    .products-hero{

        min-height:60vh;

        padding:120px 0 80px;

    }

}


@media(max-width:768px){

    .products-hero{

        min-height:55vh;

        padding:110px 0 70px;

    }

    .page-title{

        font-size:2.8rem;

    }

    .page-description{

        font-size:1rem;

    }

    .filter-wrapper{

        flex-direction:column;

        gap:15px;

    }

    .filter-btn{

        width:100%;

        max-width:300px;

    }

}


@media(max-width:576px){

    .products-hero{

        min-height:50vh;

        padding:100px 0 60px;

    }

    .page-title{

        font-size:2.2rem;

    }

    .hero-badge{

        font-size:.85rem;

        padding:10px 20px;

    }

    .page-description{

        font-size:.95rem;

    }

}
/*=====================================================
  PRODUCTS PAGE
  PART 2 - PRODUCT GRID & PRODUCT CARDS
======================================================*/


/*=====================================================
  PRODUCTS SECTION
======================================================*/

.products-section{

    position:relative;

    padding:30px 0;

}


/*=====================================================
  PRODUCT ITEM
======================================================*/

.product-item{

    margin-bottom:35px;

}


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

.product-card{

    height:100%;

    display:flex;

    flex-direction:column;

    overflow:hidden;

    border-radius:28px;

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

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

    backdrop-filter:blur(20px);

    -webkit-backdrop-filter:blur(20px);

    transition:all .35s ease;

}

.product-card:hover{

    transform:translateY(-12px);

    border-color:var(--primary);

    box-shadow:0 25px 55px rgba(0,212,255,.18);

}


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

.product-image{

    position:relative;

    overflow:hidden;

    height:280px;

}

.product-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:transform .5s ease;

}

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

    transform:scale(1.08);

}


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

.product-overlay{

    position:absolute;

    inset:0;

    display:flex;

    align-items:center;

    justify-content:center;

    background:rgba(5,8,22,.75);

    opacity:0;

    transition:all .35s ease;

}

.product-card:hover .product-overlay{

    opacity:1;

}


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

.view-btn{

    padding:14px 28px;

    border-radius:50px;

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    color:#000;

    font-weight:700;

    text-decoration:none;

    transition:all .3s ease;

}

.view-btn:hover{

    transform:translateY(-3px);

    color:#000;

}


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

.product-content{

    display:flex;

    flex-direction:column;

    flex:1;

    padding:28px;

}


/*=====================================================
  CATEGORY
======================================================*/

.product-category{

    display:inline-block;

    align-self:flex-start;

    padding:8px 18px;

    margin-bottom:18px;

    border-radius:50px;

    background:rgba(0,212,255,.12);

    color:var(--primary);

    font-size:.85rem;

    font-weight:600;

}


/*=====================================================
  PRODUCT TITLE
======================================================*/

.product-title{

    margin-bottom:15px;

    color:#ffffff;

    font-size:1.5rem;

    font-weight:700;

    line-height:1.3;

}


/*=====================================================
  DESCRIPTION
======================================================*/

.product-description{

    flex:1;

    margin-bottom:22px;

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

    line-height:1.8;

}


/*=====================================================
  FEATURED BADGE
======================================================*/

.featured-badge{

    display:inline-flex;

    align-items:center;

    align-self:flex-start;

    padding:8px 16px;

    margin-bottom:18px;

    border-radius:50px;

    background:rgba(0,255,153,.15);

    color:var(--secondary);

    font-size:.85rem;

    font-weight:700;

}


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

.product-footer{

    margin-top:auto;

}

.product-footer .btn{

    width:100%;

    padding:12px;

    border-radius:14px;

    font-weight:600;

}


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

.product-card{

    animation:fadeUp .8s ease both;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}


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

@media(max-width:991px){

    .products-section{

        padding:30px 0;

    }

}


@media(max-width:768px){

    .product-image{

        height:240px;

    }

    .product-content{

        padding:22px;

    }

    .product-title{

        font-size:1.3rem;

    }

}


@media(max-width:576px){

    .product-image{

        height:220px;

    }

    .product-content{

        padding:20px;

    }

    .product-title{

        font-size:1.2rem;

    }

    .view-btn{

        padding:12px 22px;

    }

}
/*=====================================================
  PRODUCTS PAGE
  PART 3 - FEATURED PRODUCT
======================================================*/


/*=====================================================
  FEATURED PRODUCT SECTION
======================================================*/

.product-highlight{

    position:relative;

    padding:30px 0;

    overflow:hidden;

}


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

.highlight-content{

    position:relative;

    z-index:2;

}

.highlight-content .section-tag{

    display:inline-block;

    padding:10px 22px;

    margin-bottom:22px;

    border-radius:50px;

    background:rgba(0,212,255,.12);

    color:var(--primary);

    font-size:.9rem;

    font-weight:700;

    letter-spacing:1px;

    text-transform:uppercase;

}

.highlight-content h2{

    margin-bottom:25px;

    color:#ffffff;

    font-size:clamp(2rem,5vw,3.3rem);

    font-weight:800;

    line-height:1.2;

}

.highlight-content p{

    margin-bottom:30px;

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

    font-size:1.05rem;

    line-height:1.9;

}


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

.feature-list{

    list-style:none;

    padding:0;

    margin:0 0 35px;

}

.feature-list li{

    display:flex;

    align-items:center;

    gap:12px;

    margin-bottom:16px;

    color:#ffffff;

    font-size:1rem;

    font-weight:500;

}

.feature-list li::before{

    content:"✓";

    width:28px;

    height:28px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:rgba(0,255,153,.15);

    color:var(--secondary);

    font-size:.9rem;

    font-weight:700;

}


/*=====================================================
  VISUAL AREA
======================================================*/

.highlight-visual{

    position:relative;

    display:flex;

    align-items:center;

    justify-content:center;

    width:100%;

    height:500px;

}


/*=====================================================
  FLOATING RINGS
======================================================*/

.floating-ring{

    position:absolute;

    border:2px solid rgba(0,212,255,.22);

    border-radius:50%;

    animation:ringRotate 18s linear infinite;

}

.floating-ring:nth-child(1){

    width:220px;

    height:220px;

}

.ring-2{

    width:320px;

    height:320px;

    animation-duration:24s;

}

.ring-3{

    width:420px;

    height:420px;

    animation-duration:30s;

}


/*=====================================================
  CENTER ICON
======================================================*/

.center-icon{

    position:relative;

    z-index:5;

    width:130px;

    height:130px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

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

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

    backdrop-filter:blur(20px);

    -webkit-backdrop-filter:blur(20px);

    box-shadow:0 20px 45px rgba(0,212,255,.15);

    font-size:3.5rem;

}


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

@keyframes ringRotate{

    from{

        transform:rotate(0deg);

    }

    to{

        transform:rotate(360deg);

    }

}


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

@media(max-width:991px){

    .product-highlight{

        padding:30px 0;

    }

    .highlight-content{

        text-align:center;

        margin-bottom:60px;

    }

    .feature-list{

        display:inline-block;

        text-align:left;

    }

    .highlight-visual{

        height:420px;

    }

}


@media(max-width:768px){

    .highlight-content h2{

        font-size:2.3rem;

    }

    .highlight-content p{

        font-size:1rem;

    }

    .highlight-visual{

        height:340px;

    }

    .floating-ring:nth-child(1){

        width:180px;

        height:180px;

    }

    .ring-2{

        width:250px;

        height:250px;

    }

    .ring-3{

        width:320px;

        height:320px;

    }

    .center-icon{

        width:100px;

        height:100px;

        font-size:2.8rem;

    }

}


@media(max-width:576px){

    .product-highlight{

        padding:30px 0;

    }

    .highlight-content h2{

        font-size:2rem;

    }

    .highlight-visual{

        height:280px;

    }

    .ring-3{

        display:none;

    }

    .center-icon{

        width:85px;

        height:85px;

        font-size:2.3rem;

    }

}
/*=====================================================
  PRODUCTS PAGE
  PART 4 - ADVANTAGES & CTA
======================================================*/


/*=====================================================
  WHY PRODUCTS SECTION
======================================================*/

.why-products-section{

    position:relative;

    padding:20px 0;

}


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

.advantage-card{

    position:relative;

    height:100%;

    padding:45px 30px;

    text-align:center;

    border-radius:28px;

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

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

    backdrop-filter:blur(20px);

    -webkit-backdrop-filter:blur(20px);

    overflow:hidden;

    transition:all .35s ease;

}

.advantage-card:hover{

    transform:translateY(-12px);

    border-color:var(--primary);

    box-shadow:0 20px 45px rgba(0,212,255,.18);

}


/*=====================================================
  ICON
======================================================*/

.advantage-card i{

    width:85px;

    height:85px;

    margin:0 auto 25px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:rgba(0,212,255,.12);

    color:var(--primary);

    font-size:2.2rem;

    transition:all .35s ease;

}

.advantage-card:hover i{

    background:var(--primary);

    color:#000;

    transform:rotate(10deg) scale(1.08);

}


/*=====================================================
  TITLE
======================================================*/

.advantage-card h5{

    margin-bottom:15px;

    color:#ffffff;

    font-size:1.35rem;

    font-weight:700;

}


/*=====================================================
  OPTIONAL DESCRIPTION
======================================================*/

.advantage-card p{

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

    line-height:1.8;

    margin-bottom:0;

}

/*=====================================================
    CTA SECTION
======================================================*/

.cta-section{
    position:relative;
    padding:120px 0;
    text-align:center;
    overflow:hidden;
    background:transparent;
}

/*=====================================================
    CTA BACKGROUND
======================================================*/

.cta-section::before{
    content:"";
    position:absolute;
    width:500px;
    height:500px;
    top:-180px;
    left:-180px;
    border-radius:50%;
    background:rgba(0,212,255,.08);
    filter:blur(100px);
    z-index:0;
}

.cta-section::after{
    content:"";
    position:absolute;
    width:420px;
    height:420px;
    right:-150px;
    bottom:-150px;
    border-radius:50%;
    background:rgba(0,255,153,.06);
    filter:blur(100px);
    z-index:0;
}

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

.cta-section .container{
    position:relative;
    z-index:2;
    text-align:center;
}

.cta-section h2{
    margin-bottom:20px;
    color:#ffffff;
    font-size:clamp(2rem,5vw,3.5rem);
    font-weight:800;
}

.cta-section p{
    max-width:760px;
    margin:0 auto 40px;
    color:rgba(255,255,255,.80);
    font-size:1.1rem;
    line-height:1.9;
}

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

.cta-btn-wrapper{
    display:flex;
    justify-content:center;
    align-items:center;
    width:100%;
}

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

.cta-section .btn{
    display:inline-flex;
    justify-content:center;
    align-items:center;

    min-width:220px;
    height:58px;

    padding:0 35px;

    border-radius:14px;

    font-size:16px;
    font-weight:600;

    transition:all .35s ease;

    text-decoration:none;
}

.cta-section .btn:hover{
    transform:translateY(-5px);
}

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

@media (max-width:768px){

    .cta-section{
        padding:90px 0;
    }

    .cta-section .btn{
        min-width:200px;
        height:54px;
    }

}

@media (max-width:576px){

    .cta-section .btn{
        width:100%;
        max-width:320px;
    }

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

@media(max-width:991px){

    .why-products-section{

        padding:30px 0;

    }

    .cta-section{

        padding:100px 0;

    }

}


@media(max-width:768px){

    .advantage-card{

        padding:35px 25px;

    }

    .advantage-card i{

        width:75px;

        height:75px;

        font-size:2rem;

    }

    .advantage-card h5{

        font-size:1.2rem;

    }

    .cta-section h2{

        font-size:2.4rem;

    }

    .cta-section p{

        font-size:1rem;

    }

}


@media(max-width:576px){

    .why-products-section{

        padding:30px 0;

    }

    .cta-section{

        padding:80px 0;

    }

    .cta-section h2{

        font-size:2rem;

    }

    .cta-section .btn{

        width:100%;

        max-width:280px;

    }

}
/*=====================================================
  PRODUCTS PAGE
  PART 5 - ANIMATIONS & RESPONSIVE
======================================================*/


/*=====================================================
  FADE UP ANIMATION
======================================================*/

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

.product-card,
.advantage-card,
.highlight-content,
.highlight-visual{

    animation:fadeUp .8s ease both;

}


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

@keyframes floating{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-12px);

    }

    100%{

        transform:translateY(0);

    }

}

.center-icon{

    animation:floating 4s ease-in-out infinite;

}


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

.btn,
.filter-btn,
.view-btn{

    transition:all .35s ease;

}

.btn:hover,
.filter-btn:hover,
.view-btn:hover{

    transform:translateY(-4px);

}


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

.product-image img{

    will-change:transform;

}

.product-card:hover img{

    transform:scale(1.08);

}


/*=====================================================
  GLASS EFFECT ENHANCEMENT
======================================================*/

.product-card,
.advantage-card{

    box-shadow:

        0 10px 25px rgba(0,0,0,.18);

}

.product-card:hover,
.advantage-card:hover{

    box-shadow:

        0 25px 55px rgba(0,212,255,.16);

}


/*=====================================================
  SCROLL BEHAVIOUR
======================================================*/

html{

    scroll-behavior:smooth;

}


/*=====================================================
  FOCUS STATES
======================================================*/

.filter-btn:focus,
.view-btn:focus,
.btn:focus{

    outline:none;

    box-shadow:

        0 0 0 4px rgba(0,212,255,.25);

}


/*=====================================================
  SELECTION
======================================================*/

::selection{

    background:var(--primary);

    color:#000;

}


/*=====================================================
  LARGE DESKTOP
======================================================*/

@media(min-width:1400px){

    .products-section{

        padding:30px 0;

    }

}


/*=====================================================
  LAPTOP
======================================================*/

@media(max-width:1200px){

    .highlight-content h2{

        font-size:2.8rem;

    }

}


/*=====================================================
  TABLET
======================================================*/

@media(max-width:992px){

    .products-section{

        padding:30px 0;

    }

    .product-card{

        margin-bottom:15px;

    }

}


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

@media(max-width:768px){

    .page-title{

        font-size:2.5rem;

    }

    .page-description{

        font-size:1rem;

    }

    .highlight-content{

        text-align:center;

    }

    .feature-list{

        display:inline-block;

        text-align:left;

    }

    .product-content{

        padding:22px;

    }

}


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

@media(max-width:576px){

    .page-title{

        font-size:2rem;

    }

    .product-image{

        height:220px;

    }

    .highlight-content h2{

        font-size:1.9rem;

    }

    .cta-section h2{

        font-size:2rem;

    }

    .filter-btn{

        width:100%;

    }

}


/*=====================================================
  EXTRA SMALL DEVICES
======================================================*/

@media(max-width:400px){

    .page-title{

        font-size:1.8rem;

    }

    .hero-badge{

        font-size:.8rem;

    }

    .product-content{

        padding:18px;

    }

    .view-btn{

        width:100%;

        text-align:center;

    }

}