@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/inter-v19-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
body {
  font-family: 'Inter', sans-serif;
}

/* Custom scrollbar */
body::-webkit-scrollbar {
    width: 8px;
}
body::-webkit-scrollbar-track {
    background: #111827; /* Darker background for track */
}
body::-webkit-scrollbar-thumb {
    background-color: #4f46e5;
    border-radius: 20px;
}
/* Style for placeholder text */
::placeholder {
    color: #6b7280;
    opacity: 1; 
}
/* Hide scrollbar for skills container */
.skills-container::-webkit-scrollbar {
    display: none;
}
.skills-container {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* --- Automatic Scrolling Marquee --- */
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.skills-container {
    display: flex;
    width: max-content;
    min-width: 100%;
}

.animate-scroll-1 {
  animation: scroll 16s linear infinite;
}

.animate-scroll-2 {
  animation: scroll 30s linear infinite reverse;
}

/* Pause animation on hover/touch */
.skills-wrapper:hover .skills-container,
.skills-wrapper:focus-within .skills-container {
    animation-play-state: paused;
}

/* --- Animated Nav Link Indicator --- */
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -6px;
    left: 0;
    background: linear-gradient(90deg, #818cf8, #a78bfa);
    transition: width 0.4s ease-in-out;
}
.nav-link.active::after {
    width: 100%;
}

/* --- Animated Gradient Border for Profile Picture --- */
@keyframes rotate {
    100% {
        transform: rotate(1turn);
    }
}
.animated-gradient-wrapper {
    position: relative;
    z-index: 0;
    border-radius: 50%;
}
.animated-gradient-wrapper::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: -4px; /* Controls the border thickness */
    background: conic-gradient(from 90deg, #a78bfa, #818cf8, #a78bfa);
    border-radius: inherit;
    animation: rotate 4s linear infinite;
}

/* --- Animated Gradient Text --- */
@keyframes animated-gradient-text {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.animated-gradient-text {
    background: linear-gradient(90deg, #a78bfa, #818cf8, #a78bfa);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: animated-gradient-text 4s ease-in-out infinite;
}

/* --- Animated Gradient Background --- */
@keyframes animated-background {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.animated-bg {
    background: linear-gradient(135deg, #111827, #131233, #111827);
    background-size: 400% 400%;
    animation: animated-background 15s ease-in-out infinite;
}
.modal-thumbnail.active {
    border-color: #6366f1;
}

/* --- Smooth Mobile Menu Transition --- */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 1s ease-in-out, padding-top 1s ease-in-out, padding-bottom 1s ease-in-out;
}
#mobile-menu.open {
    max-height: 500px; /* Adjust if menu gets taller */
    padding-top: 0.5rem; /* 8px */
    padding-bottom: 0.5rem; /* 8px */
}