/* style.css */
body {
  font-family: 'Tajawal', sans-serif;
  margin: 0;
  padding: 0;
  direction: rtl;
  background-color: #f9f9f9;
  color: #222;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 40px 0;
}

.hero-section {
  background: linear-gradient(135deg, #4169E1 40%, #90EE90 100%);
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.profile-img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.hero-text h1 {
  font-size: 2.4em;
  margin: 0;
  color: #fff;
}

.hero-text p {
  font-size: 1.2em;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
  color: #f0f0f0;
}

/* للجوال */
@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 1.8em;
  }

  .hero-text p {
    font-size: 1em;
  }
}
/* زر Call-To-Action */
.cta-main-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 28px;
  background-color: #90EE90;
  color: #000;
  font-weight: bold;
  border-radius: 30px;
  text-decoration: none;
  font-size: 1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.cta-main-btn:hover {
  background-color: #4682B4;
  color: #fff;
  transform: scale(1.05);
}

/* حركة دخول القسم */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.enhanced-img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 6px solid #fff;
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.hero-img-wrapper.floating {
  animation: float 3s ease-in-out infinite;
  padding: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffffff, #90EE90);
  box-shadow: 0 0 12px rgba(0,0,0,0.1);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.fade-in-title {
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
}

.fade-in-sub {
  animation: fadeInUp 1.2s ease forwards;
  opacity: 0;
}

.pulse-btn {
  animation: pulse 4s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.06); }
  100% { transform: scale(1); }
}


.about-box {
  background-color: #ffffff;
  border-right: 5px solid #90EE90;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 25px 20px;
  font-size: 1.1em;
  line-height: 1.9;
  color: #333;
  max-width: 800px;
  margin: auto;
  transition: transform 0.4s ease;
}

.about-box:hover {
  transform: translateY(-5px);
}

/* الأنيميشن */
.animated-section {
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.9s ease;
}

.animated-section.visible {
  opacity: 1;
  transform: translateX(0);
}
/* حركة دخول احترافية (Fade + Slide + Scale) */
.animated-section {
  opacity: 0;
  transform: translateX(60px) scale(0.95);
  transition: all 1s cubic-bezier(0.4, 0.0, 0.2, 1);
  will-change: opacity, transform;
}

.animated-section.visible {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.about-card-pro {
  background: #fff;
  border-right: 6px solid #90EE90;
  border-radius: 16px;
  padding: 60px 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  margin-top: 40px;
  transition: all 0.4s ease;
}

.about-content-pro {
  max-width: 800px;
  margin: auto;
  font-size: 1.1em;
  line-height: 2;
  color: #333;
}

.about-content-pro strong {
  color: #4169E1;
  font-weight: bold;
}

@media (max-width: 768px) {
  .about-card-pro {
    padding: 40px 20px;
  }

  .about-content-pro {
    font-size: 1em;
  }
}



.services-section {
  background-color: #f9f9f9;
  padding: 80px 20px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background-color: #ffffff;
  border: 1px solid #e6ecf1;
  border-right: 4px solid #90EE90;
  border-radius: 16px;
  padding: 25px 20px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.03);
  text-align: center;
  transition: all 0.35s ease;
  opacity: 0;
  transform: translateY(40px);
}

.animated-parent.visible .animated-child {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
  border-right: 4px solid #4682B4;
}

.service-card .icon {
  font-size: 2.5em;
  margin-bottom: 15px;
  color: #4169E1;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.2em;
  color: #4682B4;
}

.service-card p {
  font-size: 0.95em;
  line-height: 1.7;
  color: #444;
}

@media (max-width: 768px) {
  .service-card {
    padding: 20px 16px;
  }

  .service-card .icon {
    font-size: 2em;
  }
}
.services-section {
  background-color: #fff;
  padding: 80px 20px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background: #ffffff;
  border-right: 4px solid #90EE90;
  border-radius: 14px;
  padding: 25px 20px;
  text-align: center;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.04);
  transform: translateY(40px);
  opacity: 0;
  transition: all 0.6s ease-out;
}

.animated-parent.visible .service-card {
  transform: translateY(0);
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  border-right-color: #4682B4;
}

.service-card .icon {
  font-size: 2.4em;
  margin-bottom: 15px;
  color: #4169E1;
}

.service-card h3 {
  margin-bottom: 10px;
  color: #4682B4;
  font-size: 1.2em;
}

