body, html {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #fff;
  color: #333;
  line-height: 1.6;
}

/* Header styles */
.header {
  background-color: rgb(214, 2, 2);
  padding: 10px 25px;
  border-bottom: 1px solid #dee2e6;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
  font-size: 16px;
}

.piiir {
  display: flex;
  gap: 20px;
  width: 90%;
}

.drj {
  height: 380px;
}

.elem1, .elem2, .elem3 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.switch {
  width: 10%;
  margin-left: 230px;
}

.switch select {
  border: none;
  border-radius: 5px;
  padding: 5px;
  font-size: 14px;
  cursor: pointer;
}

/* Navigation styles */
.part1 {
  width: 100%;
  align-items: center;
  padding: 10px 0;
  font-size: 18px;
}

.party1 {
  font-size: 32px;
  font-weight: bold;
  color: rgb(5, 5, 5);
  text-shadow: 0px 0px 5px rgb(255, 255, 255);
  margin-right: 40px;
}

#partiu1 {
  display: flex;
  height: 55px;
  justify-content: space-between;
  align-items: center;
  padding: 0 25px;
  border-bottom: 1px solid #dee2e6;
  background-color: rgb(255, 255, 255);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  display: inline-flex;
}

.party2 {
  display: flex;
  gap: 25px;
}

.bt {
  text-decoration: none;
  color: rgb(0, 0, 0);
  font-weight: 600;
  transition: color 0.3s ease;
}

.bt:hover {
  color: rgb(214, 2, 2);
  text-decoration: underline;
}

/* Buttons in navigation */
.party3 button {
  margin-left: 10px;
  height: 38px;
  font-weight: bold;
  cursor: pointer;
  font-size: 16px;
}

.btn-outline-danger {
  border-color: rgb(214, 2, 2);
  color: rgb(214, 2, 2);
  background-color: transparent;
}

.btn-outline-danger:hover {
  background-color: rgb(214, 2, 2);
  color: white;
}

.btn-danger {
  background-color: rgb(214, 2, 2);
  border-color: rgb(214, 2, 2);
  color: white;
}

.btn-danger:hover {
  background-color: #c00;
  border-color: #c00;
}

/* Main content styles */
.part2 {
  display: flex;
  width: 100%;
  padding: 20px 0;
  gap: 20px;
}

.pir1 {
  width: 50%;
  text-align: center;
  margin-top: 30px;
}

.pir1 .ui {
  font-size: 72px;
  font-weight: bold;
  color: rgb(5, 5, 5);
  text-shadow: 0px 0px 5px rgb(255, 255, 255);
  margin-bottom: 20px;
}

.pir2 {
  width: 50%;
  text-align: center;
}

#lok {
  margin-top: 30px;
  width: 700px;
  height: 735px;
  border-radius: 20px;
  box-shadow: 0 0 15px rgb(149, 149, 149);
  object-fit: cover;
  object-position: center;
  border: 5px solid rgb(255, 255, 255);
  background-color: rgb(255, 255, 255);
  transition: transform 0.3s ease;
}

#lok:hover {
  transform: scale(1.05);
}

/* Separator style */
.sep {
  font-size: 22px;
  font-weight: bold;
  color: rgb(255, 255, 255);
  text-shadow: 0 0 5px rgb(209, 209, 209);
  margin-top: 5px;
}

/* Footer styles */
.footer {
  background-color: rgb(0, 0, 0);
  color: white;
  padding: 40px 20px;
  text-align: center;
  margin-top: 40px;
  font-size: 16px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.footer-info {
  flex: 1;
  text-align: left;
}

.footer-info h3 {
  color: rgb(214, 2, 2);
  margin-bottom: 10px;
  font-size: 26px;
}

.footer-info p {
  margin: 5px 0;
  font-size: 16px;
}

.footer-social {
  flex: 1;
  text-align: right;
}

.footer-social h4 {
  color: rgb(214, 2, 2);
  margin-bottom: 10px;
  font-size: 22px;
}

.footer-social .social-links {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

.footer-social .social-links a {
  color: white;
  font-size: 26px;
  transition: color 0.3s;
}

.footer-social .social-links a:hover {
  color: rgb(214, 2, 2);
}

.footer-copyright {
  margin-top: 20px;
  font-size: 14px;
  color: #ccc;
  border-top: 1px solid #333;
  padding-top: 20px;
}

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #f8f9fa;
  margin-bottom: 40px;
}

.hero-section h2 {
  font-size: 2.5rem;
  color: rgb(5, 5, 5);
  margin-bottom: 20px;
  font-weight: bold;
}

.hero-section p {
  font-size: 1.2rem;
  color: #666;
  max-width: 800px;
  margin: 0 auto 10px;
  line-height: 1.6;
}

#upcoming-note {
  font-style: italic;
  color: rgb(214, 2, 2);
}

/* Formations Grid */
.formations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto 60px;
}

