/* Language Switcher Styles */
.main-header__language {
  position: relative;
  display: inline-block;
  margin: 0 15px;
}

.main-header__language-btn {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #1a1a1a;
  font-weight: 500;
  font-size: 14px;
  outline: none;
}

.main-header__language-btn:hover {
  background: var(--eduhive-primary);
  border-color: var(--eduhive-primary);
  color: var(--eduhive-white);
}

.main-header__language-btn i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.main-header__language.active .main-header__language-btn i {
  transform: rotate(180deg);
}

.main-header__language-list {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #ffffff;
  border-radius: 5px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  min-width: 150px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 99999;
  list-style: none;
  margin: 0;
  pointer-events: none;
}

.main-header__language.active .main-header__language-list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.main-header__language-list li {
  margin: 0;
  padding: 0;
}

.main-header__language-list a {
  display: block;
  padding: 10px 20px;
  color: var(--eduhive-black);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 14px;
}

.main-header__language-list a:hover {
  background: rgba(var(--eduhive-primary-rgb), 0.1);
  color: var(--eduhive-primary);
}

.main-header__language-list a.active {
  background: rgba(var(--eduhive-primary-rgb), 0.1);
  color: var(--eduhive-primary);
  font-weight: 600;
}

/* Sticky Header Styles */
.stricky-header .main-header__language {
  margin: 0 10px;
}

.stricky-header .main-header__language-btn {
  padding: 8px 12px;
  font-size: 13px;
  border-color: rgba(var(--eduhive-black-rgb), 0.15);
}

.stricky-header .main-header__language-list {
  top: calc(100% + 15px);
  z-index: 9999;
}

/* Ensure dropdown appears above sticky header elements */
.main-header__language-list {
  z-index: 99999 !important;
}

/* Debug: Ensure parent has proper positioning */
.main-header__language {
  position: relative;
  z-index: 1000;
}

/* Force show for debugging - remove after testing */
/* .main-header__language-list {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
} */

/* RTL Support */
html[dir="rtl"] body {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .main-header__language-list {
  right: auto;
  left: 0;
}

/* Responsive */
@media (max-width: 991px) {
  .main-header__language {
    margin: 0 10px;
  }

  .main-header__language-btn {
    padding: 8px 12px;
    font-size: 13px;
  }
}
.course-category--carousel .course-category__title::before{
  left: -50px;
}
.course-category--carousel .course-category__title::after {
  right: -50px;
}
.courses-two__filter-list li{
  font-size: 18px;
}
.course-card__title{
  text-align: center;
  font-size: 20px;
}
.eduhive-btn--border{
  display: flex;
  justify-content: center;
  align-items: center;
}
/* .course-card{
  min-height: 340px;
} */
 .course-card--two{
  padding: 10px;
 }
[dir="rtl"] .footer-widget__links{
  padding: 0;
}
[dir="rtl"] .icon-double-arrow:before {
    content: "\e942" !important;
}
.footer-widget__links li a{
  align-items: center;
}
.mobile-nav__contact{
  padding-right: 0;
}
.contact-page__form{
  padding: 30px;
}
.eduhive-breadcrumb__icon{
  margin: 10px;
}

/* Navigation Link Spacing */
.main-menu .main-menu__list > li + li {
  margin-left: 30px;
}

/* Ensure consistent spacing in RTL mode */
html[dir="rtl"] .main-menu .main-menu__list > li + li {
  margin-left: 0;
  margin-right: 30px;
}
[dir="rtl"] .main-slider-two__shape-box{
  left: 75px !important;
}
[dir="ltr"] .main-slider-two__shape-box{
  right: 75px !important;
}

/* Make Header Always Sticky */
.main-header.sticky-header--cloned {
  position: fixed !important;
    backdrop-filter: blur(20px)!important;
    -webkit-backdrop-filter: blur(20px);
    background: #fdfdfd73!important;
  top: 0 !important;
  left: 0;
  right: 0;
  z-index: 999 !important;
  /* background: #ffffff !important; */
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1) !important;
  animation: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  display: block !important;
}

