/* Search bar css */
#searchBarWrapper {
    display: none;
    background-color: #f8f9fa;
    padding: 10px 0;
    border-bottom: 1px solid #dee2e6;
    animation: slideDown 0.3s ease-in-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-input {
    max-width: 500px;
}

.search-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
}

.search-close-btn:hover {
    color: #dc3545;
}

.form-control:focus {
    box-shadow: unset;
}

.search-btn {
    background-color: #084480;
    border: #084480;
    border-radius: 3px;
}

.navbar-toggler:focus {
    box-shadow: unset;
    border: none;

}

.navbar-toggler {
    border: none;
}

/* Search bar end */

/* New-css-start */
.text-primary {
    color: #084480 !important;
}

.bg-new-c {
    background-color: unset;
    box-shadow: 0px 2px 8px 0px rgba(99, 99, 99, 0.2);
    transition: all 0.2s ease-in;
}

.bg-new-c:hover {
    transform: translateX(-2px);
}

.border-left {
    border-color: #084480 !important;
}

.bg-p-small {
    background-color: #084480 !important;
    border: #084480;
    color: #fff !important;
}

.provinces-tab {
    flex-wrap: wrap;
}

.bg-p-tab {
    background-color: unset;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    border-radius: 1px
}

.bg-light-new {
    background-color: rgba(var(--nea-light-blue-rgb), var(--bs-bg-opacity)) !important;
}

