* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
:root {
  --bs-green: #04aa60;
  --bs-teal: #20c997;
  --bs-black: #282a35;
  --bs-pink: #ffc0c7;
  --bs-yellow: #fff4a3;
  --bs-white: #fff;
  --bs-neoWhite: #e7e9eb;
  --bs-greenLight: #d9eee1;
}
header {
  height: 70px;
  background-color: var(--bs-white);
  width: 100%;
  padding: 0px 20px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 999;
}
body {
  width: 100%;
  font-family: "Roboto", sans-serif;
}
i {
  cursor: pointer;
}
/* utility class */
.btn {
  padding: 10px;
  cursor: pointer;
}
.btn:hover {
  opacity: 0.8;
}
.bg-greenLight {
  background-color: var(--bs-greenLight);
  color: var(--bs-black);
}
.bg-white {
  background-color: var(--bs-white);
  color: var(--bs-black);
}
.bg-black {
  background-color: var(--bs-black);
  color: var(--bs-white);
}
.bg-pink {
  background-color: var(--bs-pink);
  color: var(--bs-black);
}
.bg-yellow {
  background-color: var(--bs-yellow);
  color: var(--bs-black);
}
.bg-green {
  background-color: var(--bs-green);
  color: var(--bs-white);
}
.bg-teal {
  background-color: var(--bs-teal);
  color: var(--bs-white);
}
.text-white {
  color: var(--bs-white);
}
.text-black {
  color: var(--bs-black);
}
/* logo */
.logo {
  width: 90px;
  padding: 2px 8px;
  margin-right: 5px;
}
.logo img {
  width: 100%;
}
.header-left {
  display: flex;
  align-items: center;
  height: 100%;
}
.menu-btn {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px 20px;
  font-size: 18px;
  font-weight: 300;
  color: black;
  text-decoration: none;
  cursor: pointer;
}
.header-left .menu-btn:hover {
  background-color: var(--bs-green);
  color: white;
}
.header-left .menu-btn:first-child:hover {
  background-color: transparent;
}
.header-left .menu-btn:first-child {
  padding: 0;
}
.fa-solid {
  padding: 0px 3px;
}
.toggleLightDark {
  transform: rotate(180deg);
}
.toggleLightDark:hover {
  color: var(--bs-teal);
}
.header-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-grow: 1;
  gap: 18px;
}
.header-right a {
  font-size: 18px;
  font-weight: 600px;
  text-decoration: none;
  border-radius: 60px;
  padding: 10px 20px;
  min-width: 80px;
}
.header-right a:hover {
  opacity: 0.8;
}
#forteacher-btn {
  display: none;
}
#cectificate-btn,
#video-btn {
  display: none;
}
#free-btn {
  display: none;
}
#tutorial-btn,
#refernces-btn,
#excercises-btn {
  display: none;
}
#menu-btn-Mobile {
  display: flex;
}
.toggleLightDark {
  display: none;
}
.toggleSearch,
.toggleTranslate {
  display: none;
}
.toggleTranslate:hover {
  color: var(--bs-teal);
}
.toggleSearch:hover {
  color: var(--bs-teal);
}
/* responsive */
@media all and (min-width: 1305px) {
  #forteacher-btn {
    display: block;
  }
}
@media all and (min-width: 1200px) {
  #cectificate-btn {
    display: block;
  }
  #video-btn {
    display: flex;
  }
}
@media all and (min-width: 950px) {
  #free-btn {
    display: block;
  }
}
@media all and (min-width: 850px) {
  #tutorial-btn,
  #refernces-btn,
  #excercises-btn {
    display: flex;
  }
  #menu-btn-Mobile {
    display: none;
  }
}
@media all and (min-width: 600px) {
  .toggleLightDark {
    display: block;
  }
}
@media all and (min-width: 425px) {
  .header-right a:last-child {
    padding: 10px 45px;
  }
}
@media all and (min-width: 400px) {
  .toggleSearch,
  .toggleTranslate {
    display: block;
  }
}

