/*
Theme Name: Enterprise (Pinkco logistics)
Theme URI: https://example.com
Author: Enterprise Team
Author URI: https://example.com
Description: Corporate logistics theme with products, news, and portfolio content types.
Version: 1.3.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: enterprise
Tags: one-column, two-columns, custom-header, custom-menu, editor-style, featured-images, translation-ready
*/

:root {
    --primary-color: #0b5ed7;
    --secondary-color: #dc3545;
    --accent-color: #0a3d91;
    --text-color: #1a1a1a;
    --light-text: #5c636a;
    --border-color: #dee2e6;
    --light-gray: #f4f6f9;
    --white: #ffffff;
    --background: #ffffff;
    --card-bg: #ffffff;
    --card-hover: #f8f9fa;
    --gradient: linear-gradient(135deg, #0b5ed7 0%, #0a3d91 100%);
    --gradient2: linear-gradient(135deg, #dc3545 0%, #b02a37 100%);
    --glow: 0 8px 24px rgba(11, 94, 215, 0.15);
    --glow2: 0 8px 24px rgba(220, 53, 69, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
    background-color: var(--background);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.site-header {
    background-color: var(--white);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-top {
    background: var(--gradient);
    color: #fff;
    padding: 10px 0;
    font-size: 14px;
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 0;
}

.site-logo h1 {
    font-size: 28px;
    font-weight: bold;
    color: var(--text-color);
}

.site-logo h1 a {
    color: var(--text-color);
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.site-logo h1 a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.site-logo h1 a:hover::after {
    transform: scaleX(1);
}

.main-navigation {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    min-width: 0;
}

.main-navigation ul {
    display: flex;
    flex-wrap: nowrap;
    list-style: none;
    gap: 24px;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    position: relative;
    flex-shrink: 0;
}

.main-navigation a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-color);
    padding: 10px 0;
    display: block;
    white-space: nowrap;
    line-height: 1.3;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    color: var(--primary-color);
}

.main-navigation ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    gap: 0;
    padding: 10px 0;
}

.main-navigation li:hover>ul {
    display: block;
}

.main-navigation ul ul li {
    padding: 5px 20px;
}

.hero-section {
    background: var(--gradient);
    color: var(--white);
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Hero section: CSS animation to avoid blank screen caused by scroll script dependency */
.hero-section .container {
    position: relative;
    z-index: 1;
}

.pinkco-hero-animate {
    opacity: 0;
    animation: fadeInUp 0.85s ease forwards;
}

@media (prefers-reduced-motion: reduce) {
    .pinkco-hero-animate {
        opacity: 1;
        animation: none;
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
    animation: pulse 8s ease-in-out infinite;
}

.hero-section h1,
.hero-section h2 {
    font-size: 52px;
    margin-bottom: 25px;
    font-weight: bold;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}

.hero-section p {
    font-size: 22px;
    max-width: 800px;
    margin: 0 auto 40px;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.btn-primary {
    display: inline-block;
    background: var(--gradient2);
    color: var(--white);
    padding: 18px 45px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-shadow: 0 0 10px rgba(0, 199, 255, 0.5);
    box-shadow: var(--glow2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: var(--gradient);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 112, 243, 0.4);
    text-shadow: 0 0 15px rgba(0, 199, 255, 0.8);
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--text-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.section-title h2 a.pinkco-section-heading-link {
    color: inherit;
    text-decoration: none;
}

.section-title h2 a.pinkco-section-heading-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.section-title p {
    font-size: 18px;
    color: var(--light-text);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 112, 243, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 112, 243, 0.2);
    border-color: var(--primary-color);
}

.service-icon {
    width: 90px;
    height: 90px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 40px;
    color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 112, 243, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover .service-icon {
    background: var(--gradient);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 112, 243, 0.4);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-color);
    text-shadow: 0 0 10px rgba(0, 112, 243, 0.3);
}

.service-card p {
    color: var(--light-text);
    font-size: 15px;
    line-height: 1.6;
}

/* Benefit list: card is text-align:center — keep list left-aligned with custom bullets */
.service-card__benefits {
    list-style: none;
    margin: 0 auto 14px;
    padding: 0;
    max-width: 100%;
    width: 100%;
    text-align: left;
}

.service-card__benefits li {
    position: relative;
    padding: 0 0 0 1.15rem;
    margin: 0 0 0.55em;
    font-size: 14px;
    line-height: 1.75;
    color: var(--light-text);
    text-align: left;
}

.service-card__benefits li:last-child {
    margin-bottom: 0;
}

.service-card__benefits li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-color);
    transform: translateY(-50%);
    flex-shrink: 0;
}

.features-section {
    background-color: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,%3Csvg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="%230070f3" fill-opacity="0.05" fill-rule="evenodd"%3E%3Cpath d="M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 1.4l2.83 2.83 1.41-1.41L1.41 0H0v1.41zM38.59 40l-2.83-2.83 1.41-1.41L40 38.59V40h-1.41zM40 1.41l-2.83 2.83-1.41-1.41L38.59 0H40v1.41zM20 18.6l2.83-2.83 1.41 1.41L21.41 20l2.83 2.83-1.41 1.41L20 21.41l-2.83 2.83-1.41-1.41L18.59 20l-2.83-2.83 1.41-1.41L20 18.59z"/%3E%3C/g%3E%3C/svg%3E');
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: transform 0.3s ease;
    padding: 25px;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 20px rgba(0, 112, 243, 0.1);
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 112, 243, 0.2);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 28px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 112, 243, 0.3);
}

.feature-item:hover .feature-icon {
    background: var(--gradient2);
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 199, 255, 0.4);
}

