body {
    /* Changed from muted yellow-green-brown to a soft, light blue-grey */
    background-color: #f0f4f8;
    /* Light blue-grey, very subtle and clean */
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* Modern, readable font */
    color: #333;
    /* Good default text color */
}

/*----------------------hiding registration sign up link -------------------*/


header.sticky {
    position: sticky;
    top: 0;
    /* Changed from muted yellow-green-brown to a slightly deeper, cool tone */
    background-color: #e0e7ed;
    /* Light, calming blue-grey for header */
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    /* Added subtle shadow for depth */
}

.topnav {
    overflow: hidden;
    /* Changed from dark grey to a dark navy/charcoal for professionalism */
    background-color: #2c3e50;
    /* Deep blue-grey, professional and calming */
}

.topnav a {
    float: left;
    display: block;
    color: #ecf0f1;
    /* Lighter text for better contrast on dark nav */
    text-align: center;
    padding: 5px 19px;
    /* Increased padding for better click/tap area */
    text-decoration: none;
    font-size: 16px;
    /* Slightly larger for readability */
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
    /* Smooth hover transitions */
    box-sizing: border-box;
    /* Crucial for consistent sizing */
}

.topnav a:hover {
    background-color: #34495e;
    /* Slightly lighter shade on hover for visual feedback */
    color: #ffffff;
    /* White text on hover */
}

.topnav a.active {
    /* Kept green as it's a good accent, but used a slightly more vibrant shade */
    background-color: #27ae60;
    /* Vibrant green for active state */
    color: white;
}

.topnav .icon {
    display: none;
}

@media screen and (max-width: 600px) {
    .topnav a:not(:first-child) {
        display: none;
    }

    .topnav a.icon {
        float: right;
        display: block;
        padding: 5px 18px;
        /* Consistent padding with other links */
        text-align: right;
        /* Ensure "MENU" text aligns right */
        color: #ffffff;
        /* Ensure icon text color is visible */
    }

    /* Style for the pseudo-element (the hamburger icon) */
    .topnav a.icon::before {
        content: "\2630";
        margin-left: 8px;
        /* Increased space slightly */
        font-size: large;
        /* Slightly larger icon          vertical-align:top; */

        line-height: 0;
    }

    .topnav.responsive {
        position: relative;
    }

    .topnav.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
        width: auto;
        text-align: right;
    }

    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
        width: 100%;
        box-sizing: border-box;
    }

    /* Ensure pseudo-element styles are maintained in responsive state */
    .topnav.responsive .icon::before {
        content: "\2630";
        margin-left: 0px;
        font-size: 1.3em;
        vertical-align: middle;
        line-height: 0;
    }

    /* Ensure the Sign Up link appears in the mobile menu */
}

#heD {
    margin: 0;
    /* Changed from strong blue to a slightly softer, yet distinct blue */
    color: #2980b9;
    /* A professional blue */
    font-size: 24px;
    /* Slightly larger heading for prominence */
    /* Kept background color consistent with header */
    background-color: #e0e7ed;
    font-family: 'Brush Script MT', cursive;
    text-shadow: 2px 2px 3px #1abc9c;
    /* Subtle shadow for depth, changed color */
    display: inline-block;
    vertical-align: middle;
}

.h1login {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 9px;
    /* Increased padding for more breathing room */
}

.welcome-message {
    /* Changed from #555 to a slightly darker, more prominent grey */
    color: #666;
    font-size: 17px;
    /* Slightly larger */
    margin-left: 15px;
    /* More space */
    font-weight: bold;
    flex-grow: 1;
}

.login-link {
    text-decoration: none;
    /* Changed from strong blue to a coordinated blue with the heading */
    color: #3498db;
    /* A clear, clickable blue */
    font-weight: bold;
    font-size: 1.1em;
    /* Relative font size */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin-left: 15px;
    /* More space between links */
    transition: color 0.3s ease;
    /* Smooth hover transition */
}

