header .active-menu {
  background: #fff;
  background-color: rgb(255 255 255 / 43%);
  opacity: 1;
  border-radius: 20px;
  color: orange;
  height: 40px;
}

header .active-menu a {
  color: orange;
}
header .nav-item a:hover {
  color: #ffa500 !important;
}

.Calculator-button {
  background: #ffa500;
  border: 1px solid #ffa500;
}
section#courses .event_filter a.is_active {
  color: #ffa500 !important;
}
.calculator-para {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}
.Calculator-button:hover {
  background: #000000 !important;
  border: #000000 !important;
}
.Calculator-button:active {
  background: #000000 !important;
  border: #000000 !important;
}
.section-heading.faq-heading h2 {
  margin-left: 60px;
}
.background-header {
  padding: 20px 0px;
}
header.header-area.header-sticky a.logo img {
  max-width: 70%;
  width: auto;
  transition: transform 0.3s ease;
}
header.header-area.header-sticky a.logo {
  text-align: center;
}
header.header-area.header-sticky.background-header a.logo img {
  max-width: 40%;
}
.custom-filter-tabs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.custom-filter-tab {
  margin: 0 5px;
}

.custom-filter-tab .custom-tab-link {
  display: inline-block;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #333;
  padding: 10px 20px;
  border: 2px solid transparent;
  border-radius: 25px;
  transition: all 0.3s ease;
  text-decoration: none;
  background-color: #f8f9fa;
}

.custom-filter-tab .custom-tab-link:hover {
  color: #007bff;
  border-color: #007bff;
  background-color: rgba(0, 123, 255, 0.1);
}

.custom-filter-tab .custom-tab-link.is_active {
  color: #007bff;
  border-color: #007bff;
  font-weight: 600;
  background-color: rgba(0, 123, 255, 0.2);
}

section#courses .custom-tab-link.is_active {
  color: #fff !important;
}

.filter-arrow {
  display: none;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  font-size: 16px;
  color: #333;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.filter-arrow:hover {
  background-color: #ffa500;
  color: #fff;
  border-color: #ffa500;
}

.filter-arrow-left {
  left: 5px;
}

.filter-arrow-right {
  right: 5px;
}

.custom-filter-container {
  margin-bottom: 30px;
  position: relative;
  display: flex;
  align-items: center;
}
.header-area .main-nav .dropdown:hover ul.dropdown-menu {
  display: block;
}
.header-area .main-nav .dropdown:hover ul.dropdown-menu li a {
  color: #ffa500;
}
.custom-filter-tabs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: flex-start;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.custom-filter-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  flex-grow: 1;
  scrollbar-width: none;
  justify-content: center;
  -ms-overflow-style: none;
  min-height: 48px;
  display: flex;
  align-items: center;
}
.custom-filter-wrapper::-webkit-scrollbar {
  display: none;
}
.custom-filter-tab {
  margin: 0 5px;
}

.custom-filter-tab .custom-tab-link {
  display: inline-block;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #333;
  padding: 10px 20px;
  border: 2px solid transparent;
  border-radius: 25px;
  transition: all 0.3s ease;
  text-decoration: none;
  background-color: #f8f9fa;
}

.custom-filter-tab .custom-tab-link:hover {
  color: #fff;
  border-color: #ffa542;
  background-color: rgb(250 172 86);
}

.custom-filter-tab .custom-tab-link.is_active {
  color: #007bff;
  border-color: #ffa542;
  font-weight: 600;
  background-color: rgb(250 172 86);
}

/* Calculator Cards */
.event_outer {
  transition: opacity 0.3s ease;
}

.events_item {
  background-color: #fff;
  border-radius: 25px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transform: translate(0px, 50px) !important;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.events_item:hover {
  transform: translateY(-5px);
}

.events_item .thumb img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}
.header-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #fff;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.header-background.scrolled {
  padding: 10px 0;
}
.about-us.our-commitment .section-heading li {
  font-size: 14px;
  line-height: 28px;
  color: #4a4a4a;
  padding-left: 25px;
}
.about-us.our-commitment .section-heading.commitment {
  align-content: center;
}
.about-us.our-commitment .section-heading li:before {
  content: "";
  width: 8px;
  height: 8px;
  position: absolute;
  border-radius: 24px;
  margin-top: 9px;
  background: #4a4a4a;
  margin-left: 6px;
  left: 3px;
  display: inline-block;
}
#team .team-member img {
  height: 231px;
  background-position: center;
  background-size: cover;
}
#team .row.section {
  justify-content: center;
}
.has-sub {
  position: relative;
}

.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  margin-left: -249px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  min-width: 320px;
  z-index: 1000;
  border-radius: 6px;
  width: max-content;
}

