:root {
  --primary-yellow: #fcde12;
  --primary-dark: #d4ba00;
  --industrial-black: #1a1a1a;
  --industrial-dark-gray: #2c2c2c;
  --text-gray: #666;
  --light-bg: #f4f7f6;
}

html,
body {
  width: 100%;
  overflow-x: clip;
}

body {
  font-family: "Roboto", sans-serif;
  color: var(--industrial-black);
  background-color: #fff;
}

h1,
h2,
h3,
h4,
h5,
.navbar-brand,
.btn,
.oswald-font {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.text-yellow {
  color: var(--primary-yellow) !important;
}
.bg-yellow {
  background-color: var(--primary-yellow) !important;
  color: var(--industrial-black);
}
.bg-dark-industrial {
  background-color: var(--industrial-black) !important;
  color: white;
}

.btn-yellow {
  background-color: var(--primary-yellow);
  color: var(--industrial-black);
  border: 2px solid var(--primary-yellow);
  padding: 10px 25px;
  font-weight: bold;
  transition: all 0.3s;
  border-radius: 0;
}
.btn-yellow:hover {
  background-color: transparent;
  color: var(--primary-yellow);
}
.btn-outline-yellow {
  border: 2px solid var(--primary-yellow);
  color: var(--industrial-black);
  font-weight: bold;
  border-radius: 0;
}
.btn-outline-yellow:hover {
  background-color: var(--primary-yellow);
}

.section-title {
  position: relative;
  margin-bottom: 40px;
  padding-bottom: 15px;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 4px;
  background-color: var(--primary-yellow);
}
.section-title.text-center::after {
  left: 50%;
  transform: translateX(-50%);
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

.top-bar {
  background-color: var(--industrial-dark-gray);
  color: #ccc;
  font-size: 0.85rem;
  padding: 5px 0;
}
.top-bar i {
  color: var(--primary-yellow);
  margin-right: 6px;
}

.navbar {
  background: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border-bottom: 3px solid var(--primary-yellow);
  padding-top: 15px;
  padding-bottom: 15px;
}
.navbar-brand span.brand-box {
  background: var(--primary-yellow);
  padding: 5px 10px;
  color: var(--industrial-black);
  font-weight: 900;
  font-size: 1.5rem;
  display: inline-block;
  margin-right: 10px;
  transform: skewX(-10deg);
}
.nav-link {
  font-weight: 600;
  color: var(--industrial-black) !important;
  margin: 0 10px;
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-yellow);
  transition: width 0.3s;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

footer {
  background-color: var(--light-bg);
  color: var(--text-gray);
  padding-top: 70px;
}
footer h5 {
  color: var(--industrial-black);
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}
footer h5::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-yellow);
}
footer ul li {
  margin-bottom: 12px;
}
footer ul li a {
  color: var(--text-gray);
  text-decoration: none;
  transition: 0.3s;
}
footer ul li a:hover {
  color: var(--primary-dark);
  padding-left: 8px;
}
.footer-bottom {
  background: var(--industrial-dark-gray);
  padding: 25px 0;
  border-top: 1px solid #ddd;
  color: #ccc;
}

.nav-logo {
  height: 60px;
  transition: height 0.3s ease;
}

@media (max-width: 991.98px) {
  .nav-logo {
    height: 50px;
  }
}

@media (max-width: 575.98px) {
  .nav-logo {
    height: 40px;
  }
}

/* Language Dropdown Custom Styles */
.lang-dropdown .dropdown-toggle {
  border: 1px solid #eee !important;
  padding: 8px 15px !important;
  border-radius: 4px !important;
  font-size: 0.85rem;
  font-weight: 600; /* Adjusted weight */
  transition: all 0.3s ease;
  background: #f8f9fa;
  color: var(--industrial-black) !important;
  display: flex !important;
  align-items: center;
}

.lang-dropdown .dropdown-toggle:hover {
  border-color: var(--primary-yellow) !important;
  background: white;
  color: var(--primary-dark) !important;
}

/* Remove default Bootstrap caret */
.lang-dropdown .dropdown-toggle::after {
  display: none !important;
}

.lang-dropdown .dropdown-menu {
  border: none !important;
  border-top: 3px solid var(--primary-yellow) !important;
  border-radius: 0 0 8px 8px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
  overflow: hidden;
  min-width: 180px;
  margin-top: 10px !important;
  padding: 0 !important;
}

.lang-dropdown .dropdown-item {
  padding: 12px 20px !important;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  border-bottom: 1px solid #f1f1f1;
}

.lang-dropdown .dropdown-item:last-child {
  border-bottom: none;
}

.lang-dropdown .dropdown-item:hover {
  background-color: #fff9db !important;
  color: var(--industrial-black) !important;
  padding-left: 25px !important;
}

.lang-dropdown .dropdown-item.active {
  background-color: var(--primary-yellow) !important;
  color: var(--industrial-black) !important;
  font-weight: 700;
}

.lang-dropdown .dropdown-item span {
  font-size: 1.2rem;
}

@media (max-width: 991.98px) {
  .lang-dropdown {
    margin: 15px 40px !important;
    width: calc(100% - 80px);
  }
  .lang-dropdown .dropdown-toggle {
    width: 100%;
    justify-content: space-between !important;
    padding: 12px 20px !important;
  }
  .lang-dropdown .dropdown-menu {
    border-top: none !important;
    border-left: 3px solid var(--primary-yellow) !important;
    border-radius: 0 !important;
    margin-top: 5px !important;
    background: #f8f9fa !important;
    box-shadow: none !important;
    position: relative !important;
    float: none !important;
  }
}
