/* ===== Bhagya Machine Tools - Industris Theme ===== */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    text-align: center;
}

.preloader-logo {
    margin-bottom: 20px;
}

.preloader-logo img {
    max-width: 180px;
    height: auto;
    animation: pulse-logo 1.5s infinite ease-in-out;
}

.preloader-percent {
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #0a0f2b;
    letter-spacing: 1px;
}

@keyframes pulse-logo {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

:root {
    --color-primary: #014d97;
    --color-dark: #0a0f2b;
    --color-footer: #003663;
    --color-accent: #ffd100;
    --color-text: #6e6e6e;
    --color-heading: #0a0f2b;
    --font-body: 'Roboto', sans-serif;
    --font-heading: 'Raleway', sans-serif;
    --font-second: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: #6e6e6e;
    background: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', sans-serif;
    color: #0a0f2b;
    font-weight: 700;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: #014d97;
    transition: all 0.3s ease;
}

a:hover {
    color: #ffd100;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== Container ===== */
.container-bigger {
    max-width: 1280px !important;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===== Display Table ===== */
.dtable {
    display: table;
    width: 100%;
}

.dcell {
    display: table-cell;
    vertical-align: middle;
}

.f-left {
    float: left;
}

.f-right {
    float: right;
}

/* ===== Top Bar ===== */
.top-bar {
    background: #0a0f2b !important;
    color: #fff !important;
    padding: 10px 0;
    font-size: 13px;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10001;
    display: block !important;
}

.top-bar .info-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.top-bar .info-list li {
    display: inline-flex;
    align-items: center;
    margin-right: 25px;
}

.top-bar .info-list li i {
    color: #ffd100;
    margin-right: 8px;
}

/* ===== Header ===== */
.site-header {
    background: #fff;
    position: relative;
    z-index: 998;
    display: block !important;
    padding-top: 42px;
}

.site-header.is-sticky .main-header {
    position: fixed;
    top: 42px;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    animation: slideDown 0.4s ease;
}

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

.main-header {
    padding: 0;
    border-bottom: 1px solid #eee;
}

#site-logo {
    padding: 10px 0;
}

#site-logo a img {
    width: 130px;
    height: 90px;
}

.main-navigation {
    text-align: center;
}

.main-navigation ul.menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-flex;
}

.main-navigation ul.menu > li {
    position: relative;
}

.main-navigation ul.menu > li > a {
    display: block;
    padding: 30px 16px;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #0a0f2b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.main-navigation ul.menu > li > a:hover,
.main-navigation ul.menu > li.current-menu-item > a {
    color: #014d97;
}

.main-navigation ul.menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 22px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #014d97;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.main-navigation ul.menu > li > a:hover::after,
.main-navigation ul.menu > li.current-menu-item > a::after {
    width: 20px;
}

.cta-btns .btns {
    text-align: right;
}

.cta-btns .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffd100;
    color: #0a0f2b;
    padding: 12px 28px;
    border-radius: 30px;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-btns .btn:hover {
    background: #014d97;
    color: #fff;
}

/* ===== Mobile Header ===== */
.header_mobile {
    display: none;
}

.md-hidden {
    display: block;
}

.sm-hidden {
    display: block;
}

@media (max-width: 767px) {
    .sm-hidden {
        display: none !important;
    }
    .top-bar {
        display: none;
    }
}

@media (max-width: 991px) {
    .main-header.md-hidden {
        display: none !important;
    }
    .header_mobile {
        display: block;
    }
    .header_mobile.msticky {
        position: sticky;
        top: 0;
        z-index: 9999;
        background: #fff;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    .mlogo_wrapper {
        display: table;
        width: 100%;
        padding: 10px 15px;
    }
    .mobile_logo {
        display: table-cell;
        vertical-align: middle;
    }
    .mobile_logo img {
        height: 60px;
    }
    #mmenu_toggle {
        display: table-cell;
        vertical-align: middle;
        text-align: right;
    }
    #mmenu_toggle button {
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
        padding: 5px 10px;
    }
    #mmenu_toggle button::before {
        content: '\f0c9';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
    }
    .mobile_nav {
        display: none;
        background: #fff;
        padding: 15px 0;
    }
    .mobile_mainmenu {
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .mobile_mainmenu li a {
        display: block;
        padding: 10px 15px;
        color: #0a0f2b;
        font-weight: 600;
        font-size: 14px;
        text-transform: uppercase;
        border-bottom: 1px solid #f0f0f0;
    }
    .mobile_mainmenu li a:hover {
        color: #014d97;
        background: #f8f8f8;
    }
}

/* ===== Hero Slider ===== */
.hero-slider-section {
    position: relative;
}

.hero-slide {
    position: relative;
}

.industris-slides .slick-slide-bg {
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}

.industris-slides .slick-slide-bg::before {
    content: none;
}

.industris-slides .slick-slide-inner {
    position: relative;
    z-index: 2;
    width: 100%;
}

.industris-slide-content h2 {
    color: #fff;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.industris-slide-content p {
    color: rgba(255,255,255,0.9);
    font-size: 18px;
    margin-bottom: 25px;
    max-width: 500px;
}

