
*{
  scroll-behavior: smooth;
}
body{
    direction: rtl;
    font-family:'Vazirmatn', sans-serif;
    margin: 0;
}
  

  

  

@media (max-width: 575px) {
    .hidden_about {
        display: none;
    }
}
  
  

  





  /*||||||||||||||||||||||||*/

  /* .fontef{
    background-color:  #eef5ff;
    font-size: 15px;
  }
  .fontef h1{
    color: #333;
    font-size: 30px;
  }
  .smal{
    font-size: 23px;
  }
  .paratitr2{
    font-size: 19px;
    color: #323232;
  } */

  @keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.08); }
  }
  
  .gallery-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    padding: 80px 20px;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    background: #fff;
  }

  @media (max-width:1150px) {
    .gallery-section{
      grid-template-columns: repeat(2, auto) !important;
      justify-content: unset;
      justify-items: center;
    }
  }

  .card {
    width: 100%;
    max-width: 390px;
    perspective: 1000px;
    text-align: center;
    text-decoration: none;
    color: #222;
    transition: transform 0.3s ease;
  }

  .inner {
    width: 100%;
    height: 0;
    padding-bottom: 75%; /* 4:3 Aspect Ratio */
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease;
    transform-style: preserve-3d;
    background: #ffffff;
  }

  .inner img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
  }

  .caption {
    margin-top: 12px;
    font-size: 15px;
    font-weight: bold;
  }

  @media (max-width: 768px) {
    .gallery-section {
      padding: 50px 10px;
    }

    .card {
      max-width: 90%;
    }

    .caption {
      font-size: 14px;
    }
  }
  
  .spacer {
    height: 100vh;
    background: #ffffff;
  }

  .image-section {
    padding: 100px 20px;
    background: #eef5ff;
  }

  .image-box {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    opacity: 0;
    transform: translateX(100%);
    transition: transform 1s ease, opacity 1s ease;
    cursor: pointer;
    scroll-snap-align: center;
  }

  .image-box img {
    width: 100%;
    object-fit: cover;
    display: block;
  }

  .image-box.visible {
    opacity: 1;
    transform: translateX(0);
  }

  .overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 50%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
  }

  .image-box.active .overlay {
    opacity: 1;
  }
  .contact-feedback-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px;
  }

  .contact-section,
  .feedback-section {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    padding: 20px;
  }

  .contact-section h2,
  .feedback-section h2 {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: #222;
  }

  .contact-section p,
  .feedback-section p {
    font-size: 1em;
    color: #4169e1;
    margin-bottom: 20px;
  }

  .contact_cards_container{
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 15px;
  }

  .contact_cards_container .contact-card:last-child{
    grid-column: 1 / 3;
  }

  .fas + h3 + div{
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: space-around;
  }
  
  .contact-card {
    text-align: center;
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
  }
  
  .contact-card i {
    font-size: 2.5em;
    color: #4169e1;
    margin-bottom: 10px;
  }

  .contact-card h3 {
    font-size: 1.2em;
    margin-bottom: 5px;
  }

  .contact-card p {
    font-size: 0.95em;
    color: #4169e1;
  }

  .contact-card a {
    color: #4169e1;
    text-decoration: none;
  }
  .custom-footer {
    background-color: #00489b;
    color: #fff;
    padding: 30px 15px;
  }
  
  .wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
  }
  

  .footer-box {
    flex: 1 1 30%; 
    margin: 10px;
    min-width: 250px;
  }

  .footer-box h3 {
    font-size: 1.2em;
    margin-bottom: 15px;
    color: #ffffff;
  }
  
  .footer-box p,
  .footer-box ul,
  .footer-box li {
    font-size: 0.95em;
    line-height: 1.8;
    margin: 0;
    padding: 0;
    color: #ffffff;
  }
  
  .footer-box ul {
    list-style: none;
  }
  
  .footer-box ul li {
    margin-bottom: 10px;
  }
  
  .footer-box ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .footer-box ul li a:hover {
    color: #f1f1f1;
  }
  
  .footer-box .contact-links a {
    color: #ffffff;
    text-decoration: none;
  }
  
  .footer-box .contact-links a:hover {
    text-decoration: underline;
  }
  
  .footer-copy {
    text-align: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #444;
    color: #aaa;
    font-size: 0.85em;
  }
  
  .social-media {
    display: flex;
    gap: 10px;
    margin-top: 15px;
  }
  
  .social-media a {
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 1.2em;
    text-decoration: none;
    transition: background-color 0.3s ease;
  }
  
  .social-media a:hover {
    background-color: #0078ff;
  }
  .contact-info p a{
    color: #ffffff;
  }  



  /* jak text */

