/*******************************************************
 DINESH ENGINEERING WORKS
 Modern Industrial Website UI
*******************************************************/

:root {
    --primary: #352496;
    --primary-dark: #24166f;
    --secondary: #f14d5d;
    --dark: #10142b;
    --dark-2: #171c38;
    --heading: #15182b;
    --text: #697080;
    --light-bg: #f6f7fb;
    --white: #ffffff;
    --border: #e8e9ef;
    --success: #20a46b;
    --shadow: 0 15px 45px rgba(16, 20, 43, 0.10);
    --shadow-hover: 0 22px 55px rgba(16, 20, 43, 0.16);
    --radius: 16px;
    --transition: all 0.35s ease;
}

/* =====================================================
   GLOBAL
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text);
    background: #ffffff;
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Jost', sans-serif;
    color: var(--heading);
    font-weight: 700;
    line-height: 1.25;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

::selection {
    background: var(--primary);
    color: #fff;
}


/* =====================================================
   COMMON BUTTONS
===================================================== */

.btn {
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    border-radius: 8px;
    padding: 12px 25px;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--secondary);
    border-color: var(--secondary);
    color: #fff;
}

.btn-secondary:hover {
    background: #d83d4d;
    border-color: #d83d4d;
    color: #fff;
    transform: translateY(-2px);
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 30px;
    height: 30px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}


/* =====================================================
   TOPBAR
===================================================== */

.topbar,
.top-bar {
    background: var(--dark);
    color: #dfe2f0;
    font-size: 13px;
}

.topbar a,
.top-bar a {
    color: #ffffff;
}

.topbar a:hover,
.top-bar a:hover {
    color: var(--secondary);
}

.topbar i,
.top-bar i {
    color: var(--secondary);
    margin-right: 7px;
}

.topbar .social a,
.top-bar .social a {
    margin-left: 12px;
    color: #c9ccda;
}

.topbar .social a:hover,
.top-bar .social a:hover {
    color: #ffffff;
}


```css
/* =====================================================
   NAVBAR
===================================================== */

.navbar {
    background: #ffffff;
    padding: 0;
    min-height: 82px;
    z-index: 1000;
    box-shadow: 0 5px 25px rgba(16, 20, 43, 0.07);
}

.navbar-brand {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 8px 0;
    margin-right: 0 !important;
}

.navbar-brand img {
    max-height: 58px;
    width: auto;
    transition: var(--transition);
}

/* =====================================================
   DESKTOP NAVBAR - MENU FULL 75% WIDTH
===================================================== */

@media (min-width: 992px) {

    .navbar-collapse {
        display: flex !important;
        flex: 0 0 75%;
        max-width: 75%;
        margin-left: 0 !important;
        padding: 0 !important;
    }

    .navbar-light .navbar-nav {
        display: flex !important;
        align-items: center;
        justify-content: space-between !important;
        gap: 50px !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .navbar-light .navbar-nav .nav-item {
        flex: 0 1 auto;
        margin: 0 !important;
    }

    .navbar-light .navbar-nav .nav-link {
        position: relative;
        font-family: 'Jost', sans-serif;
        font-size: 16px;
        font-weight: 600;
        color: var(--dark);
        margin: 0 !important;
        padding: 29px 8px !important;
        white-space: nowrap;
        transition: var(--transition);
    }

    .navbar-light .navbar-nav .nav-link::after {
        content: "";
        position: absolute;
        left: 8px;
        bottom: 14px;
        width: 0;
        height: 3px;
        border-radius: 5px;
        background: var(--secondary);
        transition: var(--transition);
    }

    .navbar-light .navbar-nav .nav-link:hover,
    .navbar-light .navbar-nav .nav-link.active {
        color: var(--primary);
    }

    .navbar-light .navbar-nav .nav-link:hover::after,
    .navbar-light .navbar-nav .nav-link.active::after {
        width: calc(100% - 16px);
    }

    /* CONTACT BUTTON */

    .navbar-light .navbar-nav .nav-link.nav-contact {
        color: #ffffff;
        background: var(--primary);
        padding: 11px 14px !important;
        margin: 0 !important;
        border-radius: 7px;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::after {
        display: none;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact:hover {
        background: var(--secondary);
        color: #ffffff;
    }
}

/* =====================================================
   MOBILE NAVBAR
===================================================== */

.navbar-toggler {
    border: 0;
    padding: 8px;
    box-shadow: none !important;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    width: 25px;
    height: 25px;
}

@media (max-width: 991.98px) {

    .navbar-brand {
        flex: 0 0 auto;
        max-width: 100%;
        margin-right: 0 !important;
    }

    .navbar-brand img {
        max-height: 58px;
        width: auto;
    }

    .navbar-collapse {
        flex: 0 0 100%;
        max-width: 100%;
        margin-left: 0 !important;
    }

    .navbar-light .navbar-nav {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 0 !important;
        width: 100%;
    }

    .navbar-light .navbar-nav .nav-link {
        position: relative;
        font-family: 'Jost', sans-serif;
        font-size: 15px;
        font-weight: 600;
        color: var(--dark);
        margin-left: 0;
        padding: 12px 0;
        white-space: normal;
        transition: var(--transition);
    }

    .navbar-light .navbar-nav .nav-link::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 5px;
        width: 0;
        height: 3px;
        border-radius: 5px;
        background: var(--secondary);
        transition: var(--transition);
    }

    .navbar-light .navbar-nav .nav-link:hover,
    .navbar-light .navbar-nav .nav-link.active {
        color: var(--primary);
    }

    .navbar-light .navbar-nav .nav-link:hover::after,
    .navbar-light .navbar-nav .nav-link.active::after {
        width: 100%;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact {
        color: #ffffff;
        background: var(--primary);
        padding: 11px 20px !important;
        margin: 8px 0 !important;
        border-radius: 7px;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::after {
        display: none;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact:hover {
        background: var(--secondary);
        color: #ffffff;
    }
}

/* =====================================================
   STICKY NAVBAR
===================================================== */

.sticky-top {
    box-shadow: 0 8px 25px rgba(16, 20, 43, 0.10);
}
```
/* =====================================================
   HERO
===================================================== */

