/*
*******************************************
*******************************************

@File: Factorian Theme Styles

* This file contains the styling for the actual theme, this
is the file you need to edit to change the look of the
theme.

This files contents are outlined below>>>>>

*******************************************
*******************************************

==== INDEX PAGE CSS

** - Default CSS
** - Backgrounds
** - Preloaders CSS
** - Header area CSS
** - Slider area CSS
** - Service area CSS
** - CTA area CSS
** - Footer area CSS
** - Breadcroumb area CSS
** - Team area CSS
** - Gallery CSS
** - Quote form CSS
** - Hovers CSS
** - Widgets CSS
** - Single post CSS
** - Comments CSS
** - 404 CSS




*/
/* Default CSS */

/* @import url('https://fonts.googleapis.com/css?family=Roboto:100,100i,300,300i,400,400i,500,500i,700,700i,900,900i'); */
body {
    font-family: 'Poppins', sans-serif;
    font-size: 16.32px;
    line-height: 28px;
    color: #1f1e17;
}

h1 {
    font-family: 'Roboto', sans-serif;
    color: #171F1D;
}

h2 {
    font-family: 'Roboto', sans-serif;
    color: #737373;
}

h3 {
    font-family: 'Roboto', sans-serif;
    color: #171F1D;
}

h4,
h5,
h6 {
    font-family: 'Roboto', sans-serif;
    color: #171F1D;
}

b,
strong,
.highlight {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.spacer-85 {
    height: 85px;
}

.spacer-45 {
    height: 45px;
}

img {
    max-width: 100%;
    border-radius: 15px;
}

/* Exclude logo and small icons from rounded corners */
.logo img,
.header-top-area img,
.footer-area img,
.mainmenu img {
    border-radius: 0 !important;
}

video,
iframe,
.embed-responsive {
    border-radius: 15px !important;
    overflow: hidden !important;
}

.border-spacer-85 {
    border-bottom: 1px solid #eaeef1;
    margin-bottom: 65px;
    padding-top: 65px;
}

.seprator {
    color: #949494;
    display: inline-block;
    padding: 0 10px;
}

.factorian-btn {
    background: linear-gradient(135deg, #4f7fff 0%, #3a6bdd 100%);
    border-radius: 25px;
    color: #fff;
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    padding: 8px 30px;
    box-shadow: 0 4px 15px rgba(79, 127, 255, 0.3);
    border: none;
    transition: all 0.3s ease;
}

.cta-btn {
    min-width: 200px;
    text-align: center;
}

.factorian-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 127, 255, 0.4);
    color: #fff;
    text-decoration: none;
}

