* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:'Tajawal' ,'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #0a0e27;
  color: #ffffff;
  line-height: 1.6;
}
.tajawal-extralight {
  font-family: "Tajawal", sans-serif;
  font-weight: 200;
  font-style: normal;
}

.tajawal-light {
  font-family: "Tajawal", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.tajawal-regular {
  font-family: "Tajawal", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.tajawal-medium {
  font-family: "Tajawal", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.tajawal-bold {
  font-family: "Tajawal", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.tajawal-extrabold {
  font-family: "Tajawal", sans-serif;
  font-weight: 800;
  font-style: normal;
}

.tajawal-black {
  font-family: "Tajawal", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 14, 39, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 153, 255, 0.1);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.navbar-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: bold;
  background: linear-gradient(135deg, #0099ff, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-container {
  width: 45px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 153, 255, 0.1);
  border: 2px solid rgba(0, 212, 255, 0.5);
  border-radius: 50%;
  animation: logoFloat 3s ease-in-out infinite;
}

.logo {
  width: 35px;
  height: 35px;
  filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.6));
  animation: logoSpin 4s linear infinite;
}

@keyframes logoFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes logoSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
}

.nav-link {
  color: #b0b0b0;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  position: relative;
}

.nav-link:hover {
  color: #00d4ff;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  right: 0;
  width: 0;
  height: 2px;
  background: #00d4ff;
  transition: width 0.3s ease-in-out;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #00d4ff;
  transition: all 0.3s ease-in-out;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
  margin-top: 60px;
  min-height: calc(100vh - 60px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, rgba(0, 153, 255, 0.1), rgba(0, 212, 255, 0.05));
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 153, 255, 0.1), transparent);
  border-radius: 50%;
  top: -100px;
  right: -100px;
  animation: float 6s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.1), transparent);
  border-radius: 50%;
  bottom: -50px;
  left: -50px;
  animation: float 8s ease-in-out infinite reverse;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
  max-width: 1200px;
}

@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.hero-text h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #f0f7fc, #f7f7f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 2.5rem;
  }
}

.hero-text p {
  font-size: 1.2rem;
  color: #b0b0b0;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }
}