/* Formation Card */
.formation-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.formation-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 20px;
}

.card-title {
  font-size: 1.5rem;
  color: rgb(5, 5, 5);
  margin-bottom: 15px;
  font-weight: bold;
}

.card-text {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
  margin-bottom: 20px;
}

.enroll-btn {
  display: inline-block;
  background-color: rgb(214, 2, 2);
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.enroll-btn:hover {
  background-color: #c00;
  color: white;
}

/* German language specific navigation fix */
html:lang(de) #cont {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 20px;
}

/* Responsive styles */
@media (max-width: 768px) {
  .header {
    flex-wrap: wrap;
  }
  .piiir {
    width: 100%;
    justify-content: center;
  }
  .switch {
    width: 100%;
    margin-left: 0;
    margin-top: 10px;
    display: flex;
    justify-content: center;
  }
  .part1 {
    flex-direction: column;
    align-items: center;
  }
  .party1 {
    margin-bottom: 10px;
  }
  .party2 {
    justify-content: center;
    gap: 10px;
  }
  .party3 {
    margin-top: 10px;
  }
  .part2 {
    flex-direction: column;
  }
  .pir1, .pir2 {
    width: 100%;
  }
  #lok {
    width: 100%;
    height: auto;
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  .footer-info, .footer-social {
    text-align: center;
    margin-bottom: 20px;
  }
  .footer-social .social-links {
    justify-content: center;
  }

  /* Responsive for formations */
  .hero-section {
    padding: 40px 20px;
  }
  .hero-section h2 {
    font-size: 2rem;
  }
  .hero-section p {
    font-size: 1rem;
  }
  .formations-grid {
    grid-template-columns: 1fr;
    padding: 0 10px;
  }
  .formation-card {
    margin: 0 auto;
    max-width: 400px;
  }
}

/* Contact Page Specific Styles */
.contact-hero {
  text-align: center;
  padding: 60px 20px;
  background-color: #f8f9fa;
  margin-bottom: 40px;
}

.contact-hero h1 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 20px;
  font-weight: bold;
}

.contact-hero h5 {
  font-size: 1.2rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.contact-section {
  padding: 40px 20px;
  background-color: #fff;
}

.contact-form, .contact-info {
  margin-bottom: 40px;
}

.contact-form h4, .contact-info h4 {
  color: #d60202;
  font-weight: bold;
}

.info-item {
  padding: 10px 0;
}

.info-icon {
  width: 24px;
  height: 24px;
}

.contact-icon {
  width: 20px;
  height: 20px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .contact-hero {
    padding: 40px 20px;
  }
  .contact-hero h1 {
    font-size: 2rem;
  }
  .contact-hero h5 {
    font-size: 1rem;
  }
  .contact-section {
    padding: 20px 10px;
  }
  .info-item {
    flex-direction: column;
    text-align: center;
  }
  .info-icon {
    margin-bottom: 10px;
  }
}

/* Callcenter Page Specific Styles */
.callcenter-hero {
  text-align: center;
  padding: 60px 20px;
  background-color: #f8f9fa;
  margin-bottom: 40px;
}

.callcenter-hero h1 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 20px;
  font-weight: bold;
}

.callcenter-hero p {
  font-size: 1.2rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.callcenter-section, .callcenter-team, .callcenter-testimonials, .callcenter-contact {
  padding: 40px 20px;
  background-color: #fff;
}

.callcenter-section h2, .callcenter-team h2, .callcenter-testimonials h2, .callcenter-contact h2 {
  color: #d60202;
  font-weight: bold;
  margin-bottom: 30px;
}

.callcenter-feature-card, .team-member {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.callcenter-feature-card:hover, .team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.callcenter-feature-card .card-img-top, .team-member .card-img-top {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.callcenter-feature-card .card-body, .team-member .card-body {
  padding: 20px;
}

.callcenter-feature-card .card-title, .team-member h4 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 15px;
  font-weight: bold;
}

.callcenter-feature-card .card-text, .team-member p {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
}

.testimonial {
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.testimonial p {
  font-style: italic;
  margin-bottom: 10px;
}

.testimonial cite {
  font-weight: bold;
  color: #d60202;
}

/* Responsive Adjustments for Callcenter */
@media (max-width: 768px) {
  .callcenter-hero {
    padding: 40px 20px;
  }
  .callcenter-hero h1 {
    font-size: 2rem;
  }
  .callcenter-hero p {
    font-size: 1rem;
  }
  .callcenter-section, .callcenter-team, .callcenter-testimonials, .callcenter-contact {
    padding: 20px 10px;
  }
  .callcenter-section h2, .callcenter-team h2, .callcenter-testimonials h2, .callcenter-contact h2 {
    font-size: 1.8rem;
  }
}

/* German-specific navbar fixes */
html[lang="de"] .party2 a {
  white-space: nowrap;
}
