﻿body {
    margin: 0;
    padding: 0;
}

.blinking {
    animation: blinkingText 1s infinite;
    font-family: futura;
    font-style: italic;
    color: #720606;
    font-size: 20px;
    font-weight: bold;
}

@keyframes blinkingText {

    0% {
        opacity: 0;
    }

    50% {
        opacity: .5;
    }

    100% {
        opacity: 1;
    }
}

.ndc-navbar {
    background: #083257 !important;
    border: none !important;
    border-radius: 0 !important;
    margin-bottom: 0 !important;
    background-image: none !important;
}

    .ndc-navbar .navbar-nav .nav-link {
        color: #fff !important;
        font-size: 15px;
        font-weight: 500;
        padding: .75rem .9rem;
    }

        .ndc-navbar .navbar-nav .nav-link:hover,
        .ndc-navbar .navbar-nav .nav-link:focus {
            color: #ffc107 !important;
            background: #083b68;
        }

    .ndc-navbar .navbar-nav .nav-item.show > .nav-link {
        color: #ffc107 !important;
    }

.dropdown-menu {
    border-radius: 0;
    border: 0;
    padding: 0;
}

.dropdown-item {
    padding: 10px 18px;
}

    .dropdown-item:hover {
        background: #083b68;
        color: #fff;
    }

.navbar-nav {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: center;
}

    .navbar-nav .nav-item {
        white-space: nowrap;
    }

.dropdown-menu > li > a {
    padding: 8px 15px;
}

    .dropdown-menu > li > a:hover {
        background: #0b4f8a;
        color: #fff;
    }

.top-strip {
    background: #032238;
    color: #fff;
    padding: 6px 15px;
    font-size: 14px;
}

.main-header {
    background: #f5f5f5;
    padding: 15px 10px;
    border-bottom: 1px solid #ddd;
}

.main-title h2 {
    margin: 0;
    font-size: 28px;
    color: #111;
    font-weight: bold;
}

.main-title h3 {
    margin-top: 5px;
    color: #111;
}

.main-title p {
    margin: 0;
    font-size: 13px;
    color: #444;
}

.ndc-header-wrapper {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #fff;
}

    .ndc-header-wrapper * {
        box-sizing: border-box;
    }

/* REMOVE OLD THEME EFFECT */
/*.header,
        .w3layouts-banner-top,
        .banner,
        .callbacks_container,
        .slider,
        .top-nav,
        .agileits-banner-info {
            display: none !important;
        }*/

.ndc-logo-right {
    display: flex;
    justify-content: space-between; /* THIS pushes dig.png to extreme right */
    align-items: center;
    height: 90px;
    width: 100%;
}

.ndc-logo-left {
    height: 60px;
}

.ndc-logo-right-img {
    height: 65px;
    margin-left: auto; /* ensures right alignment */
}

/* =========================
   MODERN MATERIAL FOOTER
========================= */

.footer {
    background: linear-gradient(135deg, #032238 0%, #083257 100%);
    color: #fff;
    padding-top: 50px;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
}

    .footer::before {
        content: '';
        position: absolute;
        top: -80px;
        right: -80px;
        width: 250px;
        height: 250px;
        background: rgba(255,255,255,0.04);
        border-radius: 50%;
    }

    .footer::after {
        content: '';
        position: absolute;
        bottom: -100px;
        left: -100px;
        width: 280px;
        height: 280px;
        background: rgba(255,255,255,0.03);
        border-radius: 50%;
    }

.footer-card {
    background: rgba(255,255,255,0.06);
    border-radius: 18px;
    padding: 25px;
    margin-bottom: 25px;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    min-height: 320px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.18);
    border: 1px solid rgba(255,255,255,0.08);
}

    .footer-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 14px 28px rgba(0,0,0,0.28);
    }

.footer-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

    .footer-title::after {
        content: '';
        position: absolute;
        width: 60px;
        height: 3px;
        background: #ffc107;
        left: 0;
        bottom: 0;
        border-radius: 10px;
    }

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 14px;
    }

        .footer-links li a {
            color: #f1f1f1;
            text-decoration: none;
            transition: all 0.3s ease;
            display: inline-block;
            font-size: 15px;
        }

            .footer-links li a:hover {
                color: #ffc107;
                transform: translateX(6px);
            }