/* Buttons */
.btn {
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background: linear-gradient(135deg, #0099ff, #00d4ff);
  color: #0a0e27;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 153, 255, 0.3);
}

.btn-secondary {
  background: transparent;
  border: 2px solid #00d4ff;
  color: #00d4ff;
}

.btn-secondary:hover {
  background: rgba(0, 212, 255, 0.1);
  transform: translateY(-3px);
}

/* Sections */
section {
  padding: 80px 20px;
}

@media (max-width: 768px) {
  section {
    padding: 60px 20px;
  }
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  background: linear-gradient(135deg, #0099ff, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* About Section */
.about {
  background: linear-gradient(135deg, rgba(0, 153, 255, 0.05), rgba(0, 212, 255, 0.05));
}

.about h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  background: linear-gradient(135deg, #0099ff, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about p {
  text-align: center;
  font-size: 1.1rem;
  color: #b0b0b0;
  max-width: 800px;
  margin: 0 auto;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.service-card {
  background: rgba(0, 153, 255, 0.05);
  border: 1px solid rgba(0, 153, 255, 0.2);
  padding: 2rem;
  border-radius: 10px;
  transition: all 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #0099ff, #00d4ff);
}

.service-card:hover {
  border-color: #00d4ff;
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 153, 255, 0.2);
}

.service-card h3 {
  color: #00d4ff;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.service-card p {
  color: #b0b0b0;
  line-height: 1.8;
}

/* Projects Section */
.projects {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(0, 153, 255, 0.05));
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.project-card {
  background: rgba(0, 153, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.3);
  padding: 2rem;
  border-radius: 10px;
  transition: all 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  border-color: #00d4ff;
  transform: translateY(-15px);
  box-shadow: 0 25px 50px rgba(0, 212, 255, 0.2);
}

.project-card h3 {
  color: #00d4ff;
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.project-card p {
  color: #b0b0b0;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.project-link {
  color: #0099ff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease-in-out;
}

.project-link:hover {
  color: #00d4ff;
  margin-right: 5px;
}

/* Contact Section */
.contact {
  background: linear-gradient(135deg, rgba(0, 153, 255, 0.1), rgba(0, 212, 255, 0.05));
}

.contact h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  background: linear-gradient(135deg, #0099ff, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 153, 255, 0.3);
  border-radius: 5px;
  color: #ffffff;
  font-family: inherit;
  transition: all 0.3s ease-in-out;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #b0b0b0;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #00d4ff;
  background: rgba(0, 212, 255, 0.1);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.contact-form button {
  align-self: center;
  min-width: 200px;
}

/* Footer */
.footer {
  background: rgba(0, 0, 0, 0.5);
  border-top: 1px solid rgba(0, 153, 255, 0.1);
  padding: 2rem 20px;
  text-align: center;
  color: #b0b0b0;
}

/* Animations */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0, 153, 255, 0.5);
  }
  50% {
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.8);
  }
}

/* Advanced Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes rotateIn {
  from {
    opacity: 0;
    transform: rotate(-10deg) scale(0.9);
  }
  to {
    opacity: 1;
    transform: rotate(0) scale(1);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes neon-glow {
  0%, 100% {
    text-shadow: 0 0 10px #0099ff, 0 0 20px #0099ff, 0 0 30px #0099ff;
  }
  50% {
    text-shadow: 0 0 20px #00d4ff, 0 0 30px #00d4ff, 0 0 40px #00d4ff, 0 0 50px #00d4ff;
  }
}

@keyframes float-rotate {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) rotate(180deg);
  }
  100% {
    transform: translateY(0) rotate(360deg);
  }
}

@keyframes blob {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -50px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

@keyframes wave {
  0%, 100% {
    transform: translateY(0px);
  }
  25% {
    transform: translateY(-10px);
  }
  50% {
    transform: translateY(0px);
  }
  75% {
    transform: translateY(-5px);
  }
}

@keyframes typewriter {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink {
  0%, 49%, 100% {
    opacity: 1;
  }
  50%, 99% {
    opacity: 0;
  }
}

@keyframes heartbeat {
  0%, 100% {
    transform: scale(1);
  }
  14% {
    transform: scale(1.3);
  }
  28% {
    transform: scale(1);
  }
  42% {
    transform: scale(1.3);
  }
  70% {
    transform: scale(1);
  }
}

@keyframes flip {
  0% {
    transform: perspective(400px) rotateY(0);
  }
  100% {
    transform: perspective(400px) rotateY(360deg);
  }
}

@keyframes swing {
  20% {
    transform: rotate(15deg);
  }
  40% {
    transform: rotate(-10deg);
  }
  60% {
    transform: rotate(5deg);
  }
  80% {
    transform: rotate(-5deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@keyframes rubberBand {
  0% {
    transform: scale(1);
  }
  30% {
    transform: scaleX(1.25) scaleY(0.75);
  }
  40% {
    transform: scaleX(0.75) scaleY(1.25);
  }
  50% {
    transform: scaleX(1.15) scaleY(0.85);
  }
  65% {
    transform: scaleX(0.95) scaleY(1.05);
  }
  75% {
    transform: scaleX(1.05) scaleY(0.95);
  }
  100% {
    transform: scale(1);
  }
}
/* Logo Styles */
.logo-container {
    width: 50px;
    height: 50px;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.7));
    transition: all 0.3s ease;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand:hover .logo-img {
    transform: rotate(10deg) scale(1.1);
    filter: drop-shadow(0 0 12px rgba(0, 212, 255, 0.9));
}
/* Apply animations to elements */
.hero-text h1 {
  animation: fadeInUp 1s ease-out, neon-glow 3s ease-in-out infinite;
}

.hero-text p {
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
  animation: fadeInUp 1s ease-out 0.4s both;
}

.btn-primary {
  animation: pulse 2s ease-in-out infinite;
}

.btn-primary:hover {
  animation: none;
}

.service-card {
  animation: fadeInUp 0.8s ease-out both;
  animation-delay: calc(var(--index, 0) * 0.15s);
}

.service-card:hover {
  animation: rubberBand 0.6s ease-in-out;
}

.project-card {
  animation: scaleIn 0.8s ease-out both;
  animation-delay: calc(var(--index, 0) * 0.15s);
}

.project-card:hover {
  animation: heartbeat 0.6s ease-in-out;
}

.section-title {
  animation: slideInLeft 0.8s ease-out;
}

