@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    text-transform: capitalize;
    transition: .2s linear;
}

body {
    overflow-x: hidden;
}


.container {
    /*background: linear-gradient(45deg, blueviolet, lightgreen);*/
    padding: 15px 9%;
    padding-bottom: 30px;
}

.container .heading {
    text-align: center;
    padding-bottom: 15px;
    color: #004d99;
    text-shadow: 0 5px 10px rgba(0, 0, 0, .2);
    font-size: 50px;
    font-weight: bold;
}

.container .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 15px;
}

.container .box-container .box {
    box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
    border-radius: 20px;
    background: #fff;
    text-align: center;
    padding: 10px 10px;
}

.container .box-container .box img {
    height: 200px;
    width: 100%;
}

.container .box-container .box h3 {
    color: #444;
    font-size: 20px;
    padding: 10px 0;
}

.container .box-container .box p {
    color: #777;
    font-size: 15px;
    line-height: 1.8;
}

.container .box-container .box .btn {
    margin-top: 10px;
    display: inline-block;
    background: #30a56f;
    color: #fff;
    font-size: 17px;
    border-radius: 5px;
    padding: 8px 25px;
}

.container .box-container .box .btn:hover {
    letter-spacing: 1px;
}

.container .box-container .box:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, .3);
    transform: scale(1.03);
}

.container .box-container .box a {
    text-decoration: none;
}

