
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700;900&display=swap');

img[data-src] {
    opacity: 0;
    transition: opacity 0.3s;
}
:root {
    --dark-blue: #1c1d1e;
    --gold: #a79065;
    --red: #c8102e;
    --white: #ffffff;
    --black: #121212;
    --gold-light: #ebe5c3;
    --card-bg: #1E1E1E;
    --text-light: #F5F5F5;
    --text-gray: #B0B0B0;
    --orange:rgb(246, 161, 3);
}

img {
  image-rendering: smooth;  
  image-rendering: auto;       
  -ms-interpolation-mode: bicubic; 
}

/* Ensure these elements are hidden by default */
#loadingSpinner,
#successModal {
    display: none;
}

/* Fix for mobile viewport overflow */
html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}
html {
  scroll-padding-top: 120px; /* navbar + loopbar 的总高度 */
}

body {
    margin: 0; 
    padding: 0; 
    font-family: 'Montserrat', sans-serif;
    background-color: var(--black);
    color: var(--white);
    overflow-x: hidden;
    background-image: url('../images/render.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
     background-attachment: fixed;
    background-attachment: cover;
     
}
/* Ensure header takes full width and positions content */
header {
    
    background: linear-gradient(135deg, var(--black), var(--black) 100%);
    padding: 20px 0;
    top: 0;
    z-index: 999;
    overflow: hidden;
    border-bottom: 1px solid rgba(201, 166, 104, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.fade {
    opacity: 0;
    transform: translateY(-30px); /* Start from above */
    animation: fadeInDown 1s ease-out forwards;
    animation-delay: 0.3s;
}

@keyframes fadeInDown {
    to {
        opacity: 1;
        transform: translateY(0); /* End at normal position */
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

.header-logo {
    text-align: center;
    display: block;
    width: 100%;
    font-size: 2rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 20px;
}

a {
    text-decoration: none;
}

.header-logo span {
    color: var(--gold);
}

.header-logo img {
    width: 30%;
    height: auto;
    max-width: 400px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #121212;
}

/* ===== Navbar 样式 ===== */
.navbar { display: flex; justify-content: center; align-items: center; background-color: #121212; padding: 15px 0; width: 100%; color: #fff; font-size: 18px; font-weight: bold; }
.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    justify-content: center; 
    width: 100%; 
    margin: 0; 
    padding: 0; 
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 3px;
}

.nav-links a:hover {
    color: var(--gold);
    background-color: rgba(201, 166, 104, 0.1);
}

.nav-links a.active {
    color: var(--gold);
    border-bottom: 2px solid var(--gold);
}

.loop-bar {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    background: rgb(235, 160, 20);
    color: #fff;
    overflow: hidden;
    padding: 8px 0;
    font-size: 16px;
    font-weight: 600;
    z-index: 1000;
    top: 0; /* 初始值，JS 会覆盖 */
}


/* 响应式调整 */
@media (max-width: 1024px) {
    .loop-bar {
        top: 160px; /* 平板设备 */
    }
}

@media (max-width: 767px) {
    .loop-bar {
        top: 140px; /* 手机设备 */
        padding: 6px 0;
        font-size: 14px;
        z-index: 998; /* 确保在 navbar 下方 */
    }
    
    /* 调整 loopbar 内容间距 */
    .loop-track span {
        margin-right: 50px; /* 移动设备减少间距 */
    }
}

/* 确保 html 的 scroll-padding 也响应式调整 */
@media (max-width: 767px) {
    html {
        scroll-padding-top: 150px; /* navbar + loopbar 移动端总高度 */
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    html {
        scroll-padding-top: 170px; /* 平板设备总高度 */
    }
}
#about {
    position: relative;
    overflow: hidden;
    /* 添加原来content-wrapper的样式 */
}

.loop-track {
  display: inline-flex; /* inline-flex 比 flex 更稳 */
  white-space: nowrap;
  will-change: transform;
}

.loop-track span {
  margin-right: 100px; /* 控制两段文字间距 */
}
.cta-button {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 14px 30px;
    border-radius: 5px;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
    margin-top: 1rem;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.cta-button:hover::before {
    left: 100%;
}

.metallic-text {
    font-weight: 900;
    color: #999;
    background: linear-gradient(
        45deg,
        #999 5%,
        #fff 10%,
        #ccc 30%,
        #ddd 50%,
        #ccc 70%,
        #fff 80%,
        #999 95%
    );
    background-size: 200% 200%;
    background-position: 0% 50%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow:
        1px 1px 2px rgba(255, 255, 255, 0.5),
        0 0 10px rgba(0, 0, 0, 0.2);
    animation: metallic-shine 4s linear infinite;
}

@keyframes metallic-shine {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

.hero-slider {
    margin-bottom: -80px;
    height: 600px;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-top: 180px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide .container {
    height: 100%;
    display: flex;
    /* Use flexbox properties to center the content */
    align-items: center; /* Centers vertically */
    justify-content: center; /* Centers horizontally */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
}

h1 span {
    color: var(--gold);
    display: block;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 600px;
}

.btn {
    display: inline-block;
    background-color: var(--red);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.second-slide .ship-slide {
    position: relative;
    z-index: 3;
    max-width: 1200px; /* 根据需要调整宽度 */
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;            /* 新增 */
    justify-content: flex-end; /* 文字靠右 */
    text-align: right;        /* 文字右对齐 */
}

.second-slide .background-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0; 
    bottom: 0;
    width: 100%;
    height: 100vh; /* 修改为 100vh 沾满整个 viewport */
    background-image: url('../images/ship.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.second-slide .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6); /* Black with 40% opacity */
    z-index: 2; /* Above image but below text */
}

.second-slide .ship-slide {
    position: relative;
    z-index: 3; /* Above overlay */
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.second-slide .ship-description h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.second-slide .ship-description p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.second-slide .cta-button:hover {
    background-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Hero Slider Buttons */
.hero-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 2rem;
    z-index: 3;
    transition: background 0.3s ease;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.left-btn {
    left: 20px;
}

.right-btn {
    right: 20px;
}

section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.section-title h2 span {
    color: var(--gold);
}

.section-title .divider {
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, var(--gold), var(--red));
    margin: 0 auto;
}
/* 视频和文本布局样式 */
.video-text-layout {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    margin-bottom: 80px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.video-column {
    flex: 1;
    max-width: 40%; /* 增加视频区域宽度 */
}

.text-column {
    flex: 2;
    max-width: 60%;
}

.video-column .video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 65%; /* 增加视频高度比例 */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    background: #000;
}

.video-column .video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
    transition: transform 0.3s ease;
}

.video-column .video-wrapper:hover video {
    transform: scale(1.02);
}

.video-column .video-caption {
    margin-top: 25px;
    text-align: center;
    padding: 0 10px;
}

.video-column .video-caption h3 {
    color: #d4af37;
    margin-bottom: 12px;
    font-size: 1.5rem;
    font-weight: 600;
}

.video-column .video-caption p {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto;
}

/* 文本区域优化 */
.text-column .trading-intro {
    padding: 30px;
   
}

.text-column .trading-intro p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.95);
}

.text-column .trading-intro p:last-child {
    margin-bottom: 0;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .video-text-layout {
        gap: 40px;
        max-width: 1100px;
    }
    
    .video-column {
        max-width: 45%;
    }
    
    .text-column {
        max-width: 55%;
    }
}

@media (max-width: 992px) {
    .video-text-layout {
        flex-direction: column;
        gap: 40px;
        max-width: 800px;
    }
    
    .video-column,
    .text-column {
        max-width: 100%;
        width: 100%;
    }
    
    .video-column {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .video-column .video-wrapper {
        padding-bottom: 60%; /* 在平板设备上保持较好的比例 */
    }
}

@media (max-width: 768px) {
    .video-text-layout {
        gap: 30px;
        margin-bottom: 60px;
        padding: 0 15px;
    }
    
    .video-column .video-wrapper {
        padding-bottom: 56.25%; /* 在小屏幕上回到16:9比例 */
        border-radius: 12px;
    }
    
    .video-column .video-caption {
        margin-top: 20px;
    }
    
    .video-column .video-caption h3 {
        font-size: 1.3rem;
    }
    
    .video-column .video-caption p {
        font-size: 1rem;
    }
    
    .text-column .trading-intro {
        padding: 25px 20px;
    }
    
    .text-column .trading-intro p {
        font-size: 1.05rem;
        line-height: 1.7;
    }
}

@media (max-width: 480px) {
    .video-text-layout {
        gap: 25px;
        margin-bottom: 50px;
    }
    
    .video-column .video-wrapper {
        border-radius: 10px;
    }
    
    .video-column .video-caption h3 {
        font-size: 1.2rem;
    }
    
    .video-column .video-caption p {
        font-size: 0.95rem;
    }
    
    .text-column .trading-intro {
        padding: 20px 15px;
    }
    
    .text-column .trading-intro p {
        font-size: 1rem;
        line-height: 1.6;
    }
}

/* 超大屏幕优化 */
@media (min-width: 1600px) {
    .video-text-layout {
        max-width: 1500px;
        gap: 60px;
    }
    
    .video-column .video-wrapper {
        padding-bottom: 70%; /* 在超大屏幕上进一步增加高度 */
    }
    
    .video-column .video-caption h3 {
        font-size: 1.6rem;
    }
    
    .video-column .video-caption p {
        font-size: 1.2rem;
    }
    
    .text-column .trading-intro p {
        font-size: 1.2rem;
    }
}
.card-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 50px 0;
    gap: 20px;
    margin: 0 auto; /* This centers the container */
    max-width: 800px; /* Adjust this based on your needs */
    height: 600px;
}

.card {
    width: 300px;
    background: #1e1e1e;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    flex-shrink: 0;
    padding: 20px;
    box-sizing: border-box;
    z-index: 1;
    min-height: 550px;
}

.card img {
    width: 100%;
    height:100%;
    max-height: 180px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 15px;
}

.card:not(.active) img {
    filter: blur(0.5px);  
}

.card.active img {
    filter: none;
}

.card h3 {
    margin: 0 0 15px;
    font-size: 1.2rem;
    color: #c1ac77;
    text-transform: uppercase;
}

.card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #ddd;
    margin-bottom: 15px;
}

.spec-item {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    align-items: center;
}

.spec-icon {
    font-size: 0.3rem;
    color: #c1ac77;
}

.spec-item h4 {
    margin: 0 0 3px 0;
    font-size: 0.6rem;
    color: #c1ac77;
}

.spec-item p {
    margin: 0;
    font-size: 0.85rem;
}

.delivery-options {
    display: flex;
    gap: 8px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.delivery-tag {
    background: rgba(193, 172, 119, 0.2);
    color: #c1ac77;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
}

.card.active {
    z-index: 10;
    transform: scale(1.05) translateY(-15px);
    background: linear-gradient(135deg, #1e1e1e, #2a2a2a);
    border: 1px solid #c1ac77;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.card.active h3 {
    color: #c1ac77;
}

.card:hover {
    transform: translateY(-10px);
}

.facility-card p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.facility-card ul {
    list-style-type: none;
}

.facility-card ul li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.facility-card ul li::before {
    content: "•";
    color: var(--white);
    position: absolute;
    left: 0;
}

.project-slider {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
}

.project-slider::-webkit-scrollbar {
    height: 8px;
}

.project-slider::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
}

.project-slider::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}

.project-card {
    min-width: 300px;
    scroll-snap-align: start;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: scale(1.03);
}

.project-image {
    height: 200px;
    background-color: var(--black);
}

.project-info {
    padding: 20px;
}

.project-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--gold);
}

.project-info p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.clients {
    background-color: var(--black);
}

.client-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 40px 0;
}

.client-logo {
    width: 180px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transform: translateY(30px) scale(0.95);
    opacity: 0;
    animation: luxuryReveal 1s forwards, luxuryFloat 4s ease-in-out infinite;
    transition: border 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent; /* 初始透明边框占位 */
}

/* Hover 效果加金边 */
.client-logo:hover {
    border: 2px solid var(--gold);
    box-shadow: 0 0 10px var(--gold);
    animation-play-state: paused; /* 可选：hover 时暂停上下动动画 */
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: brightness(1.1);
}

/* Sequential delays */
.client-logo:nth-child(1) { animation-delay: 0.2s, 1s; }
.client-logo:nth-child(2) { animation-delay: 0.4s, 1.2s; }
.client-logo:nth-child(3) { animation-delay: 0.6s, 1.4s; }
.client-logo:nth-child(4) { animation-delay: 0.8s, 1.6s; }
.client-logo:nth-child(5) { animation-delay: 1s, 1.8s; }
.client-logo:nth-child(6) { animation-delay: 1.2s, 2s; }
.client-logo:nth-child(7) { animation-delay: 1.4s, 2.2s; }

/* Reveal Animation */
@keyframes luxuryReveal {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Floating Animation */
@keyframes luxuryFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--dark-bg));
    margin: 0 auto;
    border-radius: 3px;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.cert-item {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 40px 25px;
    text-align: center;
    border-top: 4px solid var(--gold);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(20px);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cert-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, transparent 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cert-item.visible {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.6s ease forwards;
}

.cert-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.cert-item:hover::before {
    opacity: 1;
}

.cert-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    border: 2px solid var(--gold);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-icon i {
    font-size: 32px;
    color: var(--gold);
}

.cert-item:hover .cert-icon {
    background: var(--gold);
    animation: pulse 1.5s infinite;
    transform: scale(1.1);
}

.cert-item:hover .cert-icon i {
    color: var(--dark-bg);
}

.cert-item h3 {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.cert-item p {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Background decorative elements */
.bg-decoration {
    position: absolute;
    opacity: 0.05;
    z-index: 1;
}

.bg-decoration.circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    top: -150px;
    right: -150px;
}

.bg-decoration.square {
    width: 200px;
    height: 200px;
    border: 2px solid var(--gold);
    bottom: -100px;
    left: -100px;
    transform: rotate(45deg);
}

@keyframes pulseCheck {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

.cert-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}
/* Network Section Styles */
#network {
    padding: 80px 0;
    color: rgb(0, 0, 0);
    background: rgba(222, 144, 0, 0.8);
    position: relative;
    overflow: hidden;
}

.network-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    grid-column: 1 / -1;
}

.network-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.network-title h2 span {
    color: var(--black);
}

.network-title .divider {
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, var(--gold), var(--red));
    margin: 0 auto;
}

.network-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.network-p {
    padding-right: 30px;
}

/* 改进段落可读性 */
.network-p h2 {
    font-size: 1.8rem;
    color: rgb(0, 0, 0);
    margin-bottom: 25px;
    line-height: 1.4;
    font-weight: 600;
}


 .network-p p {
    counter-increment: step-counter;
    padding-left: 30px;
     color: rgb(255, 255, 255);
}

.network-p p::before {
   
    color: var(--gold);
    font-weight: bold;
    position: absolute;
    left: 0;
    background: rgba(201, 166, 104, 0.1);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
} 

/* 高亮重要文本 */
.highlight {
    color: rgb(255, 213, 114);
    font-weight: 600;
    font-size: 23px;
}

/* 添加分隔线 */
.network-p p:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0);
    padding-bottom: 20px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .network-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .network-p {
        padding-right: 0;
        text-align: left;
    }
    
    .network-title {
        margin-bottom: 40px;
    }
    
 
}

