/*=========================================================
    MUDHAI INSTRUMENT SERVICES
    PREMIUM STYLE.CSS
    PART 1
    ROOT VARIABLES • RESET • GLOBAL STYLES
=========================================================*/


/*=========================================================
    ROOT VARIABLES
=========================================================*/

:root{

    /* Primary Colors */

    --primary:#00d4ff;
    --primary-dark:#0099cc;

    /* Secondary Colors */

    --secondary:#00ff99;
    --secondary-dark:#00cc7a;

    /* Background Colors */

    --dark:#050816;
    --dark-light:#0f172a;
    --dark-card:#111827;

    /* Text */

    --white:#ffffff;

    --text:#e2e8f0;
    --text-light:#94a3b8;

    /* Glass */

    --glass:rgba(255,255,255,.06);
    --glass-hover:rgba(255,255,255,.10);

    /* Border */

    --border:rgba(255,255,255,.10);

    /* Radius */

    --radius:22px;

    /* Shadows */

    --shadow-sm:0 8px 20px rgba(0,0,0,.18);

    --shadow-md:0 15px 35px rgba(0,0,0,.25);

    --shadow-lg:0 20px 60px rgba(0,0,0,.35);

    --shadow-primary:0 15px 35px rgba(0,212,255,.25);

    /* Transition */

    --transition:.35s ease;

}


/*=========================================================
    CSS RESET
=========================================================*/

*,
*::before,
*::after{

    margin:0;

    padding:0;

    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:"Poppins",sans-serif;

    background:var(--dark);

    color:var(--white);

    overflow-x:hidden;

    min-height:100vh;

    line-height:1.7;

    top:0 !important;

}


/*=========================================================
    TYPOGRAPHY
=========================================================*/

h1,
h2,
h3,
h4,
h5,
h6{

    color:var(--white);

    font-weight:700;

    line-height:1.2;

    margin-bottom:0;

}

p{

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

    line-height:1.8;

    margin-bottom:0;

}

a{

    text-decoration:none;

    color:inherit;

    transition:var(--transition);

}

ul{

    list-style:none;

    margin:0;

    padding:0;

}

img{

    display:block;

    max-width:100%;

    user-select:none;

    transition:.45s ease;

}


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

::selection{

    background:var(--primary);

    color:#000;

}


/*=========================================================
    SCROLLBAR
=========================================================*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:var(--dark);

}

::-webkit-scrollbar-thumb{

    background:linear-gradient(

        var(--primary),

        var(--secondary)

    );

    border-radius:30px;

}

::-webkit-scrollbar-thumb:hover{

    background:var(--secondary);

}


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

main{

    position:relative;

    z-index:2;

    min-height:70vh;

    padding-top:95px;

}

section{

    position:relative;

    z-index:2;

}


/*=========================================================
    THREE.JS BACKGROUND
=========================================================*/

#bg-canvas{

    position:fixed;

    inset:0;

    width:100%;

    height:100%;

    z-index:-100;

    pointer-events:none;

}

#bg-canvas canvas{

    display:block;

}


/*=========================================================
    PRELOADER
=========================================================*/

#preloader{

    position:fixed;

    inset:0;

    display:flex;

    justify-content:center;

    align-items:center;

    flex-direction:column;

    background:var(--dark);

    z-index:999999;

    transition:opacity .45s ease;

}

#preloader img{

    width:90px;

}

#preloader::after{

    content:"Loading...";

    margin-top:18px;

    color:#ffffff;

    font-size:.95rem;

    letter-spacing:2px;

}


/*=========================================================
    SCROLL PROGRESS BAR
=========================================================*/

#scroll-progress{

    position:fixed;

    top:0;

    left:0;

    width:0;

    height:3px;

    background:linear-gradient(

        90deg,

        var(--primary),

        var(--secondary)

    );

    z-index:99999;

}


/*=========================================================
    BACK TO TOP
=========================================================*/

.back-to-top-btn{

    position:fixed;

    right:25px;

    bottom:25px;

    width:52px;

    height:52px;

    display:flex;

    align-items:center;

    justify-content:center;

    border:none;

    border-radius:50%;

    background:var(--primary);

    color:#000;

    cursor:pointer;

    opacity:0;

    visibility:hidden;

    transform:translateY(25px);

    transition:var(--transition);

    z-index:999;

}

