/* Custom Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');



.glass-nav {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dark .glass-nav {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
}

.dark .glass-card {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.text-gradient {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(to right, #4f46e5, #3b82f6);
}
.dark .text-gradient {
    background-image: linear-gradient(to right, #818cf8, #60a5fa);
}

.timeline-container {
    position: relative;
    padding-left: 2rem;
}
.timeline-line {
    position: absolute;
    left: 0.35rem; /* center the line under the dot */
    top: 0.5rem;
    bottom: 0;
    width: 2px;
    background-color: #e5e7eb;
}
.dark .timeline-line {
    background-color: #334155;
}
.timeline-dot {
    position: absolute;
    left: 0;
    top: 0.35rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #4f46e5;
    border: 3px solid #ffffff;
    z-index: 10;
}
.dark .timeline-dot {
    border-color: #0f172a;
    background-color: #818cf8;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
.dark ::-webkit-scrollbar-thumb {
    background: #475569;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}
.dark ::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Glow effects for dark mode */
.dark .glow-primary {
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.15);
}

/* Skill Icon Hover */
.skill-icon-wrap {
    transition: all 0.3s ease;
}
.skill-icon-wrap:hover {
    transform: scale(1.1);
}
.skill-icon-wrap i {
    font-size: 2.5rem;
    transition: color 0.3s ease;
}

/* Base styles for dialog modal */
dialog::backdrop {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}
.dark dialog::backdrop {
    background: rgba(0, 0, 0, 0.8);
}
dialog[open] {
    animation: zoomFade 0.3s ease normal;
}

@keyframes zoomFade {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Infinite Marquee */
.marquee-container {
    display: flex;
    overflow: hidden;
    position: relative;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    display: flex;
    flex-shrink: 0;
    justify-content: space-around;
    min-width: 100%;
    animation: scrollX 30s linear infinite;
    gap: 4rem;
    padding-right: 4rem;
}

.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes scrollX {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

/* Modern Bento Card Hover */
.bento-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.5);
}
