/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/

/* ----------------------------------------------------------------------------
	Root Color
---------------------------------------------------------------------------- */

:root {
	--cnvs-themecolor: #333571;
	--cnvs-themecolor-rgb: 51,54,113;
}

/* ----------------------------------------------------------------------------
	Left Side Language Button
---------------------------------------------------------------------------- */

/* Main container wrapper */
.lang-container {
  position: fixed;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

/* Base style for the interactive element */
.lang-menu-box {
  display: flex;
  flex-direction: column;
  background-color: #333571; 
  color: white;
  border-radius: 0 8px 8px 0;
  overflow: hidden;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
  
  /* Animation controls */
  max-width: 45px; /* Shows only the icon initially */
  transition: max-width 0.4s ease;
}

/* Row style for layout alignment */
.lang-row {
  display: flex;
  align-items: center;
  background: none;
  border: none;
  color: white;
  padding: 12px;
  font-weight: bold;
  cursor: pointer;
  white-space: nowrap;
  text-align: left;
  width: 100%;
}

/* Add a subtle line between the two options */
.lang-row:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Hover effect inside the menu choices */
.lang-row:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

/* Fixed icon box size */
.btn-icon {
  display: inline-block;
  width: 20px;
  text-align: center;
}

/* Hide the text labels initially */
.btn-text {
  opacity: 0;
  margin-left: 12px;
  transition: opacity 0.2s ease;
}

/* DESKTOP HOVER & MOBILE ACTIVE STATE - EXPANSION */
.lang-container:hover .lang-menu-box,
.lang-container.active .lang-menu-box {
  max-width: 200px; /* Opens wide enough for the text labels */
}

/* Reveal text labels when expanded */
.lang-container:hover .btn-text,
.lang-container.active .btn-text {
  opacity: 1;
  transition-delay: 0.1s;
}

/* ----------------------------------------------------------------------------
	Services Grid
---------------------------------------------------------------------------- */

.grid-border {
	--cnvs-grid-border-opacity: 0;
}

.grid-border .fbox-content h3 {
	font-size: 1.375rem;
}

.dark .grid-border [class^=col-]:before,
.dark .grid-border [class^=col-]:after { border-color: rgba(255,255,255,0.05); }

.ins-categories .nav-link {
	padding: 20px 30px;
	color: #444;
	background-color: var(--bs-light);
	margin-top: 17px;
	font-size: 1.2em;
	border-radius: .25rem;
    transition: max-height .5s;
    max-height: 70px;
    overflow: hidden;
}

.ins-categories .nav-link:first-child {
	margin-top: 0;
}

.ins-categories .nav-link:hover {
	background-color: #F5F5F5;
}

.ins-categories .nav-link.active {
	color: #000;
	background-color: #E3EAF1;
	max-height: 200px;
}

.ins-categories .nav-link .tab-header img {
	width: 30px;
	height: 30px;
	line-height: 30px;
	margin-right: 15px;
	opacity: .5;
}

.ins-categories .nav-link .tab-desc {
    opacity: 0;
    transition: opacity .3s;
    color: #5B5855;
    font-size: 1.025rem;
    padding-left: 45px;
}

.ins-categories .nav-link.active .tab-desc {
	opacity: 1;
    transition: opacity .5s;
    transition-delay: .25s;
}

.widget {
	--cnvs-widget-title-font-weight: 600;
}

/* ----------------------------------------------------------------------------
	Home Page Gallery Section
---------------------------------------------------------------------------- */

.card-img-overlay * { position: relative; }

.card-img-overlay::before {
	content: '';
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(4,4,4,.45);
	border-top-left-radius: 0.25rem;
	border-top-right-radius: 0.25rem;
}

.owl-carousel .owl-dots .owl-dot {
	width: 20px;
	height: 5px;
	border-radius: 4px;
	transition: all .3s ease-out;
	opacity: .3;
}

.owl-carousel .owl-dots .owl-dot.active { width: 45px; }

#price-carousel .owl-item {
	opacity: 0;
	transform: translateY(20px);
	transition: all .4s .1s ease-out;
}

#price-carousel .owl-item.active {
	opacity: 1;
	transform: translateY(0);
}

#image-carousel { overflow: visible; }

#image-carousel .carousel-column {
	display: flex;
	flex-direction: column;
	flex: 1 0;
	margin: 0;
	padding: 0;
	list-style: none;
}
#image-carousel .column-1 { padding-right: 12px; }
#image-carousel .column-2 { padding-left: 12px; }

#image-carousel .carousel-column-container {
	display: flex;
	flex-direction: row;
}

#image-carousel .carousel-grid-item {
	display: flex;
	flex: 1;
	margin: 0;
	padding: 0;
}

#image-carousel .carousel-grid-item .item {
	flex: 1;
	position: relative;
	width: 100%;
	min-height: 150px;
	margin-bottom: 24px;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	border-radius: 5px;
	transition: all .2s ease-out;
}

.button:hover,
.top-phone:hover,
#image-carousel .carousel-grid-item:hover a.item {
	box-shadow: 0 5px 8px rgba(0, 0, 0, 0.2);
	transform: translateY(-3px);
	opacity: .95;
	color: #FFF;
}

#image-carousel .carousel-grid-item .item blockquote { z-index: 1; }

.img-overlay::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: 5px;
	background-color: rgba(var(--cnvs-themecolor-rgb, 38, 125, 244), 0.8);
}