.back-to-top-btn.show{

    opacity:1;

    visibility:visible;

    transform:translateY(0);

}

.back-to-top-btn:hover{

    transform:translateY(-6px);

    box-shadow:var(--shadow-primary);

}
/*=========================================================
    MUDHAI INSTRUMENT SERVICES
    PREMIUM STYLE.CSS
    PART 2
    NAVBAR • BUTTONS • FORMS • GLASS CARD • UTILITIES
=========================================================*/

/*=========================================================
    NAVBAR
=========================================================*/

.custom-navbar{

    position:fixed;

    top:0;
    left:0;

    width:100%;

    z-index:9999;

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

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

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

    transition:
        transform .35s ease,
        background .35s ease,
        box-shadow .35s ease;

    will-change:transform;

    transform:translateZ(0);

    backface-visibility:hidden;

    pointer-events:auto;

}

.custom-navbar.navbar-scrolled{

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

    box-shadow:var(--shadow-md);

}




/*=========================================================
    LOGO
=========================================================*/

.navbar-brand{

    display:flex;

    align-items:center;

    gap:12px;

}

.navbar-brand img{

    height:58px;

    transition:transform .35s ease;

}

.navbar-brand:hover img{

    transform:scale(1.05);

}


/*=========================================================
    NAVIGATION LINKS
=========================================================*/

.navbar-nav{

    gap:10px;

}

.nav-link{

    position:relative;

    display:flex;

    align-items:center;

    color:var(--white) !important;

    font-weight:500;

    padding:10px 18px !important;

    border-radius:12px;

    transition:
        color .3s ease,
        background .3s ease;

}

.nav-link:hover{

    color:var(--primary) !important;

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

}

.nav-link.active{

    color:var(--primary) !important;

}

.nav-link::after{

    content:"";

    position:absolute;

    left:16px;

    bottom:6px;

    width:0;

    height:2px;

    background:var(--primary);

    transition:width .3s ease;

}

.nav-link:hover::after,
.nav-link.active::after{

    width:calc(100% - 32px);

}


/*=========================================================
    NAVBAR TOGGLER
=========================================================*/

.navbar-toggler{

    border:none;

    padding:8px;

    box-shadow:none !important;

}

.navbar-toggler:focus{

    box-shadow:none !important;

    outline:none;

}

.navbar-toggler-icon{

    filter:brightness(1.2);

}


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

@media (max-width:992px){

    .navbar-collapse{

        margin-top:18px;

        padding:20px;

        border-radius:18px;

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

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

        backdrop-filter:blur(18px);

    }

    .navbar-nav{

        gap:8px;

    }

    .nav-link{

        padding:12px 16px !important;

    }

}
/*=========================================================
    BUTTONS
=========================================================*/

.btn{

    position:relative;

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:8px;

    overflow:hidden;

    border-radius:14px;

    padding:13px 30px;

    font-weight:600;

    cursor:pointer;

    transition:
        background-color .30s ease,
        color .30s ease,
        box-shadow .30s ease,
        transform .20s ease;

    will-change:transform;

    backface-visibility:hidden;

    transform:translateZ(0);

}

.btn:focus{

    box-shadow:none;

    outline:none;

}


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

.btn-primary{

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

    color:#000;

    border:none;

}

.btn-primary:hover{

    color:#000;

    transform:translateY(-2px);

    box-shadow:var(--shadow-primary);

}


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

.btn-success{

    background:var(--secondary);

    color:#000;

    border:none;

}

.btn-success:hover{

    background:var(--secondary-dark);

    color:#000;

    transform:translateY(-2px);

    box-shadow:0 10px 25px rgba(0,255,153,.25);

}


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

.btn-outline-light{

    background:transparent;

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

    color:#ffffff;

}

.btn-outline-light:hover{

    background:#ffffff;

    color:#000;

    border-color:#ffffff;

    transform:translateY(-2px);

}


