/* styles.css */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    direction: ltr; /* Default direction for English */
    overflow-x: hidden;
}

header {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 1em;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo img {
    width: 100px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1em;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

.hamburger {
    display: none;
    cursor: pointer;
}
/*
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.background-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    z-index: -1;
}

.hero-content {
    z-index: 1;
}
*/

/* Hero Section Styles */
.hero {
    position: relative;
    height: 80vh;           /* Adjust height as desired */
    overflow: hidden;
    /* background: #000;       Fallback background */
  }
  
  .background-video {
    width: 60%;
    display: block;  /* Makes the video a block element */
    margin: 0 auto;  /* Centers the block horizontally */
    object-fit: cover;
  }
/*  
  .background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; 
    object-fit: cover;
    z-index: -1;
  }
*/
  /* Hero Content Overlay */
  .hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 20px;
    color: #fff;
  }
  
  
main {
    padding: 2em;
}

#services, #features {
    text-align: center;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1em;
}

.card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 300px;
    margin: 1em;
    text-align: left;
}

.card img {
    width: 100%;
    height: auto;
}

.card h3, .card p {
    padding: 0.5em;
}


  .feature-videos {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px; /* Optional: add some spacing between videos */
  }
  
  .feature-videos video {
    flex: 0 0 48%; /* Each video takes up 48% of the container width */
    max-width: 48%;
    /* You can also include a min-width if necessary */
    min-width: 300px;
    box-sizing: border-box;
  }
  

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1em 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
    }

    .hamburger {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 0.5em;
        display: none;
    }

    .nav-active {
        display: flex;
    }
}
