:root {
    --primary-blue: #396283;
    --secondary-blue: #000;
}


html,
body {
    overflow-x: hidden !important;
}

body {
    font-family: 'Inter', sans-serif !important;
    font-weight: 400 !important;
}

html.loading,
body.loading {
    overflow: hidden;
    position: fixed;
    width: 100%;
}


h1,
h2,
h3 {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
}

p,
li {
    font-family: 'Inter', 'Lato', 'Open Sans', sans-serif !important;
}

.btn {
    cursor: pointer !important;
}


/* Navbar */

.navbar {
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.849), #3288a27c);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    border: 1px solid #ffffff57;
    position: absolute;
    z-index: 2;
    width: 99%;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.navbar .nav-item {
    position: relative;
    margin-right: 30px;
    font-weight: 400;
    font-size: 17px;
    transition: all 0.4s ease;
}

.navbar .nav-item .nav-link {
    position: relative;
    overflow: hidden;
    font-weight: 400;
    font-size: 17px;
    transition: color 0.3s ease;
    padding-top: initial;
    padding-bottom: initial;
    transform: none !important;
}

.navbar .nav-item .nav-link span {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.76, 0, 0.24, 1);
    transform: translateX(0) translateY(0);
}

.navbar .nav-item::before,
.navbar .nav-item .nav-link::after {
    content: '';
    position: absolute;
    width: 100%;
    left: 0;
    transition: transform 0.3s cubic-bezier(0.76, 0, 0.24, 1);
}

.navbar .nav-item::before {
    top: 35px;
    height: 2px;
    background: white;
    transform-origin: right;
    transform: scaleX(0);
    transition: all .7s ease;
}

.navbar .nav-item .nav-link::after {
    content: attr(data-replace);
    top: 0;
    height: 100%;
    color: white;
    transform: translateX(200%);
    transition: all .7s ease;
}

.navbar .nav-item.active .nav-link,
.navbar .nav-item.active .nav-link span {
    color: white !important;
}

.navbar .nav-item:hover::before {
    transform-origin: left;
    transform: scaleX(1);
}

.navbar .nav-item .nav-link:hover::after {
    transform: translateX(0);
}

.navbar .nav-item .nav-link:hover span {
    transform: translateX(-200%);
}

.nav-item .active {
    color: white !important;
}

.navbar .nav-item.active::before{
    transform: scaleX(1) !important;
}



/* Dropdown */

.dropdown-menu {
    background-color: rgba(255, 255, 255, 0.514);
}

.dropdown-menu a {
    transition: all 0.4s ease;
}

.dropdown-menu a:hover {
    color: #ffffff !important;
    background-color: var(--secondary-blue) !important;
}

.dropdown-item {
    margin: 0 6px !important;
    padding: 9px 15px !important;
    width: auto !important;
}

.dropdown-toggle::after {
    border: none;
}


/* Carousel */

.carousel-item img {
    height: 100vh;
    min-height: 700px;
    object-fit: cover;
    transform: scale(1);
}

.carousel-item.active img {
    animation: zoom 4s ease 1s forwards;
}

@keyframes zoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}


.carousel-item {
    position: relative;
    overflow: hidden;
}

.carousel-item::after,
.head::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, white 100%);
}