/*=========================================================
    RIPPLE EFFECT
=========================================================*/

.btn .ripple{

    position:absolute;

    width:18px;

    height:18px;

    border-radius:50%;

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

    transform:translate(-50%,-50%) scale(0);

    animation:ripple .6s linear;

    pointer-events:none;

}

@keyframes ripple{

    to{

        transform:
            translate(-50%,-50%)
            scale(18);

        opacity:0;

    }

}

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

.glass-card{

    position:relative;

    overflow:hidden;

    background:var(--glass);

    border:1px solid var(--border);

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

    border-radius:var(--radius);

    transition:var(--transition);

}

.glass-card::before{

    content:"";

    position:absolute;

    inset:0;

    background:

    linear-gradient(

        135deg,

        rgba(255,255,255,.08),

        transparent 70%

    );

    opacity:0;

    transition:.4s ease;

}

.glass-card:hover{

    background:var(--glass-hover);

    transform:translateY(-8px);

    box-shadow:var(--shadow-lg);

}

.glass-card:hover::before{

    opacity:1;

}


/*=========================================================
    FORM ELEMENTS
=========================================================*/

.form-label{

    color:var(--white);

    font-weight:500;

    margin-bottom:8px;

}

.form-control,
.form-select{

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

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

    border-radius:14px;

    color:#ffffff;

    padding:14px 18px;

    transition:var(--transition);

}

.form-control::placeholder{

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

}

.form-control:focus,
.form-select:focus{

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

    border-color:var(--primary);

    color:#ffffff;

    box-shadow:

        0 0 20px rgba(0,212,255,.22);

}

.form-select option{

    background:#0f172a;

    color:#ffffff;

}


/*=========================================================
    ALERTS
=========================================================*/

.alert{

    border:none;

    border-radius:16px;

    backdrop-filter:blur(15px);

    box-shadow:var(--shadow-md);

}


/*=========================================================
    BADGES
=========================================================*/

.badge{

    border-radius:30px;

    padding:8px 16px;

    font-weight:600;

}


/*=========================================================
    COMMON UTILITIES
=========================================================*/

.text-primary{

    color:var(--primary) !important;

}

.text-secondary{

    color:var(--secondary) !important;

}

.rounded-xl{

    border-radius:25px;

}

.shadow-hover{

    transition:var(--transition);

}

.shadow-hover:hover{

    box-shadow:var(--shadow-lg);

}
/*=========================================================
    MUDHAI INSTRUMENT SERVICES
    PREMIUM STYLE.CSS
    PART 3
    COMMON COMPONENTS
    HERO • SECTION HEADER • CARDS • BADGES
=========================================================*/


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

.hero-section{

    position:relative;

    display:flex;

    align-items:center;

    justify-content:center;

    min-height:100vh;

    overflow:hidden;

}

.hero-overlay{

    position:absolute;

    inset:0;

    background:linear-gradient(
        135deg,
        rgba(5,8,22,.75),
        rgba(15,23,42,.75)
    );

    z-index:1;

}

.hero-content{

    position:relative;

    z-index:2;

}

.hero-badge{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:12px 24px;

    border-radius:50px;

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

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

    backdrop-filter:blur(15px);

    color:var(--primary);

    font-size:.95rem;

    font-weight:600;

    margin-bottom:25px;

}

.page-title{

    font-size:4rem;

    font-weight:800;

    color:#ffffff;

    margin-bottom:25px;

    line-height:1.15;

}

.page-description{

    max-width:820px;

    margin:auto;

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

    font-size:1.1rem;

    line-height:1.9;

}


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

.section-header{

    text-align:center;

    margin-bottom:70px;

}

.section-tag{

    display:inline-block;

    padding:10px 22px;

    border-radius:50px;

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

    border:1px solid rgba(0,212,255,.20);

    color:var(--primary);

    font-size:.85rem;

    font-weight:600;

    letter-spacing:2px;

    text-transform:uppercase;

}

.section-header h2{

    margin-top:18px;

    margin-bottom:18px;

    font-size:3rem;

    color:#ffffff;

}

.section-header p{

    max-width:760px;

    margin:auto;

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

}


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

