/* ============================================================
   ASTRA BLOG - PREMIUM DESIGN (16:9 IMAGES)
   ============================================================ */

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f8fafc;
    color: #1a1a2e;
    line-height: 1.6;
    padding-top: 70px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.blog-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px 24px 60px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    position: relative;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.blog-hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 6px 18px;
    background: #e8edf5;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: #1a1a2e;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.hero-badge i {
    margin-right: 6px;
    color: #3b82f6;
}

.blog-hero h1 {
    font-size: 44px;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.08;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.blog-hero h1 .gradient {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientMove 4s ease-in-out infinite;
}

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

.blog-hero p {
    font-size: 17px;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 520px;
}

/* Search */
.hero-search {
    position: relative;
    max-width: 480px;
    margin-bottom: 20px;
}

.hero-search i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 16px;
}

.hero-search input {
    width: 100%;
    padding: 16px 22px 16px 50px;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    background: #ffffff;
    outline: none;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.hero-search input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.08), 0 4px 16px rgba(59, 130, 246, 0.06);
}

/* Categories */
.hero-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cat-tag {
    padding: 7px 18px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    font-size: 12px;
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cat-tag:hover {
    background: #3b82f6;
    color: #ffffff;
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.15);
}

.cat-tag i {
    font-size: 12px;
}

/* Illustration */
.blog-hero-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
}

.illustration-wrapper {
    position: relative;
    width: 320px;
    height: 320px;
    background: linear-gradient(135deg, #eff6ff, #f5f3ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eef2f6;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.04);
}

.illustration-wrapper i.fa-shield-halved {
    font-size: 80px;
    color: #3b82f6;
    opacity: 0.2;
}

.float-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #3b82f6;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid #eef2f6;
    animation: float 4s ease-in-out infinite;
}

.float-icon.icon-1 { top: 8%; right: 5%; animation-delay: 0s; }
.float-icon.icon-2 { bottom: 15%; left: 5%; animation-delay: 1s; }
.float-icon.icon-3 { top: 15%; left: 8%; animation-delay: 2s; }
.float-icon.icon-4 { bottom: 18%; right: 8%; animation-delay: 3s; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-14px); }
}

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 12px;
}

.section-header h2 {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header h2 i {
    color: #3b82f6;
}

.section-badge {
    display: inline-block;
    padding: 4px 16px;
    background: #dc2626;
    color: #ffffff;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: pulseBadge 2s ease-in-out infinite;
}

@keyframes pulseBadge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.header-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 7px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    background: transparent;
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Poppins', sans-serif;
}

.filter-btn:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: #3b82f6;
    color: #ffffff;
    border-color: #3b82f6;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.15);
}

/* ============================================================
   FEATURED CARD - IMAGE 16:9
   ============================================================ */
.featured-section {
    padding: 20px 24px 50px;
}

.featured-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #eef2f6;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    transition: all 0.4s ease;
    cursor: pointer;
}

.featured-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border-color: #3b82f6;
}

/* ===== FEATURED IMAGE - 16:9 RATIO ===== */
.featured-image {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;    /* 16:9 Ratio */
    overflow: hidden;
    background: #f1f5f9;
}

.featured-image .featured-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #dc2626;
    color: #ffffff;
    padding: 5px 18px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    animation: pulseBadge 2s ease-in-out infinite;
}

.featured-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.featured-card:hover .featured-image img {
    transform: scale(1.05);
}

/* ===== FEATURED CONTENT ===== */
.featured-content {
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-category {
    display: inline-block;
    padding: 4px 16px;
    background: #eff6ff;
    color: #3b82f6;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    width: fit-content;
}

.featured-category i {
    margin-right: 4px;
}

.featured-content h2 {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
    line-height: 1.2;
    transition: color 0.3s;
}

.featured-card:hover .featured-content h2 {
    color: #3b82f6;
}

.featured-meta {
    display: flex;
    gap: 18px;
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.featured-meta i {
    margin-right: 4px;
}

.featured-content p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.read-article-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 32px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #ffffff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: fit-content;
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.15);
}

.read-article-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.25);
}

.read-article-btn i {
    transition: transform 0.3s;
}

.read-article-btn:hover i {
    transform: translateX(6px);
}

/* ============================================================
   ARTICLES GRID - IMAGES 16:9
   ============================================================ */
.articles-section {
    padding: 40px 24px 60px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}

.article-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #eef2f6;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    cursor: pointer;
}

.article-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
    border-color: #3b82f6;
}

