/*
 Theme Name: Glorek Hello Elementor Child
 Theme URI: https://glorek.com
 Description: Official child theme for Hello Elementor by Glorek
 Author: Glorek
 Author URI: https://glorek.com
 Template: hello-elementor
 Version: 1.0.0
*/

:root {
  --glk-blue: #004aad;
  --glk-green: #25d366;
  --glk-white: #ffffff;
  --glk-dark: #333333;
  --glk-white-muted: #ffffff5c;
  --glk-primary: #023a51;
  --glk-accent: #004aad;
  --glk-text-grey: #555;
  --glk-bg-light: #f9f9f9;
  --glk-header-font-weight: 500;
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: cubic-bezier(0.5, 0, 0.2, 1);
  --spacing-xs: 8px;
  --spacing-sm: 12px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 40px
}


.ltr {
  direction: ltr !important
}

.rtl {
  direction: rtl !important
}

.w-full {
  width: 100%
}

.glorek-container {
  width: 100% !important;
  max-width: 1280px !important;
  margin: 0 auto
}
.glorek-container{
	padding-left: 20px;
	padding-right: 20px;
}
.glorek-container-full{
	width: 100%;
	margin: 0 auto;
	padding-left: 20px;
	padding-right: 20px;
	box-sizing: border-box;
}

@media (max-width: 500px){
	.glorek-container,
	.glorek-container-full{
		padding-left: 16px;
		padding-right: 16px;
	}
}
/* General Classes */
.service-cards {
    gap: 30px;
}
.section-header{
	gap:0px;
}

.features-section{
	
}

@media (max-width: 769px) {
    .service-cards {
        gap: 24px;
    }
}

@media (max-width: 500px) {
    .service-cards {
        gap: 16px;
    }
}

/* General classes end here */
/* basic template */

    /* =====================================
   FLEX / GRID HELPERS
===================================== */
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.grid { display: grid; }


/* =====================================
   GAP SYSTEM
   (direct container + first .e-con-inner)
===================================== */

/* DESKTOP */
/* Default gap-0 */
.gap-0,
.gap-0 .e-con-inner {
  gap: 0px;
}

.gap-1,
.gap-1 .e-con-inner {
  gap: 2px;
}

/* Arabic (RTL) override */
html[lang="ar"] .gap-0,
html[lang="ar"] .gap-0 .e-con-inner {
  gap: 5px ;
}

html[lang="ar"] .gap-1,
html[lang="ar"] .gap-1 .e-con-inner {
  gap: 10px;
}
/* .gap-1,
.gap-1 .e-con-inner {
  gap: 10px;
} */



.gap,
.gap .e-con-inner:first-child { gap: 24px; }

.gap-xs,
.gap-xs .e-con-inner:first-child { gap: 8px; }

.gap-sm,
.gap-sm .e-con-inner:first-child { gap: 16px; }

.gap-md,
.gap-md .e-con-inner:first-child { gap: 24px; }

.gap-lg,
.gap-lg .e-con-inner:first-child { gap: 40px; }

.gap-xl,
.gap-xl .e-con-inner:first-child { gap: 64px; }


/* =====================================
   TABLET GAP (≤ 1024px)
===================================== */
@media (max-width: 1024px) {

  .gap,
  .gap .e-con-inner:first-child { gap: 20px; }
 
  .gap-xs,
  .gap-xs .e-con-inner:first-child,
  .gap-t-xs,
  .gap-t-xs .e-con-inner:first-child { gap: 6px; }

  .gap-sm,
  .gap-sm .e-con-inner:first-child,
  .gap-t-sm,
  .gap-t-sm .e-con-inner:first-child { gap: 12px; }

  .gap-md,
  .gap-md .e-con-inner:first-child,
  .gap-t-md,
  .gap-t-md .e-con-inner:first-child { gap: 20px; }

  .gap-lg,
  .gap-lg .e-con-inner:first-child,
  .gap-t-lg,
  .gap-t-lg .e-con-inner:first-child { gap: 32px; }

  .gap-xl,
  .gap-xl .e-con-inner:first-child,
  .gap-t-xl,
  .gap-t-xl .e-con-inner:first-child { gap: 48px; }
}