@media (max-width: 768px) {
    #network {
        padding: 60px 0;
    }
    
   
}
/* Footer Styles - Enhanced */
/* Footer Styles - Centered */
footer {
    background-color: var(--black);
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(201, 166, 104, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 等宽三列 */
    gap: 40px;
    justify-items: center; /* 网格项内容居中 */
}

/* 所有列内容居中 */
.footer-about,
.footer-contact,
.footer-social {
    display: flex;
    flex-direction: column;
    align-items: center; /* 垂直居中 */
    text-align: center; /* 文本居中 */
}

/* Logo 大小保持原样 */
.footer-logo {
    font-size: 2rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 10px;
    text-align: center;
}

.footer-logo img {
       width: 70%;
    height: auto;
    max-width: 100%; /* 确保响应式 */
   
}

.footer-about p {
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* 联系信息居中 */
.footer-contact {
    margin-bottom: 0;
}

.footer-contact h3,
.footer-social h3 {
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    width: 100%;
}

.footer-contact h3::after,
.footer-social h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%); /* 居中下划线 */
    width: 50px;
    height: 2px;
    background: var(--gold);
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
    width: 100%;
}

.contact-icon {
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-text {
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    text-align: center;
}

/* 社交链接居中 */
.footer-social {
    text-align: center;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: center; /* 图标居中 */
}

.social-link {
    color: rgba(255,255,255,0.7);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--gold);
    background: rgba(201, 166, 104, 0.1);
    transform: translateY(-3px);
}