/* ===== ARTICLE CARD IMAGE - 16:9 RATIO ===== */
.article-card .card-image-wrap {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;    /* 16:9 Ratio */
    overflow: hidden;
    background: #f1f5f9;
}

.article-card .card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.article-card:hover .card-image {
    transform: scale(1.05);
}

.article-card .card-content {
    padding: 20px 22px 22px;
}

.article-card .card-category {
    display: inline-block;
    padding: 3px 14px;
    background: #f1f5f9;
    color: #3b82f6;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.article-card .card-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
    line-height: 1.3;
    transition: color 0.3s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card:hover .card-title {
    color: #3b82f6;
}

.article-card .card-excerpt {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card .card-meta {
    display: flex;
    gap: 14px;
    font-size: 12px;
    color: #94a3b8;
    flex-wrap: wrap;
}

.article-card .card-meta i {
    margin-right: 3px;
}

.article-card .read-more {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    transition: all 0.3s;
    padding: 6px 0;
}

.article-card .read-more:hover {
    gap: 10px;
    color: #1d4ed8;
}

/* ============================================================
   LOAD MORE
   ============================================================ */
.load-more-wrap {
    text-align: center;
    margin-top: 40px;
}

.load-more-btn {
    padding: 14px 40px;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    background: transparent;
    color: #0f172a;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Poppins', sans-serif;
}

.load-more-btn:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.06);
}

.load-more-btn i {
    margin-right: 8px;
}

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter-section {
    padding: 60px 24px 40px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.newsletter-wrapper {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.newsletter-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 28px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.newsletter-wrapper h2 {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
}

.newsletter-wrapper p {
    color: #94a3b8;
    font-size: 15px;
    margin-bottom: 24px;
}

.newsletter-form .form-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    outline: none;
    transition: all 0.3s;
    min-width: 200px;
}

.newsletter-form input::placeholder {
    color: #64748b;
}

.newsletter-form input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.08);
}

.newsletter-btn {
    padding: 14px 32px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Poppins', sans-serif;
    white-space: nowrap;
}

.newsletter-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.25);
}

.newsletter-form .form-note {
    font-size: 12px;
    color: #64748b;
    margin-top: 14px;
}

.newsletter-form .form-note i {
    color: #22c55e;
}

.newsletter-message {
    margin-top: 16px;
    font-size: 14px;
    font-weight: 500;
    color: #22c55e;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .blog-hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 30px 20px 40px;
    }

    .blog-hero h1 {
        font-size: 36px;
    }

    .blog-hero p {
        max-width: 100%;
    }

    .hero-search {
        max-width: 100%;
    }

    .hero-categories {
        justify-content: center;
    }

    .blog-hero-illustration {
        display: none;
    }

    .featured-card {
        grid-template-columns: 1fr;
    }

    .featured-image {
        padding-bottom: 56.25%;
    }

    .featured-content {
        padding: 28px 24px;
    }

    .featured-content h2 {
        font-size: 24px;
    }

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

@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 30px;
    }

    .blog-hero p {
        font-size: 15px;
    }

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

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .header-actions {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
        gap: 6px;
    }

    .filter-btn {
        white-space: nowrap;
        font-size: 11px;
        padding: 5px 14px;
    }

    .featured-content h2 {
        font-size: 22px;
    }

    .featured-content {
        padding: 22px 18px;
    }

    .newsletter-wrapper h2 {
        font-size: 24px;
    }

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

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

@media (max-width: 480px) {
    .blog-hero h1 {
        font-size: 26px;
    }

    .featured-content {
        padding: 18px 16px;
    }

    .featured-content h2 {
        font-size: 20px;
    }

    .featured-meta {
        font-size: 12px;
        gap: 10px;
    }

    .featured-content p {
        font-size: 14px;
    }

    .read-article-btn {
        width: 100%;
        justify-content: center;
        font-size: 13px;
        padding: 10px 20px;
    }

    .hero-categories .cat-tag {
        font-size: 11px;
        padding: 4px 12px;
    }

    .article-card .card-content {
        padding: 16px 16px 18px;
    }

    .article-card .card-title {
        font-size: 16px;
    }

    .section-header h2 {
        font-size: 22px;
    }
}

/* ============================================================
   DARK MODE
   ============================================================ */
[data-theme="dark"] .blog-hero::before {
    background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
}

[data-theme="dark"] .blog-hero h1 {
    color: #f8fafc;
}

[data-theme="dark"] .hero-badge {
    background: #1e293b;
    color: #94a3b8;
}

