/* Thunder Software - Custom CSS */

:root {
    --thunder-blue: #1564f2;
    --thunder-blue-dark: #0e4db5;
    --thunder-blue-light: #3d82f4;
    --thunder-black: #0a0a0a;
    --thunder-gray: #1a1a1a;
    --thunder-white: #ffffff;
    --thunder-light: #f8f9fa;
    --primary-color: #1564f2;
    --secondary-color: #6c757d;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--thunder-light);
    color: #333;
    line-height: 1.6;
}

/* Navbar */
.navbar {
    background: var(--thunder-black) !important;
    box-shadow: 0 4px 20px rgba(43, 159, 217, 0.15);
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--thunder-blue);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--thunder-white) !important;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    color: var(--thunder-blue) !important;
    transform: scale(1.05);
}

.nav-link {
    color: var(--thunder-white) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.7);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: rgba(255, 255, 255, 0.9) !important;
}

.nav-link.active {
    color: var(--thunder-white) !important;
    font-weight: 600;
}

.dropdown-menu {
    background: var(--thunder-gray);
    border: 1px solid var(--thunder-blue);
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(43, 159, 217, 0.2);
}

.dropdown-item {
    color: var(--thunder-white);
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: var(--thunder-blue);
    color: var(--thunder-white);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--thunder-blue) 0%, var(--thunder-blue-dark) 100%);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(43, 159, 217, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--thunder-blue-dark) 0%, var(--thunder-blue) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(43, 159, 217, 0.4);
}

.btn-outline-primary {
    border: 2px solid var(--thunder-blue);
    color: var(--thunder-blue);
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--thunder-blue);
    color: var(--thunder-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(43, 159, 217, 0.4);
}

/* Language Switcher Buttons */
.lang-switcher {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 2px;
    border: 1px solid rgba(43, 159, 217, 0.3);
}

.lang-btn {
    color: rgba(255, 255, 255, 0.7) !important;
    background: transparent;
    border: none;
    border-radius: 20px;
    padding: 0.4rem 1rem;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    color: var(--thunder-white) !important;
    background: rgba(43, 159, 217, 0.2);
}

.lang-btn.active {
    background: linear-gradient(135deg, var(--thunder-blue) 0%, var(--thunder-blue-light) 100%);
    color: var(--thunder-white) !important;
    box-shadow: 0 2px 10px rgba(43, 159, 217, 0.4);
}

