html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    margin: 0 auto;
    padding: 0 auto;
    color: #FFF;
}

h1,h2,h3,h4,h5,p,ul {
    padding: 0;
    margin: 0;
    font-weight: 400;
}

.video-wrapper {
    pointer-events: none;
    position: relative;
    width: 100%;      
    height: 355px;     
    overflow: hidden;
    background: black;
}

.right-btn:hover{
    border-color:#2ec396;
    color: #FFF;
}

.we-do-container{
    display: flex;
    justify-content: center;
    width: 100%;
}

.we-do{
    display: flex;
    flex-direction: row;
    align-items: center;
    max-width: 1200px;
    margin: 100px auto;
    gap: 40px;
    padding: 0px 50px;
}

.we-do-content{
    flex: 1 1 700px;
}

.we-do-content h1{
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 20px;
}

.we-do-content p{
    margin-bottom: 10px;
    line-height: 1.6;
}

.we-do-img-container{
    flex: 1 1 420px;
    min-width: 0;
}

.we-do-img-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.why-do-container {
    display: flex;
    justify-content: center;
    width: 100%;
    background: #131313;
    max-height: 550px;
}

.why-do {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    max-width: 1200px;
    margin: 100px auto;
    gap: 40px;
    max-height: 550px;
    padding: 0px 50px;
}

.why-do-content {
    flex: 1 1 700px;
}

.why-do-content h1 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 20px;
}

.why-do-content p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.why-do-img-container {
    flex: 1 1 500px;
    min-width: 0;
    overflow: visible;
    position: relative;
    top: 2px;
}

.why-do-img-container img {
    max-width: 95%;
    object-fit: cover;
    border-radius: 10px;
}

.how-do-container{
    display: flex;
    justify-content: center;
    width: 100%;
}

.how-do{
    display: flex;
    flex-direction: row;
    align-items: center;
    max-width: 1200px;
    margin: 100px auto;
    gap: 40px;
    padding: 0px 50px;
}

.how-do-content{
    flex: 1 1 700px;
}

.how-do-content h1{
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 20px;
}

.how-do-content p{
    margin-bottom: 10px;
    line-height: 1.6;
}

.how-do-img-container{
    flex: 1 1 420px;
    min-width: 0;
}

.how-do-img-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.our-companies-container{
    display: flex;
    justify-content: center;
    background: #161616;
    padding: 75px 50px;
}

.our-companies{
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    justify-content: center;
    align-items: center;
    padding: 0px 50px;
}

.our-companies h2{
    font-size: 46px;
    font-weight: 400;
    margin-bottom: 1.5rem;
    text-align: center;
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 20px;
    line-height: 2rem;
}

.our-companies p{
    line-height: 2rem;
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.companies-row{
    display: flex;
    flex-direction: row;
    margin-top: 1.5rem;
    gap: 100px;
}

.row-content{
    display: flex;
    flex-direction: row;
    align-items: center;
}

.row-item{
    display: flex;
    flex-direction: column;
    background: var(--dark-gradient);
    border-radius: 10px;
    padding: 20px;
    max-width: 600px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.row-item h3{
    text-align: left;
    margin-bottom: 10px;
}

.row-item p{
    font-size: 1.1rem;
    text-align: left;
}

.onboarding-container{
    display: flex;
    justify-content: center;
    background: #131313;
}

.onboarding{
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    justify-content: center;
    align-items: center;
    margin: 6rem auto;
    padding: 0px 50px;
}

.onboarding img{
    max-width: 100%;
}

.onboarding h2{
    font-size: 40px;
    margin-bottom: 1.6rem;
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 10px;
}

.onboarding p{
    margin-bottom: 1.4rem;
    font-size: 1.2rem;
}

.latest-technology{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-top: 100px;
    gap: 100px;
    padding: 20px 50px;
}

.latest-technology p {
    line-height: 1.5;
}

.latest-technology h2{
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.technology-left{
    flex: 1 1 400px;
}

.technology-right img {
    max-width: 98%;
    height: auto;
}

@media (max-width: 900px) {
  .we-do-img-container,
  .why-do-img-container,
  .how-do-img-container {
    display: none;
  }
  .companies-row{
    display: block;
    
  }
  .row-item{
    margin-bottom: 20px;
  }
}