.feature-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-color);
    text-shadow: 0 0 10px rgba(0, 112, 243, 0.3);
}

.feature-content p {
    color: var(--light-text);
    font-size: 15px;
    line-height: 1.6;
}

.products-section {
    background-color: var(--background);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.product-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    background: var(--card-bg);
    box-shadow: 0 5px 25px rgba(0, 112, 243, 0.1);
    backdrop-filter: blur(10px);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card:hover {
    box-shadow: 0 15px 35px rgba(0, 112, 243, 0.2);
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.product-image {
    height: 220px;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.product-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0.1;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-image::after {
    opacity: 0.2;
}

.product-content {
    padding: 25px;
}

.product-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-color);
    text-shadow: 0 0 10px rgba(0, 112, 243, 0.3);
}

.product-content p {
    color: var(--light-text);
    font-size: 15px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.product-link {
    color: var(--primary-color);
    font-weight: 500;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.product-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.product-link:hover::after {
    width: 100%;
}

.product-link:hover {
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(0, 199, 255, 0.5);
}

.contact-section {
    background-color: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%230070f3" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--text-color);
    text-shadow: 0 0 10px rgba(0, 112, 243, 0.3);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 20px rgba(0, 112, 243, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 112, 243, 0.2);
    border-color: var(--primary-color);
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(0, 112, 243, 0.3);
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background: var(--gradient2);
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(0, 199, 255, 0.4);
}

.contact-text h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--text-color);
}

.contact-text p {
    color: var(--light-text);
    font-size: 15px;
    line-height: 1.6;
}

.contact-form {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 25px rgba(0, 112, 243, 0.1);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    position: relative;
    background: var(--light-gray);
    color: var(--text-color);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 112, 243, 0.2);
    transform: translateY(-2px);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.btn-submit {
    width: 100%;
    background: var(--gradient);
    color: var(--white);
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-shadow: 0 0 10px rgba(0, 112, 243, 0.5);
    box-shadow: var(--glow2);
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-submit:hover::before {
    width: 300px;
    height: 300px;
}

.btn-submit:hover {
    background: var(--gradient2);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 199, 255, 0.4);
    text-shadow: 0 0 15px rgba(0, 199, 255, 0.8);
}

.site-footer {
    background: var(--card-bg);
    color: var(--light-text);
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border-color);
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.footer-about h3 {
    color: var(--text-color);
    font-size: 24px;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-about p {
    line-height: 1.8;
    font-size: 15px;
    color: var(--light-text);
}

.footer-links h4 {
    color: var(--text-color);
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.footer-links h4:hover::after {
    width: 100%;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--light-text);
    font-size: 15px;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-links a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 112, 243, 0.5);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--light-text);
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom a {
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(0, 199, 255, 0.5);
}

.about-section {
    background-color: var(--background);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--text-color);
    text-shadow: 0 0 10px rgba(0, 112, 243, 0.3);
}

.about-text p {
    color: var(--light-text);
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.6;
}

.about-image {
    height: 400px;
    background: var(--light-gray);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: var(--primary-color);
    box-shadow: 0 0 30px rgba(0, 112, 243, 0.2);
    position: relative;
    overflow: hidden;
}

