/* ========================================
   YISAINUO Global Stylesheet
   ======================================== */

/* Base Styles */
* { font-family: 'Poppins', sans-serif; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

/* ========================================
   Header & Navigation
   ======================================== */

/* Header */
#header { transition: all 0.3s ease; }
#header.scrolled {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Header mobile responsive */
@media (max-width: 767px) {
    #header .container {
        padding-left: 16px;
        padding-right: 16px;
    }
    #header .flex.items-center {
        height: 60px;
    }
    #header .header-logo {
        font-size: 1.25rem;
    }
    #header .header-logo img {
        max-height: 36px;
    }
}

/* Mobile menu */
.mobile-menu {
    transition: transform 0.3s ease;
}

@media (max-width: 1023px) {
    .mobile-menu {
        top: 60px;
        transform: translateY(-120%);
        height: calc(100vh - 60px);
    }
    .mobile-menu.open {
        transform: translateY(0);
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .mobile-menu {
        top: 80px;
        height: calc(100vh - 80px);
    }
}

/* Mobile menu overlay */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 39;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile menu item styling */
@media (max-width: 1023px) {
    #mobileMenu nav {
        padding: 20px 24px;
    }
    #mobileMenu .mobile-link,
    #mobileMenu .mobile-submenu-toggle {
        font-size: 16px;
        padding: 14px 0;
        border-bottom: 1px solid #f0f0f0;
    }
    #mobileMenu .mobile-submenu a {
        padding: 10px 16px;
        font-size: 14px;
        border-bottom: 1px solid #f5f5f5;
    }
    #mobileMenu .mobile-submenu a:last-child {
        border-bottom: none;
    }
}

/* Mobile submenu */
.mobile-submenu {
    display: none;
    padding-left: 16px;
    padding-top: 8px;
    padding-bottom: 4px;
}
.mobile-submenu.open {
    display: block;
}
.mobile-submenu a {
    display: block;
    padding: 8px 12px;
    font-size: 14px;
    color: #666;
    border-bottom: 1px solid #f0f0f0;
}
.mobile-submenu a:hover {
    color: #0066cc;
}
.mobile-submenu a i {
    width: 16px;
    margin-right: 6px;
    color: #0066cc;
}
.has-submenu > a::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 6px;
    transition: transform 0.2s;
}
.has-submenu.open > a::after {
    transform: rotate(180deg);
}

/* Dropdown menu */
.nav-item { position: relative; }
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 220px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}
.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: #1a1a2e;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}
.dropdown-menu a:hover {
    background: #e6f0ff;
    color: #0066cc;
    padding-left: 24px;
}
.dropdown-menu a i {
    width: 18px;
    color: #0066cc;
}

/* Language switcher */
.lang-switcher {
    position: relative;
    cursor: pointer;
}
.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    min-width: 120px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 100;
}
.lang-switcher:hover .lang-dropdown,
.lang-switcher.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
}
.lang-dropdown a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 13px;
    color: #1a1a2e;
    transition: background 0.2s;
}
.lang-dropdown a:hover {
    background: #e6f0ff;
}

/* ========================================
   Fixed Social Bar & Mobile Navigation
   ======================================== */