/* Gradient Login Button */
.btn-gradient {
    background: linear-gradient(135deg, #1564f2 0%, #3d82f4 50%, #1564f2 100%);
    background-size: 200% auto;
    border: none;
    border-radius: 25px;
    color: var(--thunder-white) !important;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(18, 80, 220, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn-gradient:hover {
    background-position: right center;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(43, 159, 217, 0.6);
    color: var(--thunder-white) !important;
}

.btn-gradient:hover::before {
    left: 100%;
}

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION — ts-hero-* (clean class names, no Bootstrap conflicts)
   Base: #020912 near-black
   Glow: strong blue spotlight from top-center
   Grid: very fine 60px blue lines
   Cards: very dark navy, near-opaque, slight blue border
═══════════════════════════════════════════════════════════════ */

.ts-hero {
    /* 1) solid near-black base */
    background-color: #020912;
    /* 2) strong blue spotlight from top-center — this is the key */
    background-image:
        radial-gradient(
            ellipse 110% 55% at 50% -8%,
            #1248c8   0%,
            rgba(6,28,110,0.55) 32%,
            rgba(2, 9, 18, 0)   65%
        );
    min-height: 60vh;
    position: relative;
    overflow: hidden;
    padding: 6rem 0 4rem;
    color: #ffffff;
}

/* Fine 60px grid — thin blue lines, exactly like the reference */
.ts-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(90, 150, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(90, 150, 255, 0.07) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
    pointer-events: none;
}

.ts-hero .container { position: relative; z-index: 2; }

/* Badge — pill, dark glass, white text */
.ts-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(8, 18, 40, 0.85);
    border: 1px solid rgba(80, 140, 255, 0.22);
    color: #cde4ff;
    padding: 0.45rem 1.25rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    backdrop-filter: blur(12px);
}

/* Hero heading */
.ts-hero-title {
    font-size: 3.75rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    text-shadow: none;
}

.ts-hero-subtitle {
    font-size: 0.975rem;
    color: rgba(190, 215, 255, 0.72);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.55;
}

/* CTA button — solid #1564f2 like the image */
.ts-btn-cta {
    background: #1564f2;
    border: none;
    color: #fff !important;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.875rem 2.5rem;
    font-size: 1rem;
    letter-spacing: 0.01em;
    box-shadow: 0 12px 40px rgba(18, 80, 220, 0.5);
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.ts-btn-cta:hover {
    transform: translateY(-3px);
    background: #1a6fff;
    box-shadow: 0 20px 60px rgba(18, 80, 220, 0.6);
}

/* Avatar stack */
.ts-avatar-group { display: flex; gap: 0; }
.ts-avatar {
    width: 38px; height: 38px; border-radius: 50%;
    background: #1564f2;
    border: 2px solid rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center;
    color: #fff; margin-left: -10px; font-size: 1rem;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.3);
}
.ts-avatar:first-child { margin-left: 0; }

/* Feature cards — very dark navy, like the image */
.ts-card {
    background: #071328;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 1.35rem;
    color: #d6e8ff;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.ts-card:hover {
    transform: translateY(-4px);
    border-color: rgba(22, 100, 242, 0.4);
    box-shadow: 0 16px 50px rgba(8, 40, 160, 0.35);
}
.ts-card .ts-card-head {
    color: #90b8ff;
    font-size: 1.35rem;
    display: flex; align-items: center; gap: 0.5rem;
}
.ts-card .ts-card-head span {
    font-size: 0.92rem;
    color: #e4efff;
    font-weight: 700;
}

/* Form items */
.ts-form .ts-form-row {
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 9px;
    padding: 0.65rem 0.85rem;
    margin-bottom: 0.55rem;
    display: flex; align-items: center; gap: 0.6rem;
    color: rgba(200, 225, 255, 0.7);
    font-size: 0.865rem;
    transition: border-color .18s, background .18s;
}
.ts-form .ts-form-row:hover {
    background: rgba(22, 100, 242, 0.07);
    border-color: rgba(22, 100, 242, 0.28);
}
.ts-form .ts-form-row i { color: #6ea8ff; font-size: 0.95rem; }

/* Action button (Get Estimate) — matches image exactly */
.ts-btn-action {
    background: #1564f2;
    border: none;
    color: #fff;
    font-weight: 700;
    border-radius: 9px;
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
    display: flex; align-items: center; justify-content: space-between; width: 100%;
    transition: background .2s, box-shadow .2s;
}
.ts-btn-action:hover {
    background: #1a6fff;
    box-shadow: 0 8px 24px rgba(18, 80, 220, 0.5);
    color: #fff;
}

/* Tracking tabs */
.ts-tabs { display: flex; gap: 0.35rem; flex-wrap: wrap; }
.ts-tabs .ts-tab {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    padding: 0.28rem 0.65rem;
    font-size: 0.76rem;
    color: rgba(175, 205, 255, 0.6);
    cursor: pointer;
    transition: all .18s;
}
.ts-tabs .ts-tab-active {
    background: rgba(22, 100, 242, 0.25);
    border-color: rgba(22, 100, 242, 0.55);
    color: #90b8ff;
    font-weight: 700;
}

/* Stat box */
.ts-stat-box {
    background: rgba(255,255,255,0.03);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
}
.ts-stat-label { font-size: 0.8rem; color: rgba(180,210,255,0.5); margin-bottom: 0.4rem; }
.ts-stat-value { font-size: 1.9rem; font-weight: 800; color: #ffffff; margin-bottom: 0.3rem; }
.ts-stat-change { font-size: 0.8rem; font-weight: 600; color: #6ee08a; }

/* Performance bars — match image: 4 columns style */
.performance-grid { display: flex; flex-direction: column; gap: 0.75rem; }
.perf-item .label { font-size: 0.76rem; color: rgba(180,210,255,0.55); margin-bottom: 0.28rem; display: block; }
.progress-bar {
    background: rgba(255,255,255,0.06);
    border-radius: 7px; height: 32px; overflow: hidden; position: relative;
}
.progress-fill {
    background: #1564f2;
    height: 100%; border-radius: 7px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem; font-weight: 700; color: #fff;
    transition: width 1.2s cubic-bezier(.4,0,.2,1);
}

/* Rewards */
.ts-rewards-list { display: flex; flex-direction: column; gap: 0.55rem; }
.ts-reward-row {
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px; padding: 0.6rem 0.75rem;
}
.ts-reward-name { color: rgba(200,228,255,0.85); font-size: 0.875rem; }
.ts-reward-pct {
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    font-weight: 700; font-size: 0.78rem;
    background: #1564f2 !important;
    color: #fff !important;
}
.ts-reward-box {
    background: rgba(22, 100, 242, 0.1);
    border: 1px solid rgba(22, 100, 242, 0.22);
    border-radius: 10px; padding: 0.85rem;
    color: rgba(215,235,255,0.9);
}
.ts-reward-box strong { color: #ffffff; font-size: 0.92rem; display: block; margin-bottom: 0.4rem; }
.ts-reward-box ul { list-style: none; padding: 0; margin: 0; font-size: 0.8rem; color: rgba(170,200,255,0.7); }
.ts-reward-box ul li { padding: 0.2rem 0 0.2rem 1rem; position: relative; }
.ts-reward-box ul li::before { content: '•'; position: absolute; left: 0; color: #6ea8ff; font-weight: bold; }

/* Column bar chart (Risks card — matching image) */
.ts-col-chart {
    display: flex;
    align-items: flex-end;
    gap: 0.55rem;
    height: 110px;
    padding-top: 0.5rem;
}
.ts-col-bar {
    flex: 1;
    height: 100%;
    background: rgba(255,255,255,0.05);
    border-radius: 6px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}
.ts-col-fill {
    width: 100%;
    background: #1564f2;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    transition: height 1.2s cubic-bezier(.4,0,.2,1);
}

@keyframes dotMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Fade In Up Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

/* Remove old hero lines */
.hero-lines {
    display: none;
}

/* CTA Section — matches ts-hero dark navy + spotlight */
.ts-cta {
    background-color: #020912;
    background-image:
        radial-gradient(
            ellipse 110% 55% at 50% -8%,
            #1248c8   0%,
            rgba(6,28,110,0.55) 32%,
            rgba(2, 9, 18, 0)   65%
        );
    position: relative;
    overflow: hidden;
    color: #ffffff;
}
.ts-cta-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(90, 150, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(90, 150, 255, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
    pointer-events: none;
}

/* Float & Rotate Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

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

/* Cards */
.card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,.08);
    overflow: hidden;
    background: var(--thunder-white);
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--thunder-blue) 0%, var(--thunder-blue-light) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(43, 159, 217, 0.2);
}

.card-title {
    color: var(--thunder-black);
    font-weight: 700;
}

/* Service Cards */
.service-card {
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--thunder-blue);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(13, 110, 253, 0.15) !important;
}

.service-icon {
    font-size: 3rem;
    color: var(--thunder-blue);
    transition: all 0.3s ease;
}

/* Product Cards */
.product-card {
    position: relative;
    height: 100%;
}

.product-card .badge {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: 20px;
}

.product-card img {
    transition: transform 0.5s ease;
}

.product-card:hover img {
    transform: scale(1.1);
}

/* Section Titles */
.section-title {
    position: relative;
    display: inline-block;
    font-weight: 800;
    color: var(--thunder-black);
    margin-bottom: 3rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--thunder-blue) 0%, var(--thunder-blue-light) 100%);
    border-radius: 2px;
}

/* Why Thunder Section */
.why-thunder-card {
    background: var(--thunder-white);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.why-thunder-card:hover {
    border-color: var(--thunder-blue);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(43, 159, 217, 0.15);
}

.why-thunder-card i {
    font-size: 3rem;
    color: var(--thunder-blue);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.why-thunder-card:hover i {
    transform: scale(1.2);
}

/* Tech Stack Section */
.tech-badge {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    margin: 0.5rem;
    background: var(--thunder-white);
    border: 2px solid var(--thunder-blue);
    border-radius: 50px;
    font-weight: 600;
    color: var(--thunder-blue);
    transition: all 0.3s ease;
}

.tech-badge:hover {
    background: var(--thunder-blue);
    color: var(--thunder-white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(43, 159, 217, 0.3);
}

/* Category Cards */
.category-card {
    background: var(--thunder-white);
    border: 2px solid transparent;
    border-radius: 15px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    border-color: var(--thunder-blue);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(43, 159, 217, 0.2);
}

.category-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--thunder-blue), var(--thunder-blue-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
}

.category-name {
    font-weight: 700;
    color: var(--thunder-black);
    font-size: 1rem;
}

.category-count {
    font-size: 0.875rem;
    color: var(--thunder-blue);
    font-weight: 500;
}

/* Product Cards */
.product-card {
    overflow: hidden;
    transition: all 0.3s ease;
    border-radius: 15px;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(43, 159, 217, 0.25) !important;
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
    background: var(--thunder-light);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-image-placeholder {
    height: 250px;
    background: linear-gradient(135deg, var(--thunder-light), #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--thunder-blue);
    opacity: 0.3;
}

.badge-discount {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
}

.product-price {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.product-price .old-price {
    text-decoration: line-through;
    color: #6c757d;
    font-size: 0.875rem;
}

.product-price .sale-price {
    color: #dc3545;
    font-weight: 700;
    font-size: 1.5rem;
}

.product-price .regular-price {
    color: var(--thunder-blue);
    font-weight: 700;
    font-size: 1.5rem;
}

/* ── Blog Filter Bar ──────────────────────────────────── */
.ts-filter-scroll {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
}
.ts-filter-scroll::-webkit-scrollbar { display: none; }

.ts-filter-pill {
    flex-shrink: 0;
    background: #f1f3f5;
    border: 1.5px solid transparent;
    color: #495057;
    border-radius: 999px;
    padding: 0.35rem 1.1rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    line-height: 1.4;
}
.ts-filter-pill:hover {
    border-color: var(--thunder-blue);
    color: var(--thunder-blue);
    background: #f1f3f5;
}
.ts-filter-pill.active {
    background: var(--thunder-blue);
    border-color: var(--thunder-blue);
    color: #fff;
    font-weight: 600;
}

.ts-tag-chip {
    flex-shrink: 0;
    background: rgba(21, 100, 242, 0.08);
    border: 1.5px solid transparent;
    color: var(--thunder-blue);
    border-radius: 8px;
    padding: 0.22rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    line-height: 1.5;
}
.ts-tag-chip:hover {
    background: rgba(21, 100, 242, 0.15);
    border-color: var(--thunder-blue);
}
.ts-tag-chip.active {
    background: var(--thunder-blue);
    color: #fff;
    border-color: var(--thunder-blue);
}

.ts-active-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--thunder-blue);
    color: #fff;
    border-radius: 999px;
    padding: 0.22rem 0.55rem 0.22rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 500;
}
.ts-chip-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: color 0.15s;
}
.ts-chip-close:hover { color: #fff; }

/* ── Modern Breadcrumb ────────────────────────────────── */
.ts-breadcrumb-wrap {
    display: inline-flex;
    align-items: center;
    background: rgba(21, 100, 242, 0.06);
    border: 1px solid rgba(21, 100, 242, 0.15);
    border-radius: 999px;
    padding: 0.45rem 1.1rem;
    margin-bottom: 1.5rem;
}

.ts-breadcrumb-wrap .breadcrumb {
    margin: 0;
    padding: 0;
    background: transparent;
    align-items: center;
    flex-wrap: nowrap;
}

.ts-breadcrumb-wrap .breadcrumb-item {
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.ts-breadcrumb-wrap .breadcrumb-item + .breadcrumb-item::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236c757d' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
    padding: 0;
    margin: 0 0.25rem;
    opacity: 0.45;
    color: transparent;
}

.ts-breadcrumb-wrap .breadcrumb-item a {
    color: var(--thunder-blue);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: color 0.2s ease;
}

.ts-breadcrumb-wrap .breadcrumb-item a:hover {
    color: var(--thunder-blue-dark);
}

.ts-breadcrumb-wrap .breadcrumb-item.active {
    color: #343a40;
    font-weight: 650;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    background: rgba(21, 100, 242, 0.1);
    border-radius: 999px;
    padding: 0.15rem 0.7rem;
    font-size: 0.8rem;
}

@media (max-width: 767.98px) {
    nav[aria-label="breadcrumb"].d-flex {
        justify-content: center !important;
    }
    .ts-breadcrumb-wrap {
        max-width: 100%;
    }
    .ts-breadcrumb-wrap .breadcrumb {
        flex-wrap: wrap;
        justify-content: center;
    }
    .ts-breadcrumb-wrap .breadcrumb-item.active {
        max-width: 160px;
    }
}

/* Footer */
footer {
    background: var(--thunder-black);
    color: var(--thunder-white);
    border-top: 3px solid var(--thunder-blue);
    padding: 3rem 0 1rem;
}

footer h5 {
    color: var(--thunder-blue);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

footer a {
    color: var(--thunder-light);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

footer a:hover {
    color: var(--thunder-blue);
    transform: translateX(5px);
}

footer .social-links a {
    display: inline-block;
    width: 45px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    background: var(--thunder-gray);
    border-radius: 50%;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

footer .social-links a:hover {
    background: var(--thunder-blue);
    transform: translateY(-5px);
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--thunder-black);
    color: var(--thunder-white);
    padding: 1.5rem;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(43, 159, 217, 0.2);
    border-top: 2px solid var(--thunder-blue);
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Admin Sidebar */
.sidebar .nav-link {
    color: #adb5bd;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    color: #ffffff;
    background-color: var(--thunder-blue);
}

/* Responsive */
@media (max-width: 768px) {
    .ts-hero {
        padding: 3rem 0 2rem;
        min-height: auto;
    }

    .ts-hero-title {
        font-size: 2rem;
    }
    
    .ts-hero-subtitle {
        font-size: 1rem;
    }
    
    .ts-card {
        margin-bottom: 1rem;
    }

    .ts-avatar-group {
        margin-left: 0;
        margin-top: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }

    .ts-btn-cta {
        width: 100%;
    }
}