.service-card p {
  font-size: 0.95em;
  color: #555;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .service-card {
    padding: 20px 16px;
  }

  .service-card .icon {
    font-size: 2em;
  }
}


.success-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.infographic-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e2e2e2;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(40px);
  touch-action: manipulation;
}

.animated-parent.visible .infographic-card {
  opacity: 1;
  transform: translateY(0);
}

.infographic-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.info-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.info-top h3 {
  font-size: 1.1em;
  color: #4169E1;
}

.info-tag {
  background: #90EE90;
  color: #000;
  padding: 4px 10px;
  font-size: 0.8em;
  border-radius: 12px;
}

.info-chart {
  background: #f0f0f0;
  height: 10px;
  border-radius: 6px;
  overflow: hidden;
  margin: 15px 0;
}

.info-chart .bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #4169E1, #90EE90);
  transition: width 2s ease;
}

.insight-columns {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 20px;
  flex-wrap: wrap;
  text-align: center;
}

.insight-box {
  flex: 1 1 90px;
}

.count-wrap {
  white-space: nowrap;
  font-size: 1.5em;
  font-weight: bold;
  color: #4169E1;
}

.count-wrap.long-number {
  font-size: 1.2em;
}

.unit {
  font-size: 0.9em;
  color: #4682B4;
  margin-right: 2px;
}

.label {
  margin-top: 6px;
  font-size: 0.85em;
  color: #444;
}


.process-section {
  background: #f9f9f9;
  padding: 80px 20px;
}

.glow-title {
  font-size: 2em;
  text-align: center;
  position: relative;
  color: #4169E1;
  animation: glow 2.5s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    text-shadow: 0 0 5px #90EE90, 0 0 10px #90EE90;
  }
  to {
    text-shadow: 0 0 20px #4169E1, 0 0 30px #4169E1;
  }
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.process-card {
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  text-align: center;
  position: relative;
  transition: all 0.4s ease;
}

