/* ------------------------------
   Reset & Base
------------------------------ */
* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
  }
  
  /* ------------------------------
     Hero Section
  ------------------------------ */
  .hero {
    width: 100%;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
  }
  
  .back-video {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    object-fit: cover; /* مهم برای فیت شدن کامل */
  }
  
  /* ------------------------------
     Navigation
  ------------------------------ */
/* ------------------------------
   Navigation (Fixed + Padding)
------------------------------ */
nav {
    width: 100%;
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    align-items: center;
    justify-content: space-between;
    padding: 20px 8%; /* ← فاصله از چپ و راست بیشتر شد */
    box-sizing: border-box;
  }
  
  /* لوگو کمی فاصله از بالا و چپ بگیره */
  nav .logo {
    width: 90px;
    margin-left: 10px;
  }
  
  /* منوها با فاصله منظم */
  nav ul {
    margin: 0;
    padding: 0;
  }
  
  nav ul li {
    list-style: none;
    display: inline-block;
    margin-left: 35px; /* کمتر از 50 برای فاصله متعادل‌تر */
  }
  
  nav ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: 0.3s;
  }
  
  /* افکت hover */
  nav ul li a:hover {
    color: #ffd700;
  }
  
  /* ------------------------------
     Content Section
  ------------------------------ */
  .content {
    text-align: center;
  }
  
  .content-text {
    text-align: center;
    color: #fff;
    padding: 180px;
  }
  
  .content-text h1 {
    font-size: 90px;
    font-family: 'Poppins', sans-serif, cursive;
  }
  
  .content-text p {
    font-size: 20px;
    font-style: italic;
  }
  
  .content-text p2 {
    font-size: 20px;
  }
  
  .content-btn {
    margin: 70px auto 0;
  }
  
  .content-btn a {
    width: 100px;
    text-decoration: none;
    display: inline-block;
    margin: 0 10px;
    padding: 12px 0;
    color: #fff;
    border: 0.5px solid #fff;
    position: relative;
    z-index: 1;
    transition: color 0.5s;
  }
  
  .content-btn a span {
    width: 0%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: #fff;
    z-index: -1;
    transition: 0.5s;
  }
  
  .content-btn a:hover span {
    width: 100%;
  }
  
  .content-btn a:hover {
    color: #000;
  }
  
  /* ------------------------------
     Responsive Design
     (max-width: 770px)
  ------------------------------ */
  @media screen and (max-width: 770px) {
  
    /* Hero */
    .hero {
      height: 50vh;
    }
  
    .back-video {
      width: 100%;
      height: 100%;
      object-fit: cover; /* ویدیو کامل فیت می‌شود */
      object-position: center;
    }
  
    /* Nav */
    nav {
      width: 100%;
      padding: 10px 5%;
      top: 0;
    }
  
    nav .logo {
      width: 40px;
      margin-left: 10px;
    }
  
    nav ul li {
      margin-left: 8px;
      font-size: 10px;
    }
  
    /* Content */
    .content-text {
      margin-top: 60px;
      padding: 0 10px;
    }
  
    .content-text h1 {
      font-size: 22px;
    }
  
    .content-text p {
      font-size: 10px;
    }
  
    .content-text p2 {
      font-size: 10px;
    }
  
    .content-btn {
      margin: 20px auto 0;
    }
  
    .content-btn a {
      width: 60px;
      font-size: 10px;
      padding: 4px 0;
    }
  }
  

/*--about-*/


#about{width: 100%;
    padding: 0px;
}
    
.about-text{
     text-align:center;
    padding-bottom: 70px;}

.about-text p{ margin: auto;
    font-size: 20px;
    color: black;
    font-weight: bold;
    position: relative;
    z-index: 1;
    display: inline-block;}


.about-text h{
        font-size: 40px;
        
    }

.about-box{
    width: 80%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    
}
.abouts{
    flex-basis: 50%;
}
.abouts-img{
    flex-basis: 40%;
    margin: auto;
}

.abouts-img img{
    width: 80%;
    border-radius: 10px;
}
.abouts h1{
    text-align: left;
    margin-bottom: 10px;
    font-weight: 100;
    color: #000;
}



.about-text p{
    padding: 0 ;
    text-align: left;
}

/* نسخه موبایل - عرض ≤ 770px */
@media screen and (max-width: 770px) {
    
    /* متن داخل بخش about */
    .about-text {
        text-align: center;
        padding-bottom: 20px;
    }

    /* پاراگراف‌ها */
    .about-text p {
        margin: auto;
        font-size: 15px;
        color: black;
        font-weight: bold;
        display: block;
        text-align: left; /* اگر میخوای چپ‌چین شود */
        padding: 2px;
    }

    /* تیترها */
    .about-text h1, .about-text h2, .about-text h3 {
        font-size: 20px;
    }

    /* جعبه about */
    .about-box {
        width: 90%;
        margin: auto; /* وسط‌چین */
    }

    /* هر بخش about */
    .abouts {
        flex-basis: 100%;
        font-size: 12px;
        margin-bottom: 15px;
    }

    /* تصویرها */
    .abouts-img {
        flex-basis: 100%;
        margin: auto;
        display: flex;
        justify-content: center; /* وسط‌چین تصاویر */
    }

    .abouts-img img {
        width: 80%;
        border-radius: 10px;
        padding: 0 10px;
    }

    /* تیتر هر about */
    .abouts h1 {
        text-align: left;
        margin-bottom: 10px;
        font-weight: 100;
        color: #000;
    }
}
   
   
   
   .about-text p{
       padding: 02px;
       text-align: left;
   }






