﻿#main-banner {
    width: 100%;
    height: 100%;
}

    #main-banner img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: grayscale(100%);
        transition: all 0.4s;
    }

        #main-banner img.coloredImg {
            filter: grayscale(0);
        }


#product-category {
    width: 100%;
    background-color: #DBF5FD;
    padding: 3rem 1rem;
}

    #product-category h1 {
        text-align: center;
        color: #0027B7;
    }

    #product-category .product-cards {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 3rem;
        max-width: 1000px;
        margin: 3rem auto;
    }


        #product-category .product-cards .card {
            background: #fff;
            max-width: 400px;
            height: 400px;
            border-radius: 5px;
            padding: 25px 30px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
            text-align: center;
            transition: transform 0.2s ease;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

            #product-category .product-cards .card img {
                margin-bottom: 10px;
            }

            #product-category .product-cards .card:hover {
                transform: translateY(-5px);
            }

            #product-category .product-cards .card h3 {
                font-size: 22px;
                color: #0027B7;
                margin-bottom: 1.5rem;
            }

            #product-category .product-cards .card p {
                font-size: 14px;
                color: #959595;
                margin: 20px auto;
            }

        #product-category .product-cards .btn {
            display: inline-block;
            padding: 10px 20px;
            background: #0027B7;
            color: #fff;
            text-decoration: none;
            border-radius: 6px;
            font-size: 13px;
        }

            #product-category .product-cards .btn:hover {
                background: #001b80;
            }






.industry-segments {
    padding: 50px 20px;
    text-align: center;
}

    .industry-segments h1 {
        color: #0027B7;
    }

.segments-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
    max-width: 1000px;
    margin: 3rem auto;
}

.segment-card {
    border-radius: 8px;
    text-align: left;
    width: 100%;
    max-width: 400px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


.segment-card-con {
    background-color: #F5F7FA;
    width: 300px;
    height: 350px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-top: -50px;
    transition: all 0.4s;
    z-index: 2;
}

.segment-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s;
    z-index: 1;
}

.segment-card:hover.segment-card img {
    transform: scale(1.05);
}

.segment-card:hover .segment-card-con {
    transform: translateY(10px);
}

.segment-card h2 {
    color: #FF7A00;
    font-size: 18px;
    text-align: center;
    margin-top: 15px;
    margin-bottom: 5px;
}

.segment-card p {
    text-align: center;
    color: #444;
    margin-bottom: 12px;
}

.segment-card ul {
    list-style: none;
    padding: 0 20px;
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    color: #444
}

.segment-card a {
    display: inline-block;
    margin: 15px;
    color: #0027B7;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
}



.contact-sale-wrapper {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}



.contact-sale {
    background: url('../images/footer-top-bg.svg') no-repeat center center/cover;
    height: 80vh;
    align-items: flex-end;
    justify-content: center;
}

.contact-sale-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
}

.contact-sale-content {
    max-width: 70%;
    color: white;
    text-align: center;
    margin: auto;
}

    .contact-sale-content p {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }

.btn-primary {
    display: inline-block;
    padding: 10px 25px;
    background-color: transparent;
    border: 1px solid white;
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

    .btn-primary:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }


@media (max-width: 900px) {

    #product-category .product-cards,
    .segments-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(300px, 1fr));
        align-items: normal;
    }


        #product-category .product-cards .card {
            max-width: fit-content;
            height: auto;
        }
}



@media (max-width: 768px) {
    .contact-sale {
        height: auto;
        min-height: 50vh;
    }

    .contact-sale-content {
        max-width: 100%;
        padding: 30px 20px;
        text-align: left;
        margin-right: auto;
    }
}


@media (max-width: 700px) {
    #main-banner {
        width: 100%;
        height: 70%;
    }

        #main-banner img {
            object-fit: contain;
        }

    #product-category .product-cards,
    .segments-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        align-items: normal;
    }

    .segment-card-con {
        width: 250px;
        height: 350px;
        margin-top: -100px;
    }
}


@media (max-width: 600px) {
    .segments-grid {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 500px) {
    #main-banner {
        width: 100%;
        height: 50%;
    }

        #main-banner img {
            object-fit: cover;
        }

    .contact-sale-content p {
        font-size: 1rem;
        margin-bottom: 25px;
    }


    .contact-sale {
        height: 30vh;
    }
}


@media (max-width: 350px) {
    .segment-card-con {
        width: 225px;
        height: 300px;
        margin-top: -60px;
    }

    .segment-card ul {
        line-height: 1.5;
    }
}
