
.services-grid-horizontal {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  justify-items: center;
  align-items: stretch;
}
.services-grid-horizontal .service-card {
  width: 100%;
  max-width: 400px;
  min-width: 220px;
  margin-bottom: 0;
}
@media (max-width: 1400px) {
  .services-grid-horizontal {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 900px) {
  .services-grid-horizontal {
    grid-template-columns: 1fr;
  }
  .services-grid-horizontal .service-card {
    max-width: 500px;
  }
}
.custom-video-thumb {
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  aspect-ratio: 9/16;
  width: 300px;
  max-width: 100%;
  height: auto;
  min-height: 200px;
  z-index: 1;
  transition: filter 0.2s;
  background-color: transparent;
}
.custom-video-thumb:hover {
  filter: brightness(0.85);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
  justify-items: center;
  align-items: stretch;
  margin-top: 24px;
}
@media (max-width: 1100px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}
.custom-video-item {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.07);
  padding: 18px 12px 12px 12px;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s;
  width: 100%;
  max-width: 370px;
}
.custom-video-item:not(:last-child) {
  margin-bottom: 0;
}
.custom-video-item:hover {
  box-shadow: 0 4px 24px 0 rgba(33,150,243,0.10);
}
.custom-video-item .portfolio-caption {
  margin-top: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #222;
  text-align: center;
}
.custom-video-item .video-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.custom-video-item video {
  cursor: pointer;
}
.custom-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  outline: none;
  display: none;
  cursor: pointer;
  z-index: 2;
  transition: opacity 0.2s;
  padding: 0;
}
.custom-video-item .video-wrapper:hover .custom-play-btn {
  display: block;
  opacity: 1;
}
.custom-video-item .video-wrapper .custom-play-btn svg {
  filter: drop-shadow(0 2px 8px rgba(33,150,243,0.2));
}
.custom-video-item video::-webkit-media-controls {
  display: none !important;
}
.custom-video-item video::-webkit-media-controls-enclosure {
  display: none !important;
}
.custom-video-item video::-webkit-media-controls-panel {
  display: none !important;
}
.custom-video-item video::-webkit-media-controls-play-button {
  display: none !important;
}
.custom-video-item video::-webkit-media-controls-start-playback-button {
  display: none !important;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Cairo", sans-serif;
  transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-family: "Cairo", sans-serif;
}

body {
  background-color: #000;
  color: #fff;
  overflow-x: hidden;
  direction: rtl;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
  background: #00cfff;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0099cc;
}

/* Fixed Background */
.fixed-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #000 0%, #1a1a1a 50%, #000 100%);
}

.particles-container {
  position: absolute;
  inset: 0;
  opacity: 0.2;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #00cfff;
  border-radius: 50%;
  animation: twinkle 2s infinite;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: pulse 3s ease-in-out infinite;
}

.glow-orb-1 {
  top: 25%;
  left: 25%;
  width: 384px;
  height: 384px;
  background: rgba(0, 207, 255, 0.1);
}

.glow-orb-2 {
  bottom: 25%;
  right: 25%;
  width: 320px;
  height: 320px;
  background: rgba(59, 130, 246, 0.1);
}