/* Fixed social bar */
.social-bar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 40;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.social-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: #fff;
    font-size: 20px;
    transition: all 0.3s ease;
    position: relative;
}
.social-bar a:hover { opacity: 0.8; }
.social-bar a .tooltip {
    position: absolute;
    right: 100%;
    background: #1a1a2e;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    margin-right: 8px;
}
.social-bar a:hover .tooltip {
    opacity: 1;
    visibility: visible;
}
/* 微信二维码 tooltip 内的图片：解除 Tailwind 预置 max-width:100% 导致的 0×0 坍塌，按原始尺寸显示 */
.social-bar a .tooltip img {
    max-width: none;
    display: block;
}
.social-bar .wechat { background: #07c160; }
.social-bar .email { background: #0066cc; }
.social-bar .whatsapp { background: #25d366; }
.social-bar .phone { background: #ff6600; }

/* Mobile bottom nav */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 45;
    display: none;
}
.mobile-bottom-nav .nav-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 0;
}
.mobile-bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #666;
    transition: color 0.2s;
    padding: 4px 12px;
}
.mobile-bottom-nav a i { font-size: 20px; }
.mobile-bottom-nav a:hover,
.mobile-bottom-nav a.active { color: #0066cc; }

/* ========================================
   Common Components
   ======================================== */

/* Breadcrumb */
.breadcrumb a { transition: color 0.2s; }
.breadcrumb a:hover { color: #ff6600; }

/* Section title */
.section-title::after {
    content: '';
    display: block;
    width: 60px; height: 4px;
    background: linear-gradient(90deg, #0066cc, #ff6600);
    margin: 16px auto 0;
    border-radius: 2px;
}

/* CTA section */
.cta-bg {
    background: linear-gradient(135deg, #0066cc 0%, #004999 50%, #1a1a2e 100%);
    position: relative;
    overflow: hidden;
}
.cta-bg::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(255,102,0,0.2) 0%, transparent 70%);
    border-radius: 50%;
}

/* Scroll animation */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}
.fade-in-up.visible { opacity: 1; transform: translateY(0); }

/* ========================================
   Page Hero (Subpages)
   ======================================== */

.page-hero {
    background: linear-gradient(135deg, rgba(0,51,102,0.9) 0%, rgba(0,102,204,0.75) 100%),
                url('../images/mika-baumeister-PtabTe6iJ_8-unsplash.jpg') center/cover no-repeat;
    padding: 160px 0 80px;
    position: relative;
}

/* ========================================
   Index Page - Hero Swiper
   ======================================== */

.hero-swiper { height: 600px; }
.hero-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    position: relative;
}
.hero-swiper .swiper-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,51,102,0.85) 0%, rgba(0,102,204,0.6) 100%);
}
.hero-swiper .swiper-pagination-bullet {
    width: 12px; height: 12px;
    background: #fff; opacity: 0.5;
}
.hero-swiper .swiper-pagination-bullet-active { opacity: 1; background: #ff6600; }
.hero-swiper .swiper-button-next, .hero-swiper .swiper-button-prev {
    color: #fff; padding: 20px;
}
.contact_form textarea{height: 120px;}

/* Mobile hero responsive */
@media (max-width: 767px) {
    .hero-swiper { height: 420px; }
    .hero-swiper .swiper-button-next,
    .hero-swiper .swiper-button-prev { display: none; }

    /* Hero text responsive */
    .hero-swiper h1 {
        font-size: 1.75rem !important;
        line-height: 1.3;
        margin-bottom: 16px !important;
    }
    .hero-swiper p {
        font-size: 0.95rem !important;
        margin-bottom: 24px !important;
    }
    .hero-swiper .flex {
        flex-direction: column;
        width: 100%;
    }
    .hero-swiper .flex a {
        width: 100%;
        text-align: center;
        padding: 14px 24px !important;
        font-size: 0.95rem !important;
    }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-swiper { height: 500px; }
    .hero-swiper h1 {
        font-size: 2.5rem !important;
    }
}

/* CTA section responsive */
@media (max-width: 767px) {
    .cta-bg {
        padding: 32px 0 !important;
    }
    .cta-bg .flex-col {
        text-align: center;
    }
    .cta-bg h2 {
        font-size: 1.5rem !important;
    }
    .cta-bg p {
        font-size: 0.95rem !important;
    }
    .cta-bg .flex-wrap {
        justify-content: center;
        width: 100%;
    }
    .cta-bg .flex-wrap a {
        flex: 1;
        min-width: 140px;
        text-align: center;
        padding: 12px 20px !important;
        font-size: 0.9rem !important;
    }
}

/* ========================================
   Index Page - Product Card
   ======================================== */

.product-card { transition: all 0.4s ease; }
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,102,204,0.15);
}
.product-card:hover .product-img { transform: scale(1.08); }
.product-img { transition: transform 0.5s ease; }

/* ========================================
   Index Page - Solution Card
   ======================================== */

