/* Reset default margin and padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body styles */
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Header styles */
.header {
    color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex; /* Use flexbox for positioning */
    height: 125px;
    position: relative;
}

.header .container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px; /* Add padding to create space around the logo */
}

.header .logo {
    height: 100px; /* Adjust logo size */
    width: auto;
    position: absolute;
}

/* Navigation styles */
nav {
    width: 100%;
    text-align: center;
    vertical-align: middle;
  }
  
.navbar-nav {
    display: flex;
    align-items: center;
    text-align: center;
}

.navbar-nav .nav-item {
    margin-right: 20px;
}

.navbar-nav .nav-link {
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    white-space: nowrap; /* Prevent wrapping of text */
    transition: color 0.3s ease, border-bottom 0.3s ease; /* Add transition for smoother effect */
    position: relative; /* Add relative positioning */
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -3px; /* Position the underline below the text */
    left: 0;
    width: 0;
    height: 2px;
    background-color: #fff; /* Set underline color */
    transition: width 0.3s ease; /* Add transition for smoother effect */
}

.navbar-nav .nav-link:hover::after {
    width: 100%; /* Expand the underline on hover */
}

/* Main content styles */
.container {
    max-width: 1200px;
    margin: 0 auto; /* Center the container horizontally */
    padding: 20px;
}

/* Staff card styles */
.card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card-body {
    padding: 20px;
}

.card-body p {
    margin-bottom: 10px;
}

/* Staff name styles */
.name {
    font-weight: bold;
    font-size: 1.2rem;
    color: #000;
}

/* Email link styles */
.email a {
    text-decoration: none;
    color: #BA122B;
    transition: color 0.3s ease;
    position: relative;
}

.email a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    display: block;
    left: 0;
    background: black;
    transition: width 0.3s ease;
}

.email a:hover::after {
    width: 100%;
}

/* Footer styles */
footer {
    background-color: #343a40; /* Dark footer */
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: auto;
}

/* Link card styles */
.link-card {
    position: relative;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center; /* Center text */
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.link-card h3 {
    font-size: 1.2rem;
    color: #BA122B;
    font-weight: bold;
    padding: 20px;
    margin: 0;
    text-decoration: none;
    position: relative; /* Add relative positioning */
    display: inline-block;
}

.link-card h3::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    display: block;
    margin-top: 5px;
    left: 0;
    background: black;
    transition: width 0.3s ease;
}

.link-card:hover h3::after {
    width: 100%;
}

.link-card p {
    color: #666;
    padding: 0 20px 20px;
    margin: 0;
}


.navbar-nav .nav-link.active::after {
    width: 100%; /* Keep the underline at 100% width for the active link */
}

/* Human Resources title styles */
.container h1 {
    font-size: 3rem; /* Increase font size */
    font-weight: bold; /* Make it bold */
    color: #333; /* Set a neutral color */
    text-transform: uppercase; /* Convert text to uppercase for emphasis */
    margin-bottom: 20px; /* Add some bottom margin for spacing */
    text-align: center; /* Center align the title */
    letter-spacing: 2px; /* Add letter spacing for clarity */
    border-bottom: 3px solid #BA122B; /* Add a bottom border for emphasis */
    padding-bottom: 10px; /* Add padding to separate the border from text */
}

/* Section labels styles */
.container h2 {
    font-size: 2rem; /* Increase font size */
    font-weight: bold; /* Make it bold */
    color: black; /* Set a distinctive color */
    text-transform: uppercase; /* Convert text to uppercase for emphasis */
    margin-top: 40px; /* Add some top margin for spacing */
    margin-bottom: 20px; /* Add some bottom margin for spacing */
    text-align: center; /* Center align the label */
    letter-spacing: 2px; /* Add letter spacing for clarity */
}