/* Base styles */
:root {
  /* ARX Identity Palette */
  --bg: #060b1f;
  --bg-2: #0b1540;
  --text: #f3f6ff;
  --muted: #b8c3e6;
  --primary: #2f78ff;
  --primary-600: #1f5de2;
  --accent: #8ab4ff;
  --card: #0f1a3a;
  --card-2: #15214d;
  --shadow: 0 15px 40px rgba(0,0,0,.45);
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  padding-top: 80px; /* Space for fixed header */
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background-color: var(--bg);
  position: relative;
}

/* Blurred background image */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(1000px 600px at 50% -100px, #2a3a8f22, transparent), url('https://i.ibb.co/hKW4BWz/ARX-animated.gif') center/cover fixed no-repeat;
  filter: blur(18px);
  z-index: -2;
}

/* Subtle overlay for better readability */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 11, 31, 0.3);
  z-index: -1;
}

.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}

/* Hero */
.hero {
  position: relative;
  min-height: 90vh;
  display: grid;
  place-items: center;
  text-align: center;
}
.hero__overlay { position:absolute; inset:0; box-shadow: inset 0 0 0 2px #ffffff1a; }
.hero__content { position: relative; z-index: 1; }
.hero__title {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 700;
  color: #eaeefc;
  text-shadow: 0 10px 30px rgba(0,0,0,.6), 0 0 0 #000;
}
.hero__subtitle { margin: .6rem 0 1.6rem; font-size: clamp(1rem, 2.5vw, 1.35rem); color: var(--text); text-shadow: 0 6px 18px rgba(0,0,0,.65); }

.btn {
  display:inline-block;
  padding:.9rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  box-shadow: var(--shadow);
  font-weight: 700;
  backdrop-filter: blur(8px);
}
.btn--primary {
  background: linear-gradient(135deg, rgba(47, 120, 255, 0.8), rgba(31, 93, 226, 0.8));
  border: 2px solid rgba(255, 255, 255, 0.3);
}
.btn--primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 12px 26px rgba(47,120,255,.35);
  background: linear-gradient(135deg, rgba(47, 120, 255, 0.9), rgba(31, 93, 226, 0.9));
}

/* Section */
.section-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin: 2.5rem 0 1.25rem;
  padding: .4rem 1rem;
  background: linear-gradient(90deg, rgba(75, 42, 203, 0.8), rgba(42, 60, 207, 0.8));
  backdrop-filter: blur(8px);
  border-radius: 12px;
  width: fit-content;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Services */
.services {
  padding: 4rem 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.services-header {
  text-align: center;
  margin-bottom: 3rem;
}

.services-title {
  display: inline-block;
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  padding: 1rem 3rem;
  border-radius: 50px;
  background: linear-gradient(-45deg, #6a11cb, #2575fc, #6a11cb, #2575fc);
  background-size: 400% 400%;
  animation: gradientShift 4s ease-in-out infinite;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  margin: 0;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.25s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  backdrop-filter: blur(10px);
  will-change: transform, box-shadow;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.service-card__image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card:hover .service-card__image img {
  transform: scale(1.1);
}

.service-card__content {
  padding: 1.5rem;
  text-align: center;
}

.service-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: #2c3e50;
  letter-spacing: 0.5px;
}

.service-card__text {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0 0 1rem 0;
}

.service-card__cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #667eea;
  font-weight: 600;
  font-size: 0.9rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.service-card:hover .service-card__cta {
  opacity: 1;
  transform: translateX(0);
}

.service-card__cta i {
  transition: transform 0.3s ease;
}

.service-card:hover .service-card__cta i {
  transform: translateX(5px);
}

/* About Us */
.about {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.about__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 3rem;
}

.about__divider {
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #06b6d4);
  border-radius: 2px;
  margin: 2rem 0;
  position: relative;
  overflow: hidden;
}

.about__divider::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.about__stats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;

}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #06b6d4);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.stat-item:hover::before {
  transform: scaleX(1);
}

.stat-item:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  border-color: rgba(59, 130, 246, 0.3);
}



.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: #2575fc;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: #666;
  font-weight: 500;
}

.about__text {
  padding: 2rem;
}

.about__title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 2rem;
  position: relative;

}