.about-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0.1;
    transition: opacity 0.3s ease;
}

.about-image:hover::after {
    opacity: 0.2;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-member {
    text-align: center;
    padding: 30px;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 25px rgba(0, 112, 243, 0.1);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 112, 243, 0.2);
    border-color: var(--primary-color);
}

.team-avatar {
    width: 150px;
    height: 150px;
    background: var(--gradient);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: var(--white);
    box-shadow: 0 0 25px rgba(0, 112, 243, 0.3);
    transition: all 0.3s ease;
}

.team-member:hover .team-avatar {
    background: var(--gradient2);
    transform: scale(1.1);
    box-shadow: 0 0 35px rgba(0, 199, 255, 0.4);
}

.team-member h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--text-color);
    text-shadow: 0 0 10px rgba(0, 112, 243, 0.3);
}

.team-member p {
    color: var(--light-text);
    font-size: 14px;
}

.breadcrumb {
    background-color: var(--light-gray);
    padding: 15px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb a {
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(0, 199, 255, 0.5);
}

.page-header {
    background: var(--gradient);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
    animation: pulse 8s ease-in-out infinite;
}

.page-header h2 {
    font-size: 42px;
    font-weight: bold;
    text-shadow: 0 0 30px rgba(0, 112, 243, 0.5);
    position: relative;
    z-index: 1;
}

@media (max-width: 1024px) {
    .site-header {
        display: none;
    }

    .mobile-header {
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        background: var(--white);
        box-shadow: 0 2px 20px rgba(0, 112, 243, 0.1);
        overflow: visible;
    }

    .mobile-header__bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        width: 100%;
        margin-bottom: 10px;
    }

    .mobile-header__brand {
        font-size: 18px;
        font-weight: 700;
        color: var(--text-color);
        flex: 1;
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .mobile-header__actions {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-shrink: 0;
        position: relative;
        z-index: 10002;
    }

    .mobile-nav-links {
        position: relative;
        z-index: 1;
    }

    .mobile-header .site-logo h1 {
        font-size: 24px;
        color: var(--text-color);
    }

    .mobile-header .site-logo h1 a {
        color: var(--text-color);
        background: var(--gradient);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .menu-toggle {
        background: var(--gradient);
        color: var(--white);
        border: none;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        cursor: pointer;
        box-shadow: var(--glow2);
        transition: all 0.3s ease;
    }

    .menu-toggle:hover {
        background: var(--gradient2);
        transform: rotate(90deg);
        box-shadow: 0 0 25px rgba(0, 199, 255, 0.4);
    }

    .mobile-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--card-bg);
        border-top: 1px solid var(--border-color);
        box-shadow: 0 10px 30px rgba(0, 112, 243, 0.2);
        backdrop-filter: blur(10px);
        z-index: 999;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .mobile-menu.menu-open {
        max-height: 500px;
    }

    .mobile-menu ul {
        list-style: none;
        padding: 20px 0;
    }

    .mobile-menu li {
        border-bottom: 1px solid var(--border-color);
    }

    .mobile-menu li:last-child {
        border-bottom: none;
    }

    .mobile-menu a {
        display: block;
        padding: 15px 20px;
        color: var(--text-color);
        font-size: 16px;
        font-weight: 500;
        transition: all 0.3s ease;
        position: relative;
    }

    .mobile-menu a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--gradient);
        transition: width 0.3s ease;
    }

    .mobile-menu a:hover::after {
        width: 100%;
    }

    .mobile-menu a:hover,
    .mobile-menu .current-menu-item a {
        color: var(--primary-color);
        background: rgba(0, 112, 243, 0.1);
        text-shadow: 0 0 10px rgba(0, 112, 243, 0.5);
    }

    .site-main {
        margin-top: 70px;
    }

    .container {
        min-width: 100%;
        padding: 0 15px;
    }

    .hero-section {
        padding: 60px 0;
    }

    .hero-section h1,
    .hero-section h2 {
        font-size: 32px;
    }

    .section {
        padding: 50px 0;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Animation effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes bounceIn {

    from,
    20%,
    40%,
    60%,
    80%,
    to {
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }

    0% {
        opacity: 0;
        transform: scale3d(0.3, 0.3, 0.3);
    }

    20% {
        transform: scale3d(1.1, 1.1, 1.1);
    }

    40% {
        transform: scale3d(0.9, 0.9, 0.9);
    }

    60% {
        opacity: 1;
        transform: scale3d(1.03, 1.03, 1.03);
    }

    80% {
        transform: scale3d(0.97, 0.97, 0.97);
    }

    to {
        opacity: 1;
        transform: scale3d(1, 1, 1);
    }
}

@keyframes pulse {
    from {
        transform: scale3d(1, 1, 1);
    }

    50% {
        transform: scale3d(1.05, 1.05, 1.05);
    }

    to {
        transform: scale3d(1, 1, 1);
    }
}

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transition: all 0.6s ease;
}

