/* ==== Google fonts ==== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

/* ==== CSS Variables ==== */
:root {
    --primary-color:#00006f;
    --secondary-color: #ffb907;
    --other-color: #ac7c03;
    --dark-color: #00116f;
}

/* ==== Global Style ==== */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img{
    width: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}

/* ==== Utilities Style ==== */
@media (min-width: 976px) {
    .container {
        max-width: 1200px;
    }
}

/*==== Header ==== */
.primary-header{
    background-color: var(--primary-color);
}
.logo img{
    height: 82px;
}
.btn_secondary{
    color: var(--primary-color);
    background-color: var(--secondary-color);
}
.btn_secondary:hover{
    background-color: var(--primary-color);
    color: var(--secondary-color);
}
.dark-help .btn{
    color: var(--primary-color);
    background-color: #fff;
    margin-right: 16px;
}
.dark-help .btn:hover{
    background-color: #ccc;
}

/* ==== Nav Bar ==== */
.primary-nav{
    margin-top: 1px;
    background-color: var(--dark-color);
}
.navbar-toggler{
    border: 2px solid #ffb907;
    color: var(--secondary-color);
    font-size: 24px;
}
.nav-link{
    color: var(--secondary-color);
    font-size: 16px;
}
.nav-link:hover{
    color: var(--secondary-color);
    background-color: rgba(255, 185, 7, 0.1);
}
@media (max-width:991px) {
    .nav-fill .nav-item{
    text-align: left;
}
}
.dropdown:hover > .dropdown-menu {
    display: block !important; 
}


.navbar-light .navbar-nav .nav-link {
    padding: 16px 13%;
}

@media(min-width: 1191px){
    .navbar-light .navbar-nav .nav-link {
        padding: 16px 17%;
    }
}

/****************/
.main-container{
    width: 90vw;
    margin: 0 auto;
    /* padding: 40px 0; */
}
.main-container > h2{
    text-align: center;
    padding: 10px 0;
    font-size: 32px;
}
.main-container > p{
    font-weight: 300;
    padding: 10px 0;
    opacity: 0.7;
    text-align: center;
}
.category-head{
    margin: 30px 0;
}
.category-head ul{
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.category-title{
    flex: 0 0 calc(16.6667% - 10px);
    display: flex;
    justify-content:center;
    background: #a8a8a8;
    padding: 12px;
    color: #fff;
    margin: 5px;
    cursor: pointer;
    transition: all 0.4s ease;
}
.category-title:hover{
    opacity: 0.7;
}
.category-title li{
    padding: 0 10px;
}
.category-title span{
    color: #222;
}


/** single post **/
.posts-main-container{
    display: grid;
    flex-wrap: wrap;
    grid-template-columns: repeat(4,1fr);
    grid-gap: 16px;
}
@media(max-width:991px){
    .posts-main-container{
        display: grid;
        flex-wrap: wrap;
        grid-template-columns: repeat(2,1fr);
        grid-gap: 16px;
    }
}


.post-img{
    position: relative;
    background-position: center;
    background-size: contain;
}
.category-name{
    position: absolute;
    top: 20px;
    left: 20px;
    text-transform: uppercase;
    font-size: 13px;
    color: #fff;
    padding: 4px 10px;
    border-radius: 2px;
    background: #00116f;
}
.General .category-name{
    background: #00116f;
}
.jamb .category-name{
    background: #00116f;
}
.waec .category-name{
    background: #00116f;
}
.admission .category-name{
    background: #00116f;
}


.post-content{
    margin: 16px 1px;
}
.post-content-top{
    background: linear-gradient(45deg, #00006f, transparent);;
    color: #fff;
    opacity: 0.8;
    padding: 5px 0 5px 15px;
}
.post-content-top span{
    padding-right: 20px;
}
.post-content-top .fa-comment, .post-content-top .fa-calendar{
    padding-right: 5px;
}
.post-content h2{
    font-size: 1.3rem;
    padding: 12px 8px;
    font-weight: 400;
    color: #00336f;
}
.post-content h2:hover{
    color: var(--secondary-color);
}
.post-content p{
    opacity: 0.8;
    font-size: 15px;
    line-height: 1.8;
    margin: 0 8px;
    height: 81px;
    overflow: hidden;
}
.read-btn{
    border: none;
    padding: 4px 8px;
    margin: 5px 0;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    cursor: pointer;
    color: #fff;
    text-decoration: none;
    background-color: var(--primary-color);
    border-radius: 5px;
    margin-bottom: 40px;
    transition: transform 0.3s ease;

}

.read-btn:hover{
    background-color: var(--dark-color);
    transition: transform 0.3s ease;
    transform: translateX(10px);
}

.page-item {
    cursor: pointer;
}


/***************/
@media(max-width: 1170px){
    .posts-main-container{
        grid-template-columns: repeat(2, 1fr);
    }
}
@media(max-width: 768px){
    .posts-main-container{
        grid-template-columns: 1fr;
    }
}


/***********/

.activate{
    background: #00006f;
}



nav .pagg{
    margin-top: 32px;
}





/* ==== Footer ==== */
.footer {
    background-color: var(--primary-color);
    margin-top: 20px;
}
.footer .quick-links,
.footer .disclaimer,
.footer .connect{
    padding: 1.5rem;
}
.footer .quick-links li,
.footer .connect li{
    list-style: none;
}
.quick-links h4,
.disclaimer h4,
.connect h4{
    font-size: 1.3rem;
    color: #fff;
    position: relative;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #ffb907;
}
    a:-webkit-any-link{
    list-style-type: none;
    text-decoration: none;
}
.quick-links li{
    margin-bottom: 0.85rem;
}
.disclaimer div{
    color: #fff;
    font-size: 1rem;
    font-weight: 400;
    position: relative;
    transition: all 0.5s ease;
}
@media(max-width:550px){
    .disclaimer{
        margin-top: -40px;
    }
}
.quick-links a,
.explore a {
    color: #fff;
    font-size: 1rem;
    font-weight: 400;
    position: relative;
    transition: all 0.5s ease;
}
.quick-links a:before,
.explore a:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background-color: #fff;
    transition: all 0.5s ease;
    transform: scale(0);
}
.quick-links a:hover::before,
.explore a:hover::before {
    transform: scale(1);
}
.connect{
    color: #fff;
}
.connect .social-media{
    display: flex;
    list-style-type: none;
}
.connect .social-media .icon{
    margin-right: 1.25rem;
}
.connect .social-media .icon i{
    font-size: 1.85rem;
    color: #fff;
}
.connect .connect-info p i{
    font-size: 1.25rem;
    color: #fff;
}

/* ==== Footer Copyright ==== */
.footer-copyright {
    border-top: #ffb907 2px solid;
    padding: 1.25rem;
    background-color: var(--dark-color);
    color: #fff;
}
.footer-copyright a{
    color: #fff;
}
.footer-copyright a:hover{
    color: #bbb;
}