.factorian-btn4 {
    background: linear-gradient(135deg, #4f7fff 0%, #3a6bdd 100%);
    border-radius: 25px;
    color: #fff;
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(79, 127, 255, 0.3);
    transition: all 0.3s ease;
    border: none;
}

.factorian-btn2 {
    background: linear-gradient(135deg, #4A9ADB 0%, #357abd 100%);
    border-radius: 25px;
    color: #fff;
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(74, 154, 219, 0.3);
    transition: all 0.3s ease;
    border: none;
}

.factorian-btn3 {
    background: linear-gradient(135deg, #4A9ADB 0%, #357abd 100%);
    border-radius: 25px;
    color: #fff;
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(74, 154, 219, 0.3);
    transition: all 0.3s ease;
    border: none;
}

.factorian-btn1 {
    background: linear-gradient(135deg, #4A9ADB 0%, #357abd 100%);
    border-radius: 25px;
    color: #fff;
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    padding: 8px 30px;
    box-shadow: 0 4px 15px rgba(74, 154, 219, 0.3);
    transition: all 0.3s ease;
}

.factorian-btn1:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 154, 219, 0.4);
    color: #fff;
    text-decoration: none;
}

.factorian-btn.slide-btn,
.factorian-btn2.slide-btn,
.factorian-btn3.slide-btn,
.factorian-btn4.slide-btn {
    margin: 20px 0 0 !important;
    position: relative !important;
    display: inline-block !important;
}

@media only screen and (max-width: 768px) {

    /* For mobile phones: */
    .factorian-btn4 {
        /* background: rgba(223, 240, 216, 0.83) none repeat scroll 0 0; */
        background: rgba(221, 221, 221, 0.32) none repeat scroll 0 0;
        border-radius: 100px;
        height: 100%;
        top: 19px;
        width: 29%;
        color: white;
        display: inline-block;
        font-size: 14px;
        font-weight: 700;
        padding: 3% 0%;
        text-align: center;
        text-transform: uppercase;
    }

    .factorian-btn2 {
        /* background: rgba(223, 240, 216, 0.83) none repeat scroll 0 0; */
        background: rgba(221, 221, 221, 0.32) none repeat scroll 0 0;
        border-radius: 100px;
        height: 100%;
        top: 19px;
        width: 25%;
        color: white;
        display: inline-block;
        font-size: 14px;
        font-weight: 700;
        padding: 4% 0%;
        text-align: center;
        text-transform: uppercase;
    }

    .factorian-btn3 {
        /* background: rgba(223, 240, 216, 0.83) none repeat scroll 0 0; */
        background: rgba(221, 221, 221, 0.32) none repeat scroll 0 0;
        border-radius: 100px;
        height: 100%;
        top: 19px;
        width: 30%;
        color: white;
        display: inline-block;
        font-size: 14px;
        font-weight: 700;
        padding: 3.5% 0%;
        text-align: center;
        text-transform: uppercase;
    }

    .factorian-btn2.slide-btn {
        margin-top: -200px;
        /*margin-right: -50px;*/
        margin-right: 9%;
    }

    .factorian-btn3.slide-btn {
        margin-top: -200px;
        /*margin-right: -50px;*/
        margin-right: 9%;
    }

    .factorian-btn4.slide-btn {
        margin-top: -200px;
        /*margin-right: -50px;*/
        margin-right: 9%;
    }

    img {
        max-width: 100%;
    }
}


.factorian-btn:hover {
    background: #4F7FFF none repeat scroll 0 0;
    /*#333 none repeat scroll 0 0;*/
    color: #fff;
    text-decoration: none;
}

.factorian-btn2:hover {
    background: #4A9ADB none repeat scroll 0 0;
    /*#333 none repeat scroll 0 0;*/
    color: #fff;
    text-decoration: none;
}

.factorian-btn3:hover {
    background: #4A9ADB none repeat scroll 0 0;
    /*#333 none repeat scroll 0 0;*/
    color: #fff;
    text-decoration: none;
}

.factorian-btn4:hover {
    background: #4A9ADB none repeat scroll 0 0;
    /*#333 none repeat scroll 0 0;*/
    color: #fff;
    text-decoration: none;
}

.check-list li:before {
    color: #4F7FFF;
    content: "";
    font-family: fontawesome;
    padding-right: 9px;
}

.check-list {
    font-weight: 500;
    line-height: 31px;
    list-style: outside none none;
    margin: 20px 0 0;
    padding: 0;
}

input[type="submit"] {
    background: #4F7FFF none repeat scroll 0 0;
    border: medium none;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 30px;
}

input[type="submit"]:hover {
    background: #333;
    color: #fff;
}

.spacer-45 {
    height: 45px;
}

a {
    -webkit-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

/* Backgrounds */

.slide-bg-11 {
    background-image: url(../img/home-banner-2026.avif)
}

.slide-bg-22 {
    background-image: url(../img/slide-bg-22.avif)
}

.slide-bg-33 {
    background-image: url(../img/slide-bg-33.avif)
}

.slide-bg-44 {
    background-image: url(../img/slide-bg-44.avif)
}

.slide-bg-55 {
    background-image: url(../img/slide-bg-55.avif)
}

.slide-bg-66 {
    background-image: url(../img/slide-bg-66.avif)
}

.service-bg-1 {
    background-image: url(../img/abc.jpg)
}

.service-bg-2 {
    background-image: url(../img/bestrenovation.jpg)
}

.project-bg-1 {
    background-image: url(../img/remoteImage.JPG)
}

.project-bg-2 {
    background-image: url(../img/boxed-bg-2.avif)
}

.project-bg-3 {
    background-image: url(../img/boxed-bg-3.avif)
}

.blog-bg-1 {
    background-image: url(../img/blog-bg-1.avif)
}

.blog-bg-2 {
    background-image: url(../img/blog-bg-2.avif)
}

.blog-bg-3 {
    background-image: url(../img/blog-bg-3.avif)
}

.team-bg-1 {
    background-image: url(../img/Image1.avif)
}

.team-bg-2 {
    background-image: url(../img/Image2.avif)
}

.team-bg-3 {
    background-image: url(../img/Image3.avif)
}

.team-bg-4 {
    background-image: url(../img/Image4.avif)
}

.team-bg-5 {
    background-image: url(../img/Image5.avif)
}

.team-bg-6 {
    background-image: url(../img/Image6.avif)
}

.work-bg-101 {
    background-image: url(../img/graphitecrucibles.jpg)
}

.work-bg-2 {
    background-image: url(../img/crucible.jpg)
}

.work-bg-3 {
    background-image: url(../img/crucibletp.jpg)
}

.work-bg-4 {
    background-image: url(../img/basin.jpg)
}

.work-bg-5 {
    background-image: url(../img/crucibleshapebasin.jpg)
}

.work-bg-6 {
    background-image: url(../img/straightwall.jpg)
}

.work-bg-7 {
    background-image: url(../img/basinabc.jpg)
}

.work-bg-11 {
    background-image: url(../img/crucibles11.avif)
}

.work-bg-22 {
    background-image: url(../img/FoundryFlux111.avif)
}

.work-bg-33 {
    background-image: url(../img/dycote.avif)
}

.work-bg-44 {
    background-image: url(../img/degassingmachine44.avif)
}

.work-bg-55 {
    background-image: url(../img/Header662.avif)
}

.work-bg-66 {
    background-image: url(../img/Header66.avif)
}

.work-bg-111 {
    background-image: url(../img/FoundryFlux111.avif)
}



/* Preloaders CSS */

.spinner {
    width: 40px;
    height: 40px;
    background-color: #333;
    margin: 100px auto;
    -webkit-animation: sk-rotateplane 1.2s infinite ease-in-out;
    animation: sk-rotateplane 1.2s infinite ease-in-out;
}

@-webkit-keyframes sk-rotateplane {
    0% {
        -webkit-transform: perspective(120px)
    }

    50% {
        -webkit-transform: perspective(120px) rotateY(180deg)
    }

    100% {
        -webkit-transform: perspective(120px) rotateY(180deg) rotateX(180deg)
    }
}

@keyframes sk-rotateplane {
    0% {
        transform: perspective(120px) rotateX(0deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg)
    }

    50% {
        transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg)
    }

    100% {
        transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
        -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    }
}

.spinner-2 {
    width: 40px;
    height: 40px;
    margin: 100px auto;
    background-color: #333;
    border-radius: 100%;
    -webkit-animation: sk-scaleout2 1.0s infinite ease-in-out;
    animation: sk-scaleout2 1.0s infinite ease-in-out;
}

@-webkit-keyframes sk-scaleout2 {
    0% {
        -webkit-transform: scale(0)
    }

    100% {
        -webkit-transform: scale(1.0);
        opacity: 0;
    }
}

@keyframes sk-scaleout2 {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    100% {
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
        opacity: 0;
    }
}

.factorian-site-preloader-wrap {
    background: #fff none repeat scroll 0 0;
    height: 100%;
    position: fixed;
    width: 100%;
    z-index: 9999;
}

.factorian-site-preloader-wrap .spinner-2 {
    left: 50%;
    margin: -20px 0 0 -20px;
    position: absolute;
    top: 50%;
}

/* Header area CSS */

.header-top-area {
    background-color: #1a1a1a;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-top-area a,
.header-top-area {
    color: #fff;
}

.flash-text {
    font-family: 'poppins', sans-serif;
    font-weight: 600;
    font-size: 10px;
    letter-spacing: 1px;
    animation: flash 3s infinite;
    display: inline-block;
}

@keyframes flash {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.header-top-area i.fa {
    color: #0098da;
}

.mainmenu {
    padding-right: 0;
}

.mainmenu ul#navigation {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: right !important;
    display: flex !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
}

.mainmenu ul#navigation li {
    display: inline-block !important;
    flex: 0 0 auto !important;
}

.mainmenu ul#navigation li a {
    color: #222 !important;
    display: block !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    padding: 15px 8px !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
}

.mainmenu li:hover>a,
.current_page_item>a {
    color: #4f7fff !important;
    background: transparent;
    text-decoration: none;
}

.mainmenu li a::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 20px;
    right: 20px;
    height: 2px;
    background-color: #4f7fff;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.mainmenu li:hover a::after,
.current_page_item a::after {
    transform: scaleX(1);
}

.mainmenu-area.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.4s ease-in-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.mainmenu-area.sticky .mainmenu li a {
    padding: 20px;
}

.mainmenu li ul {
    background: #fff none repeat scroll 0 0;
    left: 0;
    opacity: 0;
    position: absolute;
    text-align: left;
    top: 68px;
    -webkit-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    visibility: hidden;
    width: 200px;
    z-index: -1;
}

.mainmenu li ul li {
    display: block;
}

.mainmenu li ul li a {
    padding-bottom: 5px;
    padding-top: 5px;
    text-transform: none;
}

.mainmenu li:hover ul {
    opacity: 1;
    visibility: visible;
    z-index: 99;
    top: 50px;
}

.responsive-menu-wrap {
    display: none
}

.logo a {
    color: #494949;
}

.logo {
    padding: 5px 0;
    text-transform: uppercase;
}

.logo h1 {
    border: 3px solid #494949;
    display: inline-block;
    font-size: 16px;
    margin: 5px 0;
    padding: 5px 15px;
}

.header-search-bar {
    margin-top: -20px;
    position: absolute;
    right: 0;
    top: 50%;
}

/* Default CSS */

.header-search-bar:after {
    font-family: fontawesome;
    content: "\f002";
}

.header-search-bar:after {
    position: absolute;
    right: 15px;
    top: 5px;
    z-index: 1
}

.header-search-bar form {
    position: relative;
    z-index: 9;
}

.header-search-bar input[type="search"] {
    border: medium none;
    cursor: pointer;
    height: 40px;
    padding: 5px 15px;
    text-indent: -9999px;
    -webkit-transition: all 0.2s ease 0s;
    transition: all 0.2s ease 0s;
    width: 40px;
    background: none;
}

.header-search-bar input[type="search"]:focus {
    border: 1px solid #ddd;
    text-indent: 0;
    width: 200px;
    background: #fff;
    cursor: text
}

.header-top-area a:hover {
    opacity: 0.7;
    filter: opacity(0.7);
    text-decoration: none;
}

.logo a:hover {
    opacity: 0.8;
    filter: opacity(0.8);
}

/* 3. Slider area */

.single-slide-item {
    background-color: #dddd;
    background-position: center center;
    background-size: cover;
    color: #fff;
    font-size: 24px;
    height: 590px;
}

.slide-item-table {
    display: table;
    height: 100%;
    width: 100%;
}

.slide-item-tablecell {
    display: table-cell;
    vertical-align: middle;
}

.single-slide-item h2 {
    font-size: 60px;
    margin: 0 0 30px;
}

.factorian-content-block {
    padding: 30px 0px;
}

.homepage-slides .owl-nav div {
    border: 2px solid;
    color: #fff;
    font-size: 19px;
    height: 40px;
    left: 50px;
    line-height: 35px;
    margin-top: -20px;
    opacity: 0.8;
    padding-top: 0.5%;
    position: absolute;
    text-align: center;
    top: 50%;
    width: 40px;
}

.homepage-slides .owl-nav div.owl-next {
    left: auto;
    right: 50px;
}

.homepage-slides .owl-nav div:hover {
    opacity: 1;
}

.homepage-slides-wrapper {
    position: relative;
}

.factorian-slide-preloader-wrap {
    background: #0098da none repeat scroll 0 0;
    height: 100%;
    left: 0;
    position: absolute;
    width: 100%;
    z-index: 999;
}

.factorian-slide-preloader-wrap .spinner {
    left: 50%;
    margin: -20px 0 0 -20px;
    position: absolute;
    top: 50%;
}

/* Service area CSS */

.service-item-bg {
    background-color: #ddd;
    background-position: center center;
    background-size: cover;
    height: 348px;
}

h3 {
    font-size: 22px;
    font-weight: 700;
}

.service-readmore-btn {
    color: #222;
    font-weight: 700;
}

.service-readmore-btn i.fa {
    padding-left: 5px;
}

.single-smal-service-item {
    border-bottom: 1px solid #e9e9e9;
    color: #222;
    display: block;
    font-size: 14px;
    line-height: 23px;
    margin-bottom: 25px;
    padding-bottom: 25px;
}

.single-smal-service-item img {
    float: left;
    margin-right: 15px;
}

.single-smal-service-item h4 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 5px;
}