.solution-card {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    cursor: pointer;
}
.solution-card .solution-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.solution-card:hover .solution-img {
    transform: scale(1.05);
}
.solution-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.15) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    transition: all 0.4s ease;
    z-index: 1;
}
.solution-overlay .solution-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 0;
    transition: all 0.4s ease;
}
.solution-card:hover .solution-overlay {
    background: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: flex-start;
}
.solution-card:hover .solution-overlay .solution-title {
    color: #ff6600;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 16px;
}
.solution-card .solution-hover-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease;
}
.solution-card:hover .solution-hover-content {
    max-height: 200px;
    opacity: 1;
}
.solution-card .solution-hover-content .solution-desc {
    color: rgba(255,255,255,0.85);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 20px;
}
.solution-card .solution-hover-content .view-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ff6600;
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 10px 22px;
    border-radius: 4px;
    transition: background 0.3s ease;
}
.solution-card .solution-hover-content .view-more-btn:hover {
    background: #cc5200;
}

/* ========================================
   Index Page - Video Card
   ======================================== */

.video-card { transition: all 0.3s ease; }
.video-card:hover { transform: translateY(-4px); }
.video-card:hover .video-overlay { opacity: 1; }
.video-overlay {
    transition: opacity 0.3s ease;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 100%);
}

/* ========================================
   Index Page - Feature Card
   ======================================== */

.feature-card { transition: all 0.3s ease; }
.feature-card:hover {
    background: linear-gradient(135deg, #0066cc 0%, #004999 100%);
    color: #fff;
    transform: translateY(-5px);
}
.feature-card:hover .feature-icon { color: #ff6600; }
.feature-card:hover h4 { color: #fff; }
.feature-card:hover p { color: rgba(255,255,255,0.9); }

/* ========================================
   Index Page - Step Card
   ======================================== */

.step-card { transition: all 0.3s ease; }
.step-card:hover .step-number {
    background: #ff6600; color: #fff;
    transform: scale(1.1);
}
.step-number { transition: all 0.3s ease; }

/* ========================================
   Index Page - Partner Swiper
   ======================================== */

.partner-swiper .swiper-slide {
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
}
.partner-swiper .swiper-slide img {
    transition: all 0.3s ease;
}
.partner-swiper .swiper-slide:hover img {
    filter: grayscale(0); opacity: 1; transform: scale(1.1);
}

/* ========================================
   Index Page - Video Swiper Navigation
   ======================================== */

.video-swiper .swiper-button-next,
.video-swiper .swiper-button-prev {
    color: #0066cc;
    background: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}
.video-swiper .swiper-button-next:hover,
.video-swiper .swiper-button-prev:hover {
    background: #0066cc;
    color: #fff;
    transform: scale(1.1);
}
.video-swiper .swiper-button-next::after,
.video-swiper .swiper-button-prev::after {
    font-size: 18px;
    font-weight: bold;
}

/* ========================================
   Index Page - Video Modal
   ======================================== */

#videoModal {
    transition: opacity 0.3s ease;
}
#videoModal.show {
    display: flex !important;
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ========================================
   Index Page - Tablet Responsive
   ======================================== */

@media (min-width: 768px) and (max-width: 1023px) {
    .hero-swiper { height: 500px; }

    /* Products and solutions grid */
    .grid.grid-cols-1.sm\:grid-cols-2.lg\:grid-cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid.grid-cols-1.md\:grid-cols-2.lg\:grid-cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Features grid */
    #features .grid.lg\:grid-cols-2 {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* About grid */
    #about .grid.lg\:grid-cols-2 {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Footer grid */
    footer .grid.md\:grid-cols-2.lg\:grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

/* ========================================
   Index Page - Mobile Responsive
   ======================================== */

@media (max-width: 767px) {
    .mobile-bottom-nav { display: block; }
    body { padding-bottom: 70px; }
    .social-bar { display: none; }

    /* Section spacing */
    section { padding-top: 40px !important; padding-bottom: 40px !important; }
    #home { padding-top: 0 !important; }

    /* Contact grid */
    #contact .grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    #contact .flex.items-center {
        padding: 12px;
        background: rgba(255,255,255,0.05);
        border-radius: 12px;
    }

    /* Back to top button */
    #backToTop {
        bottom: 80px;
        right: 16px;
        width: 44px;
        height: 44px;
    }

    /* Video modal */
    #videoModal .relative {
        margin: 16px;
        max-width: calc(100% - 32px);
    }
    #videoModal button.absolute {
        top: -40px;
    }

    /* Product and solution cards */
    .product-card .overflow-hidden,
    .solution-card .overflow-hidden {
        height: 180px;
    }

    /* Feature cards */
    .feature-card {
        padding: 20px;
    }
    .feature-card .feature-icon {
        font-size: 24px;
    }

    /* Step cards */
    .step-card {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* ========================================
   Index Page - Section Responsive
   ======================================== */

/* Section title responsive */
@media (max-width: 767px) {
    .section-title {
        font-size: 1.5rem !important;
    }
    .section-title::after {
        width: 50px;
        margin-top: 12px;
    }
}

/* Footer responsive */
@media (max-width: 767px) {
    footer {
        padding-top: 32px !important;
        padding-bottom: 24px !important;
    }
    footer .grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    footer h4 {
        font-size: 1.1rem !important;
        margin-bottom: 16px !important;
    }
    footer p {
        font-size: 0.85rem;
    }
    footer ul {
        font-size: 0.85rem;
    }
    footer .flex.gap-3 {
        margin-top: 16px !important;
    }
    footer .flex.gap-3 a {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}

/* About section responsive */
@media (max-width: 767px) {
    #about .grid {
        gap: 24px;
    }
    #about h2 {
        font-size: 1.5rem !important;
    }
    #about p {
        font-size: 0.9rem;
    }
}

