/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #fff;
    background: #000;
}

/* Hide scrollbar for all browsers */
*::-webkit-scrollbar {
    display: none;
}

* {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Gradient Text Utility */
.gradient-text {
    background: linear-gradient(135deg, #00E0FF 0%, #9333EA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Glassmorphism Utilities */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-dark {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animated Gradient Background */
@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.animated-gradient {
    background: linear-gradient(-45deg, #00E0FF, #9333EA, #7C3AED, #00D4FF);
    background-size: 400% 400%;
    animation: gradient-shift 15s ease infinite;
}

/* Pulse Glow Effect */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 224, 255, 0.5), 0 0 40px rgba(147, 51, 234, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(0, 224, 255, 0.8), 0 0 60px rgba(147, 51, 234, 0.5);
    }
}

.pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Scroll Indicator Animation */
@keyframes scroll-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

.scroll-indicator {
    animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-dot {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(12px);
    }
}

.scroll-dot {
    animation: scroll-dot 2s ease-in-out infinite;
}

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

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

/* Particle Animation */
@keyframes particleFloat {
    0% {
        transform: translateY(0);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-100vh);
        opacity: 0;
    }
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: #00E0FF;
    opacity: 0.2;
    animation: particleFloat linear infinite;
}

/* Robot Animations */
@keyframes robotFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

.robot-float {
    animation: robotFloat 1.5s ease-in-out infinite;
}

@keyframes robotEyeBlink {
    0%, 90%, 100% {
        transform: scaleY(1);
    }
    95% {
        transform: scaleY(0.1);
    }
}

.robot-eye {
    animation: robotEyeBlink 3s ease-in-out infinite;
}

@keyframes robotArmLeft {
    0%, 100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(-20deg);
    }
}

.robot-arm-left {
    animation: robotArmLeft 1.5s ease-in-out infinite;
}

@keyframes robotArmRight {
    0%, 100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(20deg);
    }
}

.robot-arm-right {
    animation: robotArmRight 1.5s ease-in-out infinite;
}

/* Robot Slide Animation */
@keyframes robotSlideUp {
    0% {
        transform: translateY(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-2px);
        opacity: 1;
    }
}

@keyframes robotSlideDown {
    0% {
        transform: translateY(-2px);
        opacity: 1;
    }
    100% {
        transform: translateY(0);
        opacity: 0;
    }
}

.robot-slide-up {
    animation: robotSlideUp 0.3s ease-out forwards;
}

.robot-slide-down {
    animation: robotSlideDown 0.3s ease-out forwards;
}

/* Mobile Menu Animation */
@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        max-height: 500px;
    }
    to {
        opacity: 0;
        max-height: 0;
    }
}

.slide-down {
    animation: slideDown 0.3s ease-out forwards;
}

.slide-up {
    animation: slideUp 0.3s ease-out forwards;
}

/* Technology Card Hover Effects */
.tech-card {
    transition: all 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-12px);
}

/* Button Hover Effects */
button {
    transition: all 0.3s ease;
}

button:active {
    transform: scale(0.95);
}

/* Form Input Focus Effects */
input:focus,
textarea:focus {
    outline: none;
    border-color: #00E0FF;
    box-shadow: 0 0 0 3px rgba(0, 224, 255, 0.1);
}

/* Custom Scrollbar for Chat Messages (visible in chat) */
#chatMessages::-webkit-scrollbar {
    display: block;
    width: 6px;
}

#chatMessages::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

#chatMessages::-webkit-scrollbar-thumb {
    background: rgba(0, 224, 255, 0.3);
    border-radius: 10px;
}

#chatMessages::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 224, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    #chatWindow {
        width: calc(100vw - 2rem);
        right: 1rem;
    }
}

/* Loading State */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Chat Message Animations */
@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message-slide-in {
    animation: messageSlideIn 0.3s ease-out;
}

/* Utility Classes */
.pointer-events-none {
    pointer-events: none;
}

.cursor-pointer {
    cursor: pointer;
}

/* Link Hover Effects */
a {
    color: #00E0FF;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #9333EA;
}

/* Selection Color */
::selection {
    background: rgba(0, 224, 255, 0.3);
    color: #fff;
}

::-moz-selection {
    background: rgba(0, 224, 255, 0.3);
    color: #fff;
}


.blob {
    position: absolute;
    width: 200px;
    height: 200px;
    background: #00ffff;
    filter: blur(100px);
    border-radius: 50%;
    animation: floatBlob 20s ease-in-out infinite;
    opacity: 0.1;
  }
  
  @keyframes floatBlob {
    0% { transform: translate(0,0); }
    50% { transform: translate(100px, -50px); }
    100% { transform: translate(0,0); }
  }
      
  /* Bot Thinking Dots Animation */
.dot {
    width: 8px;
    height: 8px;
    background-color: #00E0FF;
    border-radius: 50%;
    opacity: 0.6;
    animation: dotBlink 1.4s infinite ease-in-out both;
}

.dot + .dot {
    margin-left: 4px;
}

.dot1 {
    animation-delay: 0s;
}
.dot2 {
    animation-delay: 0.2s;
}
.dot3 {
    animation-delay: 0.4s;
}

@keyframes dotBlink {
    0%, 80%, 100% {
        opacity: 0.3;
        transform: translateY(0);
    }
    40% {
        opacity: 1;
        transform: translateY(-4px);
    }
}

/* Navbar Logo Styling */
.nav-logo img {
    transition: transform 0.3s ease;
}

.nav-logo:hover img {
    transform: scale(1.05);
}
/* Curved Logo Styling */
.rounded-logo {
    border-radius: 6px;   /* Big smooth curve */
}
