
/* =========================================
   PRODUCT DETAIL PAGE
========================================= */

.product-details-section {
    background: #fff;
}

.product-breadcrumb {
    font-size: 14px;
    color: #777;
}

.product-breadcrumb a {
    color: #183e8a;
    text-decoration: none;
}

.product-breadcrumb span {
    margin: 0 8px;
}


/* Gallery */

.product-gallery {
    position: sticky;
    top: 100px;
}

.product-main-image {
    height: 520px;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 25px;
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: 0.3s ease;
}

.product-thumbnails {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.product-thumb {
    width: 90px;
    height: 80px;
    border: 1px solid #ddd;
    border-radius: 7px;
    padding: 5px;
    cursor: pointer;
    background: #fff;
}

.product-thumb.active {
    border: 2px solid #183e8a;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* Product Info */

.product-info {
    padding: 10px 0 10px 30px;
}

.product-category {
    color: #183e8a;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.product-info h1 {
    font-size: 38px;
    line-height: 1.2;
    color: #222;
    font-weight: 700;
    margin-bottom: 15px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.stars {
    color: #f5a623;
    letter-spacing: 2px;
}

.rating-text {
    color: #777;
    font-size: 14px;
}

.product-short-description {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
}


/* Highlights */

.product-highlight-box {
    background: #f7f9fc;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
}

.highlight-item {
    display: inline-flex;
    width: 49%;
    align-items: center;
    margin-bottom: 14px;
    color: #333;
    font-size: 14px;
}

.highlight-item i {
    color: #f0474d;
    margin-right: 10px;
}


/* Enquiry */

.product-enquiry-box {
    border: 1px solid #e3e3e3;
    border-radius: 10px;
    padding: 22px;
    margin-bottom: 25px;
    background: #fff;
}

.enquiry-title {
    font-size: 23px;
    font-weight: 700;
    color: #222;
    margin-bottom: 5px;
}

.product-enquiry-box p {
    color: #777;
    margin-bottom: 18px;
}

.product-buttons {
    display: flex;
    gap: 12px;
}

.btn-enquiry,
.btn-call {
    padding: 13px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-enquiry {
    background: #f01515;
    color: #fff;
}

.btn-enquiry:hover {
    background: #0f2c67;
    color: #fff;
}

.btn-call {
    border: 1px solid #2dc100;
    color: #2dc100;
}

.btn-call:hover {
    background: #2dc100;
    color: #fff;
}


/* Meta */

.product-meta {
    border-top: 1px solid #eee;
    padding-top: 18px;
}

.product-meta div {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.product-meta strong {
    color: #222;
}


/* Tabs */

.product-content-area {
    border-top: 1px solid #eee;
    padding-top: 35px;
}

.product-tabs {
    display: flex;
    gap: 5px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 30px;
}

.product-tab {
    background: transparent;
    border: none;
    padding: 15px 25px;
    font-size: 15px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    position: relative;
}

.product-tab.active {
    color: #f01515;
}

.product-tab.active:after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: #f01515;
}

.product-tab-content {
    display: none;
}

.product-tab-content.active {
    display: block;
}

.product-tab-content h2 {
    font-size: 28px;
    color: #222;
    margin-bottom: 20px;
}

.product-tab-content p {
    color: #666;
    line-height: 1.9;
    font-size: 15px;
    margin-bottom: 15px;
}


/* Feature Grid */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 25px;
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.feature-card i {
    font-size: 28px;
    color: #183e8a;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    line-height: 1.6;
}


/* Applications */

.application-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.application-list div {
    background: #f7f9fc;
    padding: 15px 20px;
    border-radius: 6px;
    color: #333;
}

.application-list i {
    color: #183e8a;
    margin-right: 10px;
}


/* Specification */

.specification-table {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.spec-row {
    display: grid;
    grid-template-columns: 35% 65%;
    border-bottom: 1px solid #ddd;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-row div {
    padding: 15px 20px;
}

.spec-row div:first-child {
    background: #f7f9fc;
    font-weight: 600;
    color: #333;
}

.spec-row div:last-child {
    color: #666;
}


/* Related Products */

.related-products-section {
    background: #f7f8fa;
    padding: 70px 0;
}

.section-title {
    margin-bottom: 40px;
}

.section-title span {
    color: #183e8a;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.section-title h2 {
    font-size: 34px;
    margin: 8px 0;
}

.section-title p {
    color: #777;
}

.related-product {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    transition: 0.3s;
}

.related-product:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.related-image {
    height: 260px;
    position: relative;
    padding: 20px;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #183e8a;
    color: #fff;
    padding: 5px 12px;
    font-size: 11px;
    border-radius: 3px;
}

.related-info {
    padding: 20px;
    border-top: 1px solid #eee;
}

.related-info h3 {
    font-size: 19px;
    margin-bottom: 10px;
}

.related-info p {
    color: #777;
    font-size: 14px;
    line-height: 1.6;
}

.view-product {
    color: #183e8a;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}


/* Responsive */

@media(max-width:991px) {

    .product-info {
        padding: 30px 0 0;
    }

    .product-main-image {
        height: 450px;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media(max-width:767px) {

    .product-info h1 {
        font-size: 28px;
    }

    .product-main-image {
        height: 350px;
    }

    .highlight-item {
        width: 100%;
    }

    .product-tabs {
        overflow-x: auto;
        white-space: nowrap;
    }

    .product-tab {
        padding: 13px 15px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .application-list {
        grid-template-columns: 1fr;
    }

    .spec-row {
        grid-template-columns: 45% 55%;
    }

    .product-buttons {
        flex-direction: column;
    }

}

.made-products {
    margin-top: 25px;
    text-align: center;
}

.made-products h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.made-product-list {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 15px;
}

.made-product-item {
    width: 95px;
    text-align: center;
}

.made-product-item img {
    width: 85px;
    height: 75px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 5px;
    display: block;
    margin: auto;
    transition: 0.3s;
}

.made-product-item img:hover {
    border-color: #183e8a;
    transform: scale(1.05);
}

.made-product-item span {
    display: block;
    font-size: 11px;
    color: #555;
    margin-top: 7px;
    line-height: 1.3;
}



/* =========================================
   OLD MACHINES PRODUCT SECTION
========================================= */

.old-machines-products {
    padding: 85px 0;
    background: #ffffff;
}


/* Heading */

.section-heading {
    max-width: 750px;
    margin: 0 auto 45px;
}

.section-heading > span {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #1d63b5;
    margin-bottom: 10px;
}

.section-heading h2 {
    font-size: 40px;
    line-height: 1.2;
    font-weight: 700;
    color: #172b4d;
    margin: 0 0 15px;
}

.section-heading h2 strong {
    color: #1d63b5;
}

.section-heading p {
    color: #777;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}


/* Machine Card */

.old-machine-card {
    background: #fff;
    border: 1px solid #e7eaf0;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    transition: all 0.35s ease;

    height: calc(100% - 30px);

    display: flex;
flex-direction: column;}

.old-machine-card:hover {
    transform: translateY(-7px);
    border-color: #1d63b5;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.10);
}


/* Image */

.machine-image {
    position: relative;
    height: 245px;
    min-height: 245px;
    background: #f5f7fa;
    overflow: hidden;
    flex-shrink: 0;
}

.machine-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.old-machine-card:hover .machine-image img {
    transform: scale(1.05);
}


/* Available Badge */

.machine-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #f01515;
    color: #fff;
    padding: 6px 12px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* Content */

.machine-info {
    padding: 22px 20px 24px;
}
.machine-info h3 {
    font-size: 17px;
    line-height: 1.35;
    color: #000000;
    font-weight: 700;
    margin: 0 0 10px;

    /* 3 lines maximum */
    height: 46px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-align: center;
}

.machine-info p {
    color: #777;
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 18px;
}


/* Button */

.machine-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1d63b5;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.machine-btn i {
    transition: transform 0.3s ease;
}

.machine-btn:hover {
    color: #172b4d;
    text-decoration: none;
}

.machine-btn:hover i {
    transform: translateX(5px);
}


/* View All */

.old-machine-view-all {
    margin-top: 20px;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #1d63b5;
    color: #fff;
    padding: 13px 28px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background: #172b4d;
    color: #fff;
    text-decoration: none;
}


/* Responsive */

@media (max-width: 991px) {

    .old-machines-products {
        padding: 65px 0;
    }

    .section-heading h2 {
        font-size: 34px;
    }

    .machine-image {
        height: 230px;
    }
}


@media (max-width: 575px) {

    .old-machines-products {
        padding: 50px 0;
    }

    .section-heading {
        margin-bottom: 30px;
    }

    .section-heading h2 {
        font-size: 28px;
    }

    .section-heading p {
        font-size: 14px;
    }

    .machine-image {
        height: 220px;
    }

    .machine-info h3 {
        font-size: 18px;
    }
}

.old-machine-section {
    padding: 90px 0;
    background: #f7f9fc;
    overflow: hidden;
}

.old-machine-content {
    padding-right: 45px;
}

.section-subtitle {
    display: inline-block;
    color: #1d4f91;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.old-machine-content h2 {
    font-size: 42px;
    line-height: 1.2;
    font-weight: 700;
    color: #000000;
    margin: 0;
}

.old-machine-content h2 span {
    color: #ed1f27;
}

.title-line {
    width: 65px;
    height: 4px;
    background: #1d63b5;
    margin: 20px 0 25px;
    border-radius: 3px;
}

.old-machine-content p {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.old-machine-content p strong {
    color: #333;
}

.old-machine-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 25px;
}

.feature-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 15px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.feature-box i {
    color: #1d63b5;
    font-size: 18px;
}

.feature-box span {
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

.old-machine-image {
    position: relative;
    padding: 25px;
}

.old-machine-image img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    position: relative;
    z-index: 2;
    border-radius: 8px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.18);
}

.image-bg-shape {
    position: absolute;
    width: 75%;
    height: 75%;
    right: 0;
    bottom: 0;
    background: #f01515;
    border-radius: 8px;
    z-index: 1;
}

.experience-box {
    position: absolute;
    left: 0;
    bottom: 55px;
    z-index: 3;
    background: #fff;
    padding: 18px 25px;
    border-left: 4px solid #1d63b5;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-radius: 4px;
}

.experience-box strong {
    display: block;
    color: #1d63b5;
    font-size: 22px;
    line-height: 1.2;
}

.experience-box span {
    display: block;
    color: #555;
    font-size: 13px;
    margin-top: 4px;
}


/* Responsive */
@media (max-width: 991px) {

    .old-machine-section {
        padding: 60px 0;
    }

    .old-machine-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .old-machine-content h2 {
        font-size: 34px;
    }

    .old-machine-image img {
        height: 450px;
    }
}

@media (max-width: 575px) {

    .old-machine-content h2 {
        font-size: 28px;
    }

    .old-machine-content p {
        font-size: 15px;
    }

    .old-machine-features {
        grid-template-columns: 1fr;
    }

    .old-machine-image {
        padding: 15px;
    }

    .old-machine-image img {
        height: 350px;
    }

    .experience-box {
        left: 0;
        bottom: 35px;
    }
}

/* ========================================
   TIMELINE
======================================== */

.timeline {
    position: relative;
    max-width: 1050px;
    margin: 0 auto;
    padding: 0;
}


/* Center Line */

.timeline::before {
    content: "";
    position: absolute;
    width: 3px;
    background: #061531;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}


/* ========================================
   TIMELINE ITEM
======================================== */

.timeline-item {
    position: relative;
    width: 50%;
    padding: 7px 45px;
    box-sizing: border-box;
}


/* Left Side */

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}


/* Right Side */

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}


/* ========================================
   TIMELINE DOT
======================================== */

.timeline-item::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    background: #fff;
    border: 4px solid #d22026;
    border-radius: 50%;
    top: 24px;
    z-index: 2;
    box-sizing: border-box;
}


/* Left Dot */

.timeline-item:nth-child(odd)::after {
    right: -8px;
}


/* Right Dot */

.timeline-item:nth-child(even)::after {
    left: -8px;
}


/* ========================================
   TIMELINE CARD
======================================== */

.timeline-content {
    background: #ffffff;
    padding: 17px 21px;
    border-radius: 7px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.10);
}


/* ========================================
   YEAR
======================================== */

.timeline-year {
    display: inline-block;
    font-size: 20px;
    line-height: 1;
    font-weight: 800;
    color: #d22026;
    margin-bottom: 5px;
}


/* ========================================
   CARD HEADING
======================================== */

.timeline-content h3 {
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
    color: #061531;
    margin: 0 0 5px;
}


/* ========================================
   CARD TEXT
======================================== */

.timeline-content p {
    font-size: 13.5px;
    line-height: 1.5;
    color: #666;
    margin: 0;
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 991px) {

    .company-timeline-section {
        padding: 45px 20px;
    }

    .section-title {
        margin-bottom: 35px;
    }

    .section-title h2 {
        font-size: 30px;
    }

    .timeline-item {
        padding-left: 30px;
        padding-right: 30px;
    }

    .timeline-content {
        padding: 16px 18px;
    }

}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 767px) {

    .company-timeline-section {
        padding: 40px 15px;
    }


    .section-title {
        margin-bottom: 28px;
    }

    .section-title span {
        font-size: 12px;
    }

    .section-title h2 {
        font-size: 27px;
    }

    .section-title p {
        font-size: 13px;
        line-height: 1.5;
    }


    /* Move line to left */

    .timeline::before {
        left: 10px;
        transform: none;
    }


    /* Single column */

    .timeline-item,
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        width: 100%;
        left: 0;
        text-align: left;
        padding: 5px 0 5px 32px;
    }


    /* Mobile Dot */

    .timeline-item::after,
    .timeline-item:nth-child(odd)::after,
    .timeline-item:nth-child(even)::after {
        left: 2px;
        right: auto;
        top: 20px;
        width: 16px;
        height: 16px;
    }


    /* Mobile Card */

    .timeline-content {
        padding: 15px 17px;
        border-radius: 6px;
    }


    .timeline-year {
        font-size: 19px;
        margin-bottom: 4px;
    }

    .timeline-content h3 {
        font-size: 17px;
        margin-bottom: 4px;
    }

    .timeline-content p {
        font-size: 13px;
        line-height: 1.45;
    }

}