.industris-slides .slick-prev,
.industris-slides .slick-next {
    width: 50px;
    height: 50px;
    z-index: 10;
}

.industris-slides .slick-prev {
    left: 20px;
}

.industris-slides .slick-next {
    right: 20px;
}

.industris-slides .slick-prev::before,
.industris-slides .slick-next::before {
    font-size: 24px;
}

/* ===== Buttons ===== */
.btn-main {
    display: inline-block;
    background: #014d97;
    color: #fff;
    padding: 14px 36px;
    border-radius: 30px;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    transition: all 0.3s ease;
}

.btn-main:hover {
    background: #ffd100;
    color: #0a0f2b;
}

.btn-main.no-icon span {
    display: inline-block;
}

/* ===== Section Headings ===== */
.section-heading {
    margin-bottom: 40px;
}

.section-heading h2 {
    font-size: 36px;
    font-weight: 700;
    text-transform: uppercase;
}

.section-head h6.text-primary {
    color: #014d97;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-head .section-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
}

/* ===== Spacer ===== */
.spacer-section {
    padding: 50px 0;
}

/* ===== Products Grid ===== */
.products-grid {
    margin-bottom: 20px;
}

.product-item {
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.product-item a {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.product-item a:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

.product-item img {
    width: 100%;
    transition: all 0.3s ease;
}

.product-item a:hover img {
    transform: scale(1.05);
}

.products-row-2 {
    margin-top: 20px;
}

.products-row-2 .big-product a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 560px;
    background: #f8f8f8;
    overflow: hidden;
}

.products-row-2 .big-product a img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 15px;
}

.products-row-2 .small-products {
    padding: 0;
}

.products-row-2 .small-products .row {
    margin: 0 -15px;
}

.products-row-2 .small-products .product-item {
    padding: 15px;
}

.products-row-2 .small-products .product-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 260px;
    background: #f8f8f8;
    overflow: hidden;
}

.products-row-2 .small-products .product-item a img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 15px;
}

/* ===== About Section ===== */
.about-section {
    background: #f7f7f7;
}

.about-row {
    min-height: 500px;
}

.about-image-col {
    position: relative;
}

.about-image {
    min-height: 500px;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
}

.video-popup {
    position: absolute;
    top: 50%;
    right: -35px;
    transform: translateY(-50%);
    z-index: 10;
}

.video-popup .btn-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #fff;
    color: #0a0f2b;
    font-size: 28px;
    position: relative;
    box-shadow: 0 0 0 8px rgba(255,255,255,0.2), 0 0 0 15px rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.video-popup .btn-play::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.4);
    transform: translate(-50%, -50%);
    animation: pulse-ring 2s infinite;
}

.video-popup .btn-play::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(255,209,0,0.5);
    transform: translate(-50%, -50%);
    animation: pulse-ring 2s infinite 0.7s;
}

@keyframes pulse-ring {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.8); opacity: 0; }
}

.video-popup .btn-play:hover {
    background: #0a0f2b;
    color: #ffd100;
    transform: scale(1.1);
}

.btn-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #fff;
    color: #0a0f2b;
    font-size: 28px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.btn-play:hover {
    background: #0a0f2b;
    color: #ffd100;
    transform: scale(1.1);
}

.about-content-col {
    display: flex;
    align-items: center;
    background: #ffd100;
    color: #0a0f2b;
}

.about-content {
    padding: 60px 80px;
    max-width: 600px;
}

.about-label {
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #0a0f2b;
    margin-bottom: 12px;
}

.about-title {
    font-family: 'Raleway', sans-serif;
    font-size: 42px;
    font-weight: 800;
    line-height: 1.15;
    color: #0a0f2b;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.about-desc {
    font-size: 14px;
    line-height: 1.7;
    color: #0a0f2b;
    margin-bottom: 35px;
}

.about-content .number-wrap {
    font-size: 18px;
    font-weight: 600;
    color: #0a0f2b;
}

.about-content .number {
    font-size: 48px;
    font-weight: 800;
    color: #0a0f2b;
}

.about-content .number-wrap .title {
    font-size: 18px;
    font-weight: 600;
    color: #0a0f2b;
}

/* ===== Director Section ===== */
.director-section {
    margin-bottom: 20px;
}

