
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Tajawal', Arial, sans-serif;
            line-height: 1.6;
            color: #333;
            background: linear-gradient(135deg, #f8faff 0%, #e8f4fd 100%);
            direction: rtl;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }


/* Header Styles */
.site-header {
  background: linear-gradient(135deg, #4a90e2 0%, #357abd 50%, #2c5f99 100%);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.header-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* 3 أقسام متساوية */
  align-items: center;
  padding: 16px 0;
  gap: 20px;
}

/* القسم الأيسر */
.left-section {
  justify-self: start;
}

/* القسم الأوسط - Logo */
.center-section {
  justify-self: center;
}

.brand {
  display: inline-block;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.brand:hover {
  transform: scale(1.08);
}

.brand-logo {
  height: 65px; /* لوقو أكبر */
  width: auto;
  display: block;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.3));
}

/* القسم الأيمن */
.right-section {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 8px;
}

.nav-link {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nav-link:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
  transform: translateY(-1px);
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 50%;
  width: 0;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
}

.nav-link:hover::before {
  width: 100%;
  right: 0;
}

/* CTA Button */
.cta-btn {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #e8821a 100%);
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(255,107,53,0.3);
  border: 2px solid rgba(255,255,255,0.2);
  white-space: nowrap;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255,107,53,0.4);
  background: linear-gradient(135deg, #ff7b45 0%, #f8a32e 50%, #e9931f 100%);
}

.cta-icon {
  transition: transform 0.3s ease;
}

.cta-btn:hover .cta-icon {
  transform: scale(1.1);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(10.5px) rotate(45deg);
}

.mobile-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-10.5px) rotate(-45deg);
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  background: linear-gradient(135deg, #357abd 0%, #2c5f99 100%);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  border-radius: 0 0 15px 15px;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}

.mobile-nav.active {
  display: block;
  max-height: 300px;
}

.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mobile-nav-link {
  display: block;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  padding: 15px 20px;
  border-radius: 8px;
  text-align: center;
  background: rgba(255,255,255,0.05);
  transition: all 0.3s ease;
}

.mobile-nav-link:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

/* Responsive Design */
@media (max-width: 992px) {
  .nav-link {
    padding: 8px 12px;
    font-size: 0.9rem;
  }
  
  .cta-btn {
    padding: 10px 18px;
    font-size: 0.9rem;
  }
  
  .brand-logo {
    height: 58px;
  }
}

@media (max-width: 768px) {
  .header-content {
    grid-template-columns: 1fr;
    text-align: center;
    position: relative;
    padding: 12px 60px 12px 60px; /* مساحة للأزرار */
  }
  
  .left-section,
  .right-section {
    display: none; /* إخفاء التنقل العادي */
  }
  
  .center-section {
    justify-self: center;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .mobile-nav {
    display: block;
  }
  
  .brand-logo {
    height: 50px;
  }
  
  /* زر الحجز في الموبايل */
  .mobile-cta {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
  }
}

@media (max-width: 480px) {
  .brand-logo {
    height: 45px;
  }
  
  .header-content {
    padding: 10px 50px;
  }
}

/* Animation */
@keyframes slideInDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.site-header {
  animation: slideInDown 0.6s ease-out;
}

/* تأثير النقر على اللوقو */
.brand:active {
  transform: scale(0.95);
}


/* Portfolio Section */
.portfolio {
  padding: 80px 0;
  background: linear-gradient(135deg, 
    rgba(248, 250, 252, 1) 0%, 
    rgba(241, 245, 249, 1) 50%,
    rgba(248, 250, 252, 1) 100%);
  position: relative;
  overflow: hidden;
}

/* Background Effects */
.portfolio-bg-effects {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.bg-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
}

.bg-shape {
  position: absolute;
  background: linear-gradient(135deg, 
    rgba(53, 122, 189, 0.08), 
    rgba(74, 144, 226, 0.12));
  border-radius: 50%;
  animation: morphing 8s ease-in-out infinite;
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: -50px;
  right: -100px;
  animation-delay: 0s;
}

.shape-2 {
  width: 200px;
  height: 200px;
  bottom: 100px;
  left: -50px;
  animation-delay: 2s;
}

.shape-3 {
  width: 150px;
  height: 150px;
  top: 50%;
  right: 10%;
  animation-delay: 4s;
}

.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
}

.float-element {
  position: absolute;
  font-size: 2rem;
  animation: floatAround 12s ease-in-out infinite;
  opacity: 0.3;
}

.element-1 {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.element-2 {
  top: 70%;
  right: 15%;
  animation-delay: 3s;
}

.element-3 {
  bottom: 30%;
  left: 20%;
  animation-delay: 6s;
}

.element-4 {
  top: 40%;
  right: 5%;
  animation-delay: 9s;
}

/* Portfolio Header */
.portfolio-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(53, 122, 189, 0.1), rgba(255, 107, 53, 0.1));
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #357abd;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(53, 122, 189, 0.2);
  animation: fadeInScale 0.8s ease-out;
}

.badge-icon {
  font-size: 1.2rem;
  animation: bounce 2s ease-in-out infinite;
}

.portfolio-title {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  perspective: 1000px;
}

.title-word {
  display: inline-block;
  background: linear-gradient(135deg, #357abd 0%, #4a90e2 50%, #ff6b35 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: slideInRotate 1s ease-out forwards;
  opacity: 0;
  transform: translateY(30px) rotateX(90deg);
}

.word-1 {
  animation-delay: 0.2s;
  margin-left: 15px;
}

.word-2 {
  animation-delay: 0.4s;
}

.title-underline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 20px 0 30px;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.underline-bar {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #357abd, transparent);
  border-radius: 2px;
}

.underline-dot {
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, #357abd, #ff6b35);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.portfolio-subtitle {
  font-size: 1.2rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  animation: fadeInUp 1s ease-out 0.8s both;
}

/* Carousel Wrapper */
.carousel-wrapper {
  position: relative;
  z-index: 2;
}

.carousel {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.12);
  background: #fff;
}

/* Progress Bar */
.carousel-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(53, 122, 189, 0.2);
  z-index: 10;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #357abd, #ff6b35);
  width: 0%;
  transition: width 0.3s ease;
  border-radius: 0 2px 2px 0;
}

/* Slides Container */
.slides-container {
  position: relative;
  overflow: hidden;
  height: 600px;
}

.slides {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
}

.slide {
  min-width: 100%;
  height: 100%;
  margin: 0;
  position: relative;
}

.slide-inner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.slide:hover img {
  transform: scale(1.05);
}

/* Slide Overlay */
.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg, 
    rgba(0,0,0,0.1) 0%, 
    rgba(0,0,0,0.3) 50%,
    rgba(53, 122, 189, 0.8) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  opacity: 0;
  transition: all 0.5s ease;
  transform: translateY(30px);
}

.slide:hover .slide-overlay {
  opacity: 1;
  transform: translateY(0);
}