.common-card{

    position:relative;

    overflow:hidden;

    height:100%;

    background:var(--glass);

    border:1px solid var(--border);

    backdrop-filter:blur(20px);

    border-radius:24px;

    transition:var(--transition);

}

.common-card:hover{

    transform:translateY(-10px);

    box-shadow:var(--shadow-lg);

    border-color:rgba(0,212,255,.20);

}

.common-card-body{

    padding:35px;

}


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

.product-card{

    height:100%;

    background:var(--glass);

    border:1px solid var(--border);

    border-radius:24px;

    overflow:hidden;

    transition:var(--transition);

}

.product-card:hover{

    transform:translateY(-10px);

    box-shadow:var(--shadow-lg);

}

.product-image{

    overflow:hidden;

}

.product-image img{

    width:100%;

    height:270px;

    object-fit:cover;

    transition:.5s;

}

.product-card:hover img{

    transform:scale(1.08);

}

.product-content{

    padding:28px;

}

.product-content h3{

    color:#ffffff;

    margin-bottom:15px;

}

.product-content p{

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

}


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

.blog-card{

    height:100%;

    overflow:hidden;

    background:var(--glass);

    border:1px solid var(--border);

    border-radius:24px;

    transition:var(--transition);

}

.blog-card:hover{

    transform:translateY(-10px);

    box-shadow:var(--shadow-lg);

}

.blog-image{

    overflow:hidden;

}

.blog-image img{

    width:100%;

    height:250px;

    object-fit:cover;

    transition:.5s;

}

.blog-card:hover img{

    transform:scale(1.08);

}

.blog-content{

    padding:28px;

}

.blog-content h4{

    color:#ffffff;

    margin-bottom:15px;

}

.blog-content p{

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

}


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

.certification-card{

    height:100%;

    text-align:center;

    padding:35px 25px;

    background:var(--glass);

    border:1px solid var(--border);

    border-radius:24px;

    transition:var(--transition);

}

.certification-card:hover{

    transform:translateY(-10px);

    box-shadow:var(--shadow-lg);

}

.certificate-icon{

    width:90px;

    height:90px;

    margin:0 auto 25px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

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

    color:var(--primary);

    font-size:2.8rem;

}

.certification-card h3{

    color:#ffffff;

    margin-bottom:15px;

}

.certification-card p{

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

}


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

.feature-card{

    text-align:center;

    padding:35px 25px;

    background:var(--glass);

    border:1px solid var(--border);

    border-radius:24px;

    transition:var(--transition);

}

.feature-card:hover{

    transform:translateY(-10px);

    box-shadow:var(--shadow-lg);

}

.feature-icon{

    width:80px;

    height:80px;

    margin:0 auto 20px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

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

    color:var(--primary);

    font-size:2rem;

}

.feature-card h4{

    margin-bottom:15px;

}

.feature-card p{

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

}


/*=========================================================
    STATUS BADGES
=========================================================*/

.status-badge,
.featured-badge{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:8px 18px;

    border-radius:30px;

    font-size:.85rem;

    font-weight:600;

}

.status-badge{

    background:#00ff99;

    color:#000;

}

.featured-badge{

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

    color:var(--primary);

}


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

.icon-circle{

    width:70px;

    height:70px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

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

    color:var(--primary);

    font-size:1.8rem;

}


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

.divider{

    width:80px;

    height:4px;

    margin:25px auto;

    border-radius:20px;

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

}
/*=========================================================
    MUDHAI INSTRUMENT SERVICES
    PREMIUM STYLE.CSS
    PART 4
    FOOTER • BACK TO TOP • COMMON ANIMATIONS
=========================================================*/

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

.footer{

    position:relative;

    overflow:hidden;

    background:linear-gradient(
        180deg,
        #050816 0%,
        #02040c 100%
    );

    padding:90px 0 30px;

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

}

.footer::before{

    content:"";

    position:absolute;

    top:-220px;

    right:-220px;

    width:500px;

    height:500px;

    border-radius:50%;

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

    filter:blur(120px);

    pointer-events:none;

}

.footer .container{

    position:relative;

    z-index:2;

}


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

