@import "iconfont.css";
/* Global Styles */
ul{
    list-style-type: disc;
    margin-block-start: 0;
    margin-block-end: 0;
    padding-inline-start: 0;
}
body {
    font-family: Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

a {
    color: #333;
    transition: all 0.3s ease;
}

a:hover {
    text-decoration: none;
    color: #0088cc;
}

.section-title {
    text-align: center;
    margin: 30px 0;
    color: #0569CD;
    position: relative;
    font-size: 34px;
}

.section-title.with-line {
    text-align: center;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.section-title.with-line:after,
.section-title.with-line:before{
    content: "";
    width: 35%;
    height: 3px;
    background: #0569CD;
    position: absolute;
    top:50%;
    transform: translate(0,-50%);
    left: 0;
}
.section-title.with-line:after{
    right:0;
    left:auto;
}
.date {
    color: #777;
    font-size: 14px;
    margin-top: 5px;
    margin-bottom: 0;
}

/* Header */
header {
    background:linear-gradient(to bottom,rgba(0,0,0,0.6),rgba(0,0,0,0));
    padding: 15px 0 40px;
    position: absolute;
    left:0;
    right:0;
    top:0;
    z-index: 999;
}
header .logo{
    margin-top: 10px;
}
.logo img {
    max-height: 50px;
}

.navbar-default {
    background-color: transparent;
    border: none;
    margin-bottom: 0;
}

.navbar-default .navbar-nav > li > a {
    color: #fff;
}

.navbar-default .navbar-nav > li.active > a,
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
    color: #fff;
    background-color: transparent;
}

.navbar-default .navbar-nav .sub-menu{
    background: rgba(26,158,223,.8);
    padding:6px 16px;
    position: absolute;
    display: none;
    left:50%;
    transform: translate(-50%,0);
    min-width: 200px;
}
.navbar-default .navbar-nav .sub-menu:before{
    content: '';
    position: absolute;
    left:50%;
    transform: translate(-50%,0);
    border:10px solid transparent;
    border-bottom-color:rgba(26,158,223,.8);
    top:-20px;
}
.navbar-default .navbar-nav .sub-menu li{
    list-style: none;
}
.navbar-default .navbar-nav .sub-menu li a{
    color:#fff;
    text-align: center;
    padding:6px 0;
    display: block;
    font-size: 14px;
}
.navbar-default .navbar-nav .sub-menu li a:hover{
    text-decoration: underline;
}
.navbar-default .navbar-nav li:hover .sub-menu{
    display: block;
}
.navbar-default .navbar-collapse.collapse{
    display: flex!important;
    align-items: center;
    justify-content: space-between;
}
.navbar-right .btn-link {
    color: #fff;
    padding:6px;
}

.search-btn {
    font-size: 18px;
}
.search-btn:hover{
    text-decoration: none;
}

/* Hero Carousel */
.hero-carousel .owl-carousel {
    position: relative;
}

.owl-carousel .item {
    position: relative;
}

.owl-carousel .item img {
    width: 100%;
    height: auto;
}
.hero-carousel .owl-carousel .owl-nav{
    display: none;
}
.hero-carousel .owl-dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-carousel .owl-dots button{
    border:0;
    background: 0;
}
.hero-carousel .owl-dots button span{
    margin:0;
}
.hero-carousel .carousel-caption{
    position: absolute;
    left:0;
    bottom:0;
    right:0;
    padding-bottom: 80px;
    text-align: center;
    background: linear-gradient(to bottom,rgba(0,0,0,0),rgba(0,0,0,0.5));
}
.carousel-caption h2 {
    color: #fff;
    font-size: 34px;
    margin: 0;
}

.carousel-indicators-custom {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
}

.carousel-indicators-custom span {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background-color: #fff;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.5;
}

.carousel-indicators-custom span.active {
    opacity: 1;
}

/* Membership Dropdown */
.membership-dropdown {
    margin: 20px 0;
}

.membership-dropdown .btn-info {
    background-color: #0088cc;
    border-color: #0088cc;
    width: 100%;
    text-align: left;
}

.membership-dropdown .dropdown-menu {
    width: 100%;
}

.membership-dropdown .label-danger {
    background-color: #ff0000;
}

/* Latest News Section */
.latest-news {
    padding: 30px 0 0;
}

.news-item {
    margin-bottom: 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items:flex-start;
    gap: 10px;
}
.news-item img{
    width: 120px;
    border-radius: 5px;
}
.news-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.news-item.featured {
    position: relative;
}

.news-item.featured img {
    width: 100%;
    border-radius: 10px;
}

.news-item.featured .news-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom,rgba(0,0,0,0),rgba(0,0,0,.8));
    color: #fff;
    padding: 15px;
    border-radius: 0 0 10px 10px;
}
.news-item.featured .news-content .date{
    color:#fff;
}
.news-item.featured h3 {
    margin-top: 0;
    font-size: 18px;
    color: #fff;
}