.overlay-content {
  color: #fff;
  margin-bottom: 20px;
}

.slide-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
  transform: translateY(20px);
  transition: transform 0.5s ease 0.1s;
}

.slide:hover .slide-title {
  transform: translateY(0);
}

.slide-desc {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 15px;
  transform: translateY(20px);
  transition: transform 0.5s ease 0.2s;
}

.slide:hover .slide-desc {
  transform: translateY(0);
}

.slide-tags {
  display: flex;
  gap: 10px;
  transform: translateY(20px);
  transition: transform 0.5s ease 0.3s;
}

.slide:hover .slide-tags {
  transform: translateY(0);
}

.tag {
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.view-btn {
  position: absolute;
  top: 30px;
  left: 30px;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  transform: scale(0);
}

.slide:hover .view-btn {
  transform: scale(1);
  transition-delay: 0.4s;
}

.view-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

/* Navigation Buttons */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 15;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.btn-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  transform: scale(0.8);
  transition: all 0.3s ease;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-btn:hover .btn-bg {
  transform: scale(1);
  background: rgba(53, 122, 189, 0.95);
}

.btn-icon {
  position: relative;
  z-index: 2;
  font-size: 24px;
  color: #357abd;
  transition: all 0.3s ease;
}

.nav-btn:hover .btn-icon {
  color: #fff;
  transform: scale(1.2);
}

.btn-ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(53, 122, 189, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s ease;
}

.nav-btn:active .btn-ripple {
  width: 100px;
  height: 100px;
}

.prev {
  left: -30px;
}

.next {
  right: -30px;
}

.nav-btn:hover {
  transform: translateY(-50%) scale(1.1);
}

/* Dots Navigation */
.dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
  background: rgba(0,0,0,0.3);
  padding: 15px 25px;
  border-radius: 50px;
  backdrop-filter: blur(15px);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.dot::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #357abd, #ff6b35);
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.3s ease;
}

.dot.active::before {
  transform: scale(1);
}

.dot:hover {
  transform: scale(1.3);
}

/* Slide Counter */
.slide-counter {
  position: absolute;
  top: 30px;
  right: 30px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 12px 20px;
  border-radius: 25px;
  font-weight: 600;
  z-index: 10;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: slideInRight 0.8s ease-out;
}

.current-slide {
  font-size: 1.2rem;
  color: #fff;
}

.divider {
  margin: 0 8px;
  opacity: 0.6;
}

.total-slides {
  opacity: 0.8;
}

/* Animations */
@keyframes morphing {
  0%, 100% { 
    border-radius: 50%; 
    transform: rotate(0deg) scale(1);
  }
  25% { 
    border-radius: 40% 60% 50% 70%; 
    transform: rotate(90deg) scale(1.1);
  }
  50% { 
    border-radius: 60% 40% 70% 50%; 
    transform: rotate(180deg) scale(0.9);
  }
  75% { 
    border-radius: 70% 50% 40% 60%; 
    transform: rotate(270deg) scale(1.05);
  }
}

