/* Base CSS */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

.floatleft {
    float: left
}

.floatright {
    float: right
}

.alignleft {
    float: left;
    margin-right: 15px;
}

.alignright {
    float: right;
    margin-left: 15px;
}

.aligncenter {
    display: block;
    margin: 0 auto 15px;
}

a:focus {
    outline: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    width: 100%;
    background-color: #f0f0f0; /* 灰色背景占位符 */
    transition: filter 0.3s ease; /* 加载完成后过渡效果 */
}

img[loading="lazy"]:not(.loaded) {
    filter: blur(10px); /* 图片加载完成前模糊效果 */
}
  


svg { vertical-align: -0.125em; }
i {
    font-style: normal;
}

.fix {
    overflow: hidden
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 15px
}

/* Headings use system serif — zero extra bytes */
h1, h2, h3 {
    font-family: 'Georgia', 'Times New Roman', 'Songti SC', 'SimSun', serif;
}

h4, h5, h6 {
    font-family: 'Source Sans Pro', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

html,
body {
    height: 100%
}

body {
    font-family: 'Source Sans Pro', 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', 'Noto Sans SC', sans-serif;
    color: #212121;
    font-size: 16px;
    line-height: 30px;
}

.section-padding {
    padding: 100px 0
}

#slider,
.slide-text-table,
#slider .container,
#slider .row,
#slider .col-md-12 {
    height: 100%
}

.slide-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-position: center center;
    background-size: cover;
    background-image: url(../img/slide-bg-1.webp); 
    background-attachment: fixed;
}

.slide-text-table {
    display: table;
    height: 100%;
    width: 100%;
}

.slide-text-table-cell {
    display: table-cell;
    vertical-align: middle;
    padding-bottom: 15%;
}

.slide-text {
    max-width: 520px;
    float: right;
    text-align: right;
    font-size: 18px;
    line-height: 30px;
}

.slide-text h1 {
    font-size: 72px;
    font-weight: 700;
    margin-bottom: 40px;
    padding-bottom: 25px;
    position: relative;
    margin-top: 50px;
}

.slide-text h1:before {
    background: #df451b;
    height: 4px;
    width: 140px;
    position: absolute;
    right: 0;
    bottom: 0;
    content: "";
}

.learn-more {
    border: 2px solid;
    color: #212121;
    display: inline-block;
    font-weight: 500;
    margin-top: 40px;
    padding: 5px 60px;
}

.tlinks {
    text-indent: -9999px;
    height: 0;
    line-height: 0;
    font-size: 0;
    overflow: hidden;
}

.learn-more:hover {
    background-color: #DF451B;
    border-color: #DF451B;
    color: #fff;
    text-decoration: none;
}

header.header {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 999;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 700;
    padding: 40px 0;
    transition: background .4s, color .4s, padding .4s;
    /* background-color: transparent */
}

header.header a {
    color: #212121
}

.nav>li>a:hover,
.nav>li>a:focus {
    background-color: transparent
}

.header.is-sticky .nav>li.active a,
header.header a:hover {
    color: #DF451B
}

.header.is-sticky {
    position: fixed;
    padding: 10px 0;
    background: #212121;
}

.header.is-sticky a {
    color: #fff
}

.logo h1 {
    font-size: 18px;
    font-weight: 700;
    margin: 15px 0;
}

/* .logo h1 a {} */

h2 {
    font-size: 27px;
    font-weight: 700;
}

.about-text h2 {
    margin-bottom: 70px
}

header.header ul.nav.navbar-nav {
    margin-right: -30px
}

.about-text .about-icon {
    font-size: 50px;
    margin-bottom: 30px;
}

.section-gray {
    background: #EFEFEF
}

.single-service i {
    font-size: 35px
}

.single-service h2 {
    font-size: 18px;
    font-weight: 600;
    margin: 20px 0;
}

.single-service {
    line-height: 25px
}

.page-title {
    margin-bottom: 100px
}

.single-article {
    background: none repeat scroll 0 0 #222222;
    padding: 40px;
    position: relative;
}

.single-article:hover:before,
.portfolio-menu:before,
.facts-wrapper:before {
    background: none repeat scroll 0 0 #DF451B;
    content: "";
    height: 7px;
    left: 50%;
    margin-left: -37.5px;
    position: absolute;
    top: 0;
    width: 75px;
}

.single-article a {
    color: #fff
}