/* 页脚底部居中 */
.footer-bottom {
    grid-column: 1 / -1; /* 跨越所有列 */
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 30px;
    width: 100%;
}

.copyright {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr; /* 单列布局 */
        gap: 30px;
    }
    
    .footer-about,
    .footer-contact,
    .footer-social {
        text-align: center;
        align-items: center;
    }
    
    .footer-logo img {
        max-height: 70px; /* 在中等屏幕上调整Logo大小 */
    }
}

@media (max-width: 768px) {
    footer {
        padding: 60px 0 20px;
    }
    
    .footer-container {
        gap: 25px;
    }
    
    .footer-logo img {
        max-height: 60px; /* 在小屏幕上调整Logo大小 */
    }
}

/* Contact Form Styles */
.footer-form {
    background: rgba(28, 29, 30, 0.9);
    padding: 30px;
    padding-right: 60px;
    border-radius: 5px;
    border: 1px solid rgba(201, 166, 104, 0.2);
}

.footer-form h3 {
    color:var(--orange);
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-form h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--gold);
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255,255,255,0.1);
}

.form-group label {
    position: absolute;
    top: 12px;
    left: 15px;
    color: rgba(255,255,255,0.7);
    pointer-events: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 10px;
    font-size: 0.8rem;
    background: var(--black);
    padding: 0 5px;
    color: var(--gold);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    background: var(--orange);;

    color: var(--black);
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.submit-btn:hover {
    background: #ffae00;
    transform: translateY(-2px);
}

.submit-btn i {
    margin-left: 8px;
}

/* Footer Bottom */
.footer-bottom {
    grid-column: 1 / -1;
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 30px;
}

.copyright {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    color: rgba(255,255,255,0.7);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--gold);
    background: rgba(201, 166, 104, 0.1);
    transform: translateY(-3px);
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stats Section Styles */
.stats-section {
    background-color: var(--dark-blue);
    padding: 80px 0;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.stat-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    border-radius: 10px;
    padding: 50px 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    border-color: var(--white);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 10px;
    transition: all 1s ease;
}

.stat-card p {
    font-size: 1.1rem;
    color: var(--white);
    opacity: 0.9;
}

#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
    font-size: 18px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    cursor: pointer;
    display: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s ease;
    /* 确保按钮居中 */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

#backToTop:hover {
    background-color: #555;
}