.carousel-caption {
    background: #0000001f;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-left: 5px solid var(--primary-blue);
    padding: 30px 40px;
    border-radius: 15px;
    bottom: 20%;
    left: 10%;
    right: 10%;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.carousel-caption h5 {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.carousel-caption p {
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 300;
    color: #f0f0f0;
}


.carousel-item {
    transition: transform 1s ease-in-out;
}

.carousel-item-start.carousel-item-next,
.active.carousel-item-start {
    transform: translateX(10%);
}

.carousel-item-end.carousel-item-prev,
.active.carousel-item-end {
    transform: translateX(-10%);
}

.carousel-caption {
    animation: captionSlideLeft 4s ease forwards;
}

@keyframes captionSlideLeft {

    0% {
        opacity: 0;
        transform: translateX(100%);
    }

    50% {
        opacity: 1;
        transform: translateX(-5%);
    }

    100% {
        opacity: 1;
        transform: translateX(0%);
    }
}


/* About Us */

.about .icon {
    height: 114px;
    width: 108px;
    right: -10%;
    top: 16%;
    animation: rot 2s linear infinite;
}

@keyframes rot {
    
    0% {
        transform: rotate(10deg);
    }

    50% {
        transform: rotate(-10deg);
    }

    100% {
        transform: rotate(10deg);
    }
}

.about .icon2 {
    height: 100px;
    width: 100px;
    right: 100px;
    top: 35%;
    z-index: -1;
    animation: run 10s linear infinite alternate;
    opacity: 0.7;
}

.about .icon3 {
    height: 100px;
    width: 100px;
    bottom: 10%;
    left: 100px;
    z-index: -1;
    animation: run 14s linear infinite alternate-reverse;
    opacity: 0.7;
}

.about .icon4 {
    height: 80px;
    width: 80px;
    right: 0;
    bottom: 0;
    z-index: -1;
    animation: run 20s linear infinite alternate;
    opacity: 0.7;
}


@keyframes run {

    0% {
        transform: translate(0px, 0px) rotate(20deg);
    }

    50% {
        transform: translate(-100px, -100px) rotate(100deg);
    }

    100% {
        transform: translate(-50px, -150px) rotate(10deg);
    }
}

.about .random {
    height: 250px;
    width: 250px;
    border: 10px solid white;
    right: -40%;
    bottom: -10%;
    background-color: white;
    transform: rotate(-6deg);
}


.industrial-frame {
    position: relative;
    padding: 15px;
    background: #e9ecef;
    border: 1px solid #ced4da;
    box-shadow:
        inset 2px 2px 0px #fff,
        inset -2px -2px 0px #adb5bd,
        10px 10px 30px rgba(0, 0, 0, 0.15);
    display: inline-block;
    border-radius: 5px;
    margin-top: 20px;
}

.about img {
    transition: all 0.5s ease;
    box-shadow 0.5s ease;
}

.about img:hover {
    transform: scale(1.02);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.4);
}

.screw-head {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    position: absolute;
    z-index: 10;
}


.screw-anim {
    animation: screw-cycle 5s ease-in-out infinite;
}

@keyframes screw-cycle {
    0% , 100% {
        transform: rotate(0deg) scale(1);
    }

    25% {
        transform: rotate(-360deg) scale(1.3);
    }
    
    60% {
        transform: rotate(-360deg) scale(1.3);
    }

    80% {
        transform: rotate(0deg) scale(1);
    }

}

/* Screw Positions */
.screw-tl {
    top: -8px;
    left: -8px;
}

.screw-tr {
    top: -8px;
    right: -8px;
}

.screw-bl {
    bottom: -8px;
    left: -8px;
}

.screw-br {
    bottom: -8px;
    right: -8px;
}



.about h2 {
    font-size: clamp(28px, 5vw, 35px);
    font-weight: 500;
    color: var(--primary-blue);
}

.about p {
    color: var(--secondary-blue);
}


/* Slider */

.slider {
    width: 100%;
    height: var(--height);
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, #000 5% 95%, transparent);
    
}

.slider .list {
    display: flex;
    width: 100%;
    min-width: calc(var(--width) * var(--quantity));
    position: relative;
}

.slider .list .item {
    width: var(--width);
    height: var(--height);
    position: absolute;
    left: 100%;
    animation: autoRun 20s linear infinite;
    transition: all 0.5s;
    animation-delay: calc((20s / var(--quantity)) * (var(--position) - 1) - 20s);
}

.slider .list .item img {
    width: 100%;
    border-radius: 10px;

}


@keyframes autoRun {
    from {
        left: 100%;
    }

    to {
        left: calc(var(--width) * -1);
    }
}

.slider:hover .item {
    animation-play-state: paused !important;
    filter: grayscale(1);
}

.slider .item:hover {
    filter: grayscale(0);
}

.cta{
    padding:  clamp(45px, 8vw, 90px) 0px;
    background: linear-gradient(135deg, rgba(0, 140, 255, 0.15), rgba(255, 255, 255, 0.8));
    border-top: 2px solid rgba(0, 140, 255, 0.3);
    border-bottom: 2px solid rgba(0, 140, 255, 0.3);
    backdrop-filter: blur(5px);
}


/*About-Us*/

.about-us h2 {
    font-size: clamp(28px, 5vw, 35px);
    font-weight: 500;
    color: var(--primary-blue);
}

.sub-heading {
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.about-text {
    font-size: 16px;
    color: #333;
    line-height: 1.7;
}

.values-list {
    list-style: none;
    padding-left: 0;
}

.values-list li {
    margin-bottom: 10px;
    color: #333;
    font-size: 16px;
}

.values-list i{
    color: var(--primary-blue);
}

.box{
    height: 100%;
    padding: 10px;
    border: 1px solid #cccccc;
}

.autoo p{
    font-size: clamp(17px, 2vw, 28px);
    color: #0000009c;
}

.autoo h3 .counter {
    color: #0B5484;
    font-size: clamp(36px, 6vw, 65px);
    margin-bottom: 6px;
    display: inline-block;
}

.autoo h3 .text-success{
    font-size: clamp(36px, 6vw, 60px);
    margin-left: 7px;
}


/* Products */

.heading {
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 500;
    color: var(--primary-blue);
}

.line {
    width: 15%;
    border-width: 5px;
    margin-bottom: 50px;
    color: rgba(220, 53, 70, 0.63);
    opacity: 1;
}

.card {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
    border: none;
    border-radius: 32px;
    transition: all 0.3s ease;
}

.card-body h5 {
    text-align: center;
    font-weight: bold;
    color: var(--primary-blue);
}

.card img {
    transition: all 0.3s ease;
}

.card-img-top {
    overflow: hidden;
}

.card:hover img {
    transform: scale(1.1);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.4);
}


/* Contact-Us */

form {
    background: #ffffff;
    padding: 50px 35px;
    border-radius: 12px;
    box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.2);
    position: relative;
}
.form-control {
    border-color: #3288a275;
    background-color: #cccccc57;
}

