* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: "Poppins", sans-serif;
  }
  html {
    font-size: 45%;
    overflow-x: hidden;
  }
  :root {
    --bg-color: #000000;
    --second-bg-color: #00c3ff;
    --text-color: rgb(255, 255, 255);
    --main-color: #ffffff;
  }
  body{
    background: var(--bg-color);
    color: var(--text-color);
  }
  .logo{
    font-size: 4rem;
    color: var(--text-color);
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s ease;
  }
  .logo:hover{
    transform: scale(1.1);
  }
  span{
    color: var(--second-bg-color);
  }
  section{
    min-height: 100vh;
    padding: 10rem 12%;
  }
  .home{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15rem;
  }

  .home-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
}

.home-background video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the video covers the entire background */
}

  .home-content{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
  }
  .home-content h1{
    font-size: 5.8rem;
    font-weight: 600;
    margin-top: 1.5rem;
    line-height: 1;
  }
  .home-content h3{
    font-size: 2.8rem;
    margin: 1rem 0;
  }
  .home-content p{
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1.8;
  }
  .home-img video {
    width: 22vw;
    border-radius: 70%;
    box-shadow: 0 0 25px var(--second-bg-color);
    transition: 0.4s ease-in-out;
  }
  
  .home-img video:hover {
    box-shadow: 0 0 25px var(--second-bg-color),
                0 0 50px var(--second-bg-color),
                0 0 100px var(--second-bg-color);
  }
  
  .social-icons a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    padding: 1rem;
    background: transparent;
    border: 3px solid var(--second-bg-color);
    border-radius: 50%;
    color: var(--second-bg-color);
    margin: 3rem 0.5rem;
    transition: 0.3s ease;
  }
  .social-icons a:hover{
    color: var(--text-color);
    background-color: var(--second-bg-color);
    transform: scale(1.2)translateY(-5px);
    box-shadow: 0 0 25px var(--second-bg-color);
  }
  .btn-group{
    display: flex;
    gap: 1.5rem;
  }
  .btn{
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--second-bg-color);
    box-shadow: 0 0 25px var(--second-bg-color);
    border-radius: 3rem;
    font-size: 1.8rem;
    color: black;
    border: 2px solid transparent;
    font-weight: 600;
    transition: 0.3s ease-in-out;
  }
  .btn:hover{
    transform: scale(1.05);
    box-shadow: 0 0 25px var(--second-bg-color),
                0 0 50px var(--second-bg-color);
  }
  .btn-group a:nth-of-type(2){
    background-color: black;
    color: var(--main-color);
    border: 3px solid var(--second-bg-color);
    box-shadow: 0 0 25px transparent;
  }
  .btn-group a:nth-of-type(2):hover{
   box-shadow: 0 0 25px var(--second-bg-color);
   background-color: var(--second-bg-color);
   color: black; 
  }
  
  .about {
    position: relative; /* Ensure the positioning is relative to the section */
    color: var(--text-color); /* Adjust text color if needed */
}
.about-content h2{
  font-size: 6rem;
  font-weight: 700;
  margin-top: 1.5rem;
  line-height: 1;
}
.about-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1; /* Place the video behind the content */
}

.about-background video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the video covers the entire background */
}

.about-content {
    position: relative; /* Ensure the content is positioned above the video */
    padding: 20rem 12%; /* Adjust padding as needed */
    z-index: 1; /* Ensure content is above the background */
    font-size: 2rem;
}

  ::-webkit-scrollbar{
    margin: 20px;
  }
  ::-webkit-scrollbar-thumb{
    background-color: var(--main-color);
  }
  ::-webkit-scrollbar-track{
    background-color: var(--bg-color);
  }

  .heading{
    text-align: center;
    font-size: 7rem;
    margin: 5rem 0;
  }
  /* Ensure the video covers the entire #services section */
  .services-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1; /* Send the video behind the content */
  }
  
  .services-background video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the video covers the entire area */
  }
  
  #services {
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding: 50px 0; /* Adjust padding as needed */
    color: var(--text-color); /* Text color to stand out against the video */
  }
  
  .services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 5rem;
  }
  
  .services-box {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent background for readability */
    width: 300px;
    height: 400px;
    border-radius: 3rem;
    cursor: pointer;
    border: 5px solid transparent;
    transition: 0.4s ease-in-out;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20%;
}

.services-box:hover {
    background-color: rgba(0, 0, 0, 0.8);
    color: var(--main-color);
    border: 5px solid var(--main-color);
    transform: scale(1.03);
}

  .services-info {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    padding: 5rem;
  }
  
  .services-info i {
    font-size: 8rem;
  }
  
  .services-info h4 {
    font-size: 4rem;
    margin: 2rem 0;
    font-weight: 800;
  }
  
  .services-info p {
    font-size: 1.7rem;
    font-weight: 600;
    line-height: 1.7;
  }

  .contact {
    background-image: url("szbgimg2.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    padding: 30rem 12%;
  }
  
  /* Contact section heading styling */
  .contact h2 {
    margin-bottom: 2rem;
    color: var(--text-color);
    font-weight: bold;
  }
  
  /* Contact form styling */
  .contact form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin: 5rem 0;
    text-align: center;
  }
  
  /* Input and textarea styling within the contact form */
  .contact form .input-box input,
  .contact form textarea {
    width: 100%;
    padding: 2rem;
    font-size: 1.7rem;
    color: rgb(255, 255, 255);
    background: transparent;
    border-radius: 10px;
    border: 2px solid var(--main-color);
    backdrop-filter: blur(20px);
    box-shadow: 0 0 10px;
    margin: 1.5rem 0;
    resize: none; /* Prevent resizing of textarea */
  }

   .footer{
    background-color: var(--bg-color);
    padding: 50px 0;
   }
   .footer .social-icons{
    text-align: center;
   }
   .footer ul{
    text-align: center;
    font-size: 1.8rem;
   }
   .footer ul li{
    display: inline-block;
    margin-left: 20px;
   }
   .footer ul li a{
    color: white;
    border-bottom: 3px solid transparent;
    transition: 0.3s ease-in-out;
   }
   .footer ul li a:hover{
    border-bottom: 3px solid var(--main-color);
   }
   .footer .copyright{
    text-align: center;
    margin-top: 40px;
    font-size: 16px;
   }

   @media(max-width:1024px){
     .home{
      flex-direction: column-reverse;
      margin: 5rem 0;
      gap: 5rem;
      }
      .home-content{
      align-items: center;
      text-align: center;
      }
      .home-img img{ 
         width: 52vw;
      }
      .about{
        flex-direction: column-reverse;
        text-align: center;
      }
      .about h2{
        text-align: center;
        margin: 2rem 0;
      }
      .about img{
        width: 52vw;
      }
      .contact form{
        flex-direction: column;
      }
  }