.new-hero {
    position: relative;
    overflow: hidden;
    background: var(--dark);
}

.new-hero .carousel-item {
    position: relative;
    height: 650px;
}

.new-hero .carousel-item > img {
    width: 100%;
    height: 650px;
    object-fit: cover;
    object-position: center;
}

.new-hero .carousel-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(10, 13, 34, 0.82) 0%,
            rgba(10, 13, 34, 0.62) 42%,
            rgba(10, 13, 34, 0.15) 100%
        );
}

.new-hero-content {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    display: flex;
    align-items: center;
}

.hero-content-inner {
    max-width: 720px;
}

.hero-small {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.hero-small::before {
    content: "";
    width: 38px;
    height: 3px;
    background: var(--secondary);
    border-radius: 10px;
}

.hero-title {
    color: #ffffff;
    font-size: clamp(42px, 5vw, 72px);
    font-weight: 800;
    margin-bottom: 22px;
    letter-spacing: -1px;
}

.hero-text {
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
    max-width: 650px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 25px;
    border-radius: 7px;
    font-family: 'Jost', sans-serif;
    font-size: 15px;
    font-weight: 700;
    transition: var(--transition);
}

.hero-btn-primary {
    background: var(--secondary);
    color: #ffffff;
}

.hero-btn-primary:hover {
    background: #ffffff;
    color: var(--primary);
    transform: translateY(-3px);
}

.hero-btn-outline {
    border: 1px solid rgba(255,255,255,0.55);
    color: #ffffff;
    background: rgba(255,255,255,0.05);
}

.hero-btn-outline:hover {
    background: #ffffff;
    color: var(--dark);
    transform: translateY(-3px);
}

.hero-tag {
    position: absolute;
    right: 7%;
    bottom: 55px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.20);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
}

.hero-tag i {
    color: var(--secondary);
    font-size: 18px;
}

.new-hero .carousel-control-prev,
.new-hero .carousel-control-next {
    width: 70px;
    height: 70px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
}

.new-hero .carousel-control-prev {
    left: 20px;
}

.new-hero .carousel-control-next {
    right: 20px;
}

.new-hero .carousel-control-prev-icon,
.new-hero .carousel-control-next-icon {
    width: 45px;
    height: 45px;
    background-color: rgba(255,255,255,0.15);
    border-radius: 50%;
    background-size: 18px;
    backdrop-filter: blur(5px);
}

.new-hero .carousel-indicators {
    z-index: 5;
    bottom: 25px;
}

.new-hero .carousel-indicators [data-bs-target] {
    width: 30px;
    height: 4px;
    border: 0;
    margin: 0 5px;
    border-radius: 5px;
    opacity: 0.55;
}