.main-header.sticky-header--cloned.active {
  top: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.main-header.sticky-header--cloned .main-header__inner {
  padding-top: 15px !important;
  padding-bottom: 15px !important;
}

/* Hide the original header */
.main-header.sticky-header:not(.sticky-header--cloned) {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
    backdrop-filter: blur(20px)!important;
    -webkit-backdrop-filter: blur(20px);
    background: #fdfdfd73!important;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.main-header.sticky-header:not(.sticky-header--cloned) .main-header__inner {
  padding-top: 15px;
  padding-bottom: 15px;
}

/* Add padding to body to prevent content from hiding under fixed header */
body {
  padding-top: 95px;
}

/* Adjust for RTL mode */
html[dir="rtl"] .main-header.sticky-header {
  left: 0;
  right: 0;
}

/* Ensure preloader appears above sticky header */
.preloader {
  z-index: 99999 !important;
}

/* Active link styling for sticky header */
.main-header.sticky-header .main-menu__list > li.current > a {
  color: var(--eduhive-base, #796F2B) !important;
  font-weight: 600;
}

/* Active link styling for mobile sidebar */
.mobile-nav__content .main-menu__list > li.current > a {
  color: var(--eduhive-base, #796F2B) !important;
  font-weight: 600;
}

/* Transparent header on homepage only (original header, not cloned) */
body[data-page-title="home"] .main-header.sticky-header:not(.sticky-header--cloned) {
  background: transparent !important;
  box-shadow: none !important;
}

/* Keep text visible on transparent header */
body[data-page-title="home"] .main-header.sticky-header:not(.sticky-header--cloned) .main-menu__list > li > a,
body[data-page-title="home"] .main-header.sticky-header:not(.sticky-header--cloned) .main-header__language-btn {
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

body[data-page-title="home"] .main-header.sticky-header:not(.sticky-header--cloned) .main-header__language-btn {
  border-color: rgba(255, 255, 255, 0.3);
}

body[data-page-title="home"] .main-header.sticky-header:not(.sticky-header--cloned) .main-menu__list > li > a:hover,
body[data-page-title="home"] .main-header.sticky-header:not(.sticky-header--cloned) .main-menu__list > li.current > a {
  color: var(--eduhive-base, #796F2B);
}
.owl-stage{
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.course-category__card{
  min-height: 290px;
}

/* Make courses display inside a proper container */
.courses-two__container.container {
  max-width: 1140px;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 1200px) {
  .courses-two__container.container {
    max-width: 1140px;
  }
}

@media (min-width: 1400px) {
  .courses-two__container.container {
    max-width: 1320px;
  }
}
.eduhive-owl__carousel__counter,.eduhive-owl__carousel__counter{
  display:none !important;
}

/* Video Image Box Shadow */
/* .video-one img {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
} */

/* Video Background Box Shadow */
.video-one__bg {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  border-radius: 20px;
}
html[dir="rtl"] .blog-card{
  min-height: 400px;
}
html[dir="ltr"] .blog-card{
  min-height: 430px;
}
.offer-one__item__icon {
    position: relative;
    top: 5px;
    width: 60px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 40px;
    border-radius: 50%;
    transition: all 500ms ease;
    padding: 3px;
}
html[dir="ltr"] .main-footer__newsletter__form button[type=submit]{
  right: 0;
}
html[dir="rtl"] .main-footer__newsletter__form button[type=submit]{
  left: 0;
}
.mobile-nav__content{
   backdrop-filter: blur(20px)!important;
    -webkit-backdrop-filter: blur(20px);
    background: #fdfdfd73!important;
}
@media (max-width: 767px) {
  .courses-two__custome-navs{
    justify-content: center;
  }
}
.fa.fa-star{
  color: gold;
}

/* Logo Inner Shadow */
.main-header__logo img {
  filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.3));
}

@media (max-width: 767px) {
    .course-card--two {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}
