* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: white;
  min-height: 100vh;
  overflow-x: hidden;
  transition: all 0.3s ease;
}

body[dir="rtl"] {
  font-family: "Noto Sans Arabic", "Segoe UI", Tahoma, Geneva, Verdana,
    sans-serif;
}

.container {
  /* max-width: 1200px; */
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
  padding: 8px 0;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  position: relative;
  min-height: 60px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  order: 1;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.logo a:hover {
  transform: scale(1.05);
}

.logo img {
  height: 50px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.nav-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  margin: 0 20px;
  order: 2;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 15px;
  align-items: center;
  flex-wrap: nowrap;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: #2c3e50;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 8px 12px;
  border-radius: 20px;
  position: relative;
  font-size: 0.95rem;
  white-space: nowrap;
}

.nav-menu a:hover {
  background: linear-gradient(
    45deg,
    rgba(131, 5, 165, 0.1),
    rgba(241, 116, 5, 0.1)
  );
  color: #8305a5;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(131, 5, 165, 0.2);
}

.nav-menu a.active {
  background: linear-gradient(45deg, #8305a5, #f17405);
  color: white;
  box-shadow: 0 3px 10px rgba(131, 5, 165, 0.3);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  order: 3;
}

.language-toggle {
  background: linear-gradient(135deg, #f17405 0%, #ff8533 50%, #f17405 100%);
  color: white;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 15px rgba(241, 116, 5, 0.3);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  min-width: 85px;
  justify-content: center;
  white-space: nowrap;
}

.language-toggle::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  transition: left 0.5s ease;
}

.language-toggle:hover::before {
  left: 100%;
}

.language-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(241, 116, 5, 0.4);
  background: linear-gradient(135deg, #ff8533 0%, #f17405 50%, #e6660a 100%);
}

.language-toggle:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(241, 116, 5, 0.3);
}

.language-toggle i {
  font-size: 0.85rem;
}

.btn-header-cta {
  background: linear-gradient(135deg, #8305a5 0%, #9c2bb8 50%, #b53bdb 100%);
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(131, 5, 165, 0.4);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  letter-spacing: 0.3px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-header-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  transition: left 0.5s ease;
}

.btn-header-cta:hover::before {
  left: 100%;
}

.btn-header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(131, 5, 165, 0.5);
  background: linear-gradient(135deg, #9c2bb8 0%, #8305a5 50%, #7004a0 100%);
}

.btn-header-cta:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(131, 5, 165, 0.4);
}

.btn-header-cta i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.btn-header-cta:hover i {
  transform: scale(1.1) rotate(5deg);
}

.mobile-menu-btn {
  display: none;
  background: linear-gradient(45deg, #8305a5, #f17405);
  color: white;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 8px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  position: relative;
  z-index: 1001;
  order: 4;
}

.mobile-menu-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(131, 5, 165, 0.3);
}

.mobile-menu-btn.active {
  background: linear-gradient(45deg, #f17405, #8305a5);
}

/* Mobile Navigation Menu */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, #8305a5, #b53bdb);
  z-index: 1000;
  padding: 100px 30px 30px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-100%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
}

.mobile-nav-menu li {
  transform: translateX(-50px);
  opacity: 0;
  transition: all 0.5s ease;
}

[dir="rtl"] .mobile-nav-menu li {
  transform: translateX(50px);
}

.mobile-nav.active .mobile-nav-menu li {
  transform: translateX(0);
  opacity: 1;
}

.mobile-nav-menu li:nth-child(1) {
  transition-delay: 0.1s;
}

.mobile-nav-menu li:nth-child(2) {
  transition-delay: 0.2s;
}

.mobile-nav-menu li:nth-child(3) {
  transition-delay: 0.3s;
}

.mobile-nav-menu li:nth-child(4) {
  transition-delay: 0.4s;
}

.mobile-nav-menu li:nth-child(5) {
  transition-delay: 0.5s;
}

.mobile-nav-menu li:nth-child(6) {
  transition-delay: 0.6s;
}

.mobile-nav-menu li:nth-child(7) {
  transition-delay: 0.7s;
}

.mobile-nav-menu a {
  color: white;
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: 700;
  padding: 15px 25px;
  border-radius: 15px;
  transition: all 0.3s ease;
  display: block;
  text-align: center;
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  width: 250px;
}

.mobile-nav-menu a:hover,
.mobile-nav-menu a.active {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.mobile-cta {
  margin-top: 40px;
  text-align: center;
  transform: translateY(50px);
  opacity: 0;
  transition: all 0.5s ease 0.7s;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.mobile-nav.active .mobile-cta {
  transform: translateY(0);
  opacity: 1;
}

/* Hero Section */
.hero {
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: white;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(131, 5, 165, 0.05) 1px,
    transparent 1px
  );
  background-size: 50px 50px;
  animation: float 20s linear infinite;
  opacity: 0.3;
}

@keyframes float {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.8rem;
  margin-bottom: 25px;
  color: #f17405;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
  line-height: 1.3;
  font-weight: 800;
  animation: fadeInUp 1s ease-out;
}

.hero p {
  font-size: 1.35rem;
  margin-bottom: 40px;
  color: #8305a5;
  line-height: 1.8;
  font-weight: 500;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.05);
  animation: fadeInUp 1s ease-out 0.2s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.btn {
  padding: 18px 40px;
  border: none;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(45deg, #f17405, #ff8533);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(241, 116, 5, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #8305a5;
  border: 3px solid #8305a5;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(131, 5, 165, 0.2);
}

/* Video Section */
.video-section {
  padding: 80px 0;
  background: white;
  text-align: center;
  scroll-margin-top: 80px;
}

.video-container {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: translateY(50px);
  opacity: 0;
  transition: all 0.8s ease;
  aspect-ratio: 9/16;
}

.video-container.visible {
  transform: translateY(0);
  opacity: 1;
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 20px;
}

.video-title {
  color: #f17405;
  font-size: 2.5rem;
  margin-bottom: 30px;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1);
  font-weight: 700;
}

/* Services Section */
.services {
  padding: 80px 0;
  background: white;
}

.services h2 {
  text-align: center;
  color: #f17405;
  font-size: 2.5rem;
  margin-bottom: 50px;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1);
  font-weight: 700;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.service-card {
  background: white;
  border-radius: 25px;
  padding: 35px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid rgba(241, 116, 5, 0.2);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

[dir="rtl"] .service-card {
  text-align: center;
}

.service-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(241, 116, 5, 0.05),
    transparent
  );
  transform: rotate(45deg);
  transition: all 0.6s ease;
  opacity: 0;
}

.service-card:hover::before {
  opacity: 1;
  transform: rotate(45deg) translate(50%, 50%);
}

.service-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  border-color: #f17405;
}