.new-hero .carousel-indicators .active {
    width: 55px;
    opacity: 1;
    background: var(--secondary);
}


/* =====================================================
   QUICK STATS
===================================================== */

.quick-stats {
    position: relative;
    z-index: 10;
    margin-top: -55px;
}

.stats-wrapper {
    background: #ffffff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.stat-item {
    min-height: 125px;
    padding: 25px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border-right: 1px solid var(--border);
}

.stats-wrapper .col-6:last-child .stat-item {
    border-right: 0;
}

.stat-item i {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(53,36,150,0.08);
    color: var(--primary);
    border-radius: 12px;
    font-size: 21px;
}

.stat-number {
    display: block;
    font-family: 'Jost', sans-serif;
    color: var(--dark);
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
}

.stat-label {
    display: block;
    margin-top: 5px;
    color: var(--text);
    font-size: 12px;
    font-weight: 600;
}


/* =====================================================
   SECTION COMMON
===================================================== */

.intro-section,
.products-section,
.capabilities-section,
.services-section,
.machinery-section,
.clients-section {
    position: relative;
}

.section-label {
    display: inline-block;
    color: var(--secondary);
    font-family: 'Jost', sans-serif;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-label::before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 28px;
    height: 3px;
    margin-right: 10px;
    background: var(--secondary);
    border-radius: 5px;
}

.section-title {
    font-size: clamp(30px, 4vw, 46px);
    color: var(--heading);
    margin-bottom: 17px;
}

.section-description {
    max-width: 700px;
    color: var(--text);
    font-size: 15px;
}


/* =====================================================
   INTRO / ABOUT
===================================================== */

.intro-section {
    padding: 100px 0;
    background: #ffffff;
}

.intro-image {
    position: relative;
    height: 100%;
    min-height: 480px;
    border-radius: var(--radius);
    overflow: hidden;
}

.intro-image img {
    width: 100%;
    height: 100%;
    min-height: 480px;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.intro-image:hover img {
    transform: scale(1.04);
}

.experience-box {
    position: absolute;
    left: 25px;
    bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: var(--primary);
    color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(53,36,150,0.3);
}

.experience-box strong {
    font-family: 'Jost', sans-serif;
    font-size: 30px;
    line-height: 1;
}

.experience-box span {
    font-size: 12px;
    line-height: 1.3;
}

.intro-content {
    padding-left: 35px;
}

.intro-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-top: 25px;
}

.intro-feature-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: rgba(53,36,150,0.08);
    border-radius: 10px;
}

.intro-feature h5 {
    font-size: 17px;
    margin-bottom: 3px;
}

.intro-feature p {
    margin-bottom: 0;
    font-size: 13px;
}


/* =====================================================
   PRODUCTS
===================================================== */

.products-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.product-card-new {
    height: 100%;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.product-card-new:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.product-image-new {
    position: relative;
    width: 100%;
    min-height: 240px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image-new img {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: contain;
    object-position: center;
    transition: transform 0.6s ease;
}

.product-card-new:hover .product-image-new img {
    transform: scale(1.03);
}
.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 12px;
    background: var(--primary);
    color: #ffffff;
    border-radius: 5px;
    font-family: 'Jost', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-body-new {
    padding: 23px;
}

.product-body-new h4 {
    font-size: 20px;
    margin-bottom: 8px;
}

.product-body-new p {
    font-size: 13px;
    margin-bottom: 15px;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    font-weight: 700;
}

.product-link:hover {
    color: var(--secondary);
    gap: 12px;
}


/* =====================================================
   CAPABILITIES
===================================================== */

.capabilities-section {
    padding: 100px 0;
    background: #ffffff;
}

.capabilities-intro {
    margin-bottom: 45px;
}

.capability-box {
    height: 100%;
    padding: 32px 25px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
}

.capability-box:hover {
    background: var(--dark);
    border-color: var(--dark);
    transform: translateY(-7px);
    box-shadow: var(--shadow-hover);
}

.capability-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(53,36,150,0.08);
    color: var(--primary);
    border-radius: 18px;
    font-size: 28px;
    transition: var(--transition);
}

.capability-box:hover .capability-icon {
    background: rgba(255,255,255,0.12);
    color: var(--secondary);
}

.capability-box h4 {
    font-size: 19px;
    margin-bottom: 9px;
    transition: var(--transition);
}

.capability-box p {
    font-size: 13px;
    margin-bottom: 0;
    transition: var(--transition);
}

.capability-box:hover h4,
.capability-box:hover p {
    color: #ffffff;
}


/* =====================================================
   SERVICES
===================================================== */

.services-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.service-card-new {
    position: relative;
    height: 330px;
    overflow: hidden;
    border-radius: var(--radius);
    background: #111;
    box-shadow: 0 8px 25px rgba(16,20,43,0.08);
}

.service-card-new img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.service-card-new:hover img {
    transform: scale(1.08);
}

.service-overlay-new {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    background:
        linear-gradient(
            0deg,
            rgba(10,13,34,0.94) 0%,
            rgba(10,13,34,0.48) 55%,
            rgba(10,13,34,0.05) 100%
        );
}

.service-overlay-new h4 {
    color: #ffffff;
    font-size: 22px;
    margin-bottom: 6px;
}

.service-overlay-new p {
    color: rgba(255,255,255,0.78);
    font-size: 13px;
    margin-bottom: 12px;
}

.service-overlay-new a {
    color: var(--secondary);
    font-family: 'Jost', sans-serif;
    font-weight: 700;
    font-size: 13px;
}


/* =====================================================
   MACHINERY
===================================================== */

.machinery-section {
    padding: 100px 0;
    background: #ffffff;
}

.machinery-image {
    height: 100%;
    min-height: 520px;
    border-radius: var(--radius);
    overflow: hidden;
}

.machinery-image img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
}