.single-smal-service-item p:last-child {
    margin: 0;
}

.single-smal-service-item:hover {
    color: #222;
    opacity: 0.8;
    text-decoration: none;
}

/* CTA area CSS */

.factorian-cta-area {
    background: #222222 none repeat scroll 0 0;
    color: #fff;
    padding: 28px 0;
}

.factorian-cta-area h2 {
    color: #fff;
    margin: 9px 0;
}

.who-we-are-text {
    padding: 0 40px;
}

/* 3. Promotion area */

.single-promo-item {
    margin-top: 70px;
    padding-left: 45px;
    position: relative;
}

.single-promo-item i.fa {
    border: 2px solid #0098da;
    border-radius: 50%;
    color: #0098da;
    height: 25px;
    left: 0;
    line-height: 22px;
    position: absolute;
    text-align: center;
    top: 0;
    width: 25px;
}

.factorian-content-block.section-gray {
    background-color: #f2f5f7;
}

.section-title {
    margin: 0 auto 50px;
    max-width: 415px;
    text-align: center;
}

.section-title h3 {
    line-height: 30px;
    margin: 0;
}

.single-boxed-item {
    color: #6e6e6e;
    display: block;
    margin-bottom: 30px;
}

.boxed-preview {
    height: 180px;
    margin-bottom: 20px;
    background-size: cover;
    background-color: #ddd;
    background-position: center center;
}

