#Upper-Text {
  color: #000;
  font-size: 30px;
}
#preloader{
  background: #1a1a2e url('https://sourcecode.academy/images/loader.gif') no-repeat center center;
 background-size: 10%;
  height: 100vh;
  width: 100%;
  position: fixed;
  z-index: 100;
}

#Sites-Text {
  font-weight: 700;
  background: linear-gradient(135deg, #3374ff, #000000, #5b8dee, #080cee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 40px;
}

#Nepal-Text {
  color: #a82f2f;
  font-size: 30px;
}

.Landing-Page {
  margin: 30px;
  margin-top: 5em;
  margin-bottom: 8em;
  display: flex;
  justify-content: space-around;
}

#imgMain {
  margin-top: 10em;
  margin-bottom: 4em;
  padding: 3em;
}

.TextMain {
  margin-top: 4em;
}

#ImgMain {
  width: 500px;
  padding: 23px;
  margin: 17px;
}

#small-Text {
  color: #000;
  font-size: 20px;
  font-weight: 600;
}

@media screen and (max-width: 1350px) {
  .Landing-Page {
    display: block;

    text-align: center;
  }

  .button-Enrolled {
    justify-content: center;
  }

  #ImgMain {
    width: 330px;
    padding: 0px;
    margin: 0px;
  }
}

.custom-btn-link {
  text-decoration: none;
  display: inline-block;
}

.custom-btn {
  background-color: #ffffff;
  color: #333333;
  border: 2px solid #666666;
  padding: 14px 25px;
  font-size: 16px;
  font-family: "Lexend", sans-serif;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 20px;
}

.custom-btn i {
  font-size: 18px;
}

.custom-btn:hover {
  background-color: #333333;
  color: #ffffff;
  box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(-3px);
}

.button-Enrolled {
  display: flex;
  margin-top: 2em;
  gap: 10px;
}

.container-class {
  margin: 20px auto;
  max-width: 1200px;
  background-color: #ffffff;
  display: flex;
  flex-wrap: wrap;
  padding: 10px;
  justify-content: space-around;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.box-section {
  flex: 1 1 calc(35% - 20px);
  margin: 10px;
  padding: 15px;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.section-title {
  font-size: 28px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
  font-family: "Roboto", sans-serif;
  color: #333;
}

.section-title i {
  margin-left: 10px;
}

.section-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  padding-top: 0;
  opacity: 0;
}

.section-content.open {
  max-height: 500px;
  padding-top: 10px;
  opacity: 1;
}

.section-content ul {
  list-style: none;
  padding-left: 20px;
}

.section-content ul li {
  padding: 8px 0;
  font-size: 16px;
  color: #555;
  transition: color 0.3s ease;
}

.section-content ul li:hover {
  color: #000;
  text-decoration: underline;
}

.toggle-icon {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.rotate {
  transform: rotate(180deg);
}

@media (max-width: 768px) {
  .box-section {
    flex: 1 1 calc(80% - 20px);
    margin: 10px 0;
  }

  .section-title {
    font-size: 26px;
  }

  .section-content ul {
    padding-left: 10px;
  }

  .section-content ul li {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 24px;
  }

  .section-content ul li {
    font-size: 13px;
  }
}

@media (max-width: 300px) {
  .container-class {
    padding: 5px;
    margin: 10px;
  }

  .box-section {
    padding: 10px;
    flex: 1 1 100%;
  }

  .section-title {
    font-size: 22px;
  }

  .section-content ul {
    padding-left: 5px;
  }

  .section-content ul li {
    font-size: 12px;
  }
}

#Sub-Img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.Bar-Line1 {
  background-color: #333333;
  width: 100%;
  opacity: 0.5;
  height: 2px;
  margin: 10px 0;
  border-radius: 8px;
}
.Quiz-Section {
  display: flex;
  justify-content: space-around;
  align-items: center;
  text-align: center;
  margin-top: 8em;
  padding: 3em;
  margin-bottom: 6em;
}

#Img-Quiz {
  width: 100%;
  max-width: 700px;
  margin-left: auto;
  transition: transform 0.3s ease;
}

#Img-Quiz:hover {
  transform: scale(1.05);
}

.Quiz-Item {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: nowrap;
  max-width: 1200px;
}

.Header-Quiz {
  display: flex;
  flex-wrap: wrap;
}

