/*
 * WWZ.iM - Main Stylesheet
 * Glassmorphism Personal Portfolio
 * Optimized & Modular Version
 */

/* ========== CSS Variables ========== */
:root {
    --transition-speed: 0.4s;
    --transition-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --font-main: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

/* Dark Theme (Default) */
:root[data-theme="dark"] {
    --bg-body: #0a0a0a;
    --bg-gradient: radial-gradient(ellipse at 20% 0%, rgba(40, 40, 80, 0.3) 0%, transparent 50%),
                   radial-gradient(ellipse at 80% 100%, rgba(60, 30, 60, 0.2) 0%, transparent 50%),
                   #0a0a0a;
    --text-primary: #ffffff;
    --text-secondary: #b8b8b8;
    --text-muted: #888888;
    --glass-bg: rgba(25, 25, 25, 0.75);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-hover: rgba(255, 255, 255, 0.15);
    --accent-color: #6366f1;
    --accent-glow: rgba(99, 102, 241, 0.3);
    --pill-bg: rgba(255, 255, 255, 0.1);
    --active-bg: rgba(255, 255, 255, 0.15);
    --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* Light Theme */
:root[data-theme="light"] {
    --bg-body: #f5f5f7;
    --bg-gradient: radial-gradient(ellipse at 20% 0%, rgba(200, 200, 255, 0.4) 0%, transparent 50%),
                   radial-gradient(ellipse at 80% 100%, rgba(255, 200, 220, 0.3) 0%, transparent 50%),
                   #f5f5f7;
    --text-primary: #1a1a1a;
    --text-secondary: #444444;
    --text-muted: #666666;
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(0, 0, 0, 0.08);
    --glass-hover: rgba(255, 255, 255, 0.9);
    --accent-color: #6366f1;
    --accent-glow: rgba(99, 102, 241, 0.2);
    --pill-bg: rgba(0, 0, 0, 0.05);
    --active-bg: rgba(0, 0, 0, 0.08);
    --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* ========== Base Styles ========== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-main);
    background: var(--bg-body);
    background-image: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-primary);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    transition: background 0.5s ease, color 0.5s ease;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

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

/* ========== Custom Cursor (Desktop Only) ========== */
* { cursor: auto; }
.cursor-dot, .cursor-circle { display: none; }

@media (pointer: fine) and (min-width: 992px) {
    * { cursor: none !important; }
    a, button, [role="button"], input, textarea, select { cursor: none !important; }
    
    .cursor-dot {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 6px;
        height: 6px;
        background: var(--accent-color);
        border-radius: 50%;
        pointer-events: none;
        z-index: 10001;
        transform: translate(-50%, -50%);
        transition: transform 0.1s ease, background 0.2s ease;
    }
    
    .cursor-circle {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 40px;
        height: 40px;
        border: 1.5px solid var(--text-secondary);
        opacity: 0.5;
        border-radius: 50%;
        pointer-events: none;
        z-index: 10000;
        transform: translate(-50%, -50%);
        transition: width 0.3s var(--transition-bounce),
                    height 0.3s var(--transition-bounce),
                    background 0.3s ease,
                    border-color 0.3s ease,
                    opacity 0.3s ease;
    }
    
    body.hovering .cursor-dot {
        transform: translate(-50%, -50%) scale(1.5);
        background: var(--accent-color);
    }
    
    body.hovering .cursor-circle {
        width: 60px;
        height: 60px;
        background: var(--accent-glow);
        border-color: var(--accent-color);
        opacity: 0.8;
    }
}

/* ========== Glass Components ========== */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--card-shadow);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.4s var(--transition-bounce);
    height: 100%;
    position: relative;
    overflow: hidden;
}

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

.glass-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px var(--accent-glow);
}

.glass-card:hover::before {
    left: 100%;
}

/* ========== Sidebar ========== */
.sidebar {
    position: fixed;
    top: 30px;
    bottom: 30px;
    left: 30px;
    width: 290px;
    z-index: 100;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    scrollbar-width: none;
}

.sidebar::-webkit-scrollbar {
    display: none;
}

.main-content {
    margin-left: 350px;
    padding: 40px 60px 40px 0;
    min-height: 100vh;
}