.service-icon {
  width: 90px;
  height: 90px;
  background: linear-gradient(45deg, #8305a5, #b53bdb);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 2.2rem;
  position: relative;
  z-index: 2;
  color: white;
  box-shadow: 0 8px 20px rgba(131, 5, 165, 0.3);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 18px;
  color: #8305a5;
  font-weight: 700;
  position: relative;
  z-index: 2;
}

.service-card p {
  line-height: 1.8;
  margin-bottom: 25px;
  font-weight: 400;
  position: relative;
  z-index: 2;
  color: #333;
}

.btn-service {
  background: linear-gradient(45deg, #f17405, #ff8533);
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  font-size: 1.05rem;
}

.btn-service:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 25px rgba(241, 116, 5, 0.4);
}

/* Footer */
footer {
  background: #000000;
  color: white;
  padding: 60px 0 20px;
  margin-top: 80px;
  position: relative;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #8305a5, #f17405, #8305a5);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 40px;
}

.footer-section h3 {
  color: #f17405;
  font-size: 1.5rem;
  margin-bottom: 25px;
  font-weight: 700;
  position: relative;
  display: inline-block;
  width: 100%;
  text-align: center;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, #f17405, #8305a5);
}

[dir="rtl"] .footer-section h3 {
  text-align: center;
}

.footer-logo {
  max-width: 180px;
  margin-bottom: 20px;
}

.footer-about p {
  line-height: 1.8;
  opacity: 0.9;
  margin-bottom: 25px;
  font-size: 1.05rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  opacity: 0.8;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
}

.footer-links a:hover {
  opacity: 1;
  color: #f17405;
  transform: translateX(8px);
}

[dir="rtl"] .footer-links a:hover {
  transform: translateX(-8px);
}

.contact-info {
  list-style: none;
}

.contact-info li {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  opacity: 0.9;
  font-size: 1.05rem;
}

[dir="rtl"] .contact-info li {
  flex-direction: row-reverse;
  text-align: right;
}

.contact-info i {
  color: white;
  width: 22px;
  text-align: center;
  font-size: 1.2rem;
}

.contact-info a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-info a:hover {
  color: #f17405;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

[dir="rtl"] .social-links {
  flex-direction: row-reverse;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.social-links a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #8305a5, #f17405);
  transform: scale(0);
  transition: transform 0.3s ease;
}

.social-links a:hover::before {
  transform: scale(1);
}

.social-links a i {
  position: relative;
  z-index: 2;
}

.social-links a:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(241, 116, 5, 0.4);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

[dir="rtl"] .footer-bottom {
  flex-direction: row-reverse;
}

.footer-bottom p {
  opacity: 0.8;
  font-size: 1.05rem;
  margin: 0;
  text-align: center;
  line-height: 1.6;
}

.footer-bottom span {
  font-size: inherit;
  color: inherit;
}

.footer-bottom a {
  color: #f17405;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline;
  border-radius: 4px;
  padding: 2px 4px;
}

.footer-bottom a:hover {
  color: #8305a5;
  text-decoration: underline;
  background: rgba(241, 116, 5, 0.1);
  transform: translateY(-1px);
}

.footer-bottom a:focus {
  outline: 2px solid #f17405;
  outline-offset: 2px;
}

.footer-bottom-links {
  display: flex;
  gap: 30px;
  list-style: none;
  flex-wrap: wrap;
}

[dir="rtl"] .footer-bottom-links {
  flex-direction: row-reverse;
}

/* Fixed Contact Buttons */
.fixed-contact {
  position: fixed;
  right: 20px;
  bottom: 100px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 9999;
  transform: none;
}

[dir="rtl"] .fixed-contact {
  right: 20px;
  left: auto;
}

.contact-btn {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.6rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  z-index: 9999;
}

.contact-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
}

.contact-btn:hover::before {
  width: 100%;
  height: 100%;
}

.whatsapp-btn {
  background: #25d366;
}

.phone-btn {
  background: #8305a5;
}

.chat-btn {
  background: linear-gradient(45deg, #8305a5, #f17405) !important;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.chat-btn-icon {
  width: 35px;
  height: 35px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.contact-btn:hover {
  transform: scale(1.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.contact-btn i {
  position: relative;
  z-index: 2;
}

/* Chat Widget Popup */
.chat-popup {
  display: none;
  position: fixed;
  bottom: 200px;
  right: 30px;
  width: 350px;
  height: 500px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  overflow: hidden;
}

[dir="rtl"] .chat-popup {
  right: 30px !important;
  left: auto !important;
}

.chat-popup.active {
  display: block;
  animation: slideInUp 0.3s ease-out;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-header {
  background: linear-gradient(45deg, #8305a5, #f17405);
  color: white;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
[dir="rtl"] .chat-header {
  flex-direction: row-reverse;
}

.chat-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.chat-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.chat-body {
  height: calc(100% - 80px);
}

.chat-body iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-content {
  background: linear-gradient(135deg, #8305a5, #b53bdb);
  margin: auto;
  padding: 40px;
  border-radius: 25px;
  max-height: 90vh;
  width: 90%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow-y: auto;
}

.modal-content::-webkit-scrollbar {
  width: 8px;
}

.modal-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

.close {
  color: white;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  top: 15px;
  right: 20px;
  transition: all 0.3s ease;
}

[dir="rtl"] .close {
  float: left;
  right: auto;
  left: 20px;
}

.close:hover {
  opacity: 0.7;
  transform: rotate(90deg);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: white;
  font-weight: 600;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 15px 18px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  font-size: 1rem;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

[dir="rtl"] .form-group input,
[dir="rtl"] .form-group select {
  text-align: right;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #f17405;
  background: rgba(255, 255, 255, 0.2);
}

.form-group textarea {
  width: 100%;
  padding: 15px 18px;
  border: none;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  font-size: 1rem;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  resize: vertical;
  font-family: inherit;
  transition: all 0.3s ease;
}

[dir="rtl"] .form-group textarea {
  text-align: right;
}

.form-group textarea:focus {
  outline: none;
  border-color: #f17405;
  background: rgba(255, 255, 255, 0.2);
}

.form-group textarea::placeholder,
.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.form-title {
  color: white;
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.8rem;
  font-weight: 700;
}

/* Success Modal */
.success-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.success-modal-content {
  background: linear-gradient(135deg, #28a745, #20c997);
  margin: 15% auto;
  padding: 40px;
  border-radius: 25px;
  max-width: 500px;
  position: relative;
  box-shadow: 0 20px 60px rgba(40, 167, 69, 0.4);
  text-align: center;
  color: white;
}

.success-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  animation: successBounce 0.6s ease-out;
}

@keyframes successBounce {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

.translatable {
  transition: all 0.3s ease;
}

/* RTL Layout Fixes */
[dir="rtl"] nav {
  flex-direction: row;
}

[dir="rtl"] .logo {
  order: 1;
}

[dir="rtl"] .nav-center {
  order: 2;
}

[dir="rtl"] .header-cta {
  order: 3;
  flex-direction: row;
}

[dir="rtl"] .mobile-menu-btn {
  order: 4;
}

[dir="rtl"] .nav-menu {
  direction: rtl;
}

[dir="rtl"] .mobile-nav-menu {
  text-align: center;
  direction: rtl;
}

[dir="rtl"] .mobile-cta {
  direction: rtl;
  align-items: center;
}

/* ========== تحسينات المودل للهواتف المحمولة - CRITICAL FIX ========== */

/* للشاشات المتوسطة (أقل من 768px) */
@media (max-width: 768px) {
  .modal {
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .modal-content {
    width: 95%;
    max-width: 450px;
    margin: 0 auto;
    padding: 35px 25px;
    max-height: 85vh;
    overflow-y: auto;
  }

  .form-title {
    font-size: 1.6rem;
    margin-bottom: 25px;
    padding-right: 35px;
  }

  [dir="rtl"] .form-title {
    padding-left: 35px;
    padding-right: 25px;
  }

  .form-group {
    margin-bottom: 18px;
  }

  .form-group label {
    font-size: 1rem;
    margin-bottom: 6px;
  }

  .form-group input,
  .form-group select {
    padding: 13px 16px;
    font-size: 0.95rem;
  }

  .close {
    font-size: 26px;
    top: 12px;
  }

  [dir="rtl"] .close {
    left: 18px;
  }
}

/* للهواتف الصغيرة (أقل من 480px) */
@media (max-width: 480px) {
  .modal {
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .modal-content {
    width: 98%;
    max-width: 100%;
    margin: 0 auto;
    padding: 30px 20px;
    max-height: 90vh;
    border-radius: 20px;
    overflow-y: auto;
  }

  .form-title {
    font-size: 1.4rem;
    margin-bottom: 20px;
    padding-right: 40px;
    line-height: 1.3;
  }

  [dir="rtl"] .form-title {
    padding-left: 40px;
    padding-right: 20px;
  }

  .form-group {
    margin-bottom: 15px;
  }

  .form-group label {
    font-size: 0.95rem;
    margin-bottom: 5px;
  }

  .form-group input,
  .form-group select {
    padding: 12px 14px;
    font-size: 0.9rem;
    border-radius: 8px;
  }

  .form-group textarea {
    padding: 12px 14px;
    font-size: 0.9rem;
    border-radius: 12px;
  }

  .close {
    font-size: 24px;
    top: 10px;
    right: 15px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
  }

  .close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
  }

  [dir="rtl"] .close {
    left: 15px;
    right: auto;
  }

  .btn-primary {
    padding: 14px 20px;
    font-size: 1rem;
    border-radius: 12px;
    margin-top: 15px;
    width: 100%;
  }
}

/* للهواتف الصغيرة جداً (أقل من 360px) */
@media (max-width: 360px) {
  .modal {
    padding: 5px;
  }

  .modal-content {
    width: 100%;
    margin: 0 auto;
    padding: 25px 15px;
    max-height: 92vh;
    border-radius: 15px;
  }

  .form-title {
    font-size: 1.3rem;
    margin-bottom: 18px;
    padding-right: 35px;
  }

  [dir="rtl"] .form-title {
    padding-left: 35px;
    padding-right: 15px;
  }

  .form-group {
    margin-bottom: 12px;
  }

  .form-group label {
    font-size: 0.9rem;
  }

  .form-group input,
  .form-group select {
    padding: 11px 12px;
    font-size: 0.85rem;
  }

  .form-group textarea {
    padding: 11px 12px;
    font-size: 0.85rem;
  }

  .close {
    width: 32px;
    height: 32px;
    font-size: 22px;
  }

  .btn-primary {
    padding: 13px 18px;
    font-size: 0.95rem;
  }
}

/* تحسين scrollbar للمودل في الهواتف */
@media (max-width: 768px) {
  .modal-content::-webkit-scrollbar {
    width: 6px;
  }

  .modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
  }

  .modal-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
  }

  .modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
  }
}

/* Responsive Design - Desktop Screens */
@media (min-width: 1400px) {
  .logo img {
    height: 60px;
    max-width: 250px;
  }

  .nav-menu {
    gap: 25px;
  }

  .nav-menu a {
    padding: 10px 16px;
    font-size: 1rem;
  }

  .btn-header-cta {
    padding: 14px 24px;
    font-size: 1.1rem;
  }

  .language-toggle {
    padding: 12px 18px;
    font-size: 1rem;
    min-width: 95px;
  }

  .footer-content {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
  }

  .footer-section h3 {
    font-size: 1.3rem;
  }

  .footer-about p {
    font-size: 1rem;
  }
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .logo img {
    height: 55px;
    max-width: 220px;
  }

  .nav-center {
    margin: 0 15px;
  }

  .nav-menu {
    gap: 20px;
  }

  .nav-menu a {
    padding: 9px 14px;
    font-size: 0.95rem;
  }

  .btn-header-cta {
    padding: 12px 20px;
    font-size: 1rem;
  }

  .language-toggle {
    padding: 10px 16px;
    font-size: 0.9rem;
    min-width: 90px;
  }

  .footer-content {
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 40px;
  }

  .footer-section h3 {
    font-size: 1.2rem;
  }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .nav-center {
    margin: 0 10px;
  }

  .nav-menu {
    gap: 15px;
  }

  .nav-menu a {
    padding: 8px 12px;
    font-size: 0.9rem;
  }

  .header-cta {
    gap: 8px;
  }

  .btn-header-cta {
    padding: 10px 18px;
    font-size: 0.95rem;
  }

  .language-toggle {
    padding: 9px 14px;
    font-size: 0.85rem;
    min-width: 85px;
  }

  .btn-header-cta i {
    font-size: 0.9rem;
  }

  .footer-content {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 30px;
  }

  .footer-section h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
  }

  .footer-about p,
  .footer-links a,
  .contact-info li {
    font-size: 0.8rem;
  }

  .social-links a {
    width: 35px;
    height: 35px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .nav-center {
    margin: 0 8px;
  }

  .nav-menu {
    gap: 10px;
  }

  .nav-menu a {
    padding: 6px 10px;
    font-size: 0.85rem;
  }

  .header-cta {
    gap: 6px;
  }

  .btn-header-cta {
    padding: 9px 16px;
    font-size: 0.9rem;
    gap: 6px;
  }

  .language-toggle {
    padding: 8px 12px;
    font-size: 0.8rem;
    min-width: 80px;
    gap: 4px;
  }

  .language-toggle i {
    font-size: 0.75rem;
  }

  .btn-header-cta i {
    font-size: 0.85rem;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .footer-about {
    grid-column: 1 / -1;
    text-align: center;
    align-items: center;
  }

  [dir="rtl"] .footer-about {
    text-align: center;
    align-items: center;
  }

  .footer-section h3 {
    font-size: 1rem;
    text-align: center;
  }

  .footer-links,
  .contact-info {
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  [dir="rtl"] .social-links {
    justify-content: center;
  }
}

/* Mobile Responsive Design */
@media (min-width: 600px) and (max-width: 767px) {
  .nav-menu {
    display: none;
  }

  .nav-center {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .mobile-nav {
    display: block;
  }

  .logo img {
    height: 45px;
    max-width: 180px;
  }

  .header-cta {
    gap: 8px;
  }

  .btn-header-cta {
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  .language-toggle {
    padding: 9px 12px;
    font-size: 0.8rem;
    min-width: 75px;
  }

  nav {
    padding: 10px 0;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 280px;
    justify-content: center;
  }

  .video-title {
    font-size: 2rem;
  }

  .services h2 {
    font-size: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  footer {
    padding: 35px 0 20px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-about {
    align-items: center;
  }

  [dir="rtl"] .footer-about {
    align-items: center;
  }

  .footer-section h3 {
    font-size: 1rem;
    margin-bottom: 15px;
    text-align: center;
  }

  [dir="rtl"] .footer-section h3::after {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .footer-about p {
    font-size: 0.85rem;
    text-align: center;
  }

  .footer-links,
  .contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-links a,
  .contact-info li {
    font-size: 0.85rem;
    justify-content: center;
  }

  .social-links {
    justify-content: center;
  }

  .fixed-contact {
    right: 15px;
    bottom: 90px;
  }

  [dir="rtl"] .fixed-contact {
    right: 15px;
    left: auto;
  }

  .chat-popup {
    right: 15px;
    width: 320px;
    height: 480px;
  }

  [dir="rtl"] .chat-popup {
    right: 15px;
    left: auto;
  }
}

@media (min-width: 481px) and (max-width: 599px) {
  .nav-menu {
    display: none;
  }

  .nav-center {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .mobile-nav {
    display: block;
  }

  .logo img {
    height: 42px;
    max-width: 160px;
  }

  .header-cta {
    gap: 6px;
  }

  .btn-header-cta {
    padding: 9px 14px;
    font-size: 0.85rem;
    gap: 4px;
  }

  .language-toggle {
    padding: 8px 10px;
    font-size: 0.75rem;
    min-width: 70px;
    gap: 3px;
  }

  .language-toggle i {
    font-size: 0.7rem;
  }

  .btn-header-cta i {
    font-size: 0.8rem;
  }

  nav {
    padding: 8px 0;
  }

  .hero {
    padding: 140px 0 80px;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .video-section {
    padding: 60px 0;
  }

  .video-title {
    font-size: 1.8rem;
  }

  .services {
    padding: 60px 0;
  }

  .services h2 {
    font-size: 1.8rem;
  }

  footer {
    padding: 30px 0 20px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 25px;
    text-align: center;
  }

  .footer-section h3 {
    font-size: 0.95rem;
    margin-bottom: 12px;
  }

  .footer-about p {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .footer-links a,
  .contact-info li {
    font-size: 0.8rem;
  }

  .social-links a {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .nav-menu {
    display: none;
  }

  .nav-center {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .mobile-nav {
    display: block;
  }

  .logo img {
    height: 38px;
    max-width: 140px;
  }

  .header-cta {
    gap: 5px;
  }

  .btn-header-cta {
    padding: 8px 12px;
    font-size: 0.8rem;
    gap: 3px;
  }

  .language-toggle {
    padding: 7px 9px;
    font-size: 0.7rem;
    min-width: 65px;
    gap: 2px;
  }

  .language-toggle i {
    font-size: 0.65rem;
  }

  .btn-header-cta i {
    font-size: 0.75rem;
  }

  nav {
    padding: 6px 0;
  }

  .container {
    padding: 0 15px;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 0.9rem;
    margin-bottom: 30px;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 15px;
    align-items: center !important;
    justify-content: center !important;
  }

  .btn {
    padding: 15px 30px;
    font-size: 1rem;
    width: 100%;
    max-width: 280px;
  }

  .video-section {
    padding: 50px 0;
  }

  .video-title {
    font-size: 1.6rem;
    margin-bottom: 20px;
  }

  .video-container {
    max-width: 100%;
    margin: 0 10px;
  }

  .services {
    padding: 50px 0;
  }

  .services h2 {
    font-size: 1.6rem;
    margin-bottom: 30px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    padding: 25px;
    margin: 0 10px;
  }

  .service-card h3 {
    font-size: 1.3rem;
  }

  .service-card p {
    font-size: 0.9rem;
  }

  footer {
    padding: 25px 0 15px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .footer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-about {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-section h3 {
    font-size: 0.9rem;
    margin-bottom: 10px;
    text-align: center !important;
  }

  .footer-about p {
    font-size: 0.75rem;
    line-height: 1.4;
    text-align: center !important;
  }

  .footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    list-style: none;
  }

  .footer-links li {
    margin-bottom: 8px;
    text-align: center;
  }

  .footer-links a {
    font-size: 0.75rem;
    justify-content: center;
    text-align: center;
  }

  .contact-info {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    list-style: none;
  }

  .contact-info li {
    font-size: 0.75rem;
    margin-bottom: 15px;
    justify-content: center !important;
    text-align: center !important;
  }

  .social-links {
    gap: 10px;
    justify-content: center !important;
  }

  .social-links a {
    width: 35px;
    height: 35px;
    font-size: 0.85rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .footer-bottom p {
    font-size: 0.7rem;
    text-align: center !important;
  }

  .footer-bottom-links {
    gap: 15px;
    justify-content: center !important;
  }

  .fixed-contact {
    right: 15px !important;
    bottom: 90px !important;
    left: auto !important;
    transform: none !important;
  }

  [dir="rtl"] .fixed-contact {
    right: 15px !important;
    left: auto !important;
  }

  .contact-btn {
    width: 55px;
    height: 55px;
    font-size: 1.4rem;
  }

  .chat-btn {
    width: 55px;
    height: 55px;
  }

  .chat-btn-icon {
    width: 30px;
    height: 30px;
  }

  .chat-popup {
    width: 280px;
    height: 400px;
    right: 10px !important;
    left: auto !important;
    transform: none !important;
  }

  [dir="rtl"] .chat-popup {
    right: 10px !important;
    left: auto !important;
  }

  .mobile-nav-menu a {
    font-size: 1.4rem;
    width: 220px;
    padding: 12px 20px;
  }
}

@media (max-width: 319px) {
  .logo img {
    height: 35px;
    max-width: 120px;
  }

  .btn-header-cta {
    padding: 7px 10px;
    font-size: 0.75rem;
  }

  .language-toggle {
    padding: 6px 8px;
    font-size: 0.65rem;
    min-width: 60px;
  }

  .container {
    padding: 0 10px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 0.85rem;
  }

  .btn {
    padding: 12px 25px;
    font-size: 0.9rem;
  }

  .video-title {
    font-size: 1.4rem;
  }

  .services h2 {
    font-size: 1.4rem;
  }

  .service-card {
    padding: 20px;
  }

  .service-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }

  .service-card h3 {
    font-size: 1.1rem;
  }

  .service-card p {
    font-size: 0.85rem;
  }

  .footer-content {
    gap: 15px;
  }

  .footer-section h3 {
    font-size: 0.85rem;
  }

  .footer-about p {
    font-size: 0.7rem;
  }

  .footer-links a,
  .contact-info li {
    font-size: 0.7rem;
  }

  .social-links a {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }

  .fixed-contact {
    right: 8px;
  }

  [dir="rtl"] .fixed-contact {
    right: 8px;
    left: auto;
  }

  .contact-btn {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .chat-btn {
    width: 50px;
    height: 50px;
  }

  .chat-btn-icon {
    width: 25px;
    height: 25px;
  }

  .chat-popup {
    right: 8px;
    width: 260px;
    height: 380px;
  }

  [dir="rtl"] .chat-popup {
    right: 8px;
    left: auto;
  }

  .mobile-nav-menu a {
    font-size: 1.2rem;
    width: 200px;
  }
}

/* Features Section Specific Styles */
.features {
  padding: 80px 0;
  background: white;
}

.section-title {
  text-align: center;
  color: #f17405;
  font-size: 2.8rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1);
  font-weight: 700;
}

.section-subtitle {
  text-align: center;
  color: #8305a5;
  font-size: 1.4rem;
  margin-bottom: 60px;
  font-weight: 500;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Features Timeline */
.features-timeline {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 80px;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  animation: slideInUp 0.8s ease forwards;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

[dir="rtl"] .timeline-item:nth-child(even) {
  flex-direction: row;
}

[dir="rtl"] .timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.timeline-item:nth-child(1) {
  animation-delay: 0.1s;
}
.timeline-item:nth-child(2) {
  animation-delay: 0.2s;
}
.timeline-item:nth-child(3) {
  animation-delay: 0.3s;
}
.timeline-item:nth-child(4) {
  animation-delay: 0.4s;
}
.timeline-item:nth-child(5) {
  animation-delay: 0.5s;
}
.timeline-item:nth-child(6) {
  animation-delay: 0.6s;
}

@keyframes slideInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.timeline-number {
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, #8305a5, #b53bdb);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: 0 8px 25px rgba(131, 5, 165, 0.3);
  margin: 0 30px;
  flex-shrink: 0;
  z-index: 2;
  position: relative;
}

.timeline-content {
  flex: 1;
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(241, 116, 5, 0.2);
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 30px;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: #f17405;
}

.timeline-text {
  flex: 1;
}

.timeline-image {
  flex: 0 0 300px;
  position: relative;
  z-index: 2;
}

.timeline-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.timeline-image img:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
}

.timeline-item:nth-child(even) .timeline-image {
  order: -1;
}

[dir="rtl"] .timeline-item:nth-child(even) .timeline-image {
  order: 0;
}

[dir="rtl"] .timeline-item:nth-child(odd) .timeline-image {
  order: -1;
}

.timeline-content h3 {
  color: #8305a5;
  font-size: 1.6rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.timeline-content p {
  color: #333;
  line-height: 1.7;
  font-size: 1.1rem;
}

/* Special styling for items with images */
.timeline-item.has-image .timeline-content {
  min-height: 250px;
}

/* Stats Section */
.stats-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #8305a5, #f17405);
  color: white;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.05) 1px,
    transparent 1px
  );
  background-size: 50px 50px;
  animation: float 20s linear infinite;
  opacity: 0.7;
}

.stats-section .section-title {
  color: white;
  margin-bottom: 60px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  position: relative;
  z-index: 2;
}

.stat-item {
  text-align: center;
  padding: 30px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 15px;
  background: linear-gradient(45deg, #fff, #f0f0f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-description {
  font-size: 1.2rem;
  opacity: 0.9;
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: white;
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: 2.5rem;
  color: #f17405;
  margin-bottom: 20px;
  font-weight: 700;
}

.cta-section p {
  font-size: 1.3rem;
  color: #8305a5;
  margin-bottom: 40px;
  line-height: 1.7;
  font-weight: 500;
}

/* Responsive Design for Features Page */
@media (max-width: 1024px) {
  .timeline-content {
    flex-direction: column;
    gap: 25px;
    text-align: center;
  }

  .timeline-item:nth-child(even) .timeline-content {
    flex-direction: column;
  }

  [dir="rtl"] .timeline-item:nth-child(even) .timeline-content,
  [dir="rtl"] .timeline-item:nth-child(odd) .timeline-content {
    flex-direction: column;
  }

  .timeline-image {
    flex: none;
    width: 100%;
    max-width: 400px;
  }

  .timeline-image img {
    height: 200px;
  }

  .timeline-item:nth-child(even) .timeline-image {
    order: 0;
  }

  [dir="rtl"] .timeline-item:nth-child(even) .timeline-image,
  [dir="rtl"] .timeline-item:nth-child(odd) .timeline-image {
    order: 0;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .section-subtitle {
    font-size: 1.2rem;
    margin-bottom: 50px;
  }

  .features {
    padding: 60px 0;
  }

  .timeline-item {
    flex-direction: column !important;
    text-align: center;
    margin-bottom: 60px;
  }

  .timeline-item:nth-child(even) {
    flex-direction: column !important;
  }

  .timeline-number {
    margin: 0 0 20px 0;
    width: 70px;
    height: 70px;
    font-size: 1.3rem;
  }

  .timeline-content {
    flex-direction: column;
    gap: 20px;
    padding: 25px;
  }

  .timeline-content h3 {
    font-size: 1.4rem;
  }

  .timeline-content p {
    font-size: 1rem;
  }

  .timeline-image {
    width: 100%;
    max-width: 350px;
  }

  .timeline-image img {
    height: 200px;
  }

  .stats-section {
    padding: 60px 0;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .stat-item {
    padding: 25px;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .stat-description {
    font-size: 1.1rem;
  }

  .cta-section {
    padding: 60px 0;
  }

  .cta-section h2 {
    font-size: 2rem;
  }

  .cta-section p {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.8rem;
  }

  .section-subtitle {
    font-size: 1.1rem;
  }

  .features {
    padding: 50px 0;
  }

  .timeline-item {
    margin-bottom: 50px;
  }

  .timeline-number {
    width: 60px;
    height: 60px;
    font-size: 1.2rem;
  }

  .timeline-content {
    padding: 20px;
  }

  .timeline-content h3 {
    font-size: 1.2rem;
  }

  .timeline-content p {
    font-size: 0.95rem;
  }

  .timeline-image {
    max-width: 300px;
  }

  .timeline-image img {
    height: 180px;
  }

  .stats-section {
    padding: 50px 0;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .stat-description {
    font-size: 1rem;
  }

  .cta-section {
    padding: 50px 0;
  }

  .cta-section h2 {
    font-size: 1.8rem;
  }

  .cta-section p {
    font-size: 1.1rem;
  }
}

/* HOW IT WORKS PAGE STYLES */

/* Process Steps Section */
.process-section {
  padding: 80px 0;
  background: white;
}

.steps-container {
  max-width: 1000px;
  margin: 0 auto;
}

.step {
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.step.visible {
  opacity: 1;
  transform: translateY(0);
}

.step-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}

[dir="rtl"] .step-header {
  flex-direction: row-reverse;
}

.step-number {
  background: linear-gradient(45deg, #8305a5, #b53bdb);
  color: white;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 8px 25px rgba(131, 5, 165, 0.3);
}

.step-title {
  color: #8305a5;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
}

.step-content {
  background: white;
  border-radius: 25px;
  padding: 35px;
  border: 2px solid rgba(241, 116, 5, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 30px;
  align-items: center;
}

.step:nth-child(even) .step-content {
  grid-template-columns: 300px 1fr;
}

[dir="rtl"] .step:nth-child(even) .step-content {
  grid-template-columns: 1fr 300px;
}

[dir="rtl"] .step:nth-child(odd) .step-content {
  grid-template-columns: 300px 1fr;
}

.step-content:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: #f17405;
}

.step-text {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.step-icon {
  color: #f17405;
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.step-description {
  color: #333;
  font-size: 1.2rem;
  line-height: 1.7;
  margin: 0;
  font-weight: 400;
}

.step-features {
  list-style: none;
  margin: 0;
  padding: 0;
}

.step-features li {
  color: #333;
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 400;
}

[dir="rtl"] .step-features li {
  flex-direction: row-reverse;
}

.step-features li i {
  color: #f17405;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.step-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.step-image img {
  width: 100%;
  max-width: 300px;
  height: 220px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.step-image img:hover {
  transform: scale(1.05);
}

/* Technology Section */
.tech-section {
  background: white;
  padding: 80px 0;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.tech-card {
  background: white;
  border-radius: 25px;
  padding: 35px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid rgba(241, 116, 5, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.tech-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  border-color: #f17405;
}

.tech-card i {
  width: 90px;
  height: 90px;
  background: linear-gradient(45deg, #8305a5, #b53bdb);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 2.2rem;
  color: white;
  box-shadow: 0 8px 20px rgba(131, 5, 165, 0.3);
}

.tech-card h3 {
  color: #8305a5;
  font-size: 1.5rem;
  margin-bottom: 18px;
  font-weight: 700;
}

.tech-card p {
  color: #333;
  line-height: 1.8;
  font-size: 1.05rem;
}

/* How It Works Responsive Design */
@media (max-width: 1024px) {
  .step-content {
    grid-template-columns: 1fr;
    gap: 25px;
    text-align: center;
  }

  .step:nth-child(even) .step-content {
    grid-template-columns: 1fr;
  }

  [dir="rtl"] .step:nth-child(even) .step-content,
  [dir="rtl"] .step:nth-child(odd) .step-content {
    grid-template-columns: 1fr;
  }

  .step-image img {
    max-width: 280px;
    height: 200px;
  }

  .tech-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .process-section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 40px;
  }

  .step {
    margin-bottom: 50px;
  }

  .step-header {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  [dir="rtl"] .step-header {
    flex-direction: column;
  }

  .step-number {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .step-title {
    font-size: 1.5rem;
    text-align: center;
  }

  .step-content {
    padding: 30px 25px;
    grid-template-columns: 1fr;
    gap: 25px;
    text-align: center;
  }

  .step-image img {
    max-width: 100%;
    width: 280px;
    height: 180px;
  }

  .step-icon {
    font-size: 2rem;
  }

  .step-description {
    font-size: 1.1rem;
  }

  .step-features li {
    font-size: 0.95rem;
    justify-content: center;
  }

  [dir="rtl"] .step-features li {
    justify-content: center;
  }

  .tech-section {
    padding: 60px 0;
  }

  .tech-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .tech-card {
    padding: 30px;
  }

  .tech-card i {
    width: 80px;
    height: 80px;
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .tech-card h3 {
    font-size: 1.4rem;
  }

  .cta-section {
    padding: 60px 0;
  }

  .cta-section h2 {
    font-size: 2rem;
  }

  .cta-section p {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.8rem;
  }

  .step-title {
    font-size: 1.3rem;
  }

  .step-content {
    padding: 25px 20px;
  }

  .step-image img {
    width: 250px;
    height: 160px;
  }

  .tech-card {
    padding: 25px;
  }

  .tech-card i {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }

  .tech-card h3 {
    font-size: 1.3rem;
  }

  .cta-section h2 {
    font-size: 1.8rem;
  }

  .cta-section p {
    font-size: 1.1rem;
  }
}

/* PRICING PAGE STYLES */

/* Pricing Section */
.pricing-section {
  padding: 80px 0;
  background: white;
}

.pricing-toggle {
  display: flex;
  justify-content: center;
  margin-bottom: 60px;
}

.toggle-container {
  background: white;
  border-radius: 50px;
  padding: 8px;
  border: 2px solid rgba(131, 5, 165, 0.2);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.toggle-btn {
  padding: 15px 40px;
  background: transparent;
  border: none;
  color: #8305a5;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  font-weight: 600;
}

.toggle-btn.active {
  background: linear-gradient(45deg, #8305a5, #b53bdb);
  color: white;
  box-shadow: 0 5px 15px rgba(131, 5, 165, 0.3);
  transform: translateY(-2px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-card {
  background: white;
  border-radius: 25px;
  padding: 35px 30px;
  text-align: center;
  border: 2px solid rgba(241, 116, 5, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 4px;
  background: linear-gradient(45deg, #8305a5, #f17405);
  transition: all 0.5s ease;
}

.pricing-card:hover::before {
  left: 0;
}

.pricing-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  border-color: #f17405;
}

.pricing-card.popular {
  border: 2px solid #f17405;
  box-shadow: 0 15px 40px rgba(241, 116, 5, 0.2);
  transform: scale(1.05);
  background: linear-gradient(
    135deg,
    rgba(241, 116, 5, 0.02),
    rgba(131, 5, 165, 0.02)
  );
}

.pricing-card.popular:hover {
  transform: translateY(-15px) scale(1.05);
}

.popular-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(45deg, #f17405, #ff8533);
  color: white;
  padding: 10px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 5px 15px rgba(241, 116, 5, 0.3);
}

[dir="rtl"] .popular-badge {
  right: auto;
  left: 20px;
}

.plan-name {
  color: #8305a5;
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.plan-description {
  color: #666;
  margin-bottom: 25px;
  line-height: 1.6;
  font-size: 1rem;
}

.price {
  color: #f17405;
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
}

.currency {
  font-size: 1.4rem;
}

.period {
  color: #8305a5;
  font-size: 1rem;
  margin-bottom: 15px;
  font-weight: 500;
}

.price-note {
  color: #4caf50;
  font-size: 0.9rem;
  margin-bottom: 25px;
  font-weight: 600;
}

.features-list {
  list-style: none;
  margin: 30px 0;
  text-align: left;
}

[dir="rtl"] .features-list {
  text-align: right;
}

.features-list li {
  color: #333;
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}

[dir="rtl"] .features-list li {
  flex-direction: row-reverse;
}

.features-list li i {
  color: #4caf50;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.features-list li.not-included {
  opacity: 0.5;
}

.features-list li.not-included i {
  color: #f44336;
}

.cta-button {
  width: 100%;
  padding: 16px;
  background: linear-gradient(45deg, #f17405, #ff8533);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 25px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(241, 116, 5, 0.3);
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(241, 116, 5, 0.4);
}

.cta-button.secondary {
  background: rgba(131, 5, 165, 0.1);
  color: #8305a5;
  border: 2px solid rgba(131, 5, 165, 0.3);
  box-shadow: 0 8px 25px rgba(131, 5, 165, 0.2);
}

.cta-button.secondary:hover {
  background: rgba(131, 5, 165, 0.15);
  color: #8305a5;
  box-shadow: 0 15px 35px rgba(131, 5, 165, 0.3);
}

/* FAQ Section */
.faq-section {
  background: linear-gradient(135deg, #8305a5, #f17405);
  padding: 80px 0;
  margin-top: 80px;
  color: white;
  position: relative;
  overflow: hidden;
}

.faq-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.05) 1px,
    transparent 1px
  );
  background-size: 50px 50px;
  animation: float 20s linear infinite;
  opacity: 0.7;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.faq-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.15);
}

.faq-question {
  padding: 25px;
  cursor: pointer;
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

[dir="rtl"] .faq-question {
  flex-direction: row-reverse;
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.05);
}

.faq-question i {
  transition: transform 0.3s ease;
  color: #f17405;
  font-size: 1.1rem;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  padding: 0 25px;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 25px 25px;
}

.faq-answer p {
  color: white;
  opacity: 0.9;
  line-height: 1.8;
  font-size: 1.05rem;
}

/* Contact Section */
.contact-section {
  padding: 80px 0;
  text-align: center;
  background: white;
}

.contact-card {
  background: white;
  border-radius: 25px;
  padding: 50px;
  max-width: 700px;
  margin: 0 auto;
  border: 2px solid rgba(241, 116, 5, 0.2);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
  border-color: #f17405;
}

/* Pricing Responsive Design */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    gap: 30px;
  }

  .pricing-card.popular {
    transform: scale(1);
  }

  .pricing-card.popular:hover {
    transform: translateY(-15px) scale(1);
  }
}

@media (max-width: 768px) {
  .pricing-section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .section-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
  }

  .pricing-grid {
    max-width: 400px;
  }

  .price {
    font-size: 2.5rem;
  }

  .contact-card {
    padding: 30px 20px;
  }

  .faq-section {
    padding: 60px 0;
  }

  .contact-section {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .pricing-grid {
    max-width: 350px;
  }

  .pricing-card {
    padding: 25px 20px;
  }

  .toggle-btn {
    padding: 12px 25px;
    font-size: 1rem;
  }

  .plan-name {
    font-size: 1.5rem;
  }

  .price {
    font-size: 2.3rem;
  }
}

/* CONTACT PAGE STYLES */

/* Contact Section */
.contact-section {
  padding: 80px 0;
  background: white;
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  background: white;
  border-radius: 25px;
  padding: 35px;
  border: 2px solid rgba(241, 116, 5, 0.2);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.contact-item::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(241, 116, 5, 0.05),
    transparent
  );
  transform: rotate(45deg);
  transition: all 0.6s ease;
  opacity: 0;
}

.contact-item:hover::before {
  opacity: 1;
  transform: rotate(45deg) translate(50%, 50%);
}

.contact-item:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  border-color: #f17405;
}

.contact-item-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

[dir="rtl"] .contact-item-header {
  flex-direction: row-reverse;
}

.contact-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, #8305a5, #b53bdb);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  box-shadow: 0 8px 20px rgba(131, 5, 165, 0.3);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.contact-item:hover .contact-icon {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(131, 5, 165, 0.4);
}

.contact-item h3 {
  font-size: 1.6rem;
  color: #8305a5;
  font-weight: 700;
  position: relative;
  z-index: 2;
  margin: 0;
}

.contact-item p {
  color: #333;
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 1.05rem;
  position: relative;
  z-index: 2;
}

.contact-link {
  color: #f17405;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 2;
}

.contact-link:hover {
  color: #8305a5;
  transform: translateX(5px);
}

[dir="rtl"] .contact-link:hover {
  transform: translateX(-5px);
}

/* Contact Form */
.contact-form {
  background: linear-gradient(135deg, #8305a5 0%, #9c2bb8 50%, #b53bdb 100%);
  border-radius: 25px;
  padding: 45px;
  box-shadow: 0 20px 50px rgba(131, 5, 165, 0.3);
  transition: all 0.3s ease;
  position: relative;
  z-index: 10;
  margin-top: 0;
  height: fit-content;
}

.contact-form:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 60px rgba(131, 5, 165, 0.4);
}

.contact-form .form-title {
  color: white;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 35px;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  background: transparent;
  padding: 0;
}

.contact-form .form-group {
  margin-bottom: 25px;
  position: relative;
}

.contact-form .form-group label {
  display: block;
  margin-bottom: 10px;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
}

.contact-form .form-group input,
.contact-form .form-group textarea,
.contact-form .form-group select {
  width: 100%;
  padding: 16px 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-sizing: border-box;
}

[dir="rtl"] .contact-form .form-group input,
[dir="rtl"] .contact-form .form-group textarea,
[dir="rtl"] .contact-form .form-group select {
  text-align: right;
}

.contact-form .form-group select {
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 16px;
  padding-right: 45px;
}

[dir="rtl"] .contact-form .form-group select {
  background-position: left 15px center;
  padding-left: 45px;
  padding-right: 18px;
}

.contact-form .form-group select option {
  background: white;
  color: #8305a5;
  padding: 10px;
  font-weight: 600;
  font-size: 1rem;
}

.contact-form .form-group select option[value=""] {
  color: #8305a5;
  font-weight: 600;
}

.contact-form .form-group input:focus,
.contact-form .form-group select:focus,
.contact-form .form-group textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.8);
  font-style: normal;
}

.contact-form .form-group textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.6;
}

.btn-submit {
  width: 100%;
  padding: 18px 20px;
  background: linear-gradient(45deg, #f17405, #ff8533);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 25px;
  box-shadow: 0 10px 30px rgba(241, 116, 5, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-submit::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.btn-submit:hover::before {
  left: 100%;
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(241, 116, 5, 0.5);
}

.btn-submit:active {
  transform: translateY(-1px);
}

/* Office Hours Section */
.office-hours {
  background: white;
  padding: 80px 0;
}

.hours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.hours-card {
  background: white;
  border-radius: 25px;
  padding: 35px;
  text-align: center;
  border: 2px solid rgba(241, 116, 5, 0.2);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.hours-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(241, 116, 5, 0.05),
    transparent
  );
  transform: rotate(45deg);
  transition: all 0.6s ease;
  opacity: 0;
}

.hours-card:hover::before {
  opacity: 1;
  transform: rotate(45deg) translate(50%, 50%);
}

.hours-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  border-color: #f17405;
}

.hours-card i {
  width: 90px;
  height: 90px;
  background: linear-gradient(45deg, #8305a5, #b53bdb);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 25px;
  position: relative;
  z-index: 2;
  color: white;
  box-shadow: 0 8px 20px rgba(131, 5, 165, 0.3);
}

.hours-card h3 {
  color: #8305a5;
  font-size: 1.5rem;
  margin-bottom: 18px;
  font-weight: 700;
  position: relative;
  z-index: 2;
}

.hours-card p {
  color: #333;
  line-height: 1.8;
  font-size: 1.05rem;
  position: relative;
  z-index: 2;
}

/* Contact Page Responsive Design */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .contact-form {
    order: -1;
    margin-bottom: 0;
  }

  .hours-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 60px 0;
  }

  .contact-grid {
    gap: 40px;
  }

  .contact-item {
    padding: 30px 25px;
  }

  .contact-item-header {
    flex-direction: column !important;
    text-align: center !important;
    gap: 15px;
    align-items: center !important;
  }

  .contact-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }

  .contact-item h3 {
    font-size: 1.4rem;
    text-align: center !important;
  }

  .contact-item p {
    text-align: center !important;
  }

  .contact-link {
    justify-content: center !important;
    text-align: center;
  }

  .contact-form {
    padding: 35px 30px;
  }

  .contact-form .form-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .contact-form .form-group input,
  .contact-form .form-group select,
  .contact-form .form-group textarea {
    padding: 14px 16px;
    font-size: 0.95rem;
  }

  .btn-submit {
    padding: 16px 18px;
    font-size: 1.1rem;
  }

  .office-hours {
    padding: 60px 0;
  }

  .hours-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .hours-card {
    padding: 30px;
    text-align: center !important;
  }

  .hours-card i {
    width: 80px;
    height: 80px;
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .hours-card h3 {
    font-size: 1.4rem;
    text-align: center !important;
  }

  .hours-card p {
    text-align: center !important;
  }
}

@media (max-width: 480px) {
  .contact-section {
    padding: 50px 0;
  }

  .contact-item {
    padding: 25px 20px;
  }

  .contact-icon {
    width: 60px;
    height: 60px;
    font-size: 1.6rem;
  }

  .contact-item h3 {
    font-size: 1.3rem;
  }

  .contact-item p {
    font-size: 1rem;
  }

  .contact-form {
    padding: 30px 25px;
  }

  .contact-form .form-title {
    font-size: 1.6rem;
  }

  .contact-form .form-group input,
  .contact-form .form-group select,
  .contact-form .form-group textarea {
    padding: 12px 15px;
    font-size: 0.9rem;
  }

  .btn-submit {
    padding: 15px 16px;
    font-size: 1rem;
  }

  .office-hours {
    padding: 50px 0;
  }

  .hours-card {
    padding: 25px;
  }

  .hours-card i {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }

  .hours-card h3 {
    font-size: 1.3rem;
  }

  .hours-card p {
    font-size: 1rem;
  }
}

/* Form validation styles */
.contact-form .form-group input.error,
.contact-form .form-group select.error,
.contact-form .form-group textarea.error {
  border-color: #dc3545 !important;
  background-color: rgba(220, 53, 69, 0.1) !important;
  box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.2) !important;
}

.contact-form .form-group input.error:focus,
.contact-form .form-group select.error:focus,
.contact-form .form-group textarea.error:focus {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.25) !important;
}

.error-message {
  color: #dc3545;
  font-size: 0.85rem;
  margin-top: 5px;
  display: block;
  animation: errorSlide 0.3s ease-out;
}

@keyframes errorSlide {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Success states */
.contact-form .form-group input:valid:not(:placeholder-shown),
.contact-form .form-group select:valid,
.contact-form .form-group textarea:valid:not(:placeholder-shown) {
  border-color: rgba(40, 167, 69, 0.5);
  background-color: rgba(40, 167, 69, 0.05);
}

/* Loading state for submit button */
.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-submit:disabled:hover {
  transform: none;
  box-shadow: 0 10px 30px rgba(241, 116, 5, 0.4);
}

/* Enhanced form styling */
.contact-form .form-group {
  position: relative;
}

.contact-form .form-group label::after {
  content: " *";
  color: #ffeb3b;
  font-weight: bold;
}

.contact-form .form-group:nth-child(4) label::after {
  content: "";
}

/* Privacy Policy Styles */
.privacy-content {
  padding: 80px 0;
  background: white;
}

.privacy-container {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  border-radius: 25px;
  padding: 60px;
  border: 2px solid rgba(241, 116, 5, 0.2);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.privacy-container:hover {
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
  border-color: #f17405;
}

.content-section {
  margin-bottom: 40px;
}

.last-updated {
  color: #8305a5;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 30px;
  text-align: center;
  background: rgba(131, 5, 165, 0.1);
  padding: 15px;
  border-radius: 10px;
}

.highlight-box {
  background: linear-gradient(
    135deg,
    rgba(131, 5, 165, 0.05),
    rgba(241, 116, 5, 0.05)
  );
  border-radius: 15px;
  padding: 25px;
  margin: 25px 0;
  border-right: 4px solid #f17405;
  transition: all 0.3s ease;
}

[dir="rtl"] .highlight-box {
  border-right: none;
  border-left: 4px solid #f17405;
}

.highlight-box:hover {
  background: linear-gradient(
    135deg,
    rgba(131, 5, 165, 0.08),
    rgba(241, 116, 5, 0.08)
  );
  transform: translateX(-5px);
}

[dir="rtl"] .highlight-box:hover {
  transform: translateX(5px);
}