.wave {
    height: 800px;
    display: block;
    position: relative;
    background: linear-gradient(20deg, #3232a8 45%, #00000000 30%), linear-gradient(-10deg, #0099ff 75%, #ffffff 0%);
}

.wave h1 {
    font-weight: bold;
    text-align: center;
}

.wave .child2 {
    position: absolute;
    left: 10px;
}

.wave .main {
    float: right;
    width: 550px;
    height: 550px;
    margin-right: 90px;
    margin-top: 50px;
    position: relative;
    animation: slideFromRight 1s ease-out forwards;
    opacity: 0;
}

@keyframes slideFromRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.wave .more {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    transition: 0.6s;
    color: white;
}

.more:hover {
    opacity: 1;
}

/* --- Image Cards --- */
.wave .img1,
.wave .img2,
.wave .img3,
.wave .img4 {
    animation: blinkPop 2s ease-in-out forwards;
    transition: all 0.4s ease;
    transform: scale(0.95);
}

.img1 img,
.img2 img,
.img3 img,
.img4 img {
    width: 200px;
    height: 170px;
}

.img1 {
    position: absolute;
    top: 100px;
    left: 60px;
    border: solid white 7px;
    border-radius: 10px;
}

.img2 {
    position: absolute;
    top: 100px;
    left: 280px;
    border: solid white 7px;
    border-radius: 10px;
}

.img3 {
    position: absolute;
    top: 290px;
    left: 60px;
    border: solid white 7px;
    border-radius: 10px;
}

.img4 {
    position: absolute;
    top: 290px;
    left: 280px;
    border: solid white 7px;
    border-radius: 10px;
}

@keyframes blinkPop {
    0% {
        opacity: 0;
        transform: scale(0.6);
    }

    30% {
        opacity: 1;
        transform: scale(1.05);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.95);
    }

    70% {
        opacity: 1;
        transform: scale(1.02);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.wave .text {
    position: absolute;
    top: 530px;
    left: 100px;
    display: flex;
    flex-direction: column;
}

.wave .text h5 {
    color: white;
    margin-top: 5px;
    opacity: 0;
    transform: translateX(-100px);
    animation: slideInText 0.6s ease-out forwards;
}

.wave .text h5:nth-child(1) {
    animation-delay: 0.2s;
}

.wave .text h5:nth-child(2) {
    animation-delay: 0.4s;
}

.wave .text h5:nth-child(3) {
    animation-delay: 0.6s;
}

.wave .text h5:nth-child(4) {
    animation-delay: 0.8s;
}

.wave .text h5:nth-child(5) {
    animation-delay: 1s;
}

.wave .text h5:nth-child(6) {
    animation-delay: 1.2s;
}

.wave .text h5:nth-child(7) {
    animation-delay: 1.4s;
}

@keyframes slideInText {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.video-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-container video {
    margin-right: 20px;
    width: 450px;
    height: 260px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 2rem;
}

.product-box {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.product-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    width: 100%;
}

.product-images img {
    width: 100%;
    height: 180px;
    border-radius: 6px;
    object-fit: cover;
    /* aspect-ratio: 16 / 4; */
}

.container .product-box h3,
.container .service h3 {
    color: #444;
    font-size: 20px;
    margin-top: 20px;
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service {
    height: fit-content;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.service img {
    width: 100%;
    height: 200px;
    border-radius: 6px;
    margin-bottom: 1rem;
}


/* ================================================== Device Resonsive ===================================================== */

@media (max-width: 680px) {
    .container {
        padding: 20px;
    }
    .wave {
        height: 500px;
        background: linear-gradient(20deg, #3232a8 55%, #00000000 30%), linear-gradient(-20deg, #0099ff 75%, #ffffff 0%);
    }
    .wave .main {
        float: right;
        width: 180px;
        height: 200px;
        margin-top: 60px;
        margin-right: 0;
    }

    .img1 img,
    .img2 img,
    .img3 img,
    .img4 img {
        width: 78px;
        height: 68px;
    }

    .img1 {
        top: 85px;
        left: 20px;
        border: solid white 5px;
        border-radius: 10px;
    }

    .img2 {
        position: absolute;
        top: 85px;
        left: 120px;
        border: solid white 5px;
        border-radius: 10px;
    }

    .img3 {
        position: absolute;
        top: 175px;
        left: 20px;
        border: solid white 5px;
        border-radius: 10px;
    }

    .img4 {
        position: absolute;
        top: 175px;
        left: 120px;
        border: solid white 5px;
        border-radius: 10px;
    }
    .wave .more {
        font-size: 10px;
        padding-left: 10px;
    }

    .wave .text {
        position: absolute;
        top: 280px;
        left: 30px;
    }

    .wave .text h5 {
        font-size: 12px;
    }

    .video-container {
        flex-wrap: wrap;
    }

    .video-container video {
        margin: 0;
        width: 340px;
        height: 200px;
    }
    .grid {
         grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    .product-images{
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (max-width: 410px) {
    .wave {
        height: 450px;
        background: linear-gradient(45deg, #3232a8 55%, #00000000 30%), linear-gradient(-25deg, #0099ff 77%, #ffffff 0%);
    }
    .wave .main {
        float: right;
        width: 150px;
        height: 190px;
        margin-top: 50px;
        margin-right: 0;
    }

    .img1 img,
    .img2 img,
    .img3 img,
    .img4 img {
        width: 60px;
        height: 50px;
    }

    .img1 {
        top: 90px;
        left: 20px;
        border: solid white 4px;
    }

    .img2 {
        top: 90px;
        left: 95px;
        border: solid white 4px;
    }

    .img3 {
        top: 155px;
        left: 20px;
        border: solid white 4px;
    }

    .img4 {
        top: 155px;
        left: 95px;
        border: solid white 4px;
    }
    .wave .text {
        top: 240px;
        left: 20px;
    }

    .wave .text h5 {
        font-size: 12px;
    }
    
    .container .box-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
        gap: 15px;
    }
}
@media (max-width: 580px) and (min-width:500px) {
    .wave {
        height: 500px;
        background: linear-gradient(30deg, #3232a8 50%, #00000000 30%), linear-gradient(-20deg, #0099ff 74%, #ffffff 0%);
    }
    .wave .main {
        width: 250px;
        height: 280px;
        margin-top: 30px;
    }

    .img1 img,
    .img2 img,
    .img3 img,
    .img4 img {
        width: 85px;
        height: 78px;
    }

    .img1 {
        top: 80px;
        left: 20px;
    }

    .img2 {
        top: 80px;
        left: 120px;
    }

    .img3 {
        top: 180px;
        left: 20px;
    }

    .img4 {
        top: 180px;
        left: 120px;
    }
    .wave .text {
        top: 290px;
        left: 30px;
    }
}
@media (max-width: 680px) and (min-width:580px) {
    .wave {
        height: 550px;
        background: linear-gradient(20deg, #3232a8 50%, #00000000 30%), linear-gradient(-17deg, #0099ff 75%, #ffffff 0%);
    }
    .wave .main {
        width: 260px;
        height: 290px;
        margin-top: 25px;
        margin-right: 0;
    }

    .img1 img,
    .img2 img,
    .img3 img,
    .img4 img {
        width: 105px;
        height: 100px;
    }

    .img1 {
        top: 80px;
        left: 20px;
    }

    .img2 {
        top: 80px;
        left: 150px;
    }

    .img3 {
        top: 200px;
        left: 20px;
    }

    .img4 {
        top: 200px;
        left: 150px;
    }
    .wave .text {
        top: 330px;
        left: 30px;
    }
    .wave .text h5 {
        font-size: 15px;
    }
}
@media (max-width:768px) and (min-width:680px) {
    .container {
        padding: 20px;
    }

    .wave {
        height: 600px;
        background: linear-gradient(25deg, #3232a8 50%, #00000000 30%), linear-gradient(-15deg, #0099ff 76%, #ffffff 0%);
    }

    .wave .main {
        float: right;
        width: 340px;
        height: 360px;
        margin-top: 30px;
        margin-right: 0;
    }

    .img1 img,
    .img2 img,
    .img3 img,
    .img4 img {
        width: 120px;
        height: 115px;
    }

    .img1 {
        position: absolute;
        top: 80px;
        left: 20px;
        border: solid white 5px;
        border-radius: 10px;
    }

    .img2 {
        position: absolute;
        top: 80px;
        left: 160px;
        border: solid white 5px;
        border-radius: 10px;
    }

    .img3 {
        position: absolute;
        top: 220px;
        left: 20px;
        border: solid white 5px;
        border-radius: 10px;
    }

    .img4 {
        position: absolute;
        top: 220px;
        left: 160px;
        border: solid white 5px;
        border-radius: 10px;
    }

    .wave .more {
        font-size: 12px;
    }

    .wave .text {
        position: absolute;
        top: 370px;
        left: 30px;
    }

    .wave .text h5 {
        font-size: 16px;
    }

    .container .box-container .box .img {
        height: 200px;
        width: 350px;
    }

    .video-container {
        flex-wrap: wrap;
    }

    .video-container video {
        margin: 0;
        width: 340px;
        height: 200px;
    }
}

@media screen and (max-width:1270px) and (min-width:768px) {
    .wave {
        height: 700px;
        background: linear-gradient(20deg, #3232a8 50%, #00000000 30%), linear-gradient(-20deg, #0099ff 67%, #ffffff 0%);
    }

    .wave .main {
        float: right;
        width: 400px;
        height: 400px;
        margin-top: 50px;
        margin-right: 0;
    }

    .img1 img,
    .img2 img,
    .img3 img,
    .img4 img {
        width: 150px;
        height: 120px;
    }

    .img1 {
        position: absolute;
        top: 140px;
        left: 20px;
        border: solid white 5px;
        border-radius: 10px;
    }

    .img2 {
        position: absolute;
        top: 140px;
        left: 185px;
        border: solid white 5px;
        border-radius: 10px;
    }

    .img3 {
        position: absolute;
        top: 275px;
        left: 20px;
        border: solid white 5px;
        border-radius: 10px;
    }

    .img4 {
        position: absolute;
        top: 275px;
        left: 185px;
        border: solid white 5px;
        border-radius: 10px;
    }

    .wave .more {
        font-size: 15px;
    }

    .wave .text {
        position: absolute;
        top: 440px;
        left: 40px;
    }
}

@media screen and (max-width:990px) and (min-width:770px) {
    .container .box-container .box img {
        height: 200px;
        width: 65%;
    }

    .container .box-container .box .img {
        height: 250px;
        width: 650px;
    }

    .video-container {
        flex-wrap: wrap;
    }

    .video-container video {
        margin-bottom: 20px;
        width: 650px;
        height: 400px;
    }
}

@media screen and (max-width:1300px) and (min-width:990px) {
    .container .box-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
        gap: 15px;
    }

    .container .box-container .box .img {
        height: 230px;
        width: 400px;
    }

    .video-container {
        flex-wrap: wrap;
    }

    .video-container video {
        width: 500px;
        height: 350px;
    }
}