/* Sidebar Header */
.sidebar-header {
    text-align: center;
    margin-bottom: 20px;
}

.profile-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--glass-border);
    margin-bottom: 15px;
    transition: all 0.4s var(--transition-bounce);
    animation: float 6s ease-in-out infinite;
}

.profile-img:hover {
    transform: scale(1.1) rotate(5deg);
    border-color: var(--accent-color);
    box-shadow: 0 0 30px var(--accent-glow);
}

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

.profile-name {
    font-weight: 800;
    font-size: 1.5rem;
    margin: 0 0 8px;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--text-primary), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.handle-pill {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    background: var(--pill-bg);
    padding: 4px 14px;
    border-radius: 50px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.handle-pill:hover {
    background: var(--accent-color);
    color: white;
    opacity: 1;
}

/* Navigation */
.nav-section-title {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 25px 0 10px 10px;
    opacity: 0.5;
    font-weight: 700;
}

.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 600;
    padding: 12px 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    margin-bottom: 5px;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--accent-color);
    border-radius: 3px;
    transition: height 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
    background: var(--pill-bg);
    transform: translateX(8px);
}

.nav-link:hover::before,
.nav-link.active::before {
    height: 60%;
}

.nav-link.active {
    color: var(--text-primary);
    background: var(--active-bg);
}

.nav-link i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
}

.badge-pro {
    background: linear-gradient(135deg, var(--accent-color), #8b5cf6);
    color: #fff;
    font-size: 0.55rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: auto;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Social Dock */
.social-dock {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    transition: all 0.4s var(--transition-bounce);
    font-size: 0.95rem;
}

.social-icon:hover {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    transform: translateY(-5px) rotate(10deg);
    box-shadow: 0 10px 20px var(--accent-glow);
}

/* ========== Theme Toggle ========== */
#theme-btn-desktop {
    position: fixed;
    top: 30px;
    right: 40px;
    z-index: 10000;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s var(--transition-bounce);
    font-size: 1.1rem;
}

#theme-btn-desktop:hover {
    transform: scale(1.15) rotate(20deg);
    background: var(--accent-color);
    color: white;
    box-shadow: 0 10px 30px var(--accent-glow);
}

/* Mobile Controls */
.mobile-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.mobile-btn:hover,
.mobile-btn:active {
    background: var(--accent-color);
    color: white;
}

/* ========== Hero Section ========== */
section {
    margin-bottom: 100px;
    padding-top: 20px;
    scroll-margin-top: 80px;
}

.hero-tagline {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-tagline span {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color), #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(30deg); }
}

.tech-tag {
    display: inline-block;
    padding: 8px 16px;
    background: var(--pill-bg);
    border-radius: 25px;
    font-size: 0.85rem;
    font-family: var(--font-mono);
    border: 1px solid var(--glass-border);
    margin: 4px;
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: var(--accent-color);
    color: white;
    transform: scale(1.05);
}

/* ========== 3D Video Card ========== */
.video-card-3d-wrapper {
    perspective: 1200px;
}

.video-card-content {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 20px;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    position: relative;
    background: #000;
}

.video-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.video-card-content:hover .video-cover {
    transform: scale(1.05);
}

.play-btn-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    opacity: 0;
    transition: all 0.4s var(--transition-bounce);
}

.video-card-content:hover .play-btn-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* ========== Section Titles ========== */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.section-title::after {
    content: '';
    height: 1px;
    flex-grow: 1;
    background: linear-gradient(90deg, var(--glass-border), transparent);
}

/* ========== Service Counter ========== */
.service-item {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 20px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.service-item:hover {
    background: var(--pill-bg);
    transform: translateX(10px);
}

.service-number {
    font-size: 2.5rem;
    font-weight: 800;
    opacity: 0.2;
    font-family: var(--font-mono);
    transition: all 0.3s ease;
}

.service-item:hover .service-number {
    opacity: 0.5;
    color: var(--accent-color);
}

/* ========== List Items ========== */
.list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    padding: 18px 20px;
    transition: all 0.3s ease;
}

.list-item:hover {
    background: var(--glass-hover);
}

.list-item i {
    transition: transform 0.3s ease;
}

.list-item:hover i:last-child {
    transform: translateX(5px);
}

