 /* 重置所有元素的默认样式 */
 * {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
   -webkit-tap-highlight-color: transparent;
 }

 .container {
   max-width: 1440px;
   margin: 0 auto;
 }

 @font-face {
   font-family: 'CustomFont';
   src: url('') format('opentype');
   font-weight: normal;
   font-style: normal;
 }

 /* 设置根元素字体大小，方便使用 rem 单位 */
 html {
   font-size: 16px;
   -webkit-text-size-adjust: 100%;
   -ms-text-size-adjust: 100%;
 }

 /* 设置基础字体 */
 body {
   font-family: 'CustomFont', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
   line-height: 1.5;
   color: #333;
   background-color: #fff;
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
 }

 /* 阿里字体图标设置 */
 .icon,
 .iconfont {
   font-family: "iconfont" !important;
   font-size: 16px;
   font-style: normal;
   -webkit-font-smoothing: antialiased;
   -webkit-text-stroke-width: 0.2px;
   -moz-osx-font-smoothing: grayscale;
 }

 /* 移除列表样式 */
 ul,
 ol {
   list-style: none;
 }

 /* 移除链接默认样式 */
 a {
   text-decoration: none;
   color: inherit;
   background-color: transparent;
 }

 /* 移除图片默认间距和边框 */
 img {
   max-width: 100%;
   height: auto;
   border-style: none;
   vertical-align: middle;
 }

 /* 移除按钮默认样式 */
 button {
   border: none;
   background: none;
   cursor: pointer;
   font: inherit;
   color: inherit;
   outline: none;
 }

 /* 移除输入框默认样式 */
 input,
 textarea,
 select {
   font: inherit;
   color: inherit;
   outline: none;
   border: none;
   background: none;
 }

 /* 移除表格默认样式 */
 table {
   border-collapse: collapse;
   border-spacing: 0;
 }

 /* 移除引用默认样式 */
 blockquote,
 q {
   quotes: none;
 }

 /* 移除标题默认样式 */
 h1,
 h2,
 h3,
 h4,
 h5,
 h6 {
   font-size: inherit;
   font-weight: normal;
 }

 /* 移除段落默认样式 */
 p {
   margin: 0;
 }

 /* 移除表单元素默认样式 */
 fieldset {
   border: none;
   margin: 0;
   padding: 0;
 }

 /* 移除文本域默认样式 */
 textarea {
   resize: none;
 }

 /* 移除滚动条默认样式 */
 ::-webkit-scrollbar {
   width: 6px;
   height: 6px;
 }

 ::-webkit-scrollbar-track {
   background: #f1f1f1;
   border-radius: 3px;
 }

 ::-webkit-scrollbar-thumb {
   background: #888;
   border-radius: 3px;
 }

 ::-webkit-scrollbar-thumb:hover {
   background: #555;
 }

 /* 移除文本选择默认样式 */
 ::selection {
   background: #b3d4fc;
   text-shadow: none;
 }

 /* 移除输入框自动填充背景色 */
 input:-webkit-autofill,
 input:-webkit-autofill:hover,
 input:-webkit-autofill:focus,
 input:-webkit-autofill:active {
   -webkit-box-shadow: 0 0 0 30px white inset !important;
   transition: background-color 5000s ease-in-out 0s;
 }

 /* 移除移动端点击高亮 */
 * {
   -webkit-tap-highlight-color: transparent;
 }

 /* 设置默认过渡效果 */
 .fade-enter-active,
 .fade-leave-active {
   transition: opacity 0.3s ease;
 }

 .fade-enter,
 .fade-leave-to {
   opacity: 0;
 }

 /* 设置默认动画效果 */
 @keyframes fadeIn {
   from {
     opacity: 0;
   }

   to {
     opacity: 1;
   }
 }

 @keyframes slideIn {
   from {
     transform: translateY(20px);
     opacity: 0;
   }

   to {
     transform: translateY(0);
     opacity: 1;
   }
 }

 /* 设置默认阴影效果 */
 .shadow-sm {
   box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
 }

 .shadow {
   box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
 }

 .shadow-md {
   box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
 }

 .shadow-lg {
   box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
 }

 /* 设置默认圆角效果 */
 .rounded-sm {
   border-radius: 0.125rem;
 }

 .rounded {
   border-radius: 0.25rem;
 }

 .rounded-md {
   border-radius: 0.375rem;
 }

 .rounded-lg {
   border-radius: 0.5rem;
 }

 .rounded-full {
   border-radius: 9999px;
 }

 /* 设置默认间距类 */
 .m-0 {
   margin: 0;
 }

 .m-1 {
   margin: 0.25rem;
 }

 .m-2 {
   margin: 0.5rem;
 }

 .m-3 {
   margin: 0.75rem;
 }

 .m-4 {
   margin: 1rem;
 }

 .p-0 {
   padding: 0;
 }

 .p-1 {
   padding: 0.25rem;
 }

 .p-2 {
   padding: 0.5rem;
 }

 .p-3 {
   padding: 0.75rem;
 }

 .p-4 {
   padding: 1rem;
 }

 /* 设置默认文本对齐类 */
 .text-left {
   text-align: left;
 }

 .text-center {
   text-align: center;
 }

 .text-right {
   text-align: right;
 }

 /* 设置默认显示类 */
 .hidden {
   display: none;
 }

 .block {
   display: block;
 }

 .inline-block {
   display: inline-block;
 }

 .flex {
   display: flex;
   align-items: center;
   justify-content: flex-start;
 }

 .inline-flex {
   display: inline-flex;
 }

 /* 设置默认弹性布局类 */
 .flex-row {
   flex-direction: row;
 }

 .flex-col {
   flex-direction: column;
 }

 .items-center {
   align-items: center;
 }

 .justify-center {
   justify-content: center;
 }

 .justify-between {
   display: flex;
   justify-content: space-between;
 }

 .flex-wrap {
   flex-wrap: wrap;
 }

 .flex-1 {
   flex: 1;
 }

 /* 设置默认定位类 */
 .relative {
   position: relative;
 }

 .absolute {
   position: absolute;
 }

 .fixed {
  display: flex;
    flex-wrap: nowrap;
    align-items: center;
 }

 .sticky {
   position: sticky;
 }

 /* 设置默认溢出处理类 */
 .overflow-hidden {
   overflow: hidden;
 }

 .overflow-auto {
   overflow: auto;
 }

 .overflow-scroll {
   overflow: scroll;
 }

 /* 设置默认文本截断类 */
 .truncate {
   overflow: hidden;
   text-overflow: ellipsis;
   white-space: nowrap;
 }

 /* 设置默认过渡类 */
 .transition {
   transition-property: all;
   transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
   transition-duration: 150ms;
 }

 /* 设置默认变换类 */
 .transform {
   transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
 }

 .scale-90 {
   transform: scale(.9);
 }

 .scale-100 {
   transform: scale(1);
 }

 .scale-110 {
   transform: scale(1.1);
 }



 /* 头部样式 */
 header {
   height: 80px;
   display: flex;
   align-items: center;
   justify-content: space-between;
   background-color: #0a344e;
   color: white;
   text-align: center;
 }

 header .logo {
   width: 200px;
   padding-top: 0;
   margin-left: 2.24rem;
 }

 header nav {
   display: flex;
   align-items: center;
   padding-right: 1.06rem;
 }

 header a {
   margin: 0 0.8rem;
   font-family: 'CustomFont';
   font-size: 14px;
   font-weight: normal;
   letter-spacing: 0px;
   color: #b5a294;
 }

 header .home-icon {
   width: 40px;
   height: 40px;
   object-fit: contain;
 }

 header .break-text {
   display: flex;
   flex-direction: column;
 }

 /* Banner手风琴效果 */
 .banner {
   width: 100%;
   height: 657px;
   padding: 30px 20px;
   position: relative;
   background: linear-gradient(to bottom, #244e68, #b8a091);
 }

 .accordion {
   display: flex;
   align-items: center;
   width: 100%;
   height: 100%;
 }

 .accordion-item {
   flex: 1;
   height: 80%;
   transition: all 0.5s ease;
   overflow: hidden;
   position: relative;
   transform-origin: center bottom;
   box-shadow: 0 6px 8px rgba(0, 0, 0, 0.8);
 }

 .accordion-item:nth-child(1),
 .accordion-item:nth-child(5) {
   height: 80%;
 }

 .accordion-item:nth-child(2),
 .accordion-item:nth-child(4) {
   height: 90%;
 }

 .accordion-item:nth-child(3) {
   flex: 3;
   height: 100%;
   z-index: 6;
   border-radius: 20px;
 }

 /* 左侧第二张图片 */
 .accordion-item:nth-child(1) {
   border-radius: 20px 0px 0px 20px;
   z-index: 1;
 }

 /* 最左侧图片 */
 .accordion-item:nth-child(2) {
   border-radius: 20px 0px 0px 20px;
   z-index: 2;
 }

 /* 右侧第二张图片 */
 .accordion-item:nth-child(4) {
   border-radius: 0 20px 20px 0;
   z-index: 2;
 }

 /* 最右侧图片 */
 .accordion-item:nth-child(5) {
   border-radius: 0 20px 20px 0;
   z-index: 1;
 }

 .accordion-item:hover {
   flex: 3;
   height: 100% !important;
   z-index: 100;
   border-radius: 20px;
 }

 .accordion:hover .accordion-item:not(:hover) {
   height: 70%;
   flex: 1;
   border-radius: 0%;
 }

 .accordion-item img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   transition: all 0.5s ease;
 }

 .accordion-item:hover img {
   transform: scale(1.1);
 }

 /* 响应式设计 */


 /* 移动设备 */
 @media (max-width: 768px) {
   header .logo {
     width: 160px;
   }

   header .home-icon {
     width: 30px;
     height: 30px;
   }

   header a {
     font-size: 14px;
   }

 }

 /* 页脚样式 */
 footer {
   background-color: #08314b;
   text-align: center;
   padding: 2rem;
   font-family: SourceHanSerifCN-Light;
   font-size: 19px;
   letter-spacing: 0px;
   color: #ddded8;
   clear: both; /* 清除浮动，确保页脚位于内容下方 */
    position: relative; /* 设置相对定位 */
    bottom: 0; /* 确保页脚位于底部 */
    width: 100%;
 }

 @media (max-width: 768px) {
   header .logo {
    width: 120px; /* 缩小 logo 宽度 */
        margin-left: 1rem; /* 调整 logo 左边距 */
   }

    header nav {
        padding-right: 0.5rem; /* 减少导航栏右边距 */
    }

   header .home-icon {
     width: 25px;
     height: 25px;
   }

    header a {
        margin: 0 0.4rem; /* 缩小导航链接间距 */
        font-size: 12px; /* 减小导航链接字体大小 */
    }

   .banner {
        height: 250px; /* 进一步缩小 banner 高度 */
        padding: 15px 10px; /* 减少 banner 内边距 */
    }

   .accordion-item {
     flex: 0.3;
   }

   .accordion-item:nth-child(1),
   .accordion-item:nth-child(5) {
     height: 79%;
   }

   .accordion-item:nth-child(2),
   .accordion-item:nth-child(4) {
     height: 80%;
   }

   .accordion-item:hover {
     flex: 1.5;
   }

   .accordion:hover .accordion-item:not(:hover) {
     height: 60%;
   }

   footer {
     font-size: 12px;
      padding: 1rem; /* 减少页脚内边距 */
   }
 }