:root {
  /* لوحة الألوان */
  --primary-color: #00334e;
  --secondary-color: #005b82;
  --accent-color: #3b95cf;
  --text-dark: #333333;
  --text-light: #666666;
  --text-white: #ffffff;
  --bg-light: #f4f7f6;
  --border-color: #e0e0e0;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);

  /* الخطوط */
  --font-ar: "Tajawal", sans-serif;
  --font-en: "Roboto", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

/* --- منطق تعدد اللغات (Trilingual Logic) --- */

/* الحالة الافتراضية (عربي RTL): إخفاء الإنجليزي والألماني */
.lang-en, .item-en,
.lang-de, .item-de {
  display: none !important;
}

/* حالة اللغة الإنجليزية */
body.en {
  font-family: var(--font-en);
  direction: ltr;
  text-align: left;
}

body.en .lang-ar, body.en .item-ar,
body.en .lang-de, body.en .item-de {
  display: none !important;
}

body.en .lang-en {
  display: block !important; 
}
body.en .lang-en.inline-display {
  display: inline !important;
}

/* حالة اللغة الألمانية (الجديدة) */
body.de {
  font-family: var(--font-en); /* نستخدم نفس خط الإنجليزي */
  direction: ltr;
  text-align: left;
}

body.de .lang-ar, body.de .item-ar,
body.de .lang-en, body.de .item-en {
  display: none !important;
}

body.de .lang-de {
  display: block !important;
}
body.de .lang-de.inline-display {
  display: inline !important;
}

/* تنسيقات عامة */
body {
  font-family: var(--font-ar);
  line-height: 1.7;
  color: var(--text-dark);
  background-color: #fff;
  overflow-x: hidden;
}
img {
  object-fit: cover;
}

/* عكس اتجاه الأيقونات في الإنجليزي والألماني */
body.en .box-icon-fix,
body.de .box-icon-fix {
  transform: scaleX(-1);
}

body.en .features-list .icon, body.de .features-list .icon,
body.en .accordion-icon, body.de .accordion-icon {
  margin-left: 0;
  margin-right: 10px;
}

body.en .accordion-header,
body.de .accordion-header {
  text-align: left;
}

body.en .footer-contact p, body.de .footer-contact p,
body.en .contact-block p, body.de .contact-block p {
  margin-left: 0;
}

/* --- بقية التنسيقات (كما هي) --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 80px 0;
}

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

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 50px;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 10px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--accent-color);
  border-radius: 2px;
}

.mt-30 {
  margin-top: 30px;
}

button {
  cursor: pointer;
  font-family: inherit;
}

.primary-button,
.cta-button {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--accent-color);
  color: var(--text-white);
  text-decoration: none;
  font-weight: 700;
  border-radius: 4px;
  transition: 0.3s;
  border: none;
}

.primary-button:hover,
.cta-button:hover {
  background-color: #cc5200;
  transform: translateY(-2px);
}

.btn {
  display: inline-block;
  padding: 10px 18px;
  background: var(--primary-color);
  color: var(--text-white);
  text-decoration: none;
  font-weight: 700;
  border-radius: 6px;
  border: none;
  transition: transform 0.15s ease, background-color 0.15s ease,
    box-shadow 0.15s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  line-height: 1;
  font-family: inherit;
}

.btn:focus,
.btn:active {
  outline: none;
  transform: translateY(-1px);
}

.btn-warning {
  background: var(--accent-color);
  color: var(--text-white);
  padding: 10px 22px;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(230, 92, 0, 0.15);
}

.btn-warning:hover {
  background: #cc5200;
  transform: translateY(-3px);
}

.btn .lang-en, .btn .lang-de {
  display: none;
}
body.en .btn .lang-ar, body.de .btn .lang-ar {
  display: none;
}

body:not(.en):not(.de) .btn {
  direction: rtl;
}

.btn-full {
  display: block;
  width: 100%;
  max-width: 420px;
  margin: 22px auto;
  padding: 14px 20px;
  text-align: center;
  font-size: 1.05rem;
  border-radius: 10px;
}

.btn-full:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  filter: brightness(0.98);
}

.btn-fill {
  display: block;
  width: 100%;
  margin: 18px 0;
}

@media (max-width: 600px) {
  .btn-full {
    max-width: 90%;
    padding: 12px 16px;
    font-size: 1rem;
  }
}

/* Header */
#main-header {
  background-color: var(--text-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo a {
  text-decoration: none;
  line-height: 1.1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.main-logo-img {
  max-height: 60px;
  width: auto;
  margin: 0 12px;
  display: inline-block;
  position: relative;
}

.logo .sub-text {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-light);
  line-height: 1;
}

.logo-bilingual .lang-en,
.logo-bilingual .lang-ar {
  display: inline-block !important;
}

@media (max-width: 768px) {
  .main-logo-img {
    max-height: 48px;
    margin: 0 8px;
  }
  .logo .sub-text {
    font-size: 0.9rem;
  }
}

#main-nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

#main-nav a:not(.cta-button) {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 700;
  transition: 0.3s;
  font-size: 1.05rem;
}

#main-nav a:not(.cta-button):hover {
  color: var(--accent-color);
}