.about__title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  border-radius: 2px;
  animation: expandWidth 1s ease 0.6s forwards;
  transform-origin: left;
  scale: 0;
}

.about__description {
  color: #666;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;

}

@media (max-width: 768px) {
  .about__content {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .about__stats {
    flex-direction: row;
    justify-content: space-around;
  }

  .stat-item {
    flex: 1;
    margin: 0 0.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .about__divider {
    margin: 1.5rem 0;
  }
}

/* About Team */
.about__team {
  margin-top: 0;
  padding-top: 2rem;
}

.about__team-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 3rem;
  text-align: center;
  position: relative;

}

.about__team-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #06b6d4);
  border-radius: 2px;
  animation: expandWidth 1s ease 0.8s forwards;
  transform-origin: center;
  scale: 0;
}

@keyframes expandWidth {
  to {
    scale: 1;
  }
}

.about__team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
  perspective: 1000px;
  max-width: 1600px;
  margin: 0 auto;
}

.team-card {
  background: white;
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid transparent;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  will-change: transform, box-shadow;
}

.team-card::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.6s ease;
}

.team-card:hover::before {
  left: 100%;
}

.team-card:hover {
  transform: translateY(-15px) scale(1.05);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  border-color: rgba(59, 130, 246, 0.3);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.team-card__avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #e9ecef;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  background: linear-gradient(45deg, #f8f9fa, #e9ecef);
}

.team-card__avatar::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  background: linear-gradient(45deg, #3b82f6, #8b5cf6, #06b6d4, #10b981);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-card:hover .team-card__avatar::before {
  opacity: 1;
}

.team-card:hover .team-card__avatar {
  transform: scale(1.15);
  border-color: transparent;
}

.team-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  pointer-events: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

.team-card:hover .team-card__avatar img {
  transform: scale(1.1);
}

.team-card__name {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: #2c3e50;
}

.team-card__role {
  font-size: 0.8rem;
  color: #666;
  font-weight: 400;
  line-height: 1.2;
}