/* Features section responsive */
@media (max-width: 767px) {
    #features .space-y-20 > div {
        gap: 24px;
    }
    #features h3 {
        font-size: 1.4rem !important;
    }
    #features .grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Video swiper responsive */
@media (max-width: 767px) {
    .video-swiper .swiper-button-next,
    .video-swiper .swiper-button-prev {
        width: 36px;
        height: 36px;
    }
    .video-swiper .swiper-button-next::after,
    .video-swiper .swiper-button-prev::after {
        font-size: 14px;
    }
    .video-card .h-56 {
        height: 180px;
    }
}

/* ========================================
   About Page Styles
   ======================================== */

/* Counter animation */
.counter-box { transition: all 0.3s ease; }
.counter-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0,102,204,0.15);
}

/* Timeline */
.timeline-item { position: relative; }
.timeline-item::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 48px;
    bottom: -32px;
    width: 2px;
    background: #e5e7eb;
}
.timeline-item:last-child::before { display: none; }
.timeline-dot {
    width: 42px; height: 42px;
    background: #0066cc;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,102,204,0.3);
    transition: all 0.3s ease;
}
.timeline-item:hover .timeline-dot {
    background: #ff6600;
    transform: scale(1.15);
    box-shadow: 0 4px 16px rgba(255,102,0,0.4);
}

/* Value card */
.value-card { transition: all 0.3s ease; }
.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.1);
}
.value-card:hover .value-icon {
    background: #ff6600;
    color: #fff;
}
.value-icon { transition: all 0.3s ease; }

/* Team card */
.team-card { transition: all 0.3s ease; }
.team-card:hover { transform: translateY(-5px); }
.team-card:hover img { transform: scale(1.05); }
.team-card img { transition: transform 0.5s ease; }