#lang-toggle {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 6px 15px;
  border-radius: 4px;
  font-weight: 700;
  transition: 0.3s;
}

#lang-toggle:hover {
  background: var(--primary-color);
  color: var(--text-white);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--primary-color);
}

/* Slider */
.hero-slider-container {
  position: relative;
  height: 100vh;
  min-height: 500px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.hero-slide.active-slide {
  opacity: 1;
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: var(--text-white);
  max-width: 800px;
}

.experience-badge {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--text-white);
  font-size: 1.3rem;
  font-weight: 800;
  padding: 12px 30px;
  border-radius: 50px;
  margin-bottom: 25px;
  box-shadow: 0 0 0 0 rgba(230, 92, 0, 0.7);
  border: 3px solid rgba(255, 255, 255, 0.6);
  animation: pulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(230, 92, 0, 0.7);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 15px rgba(230, 92, 0, 0);
  }
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 15px;
  cursor: pointer;
  z-index: 10;
  transition: 0.3s;
}

.slider-nav:hover {
  background: var(--accent-color);
}

.prev {
  right: 20px;
}
.next {
  left: 20px;
}

body.en .prev, body.de .prev {
  right: auto;
  left: 20px;
}

body.en .next, body.de .next {
  left: auto;
  right: 20px;
}

.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.dot.active {
  background: var(--accent-color);
  transform: scale(1.2);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.service-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: 0.3s;
  text-align: center;
  border-bottom: 3px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  border-bottom-color: var(--accent-color);
}

.service-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  filter: grayscale(30%);
  transition: 0.3s;
}

.service-card:hover img {
  filter: grayscale(0%);
}

.service-card h3 {
  color: var(--primary-color);
  margin: 20px 0 10px;
  padding: 0 15px;
}

.service-card p {
  color: var(--text-light);
  padding: 0 15px 25px;
  font-size: 0.95rem;
}

/* About */
.about-content .section-title-inline {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 25px;
  padding-bottom: 0;
}

.about-content .section-title-inline::after {
  display: none;
}

.about-section-block h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.about-section-block {
  margin-bottom: 30px;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  position: relative;
  overflow: hidden;
}

.about-section-block > img {
  float: right;
  max-width: 220px;
  width: 30%;
  height: auto;
  margin: -10px 0 10px 18px;
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}
/* Flip float for LTR languages */
body.en .about-section-block > img,
body.de .about-section-block > img {
    float: left;
    margin: -10px 18px 10px 0;
}

@media (max-width: 768px) {
  .about-section-block > img {
    float: none;
    display: block;
    width: 90%;
    max-width: 420px;
    margin: 0 auto 16px;
  }
}

