/* ============================================
   BizEase - 企业出海服务网站样式
   ============================================ */

/* CSS Variables */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary-color: #059669;
    --accent-color: #f59e0b;
    --bg-color: #f8fafc;
    --bg-dark: #0f172a;
    --text-color: #1e293b;
    --text-light: #64748b;
    --text-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.2);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* 新增服务详情分类样式 */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}
.section-header h2 {
    font-size: 32px;
    margin-bottom: 12px;
    color: #333;
}
.section-header p {
    font-size: 16px;
    color: #666;
}
.service-detail-section {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f0f0f0;
}
.section-title i {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
}
.section-title h3 {
    font-size: 22px;
    color: #333;
    margin: 0;
}
.service-sub-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.service-sub-item {
    display: block;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid transparent;
    transition: all 0.3s;
}
.service-sub-item:hover {
    background: #fff;
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}
.service-sub-item h4 {
    font-size: 15px;
    color: #333;
    margin-bottom: 6px;
}
.service-sub-item p {
    font-size: 13px;
    color: #888;
    margin: 0;
}
@media (max-width: 1024px) {
    .service-sub-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .service-sub-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .service-detail-section {
        padding: 20px;
    }
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-white);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--text-white);
}

.btn-secondary:hover {
    background: #047857;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

.btn-outline-white {
    background: transparent;
    color: var(--text-white);
    border-color: var(--text-white);
}

.btn-outline-white:hover {
    background: var(--text-white);
    color: var(--primary-color);
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn:disabled,
.btn.is-loading {
    cursor: not-allowed;
    opacity: 0.78;
    transform: none;
    box-shadow: none;
}

.btn-loading-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-top-color: #fff;
    border-radius: 50%;
    animation: button-spin 0.7s linear infinite;
}

@keyframes button-spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   Top Bar
   ============================================ */
.top-bar {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 10px 0;
    font-size: 0.875rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 25px;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-info i {
    color: var(--accent-color);
}

.top-bar-right {
    display: flex;
    gap: 15px;
}

.top-bar-right a:hover {
    color: var(--accent-color);
}

/* ============================================
   Header
   ============================================ */
.header {
    background: var(--text-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 45px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-sub {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* Navigation */
.nav {
    flex: 1;
    margin-left: 50px;
}

.nav-list {
    display: flex;
    gap: 35px;
}

.nav-list > li > a {
    font-weight: 500;
    color: var(--text-color);
    padding: 8px 0;
    position: relative;
}

.nav-list > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-list > li > a:hover::after,
.nav-list > li > a.active::after {
    width: 100%;
}

.nav-list > li > a:hover,
.nav-list > li > a.active {
    color: var(--primary-color);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-white);
    min-width: 180px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 10px 0;
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-color);
    font-size: 0.95rem;
}

.dropdown-menu a:hover {
    background: var(--bg-color);
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

.header-consult-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: var(--text-white);
    padding: 10px 20px;
    border-radius: var(--radius);
    font-weight: 500;
}

.header-consult-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-bg-animation {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0c2340 100%);
    position: relative;
    overflow: hidden;
}

.city-silhouette {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
    padding: 0 20px;
}

.building {
    background: linear-gradient(to top, #1a365d, #2d4a7c);
    width: 5%;
    border-radius: 2px 2px 0 0;
    position: relative;
    animation: buildingGlow 3s ease-in-out infinite;
}

.building::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    right: 10%;
    bottom: 20%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 8px,
        rgba(251, 191, 36, 0.3) 8px,
        rgba(251, 191, 36, 0.3) 10px
    );
}

.building:nth-child(odd) {
    animation-delay: 0.5s;
}

.building:nth-child(3n) {
    animation-delay: 1s;
}

@keyframes buildingGlow {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.marina-bay {
    position: relative;
    width: 12%;
    height: 55% !important;
}

.tower {
    position: absolute;
    bottom: 30%;
    left: 50%;
    transform: translateX(-50%);
    width: 20%;
    height: 70%;
    background: linear-gradient(to top, #fbbf24, #f59e0b);
    border-radius: 2px;
    animation: towerGlow 2s ease-in-out infinite;
}

@keyframes towerGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(251, 191, 36, 0.5); }
    50% { box-shadow: 0 0 40px rgba(251, 191, 36, 0.8); }
}

.hotel-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 35%;
    background: linear-gradient(to top, #1e40af, #3b82f6);
    border-radius: 4px;
}

.hotel-body::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    right: 10%;
    bottom: 10%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 6px,
        rgba(255, 255, 255, 0.4) 6px,
        rgba(255, 255, 255, 0.4) 8px
    );
}