/* About intro stats */
.stat-icon {
    width: 64px; height: 64px;
    background: rgba(0,102,204,0.08);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 12px;
    transition: all 0.3s ease;
}
.stat-icon i { color: #0066cc; font-size: 24px; }
.stat-box:hover .stat-icon {
    background: #0066cc;
}
.stat-box:hover .stat-icon i { color: #fff; }

/* History slider */
.history-bg {
    background: linear-gradient(135deg, rgba(0,51,102,0.85) 0%, rgba(0,102,204,0.6) 100%),
                url('images/geri-sakti-g9_KP2fvFII-unsplash.jpg') center/cover no-repeat;
    position: relative;
}
.historySwiper .swiper-slide { padding: 40px 0; }
.historySwiper .swiper-pagination-bullet {
    width: 10px; height: 10px;
    background: rgba(255,255,255,0.5);
    opacity: 1;
}
.historySwiper .swiper-pagination-bullet-active {
    background: #ff6600;
    width: 28px;
    border-radius: 5px;
}
.historySwiper .swiper-button-prev,
.historySwiper .swiper-button-next {
    color: #fff;
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    backdrop-filter: blur(4px);
}
.historySwiper .swiper-button-prev:hover,
.historySwiper .swiper-button-next:hover {
    background: rgba(255,102,0,0.8);
}
.historySwiper .swiper-button-prev::after,
.historySwiper .swiper-button-next::after { font-size: 18px; }

/* Advantage cards */
.advantage-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    min-height: 320px;
}
.advantage-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    transition: transform 0.5s ease;
}
.advantage-card:hover img { transform: scale(1.05); }
.advantage-card .adv-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    z-index: 1;
}
.advantage-card .adv-icon {
    width: 48px; height: 48px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
}
.advantage-card .adv-icon i { color: #fff; font-size: 22px; }
.advSwiper .swiper-slide { padding: 0 8px; }
.advSwiper .swiper-button-prev,
.advSwiper .swiper-button-next {
    width: 40px; height: 40px;
    background: rgba(0,102,204,0.9);
    border-radius: 50%;
    color: #fff;
}
.advSwiper .swiper-button-prev:hover,
.advSwiper .swiper-button-next:hover {
    background: #ff6600;
}
.advSwiper .swiper-button-prev::after,
.advSwiper .swiper-button-next::after { font-size: 16px; }

/* Service section */
.service-item { transition: all 0.3s ease; }
.service-item:hover { transform: translateX(8px); }
.service-item:hover .service-icon-box {
    background: #ff6600;
    color: #fff;
}
.service-icon-box {
    width: 44px; height: 44px;
    background: rgba(0,102,204,0.1);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.service-icon-box i { color: #0066cc; font-size: 18px; transition: color 0.3s; }
.service-item:hover .service-icon-box i { color: #fff; }

/* Testimonial slider */
.testimonial-bg {
    background: linear-gradient(135deg, rgba(0,51,102,0.88) 0%, rgba(0,102,204,0.7) 100%),
                url('images/minku-kang-aCniNTiIFd8-unsplash.jpg') center/cover no-repeat;
}
.testimonialSwiper .swiper-pagination-bullet {
    width: 10px; height: 10px;
    background: rgba(255,255,255,0.4);
    opacity: 1;
}
.testimonialSwiper .swiper-pagination-bullet-active {
    background: #ff6600;
    width: 28px;
    border-radius: 5px;
}

/* About page responsive */
@media (max-width: 767px) {
    .page-hero { padding: 120px 0 60px; }
    .page-hero h1 { font-size: 1.75rem !important; }
    .page-hero p { font-size: 0.95rem !important; }
}

/* ========================================
   Contact Page Styles
   ======================================== */

/* Page hero with bottom gradient */
.contact-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent, #fff);
}

/* Contact info card */
.contact-info-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
    transition: all 0.4s ease;
    text-align: center;
}
.contact-info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0,102,204,0.12);
}
.contact-info-card .icon-wrap {
    width: 64px; height: 64px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}
.contact-info-card:hover .icon-wrap {
    transform: scale(1.1);
}

