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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* 头部广告位 */

.de_iv_adv {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5px 0;
    /* background-color: #F8F8F8; */
    margin: 10px 0 0px;
}


/* 底部广告位 */

.postionFixed {
    width: 100%;
    min-height: 60px;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #F8F8F8;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 9999;
}

/* ========== GLOBAL HEADER STYLES ========== */
/* Header Styles */
.header {
    background: #ffffff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    /* Ensure header stays visible and follows scroll */
    transform: translateY(0) !important;
}

.header.scrolled {
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.15);
    background: #ffffff;
    /* Keep header visible when scrolled */
    transform: translateY(0) !important;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Brand Styles */
.nav-brand {
    flex-shrink: 0;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.brand-link:hover {
    transform: translateY(-2px);
}

.brand-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.brand-icon i {
    font-size: 1.3rem;
    color: white;
}

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

.brand-name {
    font-size: 1.6rem;
    font-weight: 800;
    color: #2c3e50;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.brand-tagline {
    font-size: 0.7rem;
    color: #667eea;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Navigation Menu - Mobile Hidden by Default */
.nav-menu {
    display: none;
    /* 隐藏移动端菜单，仅在移动端显示 */
}

/* PC端导航菜单 */
.nav-menu-desktop {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-list-desktop {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-link-desktop {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.2rem;
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link-desktop:hover {
    color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08), rgba(118, 75, 162, 0.08));
}

.nav-link-desktop.active {
    color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.12), rgba(118, 75, 162, 0.12));
}

.nav-link-desktop.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.nav-icon-desktop {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    width: 20px;
}

.nav-icon-desktop i {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link-desktop:hover .nav-icon-desktop i {
    background: linear-gradient(135deg, #764ba2, #667eea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-text-desktop {
    font-size: 0.95rem;
    font-weight: 600;
}

/* Legacy Navigation Styles for Mobile Menu */
.nav-list {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.2rem;
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08), rgba(118, 75, 162, 0.08));
}

.nav-link.active {
    color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.12), rgba(118, 75, 162, 0.12));
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    width: 20px;
}