.article-header {
    font-size: 14px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.article-title h2 {
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 2px;
    line-height: 35px;
    margin-bottom: 30px;
}

.article-footer {
    color: #fff;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.article-footer img.author-thumb {
    border-radius: 4px;
    float: left;
    height: auto;
    margin-right: 20px;
    width: 60px;
}

.article-title {
    min-height: 135px
}

.owl-nav {
    left: 0;
    margin-top: -15px;
    position: absolute;
    top: 50%;
    width: 100%;
}

.owl-nav>div {
    font-size: 30px;
    position: absolute;
}

.owl-nav>div.owl-prev {
    left: -15px
}

.owl-nav>div.owl-next {
    right: -15px
}

.article-list .owl-nav>div.owl-prev {
    left: -35px
}

.article-list .owl-nav>div.owl-next {
    right: -35px
}

.article-list .owl-nav>div {
    font-size: 40px
}

#portfolios {
    padding-top: 0px
}

.portfolio-menu {
    text-align: center;
    position: relative;
}

.portfolio-menu button {
    border: 1px solid #fff;
    cursor: pointer;
    display: inline-block;
    margin: 0 5px;
    padding: 5px 15px;
    min-height: 44px;
    min-width: 44px;
    background: transparent;
    color: inherit;
    font: inherit;
}

.portfolio-menu:before {
    top: -50px
}

.portfolio-menu button.active {
    border-color: #DF451B;
    color: #DF451B;
}

.portfolio-menu ul {
    margin: 0 0 30px;
    padding: 0;
}

.single-portfolio {
    width: 25%
}


/* Common style */

.single-portfolio {
    position: relative;
    float: left;
    overflow: hidden;
    text-align: center;
}

.single-portfolio h2 span {
    font-weight: 200
}

.single-portfolio img {
    position: relative;
    display: block;
    opacity: 0.8;
    width: 100%;
    height: auto;
}

.single-portfolio figcaption {
    padding: 0 2em;
    color: #fff;
    text-transform: uppercase;
    font-size: 1.25em;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    
}

.single-portfolio figcaption::before,
.single-portfolio figcaption::after {
    pointer-events: none
}

.single-portfolio figcaption {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

figure.single-portfolio figcaption {
    top: auto;
    bottom: 0;
    padding: 1em;
    height: 70px;
    background: #fff;
    color: #3c4a50;
    transition: transform 0.35s;
    transform: translate3d(0, 100%, 0);
}

figure.single-portfolio h2 {
    float: left;
    margin: 0;
}

figure.single-portfolio p.icon-links a {
    color: #3c4a50;
    float: right;
    font-size: 20px;
    margin-left: 15px;
    margin-top: 2px;
}

figure.single-portfolio:hover p.icon-links a:hover,
figure.single-portfolio:hover p.icon-links a:focus {
    color: #DF451B;
    text-decoration: none;
}

figure.single-portfolio p.description {
    position: absolute;
    bottom: 8em;
    padding: 0 2em;
    color: #fff;
    text-transform: none;
    font-size: 90%;
    opacity: 0;
    transition: opacity 0.35s;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    
    /* Fix for Chrome 37.0.2062.120 (Mac) */
}

figure.single-portfolio h2,
figure.single-portfolio p.icon-links a {
    transition: transform 0.35s;
    transform: translate3d(0, 200%, 0);
}

figure.single-portfolio p.icon-links a span::before {
    display: inline-block;
    padding: 8px 10px;
    font-family: 'feathericons';
    speak-as: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

figure.single-portfolio h2 {
    display: inline-block
}

figure.single-portfolio:hover p.description {
    opacity: 1
}

figure.single-portfolio:hover figcaption,
figure.single-portfolio:hover h2,
figure.single-portfolio:hover p.icon-links a {
    transform: translate3d(0, 0, 0);
}

figure.single-portfolio:hover h2 {
    transition-delay: 0.05s;
}

figure.single-portfolio:hover p.icon-links a:nth-child(3) {
    transition-delay: 0.1s;
}

figure.single-portfolio:hover p.icon-links a:nth-child(2) {
    transition-delay: 0.15s;
}

figure.single-portfolio:hover p.icon-links a:first-child {
    transition-delay: 0.2s;
}

.icon-links {
    margin: 0
}

.section-dark {
    background: #212121;
    color: #fff;
}

.section-dark a {
    color: #fff
}

#testimonials {
    padding: 70px 0
}

.single-testimonial i {
    margin-bottom: 25px
}

.author-name {
    font-style: italic;
    margin-top: 20px;
}

.tc-control {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    outline: none;
}

.single-team {
    font-size: 15px
}

.single-team h2 {
    font-size: 16px;
    margin-bottom: 5px;
    margin-top: 50px;
    text-transform: uppercase;
}

#facts {
    position: relative;
    color: #fff;
}

.facts-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url(../img/facts-bg.webp) no-repeat fixed center center;
    background-size: cover;
}