@media only screen and (max-width: 375px) {
  .btn-primary {
    font-size: 9px;
    padding: 3px;

    /* margin-right: -220px; */
  }
}

@media (min-width:1023px) {
  .button_hero_content_tab{
    display: none;
  }
}
@media (max-width:1023px) {
  .btn-primary:not(.main_change_language) {
    padding: 1.4vw 0.8vw !important;
    font-size: 1.4vw !important;
  }
  .button_hero_content_tab{
    margin-right: 0 !important;
    grid-column: 1 / 3;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 4vw;
    justify-content: space-around;
    text-align: center;
    padding: 20px 8vw;
  }
  .button_hero_content{
    display: none !important;
  }
}

@media (max-width: 649px) {
  .jak_img_text{
    grid-template-columns: 1fr !important;
    height: 74svh;
  }
  .text_button{
    position: absolute;
    z-index: 3;
    padding: 10vw 0 !important;
  }
  .text_button p{
    font-size: 14px !important;
    font-weight: 600;
    line-height: 7vw;
    color: #3e3e3e;
  }
  .text_button h1{
    font-size: 25px !important;
    line-height: 200%;
    margin-bottom: 2vw;
  }

  .text_jak{
    max-width: none !important;
    justify-self: center !important;
    line-height: 6.5vw !important;
    padding: 24px !important;
  }

  .button_hero_content{
    margin-right: 0 !important;
    padding: 61px 28px;
    column-gap: 6px;
  }
  .button_hero_content{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 28px;
    column-gap: 6px;
    text-align: center;
    align-items: end;
    height: 14vw;
    max-width: 100%;
  }

  .btn-primary:not(.main_change_language) {
    padding: 14px 17px !important;
    font-size: 2.1vw !important;
  }

  .jak{
    justify-self: center;
    animation: showJak ease-in 3s backwards;
    -webkit-animation: showJak ease-in 3s backwards;
    opacity: 0;
  }
  @keyframes showJak {
    from{
      opacity: 1;
    }
    to{
      opacity: 0;
    }
  }

  .text_jak{
    opacity: 0;
    animation: showTexts 2s linear forwards;
    -webkit-animation: showTexts 2s linear forwards;
    animation-delay: 2s;
  }
  @keyframes showTexts {
    to{
      opacity: 1;
    }
  }

  .jak img{
    margin-right: 0 !important;
  }

  @media (max-width: 500px) {
    .button_hero_content{
      grid-template-columns: repeat(2,1fr);
    }
    .btn-primary:not(.main_change_language) {
      font-size: 3.2vw !important;
    }
  }
  .button_hero_content{
    display: grid !important;
  }
  .button_hero_content_tab{
    display: none !important;
  }
}

@media (max-width:361px) {
  .jak_img_text{
    height: 81svh !important;
  }
}

@media (max-width:550px) {
  .jak_img_text{
    height: 65svh;
  }
}
@media (max-width:498px) {
  .jak_img_text{
    height: 64svh;
  }
  .button_hero_content {
    padding: 0px 28px !important;
  }
}

@media (max-width:580px) {
  .jak{
    max-width: 78% ;
  }
}




.btn-primary:not(.main_change_language) {
  background-color: #0078ff;
  color: #ffffff;
  border: none;
  padding: 1vw 2.4vw;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  margin-bottom: 1.4rem;
  font-size: 1.3vw;
}

.main_change_language {
  background-color: #0078ff;
  color: #ffffff;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  margin-bottom: 1.4rem;
}

.jak{
  max-width: 67%;
}

.jak img{
  max-width: 100%;
  margin-right: 3rem;
}

.jak_img_text{
  background-color: #eef5ff;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.text_button{
  padding: 4vw 0;
  line-height: 3.7vw;
}
.text_button h1{
  font-size: 2vw;
  color: #333;
}
.text_button p{
  font-size: 1.2vw;
}

.text_jak{
  max-width: 82%;
  justify-self: flex-end;
}



.button_hero_content{
  margin-right: 8.8vw;
}



/* jak text */