.machinery-content {
    padding-left: 35px;
}

.machine-list-item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    font-weight: 600;
    color: var(--heading);
}

.machine-list-item i {
    width: 31px;
    height: 31px;
    min-width: 31px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(53,36,150,0.08);
    color: var(--primary);
    border-radius: 7px;
    font-size: 13px;
}

.machine-button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 25px;
    padding: 12px 22px;
    border-radius: 7px;
    background: var(--primary);
    color: #ffffff;
    font-family: 'Jost', sans-serif;
    font-weight: 700;
    font-size: 14px;
}

.machine-button:hover {
    background: var(--secondary);
    color: #ffffff;
    transform: translateY(-2px);
}


/* =====================================================
   QUALITY STRIP
===================================================== */

.quality-strip {
    padding: 55px 0;
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.quality-strip::before {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    right: -150px;
    top: -180px;
    border: 60px solid rgba(255,255,255,0.03);
    border-radius: 50%;
}

.quality-item {
    position: relative;
    text-align: center;
    padding: 10px 20px;
    border-right: 1px solid rgba(255,255,255,0.10);
}

.quality-item:last-child {
    border-right: 0;
}

.quality-item i {
    display: block;
    margin-bottom: 12px;
    color: var(--secondary);
    font-size: 27px;
}

.quality-item h4 {
    color: #ffffff;
    font-size: 17px;
    margin-bottom: 5px;
}

.quality-item p {
    color: rgba(255,255,255,0.58);
    font-size: 12px;
    margin-bottom: 0;
}


/* =====================================================
   CLIENTS
===================================================== */

.clients-section {
    padding: 90px 0;
    background: var(--light-bg);
}

.client-carousel {
    margin-top: 40px;
}

.client-box-new {
    height: 125px;
    padding: 20px;
    margin: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: var(--transition);
}

.client-box-new:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: transparent;
}

.client-box-new img {
    max-width: 80%;
    max-height: 75px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.72;
    transition: var(--transition);
}

.client-box-new:hover img {
    filter: grayscale(0);
    opacity: 1;
}


/* =====================================================
   CTA
===================================================== */

.cta-section {
    position: relative;
    padding: 95px 0;
    background:
        linear-gradient(
            90deg,
            rgba(16,20,43,0.96),
            rgba(53,36,150,0.80)
        ),
        url("../img/image.jpg") center center / cover no-repeat;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.cta-content .section-label {
    color: var(--secondary);
}

.cta-content h2 {
    color: #ffffff;
    font-size: clamp(32px, 4vw, 50px);
    margin-bottom: 15px;
}

.cta-content p {
    color: rgba(255,255,255,0.78);
    max-width: 650px;
    margin-bottom: 28px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 25px;
    background: var(--secondary);
    color: #ffffff;
    border-radius: 7px;
    font-family: 'Jost', sans-serif;
    font-weight: 700;
}

.cta-btn:hover {
    background: #ffffff;
    color: var(--primary);
    transform: translateY(-3px);
}


/* =====================================================
   FOOTER
===================================================== */

.footer {
    background: var(--dark);
    color: #aeb3c4;
}

.footer h4,
footer h4 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 20px;
}

