/* 首页样式 —— 抽取自 home_new_israel.aspx 的内联 <style>。
   已剔除登录/注册/找回密码弹窗等被删 DOM 对应的死规则
   （逐条选择器交给浏览器 querySelectorAll 实测，多视口 + 强制状态类）。*/

/* 首页样式 —— 原先内联在 home_new_israel.aspx 的 <style> 块里，
   静态化时原样抽取到这里，未做任何改动。 */

/* Modern Design System Override */
:root {
    --primary-gradient: linear-gradient(135deg, #1a73e8 0%, #104991 100%);
    --hero-gradient: linear-gradient(135deg, #196fa6 0%, #1a73e8 50%, #104991 100%);
    --primary-color: #1a73e8;
    --primary-dark: #104991;
    --primary-light: #196fa6;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(255, 255, 255, 0.18);
}

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

body {
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif !important;
    color: #1e293b !important;
    overflow-x: hidden;
    background: #f8fafc;
}

/* Modern Header with Glass Morphism */
.modern-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.header-brand {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    transition: transform 0.3s ease;
}

.header-brand:hover {
    transform: scale(1.05);
}

.header-brand b {
    font-weight: 900;
}

.btn-login-modern {
    background: rgba(26, 115, 232, 0.08);
    color: var(--primary-color);
    border: 1.5px solid rgba(26, 115, 232, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.btn-login-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn-login-modern:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(26, 115, 232, 0.25);
    color: white;
}

.btn-login-modern:hover::before {
    opacity: 1;
}

.btn-login-modern:active {
    transform: translateY(0);
}

.btn-login-modern i {
    font-size: 0.85rem;
}

/* Hero Section - Full Screen with Particles */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--hero-gradient);
    padding-top: 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(26, 115, 232, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(16, 73, 145, 0.2) 0%, transparent 50%);
    animation: gradientShift 15s ease infinite;
}

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

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    max-width: 1200px;
    padding: 0 2rem;
}

.hero-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out;
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 400;
    margin-bottom: 3rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
    line-height: 1.6;
}

.hero-cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.btn-hero-primary {
    background: white;
    color: var(--primary-color);
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    display: inline-block;
}

.btn-hero-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
    color: var(--primary-color);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-4px);
    color: white;
}

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

/* Data Visualization Section */

/* 现代宽屏Modal设计 - 侧边栏布局 */

/* Close Button - Modern Minimalist */

/* Signup modal close button adjustment */

/* Password Toggle Button */

/* Form group needs relative positioning for password toggle */

/* Flexbox Layout - Sidebar + Content */

/* Left Sidebar - Method Selection */

/* Method Selection Buttons */

/* Social Divider */

/* Large WeChat Button in Sidebar */

/* Right Content Area - Forms */

/* Signup modal specific spacing */

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

/* Signup modal title spacing */

/* Modern Form Elements - Wide */

/* Signup modal form spacing */

/* SMS Input Wrapper */

/* SMS Quick Time Countdown */

/* Forgot Password Link - Right Aligned */

/* Wide Submit Button */

/* Button Wrapper for Spinner */

/* Loading Spinner */

/* Page Transition Overlay */

/* Success checkmark animation */

/* Error Message Styles */

/* Terms Text */