.single-boxed-item h4 {
    color: #222;
    font-weight: 700;
    margin: 0 0 10px;
}

.single-boxed-item:hover {
    opacity: 0.8;
    text-decoration: none;
}

.factorian-content-block.testimonial-area {
    padding: 40px 0;
}

.single-testimonial-item {
    color: #666;
    margin-bottom: 30px;
}

.testimonial-content {
    font-style: italic;
}

.testimonial-content i.fa {
    font-size: 150%;
}

.single-testimonial-item h4 {
    font-size: 16px;
    margin: 20px 0 0;
}

.single-testimonial-item h4 span {
    display: block;
    font-size: 14px;
    font-weight: normal;
    margin-top: 10px;
}

/* Footer area CSS */
/* Floating Icons Container — WhatsApp + Back-to-Top only */
/* JotForm sits at bottom:30px right:30px natively, so we stack above it */
.floating-icons {
    position: fixed;
    bottom: 110px;
    /* 30(JF bottom) + 60(JF height) + 20(gap) */
    right: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    z-index: 9999;
}

/* Common styles for all buttons */
.floating-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    text-decoration: none;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
    color: white;
}

/* WhatsApp */
.whatsapp-btn {
    background-color: #25D366;
    color: white;
    font-size: 22px;
}

.whatsapp-btn img {
    width: 32px;
    height: 32px;
}

