/* About Page CSS*/

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    /* Smooth transition for video zoom */
}

.video-container:hover video {
    transform: scale(1.1);
    /* Zoom effect on video */
}

.text-overlay {
    position: absolute;
    text-align: center;
    justify-content: center;
    top: 50%;
    bottom: 50%;
    margin: 0px 80px 50px 80px;
    color: white;
    font-size: 30px;
}

#servicestitle{
    display: flex;
    flex-direction: row;
    justify-content:center ;
    align-items: center;
    text-align: center;
    padding: 30px 10px 0px 10px;
    margin: 30px 10px 0px 10px;
}
#servicestitle .title{
    font-size: 70px;
    color: #2B91A7;
    margin: 0px 5px 15px 5px;
}
#hashimg{
    margin: 5px 10px 5px 10px;
    width: 90px;
    height: auto;
    margin-top: -15px;
    
}
.sectiontitle{
    font-size: 28px;
    color: #2B91A7;
    margin: 30px 5px 15px 35px;

}
.devarticle{
    font-size: 20px;
    margin-left: 35px;
}
.devlist{
    list-style: none;
    font-size: 20px;
    margin-top: 20px;
    margin-left: 50px;
    margin-bottom: 50px;

}
.devlink{
    font-size: 20px;
    text-decoration: none;
    color: white;
    margin-left: 35px;
    margin-bottom: 30px;
    padding: 20px;
    background-color:#2B91A7;
    border-radius: 40px;
    transition: color 0.3s ease;
}
.devlink:hover{
    background-color: #32a2bb;
}

.developmentdiv {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 50px;
    background-color: #F2F2F2;
    border-radius: 30px;
    padding: 30px 10px 30px 10px;
    margin: 35px;
    overflow: hidden;
}
.devicon{
    width: 400px;
    border-radius: 30px;
    margin-right: 35px;
}

.wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.video-container {
    position: relative;
    width: 95%;
    /* Adjust video width */
    max-width: none;
    /* Limit maximum size */
    aspect-ratio: 16 / 9;
    /* Maintain 16:9 aspect ratio */
    border-radius: 30px;
    overflow: hidden;
    margin: 40px auto;
}

.wrappingcontainer{
    display: flex;
    justify-content: space-between;
}
.video-element{
    border-radius: 30px;
    max-width: 400px;
    max-height: 500px;
    margin-top: 30px;
    margin-bottom: 30px;
    margin-left: 0px;
    margin-right: 30px;
}
.overlay-text{

    display: flex;
    justify-content: flex-start;
    font-size: 1.5rem; /* Adjust font size */
}

.video-element video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .developmentdiv, .wrappingcontainer {
        gap: 20px;
    }
    .devicon {
        width: 250px;
    }
}

@media (max-width: 768px) {
    .developmentdiv, .wrappingcontainer {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    .devicon, .video-element {
        width: 90vw;
        max-width: 350px;
        margin: 0 auto 16px auto;
    }
    .video-container {
        width: 100vw;
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    #servicestitle .title, .sectiontitle {
        font-size: 1.5rem;
    }
    .devarticle, .devlist, .devlink {
        font-size: 1rem;
        margin-left: 10px;
    }
    .devicon, .video-element {
        width: 98vw;
        max-width: 98vw;
    }
    .video-container {
        width: 100vw;
        border-radius: 8px;
    }
}