* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: #f5f5f5;
    color: #333;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Header with blue gradient */
.header-section {
    background: linear-gradient(90deg, #3B3A86 0%,  #80B0DE 100%);
    height: 250px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.logo-container {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
}

.pyramid-logo img {
    width: auto;
    height: 70px;
    object-fit: cover;
}

.company-name {
    color: white;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1px;
}

.world-map {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    /*background: url('../images/hr.png') no-repeat bottom right;*/
    background-size: cover !important;
    object-fit: cover;
    opacity: 0.8;
}

@media (min-width: 1900px) {
    .world-map {
        background-size: 80% !important;
    }
}

/* Navigation */
.navigation {
    background-color: #999;
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 12px;
    flex-shrink: 0;
    position: relative;
}

.navbar-toggler {
    background: none;
    border: 1px solid #fff;
    padding: 6px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 10px;
    z-index: 1000;
    width: 32px;
    height: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.navbar-toggler-icon {
    width: 18px;
    height: 16px;
    position: relative;
    display: block;
    background: none !important;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after,
.navbar-toggler-icon span {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #fff;
    left: 0;
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before {
    top: 0;
}

.navbar-toggler-icon span {
    top: 50%;
    transform: translateY(-50%);
}

.navbar-toggler-icon::after {
    bottom: 0;
}

/* 展开状态的样式 */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon span {
    opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

.navbar-nav {
    display: none;
}

.navbar-collapse.show .navbar-nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: row;
    align-items: stretch;
    background-color: #777;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 999;
}

.navbar-nav .nav-item {
    display: flex;
    padding: 12px 8px;
    margin: 0;
    width: 20%;
    flex: 1;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 13px;
}

.nav-item {
    background-color: #888;
    color: white;
    padding: 12px 30px;
    margin: 0 1px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 140px;
    transition: background-color 0.3s;
}

.nav-item.active {
    color: red;
    background-color: #555;
}

.nav-item:hover {
    background-color: #555;
    color: red;
}

/* .pc-nav {
    background-color: #fff;
} */

.pc-nav .nav-item:first-child {
    margin-left: 2px;
}

.pc-nav .nav-item:last-child {
    margin-right: 2px;
}

/* Navigation Right Container */
.nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 25px;
    padding-right: 30px;
}

@media (min-width: 1420px) {
    .nav-right {
        gap: 40px;
    }
}

@media (min-width: 1600px) {
    .nav-right {
        gap: 20px;
    }
}


@media (min-width: 1200px) {
    .navigation {
        justify-content: flex-start;
        padding-left: 50%;
        padding-right: 10px;
    }
    
}

/* 中等屏幕优化 */
@media (min-width: 1200px) {
    .nav-item {
        padding: 12px 5px;
        width: 105px;
        font-size: 14px;
    }

    /* 让第二个nav-item（About Us）对齐content-area */
    .pc-nav {
        margin-left: -110px; /* 向左偏移一个nav-item的宽度，使About Us对齐content-area */
    }
    
    /* 调整language-selector间距 */
    .language-selector {
        margin-left: 12px;
    }
}

/* 大屏幕优化 */
@media (min-width: 1400px) {
    .nav-item {
        padding: 12px 5px;
        width: 120px;
        font-size: 15px;
    }
    
    /* 调整pc-nav位置以适应更大屏幕 */
    .pc-nav {
        margin-left: -124px;
    }
    
    /* 调整language-selector间距 */
    .language-selector {
        margin-left: 15px;
    }
}

/* 超大屏幕优化 */
@media (min-width: 1600px) {
    .nav-item {
        padding: 12px 15px;
        width: 150px;
        font-size: 15px;
    }
    
    /* 调整pc-nav位置以适应超大屏幕 */
    .pc-nav {
        margin-left: -150px; /* 根据更大的nav-item宽度调整 */
    }
    
    /* 调整language-selector间距 */
    .language-selector {
        margin-left: 20px;
    }
}

@media (min-width: 1900px) {
    .nav-item {
        padding: 12px 15px;
        width: 180px;
        font-size: 15px;
    }
    
    /* 调整pc-nav位置以适应最大屏幕 */
    .pc-nav {
        margin-left: -180px; /* 根据最大的nav-item宽度调整 */
    }
    
    /* 调整language-selector间距 */
    .language-selector {
        margin-left: 25px;
    }
}

/* Language Selector */
.language-selector {
    display: flex;
    align-items: center;
    margin-left: 8px; /* 减少默认间距 */
}

@media (max-width: 1024px) {
    .language-selector {
        width: 330px;
    }
}

.language-link {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    padding: 4px 8px;
    transition: color 0.3s;
}

.language-link:hover {
    color: #ddd;
}

.language-separator {
    color: white;
    font-size: 14px;
}

/* Main content area */
.main-content {
    display: flex;
    flex: 1;
    overflow: hidden;
    max-height: calc(100vh - 200px);
}

/* Left sidebar with images */
.sidebar {
    width: 50%;
    background-color: #ddd;
    padding: 15px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    align-content: center;
    overflow: hidden;
}

.sidebar-image {
    width: 100%;
    height: 100%;
    border: 1px solid #aaa;
    overflow: hidden;
}

.sidebar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Content area */
.content-area {
    width: 50%;
    background-color: white;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.content-title {
    color: #3a3983;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 8px;
    flex-shrink: 0;
}

.content-text {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 15px;
    text-align: justify;
    color: #333;
}

.content-text a {
    text-decoration: none;
}

.content-text i {
    font-style: normal;
}

/* Footer */
.footer {
    background-color: #ddd;
    padding: 10px 30px;
    font-size: 10px;
    color: #666;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

/* Sitemap Styles */
.sitemap-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 20px;
}

.sitemap-section {
    padding: 20px;
    border-radius: 8px;
}

.sitemap-heading {
    color: #dc3545;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e0e0e0;
}

.sitemap-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sitemap-list li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.sitemap-list li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #0066cc;
    font-weight: bold;
}

.sitemap-list a {
    color: #333;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-block;
}

.sitemap-list a:hover {
    color: #dc3545;
    padding-left: 5px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links span {
    color: #666;
    font-size: 14px;
}

.footer-links a {
    color: #666;
    font-size: 14px;
    text-decoration: none;
}

.footer-links a:hover {
    color: #333;
}

.footer-links a.active {
    color: #000;
}

.copyright {
    font-size: 12px;
    color: #333;
}

/* Responsive Design */
@media (max-width: 992px) {
    body {
        overflow-y: auto;
        min-height: 100vh;
    }
    
    .main-content {
        flex-direction: column;
        overflow-y: auto;
        min-height: calc(100vh - 235px);
    }
    
    .sidebar {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: 1fr;
        gap: 8px;
        padding: 10px;
        /* height: 120px; */
    }
    
    .sidebar-image {
        height: 100px;
    }
    
    .content-area {
        width: 100%;
        padding: 15px;
        flex: 1;
    }

    .pyramid-logo img {
        height: 50px;
    }
    
    .language-selector {
        position: absolute;
        top: 50%;
        right: 60px;
        transform: translateY(-50%);
    }
}

@media (max-width: 768px) {
    body {
        height: auto;
        overflow: visible;
        min-height: 100vh;
    }
    
    .main-content {
        max-height: none;
        overflow: visible;
        min-height: calc(100vh - 180px);
    }
    
    .header-section {
        height: 100px;
    }
    
    .logo-container {
        left: 10px;
    }
    
    .company-name {
        font-size: 16px;
    }
    
    .pyramid-logo img {
        height: 30px;
    }
    
    .content-title {
        font-size: 24px;
        margin-bottom: 20px;
        padding-bottom: 10px;
    }
    
    .content-text {
        font-size: 17px;
        line-height: 1.6;
        margin-bottom: 18px;
    }
    
    .content-area {
        width: 100%;
        padding: 20px 18px;
        overflow-y: visible;
    }
    
    .footer {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        padding: 8px 15px;
    }
}

@media (max-width: 576px) {
    body {
        height: auto;
        overflow: visible;
        min-height: 100vh;
    }

    .navigation {
        min-height: 40px;
    }

    #mobileNav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
    }

    .navbar-collapse.show .navbar-nav {
        flex-direction: row;
        flex-wrap: nowrap;
        background-color: #fff;
        /* padding: 1px 0; */
    }

    .navbar-nav .nav-item {
        font-size: 11px;
        padding: 10px 4px;
        width: 20%;
        flex: 1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        border-right: 1px solid #999;
        /* border: 1px solid #fff; */
    }
    
    .main-content {
        max-height: none;
        overflow: visible;
        min-height: calc(100vh - 150px);
    }
    
    .header-section {
        height: 80px;
    }
    
    .company-name {
        font-size: 14px;
        letter-spacing: 0.5px;
    }
    
    .pyramid-logo {
        margin-right: 8px;
    }
    
    .content-area {
        width: 100%;
        padding: 18px 15px;
        overflow-y: visible;
    }
    
    .sidebar {
        padding: 8px;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        gap: 6px;
    }
    
    .content-title {
        font-size: 22px;
        margin-bottom: 18px;
        padding-bottom: 10px;
    }
    
    .content-text {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 16px;
    }
    
    .footer {
        padding: 6px 10px;
        font-size: 9px;
    }
    
    .footer-links a {
        font-size: 12px;
    }
    
    .language-selector {
        position: absolute;
        top: 50%;
        right: 50px;
        transform: translateY(-50%);
    }
    
    .language-link {
        font-size: 12px;
        padding: 2px 4px;
    }
    
    .language-separator {
        font-size: 12px;
    }
}

/* Language Selector */
.language-selector {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.language-link {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.3s;
}

.language-link:hover {
    color: #ddd;
}

.language-separator {
    color: white;
    font-size: 14px;
}

@media (max-width: 768px) {
    .language-selector {
        font-size: 12px;
    }
    
    .language-link {
        font-size: 12px;
    }
    
    .language-separator {
        font-size: 12px;
    }
}

/* World Map Container for Team Page */
.sidebar-map {
    width: 50%;
    background-color: #e8e8e8;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.world-map-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.map-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    text-decoration: underline;
    margin-bottom: 30px;
    text-align: center;
    width: 100%;
}

.map-wrapper {
    width: 100%;
    align-self: stretch;
    margin: 0;
}

.map-container {
    position: relative;
    width: 100%;
    padding-bottom: 50%;
}

.map-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.8;
}

.location-pin {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 10;
}

.pin-dot {
    width: 16px;
    height: 16px;
    background-color: #ff0000;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.location-pin:hover .pin-dot {
    transform: scale(1.3);
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.5);
}

.pin-label {
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.85);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.pin-label::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid rgba(0, 0, 0, 0.85);
}

.location-pin:hover .pin-label,
.location-pin.active .pin-label {
    opacity: 1;
    top: -50px;
}

.world-map-svg {
    width: 100%;
    height: auto;
}

.location-marker {
    transition: all 0.3s ease;
}

.location-marker circle {
    cursor: pointer;
    transition: all 0.3s ease;
}

.location-label {
    fill: #ffffff;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Open Sans', sans-serif;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* 为文字添加半透明黑色背景 */
.location-marker rect {
    fill: rgba(0, 0, 0, 0.75);
    rx: 4;
    ry: 4;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

@media (max-width: 992px) {
    .sidebar-map {
        width: 100%;
        padding: 15px;
    }
    
    .map-title {
        margin-bottom: 20px;
    }
    
    .pin-label {
        font-size: 13px;
        padding: 6px 12px;
    }
    
    .pin-dot {
        width: 14px;
        height: 14px;
    }
}

/* MacBook and small laptop screens */
@media (min-width: 993px) and (max-width: 1366px) {
    .sidebar-map {
        padding: 15px;
    }
    
    .map-title {
        font-size: 24px;
        margin-bottom: 20px;
        text-align: center;
        width: 100%;
    }
    
    .world-map-container {
        justify-content: flex-start;
        padding-top: 10px;
        align-items: center;
    }
    
    .map-wrapper {
        width: 100%;
        align-self: stretch;
        margin: 0;
    }
}

@media (max-width: 768px) {
    .map-title {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .pin-label {
        font-size: 12px;
        padding: 5px 10px;
        top: -40px;
    }
    
    
    .location-pin:hover .pin-label,
    .location-pin.active .pin-label {
        top: -42px;
    }
}

@media (max-width: 576px) {
    .map-title {
        font-size: 18px;
    }

    .pin-label {
        font-size: 11px;
        padding: 4px 8px;
        top: -35px;
        border-radius: 4px;
    }
    
    
    .location-pin:hover .pin-label,
    .location-pin.active .pin-label {
        top: -37px;
    }
    
    .pin-label::after {
        border-left-width: 5px;
        border-right-width: 5px;
        border-top-width: 5px;
        bottom: -5px;
    }
}


@media (max-width: 1600px) {
    .language-selector {
        gap: 10px;
    }
}


@media (max-width: 1366px) {
    .language-selector {
        gap: 24px;
    }

    .nav-right {
        gap: 30px;
    }
}

@media (max-width: 1280px) {
    .language-selector {
        gap: 10px;
    }
}















.navigation.fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body.has-fixed-nav {
    padding-top: 45px;
}


@media (max-width: 768px) {
    body.has-fixed-nav {
        padding-top: 40px;
    }
}

@media (max-width: 576px) {
    body.has-fixed-nav {
        padding-top: 40px;
    }
}


@media (max-width: 768px) {
    .header-section {
        height: 100px;
    }
}

@media (max-width: 576px) {
    .header-section {
        height: 80px;
    }
}







.main-content {
    display: flex;
    flex: 1;
    overflow: visible;
}

/*.header-section {
    background: url(../images/banner.png) no-repeat center right;
    background-size: cover;
    object-fit: cover;
    height: 250px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    width: 100%;
}*/
.header-section.fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}
.navigation {
    background-color: #999;
    /*min-height: 45px;*/
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 12px;
    flex-shrink: 0;
    position: relative;
    width: 100%;
}
.navigation.fixed {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .header-section {
        height: 100px;
    }
}
@media (max-width: 576px) {
    .header-section {
        height: 80px;
    }
}
@media (min-width: 1200px) {
    .navigation {
        justify-content: flex-start;
        padding-left: 50%;
        padding-right: 10px;
    }
}



.nav-item { text-align:center; }


/**** cookies policy start ****/
.ward {
    max-width: 1200px;
    padding: 0 0px;
    margin: 0 auto;
}
.cookie-policy-wrapper {
  padding: 15px;
  background-color: rgba(0, 0, 0, .5);
  position: fixed;
  left:0;
  bottom: 0;
  z-index: 999999;
  width: 100%;
  color:#fff;
  font-size: 14px;
}
.cookie-policy-wrapper a {
  color:#a9272f;
  text-decoration: underline;
}
/*#cookie-policy {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}*/
#button-cookie-policy-accept {
    background: #a9272f;
    border-color: #a9272f;
    font-size: 14px;
    padding: .175rem .55rem;
    white-space: nowrap;
}

.d-flex-2.flex-end-2 {
    display: flex;
    justify-content: flex-end;
    flex-shrink: 0;
}
/**** cookies policy end ****/

.navbar-nav .nav-item {
    margin:0;
}

.navbar-collapse.show .navbar-nav {
    background-color:#999999;
}

@media (min-width: 579px) and (max-width: 1680px) {
    .navbar-nav .nav-item {
        margin:0 1px;
    }
}
@media(max-width:1680px){
    .world-map-container {
        justify-content: flex-start;
    }
}


@media(min-width:960px) and (max-width:1680px){
    .main-content {
        display: flex;
        flex: 1;
        overflow: visible;
        min-height: 0;
    }
}