/*feature*/

/* ================= Feature Section ================= */
#feature {
    width: 100%;
    padding: 70px 0;
}

.title-text {
    text-align: center;
    padding-bottom: 70px;
}

.title-text p {
    margin: auto;
    font-size: 20px;
    color: black;
    font-weight: bold;
    position: relative;
    z-index: 1;
    display: inline-block;
}

.title-text h1 {
    font-size: 40px;
}

.feature-box {
    width: 80%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    text-align: center;
}

.features {
    flex-basis: 50%;
}

.features-img {
    flex-basis: 50%;
    margin: auto;
}

.back-video3 {
    width: 70%;
    border-radius: 10px;
}

.features h1 {
    text-align: left;
    margin-bottom: 10px;
    font-weight: 100;
    color: #000;
}

.features-desc {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.feature-icon img {
    width: 50px;
    height: 50px;
    font-size: 30px;
    line-height: 50px;
    border-radius: 8px;
    color: #000;
}

.feature-text p {
    padding: 0 20px;
    text-align: initial;
}

/* ================= Media Query برای موبایل ≤ 770px ================= */
@media screen and (max-width: 770px) {

    .feature-box {
        flex-direction: column;
        width: 90%;
    }

    .features {
        flex-basis: 100%;
        margin-bottom: 20px;
    }

    .features-img {
        flex-basis: 100%;
        margin-bottom: 20px;
    }

    .back-video3 {
        width: 100%;
    }

    .features h1 {
        text-align: center;
        font-size: 24px;
    }

    .feature-text p {
        padding: 0 10px;
        text-align: center;
    }

    .feature-icon img {
        width: 40px;
        height: 40px;
        line-height: 40px;
    }

    .title-text h1 {
        font-size: 28px;
    }

    .title-text p {
        font-size: 16px;
    }
}

/*service*/



#service{
    width: 100%;
    padding: 70px 0;
    background: #efefef;
}
.service-box{
    width: 80%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: auto;
}
.title-text h1{
    font-size: 22px;
}
.Graphic-design{
    flex-basis: 48%;
    text-align: center;
    border-radius: 7px;
    margin-bottom: 20px;
    color: #000;
    position: relative;
}
.Graphic-design img{
    width: 100%;
    border-radius: 7px;
}
.Graphic-design .back-video2{
    width: 100%;
    border-radius: 7px;
}
.overlay{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    border-radius: 7px;
    cursor: pointer;
    background: linear-gradient(rgb(0,0,0,0,5),#181818 );
    opacity: 0;
    transition: 1s;

}
.Graphic-design:hover .overlay{
    opacity: 1;
}
.service-desc{
    width: 80%;
    position: absolute;
    bottom: 40%;
    left: 10%;
    transform: translateX(-50);
}



.service-desc P{
    font-size: 14PX;
}
.Graphic-design:hover .service-desc{
    bottom: 40%;
    opacity: 1;

}
@media screen and (max-width: 770px) {
    .Graphic-design {
        float: none;
        flex-basis: 100%;
        margin-bottom: 30px;
        margin-top: 15%;
    }

    .service-desc p {
        float: none;
        font-size: 12px;
        font-style: normal;
        line-height: 1.5;
        text-align: center;
    }

    .service-desc h3 {
        float: none;
        font-size: 16px;
        margin: 10px 0;
        font-weight: 600;
        text-align: center;
    }

    hr {
        margin: 5px auto;
        width: 40%;
    }

    .single-service:hover .service-desc {
        bottom: 25% !important;
    }
}



/* Portfolio Button */
#portfolio-button {
  text-align: center;
  margin-bottom: 50px;
}

#portfolio-button #open-portfolio {
  padding: 15px 40px;
  font-size: 18px;
  background: linear-gradient(135deg,#ff7eb3,#ff758c);
  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

#portfolio-button #open-portfolio:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

/* Modal Lightbox */
#portfolio-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);
  justify-content: center;
  align-items: center;
}

#portfolio-modal .modal-content {
  position: relative;
  max-width: 80%;
  max-height: 80%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: rgba(255,255,255,0.1);
  border-radius: 15px;
}

#portfolio-modal .modal-slider {
  display: flex;
  transition: transform 0.5s ease;
  gap: 20px;
}

#portfolio-modal .modal-slider img,
#portfolio-modal .modal-slider video {
  max-height: 70vh;
  max-width: 100%;
  border-radius: 10px;
}

#portfolio-modal .close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 35px;
  color: white;
  cursor: pointer;
}