/* Scroll to Top */
.scroll-top-btn {
    background-color: #888;
    color: #fff;
    font-size: 20px;
}

/* Ensure JotForm aligns to same right edge — moved slightly left */
div[id^="JotformAgent-"] {
    right: 60px !important;
    bottom: 30px !important;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.footer-top-area {
    background: #111111;
    color: #ffffff;
    padding: 40px 0;
}

.footer-top-area a {
    color: #bbbbbb;
}

.footer-top-area a:hover {
    color: #4f7fff;
    text-decoration: none;
}

.footer-wid {
    padding: 15px 0;
}

.footer-logo {
    background: #fff none repeat scroll 0 0;
    color: #222;
    display: inline-block;
    font-size: 16px;
    margin: 0 0 20px;
    padding: 10px 30px;
    text-transform: uppercase;
}

.footer-wid-title {
    color: #ffffff !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    margin: 0 0 30px !important;
    position: relative !important;
    padding-bottom: 15px !important;
    display: block !important;
}

.footer-wid-title::after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 40px !important;
    height: 2px !important;
    background: #4f7fff !important;
    display: block !important;
}

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

.footer-copyright-area {
    background: #0a0a0a;
    color: #888;
    padding: 20px 0;
    font-size: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Breadcroumb area CSS */

.factorian-content-block.factorian-breadcroumb {
    color: #666;
    font-size: 13px;
    padding: 15px 0;
}

.factorian-breadcroumb .row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.factorian-breadcroumb [class*="col-"] {
    float: none;
    /* Reset float for flex */
}

.factorian-breadcroumb h2,
.factorian-breadcroumb h3,
.factorian-breadcroumb h4 {
    color: #222;
    margin: 2px 0;
    line-height: 1.2;
}

.factorian-service-breadcroumb {
    padding: 15px 0;
}

.factorian-service-breadcroumb h3 {
    margin: 0 0 10px;
}

/* Team area CSS*/

.single-team-item {
    background-color: #ddd;
    background-position: center center;
    background-size: cover;
    float: left;
    height: 290px;
    position: relative;
    width: 33.3333%;
    overflow: hidden
}

.team-info-hover {
    bottom: -30px;
    color: #fff;
    font-size: 14px;
    left: 0;
    opacity: 0;
    padding: 15px;
    position: absolute;
    -webkit-transition: all 0.2s ease 0s;
    transition: all 0.2s ease 0s;
    visibility: hidden;
    width: 100%;
    z-index: -1;
    padding-top: 50px;
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 46%, rgba(0, 0, 0, 1) 71%);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 46%, rgba(0, 0, 0, 1) 71%);
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#000000', GradientType=0);
}