/* Form */
.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 15px;
    color: #1a1a2e;
    background: #fff;
    transition: all 0.3s ease;
    outline: none;
}
.form-input:focus {
    border-color: #0066cc;
    box-shadow: 0 0 0 4px rgba(0,102,204,0.1);
}
.form-input::placeholder { color: #9ca3af; }
textarea.form-input { resize: vertical; min-height: 140px; }

/* Map */
.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* ========================================
   News Detail Page Styles
   ======================================== */

/* Article typography */
.article-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}
.article-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}
.article-content p {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 1.25rem;
    font-size: 1rem;
}
.article-content ul, .article-content ol {
    color: #4b5563;
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}
.article-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}
.article-content blockquote {
    border-left: 4px solid #ff6600;
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: #f9fafb;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #374151;
}
.article-content img {
    border-radius: 16px;
    margin: 2rem 0;
    width: 100%;
}
.article-content .highlight-box {
    background: linear-gradient(135deg, #e6f0ff 0%, #f0f7ff 100%);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 2rem 0;
    border-left: 4px solid #0066cc;
}
.article-content .highlight-box h4 {
    color: #0066cc;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Share buttons */
.share-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
}
.share-btn:hover { transform: translateY(-3px); }
.share-fb { background: #1877f2; }
.share-tw { background: #1da1f2; }
.share-li { background: #0a66c2; }
.share-wa { background: #25d366; }
.share-copy { background: #6b7280; }

/* Related card */
.related-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
    transition: all 0.4s ease;
}
.related-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,102,204,0.1);
}
.related-card img {
    transition: transform 0.5s ease;
}
.related-card:hover img {
    transform: scale(1.05);
}

/* Table of contents */
.toc-link {
    display: block;
    padding: 6px 0 6px 16px;
    font-size: 13px;
    color: #6b7280;
    border-left: 2px solid #e5e7eb;
    transition: all 0.2s ease;
}
.toc-link:hover, .toc-link.active {
    color: #0066cc;
    border-left-color: #0066cc;
}

/* ========================================
   News List Page Styles
   ======================================== */

/* Featured article */
.featured-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    cursor: pointer;
}
.featured-card img {
    transition: transform 0.6s ease;
}
.featured-card:hover img {
    transform: scale(1.05);
}
.featured-card .featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
}
.featured-card .featured-tag {
    position: absolute;
    top: 24px; left: 24px;
    background: #ff6600;
    color: #fff;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* News card */
.news-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
    transition: all 0.4s ease;
    cursor: pointer;
}
.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0,102,204,0.12);
    border-color: transparent;
}
.news-card .news-img-wrap {
    overflow: hidden;
    position: relative;
}
.news-card .news-img-wrap img {
    transition: transform 0.5s ease;
}
.news-card:hover .news-img-wrap img {
    transform: scale(1.08);
}
.news-card .news-category {
    position: absolute;
    top: 16px; left: 16px;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
    z-index: 2;
}
.cat-product { background: #e6f0ff; color: #0066cc; }
.cat-industry { background: #fff3e6; color: #ff6600; }
.cat-event { background: #e6ffe6; color: #00a854; }
.cat-tech { background: #f0e6ff; color: #7b2ff7; }

/* Horizontal card */
.news-card-h {
    display: flex;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
    transition: all 0.4s ease;
    cursor: pointer;
}
.news-card-h:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,102,204,0.1);
}
.news-card-h .news-img-wrap {
    width: 200px;
    flex-shrink: 0;
    overflow: hidden;
}
.news-card-h .news-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.news-card-h:hover .news-img-wrap img {
    transform: scale(1.08);
}

/* Filter tabs */
.filter-tab {
    padding: 8px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    background: #f5f5f5;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.filter-tab:hover { color: #0066cc; background: #e6f0ff; }
.filter-tab.active {
    color: #fff;
    background: #0066cc;
    border-color: #0066cc;
}

/* Newsletter */
.newsletter-bg {
    background: linear-gradient(135deg, #0066cc 0%, #004999 50%, #1a1a2e 100%);
    position: relative;
    overflow: hidden;
}
.newsletter-bg::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(255,102,0,0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.newsletter-bg::after {
    content: '';
    position: absolute;
    bottom: -30%; left: -5%;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    border-radius: 50%;
}

/* Pagination */
.page-btn {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid #e5e7eb;
    color: #666;
    cursor: pointer;
}
.page-btn:hover {
    border-color: #0066cc;
    color: #0066cc;
}
.page-btn.active {
    background: #0066cc;
    border-color: #0066cc;
    color: #fff;
}

/* News page responsive */
@media (max-width: 767px) {
    .featured-card .featured-overlay { padding: 20px; }
    .featured-card .featured-tag { top: 12px; left: 12px; }
    .news-card-h { flex-direction: column; }
    .news-card-h .news-img-wrap { width: 100%; height: 200px; }
}

/* ========================================
   Product Detail Page Styles
   ======================================== */

/* Product gallery */
.gallery-main {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: zoom-in;
}
.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-main:hover img {
    transform: scale(1.03);
}
.gallery-thumb {
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}
.gallery-thumb.active {
    border-color: #0066cc;
    box-shadow: 0 4px 12px rgba(0,102,204,0.3);
}
.gallery-thumb:hover {
    border-color: #0066cc;
}
.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product info */
.product-info-card {
    transition: all 0.3s ease;
}

/* Spec table */
.spec-table {
    width: 100%;
    font-size: 14px;
    border-collapse: collapse;
}
.spec-table thead tr {
    background: #0066cc;
    color: #fff;
}
.spec-table thead th {
    padding: 16px 24px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
}
.spec-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s ease;
}
.spec-table tbody tr:nth-child(even) {
    background: #f9fafb;
}
.spec-table tbody tr:hover {
    background: #e6f0ff;
}
.spec-table tbody td {
    padding: 16px 24px;
}
.spec-table tbody td:first-child {
    font-weight: 500;
    color: #1a1a2e;
}
.spec-table tbody td:last-child {
    color: #4b5563;
}

/* Tab navigation */
.tab-btn {
    transition: all 0.3s ease;
    position: relative;
}
.tab-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #0066cc;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.tab-btn.active {
    color: #0066cc;
    font-weight: 600;
}
.tab-btn.active::after {
    transform: scaleX(1);
}
.tab-btn:hover {
    color: #0066cc;
}

/* Related product card */
.related-card { transition: all 0.4s ease; }
.related-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,102,204,0.15);
}
.related-card:hover .related-img { transform: scale(1.08); }
.related-img { transition: transform 0.5s ease; }

/* Feature highlight */
.feature-highlight {
    transition: all 0.3s ease;
}
.feature-highlight:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

/* Image zoom modal */
.zoom-modal {
    transition: opacity 0.3s ease;
}
.zoom-modal.show {
    display: flex !important;
}

/* Swiper custom styles */
.relatedSwiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ccc;
    opacity: 1;
    transition: all 0.3s ease;
}
.relatedSwiper .swiper-pagination-bullet-active {
    background: #0066cc;
    width: 28px;
    border-radius: 5px;
}
.relatedSwiper .swiper-button-prev,
.relatedSwiper .swiper-button-next {
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    color: #0066cc;
    transition: all 0.3s ease;
}
.relatedSwiper .swiper-button-prev:hover,
.relatedSwiper .swiper-button-next:hover {
    background: #0066cc;
    color: #fff;
    box-shadow: 0 4px 16px rgba(0,102,204,0.3);
}
.relatedSwiper .swiper-button-prev::after,
.relatedSwiper .swiper-button-next::after {
    font-size: 18px;
    font-weight: bold;
}
.relatedSwiper .swiper-button-prev { left: -10px; }
.relatedSwiper .swiper-button-next { right: -10px; }
@media (max-width: 767px) {
    .relatedSwiper .swiper-button-prev,
    .relatedSwiper .swiper-button-next {
        display: none;
    }
}

