/********** Template CSS **********/
:root {
  --primary: #d81324;
  --secondary: #0b2154;
  --light: #ffffff;
  --dark: #111111;
  --background: #2e004f; /* Deep Purple Background */
}

body {
  background-color: var(--background) !important;
}

.fw-medium {
  font-weight: 600 !important;
}

.back-to-top {
  position: fixed;
  /* display: none; */
  right: 45px;
  bottom: 45px;
  z-index: 99;
}

.sidebar-gif {
  position: fixed;
  right: 20px;
  top: 75%;
  transform: translateY(-50%);
  z-index: 1000;
}

.sidebar-gif img {
  width: 90px;
  height: auto;
}

.sidebar-gif-click {
  position: fixed;
  right: 20px;
  top: 60%;
  transform: translateY(-50%);
  z-index: 1000;
}

.sidebar-gif-click img {
  width: 90px;
  height: auto;
}

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/*** Button ***/
.btn {
  font-weight: 500;
  text-transform: uppercase;
  transition: 0.5s;
}

.btn.btn-primary,
.btn.btn-secondary {
  color: #ffffff;
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.announcement-container {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 70%;
  margin: 0 auto;
  overflow: hidden;
  padding: 10px 0;
}

.announcement-container img {
  width: 20px;
  height: auto;
}

.marquee-container {
  flex: 1;
  width: 70%;
  overflow: hidden;
  padding: 10px 0;
  font-size: 18px;
  font-weight: bold;
  white-space: nowrap;
  position: relative;
  margin: 0 auto;
  border-radius: 5px;
}

.marquee-wrapper {
  color: rgb(255, 236, 63);
  display: flex;
  width: 200%;
}

.marquee-content {
  font-size: 2rem;
  display: flex;
  flex-shrink: 0;
  min-width: 100%;
  animation: marquee-scroll 15s linear infinite;
}

.about .row p {
  font-size: 100%;
  color: #9226df;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  border-radius: 2px;
}

/*** Navbar ***/
.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
  margin-right: 30px;
  padding: 20px 0;
  color: #ffffff;
  font-size: 15px;
  text-transform: uppercase;
  outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: var(--primary);
}

@media (max-width: 991.98px) {
  .navbar-light .navbar-nav .nav-link {
    margin-right: 0;
    padding: 10px 0;
  }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
  height: 75px;
}

.navbar-light .navbar-nav .nav-link {
  color: var(--dark);
  font-weight: 500;
}

.navbar-light.sticky-top {
  top: -100px;
  transition: 0.5s;
}

@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    border: none;
    margin-top: 0;
    top: 150%;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
  }

  .navbar .nav-item:hover .dropdown-menu {
    top: 100%;
    visibility: visible;
    transition: 0.5s;
    opacity: 1;
  }

  .random-number {
    font-size: 1.9rem;
    padding: 5px;
    margin: 10px 0 0 0;
  }
}

/*** Header ***/
.carousel-caption {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
  width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
}

.random-number {
  font-size: 3.5rem;
  font-weight: bold;
  color: rgb(255, 255, 255);
  padding: 20px;
  border-radius: 10px;
  margin-top: 4.9%;
}

@media (max-width: 976px) {
  .random-number {
    font-size: 2.1rem;
    padding: 5px;
    margin-top: 30px !important;
    margin: 10px 0 0 0;
  }
}

@media (max-width: 768px) {
  #header-carousel .carousel-item {
    position: relative;
    min-height: 160px;
  }

  #header-carousel .carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .random-number {
    font-size: 1.4rem;
    padding: 5px;
    margin: 10px 0 0 0 !important;
  }

  .banner-img {
    object-fit: cover;
    height: auto;
    max-height: 150px;
  }

  .carousel-caption {
    display: none !important;
  }

  .text-primary {
    width: 10px;
  }

  .team {
    padding-top: 10px !important;
  }

  .marquee-container,
  .announcement-container {
    width: 90% !important;
  }

  .announcement-container {
    margin-bottom: -50px !important;
    margin-top: -50px !important;
  }

  .container {
    margin-bottom: 0px !important;
  }

  .navbar .ms-auto {
    padding-right: 0 !important;
  }

  .navbar-light .navbar-nav .nav-link {
    margin: 0px 5px !important;
  }

  .team-item .text-center h5 {
    font-size: 14px;
  }

  .marquee-content {
    font-size: 1rem;
  }
}