.team-info-hover h3 {
    margin: 0 0 5px;
}

.single-team-item:hover .team-info-hover {
    bottom: 0;
    opacity: 1;
    visibility: visible;
    z-index: 9;
}

/* Gallery CSS */

.gallery-lightbox {
    display: block;
    margin-bottom: 30px;
    position: relative;
}

.gallery-lightbox img {
    width: 100%
}

.gallery-lightbox i.fa {
    color: #fff;
    left: 50%;
    line-height: 20px;
    margin-left: -10px;
    margin-top: -10px;
    opacity: 0;
    position: absolute;
    text-align: center;
    top: 60%;
    -webkit-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    visibility: hidden;
    width: 20px;
    z-index: -1;
}

.gallery-lightbox:after {
    background: #000 none repeat scroll 0 0;
    content: "";
    height: 100%;
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    -webkit-transition: all 0.2s ease 0s;
    transition: all 0.2s ease 0s;
    visibility: hidden;
    width: 100%;
    z-index: -1;
}

.gallery-lightbox:hover i.fa {
    opacity: 1;
    top: 50%;
    visibility: visible;
    z-index: 2;
}

.gallery-lightbox:hover:after {
    opacity: 0.4;
    visibility: visible;
    z-index: 1;
}

.single-step-item {
    margin-top: 35px;
    padding-left: 55px;
    position: relative;
}

