@import url("https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");

:root {
  --bg-color: #000;

  --btn-color: #fdfdfd; /* button color*/
  --btn-bg: #0a8dd3; /* button bg color*/

  --primary-text-color: #0a8dd3;
  --header-link-hover: #0a8dd3;
  --input-hover-bd-color: #0a8dd3;
}

html {
  scroll-behavior: smooth;
  font-family: "Ubuntu", sans-serif;
}

header {
  /* background-color: #fff;
    color: #000; */
  color: #b1b1b1;
}

header > .collapsible-header {
  display: flex;
  gap: 1rem;
  width: 100%;
  background-color: inherit;
  place-content: center;
  overflow: hidden;
  transition: width 0.3s ease;
}

.animated-collapse {
  transition: width 0.3s ease;
}

.header-links {
  display: flex;
  align-items: center;
  min-width: fit-content;
  border-radius: 5px;
  padding: 5px 10px;
  transition: background-color 0.5s, color 0.5s;
}

.header-links:hover {
  color: #ffffff;
  /* background-color: var(--header-link-hover); */
}

.primary-text-color {
  color: var(--primary-text-color);
}

.gradient-text {
  background: rgb(215, 215, 215);
  background: linear-gradient(
    90deg,
    rgba(215, 215, 215, 1) 18%,
    rgba(136, 136, 136, 1) 71%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.signup-img-section {
  background-image: url("../assets/images/home/darkbg.png");
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* Do not repeat the image */
  background-size: cover;
}

.hero-img-bg-grad {
  background: rgb(126, 34, 206);
  background: linear-gradient(
    90deg,
    #7e22ce91 8%,
    #625aafae 31%,
    #7badbbbc 76%,
    #54d2d0ca 89%
  );
  filter: blur(50px);
  opacity: 0.5;
}

#dashboard {
  /* transform-origin: bottom center; */
  transform: perspective(1200px) translateX(0px) translateY(12px) scale(0.8)
    rotate(0deg) rotateX(70deg);
  transition: transform 0.5;
}

.border-gradient {
  background: rgb(219, 215, 213);
  background: linear-gradient(
    180deg,
    rgba(219, 215, 213, 1) 35%,
    rgba(214, 211, 233, 0) 71%
  );
  /* background-image: linear-gradient(90deg, #7e22ce91 8%, #625aafae 31%, #7badbbbc 76%, #54d2d0ca 89%); */
  padding: 2px;
  border-radius: 10px;
}
.border-gradient > div {
  /* background-color: var(--bg-color); */
  background-color: var(--bg-color);
  border-radius: inherit;
}

.opacity-0 {
  opacity: 0 !important;
}

.opacity-100 {
  opacity: 100 !important;
}

.btn {
  padding: 10px 15px;
  width: max-content;
  border-radius: 5px;
  color: var(--btn-color);
  background-color: var(--btn-bg);
  justify-content: center;
  align-items: center;
  display: flex;
  cursor: pointer;
}

.btn:hover {
}

.btn:disabled {
  cursor: default;
}

.input {
  padding: 10px;
  background-color: transparent;
  border-radius: 5px;
  /* outline: none; */
  min-width: 100px;
  border: 1px solid #818080;
  /* transition: border 0.3s; */
}

.input:active,
.input:focus,
.input:focus-within {
  border: 1px solid var(--input-hover-bd-color) !important;
}

.carousel-container {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  max-width: 800px;
}

.carousel {
  display: inline-block;
  animation: scroll 10s linear infinite;
}

.carousel-img {
  display: inline-block;
  margin: 0 20px;
}

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

.footer-link {
  color: #c7c6c6;
  transition: color 0.3s;
}

.footer-link:hover {
  color: #fff;
}

/* Style for the collapsible content such as faq commonly known as: accordion */

.faq-accordion {
  background-color: inherit;
  color: #f2f2f2;
  cursor: pointer;
  padding: 15px 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  transition: height 0.4s;
}

.faq .content {
  padding: 0px 18px;
  color: #e4e4e4;
  height: max-content;
  overflow: hidden;
  background-color: transparent;
  text-align: justify;
  max-height: 0px;
  transition: max-height 0.4s, padding 0.4s;
}

.faq-accordion .active,
.faq-accordion:hover {
  /* background-color: #2e2c2c; */
}

/* Modal Overlay */
#privacyPolicyModal {
  display: none; /* Hidden by default */
  position: fixed; /* Stays in place */
  z-index: 1000; /* On top of other elements */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  background-color: rgba(0, 0, 0, 0.8); /* Black background with transparency */
  overflow: hidden; /* Prevent scrolling */
}

/* Modal Content */
.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Center the modal */
  width: 90%; /* Adjust the width as needed */
  max-width: 600px; /* Set a max width */
  background-color: #fff;
  color: #000;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  text-align: left;
  overflow-y: auto; /* Scrollable content */
  max-height: 80%; /* Prevent content from going off-screen */
}

/* Close Button */
.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ddd;
  border: none;
  padding: 10px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
}

.modal-close:hover {
  background: #bbb;
}

@media not all and (min-width: 1024px) {
  header .collapsible-header {
    position: fixed;
    right: 0px;
    flex-direction: column;
    opacity: 0;
    height: 100vh;
    min-height: 100vh;
    height: 100dvh;
    width: 0vw;
    justify-content: space-between;
    padding: 5px;
    padding-top: 5%;
    padding-bottom: 5%;
    place-items: end;
    background-color: #040404;
    color: #ffffff;
    overflow-y: auto;
    box-shadow: 3px 0px 3px 2px #9f9f9f;
  }

  .header-links {
    color: rgb(255, 255, 255);
  }
}