/* =====================================
   MOBILE GAP (≤ 768px)
===================================== */
@media (max-width: 768px) {

  .gap,
  .gap .e-con-inner:first-child { gap: 14px; }

  .gap-xs,
  .gap-xs .e-con-inner:first-child,
  .gap-m-xs,
  .gap-m-xs .e-con-inner:first-child { gap: 4px; }

  .gap-sm,
  .gap-sm .e-con-inner:first-child,
  .gap-m-sm,
  .gap-m-sm .e-con-inner:first-child { gap: 8px; }

  .gap-md,
  .gap-md .e-con-inner:first-child,
  .gap-m-md,
  .gap-m-md .e-con-inner:first-child { gap: 14px; }

  .gap-lg,
  .gap-lg .e-con-inner:first-child,
  .gap-m-lg,
  .gap-m-lg .e-con-inner:first-child { gap: 20px; }

  .gap-xl,
  .gap-xl .e-con-inner:first-child,
  .gap-m-xl,
  .gap-m-xl .e-con-inner:first-child { gap: 28px; }
}





/* =====================================
   SECTION PADDING (GLOBAL)
===================================== */
.full-section .e-con-inner,
.section .e-con-inner {
  padding-top: 80px !important;
    padding-bottom: 80px !important;
}

@media (max-width: 768px) {
  .full-section .e-con-inner,
  .section .e-con-inner {
  padding-top: 60px !important;
    padding-bottom: 60px !important;
  }
}

@media (max-width: 600px) {
  .full-section .e-con-inner,
  .section .e-con-inner {
  padding-top: 50px !important;
    padding-bottom: 50px !important;
  }
}

/* Desktop only */
@media (min-width: 769px) {
  .section .e-con-inner {
    padding-top: 0 !important;
  }
}

/* =====================================
   PADDING UTILITIES
===================================== */
.p-0,
.p-0 .e-con-inner {
  padding: 0 !important;
}

.elementor-swiper-button {
    width: 36px;
    height: 36px;
    background: #0047ab;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}


.elementor-swiper-button svg {
    color: #fff;
	width: 0.7em !important;
	height:0.7em !important;
	/*     font-size: 14px; */
}

.elementor-swiper-button:hover {
    background: #022f7a;
    transform: scale(1.1);
}

.elementor-swiper-button-next {
    right: -18px !important;
}

.elementor-swiper-button-prev {
    left: -18px !important;
}

@media (max-width: 600px) {
.elementor-swiper-button-next {
    right: -13px !important;
}

.elementor-swiper-button-prev {
    left: -13px !important;
}
}

/* basic template end here  */
html[lang^=en] a,
html[lang^=en] body,
html[lang^=en] button,
html[lang^=en] div,
html[lang^=en] h1,
html[lang^=en] h2,
html[lang^=en] h3,
html[lang^=en] h4,
html[lang^=en] h5,
html[lang^=en] h6,
html[lang^=en] li,
html[lang^=en] p,
html[lang^=en] span {
  font-family: Roboto, sans-serif !important
}

html[lang^=ar] a,
html[lang^=ar] body,
html[lang^=ar] button,
html[lang^=ar] div,
html[lang^=ar] h1,
html[lang^=ar] h2,
html[lang^=ar] h3,
html[lang^=ar] h4,
html[lang^=ar] h5,
html[lang^=ar] h6,
html[lang^=ar] li,
html[lang^=ar] p,
html[lang^=ar] span {
  font-family: Cairo, sans-serif !important
}

html[lang^=ar] div,
html[lang^=ar] p {
  font-size: 17px;
  word-spacing: 1.1px;
  line-height: 1.7em
}

/*  Dialog Form Start from here */
.dialog-overlay {
  opacity: 0;
  transition: opacity .35s ease
}

.dialog-overlay.dialog-overlay-visible {
  opacity: 1
}

.elementor-popup-modal .dialog-message {
  width: 100% !important;
  max-width: 800px !important;
  overflow: hidden;
}
.elementor-popup-modal .dialog-message{
	    scrollbar-width: none;   /* Firefox */
    -ms-overflow-style: none;/* IE & Edge */
}
.elementor-popup-modal .dialog-message::-webkit-scrollbar {
    display: none;           /* Chrome, Safari */
}
.dialog-widget-content.dialog-lightbox-widget-content {
  background: var(--glk-white);
  border-radius: 20px !important;
  padding: var(--spacing-xl) 35px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .15);
  display: flex;
  flex-direction: column;
  max-height: none !important;
  transform: scale(.9) translateY(30px);
  opacity: 0;
  transition: transform .45s var(--transition-smooth), opacity .35s ease
}

.dialog-widget-content.dialog-lightbox-widget-content.animated {
  transform: scale(1) translateY(0);
  opacity: 1;
	width:600px;
	height:85vh;
}

