html {
    border: 0;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    margin: 0;
    padding: 0;
    background-color: rgb(255, 255, 255);
    
}



/* header section */
.header-bar {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: transparent;
    padding: 0;
    margin: 0;
    display: flex;
    box-sizing: border-box;
    z-index: 1000;
    max-height: 120px;
    background-color:#58cced;
}

.header-bar img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    object-position: center;
    transform: translateY(-20px);
    margin: 10px;
}

.header-bar ul {
    font-family: "Inter", sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: rgb(0, 0, 0);
    text-decoration: none;
    list-style: none;
    display: flex;
    align-items: right;
    margin: 0;
    padding: 0;
    top: 80%;
    right: 2%;
    position: absolute;
}

.header-bar li {
    margin: 0 10px;
    display: inline-block;
    position: relative;
}
.nav-link {
    font-size: 18px;
    color: rgb(0, 0, 0);
    text-decoration: none;
    margin: 0 15px;
}

/* Mobile menu styles */
.menu-button {
    display: none;
    background-color: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1001;
}

.nav-bar {
    display: flex;
    flex-direction: row;
}

.nav-bar ul {
    display: flex;
    gap: 20px;
}

@media (max-width: 768px) {
    .menu-button {
        display: block;
    }

    .nav-bar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100%;
        background-color: #58cced;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .nav-bar.active {
        right: 0;
    }

    .nav-bar ul {
        flex-direction: column;
        gap: 15px;
    }

    .nav-link {
        font-size: 18px;
        color: #000;
        text-decoration: none;
    }

    
    .opener h1 {
        margin-top: 30px;
        font-size: 40px; 
        
    }
    .opener .motto {
        padding-top: 200px; 
    }
    .opener p {
        font-size: 10px; 
    }

    .opener .mockup-image {
        display: flex;
        position: relative;
        width: 50%; 
        height: auto; 
        object-fit: cover; 
        object-position: center top; 
        clip-path: inset(150px 0 0 0); 
        margin-left: 70px;
        transform: translateY(60px); 
        
    }

    .opener {
        flex-direction: column; 
        align-items: center; 
    }


    .opener .CTA-button {
        margin-bottom: 5px; /* Reduce the gap below the button */
    }

    .opener .motto,
    .opener h1,
    .opener p {
        margin-top: 10%; 
    }

    .problem .problem-title {
        font-size: 40px; 
    }

    .problem .problem-desc {
        font-size: 25px;
    }

    .Step1 {
        display: flex;
        flex-direction: column; /* Stack elements vertically */
        align-items: center; /* Center align elements */
    }

    .Step1 .text-section {
        width: 100%; /* Make text take full width */
        text-align: center; /* Center align text */
        margin-bottom: 20px; /* Add spacing below the text */
    }

    .Step1 aside {
        width: 100%; /* Make video take full width */
        text-align: center; /* Center align video */
    }

    .Step1 .step1video {
        width: 90%; /* Adjust video width */
        height: auto; /* Maintain aspect ratio */
    }
}

/* main section */
.opener {
    position: relative;
    width: 100%;
    height: auto;
    background-color: #58cced ;
    display: flex;
    overflow: clip;
    
}

.opener .motto {
    font-family: "Montserrat", sans-serif;
    font-size: 40px;
    font-weight: 300;
    padding-top: 6%;
    padding-left: 8%;
    color: black;

}
.opener h1 {
    line-height: 1.0;
    padding: 0;
    margin-bottom: -20px;
}

.opener p {
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    font-weight: 500;
    font-style: italic;
    padding-left: 1%;
    color: rgb(48, 72, 117);
    position: relative;
    top: -20px;
    margin: 50px 0 20px 0;
}

.CTA-button {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 500;
    background-color: #000000;
    padding: 15px 80px;
    border-radius: 30px;

}

.button-link {
    text-decoration: none;
    color: white;
    font-weight: 700;
}

.opener .CTA-button:hover {
    box-shadow: 5px 5px 4px rgba(0, 0, 0, 0.3);
    transform: translateY(-15px);
    transition: 0.3s;
}