/* Team Card Variants */
.team-card--primary {
  border: 4px solid #3b82f6;
  background: linear-gradient(135deg, #ffffff 0%, #eff6ff 50%, #dbeafe 100%);
  position: relative;
  overflow: visible;
  box-shadow: 0 15px 50px rgba(59, 130, 246, 0.2);
}

.team-card--primary::after {
  content: '👑';
  position: absolute;
  top: -25px;
  right: -15px;
  background: linear-gradient(45deg, #ffd700, #ffed4e, #ffd700);
  background-size: 200% 200%;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6);
  border: 3px solid #fff;
  animation: crownFloat 3s ease-in-out infinite, crownGlow 2s ease-in-out infinite alternate;
  z-index: 10;
}

.team-card--primary:hover {
  box-shadow: 0 30px 100px rgba(59, 130, 246, 0.5);
  border-color: #2563eb;
  transform: translateY(-10px);
}

.team-card--primary .team-card__avatar {
  border: 5px solid #3b82f6;
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
  width: 110px;
  height: 110px;
  position: relative;
}

.team-card--primary .team-card__avatar::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  background: linear-gradient(45deg, #3b82f6, #60a5fa, #3b82f6);
  background-size: 200% 200%;
  animation: avatarGlow 3s ease-in-out infinite;
  z-index: -1;
}

.team-card--primary .team-card__name {
  font-size: 1.2rem;
  font-weight: 700;
  background: linear-gradient(45deg, #3b82f6, #1d4ed8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.team-card--primary .team-card__role {
  font-weight: 600;
  color: #3b82f6;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.team-card--secondary {
  border: 3px solid #8b5cf6;
  background: linear-gradient(135deg, #ffffff 0%, #faf5ff 100%);
}

.team-card--secondary:hover {
  box-shadow: 0 25px 80px rgba(139, 92, 246, 0.4);
  border-color: #7c3aed;
}

/* Support Team Cards */
.team-card--support {
  border: 2px solid #17a2b8;
  background: linear-gradient(135deg, #ffffff 0%, #e8f8fa 100%);
}

.team-card--support:hover {
  box-shadow: 0 20px 60px rgba(23, 162, 184, 0.3);
  border-color: #138496;
  transform: translateY(-8px);
}

/* View More Card */
.team-card--view-more {
  border: 3px dashed #6c757d;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  cursor: pointer;
  transition: all 0.3s ease;
}

.team-card--view-more:hover {
  border-color: #495057;
  background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(108, 117, 125, 0.2);
}

.team-card--view-more .team-card__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(45deg, #6c757d, #495057);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 2rem;
  transition: all 0.3s ease;
}

.team-card--view-more:hover .team-card__icon {
  transform: scale(1.1);
  background: linear-gradient(45deg, #495057, #343a40);
}

/* Support Team Grid */
.support-team-grid {
  display: contents;
}

.support-team-grid.hide {
  display: none;
}

.support-team-grid.show {
  display: contents;
}

/* Support Team Animation - Super Fast */
.team-card--support {
  opacity: 0;
  transform: translateY(15px) scale(0.95);
  transition: all 0.2s ease-out;
}

.support-team-grid.show .team-card--support {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Very fast staggered animation - all appear within 0.15s */
.support-team-grid.show .team-card--support:nth-child(1) { transition-delay: 0s; }
.support-team-grid.show .team-card--support:nth-child(2) { transition-delay: 0.01s; }
.support-team-grid.show .team-card--support:nth-child(3) { transition-delay: 0.02s; }
.support-team-grid.show .team-card--support:nth-child(4) { transition-delay: 0.03s; }
.support-team-grid.show .team-card--support:nth-child(5) { transition-delay: 0.04s; }
.support-team-grid.show .team-card--support:nth-child(6) { transition-delay: 0.05s; }
.support-team-grid.show .team-card--support:nth-child(7) { transition-delay: 0.06s; }
.support-team-grid.show .team-card--support:nth-child(8) { transition-delay: 0.07s; }
.support-team-grid.show .team-card--support:nth-child(9) { transition-delay: 0.08s; }
.support-team-grid.show .team-card--support:nth-child(10) { transition-delay: 0.09s; }
.support-team-grid.show .team-card--support:nth-child(11) { transition-delay: 0.1s; }
.support-team-grid.show .team-card--support:nth-child(12) { transition-delay: 0.11s; }
.support-team-grid.show .team-card--support:nth-child(13) { transition-delay: 0.12s; }
.support-team-grid.show .team-card--support:nth-child(14) { transition-delay: 0.13s; }
.support-team-grid.show .team-card--support:nth-child(15) { transition-delay: 0.14s; }
.support-team-grid.show .team-card--support:nth-child(16) { transition-delay: 0.15s; }
.support-team-grid.show .team-card--support:nth-child(17) { transition-delay: 0.16s; }
.support-team-grid.show .team-card--support:nth-child(18) { transition-delay: 0.17s; }
.support-team-grid.show .team-card--support:nth-child(19) { transition-delay: 0.18s; }
.support-team-grid.show .team-card--support:nth-child(20) { transition-delay: 0.19s; }
.support-team-grid.show .team-card--support:nth-child(21) { transition-delay: 0.2s; }

.team-card--secondary .team-card__avatar {
  border: 4px solid #8b5cf6;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
  width: 100px;
  height: 100px;
}

.team-card--success {
  border-color: #10b981;
}

.team-card--success .team-card__avatar {
  border-color: #10b981;
}

.team-card--danger {
  border-color: #ef4444;
}

.team-card--danger .team-card__avatar {
  border-color: #ef4444;
}

.team-card--dark {
  border-color: #6b7280;
}

.team-card--dark .team-card__avatar {
  border-color: #6b7280;
}

.team-card--info {
  border-color: #06b6d4;
}

.team-card--info .team-card__avatar {
  border-color: #06b6d4;
}

.team-card--warning {
  border-color: #f59e0b;
}

.team-card--warning:hover {
  box-shadow: 0 20px 60px rgba(245, 158, 11, 0.3);
}

.team-card--warning .team-card__avatar {
  border-color: #f59e0b;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

@keyframes crownFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-8px) rotate(2deg);
  }
  50% {
    transform: translateY(-12px) rotate(0deg);
  }
  75% {
    transform: translateY(-8px) rotate(-2deg);
  }
}

@keyframes crownGlow {
  0% {
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6);
    background-position: 0% 50%;
  }
  100% {
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.8);
    background-position: 100% 50%;
  }
}

@keyframes avatarGlow {
  0% {
    background-position: 0% 50%;
    opacity: 0.8;
  }
  50% {
    background-position: 100% 50%;
    opacity: 1;
  }
  100% {
    background-position: 0% 50%;
    opacity: 0.8;
  }
}

/* Image Protection */
.team-card__avatar img {
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
  -webkit-user-drag: none !important;
  -khtml-user-drag: none !important;
  -moz-user-drag: none !important;
  -o-user-drag: none !important;
  user-drag: none !important;
  -webkit-touch-callout: none !important;
  -webkit-tap-highlight-color: transparent !important;
  pointer-events: none !important;
}

.team-card__avatar {
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
}

@media (max-width: 768px) {
  .about__team-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.8rem;
    max-width: 100%;
  }

  .about__team-title {
    font-size: 1.5rem;
  }

  .team-card {
    padding: 1.2rem 0.8rem;
  }

  .team-card__avatar {
    width: 50px;
    height: 50px;
  }

  .team-card--primary .team-card__avatar {
    width: 70px;
    height: 70px;
  }

  .team-card--primary::after {
    width: 35px;
    height: 35px;
    font-size: 16px;
    top: -15px;
    right: -10px;
  }


}

/* Footer */
.footer {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: #ecf0f1;
  padding: 3rem 0 1rem;
}

.footer__content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer__section {
  text-align: center;
}

.footer__title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #ecf0f1;
}

