/* Reset & base styles */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Segoe UI', 'Cairo', sans-serif;
  background: radial-gradient(ellipse at top, #232946 0%, #121212 100%);
  color: #eaf6fb;
  min-height: 100vh;
  direction: rtl;
  transition: direction 0.3s;
}
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}
header {
  background: rgba(30, 34, 90, 0.7);
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.12);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 0;
}
.logo {
  height: 56px;
  filter: drop-shadow(0 0 16px #00bfff88);
}
nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}
nav a {
  color: #eaf6fb;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  position: relative;
  transition: color 0.2s;
}
nav a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #00bfff, #ff6a3d);
  transition: width 0.3s;
  position: absolute;
  bottom: -4px;
  left: 0;
}
nav a:hover::after { width: 100%; }
nav a:hover { color: #00bfff; }
#lang-toggle {
  background: linear-gradient(90deg, #00bfff, #ff6a3d);
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 0.5rem 1.2rem;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 12px #00bfff44;
  transition: background 0.3s, color 0.3s;
}
#lang-toggle:hover { background: linear-gradient(90deg, #ff6a3d, #00bfff); }
.hero {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(120deg, #232946 60%, #121212 100%);
  overflow: hidden;
}
.hero-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  background: none;
  padding: 0 1.5rem;
}
.hero-overlay h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0 0 1.2rem 0;
  color: #fff;
  text-shadow: 0 2px 24px #232946cc, 0 2px 24px #00bfff55;
}
.hero-overlay p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: #eaf6fb;
  text-shadow: 0 2px 12px #232946cc;
}
.hero-overlay .cta {
  margin-top: 1rem;
}
.gallery-section {
  width: 100vw;
  max-width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: none;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.gallery-slider {
  width: 100vw;
  max-width: 100vw;
  height: 540px;
  min-height: 320px;
  max-height: 700px;
  background: linear-gradient(135deg, #232946 60%, #121212 100%);
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 32px 0;
}
.slider-images {
  width: 100vw;
  height: 100%;
  min-height: 180px;
  display: block;
  position: relative;
}
.slider-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1);
  z-index: 1;
  border-radius: 0;
  box-shadow: 0 2px 24px #23294633;
}
.slider-img.active {
  opacity: 1;
  z-index: 2;
}
.gallery-slider::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(180deg, #232946cc 0%, transparent 60%, #23294699 100%);
  pointer-events: none;
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #00bfff 60%, #ff6a3d 100%);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  font-size: 2.2rem;
  cursor: pointer;
  z-index: 5;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px #23294655;
  opacity: 0.92;
}
.slider-arrow-left { left: 32px; }
.slider-arrow-right { right: 32px; }
body[dir="ltr"] .slider-arrow-left { left: 32px; right: auto; }
body[dir="ltr"] .slider-arrow-right { right: 32px; left: auto; }
.slider-arrow:hover {
  background: linear-gradient(135deg, #ff6a3d 60%, #00bfff 100%);
  box-shadow: 0 6px 24px #00bfff55;
  opacity: 1;
  transform: translateY(-50%) scale(1.08);
}
.slider-arrow svg {
  width: 2.2rem;
  height: 2.2rem;
  display: block;
  pointer-events: none;
}
.slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.8em;
  z-index: 5;
}
.slider-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff8;
  border: 2px solid #00bfff;
  cursor: pointer;
  transition: background 0.2s, border 0.2s;
}
.slider-dot.active {
  background: #00bfff;
  border-color: #ff6a3d;
}
@media (max-width: 900px) {
  .gallery-slider { height: 220px; min-height: 120px; max-height: 320px; padding: 12px 0; }
  .slider-img { max-height: 180px; }
  .slider-arrow { width: 38px; height: 38px; font-size: 1.2rem; }
  .slider-arrow svg { width: 1.3rem; height: 1.3rem; }
  .slider-arrow-left { left: 8px; }
  .slider-arrow-right { right: 8px; }
}
.hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  color: #fff;
  text-shadow: 0 2px 24px #00bfff55;
}
.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: #eaf6fb;
}
.cta {
  display: inline-block;
  background: linear-gradient(90deg, #00bfff, #ff6a3d);
  color: #fff;
  padding: 0.8rem 2.2rem;
  border-radius: 32px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 2px 16px #00bfff44;
  transition: background 0.3s, transform 0.2s;
  border: none;
  cursor: pointer;
}
.cta:hover { background: linear-gradient(90deg, #ff6a3d, #00bfff); transform: scale(1.05); }
section {
  padding: 4rem 0 2.5rem 0;
}
section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #00bfff;
  text-shadow: 0 2px 12px #00bfff33;
}
.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.service-card {
  background: rgba(255,255,255,0.07);
  border-radius: 18px;
  box-shadow: 0 4px 32px #00bfff22;
  padding: 2rem 1.2rem 1.2rem 1.2rem;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
  border: 1.5px solid #00bfff33;
  backdrop-filter: blur(4px);
}
.service-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 40px #ff6a3d33;
}
.service-card h3 {
  color: #ff6a3d;
  font-size: 1.3rem;
  margin-bottom: 0.7rem;
}
.service-card p {
  color: #eaf6fb;
  margin-bottom: 0.7rem;
  font-size: 1rem;
}
.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
}
.service-features li {
  color: #00bfff;
  font-size: 0.98rem;
  margin-bottom: 0.3rem;
  padding-right: 1.2em;
  padding-left: 0;
  position: relative;
  line-height: 1.8;
}
.service-features li::before {
  content: '•';
  color: #ff6a3d;
  position: absolute;
  right: 0;
  top: 0.1em;
}
body[dir="ltr"] .service-features li {
  padding-left: 1.2em;
  padding-right: 0;
}
body[dir="ltr"] .service-features li::before {
  left: 0;
  right: auto;
}
.contact-form {
  background: rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  box-shadow: 0 2px 24px #00bfff22;
  max-width: 480px;
  margin: 0 auto 2rem auto;
  border: 1.5px solid #00bfff33;
  backdrop-filter: blur(4px);
}
.form-group {
  margin-bottom: 1.2rem;
}
label {
  display: block;
  margin-bottom: 0.4rem;
  color: #00bfff;
  font-weight: 600;
}
input, textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  border: 1px solid #00bfff33;
  background: rgba(255,255,255,0.12);
  color: #232946;
  font-size: 1rem;
  outline: none;
  transition: border 0.2s;
}
input:focus, textarea:focus {
  border: 1.5px solid #00bfff;
}
.social-links {
  text-align: center;
  margin-bottom: 1rem;
}