.opener .mockup-image {
    width: 600px;
    height: auto;
    object-fit: cover;
    object-position: center;
    position: relative;
    right: 50px;
}



/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.opener .motto,
.opener h1,
.opener p,
.opener .CTA-button,
.opener .mockup-image {
    opacity: 0;
    animation: fadeIn 1.5s ease-in-out forwards;
}

.opener .motto {
    animation-delay: 0.2s;
}

.opener h1 {
    animation-delay: 0.4s;
}

.opener p {
    animation-delay: 0.6s;
}

.opener .CTA-button {
    animation-delay: 0.8s;
}

.opener .mockup-image {
    animation-delay: 1s;
}



/* problem section */

.problem {
    width: 100%;
    height: auto; 
    min-height: 600px;
    margin: 0 auto; 
    background-color: #f0f0f0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.0s ease-in-out, transform 1.0s ease-in-out;
}

.problem.visible {
    opacity: 1;
    transform: translateY(0);
    transition: none; /* Prevent fading out */
}

.problem b {
    color:#4fbedd;
}
.problem h2 {
    font-family: 'Montserrat', sans-serif;
    width: 80% ;
    font-size: 60px;
    font-weight: 600;
    text-align: center;
    color: black;
    margin-bottom: 20px;
}

.problem p {
    font-family: 'Inter', sans-serif;
    font-size: 25px;
    font-weight: 500;
    color: rgb(80, 80, 80);
    text-align: center;
    margin: 10px 20px;
}






/* Product Introduction */

.Pintro {
    width: 100%;
    height: auto; 
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; 
    overflow: hidden; 
    
}



 .intro-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 80px;
    font-weight: 700;
    text-align: center;
    color: black;
    margin-top: 15%;
    margin-bottom: 15%;
    margin-left: 10%;
    margin-right: 10%;
}

.Steps {
    width: 100%;
    height: auto;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.Steps ul {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    
}
.Steps h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 5em;
    font-weight: 700;
    color: black;
    display: inline-flex;
    padding: 0;
    margin: 5% 0;

}

.Steps p {
    font-family: 'Inter', sans-serif;
    font-size: 1.2em;
    font-weight: 500;
    color: rgb(80, 80, 80);
    padding: 0;
    margin: 0;
    
}

.Steps > div {
    opacity: 0; 
    transform: translateY(20px); 
    transition: opacity 1.2s ease, transform 1.0s ease; 
}

.Step1 {
    display: block; 
    width: 80%;
    margin: 10% auto; 
    margin-bottom: 12%;
    
}

.Step1 .text-section {
    float: left; 
    width: 40%; 
    text-align: left; 
    
}

.Step1 aside {
    float: right; 
    width: 60%; 
    text-align: center; 
}

aside .step1video {
    width: 90%; 
    height: auto; 
   
}

.Step1::after {
    content: "";
    display: table;
    clear: both;
}

/* Elqo step 2 section*/
.Step2 {
    display: block; 
    width: 80%;
    margin: 5% auto; 
    margin-bottom: 12%;
    padding-right: 5%;
    
}

.Step2 .text-section2 {
    float: right; 
    width: 40%; 
    text-align: right; 
    
}

.Step2 aside {
    float: left; 
    width: 60%; 
    text-align: center; 

}

aside .step2video {
    width: 90%; 
    height: auto; 
    display: inline-block;
    
     
}

/* Clear floats after Step2 */
.Step2::after {
    content: "";
    display: table;
    clear: both;
}


.Step3 {
    display: block; 
    width: 80%;
    margin: 10% auto; 
    margin-bottom: 12%;
}

.Step3 .text-section3 {
    float: left; 
    width: 40%; 
    text-align: left; 
    
}

.Step3 aside {
    float: right; 
    width: 60%; 
    text-align: center; 
}

aside .step3video {
    width: 90%; 
    height: auto; 
    display: inline-block;
   
}

.Step3::after {
    content: "";
    display: table;
    clear: both;
}

/* CTA section */

