.button-main {
  background-color: #2b3f5f;
  border-radius: 16px;
  padding: 1rem;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 500;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.button-main:hover {
  background-color: #3a527b;
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.button-main:active {
  transform: translateY(0px);
  box-shadow: none;
}

.popsup {
  transform: scale(1);
  transition: transform 300ms;
  cursor: pointer;
}

.popsup:hover {
  transform: scale(1.06);
}

.submit-btn {
  background-color: #3a527b;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 1rem;
}

.submit-btn:hover {
  background-color: #4a6895;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.submit-btn:active {
  transform: translateY(0px);
  box-shadow: none;
}

.styled-textarea {
  width: 100%;
  height: 160px;
  background-color: #293c5c;
  border: 0px solid #3a527b;
  border-radius: 32px;
  padding: 1rem;
  color: #ffffff;
  font-size: 1.2rem;
  font-family: 'Arial', sans-serif;
  resize: vertical;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.styled-textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500 !important;
}

.styled-textarea:focus {
  border-color: #4a6895;
  border-width: 3px;
  /*box-shadow: 0 0 5px rgba(74, 104, 149, 0.5);*/
}

.navbar-toggler {
  display: none !important;
}

.menu-btn {
  cursor: pointer;
  width: 30px;
  height: 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.menu-btn div {
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  transition: all 0.3s ease;
  border-radius: 12px;
  transform-origin: center;
}

.change .bar1 {
  transform: rotate(45deg);
  position: absolute;
  top: 13px;
}

.change .bar2 {
  opacity: 0;
}

.change .bar3 {
  transform: rotate(-45deg);
  position: absolute;
  top: 13px;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background: #1E2A38!important;
}

@media (max-width: 786px) {
  .bg-none-mobile {
    background-color: rgba(30,42,56,0)!important;
  }
}

@media (min-width: 768px) {
  .bg-none-mobile {
    background-color: #202d42!important;
  }
}

/* Prevent scrolling from body */

/* Fully prevent scroll on all devices */

body.nav-open {
  position: fixed;
  overflow: hidden;
  width: 100%;
  height: 100%;
  touch-action: none;
}

/* Navbar Better animation */

/* Animate collapse open/close */

.collapse.navbar-collapse {
  transition: height 0.4s ease, opacity 0.4s ease;
  /*overflow: hidden;*/
}

.navbar-collapse.collapsing {
  height: 0 !important;
  opacity: 0;
}

.navbar-collapse.collapse.show {
  display: block !important;
  animation: fadeSlideIn 0.8s ease forwards;
}

/* Animation keyframes */

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fix view area on text entry */

.styled-textarea {
  font-size: 16px !important;
  -webkit-text-size-adjust: 100%;
}

/* Quiz Bullets */

.answer-bullet {
  position: relative;
  transition: all 0.2s ease;
}

.answer-bullet:hover {
  transform: translateY(-2px);
  background-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.answer-bullet::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  background: #111;
  color: #fff;
  padding: 2px 6px;
  font-size: 0.7rem;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease;
}

.answer-bullet:hover::after {
  opacity: 1;
  bottom: 130%;
}

/* Upload Button */

.transparent-btn {
  background: transparent;
  border: none;
  color: white;
  /*padding: 8px 10px;*/
  border-radius: 32px;
  transition: background 0.2s ease;
}

.transparent-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

/* Upload Files */

.file-card {
  background: #293c5c;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 20px;
  width: 110px;
  height: 110px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #e5e5e5;
  /*box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);*/
  text-align: center;
}

.file-card .file-thumbnail {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 10px;
}

.file-card .file-icon {
  font-size: 1.5rem;
}

.file-card .file-name {
  font-size: 0.7rem;
  margin-top: 6px;
  padding: 0 6px;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-card .remove-file {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 999px;
  width: 20px;
  height: 20px;
  font-size: 14px;
  color: whitesmoke;
  /*color: #ff7070;*/
  line-height: 18px;
  text-align: center;
  cursor: pointer;
  padding: 0;
}

.file-card .remove-file:hover {
  color: #ffbaba;
  background: rgba(255, 255, 255, 0.2);
}

.file-card.add-card:hover {
  background-color: #314b75;
  transition: background-color 0.2s;
}

