:root {
  --primary: #1F3A5F;
  --accent: #4A90E2;
  --glass: rgba(255, 255, 255, .15);
  --border: rgba(255, 255, 255, .25);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Cairo', sans-serif;
}



@font-face {
  font-family: 'Cairo';
  src: url('fonts/Cairo-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Cairo';
  src: url('fonts/Cairo-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: 'Cairo';
  src: url('fonts/Cairo-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

body {
  font-family: 'Cairo', sans-serif;
}



body {
  background: linear-gradient(120deg, #0F172A, #1F3A5F);
  color: white;
}

/* Glass */
.glass {
  background: var(--glass);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .3);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  z-index: 999;
}

.navbar a {
  color: white;
  margin-left: 20px;
  text-decoration: none;
}

/* Hero */
.hero {
  margin: 140px auto 100px;
  padding: 70px;
  max-width: 1000px;
  text-align: center;
}

.hero h1 {
  font-size: 40px;
  line-height: 1.6;
}

.hero p {
  margin: 20px 0;
}

.btn {
  background: var(--accent);
  padding: 14px 30px;
  border-radius: 12px;
  color: white;
  text-decoration: none;
  margin: 10px;
  display: inline-block;
}

.btn.outline {
  background: transparent;
  border: 1px solid var(--accent);
}

/* Sections spacing */
section {
  margin-bottom: 80px;
}

/* Services */
.services {
   scroll-margin-top: 200px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  padding: 0 60px;
}


.service h3 {
  line-height: 1.4;
  white-space: nowrap;
}

/* Portfolio */
.portfolio {
  scroll-margin-top: 200px;
  padding: 0 60px;
  text-align: center;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.project {
  margin: 0;
  padding: 0;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.project img {
  width: 100%;
  transition: .5s;
  object-fit: cover; 
  display: block;   
}

.project:hover img {
  transform: scale(1.1);
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(31, 58, 95, .7);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: .4s;
}

.project:hover .overlay {
  opacity: 1;
}

/* Contact */
.contact {
  max-width: 700px;
  margin: 50px auto;
  padding: 20px;
  text-align: center;
  margin-bottom: 50px;
}

/* Icons */
.icon {
  font-size: 42px;
  color: #4A90E2;
  margin-bottom: 15px;
  transition: .4s ease;
}

.service:hover .icon {
  transform: rotate(8deg) scale(1.2);
  color: #9CC4F2;
}


/* WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 60px;
  right: 20px;
  width: 65px;
  height: 65px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 15px 30px rgba(0, 0, 0, .4);
  z-index: 999;
  animation: float 1.6s infinite;
}

.whatsapp-float .iconify {
  font-size: 36px;
  color: white;
}

@keyframes float {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }

  100% {
    transform: translateY(0);
  }
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
}

.show {
  opacity: 1;
  transform: translateY(0);
  transition: .9s ease;
}

/* Mobile */
@media(max-width:768px) {

  .services {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 16px;
  }

  .portfolio {
    padding: 0 16px;
  }
}


@media(max-width:768px) {
  .services {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 16px;
  }
}

@media(max-width:768px) {
  .hero {
    max-width: 100%;
    margin: 140px 12px 60px;
    padding: 28px 20px;
    border-radius: 16px;
  }

  .hero h1 {
    font-size: 24px;
    line-height: 1.5;
  }

  .hero p {
    font-size: 14px;
  }

  .contact {
    max-width: 100%;
    margin: 50px 12px ;
    padding: 20px;
    text-align: center;
    margin-bottom: 50px;
  }
}

/* Apple-style mobile navbar */
@media(max-width:768px) {
  .navbar nav {
    display: none;
  }
}

@media(max-width:768px) {
  section {
    margin-bottom: 60px;
  }
}

.service {
  padding: 30px 20px;
  text-align: center;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media(max-width:768px) {
  .service h3 {
    font-size: 14px;
    white-space: normal;
  }
}








/* Footer */
.social-footer {
  width: 100%;
  margin: 0;
  padding: 25px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  direction: ltr;
}

/* Left */
.social-icons {
  display: flex;
  gap: 18px;
}

/* Center */
.copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  direction: rtl;
}

.copyright .en {
   font-size: 16px;
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}


/* Right */
.footer-right {
  font-weight: 900;
  letter-spacing: 1px;
  opacity: .85;
}

/* Icons */
.social .iconify {
  font-size: 30px;
  transition: .4s;
}
.social-img{
  width: 32px;
  height: 32px;
  transition: .4s;
}

.social-img:hover{
  transform: translateY(-6px) scale(1.15);
  filter: drop-shadow(0 0 10px #e1306c);
}


.social:hover .iconify {
  transform: translateY(-6px) scale(1.2);
}

/* 📱 Mobile */
@media(max-width:768px){
  .social-footer {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }

  .footer-right {
    display: none; 
  }
}

.social {
  position: relative;
  font-size: 32px;
  transition: transform .4s ease;
}

.social:hover {
  transform: translateY(-6px) scale(1.15);
}

/* Facebook Glow */
.social.facebook:hover {
  filter:
    drop-shadow(0 0 6px #1877f2)
    drop-shadow(0 0 14px #1877f2);
}

/* TikTok Glow (Dual Color) */
.social.tiktok:hover {
  filter:
    drop-shadow(0 0 6px #00f2ea)
    drop-shadow(0 0 12px #ff0050);
}





.logo-svg {
  width: 500px;
  height: auto;
}

.logo-ar,
.logo-en {
  fill: transparent;
  stroke: #4A90E2;
  stroke-width: 1.5;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: draw 2s ease forwards;
  font-family: 'Cairo', sans-serif;
}

.logo-ar {
  font-size: 56px;
  animation-delay: .2s;
}

.logo-en {
  font-size: 34px;
  animation-delay: .6s;
}

/* بعد ما يترسم → يتملّى */
@keyframes draw {
  to {
    stroke-dashoffset: 0;
    fill: white;
  }
}


#loader {
  position: fixed;
  inset: 0;
  background: linear-gradient(120deg,#0F172A,#1F3A5F);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loader-logo {
  transform: scale(1.1);
}





.features-pro {
  padding: 100px 20px;
  perspective: 1200px;
}

.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
}

.section-title span {
  color: #00f2ea;
}

.features-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto  -40px;
}

.feature-box {
  position: relative;
  padding: 35px 25px;
  border-radius: 22px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  transition: transform .5s ease, box-shadow .5s ease;
  transform-style: preserve-3d;
}

.feature-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: linear-gradient(135deg, #00f2ea, #ff0050);
  opacity: 0;
  transition: .5s;
  z-index: -1;
}

.feature-box:hover::before {
  opacity: .18;
}

.feature-box:hover {
  transform: rotateX(8deg) rotateY(-8deg) translateY(-12px);
  box-shadow: 0 30px 70px rgba(0,0,0,.45);
}

.feature-box .iconify {
  font-size: 44px;
  margin-bottom: 18px;
  filter: drop-shadow(0 0 12px rgba(255,255,255,.3));
}

.feature-box h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.feature-box p {
  font-size: 14px;
  opacity: .85;
}

@media (hover: none) {
  .feature-box:active {
    transform: scale(1.06);
  }
}



.timeline-section {
   margin: -100px auto -200px;
  padding: 120px 20px;
  text-align: center;
}

.timeline {
  max-width: 900px;
  margin: 60px auto 0;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  right: 50%;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, #4A90E2, transparent);
}

.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 70px;
  position: relative;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-icon {
  width: 60px;
  height: 60px;
  background: #4A90E2;
  color: white;
  font-size: 26px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  box-shadow: 0 0 25px rgba(74,144,226,.6);
}

.timeline-content {
  width: 45%;
  padding: 30px;
  margin: 0 30px;
  text-align: right;
}

.timeline-content h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.timeline-content p {
  opacity: .85;
  font-size: 15px;
  line-height: 1.7;
}

/* Hover Effect */
.timeline-content:hover {
  transform: translateY(-8px);
  transition: .4s ease;
}

/* Mobile */
@media(max-width:768px){
  .timeline::before {
    right: 30px;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    flex-direction: row;
  }

  .timeline-icon {
    margin-left: 10px;
  }

  .timeline-content {
    width: calc(100% - 90px);
    margin: 0 0 0 15px;
    text-align: right;
  }
}



.timeline-icon{
  background: #4A90E2;
  box-shadow:
    0 0 15px rgba(74,144,226,.6),
    0 0 40px rgba(74,144,226,.5),
    0 0 70px rgba(74,144,226,.4);
  transition: .4s ease;
}

.timeline-item:hover .timeline-icon{
  box-shadow:
    0 0 20px rgba(156,196,242,.9),
    0 0 60px rgba(156,196,242,.8),
    0 0 100px rgba(156,196,242,.6);
  transform: scale(1.1);
}


.timeline-content{
  transform-style: preserve-3d;
  transition: transform .25s ease;
}






.faq-section {
  padding: 100px 20px;
  max-width: 900px;
  margin: -150px auto -100px ;
}

.faq-wrap {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.faq-item {
  border-radius: 18px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 22px 24px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question i {
  font-size: 22px;
  transition: .4s;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  background: rgba(255,255,255,.05);
  transition: max-height .4s ease, padding .4s ease;
  font-size: 14px;
  line-height: 1.8;
  opacity: .85;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 18px 24px;
}

.faq-item.active .faq-question i {
  transform: rotate(45deg);
  color: #4A90E2;
}

@media(max-width:768px){
  .faq-question {
    font-size: 14px;
  }
}

.faq-subtitle {
  text-align: center;
  margin-top: -40px;
  margin-bottom: 40px;
  font-size: 14px;
  opacity: .7;
}

/* Hover احترافي */
.faq-question:hover {
  background: rgba(255,255,255,.12);
}

/* Active Glow */
.faq-item.active {
  box-shadow: 0 0 25px rgba(74,144,226,.25);
  border-radius: 18px;
}




.brand-center {
  text-align: center;
  margin: 40px auto;
  max-width: 800px;
  padding: 20px;
}



