/*.slider {*/
/*    !*width: 100%;*!*/
/*    !*height: 50%;*!*/
/*    position: relative;*/
/*    overflow: hidden;*/
/*    display: flex;*/
/*    transition: transform 1s ease-in-out; !* ✨ حرکت نرم‌تر *!*/
/*    height: 100%;*/
/*}*/

/*.slides {*/
/*    display: flex;*/
/*    transition: transform 0.5s ease-in-out;*/
/*}*/

/*.slide {*/
/*    min-width: 100%;*/
/*    box-sizing: border-box;*/
/*}*/

/*img {*/
/*    width: 100%;*/
/*    height: 500px;*/
/*    display: block;*/
/*}*/

/*.prev, .next {*/
/*    position: absolute;*/
/*    top: 50%;*/
/*    transform: translateY(-50%);*/
/*    background-color: rgba(0, 0, 0, 0.5);*/
/*    color: white;*/
/*    border: none;*/
/*    padding: 10px;*/
/*    cursor: pointer;*/
/*}*/

/*.prev {*/
/*    left: 10px;*/
/*}*/

/*.next {*/
/*    right: 10px;*/
/*}*/
/*.slider {*/
/*    position: relative;*/
/*    width: 100%;*/
/*    height: 500px; !* ارتفاع ثابت *!*/
/*    overflow: hidden;*/
/*}*/

/*.slides {*/
/*    display: flex;*/
/*    height: 100%;*/
/*    transition: transform 0.8s ease-in-out;*/
/*}*/

/*.slide {*/
/*    min-width: 100%;*/
/*    height: 100%;*/
/*    position: relative;*/
/*}*/

/*.slide img {*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    object-fit: cover;*/
/*    transition: transform 0.8s ease, filter 0.8s ease;*/
/*}*/

/*.slide:hover img {*/
/*    transform: scale(1.05);*/
/*    filter: brightness(0.85);*/
/*}*/

/*!* دکمه‌های مدرن *!*/
/*.prev, .next {*/
/*    position: absolute;*/
/*    top: 50%;*/
/*    transform: translateY(-50%);*/
/*    background: rgba(0,0,0,0.4);*/
/*    color: #fff;*/
/*    border: none;*/
/*    font-size: 28px;*/
/*    padding: 12px;*/
/*    cursor: pointer;*/
/*    border-radius: 50%;*/
/*    transition: background 0.3s, transform 0.3s;*/
/*    z-index: 10;*/
/*}*/

/*.prev:hover, .next:hover {*/
/*    background: rgba(0,0,0,0.7);*/
/*    transform: scale(1.1) translateY(-50%);*/
/*}*/

/*.prev { left: 20px; }*/
/*.next { right: 20px; }*/

/*@media (max-width: 1024px) {*/
/*    .slider { height: 400px; }*/
/*    .prev, .next { font-size: 24px; padding: 10px; }*/
/*}*/