.footer a,
footer a {
    color: #aeb3c4;
}

.footer a:hover,
footer a:hover {
    color: var(--secondary);
}

.footer p,
footer p {
    font-size: 13px;
}

.footer .btn-social,
footer .btn-social {
    margin-right: 7px;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.15);
}

.footer .btn-social:hover,
footer .btn-social:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
}


/* =====================================================
   BACK TO TOP
===================================================== */

.back-to-top {
    position: fixed;
    display: none;
    right: 25px;
    bottom: 25px;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    z-index: 999;
    background: var(--primary);
    color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(16,20,43,0.20);
}

.back-to-top:hover {
    background: var(--secondary);
    color: #ffffff;
}


/* =====================================================
   OLD TEMPLATE COMPATIBILITY
===================================================== */

.hero-header {
    background:
        linear-gradient(
            rgba(16,20,43,0.72),
            rgba(16,20,43,0.72)
        ),
        url("../image/contact.jpg") top right no-repeat;
    background-size: cover;
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(16,20,43,0.50);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

.service-item div {
    z-index: 1;
}

.service-item div::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 2px;
    transition: 0.5s;
    z-index: -1;
}

.service-item div:hover::after {
    width: 100%;
    background: var(--primary);
}

.service-item * {
    transition: 0.5s;
}

.service-item:hover * {
    color: #ffffff !important;
}

.bg-offer {
    background:
        linear-gradient(
            rgba(16,20,43,0.55),
            rgba(16,20,43,0.55)
        ),
        url("../image/fabri.jpg") top right no-repeat;
    background-size: cover;
}

.blog-date {
    position: absolute;
    width: 90px;
    height: 65px;
    top: 75px;
    left: -25px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: var(--secondary);
    color: #ffffff;
}

.blog-date::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    top: -25px;
    left: 0;
    border: 13px solid;
    border-color: transparent #d34351 #d34351 transparent;
}


/* =====================================================
   ANIMATION
===================================================== */

.fade-up {
    opacity: 0;
    transform: translateY(25px);
    transition: 0.7s ease;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}


/* =====================================================
   RESPONSIVE - 1199px
===================================================== */

@media (max-width: 1199px) {

    .navbar-light .navbar-nav .nav-link {
        margin-left: 20px;
    }

    .hero-title {
        font-size: 58px;
    }

    .new-hero .carousel-item,
    .new-hero .carousel-item > img {
        height: 600px;
    }

    .intro-content,
    .machinery-content {
        padding-left: 15px;
    }

}


/* =====================================================
   RESPONSIVE - 991px
===================================================== */