.dialog-widget-content .dialog-close-button {
  top: 20px;
  right: 22px;
  font-size: 18px
}

.glorek-form .elementor-field-group {
  margin-bottom: var(--spacing-md)
}

.glorek-form input,
.glorek-form select,
.glorek-form textarea {
  background: var(--glk-white);
  padding: 14px var(--spacing-md) !important;
  font-size: 15px !important;
  border-radius: 10px !important;
  height: auto !important;
  transition: all .3s ease
}

.glorek-form textarea {
  min-height: 120px;
  resize: none
}

.glorek-form ::placeholder {
  color: #9ca3af
}

.glorek-form input:focus,
.glorek-form select:focus,
.glorek-form textarea:focus {
  outline: 0;
  border-color: #0a4dbf;
  box-shadow: 0 0 0 4px rgba(10, 77, 191, .1)
}

.glorek-form .elementor-button {
  width: 100%;
  height: 52px;
  border-radius: var(--spacing-sm);
  font-size: var(--spacing-md);
  font-weight: 600;
  background: linear-gradient(135deg, #0a4dbf, #083a92);
  color: var(--glk-white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s ease
}

.glorek-form .elementor-button-icon {
  font-size: 18px !important
}

.glorek-form .elementor-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(10, 77, 191, .3)
}

.glorek-form .elementor-button:active {
  transform: scale(.98)
}

.elementor-message-success {
  background: #10b981 !important;
  color: var(--glk-white) !important;
  border-radius: 10px;
  padding: 15px;
  margin-top: 20px;
  text-align: center
}
/*  Dialog Form Start from here */
.our-clients-carousel .elementor-image-carousel .swiper-slide-image {
  filter: grayscale(1);
  transition: filter .4s ease-in-out
}

.our-clients-carousel .elementor-image-carousel .swiper-slide-image:hover {
  filter: grayscale(0)
}

/*  Glorek Header */
.glorek-header {
  background: var(--glk-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  transition: transform .4s var(--transition-bounce);
  will-change: transform
}

.top-bar {
  display: flex;
  justify-content: flex-end;
  padding: var(--spacing-xs);
  font-size: 12px;
  border-bottom: 1px solid #eee;
  transition: max-height .3s ease, padding .3s ease, opacity .3s ease;
  max-height: 50px
}

.glk-lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
}
.glk-lang-switcher .lang-item{
	display: flex;
    gap: 6px;
    align-items: center;
}
.glk-lang-switcher .lang-item img{
	    border-radius: 4px;
    aspect-ratio: 16 / 9;
    height: max-content;
    width: 24px;
}


.glk-lang-switcher li {
  list-style: none;
}

.glk-lang-switcher li a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-size: 12px;
  text-transform: uppercase;
  position: relative;
  transition: color .3s ease;
}

.lang-flag {
  width: 18px;
  height: auto;
  display: inline-block;
}

.flyout-menu a,
.glk-lang-switcher li a,
.mobile-grandchild-list a {
  color: var(--glk-primary);
}

.glk-lang-switcher li a:hover {
  color: var(--glk-accent);
}

.glk-lang-switcher li.current-lang a {
  color: var(--glk-accent);
  border-bottom: 1px solid var(--glk-accent);
}


.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 10px;
  max-height: 80px;
  position: relative;
  z-index: 1001
}

.logo {
  width: 147px;
}

.nav-links {
  display: flex;
  gap: var(--spacing-lg);
/*   list-style: none;
  height: 40px; */
  align-items: center;
  margin: 0;
  padding: 0
}
.nav-links .glk-text-default, 
.nav-links .glk-text-hover {
	font-weight: 500;
}
.glk-arrow-link {
  font-size: 18px;
  opacity: .8;
  transform: rotate(0deg);
  transition: transform .3s ease
}

body.rtl .glk-arrow-link {
  transform: rotate(180deg);
}

.nav-item {
  cursor: pointer;
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  font-size: var(--spacing-md);
  background: 0 0;
  border: none
}

.glk-roll-container {
  position: relative;
  height: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  line-height: 24px
}

/* ✅ FIXED: Normal menu items ke liye hover animation */
.menu-link-item .glk-roll-inner {
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
}

.menu-link-item:hover .glk-roll-inner {
  transform: translateY(-100%);
}
.elementor-button-content-wrapper{
	align-items:center;
}
/* ✅ FIXED: Active page par hover animation band karo */
.menu-link-item.active-page .glk-roll-inner {
  transform: translateY(0%); /* Already shifted to show blue */ 
  transition: none !important; /* No animation on hover */
}

