@font-face {
  font-family: RBold;
  src: url(fonts/ReadexPro-Bold.ttf);
}

@font-face {
  font-family: RExtraLight;
  src: url(fonts/ReadexPro-ExtraLight.ttf);
}

@font-face {
  font-family: RLight;
  src: url(fonts/ReadexPro-Light.ttf);
}

@font-face {
  font-family: RMedium;
  src: url(fonts/ReadexPro-Medium.ttf);
}

@font-face {
  font-family: RRegular;
  src: url(fonts/ReadexPro-Regular.ttf);
}

@font-face {
  font-family: RSemiBold;
  src: url(fonts/ReadexPro-SemiBold.ttf);
}

@font-face {
  font-family: RVariable;
  src: url(fonts/ReadexPro-VariableFont_HEXP\,wght.ttf);
}


:root {
  --color-blue: #3471fd;
  /* ممكن تحافظ عليه لو حاب */
  --color-Dark-Blue: #0f0f31;
  /* جديد */
  --color-light: #efefef;
  /* جديد */
  --color-dark: #000000;
  /* جديد */
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}



/* Navigation */
.navbar {
  position: absolute;
  /* داخل الهيرو */
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 2rem;
  backdrop-filter: blur(10px);
  background: rgba(15, 23, 42, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 50;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

/* Mobile Menu Active State */
/* Animation Keyframes */
@keyframes bounce-in {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  60% {
    transform: scale(1.05);
    opacity: 1;
  }
  80% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(1);
  }
}

/* Mobile Menu Active State مع Bounce */
.nav-menu.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 70px;
  right: 20px;
  background: rgba(15, 23, 42, 0.95);
  padding: 1rem 2rem;
  border-radius: 12px;
  gap: 1rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  z-index: 1000;

  animation: bounce-in 0.5s ease;
}



