
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff;
    color: #131313; 
}

/* Header */
header {
    background: #d9212b;
    color: white;
    text-align: center;
    padding: 5rem; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 4rem;
    letter-spacing: 1.5px;
    margin-top: 3rem;
}

header p {
    font-size: 1.9rem;
    /* font-weight:600; */
    font-weight: bold;
}

/* Highlight active language button */
.active-lang {
    background-color: white;
    color: #d9212b;
    font-weight: bold;
    border: 2px solid #d9212b;
}


/* Style for the navigation container */
.language-options {
    position: absolute;
    top: 1rem;
    right: 1rem;
 }
 
 /* Base styling for language switch buttons */
 .lang-switch {
    /* background-color: #d9212b;  Red background matching the theme */
    background-color: rgba(255, 255, 255, 0.2);
    color: white;               /* White text */
    border: none;               /* Removes default button border */
    padding: 0.5rem 1rem;         /* Adds some padding */
    margin: 0 0.5rem;         /* Adds space between the buttons */
    font-size: 1rem;            /* Font size */
    text-decoration: none;
    cursor: pointer;            /* Changes the mouse to a pointer on hover */
    border-radius: 20px;         /* Adds rounded corners */
    transition: background-color 0.3s ease; /* Smooth transition on hover */
 }
 
 /* Hover effect */
 .lang-switch:hover {
    /* background-color: #b71c1c;  Darkens the button on hover */
    background-color: white;
    color: #d9212b;
 }
 
 /* Active button style */
 .lang-switch:focus {
    outline: none;               /* Removes default outline */
    box-shadow: 0 0 5px #555;    /* Adds a subtle shadow to indicate focus */
 }
 
 .custom-line-height {
    margin: 2.5rem; /* 设置段落之间的间距为1rem */
}



 .cta-btn {
    background-color: #d9212b;
    color: white;
    padding: 0rem 1rem;
    text-decoration: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
    display: inline-block;
    margin-left: 3pt;

}

.cta-btn:hover {
    background-color: white;
    color:#d9212b;
}

.custom-paragraph {
    margin-bottom: 2rem !important; /* 统一底部间距为2rem */
}


/* Main Content */
section {
    max-width: 1200px;
    margin: 5rem auto;
    padding-left: 3rem;
    padding-top: 0.5rem;
    padding-bottom: 5rem;
    padding-right: 2rem;
    background-color: #fafafa;
    border-radius: 12px;
    box-shadow: 0px 8px 16px rgba(217, 33, 43, 0.25);
}

h2 {
    font-size: 2rem;
    color: #d9212b;
    border-bottom: 2px solid #d9212b;
    padding-bottom: 0.5rem;
}

.section-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, #e4002b 0%, #ffffff 50%, #e4002b 100%); /* 装饰性的渐变线 */
    margin-bottom: 20px;
}


p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.highlight {
    font-weight: bold;
    color: #d9212b;
}

.de {
    margin-bottom: 1rem; /* 给 <p> 标签设置底部外边距 */
}

.de + ul {
    margin-top: 0; /* 确保 <ul> 上方没有额外的间距 */
}

.en {
    margin-bottom: 1rem; /* 给 <p> 标签设置底部外边距 */
}

.en + ul {
    margin-top: 0; /* 确保 <ul> 上方没有额外的间距 */
}

ul {
    list-style: none;
    padding-left: 1rem;
}

/* .center-list {
    padding-left: 23rem;
} */


