.about-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;
}

.about-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 1;
}

.abt-banner-inner-section {
    position: relative;
    z-index: 2;
    /* Ensure it's above the overlay */
}

.about-banner-content {
    text-align: left;
    padding-left: 65px;
    padding-top: 60px;
}

.banner-text {
    font-size: 42px;
    margin-bottom: 10px;
}

.banner-para {
    color: white;
    padding-left: 0;
    /* No need for 23px anymore */
}

.banner-para a {
    color: white;
    text-decoration: none;
}

.banner-para a:hover {
    color: white;
    text-decoration: none;
}

.compressor {
    font-family: 'Be Vietnam Pro', sans-serif;
    text-align: center;
    /* padding-top: 30px;
      padding-bottom: 30px; */
}

.compressor-title {
    color: #A90605;
    font-size: 28px;
    padding-bottom: 10px;
}

.compressor-para {
    color: #323232;
    font-size: 15px;
    margin-bottom: 50px;
}


.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;
    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-card-wrapper {
    perspective: 1000px;
    height: 360px;
    /* Ensure consistent height for all cards */
    position: relative;

}

.motor-card {
    width: 100%;
    height: 100%;
    /* Match parent height */
    transform-style: preserve-3d;
    transition: transform 0.6s;
    position: relative;
}

.motor-card-front
 {
    position: absolute;
    width: 100%;
    height: 100%;
    /* Take full space of the wrapper */
    backface-visibility: hidden;
    border-radius: 12px;
    padding: 20px;
    background-color: #ffffff;
  box-shadow: 0 0 50px 3px #FFE5E5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: -20px;
    margin-left: -20px;
    align-items: center;
}

/* .motor-card-back {
    transform: rotateY(180deg);
    

} */

.motor-card.flipped {
    transform: rotateY(180deg);
}


.motor-card-img {
    width: 100%;
    max-height: 160px;
    object-fit: contain;
    margin-bottom: 10px;
}

.card-inner-content{
    color: #616161;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Be Vietnam Pro', sans-serif;
}

.card-inner-text{
    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;
}

/* .compressor
.col-lg-3,
.col-md-6,
.col-12 {
    margin-top: 0px;
} */