.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, white, transparent),
        radial-gradient(2px 2px at 40px 70px, white, transparent),
        radial-gradient(1px 1px at 90px 40px, white, transparent),
        radial-gradient(2px 2px at 130px 80px, white, transparent),
        radial-gradient(1px 1px at 160px 120px, white, transparent);
    background-size: 200px 200px;
    animation: twinkle 4s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.water-reflection {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20%;
    background: linear-gradient(to bottom, rgba(37, 99, 235, 0.3), rgba(37, 99, 235, 0.6));
    animation: waterShimmer 3s ease-in-out infinite;
}

@keyframes waterShimmer {
    0%, 100% { opacity: 0.5; transform: scaleY(1); }
    50% { opacity: 0.8; transform: scaleY(1.1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.5);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--text-white);
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease 0.4s both;
}

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

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-white);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    z-index: 10;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ============================================
   Services Section
   ============================================ */
.services-section {
    background: var(--text-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-card {
    background: var(--bg-color);
    padding: 35px 25px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--text-white);
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.service-link {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.service-link:hover {
    gap: 10px;
}

/* ============================================
   Certification Highlight
   ============================================ */
.cert-highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-white);
}

.cert-highlight-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.cert-highlight-text {
    flex: 1;
}

.badge {
    display: inline-block;
    background: var(--accent-color);
    color: var(--bg-dark);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.cert-highlight-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cert-highlight-text p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 25px;
    line-height: 1.8;
}

.cert-features {
    margin-bottom: 30px;
}

.cert-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 1.05rem;
}

.cert-features i {
    color: #34d399;
}

.cert-btns {
    display: flex;
    gap: 15px;
}

.cert-highlight-stats {
    display: flex;
    gap: 40px;
}

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

.stat-num {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* ============================================
   Why Us Section
   ============================================ */
.why-us {
    background: var(--bg-color);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.why-us-item {
    background: var(--text-white);
    padding: 35px 25px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
}

.why-us-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.why-us-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), #10b981);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.why-us-icon i {
    font-size: 1.5rem;
    color: var(--text-white);
}

.why-us-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.why-us-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ============================================
   Stats Section
   ============================================ */
.stats-section {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.stat-box i {
    font-size: 2.5rem;
    color: var(--primary-light);
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent-color);
}

.stat-text {
    font-size: 1rem;
    opacity: 0.9;
}

/* ============================================
   Cases Section
   ============================================ */
.cases-section {
    background: var(--text-white);
}

.cases-carousel {
    overflow: hidden;
    margin: 0 -20px;
    padding: 0 20px;
}

.cases-track {
    display: flex;
    width: max-content;
    animation: cases-scroll 20s linear infinite;
}

.cases-group {
    display: flex;
    gap: 25px;
    padding-right: 25px;
}

@keyframes cases-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.cases-carousel:hover .cases-track {
    animation-play-state: paused;
}