/* Responsive */
@media (max-width: 768px) {
    

    /* Mobile header adjustments */
    .modern-header {
        padding: 0.75rem 0;
    }

    .modern-header .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .header-brand {
        font-size: 1.25rem;
    }

    /* Language switcher mobile - make it visible and compact */
    .lang-switcher,
    .lang-switcher.language,
    button.lang-switcher,
    #langToggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        padding: 0.4rem 0.6rem !important;
        font-size: 0.75rem !important;
        gap: 0.35rem !important;
        background: rgba(26, 115, 232, 0.08) !important;
        border: 1.5px solid rgba(26, 115, 232, 0.2) !important;
        border-radius: 6px !important;
        color: var(--primary-color) !important;
    }

    .lang-switcher i,
    #langToggle i {
        font-size: 0.75rem !important;
        color: var(--primary-color) !important;
    }

    .lang-switcher .lang-text,
    #langToggle .lang-text {
        font-size: 0.7rem !important;
        color: var(--primary-color) !important;
        font-weight: 600 !important;
    }

    /* Login button mobile */
    .btn-login-modern {
        padding: 0.4rem 0.75rem;
        font-size: 0.75rem;
        gap: 0.35rem;
    }

    .btn-login-modern i {
        font-size: 0.7rem;
    }

    .btn-login-modern span {
        display: none;
    }

    /* Header right side gap */
    .modern-header .d-flex.align-items-center.gap-3 {
        gap: 0.5rem !important;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        text-align: center;
    }

    /* ===== Mobile Login Modal - Compact Design ===== */
    

    

    

    

    /* Remove any extra spacing from modal */
    

    /* Mobile Sidebar - Minimal, fixed height */
    

    

    

    

    /* Method buttons - horizontal row, minimal */
    

    

    

    

    /* Hide social divider and WeChat on mobile sidebar */
    

    /* Mobile close button - more inward */
    

    

    /* Mobile form content - expand to fill space */
    

    

    

    /* Push button and terms to bottom to fill space */
    

    

    

    /* Form elements mobile - tighter spacing */
    

    

    

    

    /* SMS input mobile adjustments */
    

    

    

    /* Submit button mobile */
    

    

    /* Terms text mobile - at bottom */
    

    /* Signup prompt mobile */
    

    /* Checkbox mobile */
    

    

    

    /* Error message mobile */
    

    

    

    

    

    /* Signup modal sidebar adjustments */
    

    

    

    

    /* Forget password modal sidebar */
    

    

    

    /* Password toggle button mobile */
    

    

    /* Forgot link mobile - only if visible */
    

    

        }

/* Extra small mobile devices */

/* Chart Container */
.chart-container {
    background: white;
    border-radius: 1.5rem;
    padding: 2.5rem;
    margin: 2rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    border: 1px solid #e2e8f0;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.chart-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
}

/* Legacy compatibility - keep original styles that don't conflict */

/* Hide old modals, we'll keep them but prefer new design */

/* Registration Modal Specific Styles */

/* Forget Password Modal Footer Text - Same styling as signup */

/* Signup modal checkbox spacing */

/* Forget password modal sidebar info */

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Modern Footer Section */
.modern-footer {
    background: linear-gradient(to bottom, #196fa6 0%, #104991 100%);
    color: #f8fafc;
    padding: 4rem 0 2rem;
    margin-top: 5rem;
    position: relative;
    overflow: hidden;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1a73e8 0%, #104991 50%, #1a73e8 100%);
    background-size: 200% 100%;
    animation: gradientFlow 3s ease infinite;
}

@keyframes gradientFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1200px;
}

/* Footer Brand Column - Hidden */
.footer-brand-col {
    display: none;
}

.footer-brand-col .footer-brand h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 0 0.5rem 0;
    color: white;
    letter-spacing: -0.02em;
}

.footer-brand-col .brand-ai {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 1.5rem 0;
    font-weight: 500;
}

.footer-description {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.social-link:hover {
    background: var(--primary-gradient);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(26, 115, 232, 0.3);
    color: white;
}

/* Footer Columns */
.footer-col {
    text-align: left;
}

.footer-col-title {
    display: none;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    padding: 0.25rem 0;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-links a i {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.9);
    transition: transform 0.3s ease;
}

.footer-links a:hover i {
    transform: translateX(3px);
    color: white;
}

/* QR Codes Column */
.footer-qr-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.qr-codes {
    display: flex;
    gap: 4rem;
    justify-content: flex-end;
}

.qr-item {
    text-align: center;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qr-wrapper {
    background: white;
    border-radius: 1rem;
    padding: 0.625rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 0.75rem;
    overflow: hidden;
    width: 112px;
    height: 112px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(102, 126, 234, 0.2);
}

.qr-code-img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 0.5rem;
    object-fit: contain;
}

.qr-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.3;
    max-width: 112px;
    text-align: center;
}

