@media (max-width: 991.98px) { /* tablets */
    .mb-mobile {
        margin-bottom: 2rem;
    }
}

@media (max-width: 767.98px) {  /* mobile */
    #main-header.d-flex {
        flex-direction: column !important;
        align-items: center !important;
    }
    #main-header.d-flex > div.d-flex {
        justify-content: center !important;
        margin-bottom: 1rem;
        width: 100%;
    }
    #main-header.d-flex > ul.nav {
        justify-content: center !important;
        width: 100%;
        margin-bottom: 0.5rem;
    }
    #main-header.d-flex ul.nav .nav-link {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    #custom-footer footer {
        flex-direction: column !important;
        text-align: center !important;
    }

    #custom-footer .col-md-4 {
        justify-content: center !important;
        margin-bottom: 10px;
    }

    #custom-footer ul {
        justify-content: center !important;
    }
}

/* FOR HEADER PAGE */
.nav-link {
    font-size: 22px;
    font-weight: 400;
}

.nav-link.active {
    color: #8B0000 !important;
    background-color: transparent !important;
}

.home-nav-link {
    font-size: 28px;
    font-weight: 700;
}

.dark-blue-bg {
    background-color: #174ea1
}

.logo-h {
    height: 55px;
}

/* FOR INDEX PAGE */
.home-banner {
    background-image: url('../images/newsharp.png');
    background-size: cover;
    background-position: center;
    height: 64vh
}

.home-txt-bg {
    border-radius: 8px;
    overflow: hidden;
    background-color: #F0F8FF
}

.subjectlist {
    font-size: 22px;
    text-align: left;
    line-height: 1.7;
    list-style-position:
    inside;
}

.threersn {
    font-size: 22px
}

.lightbluebg {
    background-color: #F0F8FF
}

.lildesc {  /* small description under light blue banner */
    font-size: 24px;
    margin-bottom: 0px;
}

/* FOR REST OF PAGES */
.banner-font {
    font-size: 80px;
    font-weight: 700;
    text-align:center;
    color: #FFFFFF
}

.blue-bg-color { /* background color of contact/business/menu headers + index descriptions */
    background-color: #174ea1
}

.btn-dark-blue {
    background-color: #174ea1;
    color: white;
    border: none;
    font-size: 22px;
}

.btn-dark-blue:hover { /* darker color on hover */
    background-color: #033582;
    color: white;
}

.formdesc {
    text-align:justify;
    font-size: 22px
}

.formfont {
    font-size:18px
}

.tutordesc {
    font-size: 20px;
    text-align: justify;
}

.picdim {
    width: 85%;
    margin-left: 0;
}

.faq-box {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 1rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-box:hover {
    background-color: #F0F8FF;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 24px;
}

.faq-answer {
    margin-top: 1rem;
    display: none;
    color: #555;
    font-size: 20px
}

.faq-box.open .faq-answer {
    display: block;
}

.arrow {
    transition: transform 0.3s ease;
}

.faq-box.open .arrow {
    transform: rotate(180deg);
}