.CTA-section {
    width: 100%;
    height: 400px;
    background-color: #58cced;
    display: flex;
    justify-content: center;
    align-items: center;
}
.CTA-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    color: black;
    padding-top: 5%;
    line-height: 0;
}


/* Footer Section */

footer {
    background-color: #002b38;
    color: #ffffff;
    padding: 50px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 200px;
  }
  
  .footer-logo {
    max-height: 150px;
    object-fit: cover;
    width: 200px;
    height: auto;
    margin-right: 30px;
    margin-top: -30px;
    align-items: left;
  }
  .social-links h3 {
    font-family: "Montserrat", sans-serif;
    font-size: 30px;
    margin-right: 20px;
    font-weight: 800;
    text-align: left;
    align-items: left;
    margin-bottom: -15px;
    padding-left: 40px;
  }
  
  .social-links ul {
    display: flex;
    gap: 18px;
    height: 150px;
    width: 150px;
  }
  
  .social-links li {
    list-style: none;
    width: 100px; 
    height: 100px;
  }
  
  .social-links li img {
    width: 100%; 
    height: 100%;
    object-fit: contain; 
  }
  
  .social-links {
    margin-top: 30px;
  }


  @media (max-width: 768px) {
    .Pintro .intro-text{
        flex-direction: column; 
        align-items: center; 
        font-size: 50px;
        margin: 30% 10%;
    }

    .Steps {
        flex-direction: column; 
        align-items: center; 
    }

    .Steps ul {
        flex-direction: column; 
        align-items: center; 
        padding: 0;
        
    }
    .Steps aside {
        width: 100%;
        height: auto;
        text-align: center;

    }

    .Steps p {
        font-size: 1.2em;   
    }

    .Step1 {
        display: flex;
        flex-direction: column; 
        align-items: center; 
        width: 90%;
    }
    .Step1 h3 {
        font-size: 45px; 
        display: inline-block;   
    }

    
    .Steps .Step1 .text-section {
        width: 100%; 
        text-align: center; 
        margin-bottom: 20px; 
    }
   
    

    aside .step1video {
        width: 100%; 
        height: auto; 
        display: block;
        margin: 0 auto;
        margin-top: 20px;
    }

    .Step2 {
        display: flex;
        flex-direction: column; 
        align-items: center; 
        width: 90%;
        padding: 0;
        margin-top: 80px;
        margin-bottom: 80px;
    }
    .Step2 h3 {
        font-size: 45px; 
        display: inline-block;   
    }

    
    .Steps .Step2 .text-section2 {
        width: 100%; 
        text-align: center; 
        margin-bottom: 20px; 
    }
   
    

    aside .step2video {
        width: 90%; 
        height: auto; 
        display: block;
        margin: 0 auto;
        margin-top: 20px;
    }

    .Step3 {
        display: flex;
        flex-direction: column; 
        align-items: center; 
        width: 90%;
        margin-top: 90px;
        margin-bottom: 140px;
    }
    .Step3 h3 {
        font-size: 45px; 
        display: inline-block;   
    }

    .Step3 p {
        padding: 0 20px;
    }
    
    .Steps .Step3 .text-section3 {
        width: 100%; 
        text-align: center; 
        margin-bottom: 20px; 
    }
   
    

    aside .step3video {
         
        height: auto; 
        display: block;
        margin: 0 auto;
        margin-top: 20px;
    }

    /* cta */
    .CTA-section {
        display: flex;
        width: 100%;
        height: auto; 
        padding: 0; 
    }

    .CTA-content {
        margin-top: 20%;
        margin-bottom: 20%;
        margin-right: 5%;
        margin-left: 5%;
    }
    .CTA-content h2 {
        font-size: 30px; 
        text-align: center;
        padding-bottom: 5px;
        display: flex;
        line-height: 1.2;
    }

    /* footer */
    footer {
        flex-direction: column;
        text-align: center;
        height: auto;
        padding: 20px 0;
    }

   .footer-logo {
        margin: 0;
        margin-bottom: 10px;
    }

    
}