.social-links h3 {
  color: #00bfff;
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.social-icons {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
  border: 2px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.social-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #00bfff 0%, #ff6a3d 100%);
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: 50%;
}

.social-icon svg {
  width: 20px;
  height: 20px;
  color: #eaf6fb;
  position: relative;
  z-index: 2;
  transition: transform 0.3s;
}

.social-icon:hover {
  transform: translateY(-4px) scale(1.1);
  border-color: #00bfff;
  box-shadow: 0 8px 24px rgba(0, 191, 255, 0.3);
}

.social-icon:hover::before {
  opacity: 1;
}

.social-icon:hover svg {
  transform: scale(1.1);
  color: #fff;
}

/* Social icon specific colors */
.social-icon.whatsapp:hover {
  border-color: #25D366;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

.social-icon.whatsapp:hover::before {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.social-icon.linkedin:hover {
  border-color: #0077B5;
  box-shadow: 0 8px 24px rgba(0, 119, 181, 0.4);
}

.social-icon.linkedin:hover::before {
  background: linear-gradient(135deg, #0077B5 0%, #005885 100%);
}

.social-icon.email:hover {
  border-color: #EA4335;
  box-shadow: 0 8px 24px rgba(234, 67, 53, 0.4);
}

.social-icon.email:hover::before {
  background: linear-gradient(135deg, #EA4335 0%, #D93025 100%);
}

.social-icon.phone:hover {
  border-color: #34A853;
  box-shadow: 0 8px 24px rgba(52, 168, 83, 0.4);
}

.social-icon.phone:hover::before {
  background: linear-gradient(135deg, #34A853 0%, #2E7D32 100%);
}

.social-icon.facebook:hover {
  border-color: #1877F2;
  box-shadow: 0 8px 24px rgba(24, 119, 242, 0.4);
}

.social-icon.facebook:hover::before {
  background: linear-gradient(135deg, #1877F2 0%, #166FE5 100%);
}

@media (max-width: 600px) {
  .social-icons {
    gap: 0.6rem;
  }
  
  .social-icon {
    width: 40px;
    height: 40px;
  }
  
  .social-icon svg {
    width: 18px;
    height: 18px;
  }
  
  .social-links h3 {
    font-size: 1rem;
  }
}
footer {
  background: rgba(30, 34, 90, 0.7);
  text-align: center;
  padding: 1.2rem 0;
  color: #eaf6fb;
  font-size: 1rem;
  box-shadow: 0 -2px 16px #00bfff22;
  margin-top: 2rem;
}
@media (max-width: 700px) {
  .header-flex { flex-direction: column; gap: 1rem; }
  nav ul { gap: 1rem; }
  .hero h1 { font-size: 2rem; }
  section { padding: 2.5rem 0 1.5rem 0; }
  .services-list { grid-template-columns: 1fr; }
  .contact-form { padding: 1.2rem 0.7rem; }
}
body[dir="ltr"] {
  direction: ltr;
}
.horizontal-gallery {
  width: 100vw;
  max-width: 100vw;
  background: linear-gradient(135deg, #232946 60%, #121212 100%);
  padding: 2.5rem 0 2rem 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.gallery-track {
  display: flex;
  gap: 3rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0 60px;
  width: 100vw;
  min-width: 1200px;
  max-width: 100vw;
  align-items: center;
}
.gallery-img {
  width: 420px;
  height: auto;
  max-width: 98vw;
  border-radius: 18px;
  box-shadow: 0 4px 24px #23294644;
  background: #181c2a;
  transition: transform 0.3s cubic-bezier(.4,0,.2,1), box-shadow 0.3s, filter 0.3s;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  filter: brightness(0.92) grayscale(0.1);
}
.gallery-img:hover {
  transform: scale(1.08) translateY(-8px);
  box-shadow: 0 12px 40px #00bfff55, 0 2px 24px #23294633;
  filter: brightness(1.08) grayscale(0);
  z-index: 2;
}
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #00bfff 60%, #ff6a3d 100%);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  cursor: pointer;
  z-index: 5;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px #23294655;
  opacity: 0.92;
}
.gallery-arrow-left { left: 12px; }
.gallery-arrow-right { right: 12px; }
.gallery-arrow:hover {
  background: linear-gradient(135deg, #ff6a3d 60%, #00bfff 100%);
  box-shadow: 0 6px 24px #00bfff55;
  opacity: 1;
  transform: translateY(-50%) scale(1.08);
}
.gallery-arrow svg {
  width: 2rem;
  height: 2rem;
  display: block;
  pointer-events: none;
}
.horizontal-gallery::-webkit-scrollbar,
.gallery-track::-webkit-scrollbar {
  display: none;
}
@media (max-width: 900px) {
  .gallery-img { width: 98vw; height: auto; border-radius: 12px; }
  .gallery-track { gap: 1.5rem; padding: 0 16px; min-width: 600px; }
  .gallery-arrow { width: 36px; height: 36px; font-size: 1.2rem; }
  .gallery-arrow svg { width: 1.1rem; height: 1.1rem; }
}
.gallery-track.dragging, .gallery-track.dragging .gallery-img {
  user-select: none;
  cursor: grabbing;
} 