* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #fcfcfc;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    color: #5c5b62;
}

h1 {
    font-size: 52px;
    margin: 10px 0;
}
h2 {
    font-size: 48px;
    font-weight: 500;
    margin: 30px;
}

p {
    font-size: 18px;
    line-height: 1.5;
}

button {
    background-color :#FF9800;
    font-size: 24px;
    font-weight: 500;
    border: none;
    border-radius: 30px;
    padding: 10px 30px;
    cursor: pointer;
    color: white;
    box-shadow: 5px 5px 10px #bebaba;
}
button:hover {
    box-shadow: none;
    transform: translateY(-2px);
    background: #ffffff;
    color: #FF9800;
    border: 2px solid #FF9800;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

/*navigation bar*/
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #9ecdcc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    z-index: 300;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 20px;
    margin-right: 20px;
}

/*container: hidden for tablet and mobile*/
.container {
    display: flex;
    justify-content: center;
}
.container ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 10px;
}
.mobile-navbar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 60%;
    height: 70vh;
    background-color: #fcfcfc;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 0 0 0 10px;
    transition: right 0.5s ease;
    z-index: 90;
}
.mob-nav-1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.mob-nav-1 ul{
    list-style: none;
    margin: 20px 0;
}
.mob-nav-1 li {
    font-size: 40px;
}
.mob-nav-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.mob-nav-2 img {
    margin-bottom: 20px;
}
.mobile-navbar.active {
    right: 0;
}
/*hamburger menu*/
.btn { 
    position:fixed;
    width: 35px;
    height: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    z-index: 100;
}
.btn li {
    list-style: none;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background-color: #ffffff;
    transition: .5s;
}
.line-1 {
    top: 20px;
}
.line-2 {
    top: 30px;
}
.line-3 {
    top: 40px;
}
.btn.active .line-1 {
    transform: translateY(10px) rotate(45deg);
    background-color: #5c5b62;

}
.btn.active .line-2 {
    opacity: 0;
}
.btn.active .line-3 {
    transform: translateY(-10px) rotate(-45deg);
    background-color: #5c5b62;

}
/*overlay for hamburger menu*/
.mobile-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
    z-index: 10;
}
.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}   
header a {
    text-decoration: none;
    color: #5c5b62;
    font-weight: 500;
    font-size: large;
}
/* for tablet and mobile */
@media (max-width: 1023px) {
    .container {
        display: none;
    }
    .btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        cursor: pointer;
        z-index: 100;
    }
    .btn li {
        list-style: none;
        width: 100%;
        height: 4px;
        background-color: #ffffff;
        border-radius: 2px;
        transition: 0.5 ease;

    }
}
/* for desktop */
@media (min-width: 1024px) {
    .container {
        display: flex;
    }
    .mobile-navbar {
        display: none;
    }
    .btn {
        display: none;
    }
}

/*hero section*/
.hero {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
}
.hero-image img {   /*this is for tablet and mobile*/
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
}
@media (min-width:1024px) {  /*hidden for desktop*/
    .hero-image {
        display: none;
    }
}
@media (max-width:1023px) {  /*hidden for tablet and mobile*/ 
    video {
        display: none;
    }
}
.hero-video {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}
.hero-text {
    position: absolute;
    max-width: 90%;
    color: #ffffff;
    margin: 10px 0;
    top: 25%;
    margin-left: 50px;
	z-index: 2;
}
.hero-h1 {
    margin: 20px 0;
}
.hero-p {
    margin-bottom: 20px;
}

@media (max-width: 1023px) {
    h1 {
        font-size: 28px;
    }
    .hero {
        height: 95vh;
        text-align: center;
        display: flex;
        justify-content: center;
    }
    .hero-video {
        height: auto;
        width: 100%;
    }
    /* .hero img {
        width: 300px;
        height: auto;
        margin: 0;
    } */
    .hero-text {
        margin: 0;
        padding: 20px;
    }
}

/*services section*/
.service {
    background-color: #9ecdcc;
    margin-bottom: 0;
    padding: 50px;
}
.service-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
}
.cards {
    background-color: #ffffff;
    border-radius: 20px;
    text-align: center;
    padding: 20px;
    height: 100%;
    box-shadow: 5px 5px 3px 0 #bebaba;
    transition: transform 0.3s;   
}