.nav-link {
  position: relative;
}
/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--bg-color);
    color: var(--text-color);
}

.about-content {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.about-text h4 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin: 30px 0 15px;
    font-weight: 600;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.feature {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.feature h5 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.achievements {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 50px;
    gap: 20px;
}

.achievement {
    text-align: center;
    padding: 20px;
}

.achievement .counter {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 5px;
}

.achievement p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .achievements {
        flex-direction: column;
        align-items: center;
    }
}
.nav-link::before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #0099ff, #00d4ff);
  animation: none;
  transition: width 0.3s ease-in-out;
}

.nav-link:hover::before {
  animation: shimmer 1.5s infinite;
}

.contact-form input:focus,
.contact-form textarea:focus {
  animation: glow 1.5s ease-in-out infinite;
}

/* Stagger animation for cards */
.services-grid .service-card:nth-child(1) {
  animation-delay: 0s;
}

.services-grid .service-card:nth-child(2) {
  animation-delay: 0.15s;
}

.services-grid .service-card:nth-child(3) {
  animation-delay: 0.3s;
}

.services-grid .service-card:nth-child(4) {
  animation-delay: 0.45s;
}

.projects-grid .project-card:nth-child(1) {
  animation-delay: 0s;
}

.projects-grid .project-card:nth-child(2) {
  animation-delay: 0.15s;
}

.projects-grid .project-card:nth-child(3) {
  animation-delay: 0.3s;
}

.projects-grid .project-card:nth-child(4) {
  animation-delay: 0.45s;
}

/* Hover animations */
.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.2), transparent);
  animation: shimmer 2s infinite;
}

.project-link {
  position: relative;
  overflow: hidden;
}

.project-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #0099ff, #00d4ff);
  animation: slideInRight 0.3s ease-out;
}

/* Language Switcher */
.language-switcher {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 2000;
  display: flex;
  gap: 10px;
}

.lang-btn {
  padding: 8px 16px;
  background: rgba(0, 153, 255, 0.2);
  border: 2px solid rgba(0, 153, 255, 0.5);
  color: #00d4ff;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.lang-btn:hover {
  background: rgba(0, 153, 255, 0.4);
  border-color: #00d4ff;
}