.single-step-item span.step-count {
    border: 2px solid;
    border-radius: 50%;
    display: inline-block;
    font-size: 18px;
    height: 35px;
    left: 0;
    line-height: 31px;
    position: absolute;
    text-align: center;
    top: 0;
    width: 35px;
}

.single-step-item h3 {
    margin: 0 0 10px;
    text-transform: uppercase;
}

.single-step-item p:last-child {
    margin: 0;
}

/* Quote form CSS */

.quote-title {
    background: #505050 none repeat scroll 0 0;
    color: #fff;
    padding: 20px;
}

.quote-title h3 {
    margin: 0 0 5px;
    color: #fff;
}

.get-quote-form {
    box-shadow: 0 0 7px #ccc;
    padding: 30px;
}

.get-quote-form label {
    display: block;
    font-weight: 400;
}

.get-quote-form input[type="text"],
.get-quote-form input[type="email"],
.get-quote-form input[type="tel"],
.get-quote-form textarea {
    border: 1px solid #ddd;
    margin-bottom: 15px;
    padding: 7px;
    width: 100%;
}

.get-quote-form textarea {
    height: 110px;
}

.get-quote-form input[type="submit"] {
    border-bottom: 4px solid #d6a137;
    border-radius: 3px;
    color: #fff;
}

.get-quote-form input[type="submit"]:hover {
    border-color: #000;
    background-color: #666;
}

img.contact-banner {
    margin: 30px 0 10px;
}

.contact-heading {
    color: #9b9b9b;
    margin-top: 20px;
    text-transform: uppercase;
}

.bigger-text-link {
    color: #222;
    font-size: 24px;
    line-height: 30px;
}

/* Hovers CSS */

.service-readmore-btn:hover {
    text-decoration: none;
}

.service-readmore-btn:hover i.fa {
    padding-left: 10px;
}