/* Modify these existing styles in your CSS */
.about {
    background-color: rgba(28, 29, 30, 0.8); /* 0.8 opacity */
    backdrop-filter: blur(5px); /* Optional: adds blur effect to content behind */
}

.products {
    background-color: rgba(0, 0, 0, 0.7); /* Example with black at 70% opacity */
}

.stats-section {
    background-color: rgba(28, 29, 30, 0.8);
}

.projects {
    background-color: rgba(0, 0, 0, 0.7);
}

.clients {
    background-color: rgba(18, 18, 18, 0.8);
}

.certificates {
    background-color: rgba(0, 0, 0, 0.7);
}

/* Jack-Up Rig Section */
.jackup {
    position: relative;
    background: linear-gradient(135deg, rgba(18,18,18,0.95) 0%, rgba(40,40,40,0.95) 100%);
}

.jackup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/rig-pattern.png');
    background-size: 300px;
    opacity: 0.03;
    pointer-events: none;
}

/* Product Cards Styling */
/* Product Row Styling */
/* Oil Trading Section */
.oil-trading {
    background-color: rgba(18, 18, 18, 0.9);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.trading-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}
 /* 默认样式（桌面端） */
.glow-btn {
    position: relative;
    padding: 12px 30px;
    border: none;
    border-radius: 20px;
    background: rgb(222, 144, 0);
    color: white;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    overflow: hidden;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
}

/* 中等屏幕（平板） */
@media (max-width: 1024px) {
    .glow-btn {
        padding: 10px 25px;
        font-size: 18px;
        border-radius: 18px;
    }
}

/* 小屏幕（大手机） */
@media (max-width: 768px) {
    .glow-btn {
        padding: 9px 22px;
        font-size: 16px;
        border-radius: 16px;
    }
    
    .benefits {
        padding: 25px;
    }
}

/* 超小屏幕（手机） */
@media (max-width: 480px) {
    .glow-btn {
        padding: 8px 20px;
        font-size: 15px;
        border-radius: 15px;
        width: 100%; /* 全宽按钮 */
        max-width: 280px; /* 最大宽度限制 */
    }
    
    .benefits {
        padding: 20px 15px;
    }
}

/* 超大屏幕 */
@media (min-width: 1600px) {
    .glow-btn {
        padding: 14px 35px;
        font-size: 22px;
        border-radius: 22px;
    }
}

