.video-header-section {
  position: relative;
  width: 100%;
  overflow: hidden;

  .video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;

    video {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }

  .grid {
    display: grid;
    grid-template-columns: 1fr;

    .grid__item {
      grid-column: span 12; /* Span entire row by default */
    }

    .grid__item--large {
      @media (min-width: 768px) {
        grid-column: span 6; /* Default to span 6 columns on medium screens and up */
      }
    }

    .grid__item--right {
      @media (min-width: 768px) {
        grid-column: span 6; /* Span 6 columns starting from the right */
        justify-self: end; /* Align item to the end of its grid space */
      }
    }
  }

  .header-content-container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding:0; /* Adjust padding as needed */
    border-radius: 0;
  }

  .container {
    width: 100%;
    max-width: 1200px; /* Containing content within 1200px */
  }

  .header-content {
    text-align: center;
    color: #ffffff; /* Text color */
  }

  .header-text {
    max-width: 800px; /* Adjust maximum width of text content */
    padding: 100px 40px;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background color */
    border-radius: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Add shadow for better contrast */
  }

  .header-text h2 {
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 44px; /* Adjust headline font size */
    color:#fff;
  }

  .header-text p {
    font-size: 2rem; /* Adjust subheadline font size */
    line-height: 1.6;
  }

  .header-text .btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 24px;
    font-size: 1.8rem; /* Adjust button font size */
    color: #ffffff; /* Button text color */
    background-color: #ff2001; /* Button background color */
    border: none;
    border-radius: 25px 25px 0 25px;
    transition: background-color 0.3s ease;
    text-decoration: none;;

    &:hover {
      background-color: #555555; /* Button hover background color */
    }
  }

  .overlay-left {
    text-align: left;
  }

  .overlay-right {
    text-align: right;
  }
}