/* ========== Progress Bars ========== */
.progress {
    height: 6px;
    background: var(--pill-bg);
    border-radius: 10px;
    overflow: visible;
}

.progress-bar {
    background: linear-gradient(90deg, var(--accent-color), #8b5cf6);
    border-radius: 10px;
    position: relative;
    transition: width 1s ease-out;
}

.progress-bar::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-glow);
}

/* ========== Accordion ========== */
.accordion-item {
    background: transparent;
    border: none;
    margin-bottom: 10px;
}

.accordion-button {
    background: var(--glass-bg);
    color: var(--text-primary);
    border-radius: 12px !important;
    border: 1px solid var(--glass-border);
    box-shadow: none !important;
    font-weight: 600;
    padding: 16px 20px;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background: var(--glass-hover);
    color: var(--accent-color);
}

.accordion-button::after {
    filter: invert(1);
}

:root[data-theme="light"] .accordion-button::after {
    filter: none;
}

.accordion-body {
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-secondary);
    border: 1px solid var(--glass-border);
    border-top: none;
    border-radius: 0 0 12px 12px;
    padding: 20px;
}

/* ========== Form ========== */
.form-control {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    border-radius: 12px;
    padding: 14px 18px;
    transition: all 0.3s ease;
}

.form-control:focus {
    background: var(--pill-bg);
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px var(--accent-glow);
    color: var(--text-primary);
}

.form-control::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

/* ========== Buttons ========== */
.btn {
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.4s var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-light {
    background: var(--text-primary);
    color: var(--bg-body);
    border: none;
}

.btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-outline-secondary {
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    background: transparent;
}

.btn-outline-secondary:hover {
    background: var(--glass-bg);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* ========== Modals ========== */
#imagePreviewModal .modal-dialog {
    max-width: 100%;
    margin: 0;
    width: 100%;
    height: 100%;
}

#imagePreviewModal .modal-content {
    background: rgba(0, 0, 0, 0.95);
    border: none;
    width: 100%;
    height: 100%;
}

#imagePreviewModal .modal-body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: zoom-out;
}

#imagePreviewModal img {
    max-width: 95vw;
    max-height: 95vh;
    object-fit: contain;
    border-radius: 8px;
}

/* ========== Loader ========== */
#loader {
    position: fixed;
    inset: 0;
    background: var(--bg-body);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--glass-border);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* ========== Footer ========== */
