*{
    margin: 0;
    padding: 0;
}
html {
    scroll-padding-top: 220px;
    width: 100%;
}
body {
    font-size: 14px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-smoothing: antialiased;
    width: 100%;
    overflow-x: hidden;
}

a,a:visited,a:active {
    text-decoration: none !important;
    outline: none;-moz-outline-style: none;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
@media all and (max-width: 767px){
    body{font-size:1rem;}
}
img {
    user-select: none;
    pointer-events: none;
}
h1,h2,.head h1,.head h2,.head h3{
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-weight: 600;
}
/* Header */
.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.92), transparent);
    padding: 18px 0 20px 0;
}
.header-overlay.scrolled {
    position: sticky;
    background: #fff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.header-overlay .logo img{
    height: 42px;
    width: auto;
}
.navbar-dark .navbar-nav{
    gap: 20px;
}
.navbar-dark .navbar-nav .nav-link {
    color: #fff;
    font-weight: 500;
    padding: 8px 16px;
}
.navbar-dark .navbar-nav .nav-link:hover {
    color: #ff9800;
}
.header-overlay.scrolled .navbar-nav .nav-link{
    color: #333 !important;
}
    /* 悬浮下拉 + 动画 */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu {
    background-color: #111 !important;
    border: none;
    border-radius: 0;
    margin-top: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
}
.dropdown-item {
    color: #fff !important;
    padding: 15px 20px;
    margin: 10px 0;
}
.dropdown-item:hover {
    background-color: #ff9800 !important;
    color: #fff;
}
.btn-quote {
    position: relative;
    overflow: hidden;
    background: #ff9800;
    color: #fff !important;
    border: none;
    border-radius: 50px;
    padding: 8px 16px; /* 缩小高度 */
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-width: 160px;
    transition: color 0.3s ease;
    z-index: 1;
    cursor: pointer;
}
.btn-quote:hover{
    color: #fff !important;
}
.btn-quote::before {
    content: '';
    color: #fff;
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #000;
    transition: left 0.3s ease;
    z-index: -1;
}
.btn-quote:hover::before {
    left: 0;
}
.arrow-circle {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.arrow-circle svg {
    width: 14px;
    height: 14px;
    stroke: #ff9800;
    transition: transform 0.3s ease;
}
.btn-quote:hover .arrow-circle svg {
    transform: rotate(45deg);
}
/*footer style*/
.csg-footer {
    background-color: #0a1629;
    color: #fff;
    padding: 60px 0 30px;
    margin-top: 50px;
    font-size: 15px;
    font-family: system-ui, -apple-system, sans-serif;
    /* 底部淡入动画 */
    animation: csgFooterFade 0.8s ease-out forwards;
}

@keyframes csgFooterFade {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.csg-footer .footer-logo {
    font-size: 60px;
    font-weight: bold;
    color: #ff8c28;
    line-height: 1;
    margin-bottom: 20px;
    opacity: 0;
    animation: csgLogoAnim 1s ease 0.2s forwards;
}
.csg-footer .footer-logo img{
    height: 42px;
    width: auto;
}

@keyframes csgLogoAnim {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.csg-footer p {
    color: #ddd;
    line-height: 1.7;
    max-width: 500px;
    opacity: 0;
    animation: csgTextAnim 1s ease 0.4s forwards;
}

.csg-footer h5 {
    font-size: 22px;
    margin-bottom: 25px;
    color: #fff;
    opacity: 0;
    animation: csgTextAnim 1s ease 0.5s forwards;
}

.csg-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.csg-footer ul li {
    margin-bottom: 15px;
    opacity: 0;
    animation: csgTextAnim 1s ease forwards;
}

.csg-footer ul li:nth-child(1) { animation-delay: 0.6s; }
.csg-footer ul li:nth-child(2) { animation-delay: 0.7s; }
.csg-footer ul li:nth-child(3) { animation-delay: 0.8s; }
.csg-footer ul li:nth-child(4) { animation-delay: 0.9s; }
.csg-footer ul li:nth-child(5) { animation-delay: 1s; }
.csg-footer ul li:nth-child(6) { animation-delay: 1.2s; }

@keyframes csgTextAnim {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.csg-footer ul li a {
    color: #ddd;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

/* 链接hover微弱上浮+变色 */
.csg-footer ul li a:hover {
    color: #ff8c28;
    transform: translateX(4px);
}

/* 联系项样式 */
.csg-footer .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: #ddd;
    opacity: 0;
    animation: csgTextAnim 1s ease forwards;
}

.csg-footer .contact-item:nth-of-type(1) { animation-delay: 0.6s; }
.csg-footer .contact-item:nth-of-type(2) { animation-delay: 0.7s; }
.csg-footer .contact-item:nth-of-type(3) { animation-delay: 0.8s; }
.csg-footer .contact-item:nth-of-type(4) { animation-delay: 0.9s; }

.csg-footer .contact-item svg {
    width: 20px;
    height: 20px;
    fill: #ff8c28;
    flex-shrink: 0;
    margin-top: 3px;
    transition: transform 0.3s ease;
}

/* 图标hover微动 */
.csg-footer .contact-item:hover svg {
    transform: scale(1.1);
}

/* 底部区域 */
.csg-footer .csg-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    margin-top: 50px;
    padding-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    opacity: 0;
    animation: csgTextAnim 1s ease 1.1s forwards;
}

/* 社交图标 */
.csg-footer .social-icons a {
    color: #fff;
    font-size: 22px;
    margin-right: 18px;
    transition: all 0.3s ease;
    display: inline-block;
}

.csg-footer .social-icons a:hover {
    color: #ff8c28;
    transform: translateY(-3px);
}

.csg-footer .copyright {
    color: #bbb;
}

/* 响应式 */
@media (max-width: 768px) {
    .csg-footer {
        text-align: center;
    }
    .csg-footer .footer-logo {
        margin: 0 auto 20px;
    }
    .csg-footer .csg-footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
    .csg-footer .contact-item {
        justify-content: center;
    }
}
/*footer style end*/

