/* Courses */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  background: url("./giphy\ \(2\).gif");
  background-size: cover;
  font-family: sans-serif;
  position: relative; /* To position social icons */
  margin: 10px; /* Remove margins */
  overflow-x: hidden; /* Hide horizontal scrollbar */
}

.container {
  width: 100%;
  padding: 5vw 2vw 5vw 2vw;
}

.heading {
  color: #fff;
  text-align: center;
  font-size: 30px;
  margin-bottom: 50px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.card {
  width: 30%;
  background: linear-gradient(135deg, #00faff, #0033ff);
  border-radius: 1rem;
  margin-bottom: 30px;
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px -10px rgba(0, 0, 0, 0.25);
}

.card-image-top img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.card-body {
  text-align: center;
  font-size: 18px;
  position: relative;
  z-index: 2;
}

.card-scrollable {
  max-height: 100px;
  overflow-y: auto;
  margin-bottom: 10px;
}

.card-scrollable p {
  font-size: 40px;
}

.card-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card-body ul li {
  text-align: left;
}

.card-body table {
  margin: 0 auto;
}

.card-body a.btn {
  display: block;
  color: #fff;
  text-align: center;
  border-radius: 20px;
  background-color: #221e22;
  margin-top: 30px;
  text-decoration: none;
  padding: 10px 5px;
  transition: 0.3s ease;
  position: relative;
  z-index: 2;
}

.card-body a.btn:hover {
  background-color: #e2ec53;
  box-shadow: 0 0 10px rgba(248, 244, 247, 0.932);
  color: #0b1f70;
}

.card-image-top {
  position: relative;
}

.card-image-top::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s;
}

.card-image-top:hover::before {
  opacity: 1;
}

.social-icons {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 999;
}

.social-icons a {
  margin-right: 10px;
}

.social-icons img {
  width: 30px;
  height: 30px;
}

.whatsapp-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
}

.whatsapp-icon img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.card-scrollable::-webkit-scrollbar {
  width: 10px;
}

.card-scrollable::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.card-scrollable::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 5px;
}

.card-scrollable::-webkit-scrollbar-thumb:hover {
  background: #555;
}

@media screen and (max-width: 1200px) {
  .container {
    padding: 5vw 5vw 5vw 5vw;
  }

  .card {
    width: 48%;
  }
}

@media screen and (max-width: 920px) {
  .container {
    padding: 5vw 5vw 5vw 5vw;
  }

  .card {
    width: 100%;
  }

  .card-image-top img {
    padding-bottom: 10px;
  }

  .card-body ul li {
    font-size: 16px;
  }

  .card-scrollable {
    max-height: 150px;
  }

  .card-scrollable p {
    font-size: 30px;
  }

  .card-body a.btn {
    font-size: 20px;
    padding: 5px;
  }
}

@media screen and (max-width: 750px) {
  .container {
    padding: 5vw 5vw 5vw 5vw;
  }

  .card {
    width: 100%;
  }

  .card-image-top img {
    padding-bottom: 10px;
  }

  .card-body ul li {
    font-size: 16px;
  }

  .card-scrollable {
    max-height: 150px;
  }

  .card-scrollable p {
    font-size: 30px;
  }

  .card-body a.btn {
    font-size: 20px;
    padding: 5px;
  }
}

@media screen and (max-width: 450px) {
  .container {
    padding: 5vw 0vw 5vw 4vw;
  }

  .card {
    width: 90%;
  }
}