.facts-bg:after {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: .7;
    content: "";
}

.facts-wrapper {
    padding: 40px 0;
    position: relative;
}

.facts-wrapper:before {
    top: inherit;
    bottom: -7px;
    z-index: 99;
}

.facts-wrapper::after {
    background: none repeat scroll 0 0 #fff;
    content: "";
    height: 100%;
    left: 0;
    opacity: 0.34;
    position: absolute;
    top: 0;
    width: 100%;
}

.single-fact {
    color: #eee;
    font-size: 24px;
    letter-spacing: 2px;
    margin: 30px 0;
    position: relative;
    z-index: 99;
}

.single-fact h2 {
    margin-bottom: 15px;
    padding-bottom: 20px;
    position: relative;
}

.single-fact h2::after {
    background: none repeat scroll 0 0 #4d4c4b;
    bottom: 0;
    content: "";
    height: 3px;
    left: 50%;
    margin-left: -37.5px;
    position: absolute;
    width: 75px;
}

.event-title {
    color: #555;
    font-size: 14px;
    margin-bottom: 40px;
    margin-top: 60px;
    text-align: center;
}

.event-title p {
    margin-bottom: 5px
}

.event-title h2 {
    color: #212121;
    font-size: 24px;
}

.event-content {
    padding: 0 50px;
    text-align: center;
}

.single-event {
    margin-bottom: 50px
}

#more-events {
    padding: 50px 0
}

.single-old-event {
    border-left: 5px solid #212121;
    color: #555555;
    font-size: 14px;
    margin-left: 30px;
    padding: 5px 0 5px 20px;
}

.single-old-event p {
    letter-spacing: 1px;
    margin: 0;
}

.single-old-event h2 {
    font-size: 18px;
    margin-bottom: 10px;
}

.single-old-event a {
    color: #212121
}

#footer {
    background: none repeat scroll 0 0 #212121;
    color: #999;
    font-size: 14px;
}

.footer-contact h2 {
    color: #eee;
    font-size: 22px;
    text-transform: uppercase;
}

.footer-ct-form input[type="text"],
.footer-ct-form input[type="email"],
.footer-ct-form textarea {
    background: none repeat scroll 0 0 #212121;
    border: medium none;
    color: #fff;
    padding: 5px 0;
    width: 100%;
    border-bottom: 1px solid #474747;
}

.footer-widget h2 {
    color: #ddd;
    font-size: 15px;
    text-transform: uppercase;
}

.footer-widget ul {
    list-style: outside none none;
    margin: 0;
    padding: 0;
    line-height: 25px;
}

.footer-widget a {
    color: #aaa;
    display: inline-block;
    padding: 8px 0;
}

.footer-widget a:hover,
#footer a:hover {
    text-decoration: none;
    color: #fff;
}

.footer-ct-form textarea {
    height: 100px
}

.footer-sep {
    background: none repeat scroll 0 0 #474747;
    height: 1px;
    margin: 20px 0;
    width: 100%;
}

.footer-ct-form input[type="submit"] {
    background: url(../img/send_sep.webp) no-repeat scroll right center;
    border: medium none;
    padding: 0 15px 0 0;
    text-transform: uppercase;
}

.footer-menu {
    text-align: right;
    margin-top: 15px;
}

.footer-menu ul {
    list-style: outside none none;
    margin: 0;
    padding: 0;
}

.footer-menu li {
    display: inline-block
}

.footer-menu a {
    color: #aaaaaa;
    padding-left: 20px;
    text-transform: uppercase;
}

a {
    color: #DF451B
}

.footer-copyright span.seprator,
.footer-copyright i.fa {
    display: inline-block;
    padding: 0 5px;
}

#tweet ul {
    list-style: outside none none;
    margin: 0;
    padding: 0;
}


/*css自加样式*/

.lang-switch { color: #df451b; display: inline-block; padding: 8px 12px; min-height: 44px; }
.lang-switch:hover { text-decoration: none; }

#success { font-size: 15px; }

/* ── Contact section ──────────────────────────────────── */
#contact {
    text-align: center;
    background: #FAFAFA;
    border-top: 1px solid #eee;
}

.contact-cards-row {
    margin-bottom: 40px;
}

.contact-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 30px 20px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    min-height: 44px;
}

.contact-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.contact-card-icon {
    color: #DF451B;
    margin-bottom: 16px;
}

.contact-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #212121;
    margin-bottom: 8px;
}

.contact-card-value {
    font-size: 15px;
    color: #555;
    margin: 0;
    word-break: break-all;
}

.contact-card-value a {
    color: #DF451B;
    text-decoration: none;
}

