*{
    font-family: "Microsoft YaHei";
}

.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);

}
.logo{
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand{
    display: flex;
    flex-direction: column;
    color: #8b7fb8;
    font-weight: 700;
    line-height: 0;
}

.brand .en{
    font-size: 18px;
    letter-spacing: 0.5px;
}

.brand .ch{
    font-size: 17px;
}

.link{
    display: flex;
    align-items: center;
    gap: 40px;
}

.link a{
    text-decoration: none;
    color: #5b4896;
    font-size: 16px;
    font-weight: 700;
    padding: 8px 12px;
    border-bottom: 2.5px solid transparent;
    transition: all 0.2s ease;
}

.link a:hover{
    color: #8b7fb8;
}

.link a.active{
    color: #8b7fb8;
    border-bottom: 2.5px solid #ff94a8;
}

.action{
    display: flex;
    align-items: center;
    gap: 24px;
}

.lang-switch{
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: #8b7fb8;
    gap: 10px;
}

.lang-switch a{
    text-decoration: none;
    color:#8b7fb8;
    transition: opacity 0.2s;
}

.lang-switch a:hover{
    opacity: 0.75;
}

.lang-switch p{
    margin:0 6px;
    color:#8b7fb8;
}

.donatebtn{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #FF98AE;
    color:#ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    padding: 11px 28px;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(255,153,171,0.45);
    transition: background-color 0.2s, transform 0.2s;
}

.donatebtn:hover{
    background-color: #FF98AE;
    transform: translate(-1px);
}

.donatebtn svg{
    width: 18px;
    height: 18px;
    stroke: #ffffff;
    fill: none;
    stroke-width: 2.2;
}

.secondrow{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.box{
    background-color: #f3f0ff;
    border: 1.5px solid #d8ccff;
    border-radius: 12px;
    padding: 28px 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(139, 127, 184, 0.08);
    transition: transform 0.2s ease;
}

.icon-circle{
    width: 52px;
    height: 52px;
    background-color: #d6ccff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 16px;
    color: #6b4fa1;
}

.icon-circle img{
    width: 44px;
    height: 30px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.stat-title{
    font-size: 24px;
    font-weight: 700;
    color: #5b3e96;
    margin-bottom: 8px;
}

.stat-small{
    font-size: 15px;
    font-weight: 500;
    color: #6b4fa1;
    line-height: 1.4;
}

.hero-slider {
    width: 100%;
    height: 500px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.slider-container {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease-in-out;
}

.slide {
    flex: 0 0 100%;
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: stretch;
    box-sizing: border-box;
}

.slide-image {
    width: 73%;
    height: 100%;
    overflow: hidden;
    flex-shrink: 0;
    box-sizing: border-box;
}

.slide-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.slide-content {
    width: 27%;
    height: 100%;
    padding: 25px 28px;
    box-sizing: border-box;
    background: #e5ddff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 6px;
    overflow: hidden;
}

.slide-content h2 {
    font-size: 28px;
    color: #693b9c;
    margin: 0;
}

.slide-content h1{
    font-size: 42px;
    line-height: 1.15;
    color: #633698;
    margin: 0;
}

.slide-content h3{
    font-size: 15px;
    color:#633698;
    margin:0;
}
.slide-content p{
    font-size: 19px;
    color:#633698;
    line-height:1.4;
    margin: 4px 0;
}

.learn-more{
    display:block;
    width:100%;
    box-sizing: border-box;
    background: #FF98AE;
    color: white;
    text-decoration: none;
    text-align: center;
    padding:16px 12px;
    border-radius:40px;
    font-size:18px;
    margin-top:14px;
}

.prev, .next {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #777;
    font-size: 60px;
    cursor: pointer;
    z-index: 5;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.prev{
    left:30px;
}

.next{
    right:30px;
}

.hero-slider:hover .prev,
.hero-slider:hover .next {
    opacity: 1;
    visibility: visible;
}

.prev:hover, .next:hover {
    color: #FF98AE;
    background: transparent;
}



.footer{
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    row-gap: 20px;
    padding: 20px 40px;
    font-size: 25px;
    color: #8b7fb8;
}

.footer-left{
    display: inline;
    align-items: center;
    gap: 16px;
}

.footer-links{
    display: flex;
    flex-direction: column;
    align-items: left;
    gap: 8px;
}

.footer-right{
    justify-self: end;
    text-align: left;
    align-items: center;
}

.socialMedia{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

.footer hr,
.footer-bottom{
    grid-column: 1 / -1;
    width: 100%;
}

.footer-bottom{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#copyright{
    margin: 0;
}
