/* Main Navigation Bar */
nav {
    background-color: #172C4D; /* Dark blue background */
    padding: 10px 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.nav-container {
    display: flex;
    padding-left:4%;padding-right:4%;
    justify-content: space-between;
    align-items: center;
}

.c-image {
    max-height: 60px; /* Adjust as needed */
}

.nav {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
}

.nav li {
    position: relative;
    height: 100%;margin-right:15px;
}
.nav li:last-child{margin-right:0}
.c-navlink {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    transition: color 0.3s, background-color 0.3s;
    position: relative;font-weight: 600;
}

.c-navlink::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: transparent; /* No underline initially */
    position: absolute;
    bottom: -1px; /* Adjust if needed */
    left: 0;
    transition: background 0.3s;
}

.c-navlink:hover::after {
    animation: underline-animation 0.6s forwards; /* Start animation on hover */
}

.c-navlink:hover {
    background-color: rgba(255, 255, 255, 0.1); /* Light background on hover */
    color: white; /* Keep text color unchanged */
}

/* Second-level Submenu */
.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #172C4D;
    list-style-type: none;
    margin: 0;
    padding: 0;
    min-width: 200px;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    border-radius: 4px; /* Rounded corners */
}

.c-dropdown-listitem {
    position: relative;
}

.c-dropdown-textlink {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    display: block;
    transition: color 0.3s, background-color 0.3s;
    position: relative;
}

.c-dropdown-textlink::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: transparent; /* No underline initially */
    position: absolute;
    bottom: -1px; /* Adjust if needed */
    left: 0;
    transition: background 0.3s;
}

.c-dropdown-textlink:hover::after {
    animation: underline-animation 0.6s forwards; /* Start animation on hover */
}

.c-dropdown-textlink:hover {
    background-color: rgba(255, 255, 255, 0.1); /* Light background on hover */
    color: white; /* Keep text color unchanged */
}

/* Show dropdown menu on hover */
.nav li:hover .dropdown-menu {
    display: block;
}

/* Underline Animation */
@keyframes underline-animation {
    0% {
        background: white;
    }
    50% {
        background: white;
    }
    100% {
        background: red;
    }
}

/* Additional styling for smoothness and aesthetics */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f4f9; /* Light background color */
}

nav a {
    font-size: 16px; /* Slightly larger font for readability */
}

nav .iconfont {
    font-size: 20px; /* Larger icon font size */
}

/*底部*/
/* General Styles */

.container-fluid {

    color: white;

    width: 100%;
    min-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    background-color: #172C4D;
}

.content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    width: 1200px;
    margin: 0 auto;
}

/* Left Section */
.left-section {
    width: 35%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.c-image {
    max-height: 70px;
    margin-bottom: 10px;margin-top:10px;
}

.qr-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.qr-code {
    max-width: 100px;
    margin-bottom: 10px;
}

.weixin {
    display: flex;
    align-items: center;
}

.weixin-icon {
    max-width: 30px;
    margin-right: 5px;
}

.weixin h1 {
    font-size: 14px;
    text-align: left;
}

/* Right Section */
.right-section {
    width: 65%;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align content to the left */
}

.header-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center; /* Center the navigation links */
    margin-bottom: 20px;
}

.header-nav span {
    display: inline-block;
    margin: 0 10px;
    margin-left: 0px;
}

.header-nav a {
    color: white;
    text-decoration: none;
    padding: 10px;
    transition: color 0.3s;
    padding-left: 0px;
    padding-right: 20px;
    font-size: 16px;
    font-weight: bold;

}

.header-nav a:hover {
    color: #ff6347; /* Tomato color on hover */
}

.info-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align info section content to the left */
}

.friend-links {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.friend-links h1 {
    font-size: 18px;
    margin-right: 10px;
}

.friend-links-container {
    display: flex;
    flex-wrap: wrap;
}
}

.friend-links a:hover{
    color: #ff6347; /* Tomato color on hover */
}
.friend-links a {

    text-decoration: none;

    transition: color 0.3s;

    font-size: 15px;
    color: rgb(222, 240, 250);
    background-image: url(../img/93da7ab…_origin.png);
    background-repeat: no-repeat;
    padding-right: 16px;
    margin-right: 37px;
    background-position: 100% 76%;
    background-position-x: 100%;
    background-position-y: 76%;
}

.friend-links a:hover {
    color: white;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-item {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.contact-icon {
    max-width: 20px;
    margin-right: 10px;
}

.contact-item h1 {
    font-size: 16px;
}

/* Footer Section */
.footer-content {
    text-align: left;
    margin-top: 20px;
}

.footer-content h1 {
    font-size: 16px;
    margin: 5px 0;font-weight:600;
}


/*页码*/
.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 20px 0;
    margin-bottom: 0px;
    float: right;
    align-items: center;
}

.pagination li {
    margin: 0 5px;
}

.pagination li a,
.pagination li span {
    display: block;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-decoration: none;
    color: #000;
    transition: background-color 0.3s, color 0.3s;
}

.pagination li a:hover {
    background-color: #f0f0f0;
    color: #172C4D;;
}

.pagination li.active a {
    background-color: #172C4D;;
    color: #fff;
    border-color: #172C4D;
}

.pagination li.disabled a {
    pointer-events: none;
    cursor: not-allowed;
    color: #ccc;
}

.pagination li span.total {
    border: none;
    color: #333;
}