#Prepare {
  font-size: 28px;
  display: flex;
  gap: 10px;
  margin-top: 1em;
}

.OpText {
  font-weight: 700;
  margin-top: 0.5em;
  color: #000;
}

#Gyan-Header {
  color: #007bff;
  font-size: 42px;
  font-weight: 1000;
}

.BtnAndP {
  margin: 0;
  padding: 1em 0;
  width: 90%;
}

#quiz-description {
  font-size: 18px;
  line-height: 1.8;
  color: #333;
  text-align: left;
  margin-top: 1em;
}

.button-Enrolled {
  margin-top: 1.5em;
  display: block;
}


.custom-btn {
  background-color: #fff;
  color: #007bff;
  padding: 0.8em 1.5em;
  margin-bottom: 10px;
  border: 2px solid #007bff;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.custom-btn:hover {
  background-color: #007bff;
  color: #fff;
}

@media only screen and (max-width: 1200px) {
  .Quiz-Item {
    flex-direction: column-reverse;
    text-align: center;
  }

  #Img-Quiz {
    max-width: 80%;
  }

  #Prepare {
    font-size: 24px;
  }

  #Gyan-Header {
    font-size: 36px;
    justify-content: center;
  }

  .Header-Quiz {
    justify-content: center;
  }
}

@media only screen and (max-width: 300px) {
  .Quiz-Section {
    padding: 1em;
  }

  #Prepare {
    font-size: 18px;
  }

  #quiz-description {
    font-size: 16px;
    line-height: 1.5;
  }

  .custom-btn {
    padding: 0.5em 1em;
    font-size: 14px;
  }

  #Img-Quiz {
    max-width: 100%;
  }
}
@media screen and (max-width: 700px) {
  #Prepare {
    font-size: 18px;
    display: block;
  }
  #Gyan-Header {
    font-size: 22px;
  }
}

#TextWhyChoose {
  text-align: center;
  font-size: 32px;
  margin-bottom: 65px;
  font-weight: 700;
  font-family: "Lexend", sans-serif;
  color: #333;
}

.WhyToChoose {
  margin-top: 3em;
}

.WhyChooseBox {
  margin-top: 2em;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  padding: 0 20px;
}

.WhyBox {
  width: 30%;
  display: flex;
  background-color: #fff;
  flex-direction: column;
  border-radius: 14px;
  height: auto;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  padding: 20px;
}

.WhyImg {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 150px;
}

.WhyImg img {
  width: 100px;
  filter: grayscale(100%);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.WhyImg img:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
}

#allImg {
  width: 133px;
  margin-bottom: 10px;
}

.OpText {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 18px;
}

.HeaderOpText h2 {
  font-size: 24px;
  margin-top: 0.5em;
  font-family: "Lexend", sans-serif;
  color: #333;
  text-align: center;
}

.ParaOpText p {
  text-align: center;
  font-size: 14px;
  margin: 7px;
  color: #555;
  padding: 0 10px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .WhyBox {
    width: 100%;
    margin-bottom: 20px;
  }

  .HeaderOpText h2 {
    font-size: 20px;
  }

  .ParaOpText p {
    font-size: 13px;
  }

  #allImg {
    width: 80px;
  }
}

.supporter-gyan {
  margin: 30px;

  padding: 20px;
}
.supporter-gyan h2 {
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  color: #21242c;
  font-size: 30px;
  font-weight: bold;
}

.img-supporter {
  overflow: hidden;
  position: relative;
}

.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slider img {
  width: 200px;
  cursor: pointer;
  height: 171px;
  object-fit: contain;
  margin: 0 10px;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

body {
  font-family: "Poppins", sans-serif;
}

.gyan-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.gyan-title {
  text-align: center;
  font-size: 3rem;
  color: #000000;
  margin-bottom: 2rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.gyan-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3em;
}

.gyan-card-course,
.gyan-card-quiz,
.gyan-card-books,
.gyan-card-science {
  background-color: #fff;
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  text-decoration: none;
  color: #333;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 0.5s ease forwards;
  opacity: 0;
}

.gyan-card-course:hover,
.gyan-card-quiz:hover,
.gyan-card-books:hover,
.gyan-card-science:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.gyan-card-course i,
.gyan-card-quiz i,
.gyan-card-books i,
.gyan-card-science i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #4a90e2;
}