/* ✅ FIXED: Desktop nav items ke liye */
.nav-item .glk-roll-inner {
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
}

.nav-item:hover .glk-roll-inner {
  transform: translateY(-24px);
}

/* ✅ FIXED: Active tab main hover animation disable */
.nav-item.active-tab .glk-roll-inner {
  transform: translateY(-24px) !important;
  transition: none !important;
}
.nav-item.active-tab i{
	color: var(--glk-blue);
}

/* ✅ FIXED: Active page ka text color */
.menu-link-item.active-page .glk-text-default,
.menu-link-item.active-page .glk-text-hover {
  color: var(--glk-accent) !important;
}

.glk-text-default,
.glk-text-hover {
  display: block;
  white-space: nowrap
}

.glk-text-default {
  color: var(--glk-primary)
}

.glk-text-hover {
  color: var(--glk-accent)
}

.nav-item.active-link .glk-roll-inner,
.nav-item:hover .glk-roll-inner {
  transform: translateY(-24px)
}

.nav-item i {
  margin-left: var(--spacing-xs);
  font-size: 14px;
  color: var(--glk-primary);
  transition: transform .4s ease, color .3s
}

.nav-item.active-link i,
.nav-item:hover i {
  color: var(--glk-accent)
}

.nav-item.active-link i.fa-chevron-down {
  transform: rotate(180deg)
}

/* ✅ FIXED: Nav item underline */
.nav-item::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--glk-accent);
  transform: scaleX(0);
  transition: transform .4s var(--transition-bounce);
  transform-origin: left center
}

.nav-item.active-link::after,
.nav-item.active-tab::after,
.nav-item:hover::after {
  transform: scaleX(1)
}

.header-actions {
  display: flex;
  gap: var(--spacing-sm);
  align-items: center;
/*   margin-left: auto */
}

.mobile-lang-wrapper {
  display: none;
  position: relative;
  margin-left: auto;
  margin-right: 0px
}

body.rtl .mobile-lang-wrapper {
  margin-left: 0px;
  margin-right: auto
}

.mobile-lang-trigger {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  cursor: pointer;
  font-size: 14px;
  color: var(--glk-primary);
  user-select: none;
  padding: 5px
}

.mobile-lang-trigger img.lang-flag {
  width: 20px;
  height: auto;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .2)
}

.mobile-lang-trigger i {
  font-size: 12px;
  transition: transform .3s
}

.mobile-lang-dropdown {
  position: absolute;
  top: 100%;
  right: -10px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, .1);
  padding: var(--spacing-xs) 0;
  min-width: 140px;
  flex-direction: column;
  display: none;
  z-index: 10000;
}

body.rtl .mobile-lang-dropdown {
  right: auto;
  left: -10px
}

.mobile-lang-dropdown.show-lang {
  display: flex;
  animation: fadeInDrop .2s ease-out
}