/* 悬停效果 - 所有尺寸通用 */
.glow-btn:hover {
    transform: scale(1.03);
    background: rgb(235, 160, 20);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

/* 发光动画 - 所有尺寸通用 */
.glow-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -50%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.6),
        rgba(255, 255, 255, 0)
    );
    transform: skewX(-20deg);
    animation: glowMove 3s infinite;
}

@keyframes glowMove {
    0% {
        left: -50%;
    }
    40% {
        left: 120%;
    }
    70% {
        left: 120%;
    }
    100% {
        left: -50%;
    }
}

/* 按钮容器 */
.benefits {
    justify-content: center;
    align-items: center;
    display: flex;
    padding: 30px;
}

/* 响应式调整按钮容器 */
@media (max-width: 768px) {
    .benefits {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .benefits {
        padding: 20px 15px;
    }
}

.trading-intro p {
    background: 
        linear-gradient(135deg, rgba(28, 29, 30, 0.3) 0%, rgba(40, 41, 42, 0.3) 100%), /* dark overlay */
        var(--orange);
    padding: 25px 30px;
    margin-bottom: 20px;
    border-radius: 12px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.trading-intro p::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--gold), var(--red));
}
.product-showcase {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
}

.product-showcase.reverse {
    flex-direction: row-reverse;
}

.product-image-container {
    flex: 1;
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.image-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-showcase:hover .image-wrapper img {
    transform: scale(1.02);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px;
    color: white;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.product-details-container {
    flex: 1;
    padding: 40px;
    background: rgba(28, 29, 30, 0.7);
    border-radius: 10px;
    border: 1px solid rgba(201, 166, 104, 0.2);
    position: relative;
}

.product-badge {
    position: absolute;
    top: -15px;
    left: 30px;
    background: var(--gold);
    color: var(--black);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-details-container h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--white);
    position: relative;
    padding-bottom: 15px;
}

.product-details-container h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gold);
}

.product-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.spec-icon {
    font-size: 1.5rem;
    color: var(--gold);
}

.spec-item h4 {
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: var(--gold);
}

.spec-item p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

.product-description {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
}

.delivery-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.delivery-tag {
    background: rgba(201, 166, 104, 0.1);
    color: var(--gold);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid rgba(201, 166, 104, 0.3);
}

/* Enhanced Commitment Styles */
.supplier-commitment {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 5rem 0rem;
    position: relative;
}

.commitment-wrapper {
    max-width: 800px;
    margin: 0 auto 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.side-label {
    position: absolute;
    top: 30%;
    transform: translateY(-50%);
    font-size: 3rem;
    font-weight: bold;
    color: var(--gold);
    white-space: nowrap;
}

.left-label {
    left: -80px; /* Move it further left */
}

.right-label {
    right: -80px; /* Move it further right */
}

.commitment-points-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 1rem 3rem;
    justify-content: center;
    align-items: center;
    text-align: left;
    z-index: 1;
}