.form-control:focus {
    border-color: var(--primary-blue);
    background: #fff;
    box-shadow: 0 0 20px rgba(0,0,0, 0.25);
}

form .screw-img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

form .screw-img img{
    position: absolute;
    animation: screw-cycle 5s ease-in-out infinite;
}

@keyframes screw-cycle {
    0% , 100% {
        transform: rotate(0deg) scale(1);
    }

    25% {
        transform: rotate(-360deg) scale(1.3);
    }
    
    60% {
        transform: rotate(-360deg) scale(1.3);
    }

    80% {
        transform: rotate(0deg) scale(1);
    }

}


form .screw-img .one{
    top: 10px;
    left: 10px;
}

form .screw-img .two{
    top: 10px;
    right: 10px;
}

form .screw-img .three{
    bottom: 10px;
    left: 10px;
}

form .screw-img .four{
    bottom: 10px;
    right: 10px;
}


.contact-img img {
    animation: go 2s linear infinite;
    transform-origin: bottom center;
    object-fit: cover;
}

@keyframes go {
    0% {
        transform: rotate(-4deg);
    }

    50% {
        transform: rotate(2deg);
    }

    100% {
        transform: rotate(-4deg);
    }
}

@media only screen and (max-width: 767px) {
    .contact-img img {
        display: none;
    }
}

.contact-details a {
    text-decoration: none;
    color: black;
}


/* Every Page Head */

.head {
    position: relative;
    background-image: url('../images/random.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 550px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    background-color: rgba(0, 0, 0, 0.4);
    background-blend-mode: darken;
}

.head h2 {
    font-size: clamp(32px, 13vw, 80px);
    font-weight: 800 !important;
    text-align: center;
    color: rgb(255, 255, 255);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}


/* Buttons */

.btn-dark {
    position: relative;
    overflow: hidden;
    z-index: 0;
    transition: all 0.5s ease;
    background-color: #000;
    padding: 10px;
}

.btn-dark::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50px;
    width: 100%;
    height: 100%;
    background: var(--primary-blue);
    transition: all 0.5s ease;
    border-radius: 100%;
    z-index: -1;
}

.btn-dark:hover:after {
    top: 0;
    border-radius: 0;
}