ul li::before {
    content: '•';
    color:   #d9212b;
    font-weight: bold;
    font-size: 1rem; /* 调整大小 */
    display: inline-block;
    width: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

ul li {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: bold;
    color: #131313;
}

ul li:last-child {
    margin-bottom: 3rem; /* 增加下方的外边距 */
}


/* About Regina Section */
/* .about-regina {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.about-regina .personal-photo img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
} */


.about-regina {
    display: flex; /* 使用Flex布局 */
    /* 垂直方向居中对齐 */
    align-items: center; 
    justify-content:space-between; /* 左右均匀分布 */
    /* gap: 2rem;  */
    /* 图片和文字之间的间距 */
    /* margin-bottom: 3.5rem;
    margin-top:1rem; */
}


.personal-photo {
    /* margin-left: 2rem; */
    flex: 1; /* 图片部分占据空间 */
    max-width: 40%; /* 限制图片的最大宽度 */
    /* order: 2;  */
    /* 改变顺序，使图片出现在文字之后 */
    margin-top: 0.5rem;
    margin-bottom: 3rem;
}

.about-text {
    flex: 2; /* 文字部分占据空间 */
    margin-bottom: 3rem;
    /* order: 1;  */
    /* 保持文字在图片之前 */
}


.regina-photo {
    width: 100%; /* 图片填充容器 */
    /* 保持图片比例 */
    /* height: auto;  */
    height: 80%; 
}


/* Contact Section */


.contact {
    display: flex;
    align-items: flex-start; /* Align items to the top */
    gap: 20px; /* Space between contact info and map */

    background-color: #fafafa;
    padding-left: 2rem;
    border-left: 5px solid #d9212b;
    margin-top: 2rem;
}

.contact-info {
    flex: 1; /* Allow to take up remaining space */
}


.contact-info p {
    margin: 0.5rem 0;
}

.contact-info .social-media a {
    margin: 0 10px;
    font-size: 1.2rem;
    color: #d60000;
}

.contact-info .social-media a:hover {
    color: #333;
}

contact-info .map {
    margin-top: 30px;
    /* flex-basis: 400px;  */
    /* Fixed width for the map */
}


/* .contact-info a {
    color: #d9212b;
    text-decoration: none;
} */

/* .contact-info a:hover {
    text-decoration: underline;
} */

/* Mobile enhancements for better spacing */


/* Mobile (up to 576px) */
@media (max-width: 576px) {
    header {
        padding: 2rem;
    }

    header h1 {
        font-size: 1.5rem;
        margin-top: 1.5rem;
    }

    header p {
        font-size: 1rem;
    }

    .language-options {
        top: 0.5rem;
        right: 0.5rem;
    }

    .lang-switch {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
        margin: 0 0rem;
    }
    p {
        font-size: 0.8rem;
    }

    h2 {
        font-size: 1rem;
    }

    .cta-btn {
        font-size: 0.7rem;
        padding: 0rem 0.7rem;
        margin-top: 0.5rem;
        margin-left: 0rem;
    }

    .about-regina {
        flex-direction: column;
        align-items: center;
        text-align: start;
    }

    .personal-photo {
        max-width: 100%;
        margin-top: 0rem;
        margin-bottom: 0rem;
    }

    .about-text {
        margin-bottom: 2rem;
    }

    .custom-line-height {
        margin: 0rem; /* 设置段落之间的间距为1rem */
        margin-top: 1rem;
    }

    ul li {
        font-size: 0.8rem;
    }

    i {
        margin-left: 0rem;
        margin-right: 0rem;
    }   

    section {
        padding-top: 0rem;
        padding-bottom: 4rem;
        padding-left: 1rem;
        padding-right: 1rem;
        margin: 2rem auto;
    }

    .footer {
        flex-direction: column;
        text-align: center;
        gap: 0px; 
        /* Adds space between left and right sections */
    }

    footer {
        padding: 0rem;
    }
    
    footer p {
        margin: 0rem;
    }
    /* Ensure left and right sections are close together */
    .footer-left,
    .footer-right {
        display: flex;
        align-items: center;
        flex-direction: column; /* Stack items vertically */
        text-align: center;
    }
    
    .footer-left {
        margin-top: 0rem;
        padding-top: 0rem;
    }

    .footer-right {
        margin-top: 0rem;
        padding-top: 0rem;
    }
    
    .footer-left img {
        width: 100px; 
        height: 100px;
    } 
    /* Separator Line */
    .footer-separator {
        width: 95%;
        height: 1px; /* Thin line */
        background-color:#fafafa; /* White color */
    }
  
    


    /* Footer Bottom (Design and Copyright Info) */
    /* .footer-bottom {
        width: 100%;
        display: flex; */
        /* Aligns left and right text */
        /* justify-content: space-between; 
        align-items: center;
    } */
    
    .footer-bottom {
        flex-direction: column;
        /* gap: 1rem; */
        /* font-size: 0.5rem; */
    }

    .footer-bottom p {
        margin: 0rem;
    }

    .footer-bottom .left {
        font-size: 0.7rem;
        margin-top: 2rem;
        margin-bottom: 0rem;
        text-align: center;
    }
    .footer-bottom .right {
        font-size: 0.7rem;
        margin-top: 0rem;
        text-align: center;
    }
}

/* Tablets (577px - 768px) */
@media (min-width: 577px) and (max-width: 768px) {
    header {
        padding: 3rem;
    }

    header h1 {
        font-size: 3rem;
        margin-top: 2rem;
    }

    header p {
        font-size: 1.5rem;
    }

    .cta-btn {
        font-size: 1rem;
        padding: 0.4rem 0.9rem;
    }

    .about-regina {
        flex-direction: column;
        align-items: center;
    }

    .personal-photo {
        max-width: 70%;
        align-items: center;
    }

    section {
        padding: 2rem;
        margin: 3rem auto;
    }

    .footer {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-around;
    }
}

/* Small Desktops (769px - 992px) */
@media (min-width: 769px) and (max-width: 992px) {
    header {
        padding: 4rem;
    }

    header h1 {
        font-size: 3.5rem;
    }

    header p {
        font-size: 1.7rem;
    }

    .cta-btn {
        font-size: 1.1rem;
        padding: 0.5rem 1rem;
    }

    .about-regina {
        flex-direction: row;
        gap: 1.5rem;
    }

    .personal-photo {
        max-width: 50%;
    }

    section {
        padding: 2.5rem;
        margin: 3.5rem auto;
    }

    .footer {
        flex-direction: row;
        text-align: left;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* Larger Desktops (993px and above) */
@media (min-width: 993px) {
    header {
        padding: 5rem;
    }

    header h1 {
        font-size: 4rem;
        margin-top: 3rem;
    }

    header p {
        font-size: 1.9rem;
    }

    .cta-btn {
        font-size: 1.1rem;
        padding: 0rem 0.8rem;
    }

    .about-regina {
        flex-direction: row;
        gap: 2rem;
    }

    .personal-photo {
        max-width: 40%;
    }

    section {
        padding-top: 0.5rem;
        padding-bottom: 5rem;
        margin: 5rem auto;
    }

    .footer {
        flex-direction: row;
        text-align: left;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* @media (max-width: 768px) {
    .about-regina {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .about-regina .personal-photo img {
        max-width: 80%;
    }
    section {
        padding: 1rem;
    }
    ul {
        padding-left: 0;
    }
} */


.publication {
    margin-top: 2rem;
}

/* SWISS Universe publication link 样式 */
.publication-link {
    color: #d9212b; /* 红色，与联系信息一致 */
    font-weight: bold;
    text-decoration: none; /* 无下划线 */
}

.publication-link:hover {
    color: #9a1717; /* 悬停时稍微加深颜色 */
}

  /* Hover effect with zoom and shadow */
  /* 默认状态下的图片 */
  .hover-effect {
      transform: scale(1); /* 图片默认大小 */
      /* 默认较弱的阴影 */
      /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
      transition: transform 0.4s ease, box-shadow 0.4s ease; /* 平滑的过渡效果 */
  }
  
  /* 鼠标悬停时 */
  .hover-effect:hover {
      transform: scale(1.024); /* 放大到1.05倍 */
      /* box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); 更强的阴影效果 */
  }

  i {
    margin-right: 30px; /* 图标与文字之间的间距 */
    margin-left:10pt;
    /* color: white;  */
    color: #d9212b; 
    /* color: #007bff;  */
    /* 图标颜色 */
}

.linespace{
    padding-top: 1rem;
}

.section_space{
    padding-top:0.6rem;
}

.passage_space{
    padding-bottom: 2rem;
}
/* .site-footer {
    background: #d60000;
    color: white;
    padding: 20px;
    text-align: center;
}

.footer-nav{
    padding:0.2rem;
} */

/* .footer-content a {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.1rem 1rem;        
    transition: background-color 0.3s ease; 


    text-decoration: none;
    margin: 0px 10px;
    border-radius: 5px; 
    font-size: 1.1rem;
}

.footer-content a:hover {
    background-color: white;
    color: #d9212b;
} */

/* .footer {
    display: flex;
    justify-content:center; 
    padding-top: 1rem;
    background-color:#d9212b; 
    color: white;
}

.footer-right {
    display: flex;
    align-items: center;
    flex-direction: column; 
    padding-top:1.6rem;
}

.footer-right p {
    margin: 0;
    font-size: 1.3rem; 
}

.footer-left {
    display: flex;
    align-items: center;
    flex-direction: column; 
    padding-top:1rem;
}

.footer-left img {
    width: 100px; 
    height: 100px;
    margin-right: 2rem; 
} */



/* Footer */
footer {
    background-color: #d9212b;
    color: white;
    text-align: center;
    padding: 1rem;
    position: relative;
    bottom: 0;
    width: 100%;
}

.footer {
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Align items vertically */
    /* background-color:  #870b11;  */
    background-color:#d9212b; 
    color: #fff;
    position: relative;
    flex-wrap: wrap; /* Allows for responsive layout */
    gap: 20px; /* Adds space between left and right sections */
}

footer p {
    margin: 0rem;
}
/* Ensure left and right sections are close together */
.footer-left,
.footer-right {
    padding-top: 2rem;
    padding-bottom: 2rem;
    display: flex;
    align-items: center;
    flex-direction: column; /* Stack items vertically */
    text-align: center;
}

.footer-right {
    margin-top: 1rem;
    font-weight: bold;
    text-align: justify;
}

.footer-left img {
    width: 100px; 
    height: 100px;
} 
/* Separator Line */
.footer-separator {
    width: 95%;
    height: 3px; /* Thin line */
    background-color:#fafafa; /* White color */
}

/* Footer Bottom (Design and Copyright Info) */
.footer-bottom {
    width: 100%;
    display: flex;
    justify-content: space-between; /* Aligns left and right text */
    align-items: center;
    /* padding: 10px 0; */
    /* font-size: 20px; */
}

.footer-bottom p {
    font-size: 0.9rem;
    font-weight:bold;
    margin: 2rem;
}
.footer-bottom .left {
    text-align: left;
}

.footer-bottom .right {
    text-align: right;
}