.footer-brand{

    display:flex;

    flex-direction:column;

    align-items:flex-start;

}

.footer-logo{

    width:85px;

    height:auto;

    margin-bottom:18px;

}

.footer-title{

    color:#ffffff;

    font-size:1.45rem;

    font-weight:700;

    margin-bottom:16px;

    line-height:1.3;

}

.footer-description{

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

    line-height:1.9;

    margin-bottom:28px;

    max-width:360px;

}


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

.footer-heading{

    color:#ffffff;

    font-size:1.25rem;

    font-weight:700;

    margin-bottom:25px;

}


/*=========================================================
    QUICK LINKS
=========================================================*/

.footer-links{

    list-style:none;

    padding:0;

    margin:0;

}

.footer-links li{

    margin-bottom:15px;

}

.footer-links a{

    display:inline-flex;

    align-items:center;

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

    text-decoration:none;

    transition:all .35s ease;

}

.footer-links a i{

    color:var(--primary);

    margin-right:10px;

    transition:.35s ease;

}

.footer-links a:hover{

    color:#ffffff;

    padding-left:8px;

}

.footer-links a:hover i{

    color:var(--secondary);

}


/*=========================================================
    CONTACT INFO
=========================================================*/

.footer-contact{

    list-style:none;

    padding:0;

    margin:0;

}

.footer-contact li{

    display:flex;

    align-items:flex-start;

    gap:15px;

    margin-bottom:20px;

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

    line-height:1.8;

}

.footer-contact i{

    color:var(--primary);

    font-size:1.1rem;

    min-width:22px;

    margin-top:5px;

}


/*=========================================================
    SOCIAL ICONS
=========================================================*/

.footer-social{

    display:flex;

    gap:15px;

    margin-top:10px;

}

.footer-social a{

    width:48px;

    height:48px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    text-decoration:none;

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

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

    color:#ffffff;

    transition:all .35s ease;

}

.footer-social a:hover{

    background:linear-gradient(

        135deg,

        var(--primary),

        var(--secondary)

    );

    color:#000000;

    transform:translateY(-6px);

    box-shadow:0 15px 35px rgba(0,212,255,.30);

}


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

.footer-bottom{

    margin-top:60px;

    padding-top:25px;

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

    text-align:center;

}

.footer-bottom p{

    margin:0;

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

    font-size:.95rem;

    line-height:1.8;

}


/*=========================================================
    BACK TO TOP BUTTON
=========================================================*/

.back-to-top{

    position:fixed;

    right:25px;

    bottom:25px;

    width:56px;

    height:56px;

    display:flex;

    align-items:center;

    justify-content:center;

    border:none;

    border-radius:50%;

    background:linear-gradient(

        135deg,

        var(--primary),

        var(--secondary)

    );

    color:#000;

    cursor:pointer;

    z-index:999;

    opacity:0;

    visibility:hidden;

    transform:translateY(20px);

    transition:all .35s ease;

}

.back-to-top.show{

    opacity:1;

    visibility:visible;

    transform:translateY(0);

}

.back-to-top:hover{

    transform:translateY(-6px);

    box-shadow:0 18px 40px rgba(0,212,255,.35);

}


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

@media (max-width:991px){

    .footer{

        text-align:center;

    }

    .footer-brand{

        align-items:center;

    }

    .footer-description{

        max-width:100%;

    }

    .footer-social{

        justify-content:center;

    }

    .footer-contact li{

        justify-content:center;

        text-align:left;

    }

}

@media (max-width:768px){

    .footer{

        padding:70px 0 25px;

    }

    .footer-logo{

        width:75px;

    }

    .footer-title{

        font-size:1.3rem;

    }

    .footer-heading{

        margin-top:20px;

    }

    .back-to-top{

        width:50px;

        height:50px;

        right:20px;

        bottom:20px;

    }

}
/*=========================================================
    GOOGLE TRANSLATE PREMIUM
=========================================================*/

#google_translate_element{

    display:flex;

    align-items:center;

    justify-content:center;

}

/* Hide Google Branding */

.goog-logo-link{
    display:none !important;
}