.btn-dark:hover {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.btn-outline-light {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-outline-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.btn-glow {
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.btn-glow::after {
    content: "";
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transition: all 0.6s ease;
}

.btn-glow:hover::after {
    left: 100%;
}

.btn-product {
    background: #7986cb;
    font-size: 20px;
    color: white;
    border-radius: 10px;
    box-shadow: 5px 7px 0px #3f51b5;
    display: inline-block;
    transition: all .2s;
    position: relative;
    padding: 15px 25px;
    top: 0;
    cursor: pointer;
    text-decoration: none;
}

.btn-product:hover {
    top: 8px;
    box-shadow: 3px 4px 0px #3f51b5;
}



/*Top Btn*/

.hex-btn {
    position: fixed;
    bottom: 15px;
    right: 16px;
    width: 65px;
    height: 74px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    background: linear-gradient(135deg, #c9c7c7, #999);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.bi-arrow-up::before{
    font-weight: bolder !important;
}

.hex-btn.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.inner-circle {
    width: 40px;
    height: 40px;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #888;
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s; 
}

.hex-btn i {
    color: #555;
    font-size: 18px;
    transition: color 0.3s;
}

.hex-btn:hover {
    transform: rotate(30deg);
}

.hex-btn:hover .inner-circle {
    background: #333;
    border-color: #333;
    transform: rotate(-30deg); 
}

.hex-btn:hover i {
    color: #fff;
}



/* Whatsapp */

.whatsapp-float {
    position: fixed;
    bottom: 105px;
    right: 20px;
    background-color: #25D366;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    font-size: 25px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: all .3s ease;
}

.whatsapp-float i {
    color: white;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20c05d;
    color: white;
}


/* Footer */

.footer {
    background-color: #0d0d0d;
}

.footer-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
}

.footer p,
.footer li,
.footer .links li {
    line-height: 2;
    letter-spacing: 0.3px;
}

.footer a {
    color: white;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: rgb(35, 137, 253);
    text-decoration: underline;
    transform: translateX(5px);
}

.footer i {
    color: white;
    margin-right: 6px;
}


@media only screen and (max-width: 992px) {
    .about::before {
        display: none;
    }

    .about .main {
        margin-bottom: 50px;
        width: 95%;
    }

    .navbar {
        border-radius: 0;
    }

    .navbar-brand img {
        height: 40px;
    }

    .carousel-item img {
        height: 70vh;
    }

    .contact-img img {
        width: 110%;
    }

    .navbar .nav-item {
        padding: 10px 2px;
    }

}



/*Loader*/

.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f4f4f4;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: 'Oswald', sans-serif;
    transition: all .5s ease;
    opacity: 0;
    visibility: hidden;
}

.loader-wrapper.hide {
    opacity: 0;
    visibility: hidden;
}

.loader-wrapper.show {
    opacity: 1;
    visibility: visible;
}

.assembly-container {
    position: relative;
    width: 240px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.strut {
    position: absolute;
    bottom: 20px;
    width: 0;
    height: 40px;
    background: linear-gradient(180deg, #95a5a6, #7f8c8d);
    border-top: 2px solid #bdc3c7;
    border-bottom: 2px solid #576574;
    border-radius: 4px;
    overflow: hidden;
    animation: slideStrut 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.strut::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 12px;
    background: repeating-linear-gradient(90deg, transparent 0px, transparent 15px, #2c3e50 15px, #2c3e50 35px);
    opacity: 0.3;
}

.flat-plate {
    position: absolute;
    bottom: 65px;
    width: 80px;
    height: 12px;
    background: #f39c12;
    border: 1px solid #d35400;
    border-radius: 2px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    z-index: 2;
    opacity: 0;
    animation: dropPlate 0.5s cubic-bezier(1, -0.3, 0.2, 1.2) forwards;
    animation-delay: 0.6s;
}

.bolt {
    position: absolute;
    top: -4px;
    width: 14px;
    height: 14px;
    background: radial-gradient(circle, #ecf0f1, #bdc3c7);
    border-radius: 50%;
    border: 1px solid #7f8c8d;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: rotate(0deg);
    animation: tightenBolt 0.6s ease forwards;
    animation-delay: 1.1s;
}

.bolt::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    height: 50%;
    border: 1px solid #95a5a6;
    border-radius: 2px;
}

.bolt-left {
    left: 15px;
}

.bolt-right {
    right: 15px;
}

.loading-text {
    color: #2c3e50;
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
    animation-delay: 0.2s;
}

.sub-text {
    font-size: 0.8rem;
    color: #7f8c8d;
    letter-spacing: 1px;
    margin-top: 5px;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
    animation-delay: 1.3s;
}

@keyframes slideStrut {
    from {
        width: 0;
        opacity: 0;
    }

    to {
        width: 220px;
        opacity: 1;
    }
}

@keyframes dropPlate {
    0% {
        transform: translateY(-50px);
        opacity: 0;
    }

    100% {
        transform: translateY(35px);
        opacity: 1;
    }
}

@keyframes tightenBolt {
    0% {
        transform: rotate(-180deg) scale(1.5);
        opacity: 0;
    }

    100% {
        transform: rotate(0deg) scale(1);
        opacity: 1;
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}




