/* ---------- Home hero slider (replaces slick slider) ---------- */
.hero-slider-one {
  position: relative;
  overflow: hidden;
}

.hero-slider-one .single-slider {
  background-color: #141d38;
}

.hero-slider-one .single-slider-custom:not(.is-active) {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

.hero-slider-one .single-slider-custom.is-active {
  position: relative;
  opacity: 1;
  z-index: 2;
  transition: opacity 0.7s ease;
}

.hero-slider-one ul.slick-dots {
  margin: 0;
  padding: 0;
  list-style: none;
  z-index: 5;
}

.hero-slider-one ul.slick-dots li {
  display: inline-block;
  padding: 0;
}

.hero-slider-one ul.slick-dots li button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 0;
  line-height: 0;
}

/* ---------- Mobile submenu opened by the dropdown trigger ---------- */
.header-navigation.breakpoint-on .nav-menu .main-menu ul li .sub-menu {
  padding-left: 0;
}

.header-navigation.breakpoint-on .nav-menu .main-menu ul li .dd-trigger {
  display: block;
}

/* ---------- Product grid ---------- */
.product-item .product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-item .product-info {
  flex: 1;
  min-width: 0;
}

.product-item .product-info h3.title {
  margin-bottom: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.product-item .product-sub {
  display: block;
  font-size: 13px;
  color: #9aa1b0;
  line-height: 1.4;
}

.product-meta-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.product-meta-list li {
  font-size: 15px;
  line-height: 26px;
  color: #616161;
  border-bottom: 1px dashed #ededed;
  padding: 6px 0;
}

.product-meta-list li strong {
  color: #151515;
  margin-right: 6px;
}

.product-meta-list li a {
  color: #f18101;
}

/* Certificates strip without the slick slider */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}

.portfolio-grid .portfolio-block-two .portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 991px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.page-pagination .p-list {
  justify-content: center;
  flex-wrap: wrap;
  padding-left: 0;
}

.page-pagination .p-list li > a,
.page-pagination .p-list li.thisclass {
  display: block;
  min-width: 42px;
  height: 42px;
  line-height: 42px;
  padding: 0 12px;
  border: 1px solid #e1e1e1;
  border-radius: 5px;
  color: #32353d;
  background: #fff;
}

.page-pagination .p-list li.thisclass,
.page-pagination .p-list li > a:hover {
  background: #f18101;
  border-color: #f18101;
  color: #fff;
}

/* ---------- Product detail ---------- */
.product-big-slider .product-img img {
  width: 100%;
  height: auto;
  border: 1px solid #eee;
  background: #fff;
}

.discription-tabs .nav-tabs .nav-link {
  background: transparent;
  border: 0;
  padding: 0 0 10px;
  margin-right: 30px;
  font-family: var(--rajdhani);
  font-size: 18px;
  font-weight: 600;
  color: #abb0bf;
  cursor: pointer;
}

.discription-tabs .nav-tabs .nav-link.active {
  color: #f18101;
  border-bottom: 2px solid #f18101;
}

.contact-style-two .contact-form .form_control,
.products-review-area .contact-form .form_control {
  background-color: var(--light-gray);
  color: #1b1d21;
  padding: 0 30px;
  height: 65px;
  border-radius: 5px;
  margin-bottom: 30px;
  border-bottom: none;
}

.products-review-area .contact-form textarea.form_control {
  height: auto;
  padding-top: 18px;
}

.products-review-area .contact-form .form_group {
  margin-bottom: 0;
}

/* ---------- News list ---------- */
.blog-standard-wrapper .blog-post-item .user-thumb img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

/* ---------- Small helpers ---------- */
.main-menu ul li a {
  cursor: pointer;
}

img {
  max-width: 100%;
}

.about-img-box img {
  width: 100%;
  height: auto;
}

.blog-post-with-bg {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* ---------- Language switcher ---------- */
.lang-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-right: 18px;
}

.header-top-bar .lang-switcher .lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 10px;
  font-size: 13px;
  line-height: 22px;
  color: #141d38;
  background: transparent;
  border: 1px solid #d9dde5;
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.header-top-bar .lang-switcher .lang-trigger:hover,
.lang-switcher.is-open .lang-trigger {
  color: #f18101;
  border-color: #f18101;
}

.lang-switcher .lang-trigger i.fa-globe {
  font-size: 13px;
  color: #f18101;
}

.lang-switcher .lang-trigger i.fa-angle-down {
  font-size: 11px;
  transition: transform 0.2s ease;
}

.lang-switcher.is-open .lang-trigger i.fa-angle-down {
  transform: rotate(180deg);
}

.lang-switcher .lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 1200;
  min-width: 168px;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 12px 30px rgba(20, 29, 56, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.lang-switcher.is-open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-switcher .lang-menu li {
  margin: 0;
  padding: 0;
}

.lang-switcher .lang-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 8px 16px;
  font-size: 14px;
  color: #141d38;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
}

.lang-switcher .lang-menu button:hover {
  background: #f2f5fa;
}

.lang-switcher .lang-menu button.is-active {
  color: #f18101;
  font-weight: 600;
}

.nav-lang .lang-switcher {
  display: flex;
  margin: 24px 0 0;
}

.nav-lang .lang-switcher .lang-menu {
  left: 0;
  right: auto;
}

/* Dark header variants keep the trigger readable */
.header-top-bar-three .lang-switcher .lang-trigger,
.header-top-bar-two .lang-switcher .lang-trigger {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

/* ---------- Video lightbox ---------- */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(6, 10, 24, 0.92);
  backdrop-filter: blur(2px);
}

.video-modal-inner {
  position: relative;
  width: min(100%, 1040px);
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.video-modal-inner video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 80vh;
  background: #000;
}

.video-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.video-modal-close:hover,
.video-modal-close:focus-visible {
  background: #f18101;
}

.play-content .video-popup { cursor: pointer; }

@media (max-width: 575px) {
  .video-modal { padding: 0; }
  .video-modal-inner { border-radius: 0; width: 100%; }
}
