﻿
.primary_bgcolor {
    background-color: #002147 !important;
}



/* Hide .topbar on mobile screens */
@media only screen and (max-width: 767px) {
    .topbar {
        display: none !important;
    }
}

p {
    text-align: justify;
    font-size: 18px;
    font-weight: 300;
    line-height: 30px;
}

h2 {
    color: #002147;
    font-size: 35px;
    font-weight: 600;
    margin-bottom: 20px;
}

.subtitle {
    color: #002147;
    font-size: 22px;
    font-weight: 600;
    margin: 13px 0 0 0;
}

.yellowbtn {
    font-size: 18px;
    font-weight: 500;
    fill: #0A0A0A;
    color: #0A0A0A;
    background-color: #FDC800;
}





.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 33, 71, 0.82);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.earnHead {
    color: white;
    font-size: 35px;
    font-weight: 600;
    margin-bottom: 20px;
}

.earnContent {
    font-size: 18px;
    font-weight: 300;
    line-height: 30px;
    margin: 0 184px;
}
@media only screen and (max-width: 767px) {
    .imagecontainer {
        height: 300px; 
    }

    .earnHead {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .earnContent {
        font-size: 16px; 
        line-height: 24px; 
        margin: 0 20px;
    }
}





.home-top-cour {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    margin-bottom: 30px;
    transition: all 0.5s ease;
}

    .home-top-cour.hidden-content {
        display: none;
    }
.eventsNews {
    color: #002147 !important;
    font-size: 15px;
    font-weight: 650;
    margin: 20px 0;
}

.newsImg {
    overflow: hidden;
}

    .newsImg img {
        width: 100%;
        transition: transform 0.5s ease;
    }

.home-top-cour:hover .newsImg img {
    transform: scale(1.1);
}

.hidden-content {
    display: none;
    flex-wrap: wrap;
}

.view-all-button {
    margin: 20px 0;
    text-align: center;
}

.graybtn {
    font-family: "Dubai Light", Sans-serif;
    font-size: 16px;
    font-weight: 200;
    fill: #28303d;
    color: #d1e4dd;
    background-color: #28303d;
    border-radius: 3px;
}

    .graybtn:hover {
        color: black;
        background-color: #F5F5F5;
    }

@media (max-width: 767px) {
    .home-top-cour.hidden-content {
        display: none;
        flex-direction: row;
        align-items: flex-start;
    }

    .home-top-cour-container.events .hidden-content,
    .home-top-cour-container.news .hidden-content {
        flex-wrap: nowrap;
        display: flex;
    }
}

.overlaycount {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 33, 71, 0.82);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

@media only screen and (max-width: 767px) {
    .countcontainer {
        height: 700px;
    }
    .countcontent {
        font-size: 18px !important;
        font-weight: 500 !important;
    }

    .count {
        font-size: 30px !important;
        font-weight: 600 !important;
    }


}

.countcontent {
    color: white;
    font-size: 22px;
    font-weight: 600;
    margin: 13px 0 0 0;
}
.count {
    font-family: math;
    color: white;
    font-size: 60px;
    font-weight: 1000;
    margin: 13px 0 0 0;
}


.countcontainer .col-2, .countcontainer .col-3 {
    padding: 0 36px;
}
    .countcontainer .col-2:not(:last-child),
    .countcontainer .col-3:not(:last-child) {
        margin-right: 20px;
    }


.custom-divider {
    border-bottom: 1px solid #fff; 
    width: 100%; 
    margin: 20px 0; 
}

.column {
    flex: 1;
    padding: 10px;
    max-width: 20%; 
}

.circle {
    width: 100px;
    height: 100px;
    background-color: #002147;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 10px auto;
}

    .circle i {
        color: #FDC800;
        font-size: 55px;
    }

.content {
    color: #182D8D;
    font-size: 18px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .column {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .column {
        max-width: 100%; 
    }
}