.service-readmore-btn i.fa {
    -webkit-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.service-readmore-btn:hover {
    color: #0098da;
}

.single-boxed-item:hover {
    color: #6e6e6e;
}

.footer-wid a:hover {
    color: #0098da;
}

/* Widgets CSS */

.widget {
    border: 1px solid #edeff8;
    line-height: 25px;
    margin-bottom: 50px;
}

.search-form button[type="submit"] {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    border: medium none;
    float: right;
    padding: 15px;
}

.search-form input[type="search"] {
    border: medium none;
    padding: 15px;
}

h3.widget-title {
    border-bottom: 1px solid #edeff8;
    font-size: 18px;
    margin: 0;
    padding: 20px;
}

.widget ul {
    margin: 0;
    padding: 20px 20px 20px 35px;
    list-style: none;
}

.widget a {
    color: #333;
}

.recent_posts li span {
    color: #8d9cad;
    display: block;
    font-size: 13px;
}

.widget li {
    padding-bottom: 8px;
}

.widget li:before {
    font-family: fontawesome;
    content: "\f0da";
}

.widget li:before {
    left: -10px;
    position: absolute;
    top: 0;
}

.widget li {
    position: relative;
}

.widget.category_list ul {
    overflow: hidden;
}

.widget.category_list ul li {
    float: left;
    width: 50%;
}

.widget.recent_posts li {
    padding-bottom: 15px;
}

.widget.recent_posts li a:hover {
    text-decoration: none;
    color: #000;
    opacity: .7;
}

/* Product Technical Tables */
.tech-table-wrap {
    margin-bottom: 50px;
}

.tech-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.tech-table th {
    background: #4f7fff;
    color: #fff;
    padding: 15px;
    text-align: left;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.tech-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    color: #444;
}

.tech-table tr:nth-of-type(even) {
    background-color: #f9f9f9;
}

.tech-table tr:hover {
    background-color: #f5f8ff;
}

.spec-label {
    font-weight: 700;
    color: #1a1a1a;
    width: 25%;
}

/* Single post CSS */

article.post {
    border: 1px solid #e8ebf7;
    margin-bottom: 50px;
    padding: 10px;
}

.featured-content {
    margin-bottom: 25px;
}

.post-title-wrap {
    margin-bottom: 20px;
}

.post-title-wrap p {
    font-size: 12px;
    margin: 0;
}

.post-title-wrap h3 {
    margin: 0 0 5px;
}

article.post a {
    color: #0098da;
}

.blog-pagination .pagination li.active a {
    background-color: #0098da;
    border-color: #0098da;
}

.blog-pagination .pagination a {
    color: #333;
}

/* Comments area */

.comment-title {
    margin: 0 0 30px;
}

/* Floating container for social media or other actions */
.floating-container {
    position: fixed;
    bottom: 110px;
    /* Above the back-to-top button */
    right: 30px;
    z-index: 9998;
    /* Below back-to-top but still high */
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-container .floating-item {
    width: 60px;
    /* Target size */
    height: 60px;
    /* Target size */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #333;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    font-size: 24px;
    text-decoration: none;
}

.floating-container .floating-item:hover {
    background: #0098da;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Back to top button - now inside .floating-icons flex container */
#back-to-top {
    position: static;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    padding: 0;
    margin: 0;
    background: #888;
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

#back-to-top:hover {
    background: #333;
    transform: translateY(-5px);
}

/* Modern Product Cards */
.single-boxed-item {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    margin-bottom: 30px;
    border: 1px solid #f0f0f0;
}

.single-boxed-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #4f7fff;
}

.boxed-preview {
    height: 250px;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.single-boxed-item:hover .boxed-preview {
    transform: scale(1.1);
}

.single-boxed-item h3,
.single-boxed-item h4 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    padding: 20px 25px 5px;
    background: #fff;
    position: relative;
    z-index: 2;
}

.single-boxed-item p {
    padding: 0 25px 25px;
    margin: 0;
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    background: #fff;
    border-radius: 0 0 15px 15px;
}

/* Glassmorphism for Hero */
.hero-content-wrap {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-block;
}

.comment-list {
    list-style: outside none none;
    margin: 0;
    padding: 0;
}

.comment-metadata h4 {
    color: #222;
    font-size: 17px;
    font-weight: 700;
    margin: 0;
}

.comment-metadata {
    color: #a3a3a3;
    font-size: 12px;
}

.comment-reply-link {
    font-weight: 700;
}

.comment-item {
    border-bottom: 1px solid #eef1f4;
    margin-bottom: 30px;
    padding-bottom: 25px;
}

.comment-form-wrap input[type="text"],
.comment-form-wrap input[type="email"],
.comment-form-wrap input[type="url"],
.comment-form-wrap textarea {
    border: 1px solid #ddd;
    padding: 10px;
    width: 100%;
}

.comment-form-wrap textarea {
    height: 150px;
}

.comment-form-title {
    margin: 0 0 30px;
}

/* Global Media Styles */
img,
video,
audio {
    border-radius: 15px;
}

/* 404 CSS */

.not-found-content h1 {
    font-size: 50px;
    font-weight: 700;
    margin: 0 0 20px;
}

.not-found-content i.fa {
    font-size: 100px;
    margin-bottom: 20px;
}

.not-found-content .factorian-btn {
    margin-top: 15px;
}

/* ── Hero content wrap: responsive ── */
@media only screen and (max-width: 767px) {
    .hero-content-wrap {
        display: block;
        width: 100%;
        padding: 20px 15px;
        border-radius: 12px;
        text-align: left;
        box-sizing: border-box;
    }

    .hero-content-wrap h2 {
        font-size: 24px !important;
        line-height: 1.3;
    }

    .hero-content-wrap p {
        display: none;
        /* hide subtitle on very small screens to save space */
    }

}