@media (max-width: 991px) {

    .navbar {
        min-height: 70px;
        padding: 7px 0;
    }

    .navbar-brand img {
        max-height: 100px;
    }

    .navbar-light .navbar-nav {
        padding: 15px 0;
    }

    .navbar-light .navbar-nav .nav-link {
        margin-left: 0;
        padding: 10px 5px;
    }

    .navbar-light .navbar-nav .nav-link::after {
        display: none;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact {
        margin-left: 0;
        margin-top: 8px;
        display: inline-block;
    }

    .new-hero .carousel-item,
    .new-hero .carousel-item > img {
        height: 560px;
    }

    .hero-title {
        font-size: 50px;
    }

    .hero-tag {
        right: 30px;
        bottom: 50px;
    }

    .quick-stats {
        margin-top: -40px;
    }

    .stats-wrapper .col-6:nth-child(2) .stat-item,
    .stats-wrapper .col-6:nth-child(4) .stat-item {
        border-right: 0;
    }

    .stats-wrapper .col-6:nth-child(3) .stat-item,
    .stats-wrapper .col-6:nth-child(4) .stat-item {
        border-bottom: 0;
    }

    .stat-item {
        border-bottom: 1px solid var(--border);
    }

    .intro-content,
    .machinery-content {
        padding-left: 0;
        margin-top: 40px;
    }

    .intro-image,
    .intro-image img {
        min-height: 430px;
    }

    .machinery-image,
    .machinery-image img {
        min-height: 430px;
    }

    .quality-item:nth-child(2) {
        border-right: 0;
    }

    .quality-item {
        margin-bottom: 20px;
    }

}


/* =====================================================
   RESPONSIVE - 767px
===================================================== */

@media (max-width: 767px) {

    .topbar,
    .top-bar {
        font-size: 11px;
    }

    .new-hero .carousel-item,
    .new-hero .carousel-item > img {
        height: 550px;
    }

    .new-hero .carousel-item > img {
        object-position: center;
    }

    .new-hero .carousel-item::after {
        background:
            linear-gradient(
                90deg,
                rgba(10,13,34,0.90),
                rgba(10,13,34,0.62)
            );
    }

    .hero-content-inner {
        max-width: 100%;
        padding-right: 40px;
    }

    .hero-small {
        font-size: 11px;
        letter-spacing: 1.5px;
    }

    .hero-title {
        font-size: 43px;
        letter-spacing: -0.5px;
    }

    .hero-text {
        font-size: 15px;
        line-height: 1.6;
    }

    .hero-tag {
        display: none;
    }

    .new-hero .carousel-control-prev,
    .new-hero .carousel-control-next {
        width: 45px;
    }

    .new-hero .carousel-control-prev {
        left: 5px;
    }

    .new-hero .carousel-control-next {
        right: 5px;
    }

    .quick-stats {
        margin-top: -25px;
    }

    .stat-item {
        min-height: 105px;
        padding: 18px 10px;
    }

    .stat-item i {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 17px;
    }

    .stat-number {
        font-size: 23px;
    }

    .stat-label {
        font-size: 10px;
    }

    .intro-section,
    .products-section,
    .capabilities-section,
    .services-section,
    .machinery-section {
        padding: 70px 0;
    }

    .clients-section {
        padding: 70px 0;
    }

    .section-title {
        font-size: 32px;
    }

    .intro-image,
    .intro-image img,
    .machinery-image,
    .machinery-image img {
        min-height: 350px;
    }

    .service-card-new {
        height: 300px;
    }

    .quality-strip {
        padding: 45px 0;
    }

    .quality-item {
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,0.10);
        padding: 20px;
    }

    .quality-item:last-child {
        border-bottom: 0;
    }

    .cta-section {
        padding: 70px 0;
    }

}


/* =====================================================
   RESPONSIVE - 480px
===================================================== */

@media (max-width: 480px) {

    .navbar-brand img {
        max-height: 45px;
    }

    .new-hero .carousel-item,
    .new-hero .carousel-item > img {
        height: 520px;
    }

    .hero-title {
        font-size: 35px;
        line-height: 1.18;
    }

    .hero-text {
        font-size: 14px;
        margin-bottom: 22px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-btn {
        padding: 11px 20px;
        font-size: 13px;
    }

    .stat-item {
        gap: 9px;
        justify-content: flex-start;
        padding-left: 15px;
    }

    .stat-item i {
        width: 35px;
        height: 35px;
        min-width: 35px;
        font-size: 14px;
    }

    .stat-number {
        font-size: 19px;
    }

    .stat-label {
        font-size: 9px;
    }

    .section-title {
        font-size: 29px;
    }

    .section-description {
        font-size: 13px;
    }

    .product-image-new {
        height: 210px;
    }

    .product-body-new {
        padding: 18px;
    }

    .product-body-new h4 {
        font-size: 18px;
    }

    .capability-box {
        padding: 25px 18px;
    }

    .service-card-new {
        height: 270px;
    }

    .service-overlay-new {
        padding: 20px;
    }

    .service-overlay-new h4 {
        font-size: 19px;
    }

    .intro-image,
    .intro-image img,
    .machinery-image,
    .machinery-image img {
        min-height: 300px;
    }

    .experience-box {
        left: 15px;
        bottom: 15px;
    }

    .experience-box strong {
        font-size: 25px;
    }

    .cta-content h2 {
        font-size: 31px;
    }

    .back-to-top {
        right: 15px;
        bottom: 15px;
    }

}


/* =====================================================
   RESPONSIVE - 375px
===================================================== */

@media (max-width: 375px) {

    .hero-title {
        font-size: 31px;
    }

    .hero-small {
        font-size: 10px;
    }

    .stat-item {
        padding-left: 8px;
    }

    .stat-number {
        font-size: 17px;
    }

    .stat-label {
        font-size: 8px;
    }

    .section-title {
        font-size: 26px;
    }

} 