[data-theme="dark"] .hero-search input {
    background: #1e293b;
    border-color: #334155;
    color: #f8fafc;
}

[data-theme="dark"] .hero-search input:focus {
    border-color: #3b82f6;
}

[data-theme="dark"] .cat-tag {
    background: #1e293b;
    border-color: #334155;
    color: #94a3b8;
}

[data-theme="dark"] .cat-tag:hover {
    background: #3b82f6;
    color: #ffffff;
    border-color: #3b82f6;
}

[data-theme="dark"] .illustration-wrapper {
    background: linear-gradient(135deg, #1e293b, #2d3748);
    border-color: #334155;
}

[data-theme="dark"] .float-icon {
    background: #1e293b;
    border-color: #334155;
    color: #60a5fa;
}

[data-theme="dark"] .featured-card,
[data-theme="dark"] .article-card {
    background: #1e293b;
    border-color: #334155;
}

[data-theme="dark"] .featured-card:hover {
    border-color: #3b82f6;
}

[data-theme="dark"] .featured-content h2 {
    color: #f8fafc;
}

[data-theme="dark"] .featured-content p {
    color: #94a3b8;
}

[data-theme="dark"] .featured-category {
    background: #1e3a5f;
    color: #60a5fa;
}

[data-theme="dark"] .section-header h2 {
    color: #f8fafc;
}

[data-theme="dark"] .article-card .card-title {
    color: #f8fafc;
}

[data-theme="dark"] .article-card .card-excerpt {
    color: #94a3b8;
}

[data-theme="dark"] .article-card .card-category {
    background: #1e3a5f;
    color: #60a5fa;
}

[data-theme="dark"] .filter-btn {
    color: #94a3b8;
    border-color: #334155;
}

[data-theme="dark"] .filter-btn:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

[data-theme="dark"] .filter-btn.active {
    background: #3b82f6;
    color: #ffffff;
    border-color: #3b82f6;
}

[data-theme="dark"] .load-more-btn {
    color: #94a3b8;
    border-color: #334155;
}

[data-theme="dark"] .load-more-btn:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

[data-theme="dark"] .newsletter-form input {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
    color: #f8fafc;
}

[data-theme="dark"] .newsletter-form input:focus {
    border-color: #3b82f6;
}
/* ============================================================
   ANIMATED NAVIGATION LINKS - PREMIUM DESIGN
   ============================================================ */

/* ===== NAV LINKS CONTAINER ===== */
.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ===== INDIVIDUAL NAV LINKS ===== */
.nav-links a {
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 30px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.2px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ===== HOVER EFFECT - SLIDE UP & GLOW ===== */
.nav-links a:hover {
    color: #0f172a;
    background: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

/* ===== ACTIVE LINK ===== */
.nav-links a.active {
    color: #3b82f6;
    background: #eff6ff;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.12);
}

/* ===== UNDERLINE ANIMATION ===== */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2.5px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateX(-50%);
}

.nav-links a:hover::after {
    width: 60%;
}

.nav-links a.active::after {
    width: 60%;
}

/* ===== ICON ANIMATION ===== */
.nav-links a i {
    font-size: 14px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-links a:hover i {
    transform: translateY(-3px) scale(1.1);
}

.nav-links a.active i {
    transform: translateY(-2px) scale(1.05);
}

/* ============================================================
   OPTION 2: SLIDING INDICATOR (Alternative)
   ============================================================ */

.nav-links-alt {
    display: flex;
    align-items: center;
    gap: 4px;
    position: relative;
}

.nav-links-alt a {
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    font-size: 14px;
    padding: 10px 18px;
    border-radius: 30px;
    transition: all 0.3s ease;
    position: relative;
    font-family: 'Poppins', sans-serif;
    z-index: 1;
}

.nav-links-alt a:hover {
    color: #0f172a;
}

.nav-links-alt a.active {
    color: #ffffff;
}

.nav-links-alt .slider {
    position: absolute;
    bottom: 4px;
    left: 0;
    height: 36px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 30px;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 0;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.25);
}

/* ============================================================
   OPTION 3: BOUNCE ON HOVER
   ============================================================ */

.nav-links-bounce a {
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 30px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    font-family: 'Poppins', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-links-bounce a:hover {
    color: #3b82f6;
    transform: translateY(-4px) scale(1.05);
    background: #eff6ff;
}

.nav-links-bounce a.active {
    color: #3b82f6;
    background: #eff6ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.12);
}

.nav-links-bounce a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #3b82f6;
    border-radius: 4px;
    transition: all 0.4s ease;
    transform: translateX(-50%);
}

.nav-links-bounce a:hover::after,
.nav-links-bounce a.active::after {
    width: 70%;
}

.nav-links-bounce a i {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-links-bounce a:hover i {
    transform: rotate(-10deg) scale(1.1);
}

/* ============================================================
   OPTION 4: GLOW BORDER ANIMATION
   ============================================================ */

.nav-links-glow a {
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 18px;
    border-radius: 30px;
    transition: all 0.4s ease;
    position: relative;
    font-family: 'Poppins', sans-serif;
    border: 1.5px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-links-glow a:hover {
    color: #3b82f6;
    border-color: #3b82f6;
    background: transparent;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.08);
    transform: translateY(-2px);
}

.nav-links-glow a.active {
    color: #3b82f6;
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.04);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.08);
}

.nav-links-glow a i {
    transition: transform 0.3s ease;
}

.nav-links-glow a:hover i {
    transform: scale(1.15);
}

/* ============================================================
   OPTION 5: SPARKLE ANIMATION (Premium)
   ============================================================ */

.nav-links-sparkle {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links-sparkle a {
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 18px;
    border-radius: 30px;
    transition: all 0.4s ease;
    position: relative;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-links-sparkle a::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.04), rgba(139, 92, 246, 0.04));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.nav-links-sparkle a:hover::before {
    opacity: 1;
}

.nav-links-sparkle a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.nav-links-sparkle a:hover::after,
.nav-links-sparkle a.active::after {
    width: 100%;
}

.nav-links-sparkle a i {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-links-sparkle a:hover i {
    transform: rotate(-8deg) scale(1.1);
    color: #3b82f6;
}

.nav-links-sparkle a.active {
    color: #3b82f6;
    background: #eff6ff;
}

.nav-links-sparkle a.active i {
    color: #3b82f6;
}

/* ============================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================ */

@media (max-width: 768px) {
    .nav-links {
        gap: 2px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links a {
        font-size: 12px;
        padding: 6px 12px;
    }

    .nav-links a i {
        font-size: 12px;
    }

    .nav-links a::after {
        bottom: 2px;
        height: 2px;
    }

    .nav-links-bounce a,
    .nav-links-glow a,
    .nav-links-sparkle a {
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* ============================================================
   DARK MODE SUPPORT
   ============================================================ */

[data-theme="dark"] .nav-links a {
    color: #94a3b8;
}

[data-theme="dark"] .nav-links a:hover {
    color: #f8fafc;
    background: #334155;
}

[data-theme="dark"] .nav-links a.active {
    color: #60a5fa;
    background: #1e3a5f;
}

[data-theme="dark"] .nav-links-bounce a {
    color: #94a3b8;
}

[data-theme="dark"] .nav-links-bounce a:hover {
    color: #60a5fa;
    background: #1e293b;
}

[data-theme="dark"] .nav-links-bounce a.active {
    color: #60a5fa;
    background: #1e293b;
}

[data-theme="dark"] .nav-links-glow a {
    color: #94a3b8;
}

[data-theme="dark"] .nav-links-glow a:hover,
[data-theme="dark"] .nav-links-glow a.active {
    color: #60a5fa;
    border-color: #60a5fa;
}

[data-theme="dark"] .nav-links-sparkle a {
    color: #94a3b8;
}

[data-theme="dark"] .nav-links-sparkle a.active {
    color: #60a5fa;
    background: #1e3a5f;
}

[data-theme="dark"] .nav-links-sparkle a::after {
    background: linear-gradient(90deg, #60a5fa, #a78bfa);
}
/* ============================================================
   LANGUAGE SELECTOR
   ============================================================ */

.lang-selector {
    padding: 12px 24px;
    background: #f8fafc;
    border-bottom: 1px solid #eef2f6;
}

.lang-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 50px;
    background: #ffffff;
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border: 2px solid #e2e8f0;
    transition: all 0.3s;
}

.lang-btn:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    transform: translateY(-2px);
}

.lang-btn.active {
    background: #3b82f6;
    color: #ffffff;
    border-color: #3b82f6;
}

/* Dark Mode */
[data-theme="dark"] .lang-selector {
    background: #0f172a;
    border-color: #334155;
}

[data-theme="dark"] .lang-btn {
    background: #1e293b;
    color: #94a3b8;
    border-color: #334155;
}

[data-theme="dark"] .lang-btn:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

[data-theme="dark"] .lang-btn.active {
    background: #3b82f6;
    color: #ffffff;
    border-color: #3b82f6;
}