:root {
    --primary-color: #0032A4;
    /*    --primary-color: #0032A4;*/
    --secondary-color: #f1f830;
    --background-colour: #0032A4;
    /*    --background-colour: #002766;*/
    --darkBackground-colour: #002766;
    /*    --darkBackground-colour: #0032A4;*/
    --tertiary-colour: #00C2Cb;
}

body {
    background-color: var(--background-colour);
    color: white;
}

.head-img-cont {
    width: 100%;
    display: flex;
    justify-content: center;
}

.hero-cont {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 50px;
}

    .hero-cont img {
        margin-left: auto;
        margin-right: auto;
        display: block;
        width: 50vw;
        height: 100%;
        object-fit: cover;
    }

    .hero-cont > div:last-child {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }


.hero-cont h1 {
    font-weight: bold;
    font-size: 9rem;
    padding-top: 40px;
}

.custom-btn,
.view-entries-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary-color);
    width: 150px;
    height: 40px;
    color: var(--background-colour);
    font-weight: bold;
    border-radius: 10px;
}

@media (min-width: 1024px) {
    .view-entries-btn {
        margin-left: 10px;
    }
}

.heading, .subheading {
    width: 70%;
    margin-top: 100px;
    text-align: start;
}

.heading h1, .subheading h1 {
    color: var(--secondary-color);
    font-size: 4.25rem;
    font-weight: bold;
    font-style: italic;
}
.subheading-wrapper {
    background: var(--darkBackground-colour);
    display: flex;
    justify-content: center;
    width: 100%;
}
.heading p {
    padding-left: 10px;
}

.heading-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

.card {
    background-color: var(--darkBackground-colour);
    border: none;
    width: 300px;
    margin: auto;
}

.card img {
    height: 250px;
    width: 250px;
    border-radius: 15px;
}

.card h3 {
    color: var(--secondary-color);
    font-weight: bold;
    font-style: italic;
}

.card h5 {
    color: white;
}

.judge-cont-base {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 200px 15% 150px 15%;
    background-color: var(--darkBackground-colour);
}

.judge-cont {
    clip-path: polygon(0 3%, 100% 0, 100% 100%, 0 100%);
}

@media (max-width: 768px) {
    .judge-cont {
        clip-path: none;
    }
}


@media (max-width: 1300px) {
    .judge-cont-base {
        grid-template-columns: repeat(2, minmax(200px, 1fr));
        padding: 150px 10%;
    }
}

@media (max-width: 768px) {
    .judge-cont-base {
        grid-template-columns: 1fr;
        padding-left: 5%;
        padding-right: 5%;
        padding-top: 100px; /* Adjusted from 200px for smaller screens */
        padding-bottom: 75px; /* Adjusted from 150px for smaller screens */
    }
}
.img-cont {
    width: 200px;
    padding: 10px;
    border: 2px solid var(--secondary-color);
    border-radius: 15px;
    height: 270px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin: auto;
}

    .img-cont img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.greyscale-img {
    filter: grayscale(100%);
}


.company-text{
    max-width: 300px;
}

@media (max-width: 1440px) {
    .hero-cont h1 {
        font-size: 7rem;
    }
}


@media (max-width: 992px) {
    .hero-cont {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-cont img {
        width: 100%;
        height: auto;
    }

    .hero-cont h1 {
        font-size: 5rem;
    }
}

@media (max-width: 768px) {
    .hero-cont {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 20px;
    }

    .hero-cont img {
        margin: 0;
    }

    .hero-cont div {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-cont h1 {
        font-size: 4rem;
        padding-top: 20px;
    }

    .judge-cont-base {
        grid-template-columns: 1fr;
        padding: 100px 5%;
    }


    .heading, .subheading {
        width: 90%;
    }

    .heading h1, .subheading h1 {
        font-size: 3rem;
    }
}

@media (max-width: 576px) {
    .hero-cont h1 {
        font-size: 3rem;
    }
}