.header {
  background-image: none;
  height: 45vh;
}
.contact-info {
  background-color: #fff;
  padding: 40px 30px;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px;
  border-radius: 16px;
  margin: 40px auto;
  max-width: 1000px;
  width: 90%;
  direction: rtl;
}

.contact-info h1 {
  font-size: 28px;
  color: #333;
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
}

.company-details {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.details-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.detail-item {
  flex: 1 1 30%;
  min-width: 200px;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 12px;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 4px 8px;
}

.detail-item h3 {
  margin-bottom: 8px;
  font-size: 18px;
  color: #555;
}

.detail-item p {
  margin: 0;
  font-size: 16px;
  color: #111;
  font-weight: 500;
}

.address-section {
  margin-top: 30px;
  padding: 20px;
  background-color: #f6f6f6;
  border-radius: 12px;
}

.address-section h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #444;
}

.address-section p {
  font-size: 16px;
  line-height: 1.6;
  color: #222;
}
.map-section {
  margin-top: 30px;
}

.map-section h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: #444;
}

.map-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.map-container iframe {
  position: absolute;
  top: 0;
  right: 0; /* RTL alignment */
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
}

/* Responsive styles */
@media (max-width: 992px) {
  .contact-info {
    padding: 30px 20px;
  }

  .contact-info h1 {
    font-size: 24px;
  }

  .detail-item {
    flex: 1 1 45%;
  }
}

@media (max-width: 768px) {
  .header {
    height: auto;
    min-height: 35vh;
  }

  .contact-info {
    padding: 25px 15px;
    margin: 30px auto;
  }

  .contact-info h1 {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .detail-item h3 {
    font-size: 16px;
  }

  .detail-item p {
    font-size: 14px;
  }

  .address-section h3,
  .map-section h3 {
    font-size: 16px;
  }

  .address-section p {
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .header {
    min-height: 25vh;
  }

  .contact-info {
    width: 95%;
    padding: 20px 15px;
    margin: 20px auto;
  }

  .contact-info h1 {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .company-details {
    gap: 15px;
  }

  .details-row {
    gap: 15px;
  }

  .detail-item {
    flex: 1 1 100%;
    padding: 15px;
  }

  .address-section {
    padding: 15px;
    margin-top: 20px;
  }

  .map-section {
    margin-top: 20px;
  }
}

@media (max-width: 480px) {
  .contact-info h1 {
    font-size: 18px;
  }

  .detail-item {
    padding: 12px;
  }

  .detail-item h3 {
    font-size: 15px;
  }

  .detail-item p {
    font-size: 13px;
  }

  .address-section h3,
  .map-section h3 {
    font-size: 15px;
  }

  .address-section p {
    font-size: 13px;
    line-height: 1.5;
  }
}