/* Product badge */
.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}
.badge-hot { background: #ef4444; }
.badge-new { background: #22c55e; }
.badge-popular { background: #0066cc; }

/* ========================================
   Products List Page Styles
   ======================================== */

/* Sidebar category nav */
.sidebar-nav {
    position: sticky;
    top: 100px;
}
.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 14px;
    color: #1a1a2e;
    transition: all 0.3s ease;
    margin-bottom: 6px;
    border: 2px solid transparent;
}
.sidebar-link:hover {
    background: #e6f0ff;
    color: #0066cc;
}
.sidebar-link.active {
    background: #0066cc;
    color: #fff;
    border-color: #0066cc;
}
.sidebar-link.active .sidebar-icon {
    background: rgba(255,255,255,0.2);
    color: #fff;
}
.sidebar-link .sidebar-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #e6f0ff;
    color: #0066cc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.sidebar-link .sidebar-count {
    margin-left: auto;
    font-size: 12px;
    opacity: 0.6;
}

/* Mobile sidebar */
@media (max-width: 1023px) {
    .sidebar-nav {
        position: static;
    }
    .sidebar-nav-inner {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 8px;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }
    .sidebar-nav-inner::-webkit-scrollbar {
        height: 4px;
    }
    .sidebar-nav-inner::-webkit-scrollbar-thumb {
        background: #0066cc;
        border-radius: 4px;
    }
    .sidebar-link {
        white-space: nowrap;
        margin-bottom: 0;
        padding: 10px 16px;
        font-size: 13px;
        flex-shrink: 0;
    }
    .sidebar-link .sidebar-count {
        display: none;
    }
}

/* Filter tabs for products */
.filter-tab {
    transition: all 0.3s ease;
    cursor: pointer;
}
.filter-tab:hover {
    background: #e6f0ff;
    color: #0066cc;
}
.filter-tab.active {
    background: #0066cc;
    color: #fff;
}

/* Product detail card */
.product-detail-card {
    transition: all 0.3s ease;
}
.product-detail-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

/* Products page responsive */
@media (min-width: 768px) and (max-width: 1023px) {
    .grid.grid-cols-1.sm\:grid-cols-2.lg\:grid-cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid.grid-cols-2.lg\:grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Product image overlay */
.product-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
}
.product-card:hover .product-overlay {
    opacity: 1;
}

/* ========================================
   Solutions Page Styles
   ======================================== */

/* Solutions page specific solution card */
.solution-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.solution-card .solution-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.solution-card:hover .solution-img {
    transform: scale(1.05);
}
.solution-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.15) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    transition: all 0.4s ease;
    z-index: 1;
}
.solution-overlay .solution-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 0;
    transition: all 0.4s ease;
}
.solution-card:hover .solution-overlay {
    background: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: flex-start;
}
.solution-card:hover .solution-overlay .solution-title {
    color: #ff6600;
    font-weight: 700;
    margin-bottom: 16px;
}
.solution-card .solution-hover-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease;
}
.solution-card:hover .solution-hover-content {
    max-height: 200px;
    opacity: 1;
}
.solution-card .solution-hover-content .solution-desc {
    color: rgba(255,255,255,0.85);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 20px;
}
.solution-card .solution-hover-content .view-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ff6600;
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 10px 22px;
    border-radius: 4px;
    transition: background 0.3s ease;
}
.solution-card .solution-hover-content .view-more-btn:hover {
    background: #cc5200;
}