.animate-on-scroll.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-on-scroll.fade-in-left {
    animation: fadeInLeft 0.8s ease forwards;
}

.animate-on-scroll.fade-in-right {
    animation: fadeInRight 0.8s ease forwards;
}

.animate-on-scroll.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

/* Navigation menu animations */
.main-navigation a {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
    padding: 10px 0;
    display: block;
    position: relative;
    transition: color 0.3s ease;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item a::after {
    width: 100%;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 112, 243, 0.5);
}

/* Mobile menu animations */
.mobile-menu {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-toggle {
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    transform: rotate(90deg);
    box-shadow: 0 4px 12px rgba(0, 112, 243, 0.4);
}

/* Form element animations */
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    position: relative;
    background: var(--light-gray);
    color: var(--text-color);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 112, 243, 0.2);
    transform: translateY(-2px);
}

/* Hide scrollbar */
::-webkit-scrollbar {
    width: 0;
    height: 0;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: transparent;
}

::-webkit-scrollbar-thumb:hover {
    background: transparent;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Loading animation */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(11, 94, 215, 0.25);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

/* Pinkco style homepage sections */
.pinkco-brand-line {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.95;
    margin-bottom: 0.5rem;
}

.pinkco-brand-line--cn {
    font-size: 1.35rem;
    letter-spacing: 0.12em;
    text-transform: none;
}

.pinkco-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
    position: relative;
    z-index: 1;
}

.btn-outline-light {
    display: inline-block;
    border: 2px solid rgba(255, 255, 255, 0.85);
    color: #fff;
    padding: 16px 36px;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s ease, color 0.3s ease;
}

.btn-outline-light:hover {
    background: #fff;
    color: var(--accent-color);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
}

.why-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 28px 24px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--glow);
}

.why-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--text-color);
}

.why-card p {
    color: var(--light-text);
    font-size: 15px;
    line-height: 1.65;
}

.services-grid--six {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.area-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.area-box h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
    color: var(--text-color);
}

.area-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.area-box li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--light-text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.area-box li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
}

.project-cta-box {
    text-align: center;
    margin-top: 48px;
    padding: 28px;
    background: var(--light-gray);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.project-cta-box a {
    display: inline-block;
    margin-top: 12px;
    font-weight: 600;
    font-size: 1.05rem;
}

.clients-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.client-pill {
    padding: 12px 22px;
    background: var(--light-gray);
    border-radius: 999px;
    border: 1px solid var(--border-color);
    color: var(--light-text);
    font-size: 14px;
    font-weight: 500;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}

.testimonial-card h4 {
    font-size: 1.05rem;
    margin-bottom: 12px;
    color: var(--text-color);
}

.testimonial-card p {
    color: var(--light-text);
    font-size: 15px;
    line-height: 1.7;
}

.cta-banner {
    background: var(--gradient);
    color: #fff;
    text-align: center;
    padding: 72px 20px;
    border-radius: 0;
}

.cta-banner h2 {
    font-size: 1.75rem;
    margin-bottom: 12px;
    color: #fff;
}

.cta-banner p {
    font-size: 1.05rem;
    opacity: 0.95;
    max-width: 720px;
    margin: 0 auto;
}

/* Homepage: Company news + Project progress two columns */
.pinkco-feed-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

@media (max-width: 900px) {
    .pinkco-feed-columns {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.pinkco-feed-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pinkco-feed-item {
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
}

.pinkco-feed-item:first-child {
    padding-top: 0;
}

.pinkco-feed-item__link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: var(--text-color);
    font-weight: 600;
}

.pinkco-feed-item__link:hover {
    color: var(--primary-color);
}

.pinkco-feed-item__date {
    font-size: 13px;
    font-weight: 500;
    color: var(--light-text);
}

.pinkco-feed-item__title {
    font-size: 1.05rem;
}

.pinkco-feed-item__excerpt {
    margin-top: 8px;
    font-size: 14px;
    color: var(--light-text);
    line-height: 1.55;
}

.pinkco-feed-more {
    margin-top: 20px;
}

.pinkco-feed-empty {
    color: var(--light-text);
    font-size: 15px;
}

/* News / Portfolio archive */
.pinkco-archive-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pinkco-archive-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 24px;
    padding: 24px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

@media (max-width: 640px) {
    .pinkco-archive-card {
        grid-template-columns: 1fr;
    }
}

.pinkco-archive-card__thumb img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.pinkco-archive-card__date {
    font-size: 13px;
    color: var(--light-text);
    display: block;
    margin-bottom: 8px;
}

.pinkco-archive-card__body h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.pinkco-archive-card__body h3 a {
    color: var(--text-color);
}

.pinkco-archive-card__body h3 a:hover {
    color: var(--primary-color);
}

.pinkco-archive-card__body p {
    color: var(--light-text);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.pinkco-single-article .entry-content {
    font-size: 16px;
    line-height: 1.85;
    color: var(--text-color);
}

.pinkco-single-article .entry-content p {
    margin-bottom: 1rem;
}

/* Company events / Project progress: Media card grid (auto-fit: single item fills width, max ~4 columns) */
.pinkco-media-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 24px;
    align-items: stretch;
}

.pinkco-media-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pinkco-media-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--glow);
}