#portfolio-modal .prev,
#portfolio-modal .next {
  position: absolute;
  top:50%;
  transform: translateY(-50%);
  font-size: 40px;
  color:white;
  background: rgba(0,0,0,0.3);
  border:none;
  padding: 10px;
  cursor:pointer;
  border-radius:50%;
}

#portfolio-modal .prev { left: 10px; }
#portfolio-modal .next { right: 10px; }

























#portfolio-links {
  padding: 80px 50px;
  background: #f5f5f5;
}

#portfolio-links .title-text {
  text-align: center;
  margin-bottom: 50px;
}

.links-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.site-link {
  text-decoration: none;
}

.site-card {
  width: 280px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border-radius: 15px;
  overflow: hidden;
  text-align: center;
  padding: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.site-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
  object-fit: cover;
}

.site-card h3 {
  margin-bottom: 10px;
  color: #333;
}

.site-card p {
  color: #555;
  font-size: 14px;
}

.site-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.25);
}
  












/*testimonial*/





#testimonial{
    width: 100%;
    padding: 70px 0;
}


.testimonial-row{
    width:80%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}
.testimonial-col{
    flex-basis: 28%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0 10px 20px 3px #00968814;
    cursor: pointer;
    transition: transform .5s;
}
.testimonial-col p{
    font-size: 14px;
}
.user{
    display: flex;
    align-items: center;
    margin: 20px 0;
}
.user img{
    width: 40px;
    margin-right: 20px;
    border-radius: 3px;
}
.user-info .fa{
    margin-left: 10px;
    color: #27c0ff;
    font-size: 20px;
}


.user-info small{
    color: #009688;
}



.testimonial-col:hover{
    transform: translateY(-7px);
}
.testimonial-col p{
    font-size: 14px;
}

@media screen and (max-width: 770px) {
    .testimonial-col {
        flex-basis: 100%;
        margin-bottom: 20px;
    }

    .testimonial-col p {
        font-size: 14px;
        line-height: 1.6;
        text-align: justify; /* تراز دوطرفه */
        padding: 0 10px; /* کمی فاصله از دو طرف برای زیبایی */
    }

    .testimonial-col h3 {
        text-align: center; /* عنوان وسط‌چین */
        font-size: 16px;
        margin-bottom: 10px;
    }
}



/*footer*/
/* ------------------------------
   Footer
------------------------------ */
/* ------------------------------
   Footer - Desktop Default
------------------------------ */
#footer {
    padding: 50px 80px;
    background: #efefef;
    position: relative;
  }
  
  .footer-row {
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
  }
  
  .footer-left,
  .footer-right {
    flex-basis: 20%;
    padding: 0;
    margin-bottom: 10px;
  }
  
  .footer-right {
    text-align: left;
  }
  
  .footer-row h {
    margin: 10px 0;
    font-weight: 600;
    font-size: 16px;
    color: #222;
  }
  
  .footer-row p {
    line-height: 1.8;
    font-size: 13px;
    color: #333;
  }
  
  .email {
    width: 22px;
    height: 22px;
    vertical-align: middle;
  }
  
  /* تصویر تزیینی وسط فوتر */
  .footer-img {
    max-width: 150px;
    opacity: 0.3;
    position: absolute;
    left: 50%;
    top: 55%;
    transform: translate(-50%, -50%);
  }
  
  /* شبکه‌های اجتماعی */
  .social-links {
    text-align: center;
    margin-top: 30px;
  }
  
  .social-links .fa {
    height: 40px;
    width: 40px;
    font-size: 20px;
    line-height: 40px;
    color: #7a7a7a;
    cursor: pointer;
    transition: 0.4s;
    border-radius: 50%;
    display: inline-block;
    margin: 0 5px;
  }
  
  .social-links .fa:hover {
    background: #7a7a7a;
    color: #fff;
    transform: translateY(-5px);
  }
  
  .social-links p {
    font-size: 12px;
    margin-top: 20px;
    color: #555;
  }
  
  /* ------------------------------
     Footer - Tablet (max-width: 1024px)
  ------------------------------ */
  @media screen and (max-width: 1024px) {
    #footer {
      padding: 40px 40px;
    }
  
    .footer-left,
    .footer-right {
      flex-basis: 45%;
    }
  
    .footer-row h {
      font-size: 15px;
    }
  
    .footer-row p {
      font-size: 12px;
    }
  
    .footer-img {
      max-width: 120px;
      top: 60%;
    }
  }
  
  /* ------------------------------
     Footer - Mobile (max-width: 770px)
  ------------------------------ */
  @media screen and (max-width: 770px) {
    #footer {
      padding: 30px 20px;
    }
  
    .footer-row {
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 20px;
    }
  
    .footer-left,
    .footer-right {
      flex-basis: 100%;
      margin-bottom: 15px;
    }
  
    .footer-row h {
      font-size: 14px;
      margin-bottom: 8px;
    }
  
    .footer-row p {
      font-size: 11px;
      line-height: 1.6;
    }
  
    .footer-img {
      max-width: 100px;
      top: 62%;
    }
  
    .social-links .fa {
      height: 35px;
      width: 35px;
      font-size: 18px;
    }
  
    .social-links p {
      font-size: 10px;
      margin-top: 15px;
    }
  }
  