* {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-image: url('baackground-image.jpg'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: #fff;
}

header {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    background-color: #333;
    position: sticky;
    top: 0;
    z-index: 1000;
    flex-wrap: wrap;
}

.logo {
    font-size: 20px;
    font-weight: bold;
}

nav ul {
    display: flex;
    list-style-type: none;
    flex-wrap: wrap;
    padding: 0;
}

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #124ef3;
}

.section {
    padding: 50px 10px; 
    background-size: cover;
    background-position: center;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    color: white;
    text-align: center;
}

.hero h1 {
    font-size: 2.5em; 
}

.hero p {
    font-size: 1.2em; 
}

.cta-button {
    background-color: #fff;
    color: #333;
    padding: 10px 15px; 
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #124ef3;
    color: white;
}

h1 {
    text-align: center;
    margin: 20px 0;
}

.service-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.service-item {
    background-color: #444;
    padding: 20px;
    border-radius: 10px;
    width: 200px;
    text-align: center;
}

.categories {
    text-align: center;
    margin-bottom: 20px;
}

.categories button {
    background-color: #555;
    color: white;
    padding: 10px 12px; 
    border: none;
    margin: 5px;
    cursor: pointer;
    transition: transform 0.3s, background-color 0.3s;
}

.categories button:hover {
    background-color: #124ef3;
    transform: scale(1.05);
}

.video-gallery {
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 15px; 
    padding: 0 10px; 
    margin: 0 auto;
}

.video-card {
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background-color: #444;
    text-align: center; 
    width: 150px;
}

.video-card img {
    width: 100%;
    height: auto;
    display: block;
}

.video-card h3 {
    text-align: center;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    color: white;
    font-size: 18px; 
}

.video-card:hover .overlay {
    opacity: 1;
}

.lightbox {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0, 0, 0, 0.8); 
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.close {
    color: white;
    font-size: 40px;
    font-weight: bold;
    position: absolute;
    top: 20px;
    right: 30px;
    cursor: pointer;
}

.lightbox video {
    max-width: 90%;
    max-height: 80%;
}

.contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    max-width: 400px;
    margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
}

.contact-form button {
    padding: 10px 20px;
    background-color: #124ef3;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: #fff;
    color: #333;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
}


@media (max-width: 768px) {
    header {
        flex-direction: column; 
        align-items: center; 
    }

    nav ul {
        flex-direction: column; 
        align-items: center; 
    }

    nav ul li {
        margin: 5px 0;
    }

    .hero h1 {
        font-size: 2em; 
    }

    .hero p {
        font-size: 1em; 
    }

    .service-item {
        width: 90%; 
    }
    
    .video-gallery {
       
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); 
    }

    .video-card h3 {
        font-size: 14px; 
    }

    .overlay {
        font-size: 16px; 
    }

    .contact-form {
        max-width: 90%; 
    }
}