.two-column-layout {
  /* display: grid; */
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  align-items: center;
}

.three-column-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr 1fr;
  gap: 30px;
  align-items: center;
}

.left-photo-box,
.manager-photo-box {
  display: flex;
  align-items: center;
  justify-content: center;
}

.left-photo {
  width: 100%;
  max-width: 260px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.manager-photo-box .manager-photo {
  width: 100%;
  max-width: 260px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

@media (max-width: 992px) {
  .three-column-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .left-photo-box,
  .manager-photo-box {
    order: 0;
  }
  .about-content {
    order: 1;
  }
}

.manager-photo-box {
  position: relative;
}

.manager-photo {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.manager-quote {
  background: var(--primary-color);
  color: #fff;
  padding: 20px;
  border-radius: 8px;
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 85%;
  box-shadow: var(--shadow);
}

body.en .manager-quote,
body.de .manager-quote {
  left: auto;
  right: -30px;
}

.manager-quote h4 {
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.manager-quote h5 {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--accent-color);
}

.bio-box {
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 20px;
  border-right: 4px solid var(--accent-color);
  padding-right: 15px;
}

body.en .bio-box,
body.de .bio-box {
  border-right: none;
  border-left: 4px solid var(--accent-color);
  padding-right: 0;
  padding-left: 15px;
}

.features-list {
  list-style: none;
  margin-top: 20px;
}

.features-list li {
  margin-bottom: 12px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  font-weight: 700;
  color: var(--secondary-color);
}

.features-list .icon {
  color: var(--accent-color);
  margin-left: 10px;
}

/* Certificates */
.certificates-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
}

.certificate-image-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 450px;
}

.certificate-image-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.certificate-image-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  transition: transform 0.5s ease-in-out;
  padding: 5px;
  background-color: white;
}

.certificate-image-item:hover img {
  transform: none;
}

/* Accordion */
.achievements-accordion {
  max-width: 900px;
  margin: 0 auto;
}

.accordion-item {
  background: #fff;
  border: 1px solid var(--border-color);
  margin-bottom: 15px;
  border-radius: 6px;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  background: #fff;
  border: none;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
  text-align: right;
  transition: 0.3s;
}

.accordion-header:hover {
  background: var(--bg-light);
}

.accordion-header.active {
  background: var(--primary-color);
  color: #fff;
}

.accordion-icon {
  transition: transform 0.3s;
  font-size: 0.9rem;
}

.accordion-header.active .accordion-icon {
  transform: rotate(180deg);
  color: var(--accent-color);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background: #fafafa;
}

.accordion-content-inner {
  padding: 25px;
  color: var(--text-dark);
}

.accordion-content ul {
  padding-right: 20px;
  margin-top: 10px;
}

body.en .accordion-content ul,
body.de .accordion-content ul {
  padding-right: 0;
  padding-left: 20px;
}

.accordion-content li {
  margin-bottom: 8px;
}

/* News */
.news-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.news-header {
  display: flex;
  align-items: center;
  padding: 20px 20px 0 20px;
}

.news-title-box {
  flex-grow: 1;
  padding-right: 15px;
}

body.en .news-title-box,
body.de .news-title-box {
  padding-right: 0;
  padding-left: 15px;
}

.news-date {
  background: var(--primary-color);
  color: #fff;
  width: 70px;
  height: 70px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  line-height: 1.1;
  flex-shrink: 0;
}

.news-date .day {
  font-size: 1.5rem;
  font-weight: 800;
}

.news-date .month {
  font-size: 0.75rem;
  text-transform: uppercase;
}

