/* company.css */

.company-details {
  background-color: var(--bg-light);
}

.detail-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 800px;
  margin: 0 auto 60px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.detail-item {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border-color);
  padding: 15px 20px;
  background-color: #fff;
}
.detail-item:last-child {
  border-bottom: none;
}

.detail-label {
  flex: 0 0 150px;
  font-weight: 700;
  color: var(--secondary-color);
  padding-right: 20px;
  align-self: flex-start;
}

.detail-value {
  flex: 1;
  color: var(--text-color-dark);
}
.detail-value ul {
  list-style: disc;
  margin-left: 20px;
}
.detail-value ul li {
  margin-bottom: 5px;
}
.detail-value ul li:last-child {
  margin-bottom: 0;
}

.access-map {
  margin-top: 60px;
  text-align: center;
}

.access-map p {
  font-size: 16px;
  color: #666;
  margin-bottom: 30px;
}

.map-placeholder {
  width: 100%;
  height: 450px;
  background-color: #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Responsive Adjustments for company.html */
@media (max-width: 768px) {
  .detail-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 15px;
  }
  .detail-label {
    flex: none;
    width: 100%;
    margin-bottom: 5px;
    padding-right: 0;
  }
  .detail-value {
    width: 100%;
  }
  .detail-grid {
    gap: 0;
    margin-bottom: 40px;
  }
  .access-map {
    margin-top: 40px;
  }
  .map-placeholder {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .detail-item {
    font-size: 15px;
  }
}