/* mobile-menu-container */
.mobile-menu-container {
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  max-height: 60vh;
  background-color: var(--bs-neoWhite);
  overflow-y: auto;
  display: none;
  z-index: 1500;
  color: var(--bs-black);
  transition: transform 0.3s ease;
}
.mobile-menu-container ul {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
  justify-content: center;
  align-items: center;
  padding-bottom: 30px;
}
.mobile-menu-container ul a {
  padding-bottom: 25px;
}
.menu-btn-mobile_menu {
  color: var(--bs-black);
  text-decoration: none;
  font-size: 25px;
  font-weight: 300;
}
.mobile-menu-close-btn {
  display: flex;
  justify-content: flex-end;
  padding: 10px;
}
.mobile-menu-close-btn button {
  font-size: 20px;
  border: none;
  background-color: transparent;
  cursor: pointer;
}
.mobile-menu-nav-hidden {
  display: flex;
  flex-direction: column;
}
@media all and (min-width: 850px) {
  /* .mobile-menu-container{
              display: none;
       } */
  .mobile-menu-nav-hidden {
    display: none;
  }
}
/* nested-navigation-container */
.nested-navigation-container {
  background-color: var(--bs-black);
  color: white;
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  max-height: 500px;
  overflow-y: auto;
  z-index: 1500;
  padding: 20px;
}
.nested-navigation-container-close {
  position: absolute;
  right: 0;
}
.nested-navigation-container-close button {
  background-color: var(--bs-black);
  color: var(--bs-neoWhite);
  border: none;
  font-size: 30px;
  padding: 30px;
}
.nested-navigation-container-close button:hover {
  background-color: var(--bs-neoWhite);
  color: var(--bs-black);
  cursor: pointer;
}
.nested-navigation-container-content {
  width: 80%;
  margin: auto;
  padding-top: 50px;
}
.nested-navigation-container-content h1 {
  margin: 0;
  color: var(--bs-yellow);
}
.nested-navigation-container-data {
  display: grid;
  grid-template-columns: repeat(4, minmax(100px, 1fr));
}
.nested-navigation-item {
  padding-right: 20px;
}
.nested-navigation-item h2 {
  color: var(--bs-yellow);
  margin-top: 30px;
  padding-bottom: 30px;
}
.nested-navigation-item a {
  display: block;
  color: white;
  font-size: 19px;
  text-decoration: none;
  font-weight: 550;
  padding: 5px 5px;
}
.nested-navigation-item a:hover {
  background-color: var(--bs-neoWhite);
  color: var(--bs-black);
}
.nested-navigation-hidden {
  display: none;
}
/* utility-class */
.text-white {
  color: var(--bs-white);
}

/* section */
section {
  padding: 0px;
  margin: 0px;
}
.section-container {
  width: 85%;
  margin: auto;
  max-width: 500px;
}
.section-heading {
  background-color: var(--bs-black);
}
.section-heading .section-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 480px;
}
.section-heading h1 {
  font-size: 50px;
  color: var(--bs-white);
  margin-bottom: 20px;
}
.section-heading p {
  color: var(--bs-pink);
  font-size: 21px;
  font-weight: 550;
  text-align: center;
}
.section-heading-search {
  width: 100%;
  height: 50px;
  border-radius: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}