.gyan-card-course h2,
.gyan-card-quiz h2,
.gyan-card-books h2,
.gyan-card-science h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.gyan-card-course p,
.gyan-card-quiz p,
.gyan-card-books p,
.gyan-card-science p {
  font-size: 0.9rem;
  color: #666;
}

@media (max-width: 768px) {
  .gyan-title {
    font-size: 2.5rem;
  }
  .gyan-cards {
    grid-template-columns: 1fr;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gyan-card-course:nth-child(1) {
  animation-delay: 0.1s;
}
.gyan-card-quiz:nth-child(2) {
  animation-delay: 0.2s;
}
.gyan-card-books:nth-child(3) {
  animation-delay: 0.3s;
}
.gyan-card-science:nth-child(4) {
  animation-delay: 0.4s;
}

.CourseOp h2 {
  text-align: center;
  margin-top: 5em;
  margin-bottom: 2em;
  color: #21242c;
  font-size: 30px;
  font-weight: 1000;
  font-family: sans-serif;
}

.video-box {
  width: 400px;
  border: 1px solid lightblack;
  padding: 20px;
  text-align: center;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}
.video-box:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
.video-box a {
  text-decoration: none;
  color: black;
  display: block;
}
.video-box img {
  width: 100%;
  border-radius: 8px;
}
.titleVideo {
  margin-top: 10px;
  font-size: 20px;
  margin-right: 1em;
  font-weight: bold;
  color: #333;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}
.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgb(33, 69, 168);
  font-size: 50px;
  transition: transform 0.3s ease;
}
.play-icon:hover {
  color: #ff0000;
}
.play-icon:active {
  transform: translate(-50%, -50%) scale(0.9);
}
.info {
  margin-top: 15px;
  font-size: 14px;
  display: flex;
  gap: 20px;
  justify-content: space-around;
  color: #666;
  text-align: left;
}

.info i {
  margin-right: 5px;
  color: #333;
}
.description {
  margin-top: 10px;
  font-size: 16px;
  color: #444;
  line-height: 1.5;
  text-align: left;
}

.Course1 {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.icon-btn-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.icon-btn {
  background: none;
  border: none;
  padding: 10px;
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease;
  outline: none;
}

.icon-btn i {
  font-size: 36px;
  color: #333;
  transition: color 0.3s ease, transform 0.3s ease;
}

.icon-btn:hover i {
  color: #28a745;
  transform: scale(1.2);
}

.icon-btn:active i {
  transform: scale(0.9);
}
.navTop {
  width: 82em;
}

.TeacherCards {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.main {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.5rem;
}

.profileCard {
  background-color: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s;
  border-radius: 8px;
  padding: 1.5rem;
}

.profileCard:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.cardHeader {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  padding-bottom: 0.5rem;
}

.cardImg {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 4rem;
  width: 4rem;
  overflow: hidden;
  border-radius: 50%;
}

.cardImg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.teacher h2 {
  font-size: 1.25rem;
  font-weight: 600;
}

.teacher p {
  font-size: 0.875rem;
  color: #6c757d;
}

.cardContent {
  padding-top: 0.5rem;
}

.teacherDetail {
  margin-bottom: 1rem;
}

.teacherDetail p {
  font-size: 0.875rem;
  color: #6c757d;
}

.teacherDetail span a {
  font-size: 0.875rem;
  color: #2563eb;
}

.teacherDetail span a:hover {
  text-decoration: underline;
}

.cardBadge {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cardBadge span {
  background-color: #ebf8ff;
  color: #1e40af;
  padding: 0.25rem 0.5rem;
  font-size: 14px;
  font-weight: 500;
  border-radius: 0.25rem;
  transition: background-color 0.3s;
}

.cardBadge span:hover {
  background-color: #bee3f8;
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}

@media (max-width: 530px) {
  .container {
    padding: 6rem 0rem 0rem 0rem;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }

  .main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }

  .main {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

@media (min-width: 1536px) {
  .container {
    max-width: 1536px;
  }
}
img {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  -noz-user-select: none;
  -ms-user-select: none;
  -webkit-user-select: none;
}

.Footer {
  text-align: center;
  padding: 1em 0;
  background-color: #f1f1f1;
  font-size: 0.9em;
  font-family: "Arial", sans-serif;
  color: #555;
  border-top: 1px solid #ddd;
}

.Footer p {
  margin: 0;
}
