:root{
  --primary-back-color: #013DC4;
  --gradient-color: linear-gradient(30deg, #3070FF, #0D3CA8);
}

.containerrse {
  text-align: center;
}

.tab-bar {
  overflow: hidden;
}

.tab-button {
  color: #4b4b4b;
  border: none;
  cursor: pointer;
  background-color: #fff;
  padding: 12px 18px;
  width: 90%;
  font-size: 14px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tab-button:hover {
  transform: scale(0.9);
}

.tab-button.active {
  color: #ffffff;
  border-radius: 0px 25px 25px 0px;
  background-color: var(--primary-back-color);
  transform: scale(1.02);
}

.tab-content {
  display: none;
  padding: 20px;
  background-color: #ffffff;
}

.tab-content.active {
  display: block;
}

.containercourse {
  display: flex;
  justify-content: center;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 20px;
}

.grid-item {
  background-color: #ffffff;
  max-width: 100%;
  height: auto;
  padding-top: 20px;
  padding-bottom: 15px;
  cursor: pointer;
  border-radius: 5px;
  box-shadow: 0px 8px 16px 0px rgba(196, 196, 196, 0.2);
  text-align: start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-item:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 16px rgb(224, 224, 224);
}

.grid-item img {
  max-width: 100%;
  height: auto;
  border-radius: 5px 5px 0px 0px;
  margin-bottom: 20px;
}

.grid-item h4 {
  margin-top: 0;
  color: #000000;
  padding: 0px 20px 0px 20px;
  font-size: medium;
}

.grid-item p {
  margin-bottom: 10px;
  color: #808080;
  padding: 0px 20px;
  font-size: 12px;
}

.arrow {
  margin-left: 2px;

}

.ar {
  padding: 10px 0px 0px 20px;
}

@media screen and (max-width: 768px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 480px) {
  .grid-container {
    grid-template-columns: 1fr;
  }
}


.maximagetwo {
  max-width: 140px;
  height: auto;
}

.maximage {
  max-width: 30px;
  height: auto;
}

.blue-line {
  text-decoration: none;
  font-size: medium;
  color: #000000;
}

.txtbm {
  font-size: 12px;
  text-decoration: none;
}

.maximg {
  max-width: 90px;
  height: auto;
}

.navsmitem {
  font-size: 14px;
  color: #3f3f3f;
  text-decoration: none;
}

.navsmitem:hover {
  color: #ffffff;
  font-weight: 500;
}

.playimg {
  max-width: 120px;
  height: auto;
}

.forlogoimg {
  max-width: 100px;
  height: auto;
}

@media (max-width: 905px) {
  .forlogoimg {
      width: 90px;
      height: auto;
  }
}

.social-icons {
  justify-content: start;
  align-items: start;
}

.social-icons .col-sm-2 {
  flex: 0.1;
  text-align: start;
}

.social-icons img {
  max-width: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-icons img:hover {
  max-width: 30px;
  transform: scale(1.2);
}

.textxolor {
  color: var(--primary-back-color);
  text-decoration: none;
}

.footerback {
  background-color: var(--primary-back-color);
  color: #fff;
}

.footerback a {
  color: #fff;

}

@media (min-width: 768px) {
  .headtext {
    font-size: 1rem;
  }
}

@media (max-width: 400px) {
  .headtext {
    font-size: 0.8rem;
  }
}

.fixed-div {
  position: fixed;
  bottom: 30px;
  right: 10px;
}

.social {
  position: fixed;
    left: 10px;
    bottom: 20px;
    text-decoration: none;
    writing-mode: vertical-lr;
    text-align: center;
    padding: 10px;
}

.social a {
  text-decoration: none;
}

.social img {
  width: 34px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social img:hover {
  transform: scale(1.2);
}

@media (max-width: 600px) {
  .social {
    display: none;
  }
}

.mega-menu {
  display: none;
  position: absolute;
  left: 0;
  top: 80%;
  width: 100%;
  background-color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.mega-menu-content {
  padding: 30px;
  display: flex;
  flex-wrap: wrap;
}

.mega-menu-content .col {
  flex: 1;
  padding: 10px;
}

.nav-item:hover .mega-menu {
  display: block;
}

.mega-menu a {
  text-decoration: none;
  color: #4e4e4e;
}

.mega-menu a:hover {
  color: var(--primary-back-color);
}

.gradient-text {
  background: var(--gradient-color);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media screen and (max-width: 1053px) {
  .hide_on_small {
    display: none;
  }
}

.gallery-item {
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid #d3d3d3;
  padding: 5px;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
}

.modal-body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80vh;
  border-radius: 8px;
}

.modal-body img {
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
}

.btn-close {
  background-color: #ffffff;
  border: 1px solid #e9e9e9;
  color: #ffffff;
}

.btn-close:hover {
  background-color: var(--primary-back-color);
  border-color: var(--primary-back-color);
}

@media screen and (max-width: 1100px) {
  .hide_on_small {
    display: none;
  }
}