body {
    margin: 0;
    font-family: 'Roboto', Arial, sans-serif;
    background: #f5f5f5;
}

/* Top Bar */
.niftem-header {
    width: 100%;
}

.top-bar {
    background: #228b22;
    color: #fff;
    font-size: 14px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0.2rem 2rem;
    height: 35px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-btn {
    background: #228b22;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 7px;
    padding: 0.18rem 1.1rem;
    margin-right: 0.2rem;
    font-size: 0.99rem;
    font-family: 'Roboto', Arial, sans-serif;
    cursor: pointer;
}

.login-link {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    border: 1px solid #fff;
    border-radius: 7px;
    padding: 0.18rem 1.1rem;
    margin-right: 0.2rem;
}

/* Main Header Section */
.main-header {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 0.65rem 2rem 0.5rem 2rem;
    justify-content: space-between;
}

.logo-title-box {
    display: flex;
    align-items: center;
    min-width: 260px;
    gap: 0.5rem;
}

.niftem-logo {
    height: 60px;
    width: auto;
    margin-right: 0.6rem;
}

.title-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-family: 'Roboto', Arial, sans-serif;
}

.niftem-title {
    font-size: 2.0rem;
    color: #228b22;
    font-weight: 700;
    line-height: 1.1;
}

.niftem-subtitle {
    font-size: 1.2rem;
    color: #228b22;
    font-weight: 600;
    margin-top: 0.1rem;
    letter-spacing: 0.07em;
}

.niftem-tagline {
    font-size: 0.98rem;
    color: #228b22;
    margin-top: 0.3rem;
    font-weight: 400;
}

.inst-title-block {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0 2.3rem;
}

.main-title {
    color: #228b22;
    font-size: 1.30rem;
    font-weight: bold;
    font-family: 'Roboto', Arial, sans-serif;
}

.sub-title {
    color: #404040;
    font-size: 12px;
    margin-top: 0.18rem;
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: bolder;
}

.logos-block {
    display: flex;
    align-items: center;
    gap: 1.3rem;
}

.gov-logo, .mofpi-logo, .flag-logo {
    height: 38px;
    background: #fff;
    border-radius: 3px;
    box-shadow: 0 0 2px #888;
}

/* Navigation Bar */
.main-nav {
    background: #228b22;
    padding: 0.08rem 0;
    text-align: center;
    padding-left: 15%;
    padding-right: 15%;
    height: 45px;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

    .nav-list li {
        position: relative;
        font-size: 13px;
    }

    .nav-list a {
        color: #fff;
        text-decoration: none;
        font-weight: 900;
        transition: background 0.18s;
        padding: 0.35rem 0.7rem;
        border-radius: 5px;
    }

        .nav-list a:hover {
            background: rgba(255,255,255,0.18);
        }

.nav-icon {
    font-size: 1.35em;
    color: #fff;
}

footer {
    background-color: #228b22;
    color: white;
    padding: 10px 0 10px;
    margin-top: 10px;
}

.footer-bottom {
    text-align: center;
    padding: 15px;
    margin-top: 10px;
    font-size: 14px;
    color: #fff;
}


.director-message {
    max-width: 1200px;
    margin: 40px auto;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-family: Helvetica;
}


.director-text {
    flex: 2 1 400px;
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 20px;
}

    .director-text h2 {
        font-family: 'Playfair Display', serif;
        color: #002b5b;
        font-size: 30px;
        margin-bottom: 10px;
        position: relative;
    }

        .director-text h2::after {
            content: '';
            width: 60px;
            height: 3px;
            background: #ffb703;
            position: absolute;
            left: 0;
            bottom: -8px;
        }

    .director-text h4 {
        color: #666;
        margin-bottom: 20px;
        font-weight: 500;
    }

    .director-text p {
        font-size: 16px;
        color: #444;
        line-height: 1.8;
        text-align: justify;
    }

.signature {
    margin-top: 20px;
    color: #002b5b;
    font-weight: 600;
    font-family: verdana;
}

@media (max-width: 768px) {
    .director-message {
        flex-direction: column;
    }

    .director-text {
        padding: 25px;
    }

        .director-text h2 {
            text-align: center;
        }