@keyframes fadeInDrop {
  from {
    opacity: 0;
    transform: translateY(-5px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.mobile-lang-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  text-decoration: none;
  color: var(--glk-primary);
  font-size: 14px;
  transition: background .2s
}

.mobile-lang-dropdown a:hover {
  background-color: #f5f7fa;
  color: var(--glk-accent)
}

.mobile-lang-dropdown img.lang-flag {
  width: 20px;
  height: auto;
  border-radius: 2px
}

.mobile-toggle {
  display: none;
  font-size: 24px;
  color: var(--glk-primary);
  cursor: pointer;
  width: 36px;
  height: 45px;
  text-align: center;
  line-height: 45px;
  justify-content: center;
  align-items: center;
  margin: 0
}

.close-btn {
  display: none
}

.mega-menu-container {
  position: fixed;
  left: 0;
  width: 100%;
  height: auto;
  background: #fff;
  border-top: 1px solid #eee;
  box-shadow: 0 15px 30px rgba(0, 0, 0, .1);
  z-index: 9990;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: none;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity .4s ease, transform .4s ease
}

.mega-menu-wrapper {
  padding: var(--spacing-xl) 50px;
  position: relative
}

.mega-menu-container.show {
  opacity: 1;
  transform: translateY(0)
}

.close-btn {
  position: absolute;
  top: 13px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
  color: var(--glk-primary);
  width: 45px;
  height: 45px;
  text-align: center;
  line-height: 45px;
  display: flex;
  justify-content: center;
  align-items: center
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  align-items: start;
}
.glk-tech-desktop-wrap,
.mega-menu-grid{
	padding-bottom: 50px
}

.glk-fade-out {
  animation: fadeOut .25s forwards
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateY(0)
  }

  to {
    opacity: 0;
    transform: translateY(-10px)
  }
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(20px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.anim-col {
  opacity: 0
}

.active-content .anim-col {
  animation: slideUpFade .5s ease forwards
}

.active-content .anim-col:nth-child(1) {
  animation-delay: 50ms
}

.active-content .anim-col:nth-child(2) {
  animation-delay: .15s
}

.active-content .anim-col:nth-child(3) {
  animation-delay: .25s
}

.menu-col-1 h2 {
  color: var(--glk-accent);
  font-size: 32px;
  margin-bottom: 20px
}

.menu-col-1 p {
  color: var(--glk-text-grey);
  line-height: 1.6;
  font-size: var(--spacing-md)
}

.menu-links {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.menu-link-wrapper {
  position: relative;
  display: block;
  border-bottom: 1px solid transparent
}

.menu-link-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  color: var(--glk-primary);
  font-size: 18px;
  padding: 4px 0;
  width: 100%;
  cursor: pointer;
  transition: all .2s
}

.menu-link-item .glk-roll-container {
  pointer-events: none
}

.menu-link-item i {
  transition: transform .3s;
  margin-left: 10px
}

/* ✅ FIXED: Hover effect only on non-active items */
.menu-link-item:not(.active-page):hover .glk-roll-inner {
  transform: translateY(-24px)
}

.menu-link-item:hover i {
  color: var(--glk-accent)
}

.menu-link-wrapper.show-flyout .menu-link-item .glk-roll-inner {
  transform: translateY(-24px) !important
}

.menu-link-wrapper.show-flyout>.menu-link-item>i {
  transform: rotate(180deg);
  color: var(--glk-accent)
}

.menu-link-wrapper.show-flyout>.menu-link-item .glk-text-default {
  color: var(--glk-accent)
}

.flyout-menu {
  position: relative;
  width: 100%;
  background: #f8f9fa;
  box-shadow: none;
  padding: 0;
  display: none;
  z-index: 10;
  margin-top: 5px;
  margin-bottom: 10px;
  border-left: 3px solid var(--glk-accent)
}

.menu-link-wrapper.show-flyout>.flyout-menu {
  display: block !important;
  animation: expandDown .3s ease-in-out
}

@keyframes expandDown {
  from {
    opacity: 0;
    transform: translateY(-5px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.flyout-menu a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  font-size: var(--spacing-md);
  border-bottom: 1px solid #eee;
  transition: all .2s
}

.flyout-menu a:hover {
  background-color: #eef2f5;
  color: var(--glk-accent);
  padding-left: 20px
}

.menu-card {
  background: #fff;
  border-radius: var(--spacing-xs);
  overflow: hidden
}

.menu-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 0 40px 0 0
}

.card-content {
  padding-top: 15px
}

.card-content h3 {
  color: var(--glk-primary);
  font-size: 22px;
  margin-bottom: 10px
}

.card-content p {
  color: var(--glk-text-grey);
  font-size: 14px;
  margin-bottom: 15px;
  line-height: 1.5
}

@media (min-width:993px) and (max-width:1191px) {
  .logo {
/*     margin-right: 18px */
  }

  body.rtl .logo {
/*     margin-left: 18px; */
    margin-right: 0
  }

  .glk-liquid-btn-txt {
    display: none
  }

  .main-nav {
    padding: 15px var(--spacing-lg)
  }

  .nav-links {
    gap: var(--spacing-sm)
  }

  body.rtl .nav-links {
    gap: 20px
  }
}

@media (max-width:992px) {

  .header-actions,
  .nav-links,
  .top-bar {
    display: none
  }

  .mobile-lang-wrapper,
  .mobile-toggle {
    display: flex
  }

  .main-nav {
    padding: 14px 10px;
    height: 78px
  }

  .close-btn {
    display: none
  }

  .mega-menu-container {
    background: var(--glk-white);
    height: auto !important
  }

  .mega-menu-wrapper {
    padding: 20px;
    height: auto
  }

  #mega-menu-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: flex-start;
    gap: 20px
  }

  .anim-col {
    opacity: 1
  }

  .active-content .anim-col {
    animation: none
  }

  @keyframes mobileItemFadeUp {
    from {
      opacity: 0;
      transform: translateY(20px)
    }

    to {
      opacity: 1;
      transform: translateY(0)
    }
  }

  @keyframes mobileSlideInRight {
    from {
      opacity: 0;
      transform: translateX(30px)
    }

    to {
      opacity: 1;
      transform: translateX(0)
    }
  }

  .mobile-main-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
    margin: 0
  }

  .mobile-main-item {
    font-size: 18px;
    color: var(--glk-primary);
    padding: 15px 10px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    animation: mobileItemFadeUp .4s ease forwards
  }

  .mobile-main-item:active {
    background-color: var(--glk-bg-light)
  }

  .mobile-main-item i {
    font-size: var(--spacing-md)
  }

  .mobile-main-item:nth-child(1) {
    animation-delay: 50ms
  }

  .mobile-main-item:nth-child(2) {
    animation-delay: .1s
  }

  .mobile-main-item:nth-child(3) {
    animation-delay: .15s
  }

  .mobile-main-item:nth-child(4) {
    animation-delay: .2s
  }

  .mobile-main-item:nth-child(5) {
    animation-delay: .25s
  }

  .mobile-main-item:nth-child(6) {
    animation-delay: .3s
  }

  .mobile-main-item:nth-child(7) {
    animation-delay: .35s
  }

  .mobile-main-item:nth-child(8) {
    animation-delay: .4s
  }

  .mobile-menu-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 25px;
    padding-top: 20px;
/*     border-top: 2px solid #f0f0f0; */
    padding-bottom: 20px;
    opacity: 0;
    animation: mobileItemFadeUp .4s ease forwards;
    animation-delay: .45s
  }
	.elementor-button{
		line-height:21px;
		width: 100%;
	}
	.elementor-button-content-wrapper{
		gap:10px;
	}

  .mobile-menu-buttons .glk-liquid-btn {
    justify-content: center;
    width: 100%;
    font-size: var(--spacing-md);
    padding: var(--spacing-sm);
    border-radius: 50px
  }

  .glk-liquid-btn .fa-phone-alt {
    font-size: 18px
  }

  .mobile-menu-buttons i.fab.fa-whatsapp {
    font-size: 22px
  }

  .mobile-back-btn,
  .mobile-stack-layout {
    animation: mobileSlideInRight .3s ease-out forwards
  }

  .mobile-back-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--spacing-md);
    color: var(--glk-primary);
    padding: 15px 10px;
/*     margin-bottom: 20px; */
    background: #f0f2f5;
    border-radius: 5px;
    cursor: pointer;
	width:max-content;
	border-radius:16px;
  }

  body.rtl .mobile-back-btn i,
  body.rtl .mobile-main-item i {
    transform: rotate(180deg)
  }

  .mobile-stack-layout .menu-col-1,
  .mobile-stack-layout .menu-col-2,
  .mobile-stack-layout .menu-col-3 {
    margin-bottom: 30px
  }

  .mobile-sub-group {
    border-bottom: 1px solid #eee
  }

  .mobile-sub-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
    font-size: 18px;
    color: var(--glk-primary);
    cursor: pointer
  }

  .mobile-sub-trigger i {
    font-size: var(--spacing-md)
  }

  .mobile-grandchild-list {
    display: none;
    background-color: var(--glk-bg-light);
    color: var(--glk-accent);
    padding-left: 20px;
    border-left: 2px solid var(--glk-accent);
    margin-bottom: 10px
  }

  .mobile-grandchild-item {
    display: block;
    padding: 10px 0;
    font-size: var(--spacing-md);
    text-decoration: none;
    border-bottom: 1px solid #e0e0e0
  }

  .mobile-grandchild-item:last-child {
    border-bottom: none
  }

  html[lang^=ar] div,
  html[lang^=ar] p {
    font-size: var(--spacing-md);
    word-spacing: 1.1px;
    line-height: 1.7em
  }

  .dialog-widget-content.dialog-lightbox-widget-content {
    width: 100% !important;
    max-width: 100vw !important;
    max-height: 92vh !important;
    padding: 22px var(--spacing-md) 18px;
    border-radius: var(--spacing-md)
  }

  .dialog-widget-content .dialog-close-button {
    top: var(--spacing-sm);
    right: 14px;
    font-size: var(--spacing-md)
  }

  .glorek-form input,
  .glorek-form select,
  .glorek-form textarea {
    font-size: 14px !important;
    padding: var(--spacing-sm) 14px !important;
    border-radius: var(--spacing-xs) !important
  }

  .glorek-form textarea {
    min-height: 90px
  }

  .glorek-form .elementor-button {
    height: 48px;
    font-size: 15px;
    border-radius: 10px;
    margin-top: 10px
  }

  .glorek-form .elementor-button-icon {
    font-size: 18px !important
  }
}
@media (max-width: 992px){
	.mobile-main-item {
        font-size: 16px;
    }
	.mobile-col-links{
		padding-left:4px;
	}
}
@media (max-width:550px) {
	.dialog-widget-content{
		padding-top:30px !important;
	}
  	.elementor-popup-modal .dialog-message {
    	overflow-x: hidden !important;
  	}
	.elementor-popup-modal .dialog-message{
		overflow-y : scroll !important;
	}
	.elementor-popup-modal .dialog-close-button {
		top:15px !important;
	}
}