.section-heading-search i {
  background-color: var(--bs-green);
  height: 50px;
  width: 75px;
  font-size: 25px;
  border-radius: 0 50px 50px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--bs-white);
}
.section-heading-search input {
  height: 100%;
  width: 100%;
  border-radius: 50px 0px 0px 50px;
  border: none;
  outline: none;
  padding: 0px 20px;
  font-size: 16px;
}
.section-heading a {
  display: block;
  color: var(--bs-white);
  font-size: 20px;
  margin: 30px 0;
  font-weight: 550;
}
.section-heading a:hover {
  color: var(--bs-green);
}
@media all and (min-width: 500px) {
  .section-heading h1 {
    font-size: 70px;
  }
  .section-heading p {
    font-size: 25px;
  }
}
/* section-html */
.section-html {
  background-color: var(--bs-greenLight);
  padding: 1px;
  height: 480px;
}
.section-left {
  padding: 1px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.section-left h1 {
  font-size: 60px;
  margin: 0;
}
.section-left p {
  font-size: 22px;
  font-weight: 550;
}
.section-left a {
  width: 200px;
  padding: 10px 20px;
  font-size: 21px;
  font-weight: 550;
  /* color: var(--bs-black); */
  text-decoration: none;
  text-align: center;
  border-radius: 50px;
  margin-bottom: 10px;
  margin-top: 20px;
}
.section-right {
  display: none;
}
@media all and (min-width: 1000px) {
  .section-html {
    display: flex;
    justify-content: space-around;
    padding: 30px 0px;
    height: 500px;
  }
  .section-left {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
    white-space: nowrap;
  }
  .section-right {
    display: block;
    background-color: var(--bs-neoWhite);
    width: 40%;
    margin-right: 100px;
    margin-top: 10px;
    box-shadow: -5px -5px 10px rgba(0, 0, 0, 0.1),
      5px 5px 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 5px 20px;
  }
  .editor {
    background-color: white;
    height: 330px;
    border-left: 5px solid var(--bs-green);
    max-height: 100%;
    min-height: 100%;
    padding: 10px;
  }
  .editor-btn {
    background-color: var(--bs-green);
    color: var(--bs-white);
    border: none;
    font-size: 18px;
    font-weight: 550;
    padding: 10px 40px;
    margin-top: 10px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
  }
}
/* section css */
.section-css,
.section-javascript,
.section-python,
.section-sql {
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 600px;
  padding: 100px 0px;
}
.section-css {
  background-color: var(--bs-yellow);
}
.section-javascript {
  background-color: var(--bs-black);
}
.section-javascript {
  color: var(--bs-white);
  white-space: nowrap;
}
.section-python {
  background-color: var(--bs-teal);
}
.section-sql {
  background-color: var(--bs-yellow);
  height: 400px;
}
.section-sql .editor {
  height: 200px;
}
/* .courses-card-container */
.courses-card-container {
  background-color: var(--bs-black);
  padding: 20px 30px;
}
.course-card {
  display: grid;
  text-align: center;
  gap: 15px;
}
.course-card > div {
  padding: 50px 0px;
  border-radius: 10px;
}
.course-card h2 {
  font-size: 60px;
  margin-top: 0;
  margin-bottom: 0;
}
.course-card p {
  font-size: 20px;
  margin-bottom: 20px;
}
.course-card button {
  font-size: 18px;
  border: none;
  padding: 10px 30px;
  border-radius: 20px;
  width: 100%;
  max-width: 200px;
}
@media all and (min-width: 1000px) {
  .courses-card-container {
    padding: 50px 40px;
  }
  .course-card {
    grid-template-columns: repeat(2, minmax(200px, 1fr));
    gap: 70px;
  }
}
/* section-exercise */
.section-exercise {
  background-color: var(--bs-greenLight);
  padding: 50px 0px;
}
.section-exercise-container {
  text-align: center;
  max-width: 1200px;
  margin: auto;
}
.section-exercise-container h1 {
  font-size: 55px;
  margin: 0;
  color: var(--bs-black);
}
.section-exercise-container p {
  font-size: 21px;
  color: var(--bs-black);
  margin-bottom: 30px;
  margin-top: 30px;
}
.section-exercise-quiz {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}
.section-exercise-quiz a {
  min-width: 200px;
  flex: 1;
  padding: 50px;
  font-size: 30px;
  text-decoration: none;
  border-radius: 5px;
}
.section-exercise-quiz a:hover {
  opacity: 0.8;
}
@media all and (min-width: 1000px) {
  .section-exercise-quiz {
    gap: 70px;
  }
}
/* webTemplate */
.template-web {
  background-color: var(--bs-neoWhite);
  padding: 50px 20px;
}
.template-web-container {
  width: 100%;
  max-width: 1000px;
  margin: auto;
  text-align: center;
}
.template-web-container img {
  width: 100%;
}
.template-web-container h1 {
  font-size: 55px;
  margin: 0;
}
.template-web-container p {
  font-size: 21px;
  margin: 20px 0;
}
.webTemplateLink {
  width: 100%;
  max-width: 600px;
  display: block;
  margin: auto;
  font-size: 20px;
  padding: 10px 30px;
  margin-top: 20px;
  border-radius: 30px;
  text-decoration: none;
}
@media all and (min-width: 1000px) {
  .template-web-container {
    padding: 50px 0px;
  }
}
/* howtosection */
.howtosection {
  padding: 50px 10px;
}
.howtosection-container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}
.howtosection-container h1 {
  font-size: 55px;
  margin: 0;
  margin: 10px;
}
.howtosection-container p {
  font-size: 21px;
  margin: 10px;
}
.howtosection-list {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 10px;
}
.howtosection-slide {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}
.howtosection-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 1;
  transition: all 0.5s ease-in-out;
  transform: translateX(100%);
}
.howtosection-item.background {
  opacity: 0.5;
  filter: blur(5px);
  transform: scale(1.1);
  z-index: 0;
}
.howtosection-item.active {
  opacity: 1;
  z-index: 2;
  transform: translateX(0);
}
.howtosection-item.prev {
  transform: translateX(-100%);
  opacity: 0;
  z-index: 1;
}
.howtosection-btn {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 3;
}
.howtosection-btn button {
  background: rgba(255, 255, 255, 0.7);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.howtosection-btn button:hover {
  background: rgba(255, 255, 255, 0.9);
}
.howtosection-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.verticalBox {
  width: 350px;
  height: 35px;
}
.verticalBox a {
  text-decoration: none;
}
.verticalBox button {
  display: flex;
  width: 100%;
  height: 35px;
  border: none;
  border-radius: 20px;
  font-size: 21px;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
/* footer */
.footer {
  background-color: var(--bs-black);
  padding: 60px 30px;
}

.footer a {
  color: currentColor;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
}

.footer-top .menu {
  color: var(--bs-black);
}

.footer-top .menu a {
  background-color: var(--bs-white);
  font-size: 18px;
  font-weight: 550;
  padding: 10px;
  text-decoration: none;
  border-radius: 5px;
  margin: 5px;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.footer-top .menu a:hover {
  background-color: #e5e5e5;
}

.replyAndAbout {
  color: var(--bs-white);
  display: flex;
  gap: 10px;
}

.replyAndAbout a {
  text-decoration: none;
  font-size: 18px;
  padding: 5px 10px;
  transition: color 0.3s ease;
}

.replyAndAbout a:first-child {
  border-right: 2px solid white;
}

.replyAndAbout a:hover {
  color: #ccc;
}
.socialMedia {
  color: var(--bs-white);
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
  flex-wrap: wrap;
}

.socialMedia a {
  font-size: 20px;
  margin: 15px 10px;
  transition: transform 0.3s ease;
}

.socialMedia a:hover {
  transform: scale(1.2);
  color: #ccc;
}
.copyright {
  color: var(--bs-white);
  text-align: center;
  margin: 30px auto 0 auto;
  font-size: 18px;
  max-width: 800px;
  line-height: 1.6;
}

.footer-like {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--bs-white);
  font-size: 30px;
  margin-top: 20px;
}
.footer-like i:hover {
  animation: pop 0.3s ease;
}
@keyframes pop {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.5);
  }
  100% {
    transform: scale(1.2);
  }
}

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    text-align: center;
  }

  .footer-top .menu a {
    display: inline-block;
    width: auto;
  }

  .replyAndAbout {
    justify-content: center;
    margin-top: 10px;
    flex-wrap: wrap;
  }

  .socialMedia {
    justify-content: center;
  }

  .copyright {
    margin: 20px 20px 0 20px;
    font-size: 16px;
  }
}