.login-link:hover {
    color: #2980b9;
    /* Slightly darker blue on hover */
}

.auth-links {
    display: flex;
    align-items: center;
}

.But1 {
    float: right;
    /* Coordinated with active link green */
    background-color: #2ecc71;
    /* A friendly, inviting green */
    color: white;
    /* Ensure text is white */
    padding: 10px 20px;
    /* Added padding for a button feel */
    border: none;
    /* Remove default border */
    border-radius: 5px;
    /* Slightly rounded corners */
    cursor: pointer;
    /* Indicate it's clickable */
    transition: background-color 0.3s ease;
    /* Smooth transition */
}

.But1:hover {
    background-color: #27ae60;
    /* Darker green on hover */
}

/* ------------------------LOGIN PAGES CSS----------------------*/
/* Assuming But2a is for a button on a different page, adjust its color too */
.But2a {
    float: left;
    /* Changed from strong blue to a more appealing purple/indigo */
    background-color: #8e44ad;
    /* A rich purple/indigo */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.But2a:hover {
    background-color: #9b59b6;
    /* Lighter purple on hover */
}


main {
    clear: both;
    padding: 20px;
    /* Added some padding around the main content */
    max-width: 1200px;
    /* Optional: constrain main content width for better readability */
    margin: 20px auto;
    /* Center main content */
    background-color: #ffffff;
    /* White background for main content sections */
    border-radius: 8px;
    /* Rounded corners for sections */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    /* Soft shadow for main content */
}

section {
    margin-bottom: 30px;
    /* More space between sections */
    padding: 20px;
    /* Padding within sections */
    border: 1px solid #e0e0e0;
    /* Subtle border for sections */
    border-radius: 6px;
    background-color: #ffffff;
}


/* New style for h2link - making them more distinct */
.h2link {
    margin-top: 0;
    margin-bottom: 15px;
    color: #e74c3c;
    /* A strong, appealing red/orange for titles */
    font-size: 20px;
    /* Slightly larger */
    border-bottom: 2px solid #f1c40f;
    /* Yellow underline for emphasis */
    padding-bottom: 2px;
    /* Space between text and underline */
}

/* Updated iframe styles for consistency */
iframe {
    margin-top: 0px;
    border: 1px solid #dcdcdc;
    /* Lighter border */
    border-radius: 5px;
    margin-bottom: 9px;
    pointer-events: none;
}

.hidden {
    display: none !important;
}

/*------------------I FRAME CONTAINER---------------------------*/
/* Make the entire <a> tag block-level and ensure it covers the iframe */

.iframe-link {
    margin-top: 0px;
    display: block;
    width: 100%;
    height: 130px;
    /* Match iframe height */
}

/*------------styles for css for current affair and jobs list------------------*/

/* Style for the table */
#joblistx1a {
    width: 100%;
    border-collapse: collapse;
    /* Ensures borders are not doubled */
    margin: 20px 0;
    /* Adds space above and below the table */
    font-family: Arial, sans-serif;
    /* Sets a clean, modern font */
}

/* Style for the header row */
#joblistx1a th {
    background-color: #cdc75a;
    /* Green background */
    color: white;
    /* White text */
    padding: 12px 15px;
    /* Adds padding inside header cells */
    text-align: center;
    /* Aligns text to the left */
    border: 2px solid white;
}

/* Style for the table data cells */
#joblistx1a td {
    border: 1px solid #ddd;
    /* Light gray border for data cells */
    padding: 8px 12px;
    /* Adds padding inside data cells */
    text-align: left;
    /* Aligns text to the left */
}

/* Zebra-striping: alternating row colors */
#joblistx1a tr:nth-child(even) {
    background-color: #f2f2f2;
    /* Light gray for even rows */
}

#joblistx1a tr:hover {
    background-color: #ddd;
    /* Darker gray when hovering over rows */
}

/* Optional: Style for the table when empty */
#joblistx1a td {
    text-align: center;
    /* Centers text in case of no data */
}