.point {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.05rem;
    padding: 0.7rem 1.3rem;
    background: rgba(201, 166, 104, 0.08);
    border-radius: 50px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.point:hover {
    background: rgba(201, 166, 104, 0.15);
    border-color: rgba(201, 166, 104, 0.3);
    transform: translateY(-2px);
}

.point-icon {
    color: var(--gold);
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.point:hover .point-icon {
    transform: translateX(3px);
}

.commitment-text {
    max-width: 600px;
    margin: 0 auto;
    padding-top: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
    text-align: center;
    position: relative;
}

.commitment-text::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Loading Spinner */
.loading-spinner {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Custom Modal - Consolidated Styles */
.custom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    overflow: auto;
}

.custom-modal .modal-content {
    background-color: #1a1a1a;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--gold);
    animation: modalFadeIn 0.3s ease-out;
    color: #fff;
    padding: 30px;
    text-align: center;
    position: relative;
}

@keyframes modalFadeIn {
    from { 
        opacity: 0; 
        transform: translateY(-30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.modal-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}

.modal-header h3 {
    color: var(--gold);
    margin: 0;
    font-size: 1.8rem;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #fff;
}

.success-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 150px;
    margin: 20px auto;
   
    animation: bounce-in 1.2s forwards;
    animation-delay: 1.8s;
}

.success-icon svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.circle {
    fill: none;
    stroke: var(--gold);
    stroke-width: 6;
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    transform: rotate(-90deg);
    transform-origin: center;
    animation: draw-circle 1.2s ease forwards;
}

.check {
    fill: none;
    stroke: var(--gold);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 80;
    stroke-dashoffset: 80;
    animation: draw-check 0.7s ease forwards;
    animation-delay: 1.2s;
    transform-origin: center;
}

@keyframes draw-circle {
    to { stroke-dashoffset: 0; }
}

@keyframes draw-check {
    to { stroke-dashoffset: 0; }
}

@keyframes bounce-in {
    0% { transform: scale(0.95); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

.modal-body {
    padding: 20px 0;
    line-height: 1.6;
}



.modal-message p {
    margin-bottom: 1.2em;
    line-height: 1.6;
}

.modal-message p:last-child {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.modal-message strong {
    color: var(--gold);
    font-weight: 600;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto 0 10%;
    padding: 80px 20px;
    position: relative;
}

.section-lead {
    text-transform: uppercase;
}

.divider {
    width: 100px;
    height: 3px;
    background: var(--gold);
    margin: 0 auto;
    transition: all 0.5s ease;
}

.section-title:hover .divider {
    width: 150px;
    background: linear-gradient(to right, var(--gold), var(--white));
}

/* Two-column layout including core values */
.about-grid {
    margin: 0 0px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-column.left h1 {
    font-size: 3rem;
}

.about-column {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.about-column.left {
    transition-delay: 0.2s;
}

.about-column.right {
    transition-delay: 0.4s;
}

.about-column.visible {
    opacity: 1;
    transform: translateY(0);
}

.column-title {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-column p {
    margin-bottom: 25px;
    color: #ccc;
    font-weight: bold;
}

/* Improved Core Values */
.core-values {
    margin-top: 40px;
}

.values-title {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
}

.value-pill {
    color: var(--gold);
    padding: 8px 15px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.3s ease;
}

.value-pill:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold);
    transform: translateY(-3px);
}

/* Background elements */
.bg-element {
    position: absolute;
    z-index: -1;
    opacity: 0.03;
}

.bg-gold-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
    top: 10%;
    left: -150px;
}

.bg-gold-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
    bottom: 20%;
    right: -100px;
}

.product-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.product-tab {
    padding: 12px 25px;
    background: rgba(28, 29, 30, 0.7);
    border: 1px solid rgba(201, 166, 104, 0.3);
    color: rgba(255, 255, 255, 0.8);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.product-tab:hover {
    background: rgba(201, 166, 104, 0.1);
    color: var(--gold);
}

.product-tab.active {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
}

/* Tab Content Styles */
.tab-content-container {
    position: relative;
    min-height: 500px;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.stat-card {
    height: 0; /* Start with zero height */
    overflow: hidden;
    transition: all 1.5s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.1);
}

.stat-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #c1ac77;
    transform: scaleX(0);
    transition: transform 1.2s ease-out 0.3s;
}

.stat-card.visible {
    height: 130px; /* Full height */
    padding: 40px 25px;
}

.stat-card.visible::before {
    transform: scaleX(1);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #c1ac77;
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out 0.4s;
}

.stat-card.visible .stat-number {
    opacity: 1;
    transform: translateY(0);
}

.stat-card p {
    color: #fff;
    font-size: 16px;
    margin: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out 0.6s;
}

.stat-card.visible p {
    opacity: 0.9;
    transform: translateY(0);
}

.divider {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, #c1ac77, transparent);
    margin: 0 auto 50px;
}

.projects {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.project-slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding-right: 20px;
}

.project-slides {
    display: flex;
    transition: transform 0.6s ease-in-out;
    height: 600px;
    position: relative;
}

.project-slide {
    border: 2px solid rgba(237, 183, 88, 0.5); /* Gold border */
    min-width: 100%;
    position: relative;
    display: none;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.project-slide.active {
    display: block;
    animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
    from { opacity: 0.7; }
    to { opacity: 1; }
}

.project-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.8) 100%);
}

.project-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    z-index: 2;
    color: white;
    transform: translateY(0);
    transition: transform 0.4s ease;
}

.project-slide:hover .project-content {
    transform: translateY(-10px);
}

.project-badge {
    background: linear-gradient(to right, var(--gold), #d4a74a);
    color: var(--black);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-slide h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    line-height: 1.3;
    color: white;
}

.project-slide p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 25px;
    line-height: 1.7;
    font-size: 1rem;
    max-width: 80%;
}

/* Navigation Controls */
.project-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    margin-bottom: 10px;
}

.nav-btn:hover {
    background: rgba(201, 166, 104, 0.3);
    color: var(--gold);
    transform: scale(1.1);
}

.nav-btn svg {
    width: 24px;
    height: 24px;
}

.project-indicators {
    display: flex;
    gap: 15px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--gold);
    transform: scale(1.3);
}

.indicator:hover:not(.active) {
    background: rgba(255, 255, 255, 0.5);
}

.awards-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.award-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 50px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease-out;
}

.award-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.award-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
    position: relative;
    transition: all 0.5s ease;
}

.award-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--gold);
    border-radius: 10px;
    top: 15px;
    left: 15px;
    z-index: 1;
    transition: all 0.4s ease;
}

.award-image:hover::before {
    top: 10px;
    left: 10px;
}

.award-image img {
    max-width: 100%;
    border-radius: 10px;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: all 0.5s ease;
    filter: brightness(0.95);
}

.award-image:hover img {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    filter: brightness(1);
}

.award-content {
    flex: 1;
    min-width: 300px;
    transform: translateX(-20px);
    opacity: 0;
    transition: all 0.8s ease 0.3s;
}

.award-container.visible .award-content {
    transform: translateX(0);
    opacity: 1;
}

.award-badge {
    background: rgba(255,215,0,0.1);
    border-left: 3px solid var(--gold);
    padding: 12px 20px;
    border-radius: 0 5px 5px 0;
    transition: all 0.3s ease;
    cursor: default;
}

.award-badge:hover {
    background: rgba(255,215,0,0.2);
    transform: translateY(-3px);
}

/* Decorative elements */
.gold-spot {
    position: absolute;
    background: radial-gradient(circle, rgba(255,215,0,0.15) 0%, rgba(255,215,0,0) 70%);
    border-radius: 50%;
}

.spot-1 {
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    animation: float 8s infinite ease-in-out;
}

.spot-2 {
    bottom: -50px;
    left: -50px;
    width: 300px;
    height: 300px;
    animation: float 10s infinite ease-in-out 2s;
}

.error-field {
    border-color: #ff4444 !important;
}

.error-message {
    color: #ff4444;
    font-size: 12px;
    margin-top: 5px;
}