.news-list .news-item {
    margin-bottom: 15px;
}

.news-list h4 {
    margin-top: 0;
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 0;
}

/* Notice and Events Section */
.notice-events {
    padding: 30px 0;
    background-color: #f5f5f5;
}

.notice-item,
.event-item {
    padding: 16px 20px;
    margin-bottom: 10px;
    background-color: #EBF0F4;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.notice-item:hover,
.event-item:hover {
    background-color: #EEF9FF;
}

.notice-item h4,
.event-item h4 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}
.notice-item:hover h4,
.event-item:hover h4{
    text-decoration: underline;
}
/* Videos Section */
.videos-section {
    padding: 30px 0 0;
}

.video-item {
    margin-bottom: 30px;
}

.video-thumbnail {
    position: relative;
    display: block;
}
.video-thumbnail img{
    border-radius: 8px;
}
.video-thumbnail:after{
    content: '';
    position: absolute;
    left:0;
    right:0;
    bottom:0;
    height: 70px;
    background: linear-gradient(to bottom,rgba(0,0,0,0),rgba(0,0,0,0.5));
    border-radius: 0 0 8px 8px;
}
.play-icon {
    position: absolute;
    color: #fff;
    transition: all 0.3s ease;
    right:20px;
    bottom:10px;
    line-height: 1;
    z-index: 999;
}
.play-icon i.iconfont{
    font-size: 30px;
    font-weight: normal;
}
.video-thumbnail:hover .play-icon {
    opacity: 1;
    margin-bottom: 16px;
}

.video-item h4 {
    font-size: 20px;
    line-height: 1.4;
}
.video-item h4 a:hover{
    text-decoration: underline;
    color:#000;

}

/* Member Service Section */
.member-service {
    padding: 30px 0;
    background-color: #1A9EDF;
    position: relative;
}
.member-service:before{
    content: '';
    position: absolute;
    top:-20px;
    left:50%;
    transform:translate(-50%,0);
    border:10px solid transparent;
    border-bottom-color:#1A9EDF;
}

.service-item {
    margin:15px 0;
    position: relative;
    background: linear-gradient(to bottom,#fff,#CAEDFF);
    border-radius: 10px;
    padding:20px 0;
    display: block;
}
.service-item .iconfont{
    font-size: 60px;
    color:#0065CD;
}
.service-item:hover{
    background: linear-gradient(to bottom,#fff,#FFEBD2);
}
.service-item img {
    max-width: 60px;
    margin-bottom: 10px;
}

.service-item h4 {
    font-size: 20px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    color:#000;
    margin-top: 0;
}

.highlight-dot {
    position: absolute;
    top: 0;
    right: 30%;
    width: 8px;
    height: 8px;
    background-color: #ff0000;
    border-radius: 50%;
}

/* Links Section */
.links-section {
    padding: 30px 0;
}
.links-section .col-md-2{
    width: 20%
}
.link-item {
    margin-bottom: 20px;
    border: 1px solid #ddd;
    transition: .3s;
}
.link-item:hover{
    border:1px solid #204d74;
}
/* Back to Top */
.back-to-top {
    background-color: #1A9EDF;
    padding: 10px 0;
    text-align: center;
}

#back-to-top-btn {
    color: #fff;
    font-size: 12px;
}

#back-to-top-btn i {
    margin-left: 5px;
    font-size: 14px;
}

/* Footer */
footer {
    background-color: #1A9EDF;
    color: #fff;
    padding-top: 10px;
}

.footer-top {
    padding-bottom: 30px;
}

footer h4 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
}

footer ul li {
    margin-bottom: 5px;
}

footer a {
    color: rgba(255,255,255,.8);
    font-size: 11px;
    transition: .3s;
}

footer a:hover {
    color: #e6f7ff;
    margin-left: 4px;
}

.qr-code {
    margin-top: 20px;
    text-align: center;
}

.qr-code img {
    max-width: 100px;
    margin: 0 auto;
}

.qr-code p {
    margin-top: 5px;
    font-size: 12px;
}

.footer-bottom {
    background-color: #0C8DCF;
    padding: 25px 0 15px;
    text-align: center;
    font-size: 12px;
    color:rgba(255,255,255,.7);
}

.inner-header{
    background: #0569CD;
    padding:30px 0;
}


/* Adjustments for Infinity Push Menu */
body.menu-open {
    position: fixed;
    width: 100%;
}
.inner-page{
    margin:120px auto 30px;
}
.inner-page .sidebar {
    background-color: #ffffff;
    padding: 0;
    margin-top: 20px;
    margin-right: 30px;
}