footer {
    text-align: center;
    padding: 40px 0;
    margin-top: 60px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

footer a {
    color: var(--accent-color);
}

/* ========== Responsive ========== */
@media (max-width: 991px) {
    .sidebar {
        position: relative;
        width: 100%;
        top: 0;
        left: 0;
        bottom: auto;
        margin-bottom: 15px;
        padding: 10px 16px;
        border-radius: 0;
        height: auto;
        overflow: visible;
    }
    
    .main-content {
        margin-left: 0;
        padding: 15px;
    }
    
    .sidebar-header {
        display: flex;
        align-items: center;
        text-align: left;
    }
    
    .profile-img {
        width: 32px;
        height: 32px;
        margin: 0;
        border-width: 1.5px;
        animation: none;
    }
    
    .profile-name {
        font-size: 1.1rem;
        margin: 0;
    }
    
    .handle-pill {
        display: none;
    }
    
    .sidebar-controls {
        margin-left: auto;
        display: flex;
        gap: 6px;
    }
    
    .sidebar-content {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: all 0.4s ease;
    }
    
    .sidebar-content.show {
        max-height: 1000px;
        opacity: 1;
        margin-top: 15px;
        padding-top: 10px;
        border-top: 1px solid var(--glass-border);
    }
    
    #theme-btn-desktop {
        display: none !important;
    }
    
    /* Mobile Hero */
    .hero-tagline {
        font-size: 2.2rem;
        line-height: 1.15;
    }
    
    /* Mobile sections */
    section {
        margin-bottom: 50px;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }
    
    /* Mobile cards */
    .glass-card {
        padding: 15px;
    }
    
    /* Mobile service items */
    .service-item {
        padding: 12px 0;
    }
    
    .service-number {
        font-size: 1.8rem;
    }
    
    /* Mobile video card */
    .video-card-3d-wrapper {
        margin-top: 30px;
    }
    
    .video-card-content {
        transform: none !important;
    }
    
    /* Mobile buttons */
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    /* Mobile quick links */
    .quick-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .quick-link-card {
        padding: 20px 15px;
    }
    
    .quick-link-card i {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .quick-link-card h4 {
        font-size: 0.95rem;
    }
    
    .quick-link-card p {
        font-size: 0.75rem;
    }
    
    /* Mobile contact cards */
    .col-md-4 .glass-card {
        padding: 20px 15px;
    }
    
    /* Mobile Google Form */
    .glass-card iframe {
        height: 480px !important;
    }
    
    /* Mobile tech tags */
    .tech-tag {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    /* Mobile blog cards */
    .blog-card-img {
        height: 140px !important;
    }
    
    /* Mobile accordion */
    .accordion-button {
        font-size: 0.9rem;
        padding: 12px 15px;
    }
    
    .accordion-body {
        padding: 15px;
        font-size: 0.9rem;
    }
    
    /* Mobile footer */
    footer {
        padding: 30px 0;
        margin-top: 40px;
    }
    
    footer p {
        font-size: 0.85rem;
    }
    
    /* Mobile social dock */
    .social-dock {
        padding-top: 20px;
        gap: 6px;
    }
    
    .social-icon {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
    
    /* Mobile nav menu */
    .nav-link {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    /* Mobile progress bars */
    .progress {
        height: 5px;
    }
    
    /* Hide play button overlay on touch */
    .play-btn-overlay {
        opacity: 0.8;
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }
}

/* Extra small devices */
@media (max-width: 576px) {
    .main-content {
        padding: 12px;
    }
    
    .hero-tagline {
        font-size: 1.9rem;
    }
    
    .quick-links {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .quick-link-card {
        padding: 15px 10px;
    }
    
    .quick-link-card h4 {
        font-size: 0.85rem;
    }
    
    .quick-link-card p {
        display: none;
    }
    
    .col-md-4 .glass-card h5 {
        font-size: 1rem;
    }
    
    .blog-card-img {
        height: 120px !important;
    }
    
    .glass-card h4 {
        font-size: 1.1rem;
    }
    
    /* Stack contact method cards */
    .row.g-4.mb-5 > .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

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

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* ========== Scrollbar ========== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

/* ========== Selection ========== */
::selection {
    background: var(--accent-color);
    color: white;
}

/* ========== Global Text Overrides ========== */
/* Ensure consistent text colors across all pages */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
}

p, span, small, li {
    color: var(--text-secondary);
}

strong, b {
    color: var(--text-primary);
}

.text-secondary {
    color: var(--text-secondary) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

/* Accordion text fix */
.accordion-button {
    color: var(--text-primary) !important;
}

.accordion-body {
    color: var(--text-secondary) !important;
}

/* Lead text */
.lead {
    color: var(--text-secondary);
}

.lead strong {
    color: var(--text-primary);
}

/* Card titles */
.glass-card h3,
.glass-card h4,
.glass-card h5 {
    color: var(--text-primary);
}

.glass-card p {
    color: var(--text-secondary);
}

/* Footer */
footer p {
    color: var(--text-muted);
}

/* Small text */
small {
    color: var(--text-secondary);
}

/* Section title */
.section-title {
    color: var(--text-primary);
}

/* Nav links */
.nav-link {
    color: var(--text-secondary);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

/* Profile name */
.profile-name {
    color: var(--text-primary);
    background: none;
    -webkit-text-fill-color: var(--text-primary);
}

/* Hero tagline */
.hero-tagline {
    color: var(--text-primary);
}

/* Service text */
.service-item h6 {
    color: var(--text-primary);
}

.service-item small {
    color: var(--text-secondary);
}

/* Blog card */
.blog-meta {
    color: var(--text-muted);
}

/* Tech tags */
.tech-tag {
    color: var(--text-secondary);
}

.tech-tag:hover {
    color: white;
}

/* Handle pill */
.handle-pill {
    color: var(--text-secondary);
}

/* Fix Bootstrap text-secondary override */
[class*="text-secondary"] {
    color: var(--text-secondary) !important;
}
