/* Contact Page Styles */
.contact-section {
  margin-bottom: 40px;
}

.contact-section h2 {
  color: #1c2e52;
  margin-bottom: 20px;
  padding-bottom: 10px;
  font-size: 24px;
}

.contact-section h2:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: #1863dc00;
}

/* Office Details */
.office-details {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.office-address {
  flex: 1;
  min-width: 280px;
  padding: 20px;
  background-color: #f7f7f7;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.office-address h3 {
  color: #1c2e52;
  margin-bottom: 15px;
  font-size: 18px;
}

.office-map {
  width: 100%;
  height: 350px;
  border-radius: 5px;
  overflow: hidden;
  margin-top: 20px;
}

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

/* Tab System */
.tab-container {
  margin-top: 20px;
}

.tab-buttons {
  display: flex;
  border-bottom: 1px solid #ddd;
  margin-bottom: 20px;
}

.tab-button {
  padding: 10px 20px;
  background-color: #f7f7f7;
  border: 1px solid #ddd;
  border-bottom: none;
  border-radius: 5px 5px 0 0;
  cursor: pointer;
  font-weight: 500;
  margin-right: 5px;
  transition: all 0.3s ease;
}

.tab-button.active {
  background-color: #1c2e52;
  color: #fff;
  border-color: #1c2e52;
}

.tab-content {
  display: none;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 0 5px 5px 5px;
}

.tab-content.active {
  display: block;
}

/* Accordion Styles */
.accordion {
  margin-top: 20px;
}

.accordion-item {
  border: 1px solid #ddd;
  border-radius: 5px;
  margin-bottom: 10px;
  overflow: hidden;
}

.accordion-toggle {
  width: 100%;
  padding: 15px;
  background-color: #f7f7f7;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  transition: all 0.3s ease;
}

.accordion-toggle:after {
  content: "+";
  font-size: 20px;
  font-weight: 700;
  color: #1863dc;
}

.accordion-item.open .accordion-toggle:after {
  content: "−";
}

.accordion-item.open .accordion-toggle {
  background-color: #1c2e52;
  color: #fff;
}

.accordion-content {
  display: none;
  padding: 15px;
  border-top: 1px solid #ddd;
}

.accordion-item.open .accordion-content {
  display: block;
}

/* Contact Form */
.kontakt-formular {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 5px;
  margin-top: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  color: #1c2e52;
}

.form-control {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.form-check {
  display: flex;
  align-items: flex-start;
}

.form-check-input {
  margin-top: 4px;
  margin-right: 10px;
}

.kontakt-submit {
  background-color: #1c2e52;
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

.kontakt-submit:hover {
  background-color: #1863dc;
}

.alert {
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 4px;
}

.alert-success {
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.alert-danger {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

/* Language List */
.language-list {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 15px 0;
  padding-left: 0;
  list-style: none;
}

.language-list li {
  background-color: #f0f4f8;
  padding: 8px 15px;
  border-radius: 20px;
  border: 1px solid #ddd;
  color: #1c2e52;
  font-weight: 500;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .office-details {
    flex-direction: column;
  }
  
  .tab-buttons {
    flex-direction: column;
    gap: 5px;
    border-bottom: none;
  }
  
  .tab-button {
    border-radius: 5px;
    border-bottom: 1px solid #ddd;
    margin-right: 0;
  }
  
  .tab-content {
    border-radius: 5px;
  }
}

@media (max-width: 576px) {
  .contact-section h2 {
    font-size: 20px;
  }
  
  .contact-buttons {
    flex-direction: column;
  }
  
  .contact-button {
    margin-bottom: 10px;
  }
}