*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body{
    background: linear-gradient(90deg,rgb(0, 255, 136, 0.1),rgb(0, 119, 255, 0.1));
}
/* Hero Section */
#how-it-works-hero-section{
    height: 450px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
#how-it-works-hero-section-inner-container{
    height: 95%;
    width: 95%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    gap: 10px;
}
#how-it-works-hero-section-inner-container h1{
    font-family: "Varela Round", sans-serif;
    font-size: 45px;
    width: 80%;
    text-align: center;
    font-weight: 900;
}
#how-it-works-hero-section-inner-container h1 span {
    font-family: "Varela Round", sans-serif;
    font-size: 45px;
    position: relative; 
}

#how-it-works-hero-section-inner-container h1 span::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 5px;
      background: linear-gradient(90deg, #00ff88, #0077ff);
    border-radius: 2px;
}
#how-it-works-hero-section-inner-container p{
    font-size: medium;
    width: 80%;
    color: gray;
    text-align: center;
}
#how-it-works-hero-section-inner-container a{
    font-size: medium;
    width: fit-content;
    height: fit-content;
    color: white;
    background-color: black;
    border: 2px solid black;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 20px;
    transition: all 0.3s;
}
#how-it-works-hero-section-inner-container a:hover{
    background-color: white;
    color: black;
}
@media (max-width: 768px) {
    #how-it-works-hero-section {
    height: 350px;
}
#how-it-works-hero-section-inner-container h1 {
    font-size: 40px;
    width: 90%;
}
#how-it-works-hero-section-inner-container h1 span {
    font-size: 40px;
}
}
@media (max-width: 600px) {
        #how-it-works-hero-section {
        height: 300px;
    }
    #how-it-works-hero-section-inner-container h1 {
        font-size: 30px;
        width: 100%;
    }
    #how-it-works-hero-section-inner-container h1 span{
        font-size: 30px;
    }
}

/* how-it-works-row-section */
#how-it-works-row-section{
    height: 400px;
    width: 95%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
#how-it-works-left{
    height: 100%;
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.video-wrapper {
    display: inline-block;
    height: 90%;
    width: 90%;
    padding: 5px;
    border-radius: 15px;
      background: linear-gradient(90deg, #00ff88, #0077ff);

}

.video-wrapper video {
    display: block;
    border-radius: 10px;
    width: 100%;
    object-fit: fill;
    height: 100%;
}
#how-it-works-right{
    height: 100%;
    width: 50%;
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
#how-it-works-right h2{
    font-size: 40px;
    font-family: "Varela Round", sans-serif;
    text-align: center;
}
#how-it-works-right p{
    text-align: center;
    font-size: medium;
    color: gray;
}
#how-it-works-right span{
    font-size: medium;
    color: black;
    text-align: center;
    font-weight: 600;
}
@media (max-width: 768px) {
    #how-it-works-left{
    width: 70%;
}
#how-it-works-right{
    width: 30%;
    gap: 10px;
}
#how-it-works-right h2{
    font-size: 30px;
}
#how-it-works-right p{
    font-size: x-small;
}
#how-it-works-right span{
    font-size: small;
}
}
@media (max-width: 600px) {
    #how-it-works-row-section {
    height: fit-content;
    flex-direction: column;
}
    #how-it-works-left {
        width: 100%;
        height: 300px;
    }
        #how-it-works-right {
        width: 100%;
        height: fit-content;
    }
        #how-it-works-right h2 {
        font-size: 35px;
    }
    #how-it-works-right p {
        font-size: small;
    }
}

/* AI Vision */

    .how-ai-visio-section {
      padding: 20px 20px;
      background: #000; 
      text-align: center;
    }

    .how-ai-visio-heading {
      font-size: 36px;
      color: white;
      margin-bottom: 10px;
    }

    .how-ai-visio-subheading {
      font-size: 22px;
      font-weight: normal;
      margin-bottom: 40px;
      color: #fff;
    }

    .how-ai-visio-flex {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 25px;
      max-width: 1200px;
      margin: auto;
    }

    .how-ai-visio-box {
      background: #111;
      border: 5px solid;
      border-image: linear-gradient(90deg, #00ff88, #0077ff) 1;
      border-radius: 10px;
      padding: 25px;
      text-align: left;
      transition: transform 0.3s;
      flex: 1 1 calc(33.333% - 25px);
      min-width: 280px;
      box-sizing: border-box;
    }

    .how-ai-visio-box:hover {
      transform: translateY(-5px);
    }
    .how-ai-visio-icon {
      width: 50px;
      height: 50px;
      margin-bottom: 15px;
      border-radius: 50%;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
            background: linear-gradient(90deg, #00ff88, #0077ff);
      padding: 3px; 
      box-sizing: border-box;
    }

    .how-ai-visio-icon img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 50%;
    }

    .how-ai-visio-box h4 {
      margin-bottom: 10px;
      font-size: 20px;
      color: #fff;
    }

    .how-ai-visio-box p {
      font-size: 15px;
      line-height: 1.6;
      color: #ddd;
    }

    @media (max-width: 1024px) {
      .how-ai-visio-box {
        flex: 1 1 calc(50% - 25px);
      }
    }

    @media (max-width: 768px) {
      .how-ai-visio-box {
        flex: 1 1 100%;
      }
    }

/* Image Container */
#how-it-works-image-container{
    height: fit-content;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
    padding: 20px;
}
#how-it-works-image-inner-container{
    height: fit-content;
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
}
#how-it-works-image-inner-container img{
    height: auto;
    width: 100%;
   border: 5px solid;
      border-image: linear-gradient(90deg, #00ff88, #0077ff) 1;
    object-fit: contain;
}