.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__links li {
  margin-bottom: 0.5rem;
}

.footer__links a {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__links a:hover {
  color: #3498db;
}

.footer__tagline {
  color: #bdc3c7;
  margin-bottom: 1rem;
  font-style: italic;
}

.footer__social {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #ecf0f1;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.social-link:hover {
  background: #3498db;
  transform: translateY(-2px);
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.social-link i {
  font-size: 1.2rem;
  line-height: 1;
}

.footer__bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #bdc3c7;
}

@media (max-width: 768px) {
  .footer__content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
/* Search Container */
.search-container {
  flex: 1;
  max-width: 450px;
  margin: 0 1.5rem;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  padding: 0.5rem 0.8rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(10px);
}

.search-box:focus-within {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.search-icon {
  color: rgba(255, 255, 255, 0.8);
  margin-right: 0.7rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.search-box:focus-within .search-icon {
  color: white;
  transform: scale(1.1);
}

.search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.9rem;
  color: white;
  padding: 0.3rem 0;
  font-weight: 400;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
}

/* Typing cursor animation */
.search-input.typing::placeholder::after {
  content: '|';
  animation: blink 1s infinite;
  margin-left: 2px;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.search-btn {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-left: 0.5rem;
  backdrop-filter: blur(10px);
}

.search-btn:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.2));
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.search-btn i {
  font-size: 0.85rem;
}

/* Language Selector */
.language-selector {
  position: relative;
  margin-left: 1rem;
}

.language-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.language-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.language-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  min-width: 140px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  margin-top: 0.5rem;
}

.language-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.8rem;
  color: #333;
  text-decoration: none;
  transition: background 0.2s ease;
  font-size: 0.8rem;
}

.language-option:hover {
  background: #f8f9fa;
}

.language-option.active {
  background: #e3f2fd;
  color: #1976d2;
}

.language-option img {
  width: 16px;
  height: auto;
  border-radius: 2px;
}

/* Login Button */
.login-btn {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-left: 0.5rem;
}

.login-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.4);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  background: rgba(11, 17, 48, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.header__inner { display:flex; align-items:center; justify-content: space-between; gap: 1rem; padding: .6rem 0; }
.brand { display:flex; align-items:center; gap:.6rem; color: #fff; text-decoration:none; font-weight:700; letter-spacing:.5px; }
.brand__logo { width: 34px; height: 34px; object-fit: contain; filter: drop-shadow(0 4px 12px #0008); }
.nav { display:flex; align-items:center; gap: .9rem; }
.nav__link { color: var(--text); text-decoration:none; padding:.4rem .6rem; border-radius: 8px; transition: all 0.3s ease; }
.nav__link:hover { background: #ffffff12; }

/* Responsive Design */
@media (max-width: 768px) {
  .search-container {
    display: none;
  }

  .language-selector,
  .login-btn {
    display: none;
  }
}