.director-img {
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.director-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

/* ===== Testimonial Section ===== */
.testimonial-section {
    background: #f7f7f7;
    padding: 60px 0;
}

.testimonial-section h4 {
    font-size: 24px;
    margin-bottom: 15px;
}

.testimonial-wrap {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    position: relative;
    margin-bottom: 20px;
}

.testimonial-wrap .ttext {
    font-size: 16px;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}

.testimonial-wrap .ion-md-quote {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 40px;
    color: rgba(1, 77, 151, 0.1);
}
.testimonial-wrap .ion-md-quote::before {
    content: '\f347';
}

.tclient {
    display: flex;
    align-items: center;
    gap: 15px;
}

.tclient img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.tclient .cinfo h6 {
    margin: 0;
    font-size: 16px;
}

.tclient .cinfo span {
    font-size: 13px;
    color: #999;
}

/* ===== Products Checklist ===== */
.product-info-col {
    padding: 15px;
}

.product-info-col h4 {
    font-size: 24px;
    margin-bottom: 15px;
}

.product-info-col p {
    line-height: 1.8;
}

.product-info-col .products-checklist {
    list-style: none;
    margin: 20px 0 25px;
    padding: 0;
}

.product-info-col .products-checklist li {
    padding: 8px 0;
    font-size: 15px;
    color: #0a0f2b;
    font-weight: 500;
}

.product-info-col .products-checklist li i {
    color: #ffd100;
    margin-right: 10px;
    font-size: 18px;
}

.product-info-col .ot-button .btn-main {
    background: #ffd100;
    color: #0a0f2b;
}

.product-info-col .ot-button .btn-main:hover {
    background: #0a0f2b;
    color: #fff;
}

.ot-button {
    margin-top: 20px;
}

/* ===== Footer ===== */
.site-footer {
    background: #03132b;
    color: rgba(255,255,255,0.7);
}

.site-footer .main-footer {
    padding: 80px 0 60px;
    background-image: linear-gradient(rgba(3,19,43,0.9), rgba(3,19,43,0.9)), url('../images/ph-about-1.jpg');
    background-size: cover;
    background-position: center;
}

.site-footer .widget-inner {
    margin-bottom: 30px;
}

.site-footer .widget_media_image img {
    border-radius: 4px;
}

.site-footer .textwidget p {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    line-height: 1.7;
    margin-top: 15px;
}

.site-footer .ot-socials {
    margin-top: 20px;
}

.site-footer .ot-socials .font-second {
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    display: block;
    margin-bottom: 12px;
}

.site-footer .ot-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    margin-right: 8px;
    font-size: 18px;
    transition: all 0.3s ease;
}

.site-footer .ot-socials a:hover {
    background: #ffd100;
    color: #0a0f2b;
}

.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 20px 0;
}

.footer-copyright {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    line-height: 36px;
}

.footer-nav ul.none-style {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.footer-nav ul.none-style li a {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    padding: 0 10px;
    line-height: 36px;
}

.footer-nav ul.none-style li a:hover {
    color: #ffd100;
}

.text-right {
    text-align: right;
}

@media (max-width: 768px) {
    .footer-nav ul.none-style {
        justify-content: center;
    }
    .text-right {
        text-align: center;
    }
    .mobile-center {
        text-align: center !important;
    }
}

/* ===== Back to Top ===== */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #ffd100;
    color: #0a0f2b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    background: #014d97;
    color: #fff;
}

/* ===== Page Header ===== */
.page-header {
    background-image: url('../images/ph-about-1.jpg');
    background-size: cover;
    background-position: center;
    min-height: 350px;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 15, 43, 0.6);
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-title {
    color: #fff;
    font-size: 50px;
    font-weight: 700;
    text-transform: uppercase;
}

.breadcrumb-trail {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    margin-top: 10px;
}

.breadcrumb-trail a {
    color: #ffd100;
}

/* ===== Content Section ===== */
.content-section {
    padding: 80px 0;
}

.content-section p {
    margin-bottom: 20px;
    line-height: 1.8;
}

/* ===== Contact Form ===== */
.contact-form {
    background: #f7f7f7;
    padding: 40px;
    border-radius: 8px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form .form-control {
    height: 50px;
    border-radius: 4px;
    border: 1px solid #ddd;
    padding: 10px 20px;
    font-size: 15px;
}

.contact-form textarea.form-control {
    height: 120px;
}

.contact-form .form-control:focus {
    border-color: #014d97;
    box-shadow: none;
}

.contact-info-box {
    margin-bottom: 30px;
}

.contact-info-box i {
    font-size: 30px;
    color: #014d97;
    margin-bottom: 10px;
}

.contact-info-box h5 {
    font-size: 18px;
    margin-bottom: 5px;
}

.contact-info-box p {
    margin: 0;
    font-size: 14px;
}

/* ===== Gallery ===== */
.gallery-grid {
    margin: 0 -10px;
}

.gallery-item {
    padding: 10px;
    margin-bottom: 20px;
}

.gallery-item a {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.gallery-item img {
    width: 100%;
    transition: all 0.3s ease;
}

.gallery-item a:hover img {
    transform: scale(1.08);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .industris-slide-content h2 {
        font-size: 30px;
    }
    .industris-slide-content p {
        font-size: 15px;
    }
    .about-content {
        padding: 30px;
    }
    .section-heading h2,
    .section-head .section-title {
        font-size: 26px;
    }
    .page-title {
        font-size: 32px;
    }
    .spacer-section {
        padding: 30px 0;
    }
    .content-section {
        padding: 50px 0;
    }
}

@media (max-width: 576px) {
    .top-bar .info-list li {
        margin-right: 15px;
        font-size: 12px;
    }
    .industris-slide-content h2 {
        font-size: 24px;
    }
    .industris-slides .slick-slide-bg {
        min-height: 400px;
    }
}