/* Ensure modal is properly styled */
.custom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.loading-spinner {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* ==================== */
/* MEDIA QUERIES SECTION */
/* ==================== */

/* ==================== */
/* --- 平板 (屏幕宽度在 768px 到 1024px 之间) --- */
@media (min-width: 768px) and (max-width: 1024px) {
    /* 修复背景图片显示 */
     body {
        background-size: cover;
        background-position: center center;
    }
    
    body::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('../images/render.png');
        background-size: cover;
        background-position: center;
        z-index: -1;
        /* 添加轻微模糊以减少低分辨率下的锯齿 */
        filter: blur(1px);
        opacity: 0.7;
    }
    
    /* 覆盖原始背景设置 */
    body {
        background-image: none !important;
    }
    /* Ensure all content is centered */
    .container {
        margin: 0 auto !important;
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
        left: 0;
        right: 0;
    }
    .navbar {
       
        justify-content: center;
    }

    .about-grid {
        margin: 0 40px;
    }
 


    /* 为stat section添加左右margin */
    .stats {
        margin: 0 40px;
    }
    .content-wrapper {
        margin: 0 auto;
        padding: 60px 20px;
    }
    
    /* 修复卡片容器 */
    .card-container {
        flex-wrap: wrap;
        justify-content: center;
        height: auto;
        padding: 30px 20px;
    }
    
    .card {
        width: 45%;
        max-width: 350px;
        min-height: 500px;
        margin-bottom: 20px;
    }
    
    .card.active {
        transform: scale(1.05) translateY(-10px);
    }
    
    /* 头部和导航栏 */
    .header-logo img {
        width: 40%;
    }
    
    .nav-links {
        gap: 20px;
    }
    
    /* Hero 区域 */
    .hero-slider {
        height: 500px;
        min-height: 500px;
    }
    
    h1 {
        font-size: 2.8rem;
    }
    /* Center all section content */
    .section-title,
    .card-container,
    .client-logos,
    .footer-container {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }


    /* Product cards */
    .card-container {
        flex-wrap: wrap;
        height: auto;
        padding: 30px 10px;
    }
    /* 产品展示 */
    .product-showcase {
        flex-direction: column;
        gap: 30px;
    }
    
    .product-showcase.reverse {
        flex-direction: column;
    }
    
    /* 承诺部分 */
    .commitment-points-grid {
        grid-template-columns: repeat(2, auto);
    }
      .card {
        width: calc(50% - 20px);
        min-height: auto;
        margin-bottom: 20px;
    }

    .card.active {
        transform: none;
    }

    /* Project slider */
    .project-slides {
        height: 450px;
    }

    .project-content {
        padding: 30px;
    }

    .project-slide h3 {
        font-size: 1.6rem;
    }

    /* Oil trading section */
    .product-showcase,
    .product-showcase.reverse {
        flex-direction: column;
        gap: 30px;
    }

    .image-wrapper img {
        height: 350px;
    }
   .oil-trading .container {
        margin: 0 auto;
        padding: 0 20px;
        width: calc(100% - 40px);
        max-width: 1200px; /* 增加最大宽度 */
    }
    
    /* 让product卡片容器更宽 */
    .card-container {
        max-width: 1100px; /* 增加最大宽度 */
        margin: 0 auto;
        padding: 30px 0;
        gap: 25px; /* 增加卡片间距 */
    }
    
    /* 让卡片更宽 */
    .card {
        width: 48%; /* 增加卡片宽度 */
        max-width: 380px; /* 增加最大宽度 */
        min-height: 550px; /* 增加高度 */
        padding: 25px; /* 增加内边距 */
    }
    
    /* 调整卡片内容间距 */
    .card h3 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
    
    .card p {
        font-size: 1rem;
        margin-bottom: 20px;
        line-height: 1.6;
    }
    
    .spec-item {
        margin-bottom: 15px;
    }
    
    .delivery-options {
        margin-top: 25px;
        gap: 10px;
    }
    
    .delivery-tag {
        padding: 5px 12px;
        font-size: 0.8rem;
    }
    .product-details-container {
        padding: 25px;
    }

    .product-specs {
        grid-template-columns: 1fr;
    }

    /* 修复表单容器 */
   
      .cert-grid {
          margin: 0 40px;
        grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    }
    
    
    /* 修复第二个滑块背景 */
    .second-slide .background-image {
        background-size: cover;
        background-position: center;
    }
    
    /* Jack-Up Rig Section */
    .jackup .about-content {
        flex-direction: column;
    }

    .jackup .about-image {
        margin-top: 40px;
        min-height: 300px;
    }

    .jackup ul {
        columns: 1;
    }

    /* Certificates */
    .cert-grid {

        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
     .certificates .container {
        margin: 0 40px;
        width: calc(100% - 80px);
         display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .cert-grid {
        gap: 25px;
        padding: 0 20px;
        
    }
    .cert-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        justify-content: center;
        align-items: center;
        margin: 0 auto;
        max-width: 1000px;
    }
    .clients .container {
        
        margin: 0 40px;
        width: calc(100% - 80px);
    }
    
    /* 加长project slide */
    .project-slides {
        height: 650px; /* 增加高度 */
    }
     .projects .container {
        margin: 0 40px;
        width: calc(100% - 80px);
    }
    
    .project-slider-container {
        padding: 0 20px;
    }
    .project-slide {
        min-height: 650px;
    }

    /* About content adjustments */
    .about-content {
        flex-direction: column;
    }

    .about-image {
        width: 100%;
    }

    h1 {
        font-size: 2.8rem;
    }
}

/* --- 手机 (屏幕宽度小于 768px) --- */
@media (max-width: 767px) {
    /* 修复背景图片显示 */
    body {
        background-size: cover;
        background-position: center center;
    }
    
    body::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('../images/render.png');
        background-size: cover;
        background-position: center;
        z-index: -1;
        /* 添加轻微模糊以减少低分辨率下的锯齿 */
        filter: blur(1px);
        opacity: 0.7;
    }
    
    /* 覆盖原始背景设置 */
    body {
        background-image: none !important;
    }
    
    /* 修复 about section 偏移问题 */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin: 0;
        padding: 0 15px;
    }
    
    .content-wrapper {
        margin: 0 auto;
        padding: 40px 15px;
    }
    
    .about-column.left h1 {
        font-size: 2.5rem;
    }
    