.nav-icon i {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link:hover .nav-icon i {
    background: linear-gradient(135deg, #764ba2, #667eea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-text {
    font-size: 0.95rem;
    font-weight: 600;
}

/* Navigation Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-search-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.nav-search-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.nav-search-btn i {
    font-size: 1.1rem;
}

.nav-cta-btn {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.bar {
    width: 28px;
    height: 3px;
    background: #667eea;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* PC端显示控制 */
@media (min-width: 769px) {
    .nav-menu {
        display: none !important;
    }

    .nav-menu-desktop {
        display: flex !important;
    }

    .nav-actions {
        display: flex !important;
    }

    .nav-toggle {
        display: none !important;
    }
}

/* 移动端显示汉堡菜单 */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex !important;
    }

    /* 隐藏PC端导航，显示移动端导航 */
    .nav-menu-desktop {
        display: none !important;
    }

    .nav-actions {
        display: none !important;
    }

    .nav-menu {
        display: flex !important;
    }

    /* Body scroll lock when nav is open */
    body.nav-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }

    /* ========== MOBILE NAVIGATION STYLES ========== */
    /* Header Mobile Styles */
    .header {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    }

    .navbar {
        padding: 0.8rem 0;
    }

    .nav-container {
        padding: 0 1rem;
        position: relative;
    }

    /* Brand Optimization */
    .brand-icon {
        width: 40px;
        height: 40px;
    }

    .brand-icon i {
        font-size: 1.1rem;
    }

    .brand-name {
        font-size: 1.4rem;
    }

    .brand-tagline {
        font-size: 0.65rem;
    }

    /* Clean White Mobile Menu Design */
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100vw;
        height: 100vh;
        background: #ffffff;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: 999;
        overflow: hidden;
        padding: 4rem 2rem;
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    /* Remove animated background */
    .nav-menu::before {
        display: none;
    }

    /* Navigation List Redesign */
    .nav-menu .nav-list {
        flex-direction: column !important;
        gap: 0 !important;
        text-align: left;
        position: relative;
        z-index: 2;
        width: 100% !important;
        max-width: 400px;
        margin: 0 auto;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
    }

    .nav-menu .nav-item {

        animation: slideInNavClean 0.5s ease forwards;
        width: 100% !important;
        flex: none !important;
        position: relative !important;
    }

    .nav-item:nth-child(1) {
        animation-delay: 0.1s;
    }

    .nav-item:nth-child(2) {
        animation-delay: 0.15s;
    }

    .nav-item:nth-child(3) {
        animation-delay: 0.2s;
    }

    .nav-item:nth-child(4) {
        animation-delay: 0.25s;
    }

    .nav-item:nth-child(5) {
        animation-delay: 0.3s;
    }

    .nav-item:nth-child(6) {
        animation-delay: 0.35s;
    }

    .nav-item:nth-child(7) {
        animation-delay: 0.4s;
    }

    @keyframes slideInNavClean {
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    /* Clean Navigation Links - One per row - Mobile Only */
    .nav-menu .nav-link {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 1rem !important;
        color: #1a202c !important;
        font-size: 1.2rem !important;
        font-weight: 700 !important;
        padding: 1.2rem 1.5rem !important;
        margin: 0.4rem 0 !important;
        border-radius: 12px !important;
        background: rgba(248, 250, 252, 0.8) !important;
        border: 2px solid rgba(226, 232, 240, 0.5) !important;
        transition: all 0.3s ease !important;
        text-decoration: none !important;
        width: 100% !important;
        min-height: 60px !important;
        box-sizing: border-box !important;
        position: relative !important;
        overflow: hidden !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
        backdrop-filter: blur(10px) !important;
        transform: none !important;
    }

    .nav-link::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.08), transparent);
        transition: left 0.4s ease;
    }

    .nav-link:hover::before {
        left: 100%;
    }

    .nav-menu .nav-link:hover,
    .nav-menu .nav-link:focus {
        background: rgba(76, 81, 191, 0.1) !important;
        border-color: rgba(76, 81, 191, 0.3) !important;
        transform: translateX(8px) !important;
        color: #4c51bf !important;
        box-shadow: 0 4px 12px rgba(76, 81, 191, 0.15) !important;
    }

    .nav-menu .nav-link:active {
        transform: translateX(4px) scale(0.98) !important;
    }

    /* Icon Styles - Purple circular background - Mobile Only */
    .nav-menu .nav-icon {
        width: 40px !important;
        height: 40px !important;
        background: rgba(76, 81, 191, 0.15) !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        transition: all 0.3s ease !important;
        flex-shrink: 0 !important;
        border: 1px solid rgba(76, 81, 191, 0.2) !important;
    }

    .nav-menu .nav-icon i {
        font-size: 1rem !important;
        color: #4c51bf !important;
        transition: all 0.3s ease !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
        background: none !important;
        -webkit-background-clip: unset !important;
        -webkit-text-fill-color: #4c51bf !important;
        background-clip: unset !important;
    }

    .nav-menu .nav-link:hover .nav-icon {
        background: rgba(76, 81, 191, 0.25) !important;
        transform: scale(1.1) !important;
        border-color: rgba(76, 81, 191, 0.3) !important;
    }

    .nav-menu .nav-link:hover .nav-icon i {
        color: #3730a3 !important;
        transform: scale(1.1) !important;
    }

    /* Text Styles - Mobile Only */
    .nav-menu .nav-text {
        font-size: 1rem !important;
        font-weight: 700 !important;
        letter-spacing: 0.3px !important;
        flex: 1 !important;
        text-align: left !important;
        color: #1a202c !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
    }

    .nav-menu .nav-link:hover .nav-text {
        color: #4c51bf !important;
    }

    /* Clean Close Button - Top Right - ONLY BUTTON */
    .nav-menu-close {
        position: absolute;
        top: 2rem;
        right: 2rem;
        width: 50px;
        height: 50px;
        background: rgba(76, 81, 191, 0.15);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #4c51bf;
        font-size: 1.3rem;
        cursor: pointer;
        transition: all 0.3s ease;
        z-index: 3;
        opacity: 0;
        transform: scale(0);
        border: 2px solid rgba(76, 81, 191, 0.2);
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active .nav-menu-close {
        opacity: 1;
        transform: scale(1);
        transition-delay: 0.2s;
    }

    .nav-menu-close:hover {
        background: rgba(76, 81, 191, 0.25);
        transform: scale(1.1);
        border-color: rgba(76, 81, 191, 0.3);
        color: #3730a3;
    }

    .nav-menu-close:active {
        transform: scale(0.95);
    }

    /* Simplified Footer */
    .nav-menu-footer {
        position: absolute;
        bottom: 3rem;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
        color: #667eea;
        font-size: 1rem;
        z-index: 2;
        opacity: 0;
        animation: fadeInFooterClean 0.5s ease 0.6s forwards;
    }

    .nav-footer-text {
        font-weight: 400;
        letter-spacing: 1px;
        text-transform: uppercase;
        color: #999;
        font-size: 0.85rem;
    }

    .nav-menu-footer::before {
        content: 'skinjolt';
        display: block;
        font-weight: 700;
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
        color: #667eea;
    }

    @keyframes fadeInFooterClean {
        to {
            opacity: 1;
        }
    }

    /* Modern Hamburger Menu */
    .nav-toggle {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        gap: 5px;
        z-index: 1000;
        position: relative;
        padding: 8px;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .nav-toggle:hover {
        background: rgba(102, 126, 234, 0.1);
    }

    .bar {
        width: 28px;
        height: 3px;
        background: #667eea;
        border-radius: 3px;
        transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        transform-origin: center;
    }

    /* Animated Hamburger to X */
    .nav-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
        background: #667eea;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
        background: #667eea;
    }

    /* Performance Optimizations */
    .nav-menu {
        will-change: transform;
        backface-visibility: hidden;
    }

    .nav-link {
        will-change: transform;
    }

    /* Accessibility Improvements */
    .nav-toggle:focus {
        outline: 2px solid #667eea;
        outline-offset: 2px;
    }

    .nav-link:focus {
        outline: 2px solid #667eea;
        outline-offset: 2px;
    }

    .nav-menu-close:focus {
        outline: 2px solid #667eea;
        outline-offset: 2px;
    }

    /* Reduced Motion Support */
    @media (prefers-reduced-motion: reduce) {

        .nav-menu,
        .nav-link,
        .nav-toggle .bar,
        .nav-icon {
            transition: none;
        }

        .nav-item {
            animation: none;
            opacity: 1;
            transform: none;
        }

        .nav-link::before {
            display: none;
        }

        .nav-menu-footer {
            animation: none;
            opacity: 1;
        }
    }
}

