a,header p {
    text-decoration:none
}
body,h2,nav ul {
    margin:0
}
header p,nav ul li a {
    font-size:30px
}
footer,footer p,header,nav ul {
    padding:0px
}
body,html {
    height:100%;
    margin:0;
    overflow-x: hidden;  /* 禁止横向滚动 */
    position: relative;  /* 防止定位元素超出视口 */
    box-sizing: border-box; /* 确保边距和内边距不会导致元素溢出 */
}
body {
    font-family:Arial,sans-serif;
    background-color: #71c4ef;
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    background-attachment:fixed;
    display:flex;
    flex-direction:column;
    min-height:100vh
}
/* 检查是否支持 WebP 格式的背景图 */
/*@supports (background-image: url('../img-webp/SAThunee-bg.webp')) {
    body {
        background-image: url('../img-webp/SAThunee-bg.webp');
    }
}*/
.floating-box {
    position:fixed;
    top:80%;
    right:2%;
    background-color:#437dfc;
    border-radius:8px;
    box-shadow:0 4px 20px rgba(0,0,0,.2);
    padding:15px;
    z-index:1000;
    display:none;
    animation:.3s fadeIn;
    cursor:move;
    width:200px;
    height:auto
}
.carousel,header {
    position:relative
}
.carousel-control,.close-btn {
    cursor:pointer;
    font-size:20px
}
.container,header {
    width:100%;
    display:flex;
    align-items:center
}
.close-btn {
    color:red;
    float:right
}
a,footer,header p,nav ul li a,p {
    color:#fff
}
h2 {
    color:#333
}
a {
    font-weight:700
}
a:hover {
    text-decoration:underline
}
@keyframes fadeIn {
    from {
    opacity:0
}
to {
    opacity:1
}
}.container {
    margin:0 auto;
    justify-content:space-between;
    gap:50px;
    flex:1;
/*    padding:0 10px*/
}

.home-icon,nav img {
    width:auto;
    height:auto
}
header p {
    padding:10px;
    line-height:1;
    border-radius:5px;
    transition:background-color .3s
}
nav img {
    max-height:100px
}
header {
    background: #2E86C1;
    color: #2E86C1;
    height: 100px;
}
.home-icon {
    display:block;
    max-height:80px
}
nav {
    margin-left:auto
}
nav ul {
    list-style:none;
    display:flex;
    align-items:center;
    gap:10px
}
nav ul li {
    margin-left:10px
}
.left-container,.right-container {
    flex:1;
    display:flex;
    justify-content:center;
    align-items:center
}
.carousel {
    width:100%;
    max-width:100%;
    overflow:hidden;
    position: relative;
}
.carousel-pic{
    display:flex;
    width: 100%;
}
.carousel-images {
    display:flex;
    width: 400%;
    transition: transform .5s ease-in-out;
}
.carousel-images img {
    width:100%;
    height:auto;
    display:block;
    border-radius:20px
}
.carousel-control {
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    background-color:rgba(0,0,0,.5);
    color:#fff;
    border:none;
    padding:10px
}
.carousel-control.prev {
    left:10px
}
.carousel-control.next {
    right:10px
}
.right-container {
    display:flex;
    flex-direction:column;
    align-items:center;
/*    position:relative*/
}
.center-image {
    width:40%;
    margin-top:-60px;
    max-width:50%;
    height:auto
}
.brand-logos {
    display:grid;
    grid-template-columns:repeat(1,auto);
    grid-template-rows: repeat(3, auto);
    gap:10px;
    margin-top:10px;
    justify-content:center
}
.item-large {
    width:30%;
    margin-top:0px;
    max-width:50%;
    height:auto;
    grid-column: span 2;
    justify-self: center;
}
.text-on-blue {
    color: #1a1a1a;
    font-size: 18px;
    line-height: 1.6;
    padding: 16px;
    font-family: 'Segoe UI', sans-serif;
    text-align: left;
    grid-column: span 2;
}

.brand-logo {
    width:50%;
    height:auto;
    object-fit:contain;
    grid-column: span 2;
    justify-self: center;
}
footer {
    background:#333;
    width:100%;
    text-align:center
}
.footer-container {
    text-align: center;
    padding: 20px;
    background-color: #222;
    color: #fff;
    font-size: 14px;
}
footer p {
    margin:0 0 5px
}
footer p:last-child {
    margin-bottom:0
}
@media (max-width:768px) {
    body {
/*    padding:10px*/
}
.container,header {
    display:flex;
    padding:0
}
.container {
    width:100%;
    align-items:center;
    justify-content:flex-start
}
nav {
    margin-left:auto
}
nav img {
    max-height:70px;
    height:auto;
    width:auto;
    padding:0 10px
}
.home-icon {
    max-height:70px;
    align-self:flex-start
}
header {
    flex-wrap:nowrap;
    height:auto;
    justify-content:left
}
header p {
    display:none
}
.container.main-content {
    width:100%;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    justify-content:flex-start;
    margin:0;
    padding:0
}
.container {
/*    flex-direction:row;*/
    align-items:center;
    justify-content:flex-start;
    gap:2px
}
.carousel-slide {
    min-width: 100%;
    max-width: 100%;
}
.left-container {
    width:100%;
    padding:10px 0 0;
    margin:0;
    height:auto;
    min-height:0;
    flex:none!important;
    display:block
}
.left-image,.left-image img {
    width:100%;
    height:auto;
    margin:0;
    padding:0;
    display:block
}
.right-container {
    width:100%;
    align-items:flex-start;
/*    flex:none*/
flex-grow: 0
}
.center-image {
    margin-top:0;
    max-width:100%;
    padding:0;
    height:auto;
/*    display:block*/
}

.brand-logo {
    width:100%;
    height:auto
}
.footer-container {
    flex-direction:column;
    gap:10px
}
}