.product-banner-section {
    position: relative;
    background-image: url('../products-img/product-banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 300px;
    width: 100%;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.product-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 1;
}

.product-banner-inner-section {
    position: relative;
    z-index: 2;
    /* Ensure it's above the overlay */
}

.product-banner-content {
    text-align: left;
    padding-left: 65px;
    padding-top: 60px;
}

.product-text {
    font-size: 42px;
    margin-bottom: 10px;
}

.product-inner-para {
    color: white;
    padding-left: 0;
    /* No need for 23px anymore */
}

.product-inner-para a {
    color: white;
    text-decoration: none;
}

.product-inner-para a:hover {
    color: white;
    text-decoration: none;
}

/* Aluminium Gravity Die Castings section  */
.product-content {
    font-family: 'Be Vietnam Pro', sans-serif;
    text-align: center;
    padding-top: 50px;


}

.product-title {

    color: #A90605;
    font-size: 28px;
    padding-bottom: 10px;
}

.product-para {
    font-size: 15px;
    color: #323232;
    padding-left: 150px;
    padding-right: 150px;
}

/* General Engineering Parts */

.product-inner-text {
    text-align: center;
    font-size: 15px;
    color: #323232;
    padding-left: 80px;
    padding-right: 80px;
    /* padding-bottom: 30px; */
}

.motor-btn {
    border-radius: 30px;
    color: #FFFFFF;
    background-color: #A90605;
    margin-top: 10px;
    padding: 4px 42px;
    border: none;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-left: 0px;

}

.motor-btn:hover {
    background: linear-gradient(to right,
            #A90605, #430202);
}


.motor-card {
    background-color: #ffffff;
    /* border: 1px solid #e0e0e0; */
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 0 50px 3px #FFE5E5;
    /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); */
    max-width: 100%;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    height: auto;
    margin-top: 50px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    /* box-shadow: 0 0 50px 18px #FFE5E5; */

}

.motor-card:hover {
    transform: translateY(-5px);

}

.motor-card-text {
    font-size: 15px;
    color: #616161;
    padding-top: 20px;
    font-weight: 600;
    font-family: 'Be Vietnam Pro', sans-serif;
}


.motor-card-img {
    align-items: center;
}

.corner-ribbon {
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 30px;
    background: #a40000;
    clip-path: polygon(0 0, 100% 0%, 0 100%, 0% 100%);
}


.motor-drive-btn {
    border-radius: 30px;
    color: #A90605;
    margin-top: 20px;
    padding: 4px 18px;
    border: 1px solid #A90605;
    font-family: Be Vietnam Pro;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-left: 0px;
    background: transparent;
}

.enginee-parts {
    background-color: #FFF8F8;
    padding-bottom: 50px;
    margin-top: 50px;
}

.compressor-parts{
      background-color: #FFF8F8;
    padding-bottom: 50px;
    margin-top: 50px;
}

.Hydraulic-parts{
      background-color: #FFF8F8;
    padding-bottom: 50px;
    margin-top: 50px;
}

/* blower */


.no-hover-effect {
    color: #A90605;
    /* Keep text color same */
    text-decoration: none;
    /* Remove underline */
}

.no-hover-effect:hover {
    color: #A90605 !important;
    /* Prevent color change on hover */
    text-decoration: none !important;
    /* Prevent underline on hover */
}

/* flip */
.card-flip-wrapper {
    position: relative;
    perspective: 1000px;
    width: 100%;
    min-height: 300px;
    transition: transform 0.3s ease;


}

.card-flip-wrapper:hover {
    transform: translateY(-5px);
}

.card-flip-wrapper.flipped .card-front-face {
    transform: rotateY(180deg);
}

.card-back-label {
    color: #616161;
    font-weight: 600;
    font-size: 15px;
    font-family: 'Be Vietnam Pro', sans-serif;
}

.card-back-value {
    color: #848484;
    font-size: 15px;
    font-weight: 300;
    font-family: 'Be Vietnam Pro', sans-serif;
}

/* Fullscreen zoom effect */
.image-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.image-popup-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Centered image container */
.popup-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* Zoomed image */
.image-popup-overlay img {
    width: 600px;
    height: 400px;
    object-fit: contain;
    border-radius: 10px;
    /* box-shadow: 0 0 40px rgba(255, 255, 255, 0.4); */
    transform: scale(0.8);
    transition: transform 0.3s ease;
    pointer-events: none;
    /* Prevent blocking the close button */
}


.image-popup-overlay.active img {
    transform: scale(1);
}

/* Close button */
.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    z-index: 1001;
}