/* Solutions page responsive */
@media (max-width: 767px) {
    .solution-card {
        height: 240px !important;
    }
    .solution-overlay {
        padding: 16px;
    }
    .solution-overlay .solution-title {
        font-size: 0.9rem;
    }
}

/* Solutions filter tabs */
.filter-tab {
    transition: all 0.3s ease;
    position: relative;
}
.filter-tab.active {
    color: #0066cc;
    font-weight: 600;
}
.filter-tab:hover {
    color: #0066cc;
}

/* ========================================
   Videos Page Styles
   ======================================== */

/* Video card enhanced */
.video-card { transition: all 0.4s ease; }
.video-card:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(0,0,0,0.12); }
.video-card:hover .video-overlay { opacity: 1; }
.video-card:hover .video-thumb img { transform: scale(1.05); }
.video-thumb img { transition: transform 0.5s ease; }
.video-overlay {
    transition: opacity 0.3s ease;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 100%);
}
.play-btn {
    width: 56px; height: 56px;
    background: rgba(255,102,0,0.95);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(255,102,0,0.4);
    transition: all 0.3s ease;
}
.video-card:hover .play-btn {
    transform: scale(1.15);
    box-shadow: 0 6px 28px rgba(255,102,0,0.6);
}

/* Featured video */
.featured-video {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}
.featured-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.featured-video:hover img { transform: scale(1.03); }
.featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    transition: all 0.4s ease;
}
.featured-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px; height: 80px;
    background: rgba(255,102,0,0.95);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 32px rgba(255,102,0,0.5);
    transition: all 0.3s ease;
}
.featured-video:hover .featured-play {
    transform: translate(-50%, -50%) scale(1.15);
}

/* Videos filter tabs */
.filter-tab {
    transition: all 0.3s ease;
}
.filter-tab.active {
    background: #0066cc;
    color: #fff;
}
.filter-tab:hover:not(.active) {
    background: #e6f0ff;
    color: #0066cc;
}

/* Video Modal Animation */
#videoModal {
    transition: opacity 0.3s ease;
}
#videoModal.show {
    display: flex !important;
    animation: fadeIn 0.3s ease;
}

/* Videos page responsive */
@media (max-width: 767px) {
    .featured-overlay { padding: 20px; }
    .featured-play { width: 60px; height: 60px; }
    .featured-play i { font-size: 20px !important; }
}

/* Video duration badge */
.video-duration {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

/* Video category badge */
.video-category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0,102,204,0.9);
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    z-index: 2;
}

@media (max-width: 767px) {
    .page-hero {
        background-position: center center !important;
        background-size: cover !important;
    }
}