.footer-icon {
    margin-right: 10px;
    color: #ffc107;
}

.visitor-box {
    background: rgba(255,255,255,0.08);
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 15px;
    text-align: center;
}

    .visitor-box h4 {
        margin: 0;
        font-size: 28px;
        font-weight: bold;
        color: #ffc107;
    }

    .visitor-box p {
        margin: 0;
        font-size: 14px;
        color: #ddd;
    }

.footer-contact p {
    margin-bottom: 10px;
    line-height: 1.8;
    font-size: 14px;
}

.footer-contact i {
    width: 22px;
    color: #ffc107;
}

.footer-map iframe {
    width: 100%;
    height: 180px;
    border-radius: 14px;
    border: none;
    margin-top: 15px;
}

.footer-social {
    margin-top: 18px;
}

    .footer-social a {
        width: 42px;
        height: 42px;
        background: rgba(255,255,255,0.1);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        margin-right: 10px;
        color: #fff;
        transition: 0.3s;
        font-size: 18px;
    }

        .footer-social a:hover {
            background: #ffc107;
            color: #032238;
            transform: scale(1.1);
        }

.footer-bottom {
    background: rgba(0,0,0,0.25);
    padding: 18px 0;
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
}

    .footer-bottom a {
        color: #ffc107;
        text-decoration: none;
    }

        .footer-bottom a:hover {
            text-decoration: underline;
        }

.nic-logo {
    margin-top: 15px;
    max-width: 140px;
}

@media(max-width:991px) {

    .footer-card {
        min-height: auto;
    }

    .footer {
        text-align: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links li a:hover {
        transform: none;
    }
}

@media(max-width:576px) {

    .footer {
        padding-top: 35px;
    }

    .footer-title {
        font-size: 20px;
    }

    .visitor-box h4 {
        font-size: 24px;
    }
}

/* Parent dropdown */
.dropdown-menu {
    min-width: 420px;
    max-width: 500px;
}

/* Submenu positioning */
.dropdown-submenu {
    position: relative;
}

    /* Open submenu on right side */
    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -1px;
        min-width: 550px;
        max-width: 650px;
        white-space: normal;
    }

    /* Wrap submenu links */
    .dropdown-submenu .dropdown-menu li a {
        white-space: normal !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: break-word;
        line-height: 1.5;
        padding: 10px 15px;
        display: block;
    }

    /* Optional hover opening */
    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }

@media (max-width: 1366px) {

    .dropdown-submenu > .dropdown-menu {
        left: auto;
        right: 100%;
    }
}

.news-link {
    display: inline-block;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

.news-item {
    margin-bottom: 8px;
}
/* Fix dropdown width */
.dropdown-menu {
    min-width: 450px; /* adjust as needed */
    max-width: 700px;
}

/* News item full width */
.news-item {
    width: 100%;
    margin-bottom: 8px;
}

/* Wrap long text properly */
.news-link {
    display: block;
    width: 100%;
    white-space: normal !important;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    line-height: 1.5;
    padding-right: 10px;
}

.dropdown-submenu {
    position: relative;
}


    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-left: .1rem;
    }


@media(max-width:991px) {

    .dropdown-submenu > .dropdown-menu {
        position: static;
        margin-left: 1rem;
    }
}

/* =========================
   FOOTER BOOTSTRAP 5
========================= */


.ndc-footer {
    background: #003366;
    color: white;
}



.footer-box {
    height: 100%;
}



.footer-heading {
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    border-bottom: 2px solid #ffc107;
    padding-bottom: 10px;
    margin-bottom: 20px;
}



.footer-list {
    list-style: none;
    padding: 0;
}



    .footer-list li {
        margin-bottom: 12px;
    }



    .footer-list a {
        color: #fff;
        text-decoration: none;
    }



        .footer-list a:hover {
            color: #ffc107;
        }



    .footer-list i {
        width: 25px;
    }



.visitor-card {
    background: #ffffff15;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 15px;
}



    .visitor-card h4 {
        color: #ffc107;
        font-size: 26px;
    }



.nic-logo {
    max-width: 130px;
}



.footer-social a {
    display: inline-flex;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    color: #003366;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}

    .footer-social a:hover {
        background: #ffc107;
    }

.footer-bottom {
    background: #002244;
    padding: 15px;
    color: white;
}