/*---------------------------------------
  FAQ             
-----------------------------------------*/
.faq {
  width: 90%;
  margin: 20px auto;
}

.faq-title {
  color: white;
  font-size: 30px;
  background-color: rgba(255, 183, 31, 0.4);
  padding: 3px 10px;
  border-radius: 5px;
}

.accordion {
  width: 90%;
  margin: 0 auto;
}

.accordion-item {
  background: var(--background) !important;
}

.accordion-header button {
  background: var(--background) !important;
  color: white;
}

.accordion-item + .accordion-item {
  border-top: 1px solid black;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
  color: white;
}

.accordion-button:focus {
  color: #ffb71f;
}

/*---------------------------------------
    author             
  -----------------------------------------*/
.author {
  width: 90%;
  margin: 20px auto;
}

.author-title {
  color: white;
  font-size: 30px;
  background-color: rgba(255, 183, 31, 0.4);
  padding: 3px 10px;
  border-radius: 5px;
}

.author-box {
  background-color: #333;
  color: white;
  border-radius: 10px;
  height: auto;
}

.author-image {
  width: 150px;
  height: 100%;
  overflow: hidden;
  border-radius: 8px;
  flex-shrink: 0;
}

.author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.author-icons i {
  color: white;
  font-size: 20px;
  cursor: pointer;
}

.author-icons i:hover {
  color: #ffb71f;
}

.author-info h4 {
  color: #ffb71f;
}

.author-info p {
  color: white;
  font-size: 15px;
}

@media (max-width: 991px) {
  .author-image {
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
  }

  .author-icons {
    justify-content: center;
  }

  .author-info {
    text-align: center;
  }
}

/*---------------------------------------
    privacy-link             
  -----------------------------------------*/
.privacy-link {
  color: #ffb71f;
}

.privacy-link:hover {
  color: white;
}

/*---------------------------------------
    privacy             
  -----------------------------------------*/
.privacy {
  width: 90%;
  margin: 0 auto;
  padding-top: 10px;
  color: #fff;
}

.privacy-title {
  color: white;
  font-size: 30px;
  background-color: rgba(255, 183, 31, 0.4);
  padding: 3px 10px;
  border-radius: 5px;
}

.privacy-content h5 {
  font-size: 1.25rem;
  margin-top: 1.5rem;
  color: #ffb71f;
}

.privacy-content p,
.privacy-content ul {
  font-size: 0.95rem;
  line-height: 1.6;
}

.privacy-content ul {
  padding-left: 1.25rem;
}

/*---------------------------------------
  login loerlay              
-----------------------------------------*/
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 999;
  justify-content: center;
  align-items: center;
}

.login-modal {
  background: #2e004f;
  border-radius: 20px;
  padding: 30px;
  width: 300px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  color: white;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.login-modal img.logo {
  width: 100px;
  height: auto;
  margin: 0 auto;
  display: block;
}

.login-modal input {
  padding: 10px;
  border: none;
  border-radius: 10px;
  outline: none;
  margin-top: 10px;
  width: 100%;
  background-color: #52008c;
  color: white;
}

.login-modal button {
  margin-top: 10px;
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 30px;
  background: linear-gradient(180deg, #8e00f4, #5c009e);
  color: #333;
  font-weight: bold;
  cursor: pointer;
}

.close-btn {
  text-align: right;
  color: white;
  cursor: pointer;
  font-size: 18px;
}

.error-message {
  color: #ff4d4d;
  font-size: 12px;
  margin-top: 5px;
  height: 14px;
}

/*---------------------------------------
  bottom login              
-----------------------------------------*/
.bottom-login-bar {
  width: 90%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  background: linear-gradient(180deg, #5d2785, #360a55);
  padding: 20px;
  border-radius: 20px;
  gap: 10px;
}

.footer-login-form {
  width: 100%;
  display: flex;
  gap: 10px;
}

.footer-login-form input {
  padding: 10px;
  border: none;
  border-radius: 10px;
  outline: none;
  background-color: #52008c;
  color: white;
  flex: 2;
}

.footer-login-form button {
  padding: 10px 20px;
  border: none;
  border-radius: 30px;
  background: linear-gradient(180deg, #8e00f4, #5c009e);
  color: #333;
  font-weight: bold;
  cursor: pointer;
  flex: 1;
}

@media (max-width: 991px) {
  .footer-login-form {
    flex-direction: column;
  }
}