.process-card:hover {
  background: #4169E1;
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.process-card:hover .step-number {
  background: #90EE90;
  color: #000;
}

.step-number {
  width: 45px;
  height: 45px;
  background: #4169E1;
  color: #fff;
  border-radius: 50%;
  font-weight: bold;
  font-size: 1.1em;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, color 0.3s ease;
}

.process-card h3 {
  font-size: 1.1em;
  margin-bottom: 10px;
}

.process-card p {
  font-size: 0.95em;
  line-height: 1.6;
  color: #444;
}

.process-card:hover p {
  color: #f5f5f5;
}


.why-section {
  background: #fff;
  padding: 80px 20px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.why-card {
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 14px;
  padding: 25px 20px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 3px 8px rgba(0,0,0,0.04);
}

.why-card:hover {
  background: #4169E1;
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

.why-card .icon {
  font-size: 2em;
  margin-bottom: 15px;
  color: #4169E1;
  transition: color 0.3s ease;
}

.why-card:hover .icon {
  color: #90EE90;
}

.why-card p {
  font-size: 0.95em;
  line-height: 1.6;
  color: #444;
}

.why-card:hover p {
  color: #f5f5f5;
}

.animated-parent.visible .why-card {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s ease;
}

.why-card {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.4s ease;
}
.why-card:hover {
  background: #4169E1;
  color: #fff;
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12),
              0 0 15px rgba(144, 238, 144, 0.4);
}

.why-card:hover .icon {
  color: #90EE90;
  transform: scale(1.2);
  transition: transform 0.3s ease, color 0.3s ease;
}
.why-card:active {
  transform: scale(0.98);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}


.packages-section {
  background: #f9f9f9;
  padding: 80px 20px;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.package-card {
  background: #fff;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  transition: all 0.4s ease;
  border: 1px solid #ddd;
  text-align: center;
}

.package-card:hover {
  background: #4169E1;
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.package-card:hover .price {
  background: #90EE90;
  color: #000;
}

.package-card .price {
  margin-top: 15px;
  background: #4169E1;
  color: #fff;
  padding: 8px 15px;
  border-radius: 20px;
  display: inline-block;
  font-weight: bold;
  font-size: 0.95em;
  transition: all 0.3s ease;
}

.whatsapp-form {
  margin-top: 60px;
  text-align: center;
}

.whatsapp-form form {
  max-width: 500px;
  margin: auto;
  display: grid;
  gap: 15px;
}

.whatsapp-form input,
.whatsapp-form select,
.whatsapp-form textarea {
  padding: 10px 15px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95em;
}

.whatsapp-form button {
  background: #4169E1;
  color: white;
  border: none;
  padding: 12px;
  font-size: 1em;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.whatsapp-form button:hover {
  background: #90EE90;
  color: #000;
}



.card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-right: 5px solid #90EE90;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.05);
  transition: 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card ul {
  padding-right: 20px;
  list-style-type: square;
}



  .profile-img {
    width: 100px;
    height: 100px;
  }

  .card {
    padding: 15px;
  }

.cta-btn {
  background-color: #90EE90;
  color: #000;
  padding: 12px 24px;
  border: none;
  border-radius: 30px;
  font-size: 1em;
  cursor: pointer;
  transition: 0.3s;
}
.cta-btn:hover {
  background-color: #4682B4;
  color: white;
}
.navbar {
  background-color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: background-color 0.3s ease;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 5%;
}

.logo {
  color: #4169E1;
  font-size: 1.5em;
  font-weight: bold;
  margin: 0;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  text-decoration: none;
  color: #4169E1;
  font-weight: bold;
  font-size: 1em;
  transition: color 0.3s ease, border-bottom 0.3s ease;
  padding-bottom: 4px;
  position: relative;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0%;
  height: 2px;
  background-color: #90EE90;
  transition: width 0.3s ease;
}

.nav-links li a:hover::after {
  width: 100%;
  left: 0;
}

.nav-links li a:hover {
  color: #4682B4;
}

.menu-toggle {
  display: none;
  font-size: 1.8em;
  background: none;
  border: none;
  cursor: pointer;
  color: #4169E1;
}

/* للجوال */
@media (max-width: 768px) {
  .nav-links {
    width: 100vw;
    right: 0;
    left: 0;
    top: 60px;
    position: absolute;
    background-color: #fff;
    flex-direction: column;
    display: none;
    padding: 20px;
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

.navbar {
  background-color: transparent;
  position: fixed;
  width: 100%;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.nav-links li a {
  position: relative;
  padding: 8px 10px;
}

.nav-links li a::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 3px;
  background-color: #90EE90;
  transition: width 0.4s ease;
}

.nav-links li a:hover::before {
  width: 100%;
  left: 0;
}
.navbar {
  backdrop-filter: blur(10px);
  background-color: #ffffff;
}
.nav-links li a.active {
  color: #4682B4;
  font-weight: bold;
}

.nav-links li a.active::after {
  width: 100%;
}

.footer-minimal {
  background-color: #121f40; /* أزرق داكن أنيق */
  color: #ffffff;
  padding: 20px 10px;
  text-align: center;
  font-family: 'Tajawal', sans-serif;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-minimal-content p {
  margin: 5px 0;
}

.footer-credit a {
  color: #90EE90; /* لون الهوية الثانوي */
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-credit a:hover {
  color: #ffffff;
  text-decoration: underline;
}
/* توسيط عناوين الأقسام وتوحيد اللون */
.section-title,
h2.section-title {
  text-align: center;
  color: #4169E1;
  font-weight: bold;
  font-size: 2em;
  margin-bottom: 30px;
}


.scroll-up-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 9999;
  display: none;
  padding: 0;
  transition: transform 0.3s ease;
}

.scroll-up-btn:hover {
  transform: scale(1.08);
}

.scroll-up-btn svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

/* الدائرة الخلفية */
.circle-bg {
  fill: #121f40;
  stroke: none;
}

/* خط التقدم */
.circle-progress {
  fill: none;
  stroke: #00BFFF; /* لون قوي وواضح */
  stroke-width: 6.5;
  stroke-dasharray: 282.74;
  stroke-dashoffset: 282.74;
  transition: stroke-dashoffset 0.3s ease;
  filter: drop-shadow(0 0 2px #90EE90);
}


/* السهم */
.arrow-up {
  fill: none;
  stroke: white;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: rotate(90deg);
  transform-origin: center;
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.6em;
  }

  .hero-text p {
    font-size: 1em;
  }

  .profile-img, .enhanced-img {
    width: 100px;
    height: 100px;
  }

  .container {
    padding: 20px 15px;
  }

  .service-card,
  .package-card,
  .process-card {
    padding: 18px 12px;
  }
}
img {
  max-width: 100%;
  height: auto;
}
