/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #3b82f6;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #2563eb;
}

html {
    scroll-behavior: smooth;
}

/* Animations */
@keyframes blob {
  0% { transform: translate(0px, 0px) scale(1); }
  33% { transform: translate(30px, -50px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
  100% { transform: translate(0px, 0px) scale(1); }
}

.animate-blob {
  animation: blob 7s infinite;
}
.animation-delay-2000 {
  animation-delay: 2s;
}
.animation-delay-4000 {
  animation-delay: 4s;
}

/* Timeline helpers */
.group.is-education .lucide-briefcase {
    display: none;
}
.group.is-work .lucide-graduation-cap {
    display: none;
}

/* 
   =============================================================================
   CONTACT SECTION HUD STYLING (ADDENDUM)
   =============================================================================
*/

/* The Canvas Layer */
#contact-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Behind content */
    pointer-events: none; /* Let clicks pass through, JS handles mouse tracking manually */
}

/* Glassmorphism Container for Content */
.contact-hud-container {
    /* Base styles handled by Tailwind classes in HTML, extras here */
}

/* Info Cards Restyling */
.contact-info-card {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-info-card:hover {
    transform: translateX(8px) scale(1.02);
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.15);
    border-color: #93c5fd; /* blue-300 */
    background: white;
}

/* Icon Pulse Effect */
.icon-wrapper {
    position: relative;
    z-index: 1;
}

.contact-info-card:hover .icon-wrapper::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    border: 2px solid #60a5fa; /* blue-400 */
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
    75%, 100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Form Input Enhancements */
.hud-input-group {
    position: relative;
}

.hud-input {
    transition: all 0.3s ease;
    background: rgba(248, 250, 252, 0.5); /* slate-50/50 */
    backdrop-filter: blur(4px);
}

.hud-input:focus {
    background: white;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

/* Focus Indicator Bar */
.input-highlight {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #2563eb; /* blue-600 */
    transition: all 0.3s ease;
    transform: translateX(-50%);
    z-index: 2;
    pointer-events: none;
}

.hud-input:focus ~ .input-highlight {
    width: 100%;
}

/* Submit Button Futuristic Style */
.hud-btn {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); /* slate-900 to slate-800 */
    overflow: hidden;
    z-index: 1;
}

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

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

.hud-btn:hover {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
}