.bg-light-new-bg {
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.faq-box-faq {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.nea-annual-reports {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}



.nea-annual-child img {
    height: 200px;
}

.support-with-faq-mobile .s-call-ce {
    font-size: 12px;
}

.all-province-offices {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    padding: 10px 0px 20px 0px;
}

.nav-circle-faq {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.all-call-center-box {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 1px solid #ddd;
    overflow: hidden;
    text-align: center;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    padding: 2px;
    line-height: 1.1;
}

.all-call-center-box:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: #ffc107;
    background-color: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
}

.all-call-center-box img {
    width: 20px;
    height: 20px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 2px;
}

.support-with-faq {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
}

.faq-box-faq span {
    padding-top: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.support-img {
    height: 50px;
}

.app-g-nea {
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    height: 100%;
}

.app-g-nea h3 {
    font-size: 13px;
}

.contact-form {
    padding: 30px 0px;
}

.mega-menu.show {
    visibility: hidden;
    top: 70px !important;
    transition: all 300ms;
}

/* .nav-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
} */

.img-box-circle {
    width: 80px;
    height: 80px;
    background: #ddd;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    border: 1px solid #ddd;
    background-color: #fff;
}

.img-box-circle:hover {
    background-color: #ffc10759;
    transform: scale(1.1);
    /* color: #fff; */
}

.img-box-circle img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.3s ease-in-out;
}

.img-box-circle i {
    font-size: 30px;
    color: #084480;
}

.nav-circle-box a {
    text-decoration: none;
    color: #000;
}

.nav-circle-box a:hover {
    text-decoration: underline;
}

.nav-container {
    justify-content: space-around;
    padding: 20px 0;
}

.img-box-circle {
    width: 60px;
    height: 60px;
    background: #ddd;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    border: 1px solid #ddd;
    background-color: #fff;
}


.img-box-circle:hover {
    background-color: #ffc10759;
    transform: scale(1.1);
    /* color: #fff; */
}

.img-box-circle img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.3s ease-in-out;
}

.img-box-circle i {
    font-size: 20px;
    color: #084480;
}

.nav-circle-box a {
    text-decoration: none;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

@media (max-width: 768px) {
    .nav-circle {
        padding: 10px;
    }

    .img-box-circle {
        width: 50px;
        height: 50px;
    }

    .img-box-circle img {
        width: 25px;
        height: 25px;
    }
}

/* mega-menu-css */
.cus-mega-menu-section {
    position: relative;
    z-index: 1000;
}

.custom-mega-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.custom-mega-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.fs-14 {
    font-size: 14px;
}

.fs-15 {
    font-size: 15px;
}

.fs-20 {
    font-size: 20px;
}

.fs-12 {
    font-size: 12px;
}

.fs-13 {
    font-size: 13px;
}

.fw-500 {
    font-weight: 500;
}

.fw-600 {
    font-weight: 600;
}

.font-serif {
    font-family: serif;
}

/* .bg-light-blue { background-color: #f0f8ff; } */

/* .gap-2 > * + * {
      margin-top: 0.5rem;
    } */
.cus-mega-menu-section ul li a {
    text-decoration: none;
}

/* mega-menu-end */

@media(max-width:768px) {
    .Downloads-nt {
        /* padding: 0px 20px; */
    }

    .provinces-tab {
        padding: 10px 0px;
    }

    /* .nea-annual-child {
        flex: 1 1 45%;
    } */

    .provinces {
        flex-direction: column;
    }


    .carousel-item {
        width: auto;
    }

    /* .all-province-offices {
        justify-content: space-between;
    } */

    .nav-circle-box a {
        text-decoration: none;
        color: #000;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }





    .support-with-faq-mobile {
        width: 100% !important;
    }
}



.banner-title-mb {
    padding: 19px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    background: #000000a1;
    border-radius: 10px;
}

.carousel .carousel-item:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    --bs-bg-opacity: 0.9;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.notices-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    overflow: hidden;
}

.notices-container .nav-pills .nav-link {
    border-radius: 0;
    padding: 15px 20px;
    color: #333;
    width: 100%;
}

.notices-container .nav-pills .nav-link.active {
    background-color: #084480;
    color: #fff;
    border-radius: 0;
}

.new-notice-b-right {
    border-right: 2px solid #084480 !important;
}

.notices-container .tab-content {
    padding: 20px 10px;
}

.notices-container .notice-item {
    margin-bottom: 20px;
}

.notices-container .tab-content ul li h4 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notices-container .notice-item small {
    display: block;
    color: #666;
    margin-bottom: 5px;
}

.notices-container .btn-view-all {
    background-color: #FFC107;
    color: white;
    border-radius: 30px;
    padding: 10px 25px;
    font-weight: 500;
}

.nea-app-store {
    align-items: center;
    justify-content: space-between;
    padding: 5px 0px;
}

.play-store-icon-desk {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid #ddd;
    padding: 5px;
}

.play-store-icon-desk img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nav-tabs {
    border-bottom: none;
}

.nav-tabs .nav-link {
    border: none;
    color: #333;
    font-weight: 500;
    font-size: 1.1rem;
    background-color: transparent;
    margin-right: 10px;
}

.nav-tabs .nav-link.active {
    color: orange;
    font-weight: bold;
    background-color: transparent;
    border: none;

}


.gallery-img {
    width: 100%;
    height: 100px;
    transition: transform 0.3s ease;
    object-fit: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.gallery-img:hover {
    transform: scale(1.03);
}

.img-title {
    text-align: center;
    margin-top: 5px;
    font-weight: 500;
    font-size: 0.95rem;
}

#galleryTabs {
    margin-top: 20px;
}

.carousel-inner {
    height: 500px;
}

.carousel {
    position: relative;
}

.carousel-item {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform .6s ease-in-out;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    text-align: left;
    width: 100%;
    padding: 0;
}

.carousel-caption .container {
    display: flex;
    align-items: center;
    height: 100%;
}

.caption-content {
    max-width: 50%;
    padding-left: 3rem;
}

.carousel-caption h5 {
    font-weight: 500;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.carousel-caption p {
    font-size: 1rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .caption-content {
        max-width: 80%;
        padding-left: 1.5rem;
    }

    .carousel-caption h5 {
        font-size: 1.5rem;
    }

    .carousel-caption p {
        font-size: 0.9rem;
    }


}


/* NEA Project css start */
.carousel-inner-sidebar {
    height: 400px;
}

.carousel-inner-sidebar .carousel-item {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform .6s ease-in-out;
}

.carousel-inner-sidebar .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-inner-sidebar .carousel-caption {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    text-align: left;
    width: 100%;
    padding: 0;
}

.carousel-inner-sidebar .carousel-caption .container {
    display: flex;
    align-items: center;
    height: 100%;
}

.carousel-inner-sidebar .caption-content {
    max-width: 50%;
    padding-left: 3rem;
}

.carousel-inner-sidebar .carousel-caption h5 {
    font-weight: 500;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.carousel-inner-sidebar .carousel-caption p {
    font-size: 1rem;
    line-height: 1.5;
}

@media (max-width: 768px) {

    .carousel-inner-sidebar .caption-content {
        max-width: 80%;
        padding-left: 1.5rem;
    }

    .carousel-inner-sidebar .carousel-caption h5 {
        font-size: 1.5rem;
    }

    .carousel-inner-sidebar .carousel-caption p {
        font-size: 0.9rem;
    }

    .gallery-img {
        height: auto;
    }

}

/* NEA Project css End */
.nea-app-store a {
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    border: 1px solid #084480;
    border-radius: 5px;
    padding: 3px 8px;
}

.nea-app-store span {
    color: #000;
    font-size: 14px;
}

.pro-circle-new {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    padding: 5px;
    border: 1px solid #ddd;
}

.pro-circle-new {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    padding: 5px;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    background-color: #dddddd33;

}

.pro-circle-new:hover {
    background-color: #ffc10759;
    transform: scale(1.1);
}

@media (min-width:1280px) and (max-width:1700px) {
    .nea-annual-child img {
        height: 180px;
    }

    .gallery-img {
        height: 80px;
    }
}



@media (min-width:992px) and (max-width:1280px) {
    .nea-annual-child img {
        height: 150px;
    }

    .gallery-img {
        height: 60px;
    }
}

@media (min-width:1701px) {
    .nea-annual-child img {
        height: 180px;
    }

    .gallery-img {
        height: 80px;
    }
}