.nav-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-family: RRegular;
  font-weight: 500;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link:hover {
  color: #3b82f6;
  transform: translateY(-1px);
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-icon {
  transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-icon {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 125%;
  left: -85px;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.75rem 0;
  min-width: 232px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  list-style: none;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 0.75rem 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-family: RRegular;
  font-size: 0.88rem;
  transition: all 0.3s ease;
}

.dropdown-link:hover {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
  padding-left: 1rem;
}

/* Language Switcher */
.language-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.language-switcher .nav-link.active {
  color: #3b82f6;
  font-weight: 600;
}

.separator {
  color: rgba(255, 255, 255, 0.3);
  font-weight: 300;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: white;
  transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* #endregion */


/* Hero Section */
.hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #0f0f31 100%);
  color: var(--color-light);
  height: 100vh;
  /* يغطي كامل الشاشة */
  display: flex;
  justify-content: center;
  /* توسيط عمودي */
  align-items: center;
  /* توسيط أفقي */
  position: relative;
  overflow: hidden;
  padding: 0 20px;
}




.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  row-gap: 35px;
  margin-top: 70px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-family: RRegular;
  font-size: 3.5rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-family: RLight;
  font-size: 1.3rem;
  max-width: 800px;
  line-height: 1.8;
  opacity: 0.95;
}

.company-highlights {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  padding: 15px 25px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.highlight-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.highlight-item i {
  font-size: 1.2rem;
  color: var(--color-blue);
}

.highlight-item span {
  font-family: RRegular;
  font-weight: 400;
  font-size: 0.95rem;
}

.hero-subtitle {
  font-family: RLight;
  font-size: 1.1rem;
  max-width: 700px;
  opacity: 0.9;
  font-style: italic;
}

/* #endregion */



/* Working Principles Section */
.working-principles {
  padding: 100px 0;
  background: var(--color-light);
}

.section-title {
  text-align: center;
  font-family: RRegular;
  font-size: 2.8rem;
  color: var(--color-Dark-Blue);
  margin-bottom: 60px;
  font-weight: 700;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--color-blue);
  border-radius: 2px;
}

.principles-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.principles-text {
  font-family: RLight;
  font-size: 1.2rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 50px;
}

.process-icons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.process-item {
  text-align: center;
  padding: 40px 20px;
  background: rgba(52, 113, 253, 0.05);
  border-radius: 20px;
  border: 2px solid rgba(52, 113, 253, 0.2);
  transition: all 0.3s ease;
}

.process-item:hover {
  transform: translateY(-5px);
  background: rgba(52, 113, 253, 0.1);
  border-color: var(--color-blue);
}

.process-item i {
  font-size: 3rem;
  color: var(--color-blue);
  margin-bottom: 20px;
}

.process-item h3 {
  color: var(--color-Dark-Blue);
  margin-bottom: 10px;
  font-family: RRegular;
  font-size: 1.2rem;
}

.process-item p {
  font-family: RLight;
}

/* #endregion */




/* Achievements Section */
.achievements {
  background: var(--color-light);
  color: #333;
  padding: 100px 0;
  position: relative;
}

.achievements::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(52,113,253,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(52,113,253,0.1)"/><circle cx="40" cy="80" r="1" fill="rgba(52,113,253,0.1)"/></svg>');
}

.achievements-content {
  position: relative;
  z-index: 2;
}

.achievements .section-title {
  font-family: RRegular;
  color: var(--color-Dark-Blue);
}

.achievements .section-title::after {
  background: var(--color-blue);
}

.achievements-text {
  font-family: RLight;
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 50px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #555;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin: 60px 0;
}

.stat-item {
  text-align: center;
  padding: 40px 20px;
  background: rgba(52, 113, 253, 0.05);
  border-radius: 20px;
  border: 2px solid rgba(52, 113, 253, 0.2);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(52, 113, 253, 0.1);
  border-color: var(--color-blue);
}

.stat-number {
  font-family: RVariable;
  font-size: 3rem;
  font-weight: 400;
  color: var(--color-blue);
  margin-bottom: 10px;
  display: block;
}

.stat-label {
  font-family: RLight;
  font-size: 1.1rem;
  color: #666;
}

/* #endregion */



/* #region Footer Section */
.footer {
  background: linear-gradient(135deg, #1e3a8a 0%, #0f0f31 100%);
  padding: 60px 0 30px;
  border-top: 1px solid #e2e8f0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column {
  opacity: 0;
  transform: translateY(30px);
  animation: floatUp 0.8s ease-out forwards;
}

.footer-column:nth-child(1) {
  animation-delay: 0.2s;
}

.footer-column:nth-child(2) {
  animation-delay: 0.4s;
}

.footer-column:nth-child(3) {
  animation-delay: 0.6s;
}

.footer-column:nth-child(4) {
  animation-delay: 0.8s;
}

@keyframes floatUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-column h3 {
  color: var(--color-light);
  font-family: RRegular;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    text-shadow: 0 0 5px rgba(96, 165, 250, 0.3);
  }

  50% {
    text-shadow: 0 0 20px rgba(96, 165, 250, 0.6), 0 0 30px rgba(96, 165, 250, 0.4);
  }
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #60a5fa, transparent);
  animation: slideIn 2s ease-in-out infinite;
}

@keyframes slideIn {
  0% {
    left: -100%;
  }

  50% {
    left: 0%;
  }

  100% {
    left: 100%;
  }
}

/* Logo and Description Column */
.logo-section .logo {
  display: inline-block;
  font-family: RRegular;
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--color-light);
  text-decoration: none;
  margin-top: -8px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
  animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {

  0%,
  100% {
    text-shadow: 0 0 10px rgba(96, 165, 250, 0.5);
    transform: scale(1);
  }

  50% {
    text-shadow: 0 0 20px rgba(96, 165, 250, 0.8), 0 0 30px rgba(96, 165, 250, 0.6);
    transform: scale(1.02);
  }
}

.logo-section .logo:hover {
  color: var(--color-blue);
  transform: scale(1.05);
}

.logo-section p {
  color: #d1d5db;
  font-family: RLight;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Navigation Links */
.nav-links ul {
  list-style: none;
}

.nav-links li {
  margin-bottom: 12px;
  opacity: 0;
  transform: translateX(-20px);
  animation: fadeInSlide 0.6s ease-out forwards;
}

.nav-links li:nth-child(1) {
  animation-delay: 0.1s;
}

.nav-links li:nth-child(2) {
  animation-delay: 0.2s;
}

.nav-links li:nth-child(3) {
  animation-delay: 0.3s;
}

.nav-links li:nth-child(4) {
  animation-delay: 0.4s;
}

@keyframes fadeInSlide {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.nav-links a {
  position: relative;
  display: inline-block;
  color: #d1d5db;
  text-decoration: none;
  font-family: RRegular;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.nav-links a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #60a5fa;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #60a5fa;
  animation: bounce 0.6s ease;
}

.nav-links a:hover::before {
  width: 100%;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-3px);
  }

  60% {
    transform: translateY(-2px);
  }
}

/* Added simple dropdown functionality for services */
.nav-links .services-toggle {
  display: flex;
  align-items: center;
  justify-content: start;
  column-gap: 30px;
  cursor: pointer;
  color: #d1d5db;
  font-family: RRegular;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links .services-toggle::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #60a5fa;
  transition: width 0.3s ease;
}

.nav-links .services-toggle:hover {
  color: #60a5fa;
  transform: translateX(5px);
}

.nav-links .services-toggle::after {
  content: '▼';
  font-size: 0.8rem;
  color: #60a5fa;
  transition: transform 0.3s ease;
}

.nav-links .services-toggle.open::after {
  transform: rotate(180deg);
}

.nav-links .dropdown {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  margin-left: 15px;
  margin-top: 8px;
}

.nav-links .dropdown.open {
  max-height: 150px;
}

.nav-links .dropdown li {
  margin-bottom: 8px;
}

.nav-links .dropdown a {
  font-family: RRegular;
  font-size: 0.9rem;
  color: #9ca3af;
}

/* Social Media Icons */
.social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 10px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #d1d5db;
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  animation: socialFloat 3s ease-in-out infinite;
}

