/* Reset margin and padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.our_service_container {
    margin: 0 auto;
    margin-top: 80px;
}
/* Fullscreen video background container */
.video-background {
    position: relative;
    width: 100%;
    height: 400px; /* Full viewport height */
    overflow: hidden;
}

/* Styling the video to cover the entire width */
.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1;
}

/* Content container over the video */
.content {
    position: absolute;
    bottom: 0px; /* Moves content to bottom of video */
    left: 50%;
    transform: translateX(-50%);
    max-width: 1120px;
    width: calc(100% - 40px); /* Responsive padding */
    padding: 20px;
    background-color: white;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* Heading and paragraph styles */
.content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #808080;
}

.content p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #6b6b6b;
}

/* Background overlay for better readability */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
    z-index: 0;
}

.service_container_2nd {
    max-width: 1120px; /* Set max width */
    margin: 0 auto; /* Center align */
    margin-top: 50PX;
    text-align: center;
}

/* Container for each service section */
.service-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ccc;
}

/* Image styling */
.service-container img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
}

/* Text styling */
.service-content {
    flex: 1;
    max-width: 600px;
}

.service-content h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #333;
}

.service-content p {
    font-size: 1rem;
    color: #555;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .service-container {
        flex-direction: column;
    }

    .service-container img {
        max-width: 100%;
    }
}