/* تنظیمات پایه */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}
body {
  color: #222;
  line-height: 1.6;
}
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}
h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 10px;
  position: relative;
}
h2 span {
  display: inline-block;
  width: 40px;
  height: 3px;
  background: #c00;
  margin-right: 10px;
  vertical-align: middle;
}
.subtitle {
  color: #666;
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ====== Hero ====== */
.hero {
  height: 60vh;
  position: relative;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
}

/* نوار بالای هدر */
.hero-header {
  position: absolute;
  top: 20px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center; /* لوگو وسط */
  align-items: center;
}

/* لوگو وسط */
.logo img {
  max-width: 180px;
}

.menu-logo img {
    cursor: pointer;
}

/* منو سمت راست */
.menu-icon {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.menu-icon span {
  display: block;
  width: 30px;
  height: 3px;
background: #00eeff;
  border-radius: 2px;
}
.menu-icon.sticky {
  position: fixed;  /* فیکس میشه بالای صفحه */
  top: 20px;
  right: 20px;
  /* box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2); */
}
.menu-icon.sticky span {
  background: #000000; /* رنگ قرمز یا هرچی بخوای */
}
/* منوی کناری */
.side-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 350px;
  height: 100%;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(15px); /* شیشه‌ای */
  box-shadow: -2px 0 15px rgba(0,0,0,0.3);
  padding: 40px 30px;
  transition: right 0.4s ease;
  z-index: 1000;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.side-menu.active {
  right: 0;
}

.side-menu .close-btn {
  background: none;
  border: none;
  font-size: 30px;
  cursor: pointer;
  position: absolute;
  top: 20px;
  right: 20px;
}

/* لوگو بالای منو */
.menu-logo {
  text-align: center;
}

.menu-logo img {
  max-width: 140px;
}

/* لینک‌های منو */
.menu-links {
    display: flex;
    list-style: none;
    padding: 0;
    flex-direction: column-reverse;
    align-items: flex-end;

}
.menu-links li {
  margin: 20px 0;
}
.menu-links li a {
  text-decoration: none;
  font-size: 20px;
  color: #000;
  transition: color 0.3s;
}
.menu-links li a:hover {
  color: #00eeff;
}

/* زبان‌ها پایین منو */
.languages {
  border-top: 1px solid rgba(0,0,0,0.2);
  padding-top: 20px;
  text-align: center;
}

.languages a {
  margin: 0 15px;
  font-size: 18px;
  color: #000;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px; /* فاصله بین پرچم و متن */
}

.languages a:hover {
  color: #00eeff;
}

.flag {
  width: 22px;
  height: auto;
  border-radius: 2px;
}

    /* ====== Scroll to Top Button ====== */
.scroll-top {
  position: fixed;
  bottom: 20px;   /* کمی بالاتر بیاد تا منو پایین جا شه */
  right: 20px;
  background: #00eeff;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 22px;
  cursor: pointer;
  display: none; /* اول مخفی */
  z-index: 1200;
  display: flex;
    justify-content: center;
    align-items: center;
}
.scroll-top:hover {
  background: #00eeff;
}








.header-about{
    position: absolute;
    z-index: 1;
    top: 0px;
    width: 100%;
    height: max-content;
}


 /* استایل فوتر */
    footer {
      background-color: #222;
      color: #fff;
      padding: 60px 0 30px;
    }

    .footer-content {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 40px;
      margin-bottom: 40px;
    }

    .footer-column {
      flex: 1;
      min-width: 200px;
    }

    .footer-column h3 {
      font-size: 18px;
      margin-bottom: 20px;
      color: #00eeff;
      position: relative;
      padding-bottom: 10px;
    }

    .footer-column h3::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: 0;
      width: 40px;
      height: 2px;
      background: #00eeff;
    }

    .footer-column ul {
      list-style: none;
    }

    .footer-column ul li {
      margin-bottom: 12px;
    }

    .footer-column ul li a {
      color: #ccc;
      text-decoration: none;
      transition: color 0.3s;
    }

    .footer-column ul li a:hover {
      color: #00eeff;
    }

    .footer-bottom {
      border-top: 1px solid #444;
      padding-top: 20px;
      text-align: center;
      font-size: 14px;
      color: #999;
    }

    .footer-bottom p {
      margin-bottom: 10px;
    }

    .footer-bottom a {
      color: #ccc;
      text-decoration: none;
      margin: 0 10px;
    }

    .footer-bottom a:hover {
      color: #00eeff;
    }

    /* ریسپانسیو */
    @media (max-width: 768px) {
      .footer-content {
        flex-direction: column;
        gap: 30px;
      }
      
      .footer-column {
        min-width: 100%;
      }
    }













  /* بخش تماس */
    .contact-section {
      padding: 80px 0;
    }
    
    .contact-container {
      display: flex;
      flex-wrap: wrap;
      gap: 40px;
    }
    
    .contact-form {
      flex: 1;
      min-width: 300px;
      background: white;
      padding: 40px;
      border-radius: 10px;
      box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    }
    
    .contact-form h2 {
      font-size: 2rem;
      margin-bottom: 30px;
      color: #333;
      position: relative;
      padding-bottom: 15px;
    }
    
    .contact-form h2:after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 80px;
      height: 4px;
      background: #00eeff;
    }
    
    .form-group {
      margin-bottom: 20px;
    }
    
    .form-group label {
      display: block;
      margin-bottom: 8px;
      font-weight: bold;
      color: #555;
    }
    
    .form-control {
      width: 100%;
      padding: 12px 15px;
      border: 1px solid #ddd;
      border-radius: 5px;
      font-size: 16px;
      transition: border-color 0.3s;
    }
    
    .form-control:focus {
      outline: none;
      border-color: #00eeff;
    }
    
    textarea.form-control {
      min-height: 150px;
      resize: vertical;
    }
    
    .btn-send {
      background: #00eeff;
      color: white;
      border: none;
      padding: 12px 30px;
      border-radius: 5px;
      font-size: 16px;
      font-weight: bold;
      cursor: pointer;
      transition: background 0.3s;
    }
    
    .btn-send:hover {
      background: #c00;
    }
    
    .map-container {
      flex: 1;
      min-width: 300px;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
      height: 500px;
    }
    
    #map {
      width: 100%;
      height: 100%;
    }
    
    /* اطلاعات تماس */
    .contact-info {
      padding: 60px 0;
      background: #fff;
    }


    /* تبلت (تا 992px) */