.goog-te-gadget span{
    display:none !important;
}

.goog-te-gadget img{
    display:none !important;
}

.goog-te-banner-frame.skiptranslate{
    display:none !important;
}

iframe.goog-te-banner-frame{
    display:none !important;
}

body{
    top:0 !important;
}

/* Gadget */

.goog-te-gadget{

    color:transparent !important;

    font-size:0 !important;

}

/* Dropdown */

.goog-te-combo{

    width:180px;

    height:46px;

    padding:0 16px;

    border-radius:12px;

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

    color:#ffffff !important;

    border:1px solid rgba(255,255,255,.15) !important;

    backdrop-filter:blur(15px);

    outline:none !important;

    font-size:15px !important;

    font-family:"Poppins",sans-serif !important;

    cursor:pointer;

    transition:.35s ease;

}

.goog-te-combo:hover{

    border-color:var(--primary) !important;

}

.goog-te-combo:focus{

    border-color:var(--primary) !important;

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

}

.goog-te-combo option{

    background:#0f172a;

    color:#ffffff;

}

.skiptranslate iframe{



    display:none !important;



}
/*=========================================================
    COMMON FADE ANIMATION
=========================================================*/

.fade-up{

    animation:fadeUp .8s ease both;

}

.fade-down{

    animation:fadeDown .8s ease both;

}

.fade-left{

    animation:fadeLeft .8s ease both;

}

.fade-right{

    animation:fadeRight .8s ease both;

}

.zoom-in{

    animation:zoomIn .8s ease both;

}