.contact-card-value a:hover {
    text-decoration: underline;
}

.contact-cta {
    padding-top: 20px;
}

.contact-cta-text {
    font-size: 16px;
    color: #666;
    margin-bottom: 24px;
}

.btn-contact {
    display: inline-block;
    color: #DF451B;
    border: 2px solid #DF451B;
    padding: 10px 32px;
    font-size: 16px;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    min-height: 44px;
    line-height: 24px;
}

.btn-contact:hover {
    background: #DF451B;
    color: #fff;
    text-decoration: none;
}

@media (max-width: 767px) {
    .contact-card {
        margin-bottom: 20px;
    }
}

.movie { font-size: 15px; color: white; line-height: 180%; text-indent: 20px; }
.movietitle { font-size: 25px; color: #c53000!important; }
.rate { font-size: 10px; }
#gov { text-align: center; font-size: 15px; }
.section-hint { font-size: 15px; text-align: center; font-weight: 800; }

#ba {
    display: inline-block;
    font-size: 30px;
    width: 60px;
    height: 60px;
    padding-top: 20px;
    padding-left: 20px;
}

#ba:hover {
    text-decoration: none!important;
}

#photo-bottom {
    background-color: #999;
    text-align: center;
    color: white;
}

#photo_bottom {
    background-color: rgb(33, 33, 33);
    text-align: center;
    color: white;
    padding-top: 30px;
    padding-bottom: 30px;
}

.modern-button {
    color: #df451b; /* Adjusted color based on your image (black text) */
    border: 2px solid #df451b; /* Thin border matching the image's thin edge */
    padding: 10px 28px; /* Adjusted padding for balance */
    font-size: 18px; /* Larger text to match the design */
    font-weight: normal; /* Keep normal weight if it's not bold */
    text-transform: none; /* No uppercase styling, as seen in the image */
    letter-spacing: 0px; /* Reset letter-spacing */
    cursor: pointer; /* Pointer cursor on hover */
    transition: transform 0.3s ease-in-out, background 0.3s ease-in-out, color 0.3s ease-in-out;
    background: transparent;
    min-height: 44px;
}

.modern-button:hover {
    transform: scale(1.05); /* Slight zoom on hover */

}

.modern-button:active {
    transform: scale(0.95); /* Scale down on click */
    background: #df451b; /* Darker color on active */
}





.description {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

/* ===== Semantic classes (replacing inline styles) ===== */

/* Text */
.text-no-shadow { text-shadow: none; }

/* Services section */
.services-section { padding-top: 20px; padding-bottom: 10px; }
.services-intro { margin-bottom: 15px; text-align: center; }
.service-card { text-align: center; }
.service-link { color: #c53000; }

/* Blog / Movie section */
.blog-section { background-color: transparent; padding: 50px 0; }
.section-title-main { font-size: 2.5rem; color: #333; }
.section-subtitle { font-weight: 300; color: #555; }

/* Movie card */
.movie-card {
    margin-bottom: 30px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.movie-card-link {
    font-size: 2.5rem;
    font-weight: bold;
    text-decoration: none;
}
.movie-card-desc { color: #555; line-height: 1.8; }
.movie-card-footer { display: flex; align-items: center; margin-top: 20px; color: #555; }
.movie-card img.movie-card-author {
    width: 65px;
    height: 96px;
    border-radius: 4px;
    margin-right: 15px;
    object-fit: cover;
}
.movie-card-meta { margin: 0; color: #555; }
.movie-card .movie-card-link { color: #007bff; }
.movie-card .movie-card-rating { color: #1e7e34; font-weight: bold; }
.movie-card-date { font-size: 0.9rem; color: #767676; }

/* Portfolio */
.portfolio-container { margin-top: 50px; }

/* ECharts map */
.echart-map-container { height: 700px; margin: 0 auto; }

/* Nav language switcher */
.lang-nav {
    border: 1px solid #212121 !important;
    border-radius: 4px;
    padding: 10px 14px !important;
    margin-left: 20px;
    transition: opacity 0.3s, color 0.3s, border-color 0.3s;
    line-height: inherit;
}
.lang-nav:hover {
    background: #DF451B !important;
    border-color: #DF451B !important;
    color: #fff !important;
}
.header.is-sticky .lang-nav {
    border-color: #fff !important;
}
.header.is-sticky .lang-nav:hover {
    border-color: #DF451B !important;
}

/* Slider */
#slider { position: relative; }
.slider-overlay { position: relative; z-index: 2; }

/* More button */
#mo { display: block; text-align: center; margin-top: 30px; margin-bottom: 30px; }
#mo:hover { text-decoration: none; }

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}