﻿/* parallax */
.compitionSection {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 1.5)), url("../Images/CompetitionLarge.jpg");
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: top 70px center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    /* height: 100vh; */
    padding: 80px 0px 40px;
    position: relative;
    margin-top: -10px;
}




.compitionSection-text {
    display: flex;
    width: 100%;
    position: relative;
}

.text {
    width: 50%;
    color: #fff;
    font-size: 20px;
    position: absolute;
    z-index: 400;
    top: 0;
    bottom: 0;
    margin: auto 0;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.compitition-inner {
    /*padding-right: 30px;*/
    text-align: left;
}

.compitionSection-text .dthrill {
    margin: 0 0 15px;
    text-transform: uppercase;
    font-size: 13px;
    color: rgb(196, 196, 196);
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.4px;
}

/* .compitionSection-text .dthrill:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  border-bottom: 2px solid #ec2029;
} */
.text h2.goAhead {
    font-size: 38px;
    font-weight: 400 !important;
    padding: 10px 0;
    letter-spacing: 0.2px;
}

.compitionSection-image {
    margin: 32px 0px;
}

.image {
    display: flex;
    justify-content: end;
    align-items: end;
    width: 100%;
    opacity: 0.9;
}

.reveal {
    transform: translateY(150px); /*150px*/
    opacity: 0;
    transition: 0.8s all ease;
}

    .reveal.active {
        transform: translateY(0);
        opacity: 1;
    }

/* skwed img */
.image::before {
    /* content: "";
    position: absolute;
    left: -6.1em;
    top: 50%; */
    /* transform: translateY(-50%) rotate(20deg); */
    /* background: #fff;
    width: 40%;
    height: 140%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.7); */
}

.compition-para {
    color: #ffffff;
    font-size: 16px;
    letter-spacing: 0.2px;
    font-weight: 100;
}

/* MEDIA QUERIES */

@media only screen and (max-width: 991px) {
    .image {
        display: none;
    }

    .text {
        width: 100%;
    }

    .compitionSection {
        height: 500px;
    }
}

/* AK :- for Mobile and Tab view Animation of Competitionsection come from bottom to top.*/

@media (max-width: 768px),(max-width: 576px) {

    .compitionSection-text {
        display: flex;
        width: 100%;
        position: relative;
        top: -39px;
    }

    .compitionSection {
        height: 670px;
    }

    .compition-para {
        text-align: left;
        /*width: 262px;*/
    }

    .compitition-inner {
        margin-top: 50px;
    }

    .text h2.goAhead {
        font-size: 30px;
        text-align: left;
    }

    .compitionSection-text .dthrill {
        text-align: left;
    }

    .compition-list {
        text-align: justify;
    }


    .reveal {
        transform: translateY(-30px); /*60px  <- 150px*/
        opacity: 0;
        transition: 0.8s all ease;
    }

    /*        .reveal.active {
            transform: translateY(0);
            opacity: 1;
 
        }*/
}



.compition-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

    .compition-list li {
        position: relative;
        padding-left: 30px;
        margin-bottom: 10px;
        font-size: 16px;
        line-height: 1.6;
        color: #ffffff;
    }

        /* Custom checkmark bullet */
        .compition-list li::before {
            content: "✔"; /* checkmark symbol */
            position: absolute;
            left: 0;
            top: 0;
            color: #2ecc71; /* green check */
            font-weight: bold;
        }

/* Responsive text */
@media (max-width: 768px) {
    .compitionSection-text {
        text-align: center;
    }

    .compition-list li {
        font-size: 14px;
    }

    .compitionSection-image img {
        max-width: 100%;
        height: auto;
    }
}

@media (min-width:992px) and (max-width:1200px) {
    img[alt="Competition Image"] {
        width: 400px;
    }
}

@media (min-width:1200px) and (max-width:1440px) {
    img[alt="Competition Image"] {
        width: 500px;
    }
}