.news-content {
  padding: 15px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-content h4 {
  color: var(--secondary-color);
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.news-content p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 15px;
  flex-grow: 1;
}

.read-more-link {
  text-decoration: none;
  color: var(--accent-color);
  font-weight: 700;
  font-size: 0.95rem;
  transition: 0.3s;
  align-self: flex-end;
  display: flex;
  align-items: center;
  gap: 5px;
}

body.en .read-more-link,
body.de .read-more-link {
  align-self: flex-start;
}

.read-more-link:hover {
  color: var(--primary-color);
}

.arrow-icon {
  font-size: 0.8rem;
  transition: 0.3s;
}

.read-more-link:hover .arrow-icon {
  transform: translateX(-5px);
}

body.en .read-more-link:hover .arrow-icon,
body.de .read-more-link:hover .arrow-icon {
  transform: translateX(5px);
}

body:not(.en):not(.de) .arrow-icon {
  transform: scaleX(-1);
}

/* Clients */
.clients-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  align-items: center;
}

.client-logo {
  max-height: 80px;
  max-width: 150px;
  opacity: 1;
  filter: none;
  transition: 0.3s;
}

.client-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* Footer */
footer {
  background-color: #0a1f2e;
  color: #b3c0c9;
  padding-top: 60px;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 2px;
  background: var(--accent-color);
}

body.en .footer-col h4::after,
body.de .footer-col h4::after {
  right: auto;
  left: 0;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  text-decoration: none;
  color: #b3c0c9;
  transition: 0.3s;
  display: block;
}

.footer-links a:hover {
  color: var(--accent-color);
  transform: translateX(-5px);
}

body.en .footer-links a:hover,
body.de .footer-links a:hover {
  transform: translateX(5px);
}

.contact-block {
  margin-bottom: 20px;
}

.contact-block strong {
  display: block;
  color: #fff;
  margin-bottom: 5px;
}

.contact-block i {
  color: var(--accent-color);
  margin-left: 8px;
}

body.en .contact-block i,
body.de .contact-block i {
  margin-left: 0;
  margin-right: 8px;
}

.contact-block a {
  text-decoration: none;
  color: #b3c0c9;
  transition: 0.3s;
}

.contact-block a:hover {
  color: var(--accent-color);
}

.social-icons {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

.social-icons a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  transition: 0.3s;
}

.social-icons a:hover {
  background: var(--accent-color);
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  padding: 20px 0;
  background: #071622;
  font-size: 0.9rem;
  color: #bbb;
}

.copyright p {
  margin-bottom: 5px;
  line-height: 1.6;
}

.design-credit {
  margin-top: 10px;
}

.design-credit .credit-link {
  color: aliceblue;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s;
  border-bottom: 1px dashed aliceblue;
  padding-bottom: 2px;
}

.design-credit .credit-link:hover {
  color: var(--accent-color);
  border-bottom-color: var(--accent-color);
}

/* Gallery */
#gallery {
  background-color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 15px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  display: block;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.5s ease-in-out;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 51, 78, 0.7);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.3rem;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  text-align: center;
  padding: 20px;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Contact Form */
#contact-form {
  background-color: #fff;
}

.contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
  background: var(--bg-light);
  border-radius: 10px;
  overflow: hidden;
  padding: 30px;
}

