* {
    margin: 0px;
    padding: 0px;
    font-family: 'Poppons', sans-serif;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
}

:root {
    --bg-color: #081b29;
    --second-bg-color: #112e42;
    --text-color: #ededed;
    --main-color: #00abf0;
    --third-bg-color: yellowgreen;
    --fourth-bg-color: yellow;
}

.heading h1 {
    font-size: 5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: yellow;
    margin-top: 100px;
}

.hero {
    overflow: hidden;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90%;
    margin: 65px auto;
    margin-top: 100px;
}

.hero-content {
    flex: 1;
    width: 600px;
    margin: 0px 25px;
    animation: fadeInUp 2s ease;
}

.hero-content .text-animate {
    position: relative;
    width: 32.8rem;
}

.hero-content h2 {
    font-size: 38px;
    margin-bottom: #333;
}

.hero-content .text-animate h2 {
    font-size: 4.1rem;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: .7px var(--third-bg-color);
    background-image: linear-gradient(orange, var(--third-bg-color));
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-position: -33rem 0;
    animation: homeBgText 6s linear infinite;
    animation-delay: 2s;
}

.hero-content .text-animate h3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    border-right: 2px solid var(--third-bg-color);
    z-index: -1;
    animation: homeCursorText 6s linear infinite;
    animation-delay: 2s;
}

.hero-content p {
    font-size: 24px;
    line-height: 1.5;
    margin-bottom: 40px;

}

.hero-content button {
    display: inline-block;
    background-color: yellowgreen;
    color: var(--bg-color);
    padding: 12px 24px;
    border-radius: 5px;
    font-size: 20px;
    border: none;
    cursor: pointer;
    transition: 0.3s ease;
}

.hero-content button:hover {
    background-color: green;
    transform: scale(1.1);
}

.hero-image {
    flex: 1;
    width: 600px;
    margin: auto;
    animation: fadeInRight 2s ease;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.headingMW {
    color: beige;
    font-size: 28px;
    line-height: 150%;
    text-align: left;

}

.cardMW {
    padding: 2em;
    border: 1px solid yellowgreen;
    border-radius: 10px;
    background-color: #222429;
    text-align: center;
}

.cardMW h2 {
    font-size: 25px;
    color: orange;
}

.cardMW i {
    line-height: 200%;
    font-size: 30px;
}

.cardMW p {
    font-size: 17px;
}

.grid-containerMW {
    display: grid;
    /*border: 1px solid yellowgreen;*/
    grid-template-columns: repeat(auto-fit, minmax(700px, 1fr));
    gap: 10px;
    justify-content: center;
    margin: 50px;

}

.heading .values-about {
    margin-top: 0px;
}

.section-value {
    width: 75%;
    margin: 75px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 25px;
    margin-top: 0px;
}

.card {
    background-color: var(--second-bg-color);
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.4);
}

.image-section {
    min-height: 275px;
}

.card .img-one {
    background-image: url("../images/Safety.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.card .img-two {
    background-image: url("../images/array3.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.card .img-three {
    background-image: url("../images/array4.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.content {
    text-align: center;
    padding: 20px 10px;
}

.content h2 {
    letter-spacing: 2px;
    font-size: 25px;
    color: greenyellow
}

.content p {
    font-size: 18px;
    color: beige;
    margin: 15px 0px;
}

@media screen and (max-width: 900px) {
    .headingMW {
        color: beige;
        font-size: 20px;
        line-height: 200%;
        text-align: left;
        margin: 10%;
    }

    .cardMW {
        padding: 2em;
        border: 1px solid yellowgreen;
        border-radius: 10px;
        background-color: #222429;
        text-align: center;
    }

    .grid-containerMW {
        display: grid;
        /*border: 1px solid yellowgreen;*/
        grid-template-columns: repeat(auto-fit, minmax(700px, 1fr));
        gap: 10px;
        justify-content: center;
        margin: 10px auto;
    }
}

@media screen and (max-width: 768px) {
    .heading h1 {
        font-size: 45px;
        margin-top: 30px;

    }

    .hero {
        margin: 0px;
    }

    .container {
        width: 100%;
        flex-direction: column;
        margin: 0px;
        padding: 0px 40px;
    }

    .hero-content {
        width: 100%;
        margin: 35px 0px;
    }

    .hero-content h2 {
        font-size: 30px;
    }

    .hero-content p {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .hero-content button {
        font-size: 16px;
        padding: 8px 16px;
    }

    .hero-image {
        width: 100%;
    }

    .headingMW {
        color: beige;
        font-size: 20px;
        line-height: 200%;
        text-align: left;
        margin: 10%;
    }

    .grid-containerMW {
        display: grid;
        /*border: 1px solid yellowgreen;*/
        grid-template-columns: repeat(auto-fit, minmax(700px, 1fr));
        gap: 10px;
        justify-content: center;
        margin: 10px auto;
    }
}

@media (max-width: 570) {
     .headingMW {
        color: beige;
        font-size: 70px;
        line-height: 200%;
        text-align: left;
        margin: 10%;
    }
}

@media (max-width: 520px) {

    .heading h1 {
        font-size: 45px;
        margin-top: 30px;
       
    }

    .hero {
        margin: 0px;
    }

    .container {
        width: 100%;
        flex-direction: column;
        margin: 0px;
        padding: 0px 40px;
    }

    .hero-content {
        width: 100%;
        margin: 35px 0px;
    }

    .hero-content h2 {
        font-size: 30px;
    }

    .hero-content p {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .hero-content button {
        font-size: 16px;
        padding: 8px 16px;
    }

    .hero-image {
        width: 100%;
    }

    .headingMW {
        color: beige;
        font-size: 20px;
        line-height: 200%;
        text-align: left;
        margin: 10%;
    }

    .grid-containerMW {
        display: grid;
        /*border: 1px solid yellowgreen;*/
        grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
        gap: 10px;
        justify-content: center;
        margin: 10px auto;
    }
}

@media (max-width: 400px) {

     .heading h1 {
        font-size: 45px;
        margin-top: 30px;
    }

    .hero {
        margin: 0px;
    }

    .container {
        width: 100%;
        flex-direction: column;
        margin: 0px;
        padding: 0px 40px;
    }

    .hero-content {
        width: 100%;
        margin: 35px 0px;
    }

    .hero-content h2 {
        font-size: 30px;
    }

    .hero-content p {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .hero-content button {
        font-size: 16px;
        padding: 8px 16px;
    }

    .hero-image {
        width: 100%;
    }

    .headingMW {
        color: beige;
        font-size: 20px;
        line-height: 200%;
        text-align: left;
        margin: 10%;
    }

    .grid-containerMW {
        display: grid;
        /*border: 1px solid yellowgreen;*/
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 10px;
        justify-content: center;
        margin: 0px auto;
    }
}





/* KEYFRAMES ANIMATION */

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

@keyframes homeBgText {

    0%,
    10%,
    100% {
        background-position: -33rem 0;
    }

    65%,
    85% {
        background-position: 0 0;
    }
}

@keyframes homeCursorText {

    0%,
    10%,
    100% {
        width: 0;
    }

    65%,
    78%,
    85% {
        width: 100%;
        opacity: 1;
    }

    75%,
    81% {
        opacity: 0;
    }
}