@media (max-width:480px) {
/*   .dialog-widget-content.dialog-lightbox-widget-content {
    padding: 20px 14px
  } */

  .glorek-form input,
  .glorek-form textarea {
    font-size: 13px !important
  }

  .glorek-form .elementor-button {
    font-size: 14px
  }
}

body.rtl .glorek-header {
  direction: rtl
}

body.rtl .glk-lang-switcher {
  margin: 0 20px 0 0
}

body.rtl .nav-item i {
  margin-left: 0;
  margin-right: var(--spacing-xs)
}

body.rtl .menu-link-item i {
  margin-left: 0;
  margin-right: auto
}

body.rtl .close-btn {
  right: auto;
  left: 20px
}

body.rtl .flyout-menu {
  border-left: none;
  border-right: 3px solid var(--glk-accent)
}

body.rtl .flyout-menu a:hover {
  padding-left: 15px;
  padding-right: 20px
}

body.rtl .header-actions {
  margin-left: 0;
}

body.rtl .nav-item::after {
  transform-origin: right center
}

.glorek-form .elementor-button,
.menu-link-item,
.mobile-main-item,
.nav-item {
  will-change: transform
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale
}

html {
  scroll-behavior: smooth
}

.glorek-form .elementor-button:focus-visible,
.glorek-form input:focus-visible,
.glorek-form textarea:focus-visible,
.menu-link-item:focus-visible,
.nav-item:focus-visible {
  outline: 2px solid var(--glk-accent);
  outline-offset: 2px
}