.contact-form-box {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-form-box h3,
.contact-details-box h3 {
  color: var(--primary-color);
  margin-bottom: 25px;
  font-size: 1.5rem;
  font-weight: 700;
}

.form-group {
  position: relative;
  margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 10px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 1rem;
  background: #fdfdfd;
}

.form-group label {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  color: var(--text-light);
  pointer-events: none;
  transition: 0.3s;
}

body.en .form-group label,
body.de .form-group label {
  right: auto;
  left: 15px;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not([placeholder=""]) + label,
.form-group textarea:not([placeholder=""]) + label {
  top: -10px;
  right: 10px;
  transform: translateY(0);
  font-size: 0.85rem;
  color: var(--accent-color);
  background: #fff;
  padding: 0 5px;
}

body.en .form-group input:focus + label,
body.en .form-group textarea:focus + label,
body.en .form-group input:not([placeholder=""]) + label,
body.en .form-group textarea:not([placeholder=""]) + label,
body.de .form-group input:focus + label,
body.de .form-group textarea:focus + label,
body.de .form-group input:not([placeholder=""]) + label,
body.de .form-group textarea:not([placeholder=""]) + label {
  right: auto;
  left: 10px;
}

.form-submit-btn {
  width: 100%;
  font-size: 1.1rem;
  padding: 15px 30px;
}

.contact-details-box {
  padding: 30px 0;
}

.detail-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 15px;
}

.detail-item i {
  font-size: 1.5rem;
  color: var(--accent-color);
  flex-shrink: 0;
  margin-top: 5px;
}

.detail-text strong {
  font-size: 1rem;
  color: var(--primary-color);
  display: block;
  margin-bottom: 5px;
}

.detail-text p {
  margin-bottom: 3px;
  font-size: 0.95rem;
  color: var(--text-light);
}

.map-container {
  margin-top: 30px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  display: block;
}

@media (max-width: 992px) {
  .contact-layout-grid {
    grid-template-columns: 1fr;
    padding: 0;
  }
  .contact-form-box {
    order: 2;
  }
  .contact-details-box {
    order: 1;
    padding: 30px;
  }
}

/* Responsive */
@media (max-width: 992px) {
  .header-content {
    padding: 15px;
  }
  .menu-toggle {
    display: block;
    z-index: 1001;
  }
  #main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    padding: 80px 20px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: 0.4s;
  }
  body.en #main-nav,
  body.de #main-nav {
    right: auto;
    left: -100%;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
  }
  #main-nav.active {
    right: 0;
  }
  body.en #main-nav.active,
  body.de #main-nav.active {
    left: 0;
    right: auto;
  }
  .two-column-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .manager-photo-box {
    max-width: 500px;
    margin: 0 auto;
  }
  .manager-quote {
    position: static;
    width: 100%;
    margin-top: -20px;
    border-radius: 0 0 8px 8px;
  }
  .about-content .section-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  body.en .about-content .section-title::after,
  body.de .about-content .section-title::after {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
  .bio-box {
    border: none;
    border-top: 3px solid var(--accent-color);
    padding: 20px 0 0;
  }
  .features-list {
    display: inline-block;
    text-align: right;
  }
  body.en .features-list,
  body.de .features-list {
    text-align: left;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  .experience-badge {
    font-size: 1rem;
    padding: 8px 20px;
  }
  .slider-nav {
    display: none;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .accordion-header {
    font-size: 1rem;
    padding: 15px;
  }
}
@media (max-width: 600px) {
  .certificates-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
  .certificate-image-item {
    height: 350px;
  }
  .certificate-image-item img {
    padding: 0;
  }
}

/* Quick Contact */
#quick-contact-mobile {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1050;
  display: flex;
  /*flex-direction: column-reverse;*/
  gap: 15px;
  visibility: visible;
  opacity: 1;
  transition: all 0.3s;
}

body.en #quick-contact-mobile,
body.de #quick-contact-mobile {
  right: auto;
  left: 30px;
}

.quick-btn {
  width: 60px;
  height: 60px;
  font-size: 1.8rem;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  color: white;
  transition: transform 0.2s;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

.phone-btn {
  background-color: #e65c00;
}
.whatsapp-btn {
  background-color: #25d366;
}
.quick-btn:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

@media (max-width: 768px) {
  .quick-btn {
    width: 55px;
    height: 55px;
    font-size: 1.5rem;
  }
}

/* Video */
#video-presentation {
  background-color: var(--bg-light);
}

.video-container-box {
  max-width: 900px;
  margin: 0 auto 30px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 5px solid var(--primary-color);
}

.video-container-box iframe,
.video-container-box video {
  display: block;
  width: 100%;
  height: 500px;
}

.video-description {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .video-container-box iframe,
  .video-container-box video {
    height: 250px;
  }
}