html {
  scroll-behavior: smooth;
}
html,
body {
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  font-family: "Cairo", sans-serif;
}
.hero-bg {
  background:
    linear-gradient(135deg, white, white),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  background-size: cover;
  background-position: center;
}
.animate-fade-in {
  animation: fadeIn 1s ease-in-out;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-slide-in {
  animation: slideIn 0.8s ease-out;
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.card-hover {
  transition: all 0.3s ease;
}
.card-hover:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.btn-primary {
  background: linear-gradient(135deg, #eb232a, #eb232a);
  transition: all 0.3s ease;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px #eb232a;
}
* {
  font-family: "Cairo", sans-serif;
}

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

.animate-slide-up {
  animation: slideUp 0.8s ease-out;
}

.animate-bounce-in {
  animation: bounceIn 1.2s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes bounceIn {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
  70% {
    transform: scale(0.9);
    opacity: 0.9;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.service-card {
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

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

.gradient-bg {
  background: #eb232a;
}

.icon-pulse {
  animation: pulse 2s infinite;
}

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

.floating {
  animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

* {
  font-family: "Cairo", sans-serif;
}

.portfolio-item {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: scale(1);
}

.portfolio-item:hover {
  transform: scale(1.05) translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
  visibility: visible;
}

.portfolio-overlay {
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.portfolio-image {
  transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-image {
  transform: scale(1.1);
}

.filter-btn {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.filter-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;
}

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

.filter-btn.active {
  background: linear-gradient(135deg, #eb232a 0%, #eb232a 100%);
  color: white;
  transform: translateY(-2px);
}

.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.lightbox.show {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
  animation: zoomIn 0.3s ease;
}

.lightbox img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 30px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.lightbox-close:hover {
  transform: scale(1.2);
}

.stats-counter {
  font-size: 2.5rem;
  font-weight: 900;
  background: #eb232a;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

.fade-in-up.delay-1 {
  animation-delay: 0.1s;
}
.fade-in-up.delay-2 {
  animation-delay: 0.2s;
}
.fade-in-up.delay-3 {
  animation-delay: 0.3s;
}
.fade-in-up.delay-4 {
  animation-delay: 0.4s;
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.gradient-bg {
  background: linear-gradient(135deg, #eb232a 0%, rgb(170, 50, 54) 100%);
}

.portfolio-badge {
  background: linear-gradient(135deg, #ffeaa7 0%, #fab1a0 100%);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 234, 167, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 234, 167, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 234, 167, 0);
  }
}

.project-info {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
}

@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;900&display=swap");

* {
  font-family: "Cairo", sans-serif;
}

.tech-card {
  background: #f2af1d;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.tech-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.tech-card:hover::before {
  transform: translateX(100%);
}

.tech-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(59, 130, 246, 0.3);
}

.feature-icon {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  transition: all 0.3s ease;
}

.feature-icon:hover {
  transform: rotate(360deg) scale(1.2);
  box-shadow: 0 10px 25px rgba(251, 191, 36, 0.4);
}

.comparison-table {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 20px;
  overflow: hidden;
}

.animated-border {
  position: relative;
  background: #eb232a;
  background-size: 400% 400%;
  animation: gradientShift 3s ease infinite;
}

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

.floating-animation {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.pulse-animation {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.demo-screen {
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  border-radius: 15px;
  position: relative;
  overflow: hidden;
}

.demo-screen::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at center,
    transparent 0%,
    rgba(0, 0, 0, 0.3) 100%
  );
}

.tech-progress {
  background: linear-gradient(90deg, ##eb232a 0%, ##eb232a 100%);
  height: 8px;
  border-radius: 4px;
  animation: progressFill 2s ease-in-out;
}

@keyframes progressFill {
  from {
    width: 0%;
  }
  to {
    width: var(--progress-width);
  }
}

.solution-badge {
  background: #eb232a;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.interactive-button {
  background: linear-gradient(135deg, #eb232a 0%, #eb232a 100%);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.interactive-button::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;
}

.interactive-button:hover::before {
  left: 100%;
}

.interactive-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(239, 68, 68, 0.3);
}

.chart-container {
  position: relative;
  height: 400px;
  margin: 20px 0;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

* {
  font-family: "Cairo", sans-serif;
}

.gradient-bg {
  background: #eb232a;
}

.glass-effect {
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.faq-item {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
}

.faq-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border-color: rgba(59, 130, 246, 0.5);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-content.open {
  max-height: 500px;
}

.icon-rotate {
  transition: transform 0.3s ease;
}

.icon-rotate.rotated {
  transform: rotate(180deg);
}

.pulse-animation {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.floating-animation {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.glow-effect {
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
}

.text-gradient {
  background: linear-gradient(45deg, #eb232a, rgb(152, 38, 42));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.border-gradient {
  border-image: linear-gradient(45deg, #eb232a, #eb232a) 1;
}

.number-badge {
  background: linear-gradient(135deg, #eb232a, #eb232a);
  color: white;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  margin-left: 15px;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

@media (max-width: 768px) {
  .number-badge {
    width: 30px;
    height: 30px;
    font-size: 12px;
    margin-left: 10px;
  }
}

:root {
  --primary-color: #eb232a;
  --secondary-color: #eb232a;
  --accent-color: #eb232a;
  --dark-color: #1f2937;
}

.camera-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(145deg, #ffffff, #f8fafc);
  border: 1px solid #e2e8f0;
}

.camera-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border-color: var(--secondary-color);
}

.price-tag {
  background: linear-gradient(135deg, var(--accent-color), #eb232a);
  animation: pulse 2s infinite;
}

.feature-badge {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  transform: rotate(-5deg);
  animation: wiggle 3s ease-in-out infinite;
}

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

.filter-btn {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.filter-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.5s;
}

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

.filter-btn.active {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  transform: scale(1.05);
}

.hero-background {
  background: linear-gradient(135deg, #eb232a 0%, #eb232a 100%);
  position: relative;
  overflow: hidden;
}

.hero-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.floating-icon {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.spec-item {
  transition: all 0.3s ease;
}

.spec-item:hover {
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
  transform: translateX(5px);
}

.camera-image-placeholder {
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.loading-shimmer {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.category-icon {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  transition: all 0.3s ease;
}

.category-icon:hover {
  transform: rotate(360deg) scale(1.1);
}

/*  */