@media (max-width: 400px) {
  .footer-top .menu a {
    display: block;
    width: 100%;
    max-width: 280px;
    margin: 5px auto;
    text-align: center;
  }

  .footer-top {
    align-items: center;
  }

  .replyAndAbout {
    flex-direction: column;
    border: none;
  }

  .replyAndAbout a:first-child {
    border-right: none;
  }

  .socialMedia a {
    margin: 10px;
  }

  .copyright {
    font-size: 15px;
    margin: 15px;
  }

  .footer-like {
    font-size: 25px;
  }
}
.like-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.popup-content {
  background: #fff;
  color: #000;
  padding: 25px 30px;
  border-radius: 10px;
  text-align: center;
  max-width: 350px;
  width: 90%;
  position: relative;
  animation: popupFade 0.3s ease;
}

.popup-content h3 {
  margin-bottom: 10px;
}

.popup-content a {
  text-decoration: none;
  color: #0d6efd;
  font-size: 18px;
}

.popup-content a:hover {
  text-decoration: underline;
}

.close-popup {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 22px;
  cursor: pointer;
}
@keyframes popupFade {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
/* Exersise */
#exercises-iframe.active {
  display: block;
}

#exercises-list.hidden {
  display: none;
}
#exercises-iframe.active {
  display: block !important;
}

.exercise-link {
  display: block;
  padding: 1rem;
  margin-bottom: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-left: 4px solid #f0db4f;
  border-radius: 4px;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.exercise-link:hover {
  background: rgba(255, 255, 255, 0.1);
}

.exercise-link-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.exercise-link-desc {
  font-size: 0.85rem;
  color: #d1d5db;
}

.back-btn {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.5rem 1rem;
  background: rgba(240, 219, 79, 0.1);
  border: 1px solid #f0db4f;
  color: #f0db4f;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
}

.back-btn:hover {
  background: rgba(240, 219, 79, 0.2);
}
/* language */
.language-selector {
  display: inline-block;
  vertical-align: middle;
}

#languageSelect {
  padding: 8px 12px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Roboto", sans-serif;
}

#languageSelect:hover {
  border-color: #007bff;
  box-shadow: 0 2px 5px rgba(0, 123, 255, 0.3);
}

#languageSelect:focus {
  outline: none;
  border-color: #007bff;
}
.chatbot-widget-simple {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.chatbot-launcher-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4285f4, #34a853);
  color: white;
  border: none;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(66, 133, 244, 0.3);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.chatbot-launcher-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(66, 133, 244, 0.5);
  background: linear-gradient(135deg, #3367d6, #2e8b57);
}

.chatbot-notification {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 12px;
  height: 12px;
  background: #f44336;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }
  100% {
    transform: scale(0.8);
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 480px) {
  .chatbot-widget-simple {
    bottom: 15px;
    right: 15px;
  }

  .chatbot-launcher-btn {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .chatbot-notification {
    width: 10px;
    height: 10px;
  }
}