@keyframes floatAround {
  0%, 100% { 
    transform: translate(0, 0) rotate(0deg); 
    opacity: 0.3;
  }
  25% { 
    transform: translate(20px, -15px) rotate(90deg); 
    opacity: 0.6;
  }
  50% { 
    transform: translate(-10px, -25px) rotate(180deg); 
    opacity: 0.4;
  }
  75% { 
    transform: translate(-20px, 10px) rotate(270deg); 
    opacity: 0.7;
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  60% { transform: translateY(-4px); }
}

@keyframes fadeInScale {
  from { 
    opacity: 0; 
    transform: scale(0.8); 
  }
  to { 
    opacity: 1; 
    transform: scale(1); 
  }
}

@keyframes slideInRotate {
  to { 
    opacity: 1; 
    transform: translateY(0) rotateX(0deg); 
  }
}

@keyframes fadeInUp {
  from { 
    opacity: 0; 
    transform: translateY(30px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

@keyframes slideInRight {
  from { 
    opacity: 0; 
    transform: translateX(30px); 
  }
  to { 
    opacity: 1; 
    transform: translateX(0); 
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* أضِف هذا مع باقي التنسيقات */
.slides { direction: ltr; }


/* Responsive Design */
@media (max-width: 992px) {
  .portfolio-title {
    font-size: 2.8rem;
  }
  
  .carousel {
    max-width: 90%;
  }
  
  .slides-container {
    height: 500px;
  }
  
  .nav-btn {
    width: 50px;
    height: 50px;
  }
  
  .prev {
    left: -25px;
  }
  
  .next {
    right: -25px;
  }
}

@media (max-width: 768px) {
  .portfolio {
    padding: 60px 0;
  }
  
  .portfolio-title {
    font-size: 2.2rem;
  }
  
  .portfolio-subtitle {
    font-size: 1.1rem;
  }
  
  .slides-container {
    height: 400px;
  }
  
  .slide-overlay {
    padding: 25px;
  }
  
  .slide-title {
    font-size: 1.4rem;
  }
  
  .slide-desc {
    font-size: 1rem;
  }
  
  .nav-btn {
    width: 45px;
    height: 45px;
  }
  
  .prev {
    left: -22px;
  }
  
  .next {
    right: -22px;
  }
  
  .slide-counter {
    top: 20px;
    right: 20px;
    padding: 10px 16px;
    font-size: 0.9rem;
  }
  
  .bg-shape {
    display: none;
  }
  
  .float-element {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .portfolio-title {
    font-size: 1.8rem;
  }
  
  .title-word {
    display: block;
    margin: 5px 0;
  }
  
  .slides-container {
    height: 350px;
  }
  
  .slide-overlay {
    padding: 20px;
  }
  
  .slide-title {
    font-size: 1.2rem;
  }
  
  .slide-tags {
    flex-wrap: wrap;
  }
  
  .nav-btn {
    width: 40px;
    height: 40px;
  }
  
  .btn-icon {
    font-size: 20px;
  }
  
  .dots {
    bottom: 20px;
    padding: 12px 20px;
    gap: 10px;
  }
  
  .dot {
    width: 10px;
    height: 10px;
  }
  
  .floating-elements {
    display: none;
  }
}

/* Loading States */
.slide img {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.slide img.loaded {
  opacity: 1;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* Banner Base */
.banner {
  position: relative;
  background: linear-gradient(135deg, 
    rgba(74, 144, 226, 0.08) 0%, 
    rgba(53, 122, 189, 0.15) 50%,
    rgba(44, 95, 153, 0.08) 100%);
  padding: 4rem 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(74, 144, 226, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(53, 122, 189, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255, 107, 53, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

/* Background Effects */
.banner-bg-effects {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Floating Shapes */
.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, rgba(74, 144, 226, 0.1), rgba(53, 122, 189, 0.15));
  backdrop-filter: blur(10px);
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 60px;
  height: 60px;
  top: 60%;
  left: 85%;
  animation-delay: 1s;
}

.shape-3 {
  width: 100px;
  height: 100px;
  top: 10%;
  left: 75%;
  animation-delay: 2s;
}

.shape-4 {
  width: 40px;
  height: 40px;
  top: 80%;
  left: 20%;
  animation-delay: 3s;
}

.shape-5 {
  width: 70px;
  height: 70px;
  top: 40%;
  left: 5%;
  animation-delay: 4s;
}

.shape-6 {
  width: 50px;
  height: 50px;
  top: 70%;
  left: 90%;
  animation-delay: 5s;
}

/* Particles */
.particles {
  position: absolute;
  width: 100%;
  height: 100%;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: twinkle 3s ease-in-out infinite;
}

.particle:nth-child(1) { top: 25%; left: 15%; animation-delay: 0s; }
.particle:nth-child(2) { top: 75%; left: 25%; animation-delay: 0.5s; }
.particle:nth-child(3) { top: 45%; left: 80%; animation-delay: 1s; }
.particle:nth-child(4) { top: 15%; left: 70%; animation-delay: 1.5s; }
.particle:nth-child(5) { top: 85%; left: 60%; animation-delay: 2s; }
.particle:nth-child(6) { top: 35%; left: 90%; animation-delay: 2.5s; }
.particle:nth-child(7) { top: 65%; left: 5%; animation-delay: 3s; }
.particle:nth-child(8) { top: 55%; left: 40%; animation-delay: 3.5s; }

/* Content */
.banner-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 4rem;
  position: relative;
  z-index: 2;
}

.text-wrapper {
  animation: slideInLeft 1s ease-out;
}

/* Title */
.banner-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  perspective: 1000px;
}

.title-line {
  display: block;
  background: linear-gradient(135deg, #357abd 0%, #4a90e2 50%, #ff6b35 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: translateZ(0);
  animation: titleReveal 1.2s ease-out forwards;
  opacity: 0;
}

.line-1 {
  animation-delay: 0.3s;
}

.line-2 {
  animation-delay: 0.6s;
  transform: translateX(20px);
}

/* Title Decoration */
.title-decoration {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0;
  animation: fadeInScale 1s ease-out 1s both;
}

.decoration-line {
  height: 2px;
  width: 60px;
  background: linear-gradient(90deg, transparent, #357abd, transparent);
  border-radius: 1px;
}

.decoration-diamond {
  width: 12px;
  height: 12px;
  background: linear-gradient(45deg, #357abd, #ff6b35);
  transform: rotate(45deg);
  animation: spin 4s linear infinite;
}

/* Description */
.banner-description {
  font-size: 1.3rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 90%;
  animation: fadeInUp 1s ease-out 0.8s both;
  text-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

/* Buttons */
.banner-buttons {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  animation: fadeInUp 1s ease-out 1.2s both;
}

.btn-primary {
  background: linear-gradient(135deg, #357abd 0%, #4a90e2 100%);
  color: white;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(53, 122, 189, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary::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;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(53, 122, 189, 0.4);
}

.btn-secondary {
  color: #357abd;
  padding: 15px 25px;
  border: 2px solid #357abd;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: #357abd;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(53, 122, 189, 0.3);
}

/* Visual Section */
.banner-visual {
  animation: slideInRight 1s ease-out;
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-container {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-icon {
  font-size: 5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  animation: pulse 2s ease-in-out infinite;
  backdrop-filter: blur(20px);
}

.orbit {
  position: absolute;
  border: 2px solid rgba(53, 122, 189, 0.2);
  border-radius: 50%;
  animation: rotate 10s linear infinite;
}

.orbit-1 {
  width: 180px;
  height: 180px;
  animation-duration: 8s;
}

.orbit-2 {
  width: 220px;
  height: 220px;
  animation-duration: 12s;
  animation-direction: reverse;
}

.orbit-3 {
  width: 260px;
  height: 260px;
  animation-duration: 15s;
}

.orbit-icon {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  animation: counterRotate 10s linear infinite;
}

.orbit-1 .orbit-icon {
  animation-duration: 8s;
}

.orbit-2 .orbit-icon {
  animation-duration: 12s;
  animation-direction: normal;
}

.orbit-3 .orbit-icon {
  animation-duration: 15s;
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes titleReveal {
  from { 
    opacity: 0; 
    transform: translateY(30px) rotateX(90deg);
  }
  to { 
    opacity: 1; 
    transform: translateY(0) rotateX(0deg);
  }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
  50% { transform: scale(1.05); box-shadow: 0 25px 50px rgba(0,0,0,0.15); }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes counterRotate {
  from { transform: translateX(-50%) rotate(0deg); }
  to { transform: translateX(-50%) rotate(-360deg); }
}

@keyframes spin {
  from { transform: rotate(45deg); }
  to { transform: rotate(405deg); }
}

/* Responsive */
@media (max-width: 992px) {
  .banner-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .banner-title {
    font-size: 3rem;
  }
  
  .visual-container {
    width: 250px;
    height: 250px;
  }
}

@media (max-width: 768px) {
  .banner {
    padding: 3rem 0;
    min-height: 70vh;
  }
  
  .banner-title {
    font-size: 2.5rem;
  }
  
  .banner-description {
    font-size: 1.1rem;
    max-width: 100%;
  }
  
  .banner-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .btn-primary, .btn-secondary {
    width: 200px;
    justify-content: center;
  }
  
  .visual-container {
    width: 200px;
    height: 200px;
  }
  
  .main-icon {
    width: 100px;
    height: 100px;
    font-size: 4rem;
  }
}

@media (max-width: 480px) {
  .banner-title {
    font-size: 2rem;
  }
  
  .shape {
    display: none; /* إخفاء الأشكال على الشاشات الصغيرة */
  }
}
        /* Services Section */
   /* Services Section */
.services {
  padding: 100px 0;
  background: linear-gradient(135deg,
    #f8fafc 0%,
    #e2e8f0 25%,
    #f1f5f9 50%,
    #e2e8f0 75%,
    #f8fafc 100%);
  position: relative;
  overflow: hidden;
}

/* Background Effects */
.services-bg-effects {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Floating Bubbles */
.floating-bubbles {
  position: absolute;
  width: 100%;
  height: 100%;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg,
    rgba(53, 122, 189, 0.1),
    rgba(74, 144, 226, 0.15),
    rgba(255, 107, 53, 0.1));
  animation: bubbleFloat 15s ease-in-out infinite;
  backdrop-filter: blur(5px);
}

.bubble-1 {
  width: 120px;
  height: 120px;
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.bubble-2 {
  width: 80px;
  height: 80px;
  top: 60%;
  right: 10%;
  animation-delay: 2s;
}

.bubble-3 {
  width: 100px;
  height: 100px;
  bottom: 20%;
  left: 15%;
  animation-delay: 4s;
}

.bubble-4 {
  width: 60px;
  height: 60px;
  top: 20%;
  right: 25%;
  animation-delay: 6s;
}

.bubble-5 {
  width: 90px;
  height: 90px;
  top: 80%;
  right: 5%;
  animation-delay: 8s;
}

.bubble-6 {
  width: 70px;
  height: 70px;
  top: 40%;
  left: 80%;
  animation-delay: 10s;
}

/* Geometric Shapes */
.geometric-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
}

.shape {
  position: absolute;
  background: linear-gradient(45deg, rgba(53, 122, 189, 0.08), rgba(255, 107, 53, 0.08));
  animation: shapeRotate 20s linear infinite;
}

.shape-triangle {
  width: 0;
  height: 0;
  background: transparent;
  border-left: 25px solid rgba(53, 122, 189, 0.1);
  border-right: 25px solid transparent;
  border-bottom: 43px solid rgba(53, 122, 189, 0.1);
  top: 30%;
  left: 10%;
  animation-delay: 0s;
}

.shape-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  top: 70%;
  right: 20%;
  animation-delay: 5s;
}

.shape-square {
  width: 35px;
  height: 35px;
  top: 15%;
  right: 15%;
  animation-delay: 10s;
}

/* Light Rays */
.light-rays {
  position: absolute;
  width: 100%;
  height: 100%;
}

.ray {
  position: absolute;
  width: 2px;
  height: 100px;
  background: linear-gradient(to bottom,
    transparent,
    rgba(53, 122, 189, 0.3),
    transparent);
  animation: rayMove 8s ease-in-out infinite;
}

.ray-1 {
  top: 20%;
  left: 30%;
  animation-delay: 0s;
}

.ray-2 {
  top: 60%;
  right: 40%;
  animation-delay: 2s;
}

.ray-3 {
  bottom: 30%;
  left: 60%;
  animation-delay: 4s;
}

/* Services Header */
.services-header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  z-index: 2;
}

.header-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg,
    rgba(53, 122, 189, 0.1),
    rgba(255, 107, 53, 0.1));
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  color: #357abd;
  margin-bottom: 25px;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(53, 122, 189, 0.2);
  animation: fadeInScale 1s ease-out;
}

.badge-icon {
  font-size: 1.5rem;
  animation: iconBounce 2s ease-in-out infinite;
}

.services-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 25px;
  line-height: 1.2;
  perspective: 1000px;
}

.title-part {
  display: inline-block;
  background: linear-gradient(135deg, #357abd 0%, #4a90e2 50%, #ff6b35 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 10px;
  animation: titleSlideIn 1.2s ease-out forwards;
  opacity: 0;
  transform: translateY(40px) rotateX(90deg);
}

.part-1 {
  animation-delay: 0.2s;
}

.part-2 {
  animation-delay: 0.4s;
}

.part-3 {
  animation-delay: 0.6s;
}

.title-decoration {
  margin: 30px 0;
  animation: fadeInScale 1s ease-out 0.8s both;
}

.decoration-elements {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.deco-line {
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #357abd, transparent);
  border-radius: 2px;
}

.deco-diamond {
  position: relative;
  width: 20px;
  height: 20px;
  background: linear-gradient(45deg, #357abd, #ff6b35);
  transform: rotate(45deg);
  animation: diamondSpin 6s linear infinite;
}

.diamond-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background: #fff;
  transform: translate(-50%, -50%) rotate(-45deg);
}

.services-subtitle {
  font-size: 1.3rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
  animation: fadeInUp 1s ease-out 1s both;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-bottom: 80px;
  position: relative;
  z-index: 2;
}

/* Service Card */
.service-card {
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 25px;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: cardSlideUp 0.8s ease-out forwards;
  opacity: 0;
  transform: translateY(60px);
}

.service-card:nth-child(1) {
  animation-delay: 0.2s;
}

.service-card:nth-child(2) {
  animation-delay: 0.4s;
}

.service-card:nth-child(3) {
  animation-delay: 0.6s;
}

.service-card:nth-child(4) {
  animation-delay: 0.8s;
}

.service-card:hover {
  transform: translateY(-15px) rotateX(5deg);
  box-shadow: 0 30px 60px rgba(53, 122, 189, 0.2);
}

/* Card Glow Effect */
.card-glow {
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, #357abd, #ff6b35, #357abd);
  border-radius: 25px;
  opacity: 0;
  transition: opacity 0.5s ease;
  animation: glowRotate 4s linear infinite;
}

.service-card:hover .card-glow {
  opacity: 0.3;
}

/* Card Background */
.card-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 25px;
  overflow: hidden;
}

.bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 20%, rgba(53, 122, 189, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(255, 107, 53, 0.05) 0%, transparent 40%);
  animation: patternMove 10s ease-in-out infinite;
}

/* Card Header */
.card-header {
  position: relative;
  z-index: 3;
  padding: 40px 30px 20px;
  text-align: center;
}

.service-icon {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

.icon-wrapper {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
}

.icon-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(53, 122, 189, 0.1), rgba(255, 107, 53, 0.1));
  border-radius: 50%;
  animation: iconPulse 3s ease-in-out infinite;
}

.icon-emoji {
  font-size: 2.5rem;
  position: relative;
  z-index: 2;
  animation: iconFloat 4s ease-in-out infinite;
}

.icon-particles {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  transform: translate(-50%, -50%);
}

.icon-particles .particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #357abd;
  border-radius: 50%;
  animation: particleOrbit 6s linear infinite;
}

.icon-particles .particle:nth-child(1) {
  top: 0;
  left: 50%;
  animation-delay: 0s;
}

.icon-particles .particle:nth-child(2) {
  top: 50%;
  right: 0;
  animation-delay: 2s;
}

.icon-particles .particle:nth-child(3) {
  bottom: 0;
  left: 50%;
  animation-delay: 4s;
}

/* Card Content */
.card-content {
  position: relative;
  z-index: 3;
  padding: 0 30px 30px;
}

.service-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 15px;
  text-align: center;
  transition: color 0.3s ease;
}

.service-card:hover .service-title {
  background: linear-gradient(135deg, #357abd, #ff6b35);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.service-description {
  font-size: 1rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 25px;
  text-align: center;
}

.service-features {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.feature {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: #64748b;
  background: rgba(53, 122, 189, 0.05);
  padding: 8px 12px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.service-card:hover .feature {
  background: rgba(53, 122, 189, 0.1);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 1rem;
}

.card-footer {
  text-align: center;
}

.service-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #357abd 0%, #4a90e2 100%);
  color: #fff;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-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.6s ease;
}

.service-btn:hover::before {
  left: 100%;
}

.service-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(53, 122, 189, 0.3);
  background: linear-gradient(135deg, #4a90e2 0%, #ff6b35 100%);
}

.btn-arrow {
  transition: transform 0.3s ease;
}

.service-btn:hover .btn-arrow {
  transform: translateX(5px);
}

/* Card Overlay */
.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
    rgba(53, 122, 189, 0.05),
    rgba(255, 107, 53, 0.05));
  border-radius: 25px;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.service-card:hover .card-overlay {
  opacity: 1;
}

/* Services CTA */
.services-cta {
  background: linear-gradient(135deg, #357abd 0%, #4a90e2 50%, #ff6b35 100%);
  border-radius: 30px;
  padding: 50px 40px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  animation: fadeInScale 1s ease-out 1.2s both;
}

.services-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: ctaShine 8s ease-in-out infinite;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.cta-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.4s ease;
}

.cta-button:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.cta-icon {
  transition: transform 0.3s ease;
}

.cta-button:hover .cta-icon {
  transform: rotate(45deg);
}

/* Animations */
@keyframes bubbleFloat {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg); 
    opacity: 0.6;
  }
  25% { 
    transform: translateY(-20px) rotate(90deg); 
    opacity: 0.8;
  }
  50% { 
    transform: translateY(-40px) rotate(180deg); 
    opacity: 1;
  }
  75% { 
    transform: translateY(-20px) rotate(270deg); 
    opacity: 0.8;
  }
}

@keyframes shapeRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes rayMove {
  0%, 100% { opacity: 0.2; transform: translateX(0); }
  50% { opacity: 0.8; transform: translateX(20px); }
}

@keyframes iconBounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

@keyframes fadeInScale {
  from { 
    opacity: 0; 
    transform: scale(0.9); 
  }
  to { 
    opacity: 1; 
    transform: scale(1); 
  }
}

@keyframes titleSlideIn {
  to { 
    opacity: 1; 
    transform: translateY(0) rotateX(0deg); 
  }
}

@keyframes fadeInUp {
  from { 
    opacity: 0; 
    transform: translateY(30px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

@keyframes diamondSpin {
  from { transform: rotate(45deg); }
  to { transform: rotate(405deg); }
}

@keyframes cardSlideUp {
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

@keyframes glowRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes patternMove {
  0%, 100% { transform: translateX(0) translateY(0); }
  25% { transform: translateX(5px) translateY(-5px); }
  50% { transform: translateX(-3px) translateY(3px); }
  75% { transform: translateX(3px) translateY(5px); }
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes particleOrbit {
  from { transform: rotate(0deg) translateX(50px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(50px) rotate(-360deg); }
}

@keyframes ctaShine {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(180deg); }
}

/* Responsive Design */
@media (max-width: 992px) {
  .services-title {
    font-size: 2.8rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
  }
  
  .cta-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  .services {
    padding: 80px 0;
  }
  
  .services-title {
    font-size: 2.2rem;
  }
  
  .title-part {
    display: block;
    margin: 5px 0;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .service-card {
    margin: 0 10px;
  }
  
  .service-features {
    flex-direction: column;
    gap: 10px;
  }
  
  .services-cta {
    padding: 40px 25px;
  }
  
  .cta-title {
    font-size: 1.4rem;
  }
  
  .bubble {
    display: none;
  }
}

@media (max-width: 480px) {
  .services-header {
    margin-bottom: 50px;
  }
  
  .services-title {
    font-size: 1.8rem;
  }
  
  .card-header {
    padding: 30px 20px 15px;
  }
  
  .card-content {
    padding: 0 20px 25px;
  }
  
  .service-title {
    font-size: 1.3rem;
  }
  
  .service-description {
    font-size: 0.9rem;
  }
  
  .services-cta {
    padding: 30px 20px;
  }
  
  .cta-title {
    font-size: 1.2rem;
  }
  
  .cta-description {
    font-size: 1rem;
  }
  
  .geometric-shapes,
  .light-rays {
    display: none;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* 3D Tilt Effect */
.service-card[data-tilt] {
  transform-style: preserve-3d;
  perspective: 1000px;
}



/* Booking Section */
.booking {
  padding: 100px 0;
  background: linear-gradient(135deg,
    #f8fafc 0%,
    #e2e8f0 25%,
    #f1f5f9 50%,
    #e2e8f0 75%,
    #f8fafc 100%);
  position: relative;
  overflow: hidden;
}

/* Background Effects */
.booking-bg-effects {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Floating Orbs */
.floating-orbs {
  position: absolute;
  width: 100%;
  height: 100%;
}

.orb {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg,
    rgba(53, 122, 189, 0.15),
    rgba(74, 144, 226, 0.2),
    rgba(255, 107, 53, 0.15));
  animation: orbFloat 12s ease-in-out infinite;
  backdrop-filter: blur(10px);
}

.orb-1 {
  width: 150px;
  height: 150px;
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.orb-2 {
  width: 100px;
  height: 100px;
  top: 70%;
  right: 10%;
  animation-delay: 2s;
}

.orb-3 {
  width: 120px;
  height: 120px;
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

.orb-4 {
  width: 80px;
  height: 80px;
  top: 30%;
  right: 30%;
  animation-delay: 6s;
}

.orb-5 {
  width: 90px;
  height: 90px;
  top: 50%;
  left: 80%;
  animation-delay: 8s;
}

/* Wave Animation */
.wave-animation {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
}

.wave {
  width: 100%;
  height: 100px;
  fill: rgba(53, 122, 189, 0.1);
  animation: waveMove 8s ease-in-out infinite;
}

/* Particles Background */
.particles-bg {
  position: absolute;
  width: 100%;
  height: 100%;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: linear-gradient(45deg, #357abd, #ff6b35);
  border-radius: 50%;
  animation: particleFloat 10s linear infinite;
}

.particle:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.particle:nth-child(2) {
  top: 80%;
  left: 20%;
  animation-delay: 2s;
}

.particle:nth-child(3) {
  top: 60%;
  right: 15%;
  animation-delay: 4s;
}

.particle:nth-child(4) {
  top: 40%;
  right: 30%;
  animation-delay: 6s;
}

.particle:nth-child(5) {
  bottom: 30%;
  left: 70%;
  animation-delay: 8s;
}

.particle:nth-child(6) {
  top: 15%;
  left: 60%;
  animation-delay: 10s;
}

/* Booking Header */
.booking-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg,
    rgba(53, 122, 189, 0.1),
    rgba(255, 107, 53, 0.1));
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  color: #357abd;
  margin-bottom: 25px;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(53, 122, 189, 0.2);
  animation: fadeInScale 1s ease-out;
}

.badge-icon {
  font-size: 1.5rem;
  animation: iconBounce 2s ease-in-out infinite;
}

.booking-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 25px;
  line-height: 1.2;
}

.title-word {
  display: inline-block;
  background: linear-gradient(135deg, #357abd 0%, #4a90e2 50%, #ff6b35 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 10px;
  animation: titleSlideIn 1.2s ease-out forwards;
  opacity: 0;
  transform: translateY(40px) rotateX(90deg);
}

.word-1 {
  animation-delay: 0.2s;
}

.word-2 {
  animation-delay: 0.4s;
}

.word-3 {
  animation-delay: 0.6s;
}

.title-decoration {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 20px 0 30px;
  animation: fadeInUp 1s ease-out 0.8s both;
}

.deco-line {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #357abd, transparent);
  border-radius: 2px;
}

.deco-star {
  font-size: 1.5rem;
  animation: starSpin 4s linear infinite;
}

.booking-subtitle {
  font-size: 1.3rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
  animation: fadeInUp 1s ease-out 1s both;
}

/* Booking Container */
.booking-container {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 30px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.12);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: containerSlideUp 1s ease-out 0.5s both;
  opacity: 0;
  transform: translateY(50px);
}

/* Tabs */
.tabs {
  display: flex;
  background: linear-gradient(135deg, #357abd 0%, #4a90e2 100%);
  border-radius: 30px 30px 0 0;
  overflow: hidden;
}

.tab {
  flex: 1;
  background: transparent;
  border: none;
  padding: 25px 20px;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.tab-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  z-index: 2;
}

.tab-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.tab-text {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.tab.active .tab-text {
  color: #fff;
}

.tab.active .tab-icon {
  transform: scale(1.2);
}

.tab-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.tab.active .tab-indicator {
  transform: scaleX(1);
}

.tab:hover:not(.active) .tab-text {
  color: rgba(255, 255, 255, 0.9);
}

.tab::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: left 0.6s ease;
}

.tab:hover::before {
  left: 100%;
}

/* Form Container */
.form-container {
  padding: 40px;
}

/* Form Steps */
.form-step {
  margin-bottom: 40px;
  opacity: 0;
  animation: stepFadeIn 0.8s ease-out 0.3s forwards;
}

.form-step:nth-child(2) {
  animation-delay: 0.5s;
}

.form-step:nth-child(3) {
  animation-delay: 0.7s;
}

.step-title {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.4rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid rgba(53, 122, 189, 0.1);
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #357abd, #4a90e2);
  color: #fff;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 600;
  animation: numberPulse 2s ease-in-out infinite;
}

/* Form Layout */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-bottom: 25px;
}

.form-group {
  position: relative;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: #4a5568;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-group label.required::after {
  content: ' *';
  color: #e53e3e;
  font-weight: 700;
}

/* Input Styling */
.input-wrapper,
.select-wrapper,
.textarea-wrapper {
  position: relative;
}

.input-wrapper input,
.select-wrapper select,
.textarea-wrapper textarea {
  width: 100%;
  padding: 15px 50px 15px 15px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
  outline: none;
}

.input-wrapper input:focus,
.select-wrapper select:focus,
.textarea-wrapper textarea:focus {
  border-color: #357abd;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(53, 122, 189, 0.1);
  transform: translateY(-2px);
}

.input-icon,
.select-icon,
.textarea-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  opacity: 0.6;
  transition: all 0.3s ease;
  pointer-events: none;
}

.input-wrapper:focus-within .input-icon,
.select-wrapper:focus-within .select-icon,
.textarea-wrapper:focus-within .textarea-icon {
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}

.textarea-wrapper textarea {
  min-height: 120px;
  resize: vertical;
  padding-top: 15px;
}

.textarea-wrapper .textarea-icon {
  top: 25px;
  transform: none;
}

/* Error Messages */
.error-message {
  color: #e53e3e;
  font-size: 0.85rem;
  margin-top: 5px;
  display: none;
  animation: errorSlideIn 0.3s ease-out;
}

.form-group.error .error-message {
  display: block;
}

.form-group.error input,
.form-group.error select {
  border-color: #e53e3e;
  background: rgba(229, 62, 62, 0.05);
}

/* Special Offer */
.special-offer {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: #fff;
  padding: 12px 15px;
  border-radius: 8px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  animation: offerPulse 2s ease-in-out infinite;
}

.offer-icon {
  font-size: 1.2rem;
  animation: iconBounce 1s ease-in-out infinite;
}

/* Price Display */
.price-display {
  margin: 30px 0;
  animation: priceSlideIn 0.5s ease-out;
}

.price-container {
  background: linear-gradient(135deg, #357abd 0%, #4a90e2 100%);
  border-radius: 20px;
  padding: 25px;
  display: flex;
  align-items: center;
  gap: 20px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(53, 122, 189, 0.3);
}

.price-icon {
  font-size: 2rem;
  animation: priceIconSpin 3s ease-in-out infinite;
}

.price-content {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-label {
  font-size: 1.1rem;
  opacity: 0.9;
}

.price-amount {
  font-size: 2rem;
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.price-currency {
  font-size: 1.3rem;
  font-weight: 600;
  opacity: 0.9;
}

.price-animation {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: priceShine 3s ease-in-out infinite;
}

/* Button Group */
.button-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  padding: 40px;
  animation: buttonsSlideUp 1s ease-out 1.2s both;
  opacity: 0;
  transform: translateY(30px);
}

.whatsapp-btn,
.call-btn {
  position: relative;
  padding: 18px 35px;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
}

.whatsapp-btn {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff;
}

.call-btn {
  background: linear-gradient(135deg, #357abd 0%, #4a90e2 100%);
  color: #fff;
}

.btn-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  transform: scale(0);
  transition: transform 0.4s ease;
}

.btn-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-icon {
  font-size: 1.3rem;
  transition: transform 0.3s ease;
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s ease;
}

.whatsapp-btn:hover .btn-bg,
.call-btn:hover .btn-bg {
  transform: scale(1);
}

.whatsapp-btn:hover .btn-shine,
.call-btn:hover .btn-shine {
  left: 100%;
}

.whatsapp-btn:hover,
.call-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.whatsapp-btn:hover .btn-icon,
.call-btn:hover .btn-icon {
  transform: scale(1.2);
}

/* Note */
.note {
  text-align: center;
  padding: 20px;
  color: #64748b;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(53, 122, 189, 0.05);
  margin: 0 40px 20px;
  border-radius: 15px;
}

.note-icon {
  font-size: 1.1rem;
}

/* Form Section Visibility */
.form-section {
  display: none;
}

.form-section.active {
  display: block;
}

/* Animations */
@keyframes orbFloat {
  0%, 100% { 
    transform: translate(0, 0) rotate(0deg); 
    opacity: 0.7;
  }
  25% { 
    transform: translate(15px, -15px) rotate(90deg); 
    opacity: 1;
  }
  50% { 
    transform: translate(-10px, -25px) rotate(180deg); 
    opacity: 0.8;
  }
  75% { 
    transform: translate(-20px, 10px) rotate(270deg); 
    opacity: 0.9;
  }
}

@keyframes waveMove {
  0%, 100% { transform: translateX(0) scaleY(1); }
  50% { transform: translateX(-25px) scaleY(1.1); }
}

@keyframes particleFloat {
  0% { 
    transform: translateY(0) rotate(0deg); 
    opacity: 0;
  }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { 
    transform: translateY(-100vh) rotate(360deg); 
    opacity: 0;
  }
}

@keyframes iconBounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  60% { transform: translateY(-4px); }
}

@keyframes fadeInScale {
  from { 
    opacity: 0; 
    transform: scale(0.9); 
  }
  to { 
    opacity: 1; 
    transform: scale(1); 
  }
}

@keyframes titleSlideIn {
  to { 
    opacity: 1; 
    transform: translateY(0) rotateX(0deg); 
  }
}

@keyframes fadeInUp {
  from { 
    opacity: 0; 
    transform: translateY(30px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

@keyframes starSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes containerSlideUp {
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

@keyframes stepFadeIn {
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

@keyframes numberPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

@keyframes errorSlideIn {
  from { 
    opacity: 0; 
    transform: translateY(-10px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

@keyframes offerPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

@keyframes priceSlideIn {
  from { 
    opacity: 0; 
    transform: translateX(-20px); 
  }
  to { 
    opacity: 1; 
    transform: translateX(0); 
  }
}

@keyframes priceIconSpin {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(180deg); }
}

@keyframes priceShine {
  0% { left: -100%; }
  50%, 100% { left: 100%; }
}

@keyframes buttonsSlideUp {
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

/* Responsive Design */
@media (max-width: 992px) {
  .booking-title {
    font-size: 2.8rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .button-group {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .booking {
    padding: 80px 0;
  }
  
  .booking-title {
    font-size: 2.2rem;
  }
  
  .title-word {
    display: block;
    margin: 5px 0;
  }
  
  .tabs {
    flex-direction: column;
  }
  
  .tab {
    padding: 20px;
  }
  
  .form-container {
    padding: 25px;
  }
  
  .step-title {
    font-size: 1.2rem;
  }
  
  .button-group {
    padding: 25px;
  }
  
  .whatsapp-btn,
  .call-btn {
    width: 100%;
    max-width: 250px;
  }
  
  .orb {
    display: none;
  }
}

@media (max-width: 480px) {
  .booking-title {
    font-size: 1.8rem;
  }
  
  .form-container {
    padding: 20px;
  }
  
  .input-wrapper input,
  .select-wrapper select {
    padding: 12px 40px 12px 12px;
  }
  
  .price-container {
    padding: 20px;
    flex-direction: column;
    text-align: center;
  }
  
  .price-amount {
    font-size: 1.8rem;
  }
  
  .particles-bg {
    display: none;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* ===== Footer Styles (match header colors) ===== */
/* =========================
   Footer – Colors & Tokens
   ========================= */
/* ===== Footer Styles (responsive, compact on mobile) ===== */
:root{
  --footer-start:#4a90e2;
  --footer-end:#2f6fb5;
  --ink:#ffffff;
  --ink-dim:#dbeafe;
  --stroke:rgba(255,255,255,.25);
  --surface:rgba(255,255,255,.10);
  --accent:#ff8a00;
  --wa-1:#25d366;
  --wa-2:#128c7e;
}

.site-footer{
  position:relative; overflow:hidden;
  background: linear-gradient(135deg,var(--footer-start) 0%, var(--footer-end) 100%);
  color:var(--ink);
  padding:48px 0 18px; /* كان 72px */
  border-top:1px solid var(--stroke);
  opacity:0; transform: translateY(30px);
  animation: footerSlideUp .8s ease-out .2s forwards;
}
.site-footer .container{ max-width:1200px; margin:0 auto; padding:0 16px; position:relative; z-index:1; }

.site-footer::before{
  content:"";
  position:absolute; inset:0;
  background:
   radial-gradient(900px 420px at 100% 0%, rgba(255,255,255,.12), transparent 60%),
   radial-gradient(900px 420px at 0% 100%, rgba(0,0,0,.08), transparent 60%);
  opacity:.35; pointer-events:none;
}

/* Grid */
.footer-top{
  display:grid; gap:24px;
  grid-template-columns:1.3fr 1fr 1fr 1.1fr;
  align-items:start;
  animation: fadeUp .8s ease-out .35s both;
}

/* Brand */
.footer-logo{ display:flex; align-items:center; gap:10px; text-decoration:none; }
.footer-logo img{ width:46px; height:auto; object-fit:contain; filter: drop-shadow(0 4px 10px rgba(0,0,0,.25)); }
.brand-text{ font-weight:800; font-size:1.25rem; color:#fff; letter-spacing:.2px; }
.brand-desc{ color:var(--ink-dim); line-height:1.8; margin:10px 0 14px; }

/* Quick contact chips (صفّيْن فقط على الموبايل) */
.contact-quick{ display:flex; flex-wrap:wrap; gap:8px; }
.chip{
  display:inline-block; text-decoration:none; color:#fff; font-weight:600;
  padding:8px 12px; border-radius:999px;
  background:var(--surface); border:1px solid var(--stroke);
  transition:.25s ease, transform .25s ease;
}
.chip:hover{ background:rgba(255,255,255,.16); transform: translateY(-2px); }
.chip.email{ direction:ltr; }

/* Social */
.social{ display:flex; gap:10px; margin-top:12px; }
.social-btn{
  width:38px; height:38px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,.12); color:#fff; transition:.25s ease, transform .25s ease;
  border:1px solid transparent;
}
.social-btn svg{ width:20px; height:20px; display:block; }
.social-btn:hover{ background:#fff; transform: translateY(-3px) scale(1.03); }
.social-btn.facebook:hover{ color:#1877F2; }
.social-btn.instagram:hover{
  color:#E1306C;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  border-color: rgba(255,255,255,.35);
}

/* Accordion sections */
.accordion{ border:1px solid var(--stroke); border-radius:12px; background:rgba(255,255,255,.06); overflow:hidden; }
.accordion + .accordion{ margin-top:8px; }
.accordion[open]{ background:rgba(255,255,255,.09); }

.col-title{
  font-weight:800; font-size:1.05rem; color:#fff; letter-spacing:.2px;
}

.accordion > summary.col-title{
  list-style:none; cursor:pointer; padding:12px 14px; position:relative;
}
.accordion > summary::-webkit-details-marker{ display:none; }
.accordion > summary.col-title::after{
  content:"▾"; position:absolute; left:14px; top:50%; transform:translateY(-50%) rotate(0deg);
  transition:.25s ease; opacity:.9;
}
.accordion[open] > summary.col-title::after{ transform:translateY(-50%) rotate(-180deg); }

.accordion nav, .accordion .tag-cloud{ padding:0 14px 12px; }

/* Links */
.link-list{ list-style:none; margin:0; padding:0; display:grid; gap:8px; }
.footer-link{
  color:#fff; text-decoration:none; padding:8px 10px; border-radius:8px; transition:.25s ease, transform .25s ease;
  border:1px dashed transparent;
}
.footer-link:hover{ background:rgba(255,255,255,.14); border-color:var(--stroke); transform: translateY(-2px); }

/* Tags */
.tag-cloud{ display:flex; flex-wrap:wrap; gap:8px; }
.tag{
  display:inline-block; text-decoration:none; color:#fff; font-size:.9rem;
  padding:8px 12px; border-radius:999px; background:rgba(255,255,255,.10);
  border:1px solid var(--stroke); transition:.25s ease, transform .25s ease;
}
.tag:hover{ background:rgba(255,255,255,.18); transform: translateY(-2px); }

/* CTA */
.cta .cta-desc{ color:var(--ink-dim); margin-bottom:12px; }
.btn-cta{
  display:inline-block; text-decoration:none; font-weight:700; color:#fff;
  padding:12px 18px; border-radius:12px; margin-inline-end:8px; margin-bottom:8px;
  background:linear-gradient(135deg,var(--wa-1),var(--wa-2));
  box-shadow:0 8px 18px rgba(0,0,0,.25);
  transition:.25s ease, transform .25s ease, box-shadow .25s ease;
  position:relative; overflow:hidden;
}
.btn-cta:hover{ transform:translateY(-3px); box-shadow:0 14px 28px rgba(0,0,0,.3); }
.btn-cta::after{
  content:""; position:absolute; inset:0; transform: translateX(-120%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  transition: transform .6s ease;
}
.btn-cta:hover::after{ transform: translateX(120%); }

.btn-ghost{
  display:inline-block; text-decoration:none; font-weight:600; color:#fff;
  padding:10px 14px; border-radius:12px; border:1px solid var(--stroke);
  background:transparent; transition:.25s ease, transform .25s ease;
}
.btn-ghost:hover{ background:rgba(255,255,255,.12); transform: translateY(-2px); }

/* Bottom */
.footer-divider{ height:1px; background:linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); margin:20px 0; }
.footer-bottom{
  display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap;
  animation: fadeUp .8s ease-out .45s both;
}
.copy{ color:#fff; font-weight:600; }
.credit{ color:var(--ink-dim); }
.credit-link{
  color:#1a1a1a; background:linear-gradient(135deg,#ffd199,var(--accent));
  padding:4px 8px; border-radius:10px; text-decoration:none; font-weight:900; transition:.25s ease, transform .25s ease, box-shadow .25s ease;
}
.credit-link:hover{ transform:translateY(-2px); box-shadow:0 10px 20px rgba(0,0,0,.25); }

/* Back To Top */
.back-to-top{
  position:fixed; right:18px; bottom:82px; z-index:55;
  width:42px; height:42px; border:0; border-radius:10px; cursor:pointer;
  background:linear-gradient(135deg,var(--footer-start),var(--footer-end)); color:#fff; font-weight:900;
  box-shadow:0 12px 24px rgba(0,0,0,.3);
  opacity:0; transform:translateY(10px);
  transition:.25s ease; pointer-events:none;
}
.back-to-top.show{ opacity:1; transform:translateY(0); pointer-events:auto; }
.back-to-top:hover{ transform: translateY(-3px); }

/* Floating WhatsApp */
.fab-whatsapp{
  position: fixed; right: 18px; bottom: 24px; z-index: 9999;
  width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center; text-decoration: none;
  background: linear-gradient(135deg, var(--wa-1), var(--wa-2));
  box-shadow: 0 16px 36px rgba(0,0,0,.35);
  transition: transform .25s ease, box-shadow .25s ease;
  opacity:0; transform: translateY(15px) scale(.98);
  animation: floatIn .5s ease-out .4s forwards;
}
.fab-whatsapp svg{ width: 26px; height: 26px; display: block; fill: #fff; }
.fab-whatsapp:hover{ transform: translateY(-3px) scale(1.05); box-shadow: 0 20px 44px rgba(0,0,0,.4); }
.fab-whatsapp::after, .fab-whatsapp .fab-pulse{
  content:""; position:absolute; inset:0; border-radius:50%;
  box-shadow: 0 0 0 0 rgba(37,211,102,.45); animation: floatingPulse 2.2s infinite; pointer-events:none;
}

/* ====== Animations ====== */
@keyframes footerSlideUp{ to{ opacity:1; transform:none } }
@keyframes fadeUp{ from{ opacity:0; transform: translateY(10px) } to{ opacity:1; transform:none } }
@keyframes floatingPulse{ 0%{ box-shadow:0 0 0 0 rgba(37,211,102,.45) } 70%{ box-shadow:0 0 0 16px rgba(37,211,102,0) } 100%{ box-shadow:0 0 0 0 rgba(37,211,102,0) } }

/* ====== Responsive ====== */

/* Tablet */
@media (max-width: 992px){
  .footer-top{
    grid-template-columns: 1fr 1fr;
  }
  .cta{ order: 4; } /* CTA أسفل على التابلت */
}

/* Mobile */
@media (max-width: 640px){
  .site-footer{ padding-top: 32px; }
  .footer-top{
    grid-template-columns: 1fr;
    gap:14px;
  }

  /* نص مختصر */
  .brand-desc{ margin:8px 0 10px; line-height:1.7; }
  .brand-desc:after{
    /* تقصير وهمي للنص الطويل: سطرين */
    content:""; display:block; height:0;
  }

  /* جهات الاتصال: صفّان فقط */
  .contact-quick{
    display:grid; grid-template-columns: 1fr 1fr; gap:8px;
  }
  .chip{ text-align:center; }

  /* الأكورديون: مغلق افتراضياً لتقصير الطول */
  .accordion{ border-radius:10px; }
  .accordion:not([open]) .link-list,
  .accordion:not([open]) .tag-cloud{ display:none; }

  /* CTA بكامل العرض */
  .btn-cta, .btn-ghost{ width:100%; text-align:center; }

  /* المسافات السفلية أقل */
  .footer-divider{ margin:16px 0; }
  .footer-bottom{ gap:8px; }
}

/* Ultra-compact (صغييير جداً) */
@media (max-width: 380px){
  .brand-text{ font-size:1.1rem; }
  .footer-logo img{ width:40px; }
  .chip{ padding:7px 10px; font-size:.95rem; }
}




/* =========================
   Reduced Motion
   ========================= */
@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
  .fab-whatsapp::after, .fab-whatsapp .fab-pulse{ animation:none !important; }
}




.banner-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

/* الديفات داخل .banner-content */
.banner-content .text-wrapper {
  order: 1; /* الكلام أول */
}

.banner-content .banner-visual {
  order: 2; /* الصورة ثاني */
}

/* على الموبايل نخلي الصورة قبل الكلام */
@media (max-width: 768px) {
  .banner-content .text-wrapper {
    order: 2; /* الكلام ثاني */
  }
  .banner-content .banner-visual {
    order: 1; /* الصورة أول */
  }
}

.banner-buttons .btn-text {
  white-space: nowrap;   /* يمنع النزول لسطر جديد */
}