.pinkco-media-card__frame {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--light-gray);
    overflow: hidden;
}

.pinkco-media-card__embed iframe {
    width: 100%;
    height: 100%;
    min-height: 200px;
    border: 0;
    display: block;
}

.pinkco-media-card__img {
    width: 100%;
    height: 100%;
}

.pinkco-media-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pinkco-media-card__img--poster .pinkco-media-card__play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    pointer-events: none;
}

.pinkco-media-card__poster-fallback {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--light-gray), var(--border-color));
}

.pinkco-media-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--light-text);
    font-size: 14px;
}

.pinkco-media-card__title {
    padding: 14px 16px 18px;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.45;
    margin: 0;
}

.pinkco-single-embed iframe {
    max-width: 100%;
    border-radius: 12px;
}

/* Header toolbar: nav + language */
.header-toolbar {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    justify-content: flex-end;
    min-width: 0;
    position: relative;
}

.header-toolbar .main-navigation {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    min-width: 0;
}

.header-toolbar .language-switcher {
    position: relative;
    z-index: 3;
}

.header-main .container {
    gap: 16px;
}

/* Language switcher */
.language-switcher {
    position: relative;
    flex-shrink: 0;
    z-index: 1002;
}

.language-switcher__toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px 6px 6px;
    border: 1px solid rgba(11, 94, 215, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--text-color);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease, background 0.25s ease;
    font-family: inherit;
    line-height: 1.2;
    box-shadow: 0 2px 8px rgba(11, 94, 215, 0.1);
    overflow: hidden;
    isolation: isolate;
}

.language-switcher__toggle:hover {
    border-color: color-mix(in srgb, var(--lang-accent, var(--primary-color)) 55%, transparent);
    box-shadow: 0 6px 20px rgba(11, 94, 215, 0.16);
    transform: translateY(-1px);
}

.language-switcher.is-open .language-switcher__toggle {
    border-color: var(--lang-accent, var(--primary-color));
    background: #fff;
    box-shadow: 0 8px 24px rgba(11, 94, 215, 0.2);
}

.language-switcher__ring {
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--lang-accent, #0b5ed7), color-mix(in srgb, var(--lang-accent, #0b5ed7) 40%, #0a3d91));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.25s ease;
}

.language-switcher.is-open .language-switcher__ring {
    opacity: 1;
}

.language-switcher__toggle::after {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: #fff;
    z-index: -1;
}