/* ========== OLD HEADER STYLES - COMMENTED OUT ========== */
/* These styles are replaced by home.css header styles */

/*
.header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 0.8rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo h2 {
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.nav-logo h2:hover {
    transform: scale(1.05);
}

.nav-logo i {
    margin-right: 0.5rem;
    color: #667eea;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-link {
    color: #555;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    font-size: 0.95rem;
    position: relative;
}

.nav-link:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.08);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}
*/

/* Hero Section - Legacy Support */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('https://images.unsplash.com/photo-1488646953014-85cb44e25828?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 70px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Main Content */
.main-content {
    padding: 4rem 0;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-title i {
    color: #667eea;
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.article-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.article-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.article-content {
    padding: 1.5rem;
}

.article-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    font-weight: 600;
}

.article-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.read-more {
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.read-more:hover {
    transform: translateX(5px);
}

/* Footer */
.footer {
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.footer-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}

.footer-wave path {
    fill: #f8f9fa;
}

.footer-main {
    padding: 6rem 0 3rem;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
}

/* Footer Brand */
.footer-brand {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-icon i {
    font-size: 1.5rem;
    color: white;
}

.footer-logo-text h3 {
    color: white;
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
}

.footer-logo-text span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-description {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

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

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icon:hover {
    background: white;
    color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Footer Links */
.footer-links h4 {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

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

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

.footer-links ul li a i {
    font-size: 0.7rem;
    opacity: 0.7;
}

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

/* Footer Newsletter */
.footer-newsletter h4 {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.9rem 1.2rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    color: white;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input:focus {
    border-color: white;
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-form button {
    width: 50px;
    height: 50px;
    background: white;
    border: none;
    border-radius: 10px;
    color: #667eea;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.newsletter-form button i {
    font-size: 1.1rem;
}

.footer-contact {
    margin-top: 1rem;
}

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

.footer-contact a:hover {
    color: white;
}

.footer-contact i {
    font-size: 1rem;
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: white;
}

.footer-bottom-links span {
    color: rgba(255, 255, 255, 0.4);
}

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

    .footer-brand {
        grid-column: span 2;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .footer-wave svg {
        height: 80px;
    }

    .footer-main {
        padding: 4rem 0 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .footer-social {
        justify-content: flex-start;
    }

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

    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-logo-text h3 {
        font-size: 1.5rem;
    }

    .social-icon {
        width: 40px;
        height: 40px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
    }
}

/* Article Page Styles */
.article-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6rem 0 3rem;
    margin-top: 80px;
    text-align: center;
}

.article-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.article-meta {
    font-size: 1.1rem;
    opacity: 0.9;
}

.article-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.article-main {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.article-hero-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.article-content-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.article-content-text h2 {
    color: #2c3e50;
    margin: 2rem 0 1rem;
    font-size: 1.8rem;
}

.article-content-text h3 {
    color: #34495e;
    margin: 1.5rem 0 1rem;
    font-size: 1.4rem;
}

.article-content-text p {
    margin-bottom: 1.5rem;
}

.article-content-text ul,
.article-content-text ol {
    margin: 1rem 0 1.5rem 2rem;
}

.article-content-text li {
    margin-bottom: 0.5rem;
}

.content-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    margin: 2rem 0;
}

.article-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-section {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.sidebar-section h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.recommended-article {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.recommended-article:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.recommended-image {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    flex-shrink: 0;
}

.recommended-content h4 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.recommended-content a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.recommended-content a:hover {
    text-decoration: underline;
}

/* Search Page Styles */
.search-container {
    margin: 0 auto;
    padding: 6rem 20px 3rem;
}

.search-box {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.search-input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #ddd;
    border-radius: 50px;
    font-size: 1.1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    border-color: #667eea;
}

.search-button {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.search-button:hover {
    transform: translateY(-2px);
}

.search-results {
    display: grid;
    gap: 2rem;
}

.search-result {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.search-result h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.search-result p {
    color: #666;
    margin-bottom: 1rem;
}

.search-result a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

/* Contact Page Styles */
.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 6rem 20px 3rem;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #667eea;
}

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

.submit-button {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.submit-button:hover {
    transform: translateY(-2px);
}

/* Page Content Styles */
.page-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 6rem 20px 3rem;
}

.page-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-content h1 {
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.page-content h2 {
    color: #34495e;
    margin: 2rem 0 1rem;
    font-size: 1.8rem;
}

.page-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #444;
}

.page-content ul,
.page-content ol {
    margin: 1rem 0 1.5rem 2rem;
}

.page-content li {
    margin-bottom: 0.5rem;
}

/* ========== OLD MOBILE NAVIGATION STYLES - COMMENTED OUT ========== */
/* These styles are replaced by home.css mobile navigation styles */

/*
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: left 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        box-shadow: 0 10px 40px rgba(0,0,0,0.3);
        height: calc(100vh - 70px);
        padding-top: 2rem;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0 1rem;
    }

    .nav-link {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
        justify-content: center;
        border-radius: 15px;
        color: #555;
    }

    .nav-link:hover {
        background: rgba(102, 126, 234, 0.1);
        transform: translateX(5px);
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .bar {
        border-radius: 2px;
    }
}
*/

/* Mobile Responsive - Keep other mobile styles */
@media (max-width: 768px) {

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .article-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 20px;
    }

    .article-sidebar {
        position: static;
    }

    .article-title {
        font-size: 2rem;
    }

    .search-box {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .article-main {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .page-content {
        padding: 1.5rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

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

/* ========== ENHANCED MOBILE DESIGN FOR SMALLER SCREENS ========== */
@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }

    /* Navigation Smaller Screens */
    .brand-icon {
        width: 35px;
        height: 35px;
    }

    .brand-icon i {
        font-size: 1rem;
    }

    .brand-name {
        font-size: 1.3rem;
    }

    .brand-tagline {
        font-size: 0.6rem;
    }

    /* Compact Navigation Links - Small Screens */
    .nav-menu .nav-link {
        font-size: 1rem !important;
        padding: 0.8rem 1.2rem !important;
        margin: 0.2rem 0 !important;
        gap: 0.8rem !important;
        color: #1a202c !important;
        font-weight: 700 !important;
        min-height: 60px !important;
        box-sizing: border-box !important;
    }

    /* Smaller Icons */
    .nav-menu .nav-icon {
        width: 40px !important;
        height: 40px !important;
    }

    .nav-menu .nav-icon i {
        font-size: 1.1rem !important;
        color: #4c51bf !important;
        margin-right: 0px;
    }

    /* Compact Text - Small Screens */
    .nav-menu .nav-text {
        font-size: 1rem !important;
        letter-spacing: 0.2px !important;
        color: #1a202c !important;
        font-weight: 700 !important;
    }

    /* Smaller Close Button */
    .nav-menu-close {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        top: 1.5rem;
        right: 1.5rem;
    }

    /* Compact Hamburger */
    .nav-toggle {
        padding: 6px;
    }

    .bar {
        width: 24px;
        height: 2.5px;
    }

    /* Adjust animations for smaller screens */
    .nav-menu .nav-link:hover,
    .nav-menu .nav-link:focus {
        transform: translateX(6px) !important;
    }

    .nav-menu .nav-link:hover .nav-icon {
        transform: scale(1.05) !important;
    }

    /* Compact menu padding */
    .nav-menu {
        padding: 3rem 1.5rem;
    }

    .nav-menu .nav-list {
        max-width: 350px;
    }

    /* Footer adjustments */
    .nav-menu-footer {
        bottom: 2rem;
    }

    .nav-menu-footer::before {
        font-size: 1.1rem;
    }
}