.sub-menu li {
  display: block;
  width: 100%;
}

.sub-menu li a {
  padding: 10px 20px;
  display: block;
  white-space: normal;
  font-size: 15px;
  color: #333;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  transition: background 0.3s ease;
}
.has-sub:hover .sub-menu {
  display: block;
  background: #fff;
}
.has-sub:hover .sub-menu li a {
  color: #000;
}
.header-area.header-sticky .nav .sub-menu li a.active {
  color: #ffa500;
  line-height: normal;
}
.header-area.header-sticky .nav .sub-menu li a {
  line-height: normal;
}
.header-area.header-sticky .nav .sub-menu li a:hover {
  font-size: 18px;
}
.privacy-section {
  padding: 60px 0;
  background-color: #f8f9fa;
}
.privacy-policy-list li {
  list-style: disc;
  font-size: 14px;
  line-height: 28px;
  margin-left: 20px;
  color: #4a4a4a;
}
.privacy-policy-list.space {
  margin-top: 15px;
}
.about-us.our-commitment {
  margin-top: 40px;
}
footer .privacy-text {
  text-align: left;
}

footer .social-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: #f78300;
  color: #ffffff;
  border-radius: 5px;
  font-size: 18px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

footer .social-icon:hover {
  background-color: #f78300;
  transform: scale(1.1);
}

footer .social-icon i {
  vertical-align: middle;
}
div#meeting-img-col-phn {
  display: none;
}

@media (max-width: 580px) {
  .section-heading.faq-heading h2 {
    font-size: 30px !important;
    margin-left: 0px !important;
  }
  #choose {
    margin-top: 0px !important;
  }
}
@media (max-width: 992px) {
  .section-heading.faq-heading h2 {
    font-size: 45px;
    margin-left: 0px;
  }
  .fun-facts:before {
    border-top-right-radius: 332px;
    border-bottom-right-radius: 332px;
  }
  #choose {
    margin-top: 0px !important;
  }
}
@media (max-width: 991px) {
  .custom-filter-wrapper {
    justify-content: left;
  }
  .filter-arrow {
    display: flex;
  }

  .custom-filter-container {
    padding: 0 45px;
  }

  .custom-filter-tab {
    margin: 0 3px;
  }

  .custom-filter-tab .custom-tab-link {
    font-size: 14px;
    padding: 8px 15px;
    border-radius: 20px;
  }
  .sub-menu {
    position: relative;
    display: none;
    background: #f9f9ff;
    box-shadow: none;
    padding: 0;
    width: 100%;
    border-radius: 0;
    margin: 0;
  }

  .has-sub.active .sub-menu {
    display: block;
  }

  .sub-menu li a {
    padding: 12px 18px;
    font-size: 14px;
    background: #fff;
    color: #333;
    margin: 5px 0;
    border-radius: 8px;
  }

  .sub-menu li:not(:last-child) a {
    border-bottom: 1px solid #eee;
  }
  div#meeting-img-col {
    display: none;
  }
  div#web-conference {
    margin-top: 60px;
  }
  div#meeting-img-col-phn {
    display: block;
  }
}

@media (max-width: 370px) {
  footer::before {
    width: 200px;
    height: 56px;
    left: 10px;
  }
  .contact-us .contact-us-content::before {
    width: 200px;
    height: 50px;
  }
}
@media (max-width: 768px) {
  .dot {
    width: 1.5rem;
    height: 1.5rem;
  }

  .dots span {
    width: 0.6rem;
    height: 0.6rem;
  }

  .dots {
    gap: 0.4rem;
    margin-top: 0.8rem;
  }
  .footer .row > div {
    text-align: center;
  }

  .footer .text-md-end {
    text-align: center;
    margin-top: 10px;
  }

  .social-icon {
    margin: 0 5px;
  }
}

@media (max-width: 480px) {
  .dot {
    width: 1rem;
    height: 1rem;
  }

  .dots span {
    width: 0.4rem;
    height: 0.4rem;
  }

  .dots {
    gap: 0.3rem;
    margin-top: 0.5rem;
  }
}
@media (min-width: 1024px) and (max-width: 1400px) {
  .services .service-item .main-content h4 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
  }
  .services .service-item .main-content {
    height: 400px;
  }
}
@media (min-width: 240px) and (max-width: 767px) {
  footer .row.mt-3 {
    text-align: center;
  }
  footer .privacy-text {
    text-align: center;
    margin-bottom: 20px !important;
  }
}
@media (min-width: 993px) and (max-width: 1280px) {
  .main-banner .item {
    margin-left: 0px;
  }
}