@media (prefers-reduced-motion:reduce) {

  *,
  ::after,
  ::before {
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important
  }
}




/* ==========================================
   TESTIMONIAL CARD (EN + AR AUTO)
========================================== */

.gl-tm-card {
    position: relative !important;
    overflow: visible !important; 
    background-color: #f7f7f7 !important;
    border-radius: 40px !important;
    padding: 60px 30px 30px 30px !important; 
    margin-top: 60px !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important; 
    height: 100% !important;
    box-sizing: border-box;
}

/* ==========================================
   BLUE RIBBON HEADER (Default EN/LTR)
========================================== */
.gl-tm-header {
    position: absolute !important;
    top: -15px !important;
    left: -15px !important;
    background-color: var(--glk-blue, #33599b) !important;
    padding: 12px 25px !important;
    border-radius: 25px 25px 25px 0px !important;
    z-index: 5 !important;
    width: auto !important;
    min-width: 200px;
}

/* Ribbon Triangle (LTR) */
.gl-tm-header::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -12px;
    border-left: 12px solid transparent;
    border-top: 12px solid #1a3563;
}

/* ==========================================
   PROFILE IMAGE (Default EN/LTR)
========================================== */
.gl-tm-img-wrap {
    position: absolute !important;
    top: -60px !important; 
    right: 25px !important;
    z-index: 10 !important;
    padding: 0 !important;
    width: 120px !important;
    height: 120px !important;
}

.gl-tm-img-wrap img {
    border-radius: 50% !important;
    border: 6px solid #fff !important;
    object-fit: cover !important;
    width: 120px !important;
    height: 120px !important;
}

/* ==========================================
   BODY & TEXT (Default EN/LTR)
========================================== */
.gl-tm-body {
    border-left: 4px solid #33599b !important;
    padding-left: 20px !important;
    margin-top: 6px !important;
}

.gl-tm-name .elementor-widget-container {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
}

.gl-tm-designation .elementor-widget-container p {
    color: rgba(255,255,255,0.8) !important;
    font-size: 0.85rem !important;
    margin: 0 !important;
}

.gl-tm-text .elementor-widget-container {
    line-height: 1.6 !important;
    font-size: 16px !important;
    margin-top: 10px !important;
}