.lang-btn.active {
  background: linear-gradient(135deg, #0099ff, #00d4ff);
  color: #0a0e27;
  border-color: #00d4ff;
}

/* Robot & Discs Animation */
.robot-container {
  position: relative;
  width: 400px;
  height: 450px;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
}

/* Outer Circle */
.outer-circle {
  position: absolute;
  width: 420px;
  height: 420px;
  border: 3px solid rgba(0, 212, 255, 0.4);
  border-radius: 50%;
  box-shadow: 
    0 0 30px rgba(0, 212, 255, 0.3),
    inset 0 0 30px rgba(0, 212, 255, 0.1);
  animation: circleRotate 60s linear infinite;
  z-index: 5;
}

@keyframes circleRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Disc Orbit */
.disc-orbit {
  position: absolute;
  width: 380px;
  height: 380px;
  animation: spinOrbit 30s linear infinite;
  z-index: 10;
}

@keyframes spinOrbit {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Spinning Discs */
.disc {
  position: absolute;
  width: 80px;
  height: 80px;
  border: 4px solid #00d4ff;
  border-radius: 50%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: conic-gradient(from 0deg, #0099ff 0%, #00d4ff 50%, #0099ff 100%);
  box-shadow: 
    0 0 30px rgba(0, 212, 255, 0.6),
    0 0 50px rgba(0, 153, 255, 0.3),
    inset 0 0 20px rgba(0, 153, 255, 0.3);
  animation: discSpin 3s linear infinite;
}

.disc::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), #00d4ff);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.9);
}

.disc-1 {
  animation-delay: 0s;
}

.disc-2 {
  animation-delay: -10s;
}

.disc-3 {
  animation-delay: -20s;
}

@keyframes discSpin {
  0% {
    transform: translateX(-50%) rotateZ(0deg);
  }
  100% {
    transform: translateX(-50%) rotateZ(360deg);
  }
}

/* Robot */
.robot {
  position: absolute;
  width: 140px;
  height: 220px;
  animation: robotWalk 4s ease-in-out infinite;
  filter: drop-shadow(0 15px 40px rgba(0, 212, 255, 0.5));
  z-index: 15;
}

@keyframes robotWalk {
  0%, 100% {
    transform: translateY(0) rotateZ(0deg);
  }
  25% {
    transform: translateY(-20px) rotateZ(-2deg);
  }
  50% {
    transform: translateY(0) rotateZ(0deg);
  }
  75% {
    transform: translateY(-15px) rotateZ(2deg);
  }
}

/* Robot Head */
.robot-head {
  position: relative;
  width: 110px;
  height: 100px;
  margin: 0 auto 15px;
  animation: headTilt 3s ease-in-out infinite;
  z-index: 20;
}

@keyframes headTilt {
  0%, 100% {
    transform: rotateZ(0deg);
  }
  25% {
    transform: rotateZ(-8deg);
  }
  75% {
    transform: rotateZ(8deg);
  }
}

/* Head Box */
.head-box {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0099ff 0%, #00d4ff 50%, #0077cc 100%);
  border: 4px solid rgba(0, 212, 255, 0.9);
  border-radius: 18px;
  box-shadow: 
    0 0 50px rgba(0, 212, 255, 0.8),
    0 0 80px rgba(0, 153, 255, 0.4),
    inset 0 0 30px rgba(0, 153, 255, 0.4);
  z-index: 20;
}

/* Antennas */
.antenna {
  position: absolute;
  width: 5px;
  background: linear-gradient(180deg, #00d4ff, #0099ff);
  top: -40px;
  animation: antennaWave 2s ease-in-out infinite;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.8);
  z-index: 25;
}

.antenna-left {
  height: 45px;
  left: 25px;
  transform-origin: bottom center;
  animation: antennaWave 2s ease-in-out infinite;
}

.antenna-right {
  height: 45px;
  right: 25px;
  transform-origin: bottom center;
  animation: antennaWave 2s ease-in-out infinite 0.3s;
}

@keyframes antennaWave {
  0%, 100% {
    transform: rotateZ(0deg);
  }
  25% {
    transform: rotateZ(-15deg);
  }
  75% {
    transform: rotateZ(15deg);
  }
}

/* Eyes */
.eyes {
  position: absolute;
  width: 100%;
  display: flex;
  justify-content: space-around;
  padding: 20px 15px;
  gap: 25px;
  z-index: 25;
  top: 15px;
}

.eye-socket {
  position: relative;
  width: 20px;
  height: 20px;
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(0, 212, 255, 0.7);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.8);
}

.eye-pupil {
  width: 10px;
  height: 10px;
  background: radial-gradient(circle at 30% 30%, #00d4ff, #0099ff);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.9);
  animation: pupilBlink 2s ease-in-out infinite;
}

.eye-shine {
  position: absolute;
  width: 6px;
  height: 6px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9), transparent);
  border-radius: 50%;
  top: 3px;
  left: 3px;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
  animation: eyeShine 1.5s ease-in-out infinite;
}

@keyframes pupilBlink {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(0.8);
    opacity: 0.8;
  }
}

@keyframes eyeShine {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

/* Mouth */
.mouth {
  position: absolute;
  width: 40px;
  height: 15px;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 25;
}

.mouth-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00d4ff, transparent);
  border-radius: 50%;
  animation: mouthSmile 2s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(0, 212, 255, 0.8);
}

@keyframes mouthSmile {
  0%, 100% {
    transform: scaleX(1) scaleY(1);
    opacity: 0.7;
  }
  50% {
    transform: scaleX(1.2) scaleY(1.3);
    opacity: 1;
  }
}

/* Screen Display */
.screen {
  position: absolute;
  width: 70px;
  height: 40px;
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(0, 212, 255, 0.7);
  border-radius: 8px;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
  z-index: 10;
}

.screen-line {
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #00d4ff, transparent);
  margin: 6px 0;
  animation: screenScan 2s linear infinite;
}

.line-1 {
  animation-delay: 0s;
}

.line-2 {
  animation-delay: 0.5s;
}

.line-3 {
  animation-delay: 1s;
}

@keyframes screenScan {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}

/* Robot Body */
.robot-body {
  position: relative;
  width: 85px;
  height: 70px;
  margin: 0 auto;
  z-index: 15;
}

