/* Banner */
.banner-container {
    color: white;
    text-align: center;
    padding: 100px 0;
    background-size: cover;
    background-position: center;
}

.banner-container h1 {
    font-size: 3rem;
    font-weight: bold;
}

.banner-container p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 20px auto;
}

/* Main Content */
.main-content {
    padding: 50px 0;
}

/* Notice Section */
.notice-section {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
    border: 1px solid #D8D8D8;
    border-radius: 6px;
    padding: 30px;
}

.notice-title {
    background-color: #BD2B2E;
    color: white;
    padding: 30px;
    text-align: center;
    margin-right: 30px;
}

.notice-title h2 {
    font-size: 2rem;
    margin: 0;
}

.notice-title span {
    font-size: 1rem;
}

.notice-content h3 {
    font-size: 1.5rem;
    font-weight: bold;
}

.notice-meta {
    display: flex;
    align-items: center;
    margin-top: 10px;
    color: #999;
}

.notice-meta img {
    margin-right: 10px;
}

.see-more {
    margin-left: auto;
    color: #999;
    position: absolute;
    right: 20px;
    bottom: 20px;
}

/* Main Services */
.main-services {
    display: flex;
    justify-content: space-around;
    margin-bottom: 50px;
    gap: 50px;
}

.service-box {
    text-align: center;
    border: 1px solid #eee;
    padding: 20px;
}

.service-box img {
    max-width: 100%;
}

.service-box h4 {
    font-size: 1.2rem;
    margin: 15px 0;
}

.service-box a {
    color: #c00000;
    text-decoration: underline;
}

/* Six Services */
.six-services-wrapper {
    background-color: #EBD8B9;
}
.six-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 50px 0;
}

.service-item {
    text-align: center;
    background-color: white;
    padding: 20px;
}

.service-item img {
    max-width: 100%;
}

.service-item h5 {
    font-size: 1.1rem;
    margin: 15px 0;
}

.service-item a {
    color: #c00000;
    text-decoration: underline;
}

/* Enterprise Entry */
.enterprise-entry {
    margin-bottom: 50px;
    margin-top: 50px;
}

.section-title {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.section-title-bordered {
    border-bottom: 3px solid #eee;
    padding: 10px 0;
}

.section-title h3 {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0;
}

.section-title .see-more {
    margin-left: auto;
    bottom: 10px;
}

.entry-items {
    display: flex;
    justify-content: space-around;
    align-items: flex-start; /* Align items to the top */
    position: relative; /* For pseudo-element positioning */
}

.entry-item {
    text-align: center;
    width: 150px;
    position: relative; /* For pseudo-element positioning */
}

.entry-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 30px; /* Position relative to the top of the item, now consistent */
    right: -45%; /* Position between items */
    width: 50px;  /* Adjust length of the line */
    height: 4px;
    background-color: #ddd;
    /* transform is not needed if top is a fixed value */
}

.entry-item img {
    margin-bottom: 15px;
    height: 60px; /* Give a fixed height to the image's container space */
    object-fit: contain; /* Ensure image scales nicely within the height */
}

.entry-item p {
    min-height: 40px; /* Ensure text area has a minimum height */
}

/* News & Policy */
.news-policy-container {
    position: relative;
    height: 550px;
    margin-top: 50px;
    min-width: 1200px;
}

.news-policy-bg-red {
    height: 550px;
    width: 51%;
    background-color: #BD2B2E;
    z-index: 1;
}

.news-policy-bg-beige {
    position: absolute;
    width: 51%;
    margin-left: 49%;
    top: 50px;
    height: 550px;
    background-color: #EBD8B9;
    z-index: 2;
}

.news-policy-content-container {
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

/* Common styles for News and Policy lists */
.info-list {
    position: absolute;
    width: 770px;
    z-index: 100;
    padding: 0 20px;
}

.info-list .section-title {
    display: flex;
    align-items: center;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.info-list .section-title img {
    height: 24px;
    margin-right: 15px;
}

.info-list .section-title h3 {
    font-size: 22px;
    margin: 0;
}

.info-list .see-more {
    margin-left: auto;
    text-decoration: none;
    position: absolute;
    right: 0;
}

.info-list ul {
    list-style: none;
    padding: 0;
}

.info-list li {
    padding: 10px 0;
    border-bottom: 1px dotted #ffffff50; /* Add a subtle separator */
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list li a {
    text-decoration: none;
    display: flex;
    align-items: center; /* Align to the top */
    font-size: 14px;
    color: inherit;
    gap: 10px; /* Add gap between icon, title, and date */
}

.info-list .info-title {
    flex-grow: 1; /* Allow title to take up available space */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limit to 1 lines */
    -webkit-box-orient: vertical;
    line-height: 1.5; /* Adjust line height for readability */
}

.info-list .info-date {
    margin-left: auto; /* Push date to the right */
    white-space: nowrap; /* Prevent date from wrapping */
    padding-left: 15px; /* Add some space between title and date */
    line-height: 2;
}

/* Specific styles for News List */
.news-list {
    left: 0;
    color: white;
}

.news-list .section-title {
    border-bottom: 2px solid #C8504F;
}

.news-list .section-title h3 {
    color: white;
}

.news-list .see-more {
    color: white;
}

/* Specific styles for Policy List */
.policy-list {
    right: 0;
    margin-top: 50px;
    color: #333;
}

.policy-list .section-title {
    border-bottom: 2px solid white;
}

.policy-list .section-title h3 {
    color: #333;
}

.policy-list .see-more {
    color: #999;
}

/* Online Training */
.online-training {
    margin: 100px auto 0;
}

.training-tabs-header {
    position: relative;
    border-bottom: 1px solid #ddd;
}


.training-panes-container {
    padding-top: 30px;
    min-height: 320px;
}

.training-pane {
    display: none;
}

.training-pane.active {
    display: block;
}

.training-items {
    display: flex;
    justify-content: start;
    gap: 20px;
}

.training-item {
    text-align: center;
}

.training-item img {
    max-width: 100%;
    margin-bottom: 15px;
}

.training-item-info {
   display: flex;
    justify-content: space-between;
    padding: 0.5rem 5px;
}

.training-item p {
    font-size: 1.1rem;
}

.training-item span {
    color: #999;
}

.online-training .see-more {
    bottom: 10px;
}

/* Online Training Tabs */
.training-tabs-container {
    display: flex;
}

.training-tab {
    margin-right: 40px;
    cursor: pointer;
    color: #666;
    font-size: 18px;
    padding-bottom: 10px;
    border-bottom: 3px solid transparent; /* Default empty border */
    display: flex;
    align-items: center;
}

.training-tab .tab-icon {
    width: 8px;
    height: 22px;
    background-color: transparent; /* Default transparent */
    margin-right: 12px;
}

.training-tab.active {
    color: #c00000;
    font-size: 22px;
    font-weight: bold;
    border-bottom-color: #c00000;
}

.training-tab.active .tab-icon {
    background-color: #c00000;
}

.training-item {
    width: 32%;
    border: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    text-align: center;
    padding-bottom: 20px;
    background: white;
}

.training-item img {
    width: 100%;
    display: block;
}

.faq-list {
  margin-left : 30px;
}
.faq-list a {
    padding: 10px 0;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.faq-list .title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 90%;
}