.gl-tm-body .e-rating-wrapper .e-icon-marked svg {
    fill: #ffcc00 !important;
}

/* =================================================
   ✅ AUTO RTL when html lang="ar"
================================================= */

/* Header RTL */
html[lang="ar"] .gl-tm-header {
    left: auto !important;
    right: -15px !important;
    border-radius: 25px 25px 0px 25px !important;
}

/* Triangle RTL */
html[lang="ar"] .gl-tm-header::after {
    left: auto !important;
    right: 0 !important;
    border-left: none !important;
    border-right: 12px solid transparent !important;
}

/* Image RTL */
html[lang="ar"] .gl-tm-img-wrap {
    right: auto !important;
    left: 25px !important;
}

/* Body RTL */
html[lang="ar"] .gl-tm-body {
    border-left: none !important;
    border-right: 4px solid #33599b !important;
    padding-left: 0 !important;
    padding-right: 20px !important;
    text-align: right !important;
}

/* ==========================================
   RESPONSIVE (Mobile)
========================================== */
@media (max-width: 500px) {

    .gl-tm-card {
        padding: 80px 20px 25px 20px !important; 
        margin-top: 50px !important;
        margin-left: 15px !important;
        margin-right: 15px !important;
        border-radius: 30px !important;
    }

    .gl-tm-header {
        left: -12px !important; 
        top: -10px !important;
        min-width: 140px;
        max-width: calc(100% - 100px) !important;
        padding: 10px 18px !important;
    }

    /* Mobile RTL Header */
    html[lang="ar"] .gl-tm-header {
        left: auto !important;
        right: -12px !important;
    }

    .gl-tm-img-wrap {
        width: 90px !important;
        height: 90px !important;
        top: -45px !important;
        right: 15px !important;
    }

    /* Mobile RTL Image */
    html[lang="ar"] .gl-tm-img-wrap {
        right: auto !important;
        left: 15px !important;
    }

    .gl-tm-img-wrap img {
        width: 90px !important;
        height: 90px !important;
        border-width: 4px !important;
    }

    .gl-tm-name .elementor-widget-container {
        font-size: 0.95rem !important;
    }

    .gl-tm-text .elementor-widget-container {
        font-size: 14px !important;
    }
}





/* Cards Css start here   */
/* --- 1. Main Card Setup --- */
.service-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Content bottom par */
    /* Height aur Image Elementor se control karein */
    transition: all 0.3s ease;
}

/* --- 2. Black Layer (Overlay) --- */
.service-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    
    /* START ME: Layer height kam (sirf heading + 1 line k liye) */
    height: 35%; 
    
    background: linear-gradient(to top, rgba(0,0,0,0.95) 10%, transparent);
    z-index: 1;
    transition: height 0.5s cubic-bezier(0.25, 0.8, 0.25, 1); /* Super Smooth */
    pointer-events: none;
}

/* HOVER: Layer upar tak jayegi */
.service-card:hover::after {
    height: 100%; /* Full cover */
    background: linear-gradient(to top, rgba(0,0,0,0.95) 30%, rgba(0,0,0,0.4));
}

/* --- 3. Content Wrapper --- */
.content {
    position: relative;
    z-index: 2; /* Layer ke upar */
    padding: 20px 10px;
    width: 100%;
    box-sizing: border-box;
    transform: translateY(10px); /* Thoda neeche set */
    transition: transform 0.5s ease;
}

/* Jab hover ho to content thoda upar adjust ho */
.service-card:hover .content {
    transform: translateY(0);
}

/* --- 4. Heading --- */
.service-card h3, 
.service-card .elementor-heading-title {
    color: #ffffff !important;
    margin-bottom: 8px;
    font-size: 22px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* --- 5. Description (Magic Part) --- */
.content p, 
.content .elementor-text-editor {
    color: #e0e0e0;
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
    
    /* Trick for 1 Line + Dots (...) */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1; /* Sirf 1 line dikhegi */
    overflow: hidden;
    
    /* Animation Settings */
    max-height: 24px; /* 1 Line ki height (approx) */
    opacity: 0.8;
    transition: max-height 0.6s ease, opacity 0.4s ease;
}

/* --- 6. Hover Actions --- */
.service-card:hover p, 
.service-card:hover .elementor-text-editor {
    /* Hover pe sari lines khul jayengi */
    -webkit-line-clamp: 20; /* Limit hata di */
    max-height: 300px;      /* Height barha di taake text fit aaye */
    opacity: 1;
}

.service-card:hover {
    cursor: pointer;
}
/* Cards Css End here   */