.main-custom-div4 {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.main-custom-div1 {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 5%;
    color: white;
    z-index: 1;
}

#background-video1 {
    position: absolute;
    top: 55%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.main-custom-div1 h1 {
    font-size: 2.5em;
}

.main-custom-div1 p {
    font-size: 1.2em;
}

.main-custom-div1 a {
    display: inline-block;
    margin-top: 10px;
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    border: 2px solid white;
    padding: 5px 20px;
    border-radius: 5px;
}

.main-custom-div1 a:hover {
    background-color: rgba(255, 255, 255, 0.3);
}


.main-custom-div2 {
    position: relative;
    width: 100%;
    height: 100vh;
    background-image: url('../components/png/vid1.screenshot1.png');
    background-size: cover;
    background-position: 75%;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.main-custom-div2 h2,
.main-custom-div2 p,
.main-custom-div2 a {
    position: relative;
    z-index: 1;
}

.main-custom-div2 p {
    font-size: 20px;
}

.main-custom-div2 a {
    display: inline-block;
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    border: 2px solid white;
    padding: 5px 20px;
    border-radius: 5px;
}

.main-custom-div2 a:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

#shadow {
    width: 250px;
    height: 250px;
    object-fit:contain;
}

#sentry {
    width: 140px;
    height: 140px;
    object-fit:contain;
}

#spartan {
    width: 450px;
    height: 450px;
    object-fit:contain;
}

#mod-platfroms-robots li a {
    text-decoration: none;
    color: black;
    display: inline-block;
    transition: color 0.3s ease, transform 0.3s ease; 
}

#mod-platfroms-robots li a:hover {
    color: rgb(100, 100, 100);
    transform: scale(1.05); 
}

#mod-platfroms-robots img {
    max-width: 500px;
    height: auto;
}

#mod-platfroms-robots li a p,
#mod-platfroms-robots li a h4 {
    margin: 0;
    text-decoration: none;
}

#mod-platfroms-robots li a p:hover,
#mod-platfroms-robots li a h4:hover {
    text-decoration: none;
}

#partnerCarousel .carousel-item {
    height: 120px;
}

#partnerCarousel .carousel-item img {
    max-height: 100%; 
    object-fit: contain; 
    transition: transform 0.3s ease;
}

#partnerCarousel .carousel-item .partner-logo:hover {
    transform: scale(1.1); 
}

@media (max-width: 768px) {
    #shadow {
        width: 150px;
        height: 150px;
    }

    #sentry {
        width: 120px;
        height: 120px;
    }

    #spartan {
        width: 170px;
        height: 170px;
    }

    #mod-platfroms-robots li h4 {
        font-size: 1.2em;
    }

    #mod-platfroms-robots li p {
        font-size: 1em;
    }

    .main-custom-div5 h2{
        font-size: 1.3em;
    }

    .main-custom-div5 h4{
        font-size: 1em;
    }
}