.cards:hover {
    transform: translateY(-5px);
    background: #f7f6f6;
}
@media (max-width: 1023px) {
    .service-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 80px;
    }
    
}
@media (max-width: 600px) {
    .service-cards {
        grid-template-columns: 1fr;
        gap: 70px;
    }
}

.cards img {
    width: 100px;
    height: auto;
    margin-bottom: 10px;
}
.wave {
    overflow: hidden;
}
.wave1 {
    background: #9ecdcc;
    border-bottom-left-radius: 800px 200px;
    border-bottom-right-radius: 800px 200px;
    margin-left: -100px;
    margin-right: -100px;
    padding-left: 100px;
    padding-right: 100px;
    padding-bottom: 200px;
    margin-bottom: 100px;
    box-shadow: 0 10px 15px #bebaba;
}
.wave2 {
    background: #9ecdcc;
    border-top-left-radius: 800px 200px;
    border-top-right-radius: 800px 200px;
    margin-left: -100px;
    margin-right: -100px;
    padding-left: 100px;
    padding-right: 100px;
    padding-top: 150px;
    margin-top: 100px;
    box-shadow: 0 -10px 15px #bebaba;
}

/*why ai section*/
.why-ai {
    display: flex;
    flex-direction: column;
    padding: 50px;
}

.why-ai img {
    width: 50px;
    height: auto;
    margin-bottom: 10px;
}
.ai-boxes {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.ai-box {
    background-color: #ffffff;
    border-radius: 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 20px;
    margin: 20px;
    box-shadow: 5px 5px 3px 0 #9ecdcc;
}
.ai-box img {
    width: 200px;
    height: 200px;
}
.ai-box p {
    width: 50%;
    padding: 20px;
    align-self: center;
}
@media (max-width: 1023px) {
    .ai-box {
        flex-direction: column;
        text-align: center;
    }
    .ai-box p {
        width: 100%;
    }
    .ai-box img {
        width: 150px;
        height: 150px;
        margin-top: 20px;
        align-self: center;
    }
}

/*safety section*/
.safety {
    margin-bottom: 50px;
    margin-top: 0;
    background-color: #9ecdcc;
    padding: 50px;
}
.safety-img-text {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-around;
    align-items: center;
}
.safety-boxes {
    display: flex;
    flex-direction: column;
}
.safety-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    background-color: #ffffff;
    border-radius: 20px;
    padding: 20px;
    margin: 10px 0;
    box-shadow: 5px 5px 3px 0 #5c5b62;
}
.safety-boxes img {
    width: 50px;
    height: 50px;
}
#safety-img {
    /* transform: scale(-1, 1); */
    width:  30%;
    height: auto;
    border-radius: 50%;
}
@media (max-width: 1023px) {
    .safety-img-text {
        flex-direction: column-reverse;
        height: auto;
    }
    #safety-img {
        width:  300px;
        height: auto;
        margin-bottom: 10px;
        border-radius: 50%;
    }
    .safety-text {
        font-size: 32px;
        line-height: 2;
        text-align: center;
    }
}

/*price section*/
.price {
    margin: 50px 0;
    padding: 50px;
}
.price-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px;
}
.price-text {
    text-align: center;
    margin-top: 100px;
}
#free {
    color: red;
    font-size: larger;
    font-weight: 500;
    margin-top: 100px;
}
@media (max-width: 667px) {
    .price-box {
        grid-template-columns: 1fr;
        gap: 70px;
    }
}

/*cta section*/
.call-to-action {
    background-image: url(./images/bg-img.png);
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    margin-top: 20px;
    height: 500px;
}
.call-to-action button {
    margin-top: 20px;
}

/* back to top button */
.backBtn {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    right: 20px;
    bottom: 20px;
    width: 80px;
    height: 80px;
    font-size: 20px;
    color: #ffffff;
    background-color: #bebaba;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
}
.backBtn:hover {
    box-shadow: none;
    background: #ffffff;
    color: #bebaba;
    border: 2px solid #bebaba;
}
.is-active {
    opacity: 1;
    visibility: visible;
}

/*footer*/
footer {
    background-color: #9ecdcc;
    text-align: center;
    padding: 10px;   
}
footer nav {
    display: flex;
    justify-content: center;
    gap: 20px;
}