.rm-hero {
    background-image: url('../img/homebackgroundimages/main.png');
    background-size: cover;
    background-position: center;
    padding: 3rem 1.5rem;
    text-align: center;
    font-family: 'Carlito', sans-serif;
  }
  
  .rm-hero-container {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  @media (max-width: 1280px) {
    .rm-hero-video {
        padding-right: 20px;
    }
  }
  
  @media (min-width: 768px) {
    .rm-hero-container {
      flex-direction: row;
      justify-content: space-between;
      text-align: left;
    }
  }
  
  .rm-hero-content {
    flex: 1;
    max-width: 600px;
  }
  
  .rm-hero h1 {
    font-size: 2.5rem;
    font-weight: medium;
    margin-bottom: 1rem;
    color: white;
    font-family: 'Carlito', sans-serif;
  }
  
  .rm-hero p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: white;
    font-family: 'Carlito', sans-serif;
  }
  
 
  
 
  
  .rm-hero-video {
    /* padding-right: 100px; */
    flex: 1;
    max-width: 1100px;
    width: 100%;
    /* border-radius: 10px !important;     */
    /* overflow: hidden; */

  }

  @media (max-width: 1280px) {
    .rm-hero-content{
        padding-left: 20px;
    }
    .rm-hero-video {
        padding-right: 20px;
    }
  }
  @media (max-width: 768px) {
    .rm-hero-content{
        padding-left:0px;
    }
    .rm-hero-video {
        padding-right: 0px;
    }
  }
  
  .rm-hero-video video {
   
    width: 100%;
    height: auto;
    display: block;
    overflow: hidden;
    border-radius: 0.5rem;
    object-fit: cover;
  }
  


  .rm-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: nowrap;
  justify-content: start;
  align-items: center;
}

@media (max-width: 768px) {
  .rm-cta-group {
   justify-content: center;
  }
}

.rm-btn {
  padding: 0.2rem 1.5rem;
  font-size: 18px;
  font-weight: 700;
  border-radius: 8px;
  transition: all 0.3s ease;
  white-space: nowrap;
  height: 42px;
}

@media (max-width: 325px) {
  .rm-btn {
    
    padding: 0.2rem ;
   
  }
}

/* Demo Button */
.rm-btn-demo {
  background-color: #fe6652;
  color: white;
  border: none;
}

.rm-btn-demo:hover {
  background-color: #e65300;
}

/* Trial Button */
.rm-btn-trial {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.rm-btn-trial:hover {
  color: #fe6652;
}