.body-main {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0099ff 0%, #00d4ff 50%, #0077cc 100%);
  border: 3px solid rgba(0, 212, 255, 0.8);
  border-radius: 20px;
  box-shadow: 
    0 0 35px rgba(0, 212, 255, 0.6),
    inset 0 0 20px rgba(0, 153, 255, 0.3);
  animation: bodyPulse 2s ease-in-out infinite;
}

@keyframes bodyPulse {
  0%, 100% {
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5), inset 0 0 15px rgba(0, 153, 255, 0.2);
  }
  50% {
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.7), inset 0 0 25px rgba(0, 153, 255, 0.4);
  }
}

.body-panel {
  position: absolute;
  background: rgba(0, 212, 255, 0.2);
  border: 2px solid rgba(0, 212, 255, 0.6);
  border-radius: 8px;
  animation: panelGlow 1.5s ease-in-out infinite;
}

.panel-1 {
  width: 25px;
  height: 35px;
  top: 15px;
  left: 10px;
}

.panel-2 {
  width: 25px;
  height: 35px;
  top: 15px;
  right: 10px;
  animation-delay: 0.3s;
}

.panel-3 {
  width: 50px;
  height: 15px;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 0.6s;
}

@keyframes panelGlow {
  0%, 100% {
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.4);
  }
  50% {
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.8);
  }
}

/* Robot Arms */
.robot-arms {
  position: absolute;
  width: 140px;
  height: 60px;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
}

.arm {
  position: absolute;
  width: 50px;
  height: 15px;
  top: 0;
  display: flex;
  align-items: center;
}

.arm-left {
  left: 0;
  animation: armRotate 2s ease-in-out infinite;
  transform-origin: left center;
}

.arm-right {
  right: 0;
  animation: armRotate 2s ease-in-out infinite 0.5s;
  transform-origin: right center;
}

.arm-segment {
  position: absolute;
  background: linear-gradient(90deg, #0099ff, #00d4ff);
  border-radius: 8px;
  height: 100%;
}

.arm .segment-1 {
  width: 25px;
  left: 0;
}

.arm .segment-2 {
  width: 20px;
  right: 0;
}

.hand {
  position: absolute;
  width: 12px;
  height: 12px;
  background: radial-gradient(circle, #00d4ff, #0099ff);
  border-radius: 50%;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.8);
}

@keyframes armRotate {
  0%, 100% {
    transform: rotateZ(0deg);
  }
  50% {
    transform: rotateZ(-40deg);
  }
}

/* Robot Legs */
.robot-legs {
  position: absolute;
  width: 100%;
  height: 60px;
  bottom: -60px;
  left: 0;
}

.leg {
  position: absolute;
  width: 35px;
  height: 60px;
}

.leg-left {
  left: 20px;
  animation: legStep 2s ease-in-out infinite;
  transform-origin: top center;
}

.leg-right {
  right: 20px;
  animation: legStep 2s ease-in-out infinite 0.5s;
  transform-origin: top center;
}

.leg-segment {
  position: absolute;
  background: linear-gradient(90deg, #0099ff, #00d4ff);
  border-radius: 8px;
  width: 100%;
}

.leg .segment-1 {
  height: 25px;
  top: 0;
}

.leg .segment-2 {
  height: 20px;
  top: 25px;
}

.foot {
  position: absolute;
  width: 30px;
  height: 12px;
  background: linear-gradient(90deg, #0099ff, #00d4ff);
  border-radius: 6px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
}

@keyframes legStep {
  0%, 100% {
    transform: translateY(0) rotateZ(0deg);
  }
  50% {
    transform: translateY(-15px) rotateZ(-15deg);
  }
}

/* Energy Particles */
.energy-particles {
  position: absolute;
  width: 100%;
  height: 100%;
}

.particle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: radial-gradient(circle, #00d4ff, #0099ff);
  border-radius: 50%;
  animation: particleFloat 4s ease-in-out infinite;
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.8);
}

.particle-1 {
  top: 30px;
  left: 40px;
  animation-delay: 0s;
}

.particle-2 {
  top: 50px;
  right: 50px;
  animation-delay: 0.8s;
}

.particle-3 {
  bottom: 60px;
  left: 60px;
  animation-delay: 1.6s;
}

.particle-4 {
  bottom: 40px;
  right: 40px;
  animation-delay: 2.4s;
}

@keyframes particleFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translateY(-30px) scale(1.3);
    opacity: 1;
  }
}
