/* ---------------------------
Header Search Box 
---------------------------*/
.navsearch {background:#000000 !important;}
.searchbox {position: relative;}
  
.search-icon {
color:#0773ee !important;
background: none;
border: none;
cursor: pointer;
font-size: 1.5rem;
}

.searchform {
/* position: absolute; */
/* top: 0; */
/* left: 50%; */
/* transform: translateX(-50%); */
display: flex;
align-items: center;
background: #000000;
padding: 5px;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
z-index: 10;
opacity: 0;
/* visibility: hidden; */
pointer-events: none;
transition: opacity 0.3s ease, visibility 0.3s ease;
}

.searchform.visible {
opacity: 1;
visibility: visible;
pointer-events: auto;
}

.searchform input {
margin-right: 5px;
}
/* ---------------------------
Header Language Picker 
---------------------------*/
.language-picker {
position: relative;
display: inline-block;
font-family: Arial, sans-serif;
}

.language-btn {
background-color: #f4f4f4;
border: 1px solid #ddd;
padding: 8px 12px;
cursor: pointer;
display: flex;
align-items: center;
gap: 8px;
border-radius: 4px;
font-size: 14px;
}

.language-btn span {
font-weight: bold;
color: #333;
}

.language-dropdown {
display: none;
position: absolute;
top: 100%; /* Default dropdown position */
/* left: 0; */
background-color: white;
border: 1px solid #ddd;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
z-index: 1000;
border-radius: 4px;
/* min-width: 150px; */
overflow: hidden;
transition: transform 0.2s ease-in-out;
}

.language-dropdown a {
text-decoration: none;
color: #333;
padding: 8px 12px;
display: flex;
align-items: center;
gap: 8px;
transition: background-color 0.2s;
}

.language-dropdown a:hover {
background-color: #f0f0f0;
}

.language-dropdown img {
width: 20px;
height: 14px;
object-fit: cover;
border-radius: 2px;
}

.language-picker.active .language-dropdown {
display: block;
}

.language-picker.above .language-dropdown {
top: auto; /* Remove default position */
bottom: 100%; /* Position above the button */
}
/* ---------------------------
Products Slider Boxes Main page
---------------------------*/
.pros-owl .owl-carousel .item {
  display: flex;
  height: 100%;
}

.pros-owl .owl-carousel .owl-stage {
  display: flex;
}
.pros-owl .owl-carousel .owl-item {
  display: flex;
}

/* Make all service items same height */
.service-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  /*min-height: 100%;*/ /* Ensure it stretches */
  background: #fff; /* optional if not already set */
  box-shadow: 0 0 10px rgba(0,0,0,0.05); /* optional */
}

/* Keep image fixed height or aspect ratio */
.service-images img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Make description take remaining space */
.service-description {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Fix the height of text part to prevent uneven boxes */
.service-description p {
  flex-grow: 1;
  max-height: 120px; /* adjust based on layout */
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 5; /* show up to 5 lines */
  -webkit-box-orient: vertical;
}

/* Align link button to bottom */
.service-description a {
  margin-top: 1rem;
  /* align-self: flex-start; */
}
/* ---------------------------
Products Boxes Products page
---------------------------*/
.pros-box {
    display: flex;
    flex-wrap: wrap;
}
.pros-box > [class*='col-'] {
    display: flex;
    flex-direction: column;
}

/* item */
.blog-classic {
    display: flex;
    height: 100%;
    width: 100%;
}

/* service-item Make all items same height*/
.blog-classic .post {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid #eee;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

/* Keep image fixed height or aspect ratio */
.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Description section grows */
.post-desc {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.post-desc p {
  flex-grow: 1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  font-size: 14px;
  color: #555;
}

/* Button at bottom */
.post-bottom {
  margin-top: 1rem;
}
/* ---------------------------

---------------------------*/