.inner-page .sidebar-item {
    display: block;
    padding: 15px 10px;
    background:rgba(38, 117, 210, 0.10);
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 16px;
    border-radius: 8px;
    font-size: 20px;
    text-align: center;
}

.inner-page .sidebar-item:hover {
    background-color: #0569CD;
    color: #fff;
    text-decoration: none;
}

.inner-page .sidebar-item.active {
    background-color: #0569CD;
    color: white;
    font-weight: bold;
}
/*列表*/

.news-title {
    color: #333;
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    background: url("/spraassets/english/images/arrbg.png") no-repeat left top;
    background-size: 12px auto;
    padding-left: 10px
}

.news-item {
    background: #F2F8FF;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
}
.news-item a.iconfont{
    background: #fff;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    margin-right: 20px;
    font-size: 12px;
}

.news-item:hover {
    background: linear-gradient(135deg, #4a90e2, #2c5aa0);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.news-item.featured {
    background: linear-gradient(135deg, #4a90e2, #2c5aa0);
    color: white;
}

.date-box {
    background: #cce7ff;
    padding: 12px 16px;
    text-align: center;
    min-width: 80px;
    margin-right: 20px;
}
.date-day {
    font-size: 26px;
    font-weight: 600;
    color: #2c5aa0;
    border-bottom: 1px solid #B1CFF1;
    padding-bottom: 6px;
    margin-bottom: 6px;
    line-height: 1;
}

.date-year {
    font-size: 16px;
    color: #666;
    margin-top: 2px;
}
.news-item:hover .date-box,
.news-item.featured .date-box {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}
.news-content {
    flex: 1;
    font-size: 20px;
    color: #333;
    line-height: 1.5;
}

.news-item:hover .news-content,
.news-item.featured .news-content {
    color: white;
}

.news-arrow {
    color: #ccc;
    font-size: 18px;
    margin-left: 15px;
}

.news-item:hover .news-arrow,
.news-item.featured .news-arrow {
    color: white;
}

.pagination-container {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.pagination-info {
    color: #666;
    font-size: 14px;
    margin-right: 20px;
}

.page-btn {
    padding: 8px 12px;
    border: 1px solid #ddd;
    background: white;
    color: #666;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s;
}

.page-btn:hover {
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
}

.page-btn.active {
    background: #2c5aa0;
    color: white;
    border-color: #2c5aa0;
}

.page-select {
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    margin: 0 10px;
}
.inner-page .main-content {
    background-color: #ffffff;
    margin-top: 20px;
    border-radius: 5px;
}
.inner-page .main-content p{
    font-size: 18px;
    text-indent: 2em;
}
.inner-page .section-title{
    font-size: 18px;
    color:#333;
    text-align: left;
}
.inner-page .page-title {
    font-size: 40px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.inner-page .date-info {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
    margin-top: 20px;
}
.inner-page .date-info span{
    display: flex;
    align-items: center;
    gap: 4px;
}
.inner-page .route-link {
    text-decoration: underline;
}
.inner-page .date-info{
    display: flex;
    justify-content: center;
    gap: 20px;
}
.inner-page .route-link:hover {
    color: #0056b3;
}

.inner-page .section-title {
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 10px;
}

.inner-page .highlight-text {
    font-weight: bold;
}

.inner-page .location-info {
    margin-bottom: 8px;
}

.inner-page .contact-info {
    margin-bottom: 8px;
}

.inner-page .hours-info {
    margin-bottom: 8px;
}

.inner-page .admission-info {
    margin-bottom: 15px;
}



/* Responsive Styles */
@media (max-width: 767px) {
    header{
        background: #1B93D0;
        padding:20px 0;
    }
    .navbar-default .navbar-nav > li > a {
        color: #333;
    }
    .logo img{
        width: auto;
        height: 30px;
    }

    .carousel-caption {
        padding: 10px 10px 50px;
    }

    .carousel-caption h2 {
        font-size: 18px;
    }

    .news-item.featured .news-content {
        position: static;
        background-color: #333;
    }
    header {
        position: relative;
        z-index: 1030;
    }

    .mobile-nav-header {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        position: absolute;
        right:10px;
        top:-32px;
    }
    .mobile-nav-header .btn-link {
        color: #fff;
    }
    .mobile-nav-header .menu-toggle{
        margin-left: 0;
    }
    .mobile-nav{
        position: relative;
        padding:0!important;
    }
    .mobile-nav-header .search-btn {
        display: none;
    }
    .news-item.featured img{
        border-radius: 10px 10px 0 0;
    }
    .links-section .col-md-2{
        width: 33.333%
    }
}
@media(max-width: 500px){
    .links-section .col-md-2{
        width: 50%
    }
}