@media (max-width: 992px) {
  .hero-header {
    justify-content: space-between;
    padding: 0 20px;
  }

  .logo img {
    max-width: 140px;
  }
}

































.side-menu .menu-links {
  overflow: visible !important;
}

.side-menu .has-submenu {
  position: relative;
  display: block;
  width: 100%;
}

.side-menu .submenu-toggle {
    background: none;
    border: none;
    color: #000000;
    font-size: 20px;
    width: 100%;
    text-align: right;
    cursor: pointer;
    display: flex;
    padding: 12px 0;
    transition: color 0.3s;
    flex-direction: row-reverse;
}

.side-menu .submenu-toggle:hover {
  color: #00eeff;
}

.side-menu .submenu {
  list-style: none;
  display: none;
  flex-direction: column;
  padding-right: 15px;
  margin-top: 5px;
  border-radius: 10px;
  animation: fadeIn 0.3s ease-in-out;
}

.side-menu .submenu.open {
     display: flex;
    align-items: flex-end;
}

.side-menu .submenu li {
  margin: 6px 0;
}

.side-menu .submenu a {
  color: #000000;
  font-size: 18px;
  text-decoration: none;
  transition: color 0.3s;
}

.side-menu .submenu a:hover {
  color: #00eeff;
}

@keyframes fadeIn {
  from {opacity: 0; transform: translateY(-5px);}
  to {opacity: 1; transform: translateY(0);}
}