body {
padding-top: 90px;
font-family: 'Segoe UI', sans-serif;
}

.hero-img {
height: 90vh;
object-fit: cover;
}

.hero-overlay {
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:linear-gradient(to right, rgba(0,0,0,0.75), rgba(0,0,0,0.2));
}

.carousel-item {
position:relative;
}

.carousel-caption {
bottom:20%;
}

.page-header {
background:#111;
color:white;
padding:15px 0;
text-align:center;
}

.btn-danger {
background-color:#ef3b2d;
border:none;
}

.nav-link {
    color: #000 !important;
    margin-left: 20px;
}

.nav-link:hover {
    color: #ef3b2d !important;
}

.nav-link.active {
    color: #ef3b2d !important;
    font-weight: 700;
    border-bottom: 2px solid #ef3b2d;
}

.partner-box {
    padding: 25px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.partner-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-color: #ef3b2d;
    color: #ef3b2d;
}

.service-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border-color: #ef3b2d;
}

.service-img {
    height: 220px;
    object-fit: cover;
    width: 100%;
}

.contact-image-wrapper img {
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.manufacturers {
    background: #f8f9fa;
}

.manufacturer-card {
    background: #ffffff;
    padding: 25px 15px;
    border-radius: 10px;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    border-top: 4px solid transparent;
}

.manufacturer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-top: 4px solid #dc3545; /* your red */
    color: #dc3545;   /* optional */
}

.manufacturers a {
    text-decoration: none;
    color: inherit;
}

.card-title{
    font-size: 14px;
    font-weight: 700;
}

.card-text{
    font-size: 12px;
}

/*
.card-img-top {

    height: 250px;
    object-fit: cover;
    padding: 6px;
}
*/

/* 
.card-img-top {
    height: 260px;
    object-fit: contain;
    background: #f8f9fa;
    padding: 5px;
}
*/

/*
.card video {
    height: 260px;
    object-fit: contain;
    background: #f8f9fa;
    padding: 15px;
}
*/


.product-media {
    overflow: hidden;
}

.product-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 250px;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-thumbnail {
    height: 250px;
    object-fit: cover;
    transition: opacity 0.4s ease;
}

.product-media:hover .product-video {
    opacity: 1;
}

.product-media:hover .product-thumbnail {
    opacity: 0;
}

.play-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: #ef3b2d;
    border: none;
    color: white;
    padding: 8px 14px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s ease;
}

.play-btn:hover {
    background: #bb2d3b;
}

.about-image {
    vertical-align:text-top;
}

/* Modal Background */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}

/* Modal Image */
.modal-content {
    display: block;
    margin: auto;
    max-width: 90vw;     /* Never wider than viewport */
    max-height: 85vh;    /* Never taller than viewport */
    width: auto;
    height: auto;
    object-fit: contain; /* Keep proportions */
}

/* Close Button */
.close-modal {
    position: absolute;
    top: 30px;
    right: 50px;
    color: #ffffff;
    font-size: 40px;
    cursor: pointer;
}

.product-image img {
    width: 100%;
    height: 250px;        /* Adjust as needed */
    object-fit: cover;    /* Keeps proportions nice */
    border-radius: 8px;
    cursor: pointer;
}

.pre-footer1 {
    background: #ffffff;
    color: #000000;
    padding: 60px 20px;
    text-align: center;
}

.pre-footer1 h3 {
    margin-bottom: 15px;
    font-size: 26px;
}

.pre-footer1 p {
    max-width: 700px;
    margin: 0 auto 25px auto;
    color: #000000;
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background: #ef3b2d;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s ease;
}

.cta-button:hover {
    background: #ff0000;
}


.contact-card {
    background: #ffffff;
}

.map-container {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}



.pre-footer {
    background: #aaa;
    color: #333;
    padding: 30px 0;
}

.pre-footer h5 {
    margin-bottom: 20px;
    font-weight: 600;
}

.pre-footer p {
    font-size: 14px;
    color: #333;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    text-decoration: none;
    color: #333;
    transition: 0.3s ease;
}

.footer-links a:hover {
    color: #ef3b2d; /* your red accent */
}