/* Animations */
@keyframes twinkle {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.animate-fade-in {
  animation: fadeIn 1s ease-out;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* Navigation */
.navbar {
  position: relative;
  z-index: 50;
  padding: 1.5rem;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 2rem;
  font-weight: bold;
  color: #00cfff;
}

.nav-links {
  display: none;
  gap: 2rem;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #00cfff;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

/* Buttons */
.btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Cairo", sans-serif;
}

.btn-primary {
  background: #00cfff;
  color: #000;
}

.btn-primary:hover {
  background: #0099cc;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #00cfff;
  border: 2px solid #00cfff;
}

.btn-outline:hover {
  background: #00cfff;
  color: #000;
}

.cta-btn {
  background: #00cfff;
  color: #000;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: bold;
  cursor: pointer;
  font-family: "Cairo", sans-serif;
}

.cta-btn:hover {
  background: #0099cc;
}

/* Hero Section */
.hero-section {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
}

.hero-content {
  max-width: 1024px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  animation: fadeIn 1s ease-out;
}

.text-cyan {
  color: #00cfff;
}

.typing-container {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.typing-text {
  color: #00cfff;
  font-weight: 600;
  animation: pulse 2s infinite;
}

.hero-description {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: #d1d5db;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4rem;
  }
  .typing-container {
    font-size: 2rem;
  }
  .hero-description {
    font-size: 1.5rem;
  }
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Section Titles */
.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 3rem;
  color: #00cfff;
}

.gradient-text {
  background: linear-gradient(to right, #00cfff, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

/* Stats Section */
.stats-section {
  position: relative;
  z-index: 10;
  padding: 5rem 1.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  text-align: center;
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: scale(1.05);
}

.stat-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
  color: #00cfff;
  font-size: 1.5rem;
}

.stat-number {
  font-size: 2rem;
  font-weight: bold;
  color: #00cfff;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #d1d5db;
}

@media (min-width: 768px) {
  .stat-number {
    font-size: 2.5rem;
  }
}

/* About Section */
.about-section {
  position: relative;
  z-index: 10;
  padding: 5rem 1.5rem;
}

.about-card {
  background: rgba(17, 24, 39, 0.5);
  border: 1px solid #374151;
  border-radius: 1rem;
  padding: 2rem;
  backdrop-filter: blur(4px);
}

.about-text {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #d1d5db;
}

/* Services Section */
.services-section {
  position: relative;
  z-index: 10;
  padding: 5rem 1.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1280px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  background: linear-gradient(to bottom, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.9));
  backdrop-filter: blur(16px);
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid rgba(71, 85, 105, 0.5);
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease;
}

.service-card:hover {
  transform: scale(1.05);
  border-color: rgba(0, 207, 255, 0.5);
  box-shadow: 0 25px 50px -12px rgba(0, 207, 255, 0.2);
}

.service-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 3rem;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #00cfff, #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #00cfff, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-price {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.125rem;
  font-weight: 900;
  background: linear-gradient(to right, #a5f3fc, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-description {
  color: #e5e7eb;
  text-align: center;
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  font-weight: 500;
  background: rgba(30, 41, 59, 0.4);
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(71, 85, 105, 0.3);
}

.service-features {
  margin-bottom: 2.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  font-size: 0.75rem;
  color: #e5e7eb;
  background: rgba(30, 41, 59, 0.3);
  padding: 0.75rem;
  border-radius: 0.5rem;
  margin-bottom: 0.75rem;
}

.feature-icon {
  margin-left: 0.75rem;
  font-size: 1rem;
}

.feature-icon:first-child {
  color: #00cfff;
}

.service-btn {
  width: 100%;
  background: linear-gradient(to right, #00cfff, #3b82f6);
  color: #000;
  font-weight: 900;
  padding: 1rem 2rem;
  border-radius: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  transform: scale(1);
  box-shadow: 0 10px 25px rgba(0, 207, 255, 0.3);
  font-size: 1.125rem;
  font-family: "Cairo", sans-serif;
}

.service-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 35px rgba(0, 207, 255, 0.5);
  background: linear-gradient(to right, #0099cc, #2563eb);
}

/* Portfolio Section */
.portfolio-section {
  position: relative;
  z-index: 10;
  padding: 5rem 1.5rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1024px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.portfolio-item {
  background: rgba(17, 24, 39, 0.5);
  border: 1px solid #374151;
  border-radius: 1rem;
  overflow: hidden;
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
  cursor: pointer;
}

.portfolio-item:hover {
  transform: scale(1.05);
  border-color: #00cfff;
}

.portfolio-image {
  position: relative;
  overflow: hidden;
}

.portfolio-image img {
  width: 100%;
  height: 24rem;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-image img {
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay i {
  font-size: 3rem;
  color: #00cfff;
}

.portfolio-content {
  padding: 1rem;
}

.portfolio-title {
  font-weight: bold;
  color: #00cfff;
  margin-bottom: 0.5rem;
}

.portfolio-description {
  color: #9ca3af;
  font-size: 0.875rem;
}

.portfolio-btn-container {
  text-align: center;
  margin-top: 3rem;
}

/* Testimonials Section */
.testimonials-section {
  position: relative;
  z-index: 10;
  padding: 5rem 1.5rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: rgba(17, 24, 39, 0.5);
  border: 1px solid #374151;
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  backdrop-filter: blur(4px);
}

.testimonial-avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  margin: 0 auto 1rem;
}

.testimonial-name {
  font-weight: bold;
  color: #00cfff;
  margin-bottom: 0.5rem;
}

.testimonial-rating {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
  gap: 0.25rem;
}

.star-filled {
  color: #fbbf24;
  width: 1.25rem;
  height: 1.25rem;
}

.testimonial-text {
  color: #d1d5db;
  font-style: italic;
}

/* Contact Section */
.contact-section {
  position: relative;
  z-index: 10;
  padding: 5rem 1.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-card {
  background: rgba(17, 24, 39, 0.5);
  border: 1px solid #374151;
  border-radius: 1rem;
  padding: 1.5rem;
  backdrop-filter: blur(4px);
}

.contact-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #00cfff;
  margin-bottom: 1.5rem;
}

.whatsapp-container {
  text-align: center;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: #16a34a;
  color: #fff;
  font-weight: bold;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
  gap: 0.75rem;
  font-family: "Cairo", sans-serif;
}

.whatsapp-btn:hover {
  background: #15803d;
}

.whatsapp-note {
  color: #9ca3af;
  font-size: 0.875rem;
  margin-top: 1rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-link {
  display: flex;
  align-items: center;
  padding: 1rem;
  background: rgba(17, 24, 39, 0.5);
  border-radius: 0.5rem;
  border: 1px solid #374151;
  color: #fff;
  text-decoration: none;
  transition: border-color 0.3s ease;
  gap: 1rem;
}

.contact-link:hover {
  border-color: #00cfff;
}

.contact-link i {
  color: #00cfff;
  width: 1.5rem;
  height: 1.5rem;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 50;
  background: #00cfff;
  color: #000;
  border: none;
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: #0099cc;
  transform: translateY(-2px);
}


.footer {
  position: relative;
  z-index: 10;
  padding: 2rem 1.5rem;
  border-top: 1px solid #374151;
}

.footer p {
  text-align: center;
  color: #9ca3af;
}


.hidden {
  display: none;
}
                .services-grid-horizontal {
                  display: grid;
                  grid-template-columns: repeat(4, 1fr);
                  gap: 32px;
                  justify-items: center;
                  align-items: stretch;
                }
                .services-grid-horizontal .service-card {
                  width: 100%;
                  max-width: 400px;
                  min-width: 220px;
                  margin-bottom: 0;
                }
                @media (max-width: 1400px) {
                  .services-grid-horizontal {
                    grid-template-columns: repeat(2, 1fr);
                  }
                }
                @media (max-width: 900px) {
                  .services-grid-horizontal {
                    grid-template-columns: 1fr;
                  }
                  .services-grid-horizontal .service-card {
                    max-width: 500px;
                  }
                }
              
                .custom-video-thumb {
                  background-size: cover;
                  background-position: center;
                  border-radius: 16px;
                  aspect-ratio: 9/16;
                  width: 300px;
                  max-width: 100%;
                  height: auto;
                  min-height: 200px;
                  z-index: 1;
                  transition: filter 0.2s;
                  background-color: transparent;
                }
                .custom-video-thumb:hover {
                  filter: brightness(0.85);
                }
                .portfolio-grid {
                  display: grid;
                  grid-template-columns: repeat(3, 1fr);
                  gap: 32px 24px;
                  justify-items: center;
                  align-items: stretch;
                  margin-top: 24px;
                }
                @media (max-width: 1100px) {
                  .portfolio-grid {
                    grid-template-columns: repeat(2, 1fr);
                  }
                }
                @media (max-width: 700px) {
                  .portfolio-grid {
                    grid-template-columns: 1fr;
                  }
                }
                .custom-video-item {
                  background: #fff;
                  border-radius: 20px;
                  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.07);
                  padding: 18px 12px 12px 12px;
                  margin: 0;
                  display: flex;
                  flex-direction: column;
                  align-items: center;
                  transition: box-shadow 0.2s;
                  width: 100%;
                  max-width: 370px;
                }
                .custom-video-item:not(:last-child) {
                  margin-bottom: 0;
                }
                .custom-video-item:hover {
                  box-shadow: 0 4px 24px 0 rgba(33,150,243,0.10);
                }
                .custom-video-item .portfolio-caption {
                  margin-top: 12px;
                  font-size: 1.1rem;
                  font-weight: 600;
                  color: #222;
                  text-align: center;
                }
                .custom-video-item .video-wrapper {
                  position: relative;
                  display: flex;
                  align-items: center;
                  justify-content: center;
                }
                .custom-video-item video {
                  cursor: pointer;
                }
                .custom-play-btn {
                  position: absolute;
                  top: 50%;
                  left: 50%;
                  transform: translate(-50%, -50%);
                  background: none;
                  border: none;
                  outline: none;
                  display: none;
                  cursor: pointer;
                  z-index: 2;
                  transition: opacity 0.2s;
                  padding: 0;
                }
                .custom-video-item .video-wrapper:hover .custom-play-btn {
                  display: block;
                  opacity: 1;
                }
                .custom-video-item .video-wrapper .custom-play-btn svg {
                  filter: drop-shadow(0 2px 8px rgba(33,150,243,0.2));
                }
                .custom-video-item video::-webkit-media-controls {
                  display: none !important;
                }
                .custom-video-item video::-webkit-media-controls-enclosure {
                  display: none !important;
                }
                .custom-video-item video::-webkit-media-controls-panel {
                  display: none !important;
                }
                .custom-video-item video::-webkit-media-controls-play-button {
                  display: none !important;
                }
                .custom-video-item video::-webkit-media-controls-start-playback-button {
                  display: none !important;
                }
          