.social-icon:nth-child(1) {
  animation-delay: 0s;
}

.social-icon:nth-child(2) {
  animation-delay: 0.5s;
}

.social-icon:nth-child(3) {
  animation-delay: 1s;
}

.social-icon:nth-child(4) {
  animation-delay: 1.5s;
}

.social-icon:nth-child(5) {
  animation-delay: 2s;
}

.social-icon:nth-child(6) {
  animation-delay: 2.5s;
}

@keyframes socialFloat {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-5px);
  }
}

.social-icon:hover {
  background-color: #60a5fa;
  color: var(--color-light);
  transform: translateY(-2px) scale(1.1);
  animation: socialHover 0.6s ease;
  box-shadow: 0 5px 15px rgba(96, 165, 250, 0.4);
}

@keyframes socialHover {
  0% {
    transform: translateY(-2px) scale(1.1) rotate(0deg);
  }

  50% {
    transform: translateY(-2px) scale(1.1) rotate(180deg);
  }

  100% {
    transform: translateY(-2px) scale(1.1) rotate(360deg);
  }
}

/* Contact Information */
.contact-info p {
  color: #d1d5db;
  margin-bottom: 15px;
  font-family: RLight;
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  opacity: 0;
  transform: translateX(20px);
  animation: slideInRight 0.6s ease-out forwards;
}

.contact-info p:nth-child(1) {
  animation-delay: 1s;
}

.contact-info p:nth-child(2) {
  animation-delay: 1.2s;
}

.contact-info p:nth-child(3) {
  animation-delay: 1.4s;
}

@keyframes slideInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.contact-info i {
  color: #60a5fa;
  margin-top: 2px;
  min-width: 16px;
  transition: transform 0.3s ease;
}

.contact-info i:hover {
  transform: rotate(360deg);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  text-align: center;
  opacity: 0;
  animation: fadeIn 1s ease-out 2s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.footer-bottom p {
  color: var(--color-light);
  font-family: RLight;
  font-size: 0.9rem;
  animation: typewriter 2s steps(40) 2.5s forwards;
  overflow: hidden;
  white-space: nowrap;
  width: 0;
  margin: 0 auto;
}

.contact-info a {
  color: var(--color-light);
  /* أبيض */
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: var(--color-blue);
  /* أزرق فاتح عند الهوفر */
}

@keyframes typewriter {
  to {
    width: 100%;
  }
}

/* #endregion */




.whatsapp-float {
    position: fixed;
    bottom: 50px;
    right: 50px;
    width: 70px;          
    height: 70px;          
    background-color: var(--color-blue);
    color: var(--color-light);
    border-radius: 50%;
    text-align: center;
    line-height: 70px;  
    font-size: 2.5rem;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform 0.3s;
    animation: whatsapp-bounce 2s infinite;
}

@keyframes whatsapp-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}


/* Responsive Design */

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .process-icons {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .container {
    padding: 0 15px;
  }

  .company-highlights {
    gap: 20px;
  }

  .highlight-item {
    padding: 12px 20px;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  /* #region Footer Section */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer {
    padding: 40px 0 20px;
  }

  .footer-container {
    padding: 0 15px;
  }

  .social-icons {
    justify-content: center;
  }

  .demo-content h1 {
    font-size: 2rem;
  }

  .demo-content p {
    font-size: 1rem;
  }

  /* #endregion */

}

@media (max-width: 480px) {

  /* #region one Section */
  .nav-container {
    padding: 0 1rem;
  }

  .hero {
    height: 160vh;
  }

.hero-content {
row-gap: 25px;
margin-top: 100px
}


  .stats-grid {
    grid-template-columns: 1fr;
  }

  .company-highlights {
    flex-direction: column;
    align-items: center;
  }

  /* #endregion */

  /* #region Footer Section */
  .footer-column h3 {
    font-size: 1.1rem;
  }

  .social-icon {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  /* #endregion */

}