/* ===== DESKTOP LANGUAGE SWITCHER ===== */
.lang-switcher-desktop {
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1px solid #e0e4ea;
  border-radius: 50px;
  padding: 3px;
  background: #f8f9fa;
}
.lang-btn-d {
  padding: 4px 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 50px;
  color: #646464;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Barlow', sans-serif;
  transition: all 0.25s ease;
}
.lang-btn-d:hover { color: #264F8F; }
.lang-btn-d.active { background: #264F8F; color: #fff; }

@media (max-width: 991px) {
  .lang-switcher-desktop { display: none; }
}

/* ===== MOBILE LANGUAGE SELECTOR (inside collapse) ===== */
.mobile-language-selector {
  padding: 15px 0 5px;
  border-top: 1px solid rgba(38,79,143,0.1);
  margin-top: 10px;
}
.mobile-language-selector .lang-options {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.mobile-language-selector .lang-option {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #264F8F;
  cursor: pointer;
  border: 1px solid #264F8F;
  transition: all 0.2s;
}
.mobile-language-selector .lang-option.active {
  background: #264F8F;
  color: #fff;
}

/* ===== BANNER DOTS ===== */
.banner-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}
.banner-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}
.banner-dot.active {
  background: #fff;
  width: 24px;
  border-radius: 4px;
}

/* ===== CONTACT INFO BOX ===== */
.contact-info-box {
  padding: 40px 30px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-info-item i {
  color: #264F8F;
  font-size: 1.1rem;
  margin-top: 3px;
  flex-shrink: 0;
  width: 20px;
}
.contact-info-item strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #121619;
  margin-bottom: 4px;
  font-family: 'Barlow', sans-serif;
}
.contact-info-item span,
.contact-info-item a {
  font-size: 0.9rem;
  color: #646464;
  line-height: 1.5;
  display: block;
}
.contact-info-item a:hover { color: #264F8F; }
.contact-socials {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}
.contact-socials a {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #f5f6f8;
  border: 1px solid #e8eaee;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #646464;
  font-size: 0.85rem;
  transition: all 0.25s ease;
}
.contact-socials a:hover {
  background: #264F8F;
  color: #fff;
  border-color: #264F8F;
}

/* ===== FOOTER LANGUAGE BUTTONS ===== */
.footer-lang-btns {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lang-btn-ft {
  text-align: left;
  font-size: 0.875rem;
  color: #646464;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  font-family: 'Hind', sans-serif;
  transition: color 0.25s ease;
}
.lang-btn-ft:hover,
.lang-btn-ft.active { color: #264F8F; }
.lang-btn-ft.active { font-weight: 600; }

/* ===== SERVICES GRID (4 columns desktop) ===== */
@media (min-width: 992px) {
  #services .row > [class*="col-lg-3"] {
    flex: 0 0 25%;
    max-width: 25%;
  }
}

/* ===== ABOUT GET IN TOUCH BUTTON ===== */
.about-content .main-btn {
  margin-top: 2rem;
}

/* ===== GALLERY RESPONSIVE ===== */
@media (max-width: 767px) {
  .gallery-container { flex-wrap: wrap; }
  .gallery-item { flex: 50%; max-width: 50%; }
  .gallery-item img { height: 160px; }
}
@media (max-width: 480px) {
  .gallery-item { flex: 50%; max-width: 50%; }
  .gallery-item img { height: 130px; }
}

/* ===== CONTACT FORM TEXTAREA HEIGHT ===== */
.contact-form textarea.form-control {
  height: 150px;
  padding-top: 15px;
}

/* ===== NAVBAR ACTIVE LINK ===== */
.navbar .navbar-nav .nav-item a.active {
  color: #264F8F;
  font-weight: 600;
}

/* ===== MOBILE DARK THEME (≤767px) ===== */
@media (max-width: 767px) {
  body {
    background: #0f1214 !important;
    color: #9aa3af;
  }

  body::before {
    background: rgba(15, 18, 20, 0.97) !important;
  }

  h1, h2, h3, h4, h5, h6 { color: #e8ecf1 !important; }
  p { color: #9aa3af !important; }

  /* Navigation */
  .navigation-bar {
    background: #0f1214 !important;
    background-attachment: unset !important;
  }
  .navigation-bar::before {
    background: rgba(10, 12, 15, 0.97) !important;
  }
  .navbar .navbar-collapse {
    background: #111518 !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5) !important;
  }
  .navbar .navbar-nav .nav-item a {
    color: #dde2ea !important;
  }
  .navbar .navbar-nav .nav-item a:hover,
  .navbar .navbar-nav .nav-item a.active {
    color: #4a7fd4 !important;
  }
  .navbar .navbar-toggler .toggler-icon {
    background-color: #e8ecf1 !important;
  }
  .navbar-contact {
    background: #1a1e24 !important;
    color: #dde2ea !important;
  }
  .mobile-social-buttons {
    border-top-color: rgba(255,255,255,0.1) !important;
  }
  .mobile-social-buttons .social-title { color: #4a7fd4 !important; }
  .mobile-language-selector { border-top-color: rgba(255,255,255,0.1) !important; }
  .mobile-language-selector .lang-option {
    color: #4a7fd4 !important;
    border-color: #4a7fd4 !important;
  }
  .mobile-language-selector .lang-option.active {
    background: #264F8F !important;
    color: #fff !important;
  }

  /* Header / Hero */
  .header-area { background-color: #0f1214 !important; }

  /* References */
  .references-area { background-color: #0f1214 !important; }
  .section-title .title { color: #e8ecf1 !important; }
  .reference-item img { filter: grayscale(100%) invert(1) !important; opacity: 0.5 !important; }
  .reference-item:hover img { filter: invert(1) !important; opacity: 0.9 !important; }

  /* About */
  .about-area { background: #0f1214 !important; }
  .about-content .about-welcome { color: #4a7fd4 !important; }
  .about-content .about-title { color: #e8ecf1 !important; }
  .about-content p { color: #9aa3af !important; }

  /* Services / Purpose */
  .services-area,
  .gray-bg { background: #161b20 !important; }
  .section-title .sub-title { color: #4a7fd4 !important; }

  .single-services {
    background: #1c2229 !important;
  }
  .single-services .services-icon i { color: #4a7fd4 !important; }
  .single-services .services-content .services-title { color: #e8ecf1 !important; }
  .single-services:hover { background: #264F8F !important; }
  .single-services:hover .services-icon i,
  .single-services:hover .services-content .services-title,
  .single-services:hover p { color: #fff !important; }

  /* Testimonial / Sustainability */
  .testimonial-active {
    background: rgba(15, 18, 20, 0.9) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
  }
  .single-testimonial .testimonial-content p { color: #c0cad8 !important; }

  /* Contact */
  .contact-area { background: #161b20 !important; }
  .contact-form {
    background: #1c2229 !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3) !important;
  }
  .contact-form .form-control {
    background: #111518 !important;
    border-color: rgba(255,255,255,0.12) !important;
    color: #e8ecf1 !important;
  }
  .contact-form .form-control::placeholder { color: rgba(255,255,255,0.25) !important; }
  .contact-form .form-control:focus {
    background: #161b20 !important;
    border-color: #4a7fd4 !important;
  }
  .contact-info-box {
    background: #1c2229 !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3) !important;
  }
  .contact-info-item strong { color: #e8ecf1 !important; }
  .contact-info-item span,
  .contact-info-item a { color: #9aa3af !important; }
  .contact-info-item a:hover { color: #4a7fd4 !important; }
  .contact-socials a {
    background: rgba(255,255,255,0.06) !important;
    border-color: rgba(255,255,255,0.1) !important;
    color: rgba(255,255,255,0.6) !important;
  }
  .contact-socials a:hover {
    background: #264F8F !important;
    color: #fff !important;
  }

  /* Footer */
  .footer-lang-btns .lang-btn-ft { color: rgba(255,255,255,0.5) !important; }
  .footer-lang-btns .lang-btn-ft.active,
  .footer-lang-btns .lang-btn-ft:hover { color: #fff !important; }

  /* Cookie */
  .cookie-alert {
    background: rgba(15, 18, 20, 0.98) !important;
    border-top-color: #264F8F !important;
  }
  .cookie-alert-text { color: #9aa3af !important; }
}