.case-card {
    flex: 0 0 350px;
    background: var(--bg-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    display: flex;
    gap: 20px;
}

.case-logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.case-logo i {
    font-size: 1.5rem;
    color: var(--text-white);
}

.case-content h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.case-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.case-tags {
    display: flex;
    gap: 10px;
}

.case-tags span {
    background: var(--primary-color);
    color: var(--text-white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.cases-cta {
    text-align: center;
    margin-top: 40px;
}

/* ============================================
   Articles Section
   ============================================ */
.articles-section {
    background: var(--bg-color);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.article-card {
    background: var(--text-white);
    border-radius: var(--radius-lg);
    padding: 25px;
    display: flex;
    gap: 20px;
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.article-date {
    text-align: center;
    padding: 15px;
    background: var(--primary-color);
    color: var(--text-white);
    border-radius: var(--radius);
    min-width: 70px;
}

.article-date .day {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.article-date .month {
    font-size: 0.75rem;
}

.article-content h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.article-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-link {
    color: var(--primary-color);
    font-weight: 500;
}

.article-link:hover {
    color: var(--primary-dark);
}

.articles-cta {
    text-align: center;
    margin-top: 40px;
}

/* ============================================
   Partners Section
   ============================================ */
.partners-section {
    background: var(--text-white);
    padding: 60px 0;
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.partner-logo {
    width: 100px;
    height: 100px;
    background: var(--bg-color);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.partner-logo:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow);
}

.partner-logo i {
    font-size: 2.5rem;
    color: var(--text-light);
}

/* ============================================
   Consult Section
   ============================================ */
.consult-section {
    background: linear-gradient(135deg, #1e3a5f, #0f172a);
    color: var(--text-white);
}

.consult-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.consult-info h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.consult-info > p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.consult-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.consult-method {
    display: flex;
    align-items: center;
    gap: 20px;
}

.consult-method i {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent-color);
}

.consult-method .method-title {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
}

.consult-method .method-value {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Form */
.consult-form {
    background: var(--text-white);
    padding: 40px;
    border-radius: var(--radius-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 1rem;
    color: var(--text-color);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.captcha-input {
    position: relative;
}

.captcha-input > input {
    padding-right: 132px;
}

.captcha-refresh {
    position: absolute;
    top: 5px;
    right: 5px;
    bottom: 5px;
    width: 112px;
    padding: 0;
    overflow: hidden;
    background: #f8fafc;
    border: 0;
    border-left: 1px solid var(--border-color);
    border-radius: 0 calc(var(--radius) - 2px) calc(var(--radius) - 2px) 0;
    cursor: pointer;
}

.captcha-refresh img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.captcha-refresh:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 1px;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-submit-status {
    min-height: 20px;
    margin: 10px 0 0;
    color: var(--text-light);
    font-size: 0.875rem;
    text-align: center;
}

.form-submit-status.is-success {
    color: var(--secondary-color);
}

.form-submit-status.is-error {
    color: #dc2626;
}

/* Material Downloads */
.material-download-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 0;
    border-top: 1px solid rgba(230, 81, 0, 0.16);
}

.material-download-item:first-of-type {
    border-top: 0;
}

.material-download-item > p {
    color: #9a4a00;
    font-size: 0.9rem;
    overflow-wrap: anywhere;
}

.material-download-button {
    width: 100%;
    margin: 0;
    background: #ff9800;
    color: #fff;
    border: 0;
}

.material-download-button:hover:not(:disabled) {
    background: #f57c00;
    color: #fff;
}

.material-download-button:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.material-download-modal {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.68);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.material-download-modal.show {
    opacity: 1;
    visibility: visible;
}

.material-download-dialog {
    position: relative;
    width: min(100%, 560px);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 34px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
    transform: translateY(12px);
    transition: transform 0.2s ease;
}

.material-download-modal.show .material-download-dialog {
    transform: translateY(0);
}

.material-download-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    cursor: pointer;
}

.material-download-heading {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    padding-right: 34px;
}

.material-download-heading h3 {
    margin-bottom: 5px;
    color: var(--text-dark);
    font-size: 1.45rem;
}

.material-download-heading p {
    color: var(--text-light);
    overflow-wrap: anywhere;
}

.material-download-icon {
    display: flex;
    flex: 0 0 52px;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #fff7e6;
    color: #f57c00;
    font-size: 1.4rem;
}

.material-download-dialog .form-group:last-of-type {
    margin-bottom: 22px;
}

@media (max-width: 600px) {
    .material-download-dialog {
        padding: 28px 20px 22px;
    }

    .material-download-dialog .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo .logo-main {
    display: block;
    font-size: 1.5rem;
    color: var(--text-white);
}

.footer-logo .logo-sub {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

.footer-col p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.footer-social a:hover {
    background: var(--primary-color);
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-white);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a,
.footer-col ul li i {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: var(--primary-light);
}

.footer-col ul li i {
    margin-right: 10px;
    color: var(--accent-color);
}

.footer-bottom {
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a:hover {
    color: var(--primary-light);
}

/* ============================================
   Floating Buttons
   ============================================ */
.floating-btns {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.floating-btn-item {
    position: relative;
    display: flex;
}

.floating-btn {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border: 0;
    padding: 0;
    cursor: pointer;
}

.floating-btn:hover,
.floating-btn:focus-visible {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.floating-btn-popover {
    position: absolute;
    top: 50%;
    right: calc(100% + 12px);
    z-index: 1;
    background: var(--text-white);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(8px, -50%);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.floating-btn-popover::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -8px;
    border-width: 8px 0 8px 8px;
    border-style: solid;
    border-color: transparent transparent transparent var(--text-white);
    transform: translateY(-50%);
}

.floating-btn-popover::after {
    content: '';
    position: absolute;
    top: 0;
    right: -12px;
    width: 12px;
    height: 100%;
}

.floating-btn-item:hover .floating-btn-popover,
.floating-btn-item:focus-within .floating-btn-popover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(0, -50%);
}

.floating-wechat-popover {
    padding: 8px;
}

.floating-wechat-popover img {
    display: block;
    width: 150px;
    height: 150px;
    max-width: none;
    object-fit: contain;
}

.floating-phone-popover {
    padding: 10px 16px;
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
}

.back-to-top {
    opacity: 0;
    visibility: hidden;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   Toast Notification
   ============================================ */
.toast {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: var(--text-white);
    padding: 15px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 9999;
}

.toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.toast i {
    font-size: 1.3rem;
    color: var(--secondary-color);
}

/* ============================================
   Page Header
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--bg-dark), #1e3a5f);
    color: var(--text-white);
    padding: 80px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.breadcrumb {
    margin-top: 20px;
    font-size: 0.95rem;
}

.breadcrumb a {
    color: rgba(255,255,255,0.7);
}

.breadcrumb a:hover {
    color: var(--primary-light);
}

.breadcrumb span {
    margin: 0 10px;
    color: rgba(255,255,255,0.5);
}

/* ============================================
   Service Detail Page
   ============================================ */
.service-detail-section {
    padding: 60px 0;
    background: var(--text-white);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.service-detail-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.service-detail-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-detail-content ul {
    margin-bottom: 30px;
}

.service-detail-content li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.service-detail-content li i {
    color: var(--secondary-color);
    margin-top: 4px;
}

.service-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--bg-color);
    border-radius: var(--radius);
}

.benefit-item i {
    font-size: 2rem;
    color: var(--primary-color);
}

.benefit-item h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.benefit-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* Sidebar */
.service-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: var(--bg-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 25px;
}

.sidebar-card h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

.sidebar-card .price {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
}

.sidebar-card .price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-light);
}

.service-features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.service-features-list li:last-child {
    border-bottom: none;
}

.service-features-list i {
    color: var(--secondary-color);
}

/* ============================================
   Certifications Page
   ============================================ */
.cert-filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 12px 30px;
    background: var(--text-white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-white);
}

.cert-tabs {
    display: flex;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 40px;
}

.cert-tab {
    padding: 15px 30px;
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--text-light);
    position: relative;
    transition: var(--transition);
}

.cert-tab.active {
    color: var(--primary-color);
}

.cert-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.cert-card {
    background: var(--text-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.cert-card-header {
    height: 150px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.cert-card-header i {
    font-size: 4rem;
    color: var(--text-white);
    opacity: 0.8;
}

.cert-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: var(--bg-dark);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.cert-card-body {
    padding: 25px;
}

.cert-card-body h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.cert-card-body p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.cert-meta {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.cert-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.cert-price {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 15px;
}

.cert-price span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-light);
}

.cert-card-footer {
    padding: 15px 25px;
    background: var(--bg-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cert-card-footer a {
    color: var(--primary-color);
    font-weight: 500;
}

.cert-card-footer a:hover {
    color: var(--primary-dark);
}

/* Certification Detail */
.cert-detail-section {
    padding: 60px 0;
    background: var(--text-white);
}

.cert-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.cert-detail-main {
    background: var(--bg-color);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.cert-detail-main h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.cert-detail-main p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}

.cert-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.cert-info-item {
    background: var(--text-white);
    padding: 20px;
    border-radius: var(--radius);
    text-align: center;
}

.cert-info-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.cert-info-item h4 {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.cert-info-item span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.cert-section {
    margin-top: 40px;
}

.cert-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.cert-section ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.cert-section li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: var(--text-white);
    border-radius: var(--radius);
}

.cert-section li i {
    color: var(--secondary-color);
}

/* ============================================
   Articles & Cases Pages
   ============================================ */
.articles-list,
.cases-list {
    padding: 60px 0;
    background: var(--text-white);
}

.articles-list-grid,
.cases-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.article-list-card,
.case-list-card {
    background: var(--bg-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.article-list-card:hover,
.case-list-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.article-list-card .article-img,
.case-list-card .case-img {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-list-card .article-img i,
.case-list-card .case-img i {
    font-size: 4rem;
    color: var(--text-white);
    opacity: 0.7;
}

.article-list-card .article-body,
.case-list-card .case-body {
    padding: 25px;
}

.article-list-card h3,
.case-list-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.article-list-card p,
.case-list-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.article-meta,
.case-meta {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.article-meta span,
.case-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ============================================
   Team Page
   ============================================ */
.team-section {
    padding: 60px 0;
    background: var(--text-white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    text-align: center;
}

.team-avatar {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.team-avatar i {
    font-size: 4rem;
    color: var(--text-white);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.team-card .position {
    color: var(--primary-color);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.team-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.team-social a {
    width: 35px;
    height: 35px;
    background: var(--bg-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.team-social a:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

.team-social a.disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

/* ============================================
   About Page
   ============================================ */
.about-section {
    padding: 60px 0;
    background: var(--text-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
}

.about-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.about-feature i {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.about-image {
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.about-image.has-image {
    height: auto;
    background: transparent;
}

.about-image img {
    display: block;
    width: 100%;
    height: auto;
}

.about-image i {
    font-size: 8rem;
    color: var(--text-white);
    opacity: 0.5;
}

/* ============================================
   Contact Page
   ============================================ */
.contact-section {
    padding: 60px 0;
    background: var(--bg-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

.contact-info-card {
    background: var(--text-white);
    border-radius: var(--radius-lg);
    padding: 36px;
}

.contact-info-card h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-info-item i {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-info-item p {
    color: var(--text-light);
}

.contact-map {
    height: 200px;
    background: var(--bg-dark);
    border-radius: var(--radius-lg);
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.contact-map.has-image {
    height: auto;
    background: transparent;
}

.contact-map img {
    display: block;
    width: 100%;
    height: auto;
}

.contact-map i {
    font-size: 3rem;
    color: rgba(255,255,255,0.5);
}

.contact-form-card {
    background: var(--text-white);
    border-radius: var(--radius-lg);
    padding: 36px;
}

.contact-form-card h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

/* ============================================
   Pagination
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    background: var(--text-white);
    color: var(--text-color);
    transition: var(--transition);
}

.pagination a:hover,
.pagination .active {
    background: var(--primary-color);
    color: var(--text-white);
}

/* ============================================
   Admin Login
   ============================================ */
.admin-login-page {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--bg-dark), #1e3a5f);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    background: var(--text-white);
    border-radius: var(--radius-lg);
    padding: 50px;
    width: 100%;
    max-width: 450px;
    box-shadow: var(--shadow-xl);
}

.login-logo {
    text-align: center;
    margin-bottom: 40px;
}

.login-logo .logo-main {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 700;
}

.login-logo p {
    color: var(--text-light);
    margin-top: 10px;
}

.login-form .form-group {
    margin-bottom: 25px;
}

.login-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-color);
}

.login-form .input-group {
    position: relative;
}

.login-form .input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.login-form .input-group input {
    padding-left: 45px;
}

.login-form .remember-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.login-form .remember-row label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    color: var(--text-light);
    cursor: pointer;
}

.login-form .forgot-link {
    color: var(--primary-color);
    font-size: 0.95rem;
}

.login-form .forgot-link:hover {
    color: var(--primary-dark);
}

/* ============================================
   Admin Layout
   ============================================ */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background: var(--bg-dark);
    color: var(--text-white);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    overflow-y: auto;
    z-index: 1000;
}

.admin-sidebar-header {
    padding: 25px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.admin-sidebar-header .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-white);
}

.admin-sidebar-header .logo i {
    font-size: 1.8rem;
    color: var(--primary-light);
}

.admin-sidebar-header .logo span {
    font-size: 1.3rem;
    font-weight: 600;
}

.admin-nav {
    padding: 20px 0;
}

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.admin-nav-item:hover,
.admin-nav-item.active {
    background: rgba(255,255,255,0.1);
    color: var(--text-white);
}

.admin-nav-item i {
    width: 20px;
    font-size: 1.1rem;
}

.admin-nav-section {
    padding: 20px 20px 10px;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    letter-spacing: 1px;
}

.admin-nav-divider {
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 10px 0;
}

.admin-content {
    flex: 1;
    margin-left: 260px;
    background: var(--bg-color);
    min-height: 100vh;
}

.admin-header {
    background: var(--text-white);
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.admin-header-left h1 {
    font-size: 1.5rem;
    color: var(--text-color);
}

.admin-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.admin-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-user-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
}

.admin-user-info span {
    display: block;
}

.admin-user-info .name {
    font-weight: 500;
    color: var(--text-color);
}

.admin-user-info .role {
    font-size: 0.85rem;
    color: var(--text-light);
}

.admin-header-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--primary-color);
    color: var(--text-white);
    border-radius: var(--radius);
    font-size: 0.95rem;
}

.admin-header-btn:hover {
    background: var(--primary-dark);
}

.admin-page-content {
    padding: 30px;
}

/* Admin Cards */
.admin-card {
    background: var(--text-white);
    border-radius: var(--radius-lg);
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-sm);
}

.admin-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.admin-card-header h3 {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-card-header h3 i {
    color: var(--primary-color);
}

.admin-card-actions {
    display: flex;
    gap: 10px;
}

/* Admin Table */
.admin-table-wrapper {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.admin-table th {
    background: var(--bg-color);
    font-weight: 600;
    color: var(--text-color);
    white-space: nowrap;
}

.admin-table tr:hover {
    background: var(--bg-color);
}

.admin-table .checkbox-col {
    width: 50px;
}

.admin-table .actions-col {
    width: 150px;
}

.admin-table input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.status-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.status-badge.active {
    background: rgba(5, 150, 105, 0.1);
    color: var(--secondary-color);
}

.status-badge.inactive {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.action-btns {
    display: flex;
    gap: 8px;
}

.action-btns button,
.action-btns a {
    width: 32px;
    height: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    background: var(--text-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.action-btns button:hover,
.action-btns a:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.action-btns .delete-btn:hover {
    border-color: #ef4444;
    color: #ef4444;
}

/* Country Tabs */
.country-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.country-tab {
    padding: 12px 28px;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    color: #64748b;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}

.country-tab:hover {
    border-color: #3b82f6;
    color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.country-tab.active {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    border-color: #2563eb;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    transform: translateY(-2px);
}

.country-service {
    display: none;
}

.country-service.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

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

/* Service Sub Items */
.service-sub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.service-sub-item {
    background: white;
    padding: 24px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    text-decoration: none;
}

.service-sub-item:hover {
    border-color: #2563eb;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.12);
}

.service-sub-item h4 {
    color: #1e293b;
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 600;
}

.service-sub-item p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Admin Form */
.admin-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.admin-form-group {
    margin-bottom: 20px;
}

.admin-form-group.full-width {
    grid-column: 1 / -1;
}

.admin-form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-color);
}

.admin-form-group label .required {
    color: #ef4444;
}

.admin-form-group input,
.admin-form-group select,
.admin-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition);
}

.admin-form-group input:focus,
.admin-form-group select:focus,
.admin-form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.admin-form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.admin-form-hint {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 5px;
}

/* File Upload */
.file-upload {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.file-upload:hover {
    border-color: var(--primary-color);
}

.file-upload i {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.file-upload p {
    color: var(--text-light);
    margin-bottom: 5px;
}

.file-upload span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Admin Form Actions */
.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

/* Search Bar */
.search-bar {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.search-input {
    flex: 1;
    position: relative;
}

.search-input input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 1rem;
}

.search-input i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.filter-select {
    min-width: 150px;
}

/* ============================================
   Dashboard Stats
   ============================================ */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--text-white);
    border-radius: var(--radius-lg);
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-card-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-card-icon.blue {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
}

.stat-card-icon.green {
    background: rgba(5, 150, 105, 0.1);
    color: var(--secondary-color);
}

.stat-card-icon.orange {
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-color);
}

.stat-card-icon.red {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.stat-card-info h4 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
}

.stat-card-info p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ============================================
   Form Controls Demo Page
   ============================================ */
.form-controls-section {
    padding: 60px 0;
    background: var(--text-white);
}

.form-controls-container {
    max-width: 900px;
    margin: 0 auto;
}

.form-controls-group {
    background: var(--bg-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 30px;
}

.form-controls-group h3 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

.form-controls-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.form-controls-row.full {
    grid-template-columns: 1fr;
}

.form-control-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-control-item label {
    font-weight: 500;
    color: var(--text-color);
}

.form-control-item label .required {
    color: #ef4444;
}

.form-control-item input,
.form-control-item select,
.form-control-item textarea {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control-item input:focus,
.form-control-item select:focus,
.form-control-item textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Radio & Checkbox */
.radio-group,
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.radio-item,
.checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.radio-item input,
.checkbox-item input {
    width: 18px;
    height: 18px;
}

/* Range Slider */
.range-slider {
    padding: 10px 0;
}

.range-slider input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: var(--border-color);
    outline: none;
}

.range-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
}

/* Switch */
.switch-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.switch {
    position: relative;
    width: 50px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border-color);
    transition: 0.3s;
    border-radius: 26px;
}

.switch-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.switch input:checked + .switch-slider {
    background-color: var(--primary-color);
}

.switch input:checked + .switch-slider:before {
    transform: translateX(24px);
}

/* Color Picker */
.color-picker {
    display: flex;
    align-items: center;
    gap: 15px;
}

.color-picker input[type="color"] {
    width: 50px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    cursor: pointer;
}

/* File Input */
.file-input-wrapper {
    position: relative;
}

.file-input-wrapper input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-input-preview {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.file-input-preview:hover {
    border-color: var(--primary-color);
}

.file-input-preview i {
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

/* Progress Bar */
.progress-item {
    margin-bottom: 20px;
}

.progress-item label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.progress-bar {
    height: 10px;
    background: var(--border-color);
    border-radius: 5px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 5px;
    transition: width 0.3s ease;
}

/* Form Controls Actions */
.form-controls-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .header-consult-btn {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .cert-highlight-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cert-highlight-stats {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .consult-content {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .admin-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .admin-sidebar.show {
        transform: translateX(0);
    }
    
    .admin-content {
        margin-left: 0;
    }
    
    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-detail-grid,
    .cert-detail-grid,
    .contact-grid,
    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .articles-list-grid,
    .cases-list-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-section,
    .contact-section {
        padding: 40px 0;
    }

    .about-grid,
    .contact-grid {
        gap: 24px;
    }

    .about-image {
        height: 280px;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 24px;
    }

    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 15px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid,
    .cert-grid,
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .why-us-grid {
        grid-template-columns: 1fr;
    }
    
    .cert-features {
        text-align: left;
    }
    
    .cert-btns {
        flex-direction: column;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .cases-track {
        animation: none;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .articles-list-grid,
    .cases-list-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .cert-info-grid,
    .cert-section ul,
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .cert-tabs {
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .cert-tabs .cert-tab {
        flex-shrink: 0;
    }
    
    .admin-form-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .admin-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .admin-table-wrapper {
        overflow-x: auto;
    }
    
    .admin-table {
        min-width: 800px;
    }
    
    .form-controls-row {
        grid-template-columns: 1fr;
    }
    
    .search-bar {
        flex-direction: column;
    }
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--text-white);
    z-index: 999;
    padding: 80px 20px 20px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-nav.show {
    transform: translateX(0);
}

.mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav-list li {
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-list a {
    display: block;
    padding: 15px 0;
    font-size: 1.1rem;
    color: var(--text-color);
}

.mobile-nav-list .mobile-dropdown-menu a {
    padding-left: 20px;
    font-size: 1rem;
    color: var(--text-light);
}