.language-switcher__globe {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--lang-accent, #0b5ed7) 0%, color-mix(in srgb, var(--lang-accent, #0b5ed7) 70%, #0a3d91) 100%);
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 2px 8px color-mix(in srgb, var(--lang-accent, #0b5ed7) 35%, transparent);
}

.language-switcher__globe svg {
    display: block;
    width: 15px;
    height: 15px;
}

.language-switcher__code {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--lang-accent, var(--primary-color));
    line-height: 1;
    min-width: 22px;
    text-align: center;
}

.language-switcher__caret {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: var(--lang-accent, var(--primary-color));
    opacity: 0.75;
    transition: transform 0.25s cubic-bezier(0.34, 1.2, 0.64, 1);
    flex-shrink: 0;
}

.language-switcher__caret svg {
    width: 14px;
    height: 14px;
}

.language-switcher.is-open .language-switcher__caret {
    transform: rotate(180deg);
    opacity: 1;
}

.language-switcher__panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(280px, calc(100vw - 32px));
    padding: 0;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(11, 94, 215, 0.12);
    border-radius: 16px;
    box-shadow:
        0 4px 6px rgba(11, 94, 215, 0.04),
        0 20px 48px rgba(11, 94, 215, 0.14),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    overflow: hidden;
    transform-origin: top right;
    animation: languagePanelIn 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.language-switcher__panel[hidden] {
    display: none !important;
}

@keyframes languagePanelIn {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.language-switcher__panel-head {
    padding: 14px 16px 10px;
    border-bottom: 1px solid rgba(11, 94, 215, 0.08);
    background: linear-gradient(180deg, rgba(11, 94, 215, 0.06) 0%, transparent 100%);
}

.language-switcher__panel-title {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.02em;
}

.language-switcher__panel-hint {
    display: block;
    margin-top: 3px;
    font-size: 11px;
    font-weight: 400;
    color: var(--light-text);
    line-height: 1.4;
}

.language-switcher__menu {
    margin: 0;
    padding: 8px;
    list-style: none;
}

.language-switcher__item {
    margin: 0 0 4px;
}

.language-switcher__item:last-child {
    margin-bottom: 0;
}

.language-switcher__option {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 11px 12px;
    border-radius: 12px;
    border: 1px solid transparent;
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.language-switcher__option:hover {
    background: #f0f5ff;
    border-color: rgba(11, 94, 215, 0.12);
    transform: translateX(2px);
}

.language-switcher__flag {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    flex-shrink: 0;
    background: linear-gradient(145deg, color-mix(in srgb, var(--item-accent, #0b5ed7) 18%, #fff) 0%, color-mix(in srgb, var(--item-accent, #0b5ed7) 8%, #f4f6f9) 100%);
    border: 1px solid color-mix(in srgb, var(--item-accent, #0b5ed7) 22%, transparent);
    position: relative;
    overflow: hidden;
}

.language-switcher__flag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--item-accent, #0b5ed7);
    border-radius: 10px 0 0 10px;
}

.lang-item-zh .language-switcher__flag::after {
    content: '中';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    color: var(--item-accent, #e53935);
}

.lang-item-en .language-switcher__flag::after {
    content: 'EN';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: var(--item-accent, #0b5ed7);
    letter-spacing: 0.04em;
}

.lang-item-ms .language-switcher__flag::after {
    content: 'MS';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: var(--item-accent, #1b8f4e);
    letter-spacing: 0.04em;
}

.language-switcher__meta {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.language-switcher__row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.language-switcher__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    padding: 2px 5px;
    border-radius: 4px;
    background: rgba(11, 94, 215, 0.08);
    color: var(--primary-color);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    flex-shrink: 0;
}

.language-switcher__label {
    font-weight: 600;
    font-size: 14px;
    line-height: 1.3;
}

.language-switcher__native {
    font-size: 11px;
    color: var(--light-text);
    line-height: 1.3;
}

.language-switcher__check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    flex-shrink: 0;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.language-switcher__check svg {
    width: 14px;
    height: 14px;
}

.language-switcher__item.is-active .language-switcher__option {
    background: linear-gradient(135deg, color-mix(in srgb, var(--item-accent, #0b5ed7) 12%, #fff) 0%, color-mix(in srgb, var(--item-accent, #0b5ed7) 5%, #f8fafc) 100%);
    border-color: color-mix(in srgb, var(--item-accent, #0b5ed7) 28%, transparent);
    box-shadow: 0 2px 10px color-mix(in srgb, var(--item-accent, #0b5ed7) 12%, transparent);
    cursor: default;
}

.lang-item-zh.is-active .language-switcher__option {
    --item-accent: #e53935;
}

.lang-item-en.is-active .language-switcher__option {
    --item-accent: #0b5ed7;
}

.lang-item-ms.is-active .language-switcher__option {
    --item-accent: #1b8f4e;
}

.language-switcher__item.is-active .language-switcher__badge {
    background: var(--item-accent, var(--primary-color));
    color: #fff;
}

.language-switcher__item.is-active .language-switcher__check {
    opacity: 1;
    transform: scale(1);
    background: var(--item-accent, var(--primary-color));
    color: #fff;
}

.language-switcher.is-lang-zh {
    --lang-accent: #e53935;
}

.language-switcher.is-lang-en {
    --lang-accent: #0b5ed7;
}

.language-switcher.is-lang-ms {
    --lang-accent: #1b8f4e;
}

.language-switcher.is-lang-id {
    --lang-accent: #c62828;
}

.lang-item-id .language-switcher__flag::after {
    content: 'ID';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: var(--item-accent, #c62828);
    letter-spacing: 0.04em;
}

.lang-item-id.is-active .language-switcher__option {
    --item-accent: #c62828;
}

/* Contact form notices */
.enterprise-notice {
    max-width: 800px;
    margin: 0 auto 1.5rem;
    padding: 14px 18px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.enterprise-notice--error {
    background: #fff5f5;
    border-color: #f5c2c2;
    color: #b42318;
}

.enterprise-notice--success {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #166534;
}

/* WPML footer language switcher disabled in theme; hide if still output elsewhere */
.wpml-ls-statics-footer {
    display: none !important;
}

.language-switcher__backdrop {
    display: none;
}

@media (max-width: 1024px) {
    body.language-switcher-open:not(.language-switcher-open--mobile) {
        overflow: hidden;
    }

    .language-switcher--mobile {
        position: relative;
        z-index: 10003;
        flex-shrink: 0;
    }

    .language-switcher--mobile .language-switcher__toggle {
        padding: 4px 10px 4px 4px;
        gap: 6px;
        min-height: 40px;
        box-shadow: 0 2px 6px rgba(11, 94, 215, 0.12);
    }

    .language-switcher--mobile .language-switcher__globe {
        width: 32px;
        height: 32px;
    }

    .language-switcher--mobile .language-switcher__globe svg {
        width: 14px;
        height: 14px;
    }

    .language-switcher--mobile .language-switcher__code {
        font-size: 12px;
        min-width: 20px;
    }

    .language-switcher--mobile .language-switcher__caret {
        width: 16px;
        height: 16px;
    }

    /* Mobile: compact dropdown under toggle (not bottom sheet) */
    .language-switcher--mobile .language-switcher__backdrop {
        display: none !important;
    }

    .language-switcher--mobile .language-switcher__panel-head,
    .language-switcher--mobile .language-switcher__flag,
    .language-switcher--mobile .language-switcher__label,
    .language-switcher--mobile .language-switcher__native {
        display: none !important;
    }

    .language-switcher--mobile .language-switcher__panel {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        left: auto;
        bottom: auto;
        width: 132px;
        max-width: none;
        max-height: none;
        margin: 0;
        z-index: 10004;
        transform-origin: top right;
        animation: languagePanelIn 0.22s cubic-bezier(0.22, 1, 0.36, 1);
        overflow: visible;
        padding: 0;
    }

    .language-switcher--mobile .language-switcher__menu {
        padding: 6px;
    }

    .language-switcher--mobile .language-switcher__item {
        margin: 0 0 4px;
    }

    .language-switcher--mobile .language-switcher__item:last-child {
        margin-bottom: 0;
    }

    .language-switcher--mobile .language-switcher__option {
        padding: 10px 12px;
        justify-content: center;
        gap: 0;
        min-height: 40px;
    }

    .language-switcher--mobile .language-switcher__meta {
        flex: 0;
    }

    .language-switcher--mobile .language-switcher__row {
        justify-content: center;
    }

    .language-switcher--mobile .language-switcher__badge {
        min-width: 40px;
        padding: 4px 10px;
        font-size: 12px;
        letter-spacing: 0.08em;
    }

    .language-switcher--mobile .language-switcher__check {
        display: none !important;
    }

    .language-switcher--mobile .language-switcher__item.is-active .language-switcher__option {
        box-shadow: none;
    }
}

/* Mobile nav from wp_nav_menu */
.mobile-primary-menu,
.mobile-primary-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-primary-menu li {
    list-style: none;
}

.mobile-primary-menu a {
    display: block;
    color: var(--text-color);
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    padding: 14px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: var(--light-gray);
    border: 1px solid var(--border-color);
}

.mobile-primary-menu a:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: #eef4ff;
}
