/* General reset */



body {
  font-family: Vazirmatn, sans-serif;
  padding: 0;
  direction: rtl;
  background-color: #0d1117; /* very dark blue-black */
  color: white;
}

/* Header */
header {
  background-color: #161b22; /* dark gray-blue */
  padding: 90px 0;
  text-align: center;
  border: 4px solid #e6e9ee;
  border-radius: 12px;
}



.logo {
  
margin-right: 1600px;
margin-top: -50px;

position: absolute;
opacity: 0.5;
}

.logo2 {
  transform: scaleX(-1);

  margin-right: 10px;
  margin-top: -50px;
  position: absolute;
  opacity: 0.5;
}
  

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 360px; /* optional: spacing from edges */
}

.header-btn {
  
  text-decoration: none;
  background-color: #1f2937;
  border: 2px solid #e6e9ee;
  border-radius: 8px;
  color: white;
  font-size: 1rem;
  padding: 10px 20px;
  cursor: pointer;
  transition: background 0.3s;
}

.header-btn:hover {
  background-color: #2d3748;
}
header h1 {
  font-size: 4rem;
  margin: 0;
  color: #ffffff;
}





/* Content container */
.content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 40px;
  max-width: 1200px;
  margin: auto;
}

/* Each item (image + text) */
.item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #1f2937; /* dark gray-blue */
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.5);
  padding: 20px;
}

/* Alternate direction for every second item */
.item:nth-child(even) {
  flex-direction: row-reverse;
}

.item img {
  width: 300px;
  height: auto;
  border-radius: 8px;
}

.item p {
  flex: 1;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #f0f0f0;
}

footer {
  background: #161b22;
  border: 1px solid #777879;
  border-radius: 12px;
  padding: 20px 40px;
  margin-top: 30px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

/* Left side */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 30px;
}

.contact-item img {
  width: 36px;
  height: 36px;
}

.contact-item span {
  font-size: 1rem;
  color: #ffffff;
}

/* Right side */
.footer-text {
  text-align: right;
}

.footer-text p {
  margin: 0;
  font-size: 0.95rem;
  color: #cccccc;
}

.social-icons a img {
  width: 50px;
  height: 50px;
  transition: transform 0.2s;
}
.social-icons a img:hover {
  transform: scale(1.1);
}

.address {
  padding-left: 58px;
  padding-right: 80px;
}


.address2 {
  padding-right: 80px;
}


/* --- Mobile Responsive --- */
@media (max-width: 768px) {
  /* Company name smaller */
  header h1 {
    font-size: 2rem;
    margin: 0.5em 0; /* reduce spacing */

  }
  
.logo {
  
  visibility: hidden;

  }

  
.logo2 {
  
  margin-right: 20px;
  margin-top: -50px;
  position: absolute;
  opacity: 0.5;
  }
  
  
  .titlez {
    order: 1;
    padding-bottom: 80px;
  }
  .header-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 20px; /* reduced padding from edges */
    gap: 10px;
  }
  .header-btn {
    order: 2;
    position: relative; /* override absolute */
    left: auto;  
    width: 100%;
    max-width: 200px;
  }
  .header-btn {
  background-color: #2d3e64;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 1rem;
  font-family: Vazirmatn, sans-serif;
  font-weight: 700;
  cursor: pointer;
  margin-top: 20px;
  
  }
  
  /* Content items stack */
  .item {
    flex-direction: column !important; /* override alternating */
    text-align: center;
  }

  .item img {
    width: 100%;
    max-width: 400px;
  }

  .item p {
    text-align: center;
  }

  /* Footer stacked */
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .contact-info {
    align-items: center;
  }

  .footer-text {
    text-align: center;
  }
}

.map-container {
  margin: 40px auto;
  max-width: 100%;
  border: 2px solid #a4adbb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.5);
}
.map-container iframe {
  width: 100%;
  height: 300px; /* reasonable default for mobile */
  border: 0;
}

.social-link {
text-decoration: none;
color: #ffffff;
font-weight: 800;
padding-bottom: 4px;
}