/*=========================================================
    KEYFRAMES
=========================================================*/

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(50px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

@keyframes fadeDown{

    from{

        opacity:0;

        transform:translateY(-50px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

@keyframes fadeLeft{

    from{

        opacity:0;

        transform:translateX(-50px);

    }

    to{

        opacity:1;

        transform:translateX(0);

    }

}

@keyframes fadeRight{

    from{

        opacity:0;

        transform:translateX(50px);

    }

    to{

        opacity:1;

        transform:translateX(0);

    }

}

@keyframes zoomIn{

    from{

        opacity:0;

        transform:scale(.85);

    }

    to{

        opacity:1;

        transform:scale(1);

    }

}


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

.img-hover{

    overflow:hidden;

    border-radius:20px;

}

.img-hover img{

    transition:.5s;

}

.img-hover:hover img{

    transform:scale(1.08);

}


/*=========================================================
    COMMON SPACING
=========================================================*/

.py-section{

    padding:120px 0;

}

.mt-section{

    margin-top:120px;

}

.mb-section{

    margin-bottom:120px;

}


/*=========================================================
    TEXT UTILITIES
=========================================================*/

.text-gradient{

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

    -webkit-background-clip:text;

    -webkit-text-fill-color:transparent;

    background-clip:text;

}

.bg-glass{

    background:var(--glass);

    border:1px solid var(--border);

    backdrop-filter:blur(20px);

}

.rounded-20{

    border-radius:20px;

}

.rounded-30{

    border-radius:30px;

}
/*=========================================================
    MUDHAI INSTRUMENT SERVICES
    PREMIUM STYLE.CSS
    PART 5
    RESPONSIVE DESIGN
=========================================================*/


/*=========================================================
    LARGE LAPTOP (1400px)
=========================================================*/

@media (max-width:1400px){

    .page-title{

        font-size:3.6rem;

    }

    .section-header h2{

        font-size:2.8rem;

    }

}


/*=========================================================
    LAPTOP (1200px)
=========================================================*/

@media (max-width:1200px){

    main{

        padding-top:90px;

    }

    .page-title{

        font-size:3.2rem;

    }

    .section-header h2{

        font-size:2.5rem;

    }

    .hero-section{

        min-height:90vh;

    }

    .glass-card{

        padding:30px;

    }

}


/*=========================================================
    TABLET (992px)
=========================================================*/

@media (max-width:992px){

    section{

        padding:90px 0;

    }

    .hero-section{

        min-height:auto;

        padding:140px 0 80px;

        text-align:center;

    }

    .page-title{

        font-size:2.8rem;

    }

    .page-description{

        font-size:1rem;

    }

    .section-header{

        margin-bottom:55px;

    }

    .section-header h2{

        font-size:2.2rem;

    }

    .navbar-collapse{

        margin-top:18px;

        padding:20px;

        border-radius:18px;

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

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

    }

    .navbar-nav{

        gap:8px;

    }

    .nav-link{

        padding:12px 16px !important;

    }

    .footer{

        text-align:center;

    }

    .footer-social{

        justify-content:center;

    }

}


/*=========================================================
    MOBILE (768px)
=========================================================*/

@media (max-width:768px){

    html{

        font-size:15px;

    }

    body{

        overflow-x:hidden;

    }

    section{

        padding:70px 0;

    }

    .container{

        padding-left:18px;

        padding-right:18px;

    }

    .hero-section{

        padding:120px 0 70px;

    }

    .hero-badge{

        font-size:.8rem;

        padding:10px 18px;

    }

    .page-title{

        font-size:2.2rem;

        line-height:1.3;

    }

    .page-description{

        font-size:.95rem;

        line-height:1.8;

    }

    .section-header{

        margin-bottom:40px;

    }

    .section-header h2{

        font-size:1.9rem;

    }

    .section-header p{

        font-size:.95rem;

    }

    .glass-card{

        padding:22px;

    }

    .common-card-body{

        padding:22px;

    }

    .btn{

        width:100%;

        min-height:52px;

        justify-content:center;

        display:flex;

        align-items:center;

    }

    .product-image img,

    .blog-image img{

        height:220px;

    }

    .certificate-icon{

        width:75px;

        height:75px;

        font-size:2.3rem;

    }

    .feature-icon{

        width:70px;

        height:70px;

        font-size:1.8rem;

    }

    .footer{

        padding:70px 0 25px;

    }

    .footer-logo{

        width:70px;

    }

    .footer-bottom{

        margin-top:40px;

    }

    .back-to-top{

        width:46px;

        height:46px;

        right:16px;

        bottom:16px;

    }

}


/*=========================================================
    SMALL MOBILE (576px)
=========================================================*/

@media (max-width:576px){

    .container{

        padding-left:15px;

        padding-right:15px;

    }

    .page-title{

        font-size:1.9rem;

    }

    .section-header h2{

        font-size:1.7rem;

    }

    .hero-badge{

        font-size:.75rem;

    }

    .section-tag{

        font-size:.72rem;

        padding:8px 18px;

    }

    .glass-card{

        border-radius:18px;

    }

    .product-image img,

    .blog-image img{

        height:190px;

    }

    .footer-title{

        font-size:1.2rem;

    }

}


/*=========================================================
    EXTRA SMALL DEVICES (400px)
=========================================================*/

@media (max-width:400px){

    .page-title{

        font-size:1.6rem;

    }

    .page-description{

        font-size:.88rem;

    }

    .section-header h2{

        font-size:1.45rem;

    }

    .hero-badge{

        padding:8px 15px;

        font-size:.7rem;

    }

    .btn{

        min-height:48px;

        font-size:.9rem;

    }

    .product-image img,

    .blog-image img{

        height:170px;

    }

    .certificate-icon{

        width:65px;

        height:65px;

        font-size:2rem;

    }

    .feature-icon{

        width:60px;

        height:60px;

        font-size:1.5rem;

    }

    .back-to-top{

        width:42px;

        height:42px;

    }

}


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

@media (max-height:500px) and (orientation:landscape){

    .hero-section{

        min-height:auto;

        padding:120px 0 60px;

    }

}


/*=========================================================
    REDUCE MOTION
=========================================================*/

@media (prefers-reduced-motion:reduce){

    *{

        animation:none !important;

        transition:none !important;

        scroll-behavior:auto !important;

    }

}
.page-hero,
.blog-hero,
.certification-hero{
    min-height:60vh !important;
    padding:120px 0 70px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
}

.page-hero .container,
.blog-hero .container,
.certification-hero .container{
    position:relative;
    z-index:10;
}

.page-title{
    margin-top:0 !important;
}

.page-description{
    margin-top:20px !important;
}