/*@media (max-width: 768px) {*/
/*    .slider { height: 300px; }*/
/*    .prev, .next { font-size: 20px; padding: 8px; }*/
/*}*/
/* Reset */
/* Reset */
/* Reset */
/* Reset */
* { margin:0; padding:0; box-sizing:border-box; }
body {  font-family: 'Shabnam', sans-serif; line-height:1.6; background:#0D0D0D; color:#E0E0E0; }

/* Hero */
.hero-section {
  position:relative;
  height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  overflow:hidden;
  background: linear-gradient(135deg,#0f0c29, #050505,#24243e);
}
#neural-canvas {
  position:absolute;
  top:0; left:0;
  width:100%; height:100%;
  z-index:0;
}
.hero-content {
  position:relative; z-index:1;
}
.hero-content h1 { font-size:3rem; margin-bottom:1rem; color:#00FFFF; text-shadow: 0 0 10px #0ff, 0 0 20px #0ff; }
.hero-content p { font-size:1.2rem; margin-bottom:1.5rem; color:#E0E0E0; }
.btn-primary {
  display:inline-block;
  padding:0.8rem 2rem;
  background:#0ff;
  color:#0D0D0D;
  font-weight:bold;
  border-radius:10px;
  text-decoration:none;
  box-shadow: 0 0 15px #0ff, 0 0 30px #0ff;
  transition:0.3s;
}
.btn-primary:hover { transform:scale(1.05); box-shadow: 0 0 25px #0ff, 0 0 50px #0ff; }

/* Sections */
section { padding:60px 20px; }
h2 { font-size:2.5rem; text-align:center; margin-bottom:40px; color:#0ff; text-shadow: 0 0 5px #0ff; }

/* Glass Cards */
.glass {
  background: rgba(0,255,255,0.05);
  backdrop-filter: blur(20px);
  border-radius:15px;
  border:1px solid rgba(0,255,255,0.2);
  padding:25px;
  transition:0.3s;
  color:#E0E0E0;
}
.glass:hover { transform:scale(1.03); background: rgba(0,255,255,0.15); border-color: rgba(0,255,255,0.3); }

/* Grids */
.services-grid, .whyus-grid, .projects-grid, .testimonials-grid {
  display:grid; gap:30px; width:100%; margin:auto;
}
.services-grid { grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); }
.projects-grid { grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); }
.whyus-grid { grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); text-align:center; }
.testimonials-grid { grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); text-align:center; }

/* Features Icons */
.feature .icon { font-size:3rem; margin-bottom:15px; color:#0ff; animation:bounce 2s infinite; }
@keyframes bounce { 0%,100%{transform:translateY(0);}50%{transform:translateY(-10px);} }

/* Projects Images */
.project img { width:100%; border-radius:10px; margin-bottom:15px; }

/* Contact Form */
.contact-form {
  max-width:600px;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  gap:15px;
}
.contact-form input, .contact-form textarea {
  padding:12px;
  border-radius:10px;
  border:none;
  background:rgba(0,255,255,0.05);
  color:#fff;
  resize:none;
}
.contact-form input::placeholder, .contact-form textarea::placeholder {
  color: #B2FFFF;
}
.contact-form button { width:150px; margin:auto; background:#0ff; color:#0D0D0D; font-weight:bold; border-radius:10px; box-shadow:0 0 15px #0ff; transition:0.3s; }
.contact-form button:hover { transform:scale(1.05); box-shadow:0 0 25px #0ff; }

/* Footer */
.footer { text-align:center; padding:30px 20px; background:#111; color:#aaa; }
.footer .social-links { margin-top:15px; }
.footer .social-links a {
  margin:0 10px;
  color:#0ff;
  text-decoration:none;
  transition:0.3s;
}
.footer .social-links a:hover { color:#0ff; text-shadow:0 0 10px #0ff; }

/* Scroll Animation */
.show { opacity:1 !important; transform:translateY(0) !important; }
.glass { opacity:0; transform:translateY(40px); transition:0.8s; }

/* Responsive */
@media(max-width:768px){
  .hero-content h1 { font-size:2rem; }
  .hero-content p { font-size:1rem; }
}

/*/*/
.services-grid {
    display: grid;
    gap: 20px;
    /* تعداد ستون‌ها با توجه به عرض صفحه تغییر می‌کنه */
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    transition: transform 0.3s;
}

.card.glass:hover {
    transform: translateY(-5px);
}

/* تصویر یکدست در کارت‌ها */
.service-img {
    width: 100%;
    height: 200px;      /* ارتفاع ثابت دسکتاپ */
    object-fit: cover;   /* کراپ بدون کشیدگی */
    border-radius: 12px;
    display: block;
    margin-bottom: 10px;
}

/* عنوان و توضیح */
.card.glass h3 {
    margin: 10px 0 5px 0;
    font-size: 1.2rem;
    text-align: center;
}

.card.glass p {
    font-size: 0.95rem;
    text-align: center;
    color: #ddd;
}

/* ریسپانسیو موبایل */
@media (max-width: 768px) {
    .service-img {
        height: 180px;
    }

    .card.glass h3 {
        font-size: 1.1rem;
    }

    .card.glass p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .service-img {
        height: 150px;
    }

    .card.glass h3 {
        font-size: 1rem;
    }

    .card.glass p {
        font-size: 0.85rem;
    }
}



/*/*/
.input-field{
    text-align: right;
}

.textarea-field{
    text-align: right;
}


/*/*/
.timeline-section {
  max-width: 100%;
  margin: 50px auto;
  padding: 0 20px;
  background: linear-gradient(135deg,#0f0c29, #050505,#24243e);
}
.timeline-section h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 60px;
  color: #0ff;
  text-shadow: 0 0 5px #0ff;
}

/* Timeline Container */
.timeline {
  position: relative;
  padding: 0;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, #0ff, #00ffff33);
  transform: translateX(-50%);
  border-radius: 2px;
}

/* Timeline Items */
.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
  box-sizing: border-box;
  direction:rtl ;

}
.timeline-item-left { left: 0; text-align: right; }
.timeline-item-right { left: 50%; text-align: left; }

/* Marker Circle */
.timeline-item::before {
  content: '';
  position: absolute;
  top: 30px;
  width: 20px;
  height: 20px;
  background: #0ff;
  border: 3px solid #00ffffaa;
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 10px #0ff, 0 0 20px #0ff;
}
.timeline-item-left::before { right: -10px; }
.timeline-item-right::before { left: -10px; }

/* Step Number */
.timeline-item .step-number {
  position: absolute;
  top: -5px;
  width: 20px;
  text-align: center;
  font-weight: bold;
  color: #0D0D0D;
}

/* Timeline Card */
.timeline-card {
  background: rgba(0,255,255,0.05);
  border: 1px solid rgba(0,255,255,0.2);
  backdrop-filter: blur(20px);
  border-radius: 15px;
  padding: 20px;
  color: #E0E0E0;
  box-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff88;;
  transition: 0.3s;
text-align: justify;
  font-size: x-large;
}
.timeline-card:hover {
  transform: scale(1.03);
  background: rgba(0,255,255,0.15);
  border-color: rgba(0,255,255,0.4);
}

/* Card Title */
.timeline-card h3 {
  margin-top: 0;
  color: #0ff;
  text-shadow: 0 0 5px #0ff;
}

/* Customer Feedback */
.timeline-card .customer-feedback {
  margin-top: 15px;
  font-style: italic;
  color: #00ffffaa;
  border-left: 3px solid #0ff;
  padding-left: 10px;

}

/* Responsive Timeline */
@media (max-width: 992px) {
  .timeline-item {
    width: 70%; /* عرض آیتم‌ها کمی بزرگتر برای تبلت */
    padding: 25px 30px;
  }
  .timeline-item-left { left: 0; text-align: right; }
  .timeline-item-right { left: 30%; text-align: left; }
  .timeline-item-left::before { right: -12px; }
  .timeline-item-right::before { left: -12px; }
  .timeline-item-left .step-number { right: -18px; }
  .timeline-item-right .step-number { left: -18px; }
}

@media (max-width: 768px) {
  .timeline::before { left: 20px; } /* خط تایم‌لاین نزدیک چپ */
  .timeline-item, .timeline-item-left, .timeline-item-right {
    width: 100%;
    left: 0;
    padding-left: 50px; /* فاصله مناسب برای دایره و شماره */
    padding-right: 20px;
    text-align: left;
    direction: ltr; /* برای موبایل بهتر است */
  }
  .timeline-item::before { left: 0; }
  .timeline-item-left .step-number,
  .timeline-item-right .step-number { left: -20px; right: auto; }
  .timeline-card { font-size: large; padding: 20px; }
}

@media (max-width: 480px) {
  .timeline-section h2 { font-size: 2rem; margin-bottom: 40px; }
  .timeline-card { font-size: medium; padding: 15px; }
  .timeline-item { padding-left: 40px; }
}


/* Responsive */
@media (max-width:768px){
  .timeline::before { left: 10px; }
  .timeline-item { width: 100%; padding-left: 40px; padding-right: 20px; text-align: left; }
  .timeline-item-left, .timeline-item-right { left: 0; }
  .timeline-item::before { left: 0; }
}


/* شماره داخل دایره برای سمت چپ */
.timeline-item-left .step-number {
  right: -16px; /* بیاد وسط دایره */
}

/* شماره داخل دایره برای سمت راست */
.timeline-item-right .step-number {
  left: -16px;
}


/*بیل/



 */

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* دقیقاً دو ستون */
    gap: 20px;
}

.grid-item input,
.grid-item textarea {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 16px;
    box-sizing: border-box;
}

.grid-item.full-width {
    grid-column: 1 / -1; /* تمام عرض */
}

.contact-form textarea {
    min-height: 120px;
}

.btn-primary {
    background: #00aaff;
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 18px;
    margin: 0 auto;
    width: 200px;
    display: block;
}

.btn-primary:hover {
    background: #0088cc;
}

/* ریسپانسیو: روی موبایل فیلدها زیر هم قرار بگیرند */
@media (max-width: 600px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
}


.testimonials-section {
    padding: 50px 20px;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: #fff;
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.testimonial.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.testimonial-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}








/* gallery.css */
/* متن */
/* کل سکشن */
/* محتوا */
/* سکشن */
.section-wrapper {
  width: 100%;
  padding: 40px 0; /* فاصله عمودی کمتر شد */
  background: linear-gradient(135deg, rgba(255,255,255,0.02), rgba(0,255,195,0.05));
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* محتوا */
.section-wrapper .content {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 1200px;  /* محدودیت برای متن */
  margin: 0 auto;
  gap: 20px;          /* فاصله بین عکس و متن کمتر شد */
}

/* عکس */
.section-wrapper .image {
  flex: 1;
}
.section-wrapper .image img {
  width: 100%;
  height: 100%;
  max-height: 420px;   /* کمی جمع‌وجورتر از قبل */
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

/* متن */
.section-wrapper .text {
  flex: 1;
  padding: 20px;       /* padding کم شد */
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.section-wrapper .text h2 {
  font-size: 22px;     /* فونت کوچک‌تر */
  margin-bottom: 8px;
  color: #00ffc3;
}
.section-wrapper .text p {
  font-size: 20px;
  line-height: 1.6;
  color: #94a3b8;
  margin: 0;
}

/* ترتیب زوج و فرد */
.section-wrapper.odd .image { order: 1; }
.section-wrapper.odd .text { order: 2; }
.section-wrapper.even .text { order: 1; }
.section-wrapper.even .image { order: 2; }

/* موبایل */
@media (max-width: 880px) {
  .section-wrapper {
    padding: 20px 0;
  }
  .section-wrapper .content {
    flex-direction: column;
    gap: 15px;
  }
  .section-wrapper .image img {
    max-height: 280px;
  }
  .section-wrapper .text {
    padding: 10px;
    text-align: center;
  }
}


.text{
    text-align: center;

}