/* Footer Bottom */
.footer-bottom {
    padding-top: 1.5rem;
    max-width: 1200px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.copyright p {
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.beian-link {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.beian-link:hover {
    color: white;
    text-decoration: underline;
}

.footer-contact-info {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.contact-item {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.contact-item:hover {
    color: white;
}

.contact-item i {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-qr-col {
        max-width: 500px;
        margin: 0 auto;
        align-items: center;
    }

    .qr-codes {
        justify-content: center;
    }

        }

@media (max-width: 768px) {
    .modern-footer {
        padding: 2.5rem 0 1.5rem;
        margin-top: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 1.5rem;
        padding-bottom: 2rem;
    }

    .footer-qr-col {
        grid-column: 1;
    }

    .qr-codes {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .footer-bottom {
        padding-top: 1rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .copyright {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-contact-info {
        flex-direction: column;
        gap: 0.75rem;
    }

        }

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(26, 115, 232, 0.06);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1.5px solid rgba(26, 115, 232, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lang-switcher:hover {
    background: rgba(26, 115, 232, 0.12);
    border-color: rgba(26, 115, 232, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.15);
}

.lang-switcher i {
    font-size: 0.85rem;
}

/* Modal Error Banner */

/* Modern Toast Notification System */

/* Hide SMS Login button, Sign Up prompts, and Forgot Password links */

/* Adjust login methods spacing after removing SMS button */

/* Reduce sidebar width for better balance */

/* Adjust method button sizing */

/* Mobile adjustments */

/* ===================================
   Tech News Section - Modern Timeline Design
   =================================== */
.tech-news-section {
    background: linear-gradient(135deg, #f8fbfd 0%, #ffffff 50%, #f8fbfd 100%);
    padding: 5rem 0 0;
    position: relative;
    overflow: hidden;
}

.tech-news-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.section-title i {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* News Item Container */
.news-item {
    position: relative;
    margin-bottom: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Left accent bar - appears on hover/expand */
.news-indicator {
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 0;
    background: var(--primary-gradient);
    border-radius: 2px;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.news-item:hover .news-indicator {
    height: 100%;
    box-shadow: 0 0 12px rgba(26, 115, 232, 0.3);
}

.news-item.expanded .news-indicator {
    height: 100%;
    width: 5px;
    box-shadow: 0 0 16px rgba(26, 115, 232, 0.4);
}

/* News Card */
.news-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    padding-left: 1.75rem;
    border: 1px solid rgba(26, 115, 232, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    margin-left: 8px;
}

.news-item:hover .news-card {
    box-shadow: 0 8px 24px rgba(26, 115, 232, 0.12);
    border-color: rgba(26, 115, 232, 0.2);
    transform: translateY(-2px);
}

.news-item.expanded .news-card {
    box-shadow: 0 12px 32px rgba(26, 115, 232, 0.18);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* News Header */
.news-header {
    position: relative;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.news-date,
.news-type {
    display: inline-flex;
    align-items: center;
    font-size: 0.85rem;
    color: var(--muted-text);
    font-weight: 500;
}

.news-date i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.news-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.news-item:hover .news-title {
    color: var(--primary-color);
}

.news-summary {
    font-size: 0.95rem;
    color: var(--muted-text);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Expand Icon */
.news-expand-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 32px;
    height: 32px;
    background: rgba(26, 115, 232, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.news-expand-icon i {
    color: var(--primary-color);
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.news-item:hover .news-expand-icon {
    background: rgba(26, 115, 232, 0.15);
}

.news-item.expanded .news-expand-icon {
    background: var(--primary-gradient);
    transform: rotate(180deg);
}

.news-item.expanded .news-expand-icon i {
    color: white;
}

/* Expandable Content */
.news-content-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-item.expanded .news-content-wrapper {
    max-height: 2000px;
    margin-top: 1.5rem;
}

.news-full-content {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(26, 115, 232, 0.1);
    animation: fadeIn 0.4s ease 0.2s backwards;
}

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

.news-content-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 1.5rem;
}

/* News Actions */
.news-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-read-more {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: var(--primary-gradient);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    align-self: flex-start;
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.2);
}

.btn-read-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(26, 115, 232, 0.3);
    color: white;
}

.btn-read-more i {
    font-size: 0.85rem;
}

/* References */

/* Load More Button */
.btn-load-more {
    padding: 1rem 2.5rem;
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-load-more:hover {
    background: var(--primary-gradient);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(26, 115, 232, 0.25);
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .news-card {
        padding: 1.25rem;
        margin-left: 4px;
    }

    .news-indicator {
        width: 3px;
    }

    .news-title {
        font-size: 1.1rem;
        padding-right: 2.5rem;
    }

    .news-expand-icon {
        top: 1.25rem;
        right: 1.25rem;
        width: 28px;
        height: 28px;
    }

    .btn-read-more {
        width: 100%;
        justify-content: center;
    }

    .tech-news-section {
        padding: 3rem 0;
    }

        }

/* ===================================
   Additional Mobile Responsive Fixes
   For tech-news-section and footer
   =================================== */
@media (max-width: 768px) {
    /* Tech News Section - Mobile Fixes */
    .tech-news-section .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
        padding: 0 0.5rem;
    }

    .section-title {
        font-size: 1.5rem;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    .section-title i {
        font-size: 1.25rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }

    /* News items mobile adjustments */
    .news-item {
        margin-bottom: 1.25rem;
    }

    .news-card {
        padding: 1rem;
        padding-left: 1.25rem;
        margin-left: 4px;
    }

    .news-indicator {
        width: 3px;
    }

    .news-meta {
        gap: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .news-date,
    .news-type {
        font-size: 0.75rem;
    }

    

    .news-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
        padding-right: 2.25rem;
        line-height: 1.4;
    }

    .news-summary {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
    }

    .news-expand-icon {
        top: 1rem;
        right: 1rem;
        width: 26px;
        height: 26px;
    }

    .news-expand-icon i {
        font-size: 0.75rem;
    }

    .news-content-wrapper {
        transition: max-height 0.4s ease;
    }

    .news-item.expanded .news-content-wrapper {
        max-height: 1500px;
        margin-top: 1rem;
    }

    .news-full-content {
        padding-top: 1rem;
    }

    .news-content-text {
        font-size: 0.875rem;
        line-height: 1.7;
        margin-bottom: 1rem;
    }

    .btn-read-more {
        padding: 0.6rem 1.25rem;
        font-size: 0.875rem;
        width: 100%;
        justify-content: center;
    }

    

    

    

    /* Load More Button */
    .btn-load-more {
        padding: 0.875rem 2rem;
        font-size: 0.9rem;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    /* Footer - Mobile Fixes */
    .modern-footer {
        padding: 2rem 0 1rem;
        margin-top: 2rem;
    }

    .modern-footer .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .footer-grid {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 1rem;
        padding-bottom: 1.5rem;
    }

    .footer-col {
        width: 100%;
        text-align: center;
    }

    .footer-col-title {
        display: block;
        font-size: 1rem;
        font-weight: 600;
        color: white;
        margin-bottom: 0.75rem;
    }

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

    .footer-links li {
        margin-bottom: 0.5rem;
    }

    .footer-links a {
        font-size: 0.875rem;
        justify-content: center;
        padding: 0.35rem 0;
    }

    .footer-links a i {
        font-size: 0.65rem;
    }

    /* QR Codes on mobile */
    .footer-qr-col {
        align-items: center;
        order: -1;
    }

    .qr-codes {
        justify-content: center;
        gap: 2rem;
    }

    .qr-wrapper {
        width: 100px;
        height: 100px;
        padding: 0.5rem;
    }

    .qr-label {
        font-size: 0.7rem;
        max-width: 100px;
    }

    /* Footer Bottom - Mobile */
    .footer-bottom {
        padding-top: 0.75rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .copyright {
        flex-direction: column;
        gap: 0.35rem;
        align-items: center;
    }

    .copyright p {
        font-size: 0.75rem;
    }

    .beian-link {
        font-size: 0.75rem;
    }

    .footer-contact-info {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }

    .contact-item {
        font-size: 0.75rem;
    }

    .contact-item i {
        font-size: 0.75rem;
    }

        }

/* Extra Small Devices (phones less than 480px) */
@media (max-width: 480px) {
    .tech-news-section {
        padding: 2rem 0;
    }

    .news-card {
        padding: 0.875rem;
        padding-left: 1rem;
    }

    .news-title {
        font-size: 0.95rem;
    }

    .news-summary {
        font-size: 0.8rem;
    }

    .modern-footer {
        padding: 1.5rem 0 0.75rem;
    }

    .qr-wrapper {
        width: 90px;
        height: 90px;
    }

    .qr-label {
        font-size: 0.65rem;
        max-width: 90px;
    }

        }

/* ===================================
   Enhanced Mobile Responsive Styles
   For Tech News & Footer Sections
   =================================== */

/* Medium devices (tablets, 992px and below) */
@media (max-width: 992px) {
    /* Tech News - Force single column on tablets */
    .tech-news-section .row.g-4 {
        flex-direction: column;
    }

    .tech-news-section .col-lg-6 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

    /* Footer grid adjustments for tablets */
    .modern-footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-qr-col {
        align-items: center;
        justify-content: center;
    }

    .qr-codes {
        justify-content: center;
        gap: 3rem;
    }

        }

/* Mobile devices (768px and below) - Enhanced */
@media (max-width: 768px) {
    /* ===== Tech News Section Mobile ===== */
    .tech-news-section {
        padding: 2.5rem 0 !important;
        overflow-x: hidden;
    }

    .tech-news-section .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
    }

    .tech-news-section .py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }

    /* Section header mobile */
    .tech-news-section .section-header {
        margin-bottom: 2rem !important;
        text-align: center;
    }

    .tech-news-section .section-title {
        font-size: 1.5rem !important;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
        line-height: 1.4;
    }

    .tech-news-section .section-title i {
        font-size: 1.25rem;
    }

    .tech-news-section .section-subtitle {
        font-size: 0.9rem !important;
        line-height: 1.5;
        padding: 0 1rem;
    }

    /* News timeline mobile - Force single column */
    .news-timeline .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .news-timeline .row.g-4 {
        gap: 0 !important;
        flex-direction: column !important;
    }

    .news-timeline .col-lg-6 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* News items mobile */
    .news-item {
        margin-bottom: 1rem !important;
    }

    .news-card {
        padding: 1rem !important;
        padding-left: 1.25rem !important;
        margin-left: 6px !important;
        border-radius: 10px !important;
    }

    .news-indicator {
        width: 3px !important;
    }

    .news-meta {
        gap: 0.5rem !important;
        flex-wrap: wrap;
    }

    .news-date,
    .news-type {
        font-size: 0.75rem !important;
    }

    .news-title {
        font-size: 1rem !important;
        padding-right: 2.5rem !important;
        line-height: 1.4 !important;
    }

    .news-summary {
        font-size: 0.85rem !important;
        line-height: 1.5;
    }

    .news-expand-icon {
        top: 1rem !important;
        right: 0.75rem !important;
        width: 28px !important;
        height: 28px !important;
    }

    .news-expand-icon i {
        font-size: 0.7rem !important;
    }

    /* Expanded content mobile */
    .news-item.expanded .news-content-wrapper {
        margin-top: 1rem !important;
    }

    .news-full-content {
        padding-top: 1rem !important;
    }

    .news-content-text {
        font-size: 0.875rem !important;
        line-height: 1.6 !important;
    }

    .btn-read-more {
        width: 100% !important;
        justify-content: center !important;
        padding: 0.75rem 1rem !important;
        font-size: 0.875rem !important;
    }

    

    

    /* Load more button mobile */
    .news-timeline .text-center.mt-5 {
        margin-top: 2rem !important;
    }

    .btn-load-more {
        width: 100% !important;
        max-width: 300px !important;
        padding: 0.875rem 1.5rem !important;
        font-size: 0.9rem !important;
    }

    /* ===== Footer Section Mobile ===== */
    .modern-footer {
        padding: 2rem 0 1.25rem !important;
        margin-top: 2rem !important;
    }

    .modern-footer .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
    }

    /* Footer grid - stack vertically */
    .footer-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
        padding-bottom: 1.5rem !important;
        margin-bottom: 1rem !important;
    }

    /* Footer columns */
    .footer-col {
        width: 100% !important;
        text-align: center !important;
    }

    .footer-col-title {
        display: block !important;
        font-size: 1rem !important;
        margin-bottom: 0.75rem !important;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-links li {
        margin-bottom: 0.5rem !important;
    }

    .footer-links a {
        justify-content: center !important;
        font-size: 0.875rem !important;
        padding: 0.35rem 0 !important;
    }

    /* QR codes mobile */
    .footer-qr-col {
        order: -1 !important;
        align-items: center !important;
        width: 100% !important;
    }

    .qr-codes {
        display: flex !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 1.5rem !important;
    }

    .qr-item {
        flex: 0 0 auto;
    }

    .qr-wrapper {
        width: 100px !important;
        height: 100px !important;
        padding: 0.5rem !important;
        margin-bottom: 0.5rem !important;
    }

    .qr-code-img {
        width: 100% !important;
        height: 100% !important;
    }

    .qr-label {
        font-size: 0.7rem !important;
        max-width: 100px !important;
        line-height: 1.3 !important;
    }

    /* Footer bottom mobile */
    .footer-bottom {
        padding-top: 1rem !important;
    }

    .footer-bottom-content {
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.75rem !important;
        text-align: center !important;
    }

    .copyright {
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.35rem !important;
    }

    .copyright p {
        font-size: 0.75rem !important;
        text-align: center;
    }

    .beian-link {
        font-size: 0.75rem !important;
    }

    .footer-contact-info {
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.5rem !important;
    }

    .contact-item {
        font-size: 0.8rem !important;
    }

        }

/* Extra small devices (phones, 480px and below) - Enhanced */
@media (max-width: 480px) {
    /* Tech News extra small */
    .tech-news-section {
        padding: 1.5rem 0 !important;
    }

    .tech-news-section .section-title {
        font-size: 1.25rem !important;
    }

    .tech-news-section .section-subtitle {
        font-size: 0.8rem !important;
    }

    .news-card {
        padding: 0.875rem !important;
        padding-left: 1rem !important;
    }

    .news-title {
        font-size: 0.9rem !important;
    }

    .news-summary {
        font-size: 0.8rem !important;
        -webkit-line-clamp: 2;
    }

    .news-content-text {
        font-size: 0.8rem !important;
    }

    /* Footer extra small */
    .modern-footer {
        padding: 1.5rem 0 1rem !important;
    }

    .qr-codes {
        gap: 1rem !important;
    }

    .qr-wrapper {
        width: 85px !important;
        height: 85px !important;
    }

    .qr-label {
        font-size: 0.65rem !important;
        max-width: 85px !important;
    }

    .copyright p,
    .beian-link {
        font-size: 0.7rem !important;
    }

    .contact-item {
        font-size: 0.75rem !important;
    }

        }

/* Very small devices (320px and below) */
@media (max-width: 320px) {
    .tech-news-section .container,
    .modern-footer .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .news-card {
        padding: 0.75rem !important;
    }

    .news-title {
        font-size: 0.85rem !important;
        padding-right: 2rem !important;
    }

    .qr-wrapper {
        width: 75px !important;
        height: 75px !important;
    }

    .qr-label {
        font-size: 0.6rem !important;
    }

        }