/* Commitment section */
    .commitment-wrapper {
        flex-direction: column;
        gap: 2rem;
    }
    
    .side-label {
        position: static;
        transform: none;
        font-size: 2.5rem;
    }
    
    .commitment-points-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .point {
        justify-content: center;
    }

    /* 修复表单输入框超出容器的问题 */
    .footer-form {
        padding: 20px 15px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .form-group input,
    .form-group textarea {
        width: 100%;
        box-sizing: border-box;
        font-size: 16px; /* 防止iOS缩放 */
        padding: 14px 12px; /* 增加触摸区域 */
    }
    
    /* 修复电话号码输入框在iOS上的显示 */
    input[type="tel"] {
        -webkit-appearance: none;
        border-radius: 4px;
    }
    
    /* 头部和导航栏 */
    header {
        padding: 15px 0;
    }
    
    .header-logo img {
        width: 60%;
    }
    
    .navbar {
        margin-top: 5px;
        padding: 8px 0;
        justify-content: center;
    }
    
    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
           padding: 0;
    }
    
    .nav-links a {
        font-size: 0.8rem;
        padding: 5px 8px;
    }

    

    /* Hero 区域 */
    .hero-slider {
        height: 500px;
        min-height: 500px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .btn {
        padding: 12px 25px;
    }
     .hero-slider .left-align {
    text-align: center;   /* 文字居中 */
  }

  .hero-slider .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;  /* 横向居中 */
    justify-content: center; /* 垂直居中（可选） */
  }

  .hero-slider .hero-content h1,
  .hero-slider .hero-content p,
  .hero-slider .hero-content a {
    text-align: center;
  }

  .hero-slider .cta-button {
    margin: 15px auto 0;  /* 按钮居中 */
  }
    /* 第二个滑块 */
    .second-slide .ship-slide {
        text-align: center;
        padding: 20px;
        justify-content: center;
    }
    
    .second-slide .ship-description h2 {
        font-size: 1.8rem;
    }
    
    .second-slide .ship-description p {
        font-size: 0.95rem;
    }
    
    /* 卡片（cards） */
    .card-container {
        flex-direction: column;
        align-items: center;
        height: auto;
        padding: 30px 15px;
    }
    
    .card {
        width: 100%;
        max-width: 320px;
        margin-bottom: 20px;
        min-height: auto;
    }
    
    .card.active {
        transform: scale(1) translateY(0);
    }
    
    /* 项目和客户端 */
    .project-slider {
        padding: 15px 0;
    }
    
    .client-logos {
        gap: 20px;
    }
    
    .client-logo {
        width: 120px;
        height: 60px;
    }
    
    /* 产品展示 */
    .product-showcase {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 40px;
    }
    
    .product-showcase.reverse {
        flex-direction: column;
    }
    
    .product-details-container {
        padding: 30px 20px;
    }
    
    .product-specs {
        grid-template-columns: 1fr;
    }
    
    /* 承诺部分 */
    .supplier-commitment {
        direction: column;
        padding: 3rem 0rem;
    }

    
  .commitment-wrapper {
    flex-direction: column;
    
  }
  /* 显示侧边标签 */
  .side-label {
    display: block; /* 或者 flex，根据原有样式调整 */
    text-align: center; /* 居中显示 */
    margin: 5px 0; /* 减少上下边距 */

  }
  /* 如果原有左右标签有浮动或绝对定位，需要重置 */
  .left-label, .right-label {
    position: static;
    margin: 0;
  }
  /* 点网格的样式保持不变 */
  .commitment-points-grid {
    grid-template-columns: 1fr;

    gap: 12px; 
            margin: 15px 0; 
}
.left-label {
  margin-bottom: 1rem; /* 与点列表保持均衡 */
}

.right-label {
  margin-top: 1rem; /* 与点列表保持均衡 */
}
  
    .footer-container {
        padding: 0 10px;
        grid-template-columns: 1fr;
    }
      .hero-slider,
    .about,
    .products,
    .projects,
    .clients,
    .certificates,
    footer,.network {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0;
        padding-right: 0;
        left: 0;
        right: 0;
    }
}

/* 添加高性能背景图片渲染优化 */
@media (min-width: 1025px) and (max-width: 2048px) {
    
     body {
        background-size: cover;
        background-position: center center;
    }
    
    body::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('../images/render.png');
        background-size: cover;
        background-position: center;
        z-index: -1;
        /* 添加轻微模糊以减少低分辨率下的锯齿 */
        filter: blur(1px);
        opacity: 0.7;
    }
    
    /* 覆盖原始背景设置 */
    body {
        background-image: none !important;
    }
    img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
        max-width: 100%;
        height: auto;
   
}}
