/* Forward animation */
.move-animation {
  animation: move 12000ms 1300ms ease-in forwards;
}

/* Reverse animation */
.reverse-move {
  animation: reverseMove 3000ms ease-out forwards;
}

/* Keyframes for forward animation */
@keyframes move {
  from {
    overflow: hidden;
    transform: translate(0);
  }
  to {
    transform: translate(-150%, -150%);
  }
}

/* Keyframes for reverse animation */
@keyframes reverseMove {
  from {
    transform: translate(-150%, -150%);
  }
  to {
    transform: translate(0);
  }
}

.getbacktheplan {
  padding: 0.75rem 1.5rem;
  outline: none;
  border: none;
  font-size: 1rem;
  white-space: nowrap;
  color: #2c2f33;
  background-color: #d3e2ec;
  border-radius: 5rem;
  transition: 0.3s;
  cursor: pointer;
}

.con {
  width: 100%;
  min-height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 8%;
  position: relative;
}
.gallerycon {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  grid-gap: 30px;
}

.gallerycon img {
  border-radius: 1rem;
  box-shadow: 9px 8px 22px -2px rgba(0, 0, 0, 0.81);
  -webkit-box-shadow: 9px 8px 22px -2px rgba(0, 0, 0, 0.81);
  -moz-box-shadow: 9px 8px 22px -2px rgba(0, 0, 0, 0.81);
  width: 100%;
}

@media (max-width: 992px) {
  .gallerycon {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .gallerycon {
    grid-template-columns: 1fr;
  }
}

.gallerycon a {
  display: none;
}

.fade {
  opacity: 0;
  transition: opacity 0.5s ease-in; /* Adjust duration and easing as needed */
}

.fade-in {
  opacity: 1;
}

.pagination-controls {
  position: absolute;
  top: 100%;
}
.container-eg-btn-2 .button {
  margin: 0 1rem;
  padding: 0.25rem 1.9rem;
  outline: none;
  border: none;
  font-size: 1rem;
  white-space: nowrap;
  color: var(--white);
  background: #1c447565;
  border-radius: 5rem;
  transition: 0.3s;
  cursor: pointer;
  text-align: center;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: 700ms;
  z-index: 1;
  border: none !important;
  font-size: 1.4rem;
}
.container-eg-btn-2 .button-3:hover {
  box-shadow: inset 8.5em 0 0 0 #2887ff;
}

.container-eg-btn-2 .button-4:hover {
  box-shadow: inset -8.5em 0 0 0 #2887ff;
}
.container-eg-btn-2 .button:hover {
  cursor: pointer;
  color: #e7ffcb;
}

.button:disabled {
  background: rgb(228, 225, 225);
  color: #7a7a7a;
  border: 2px solid #c0c0c0;
  cursor: not-allowed;
  opacity: 0.6;
}

/* Video Styling */
.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0; /* Initially hidden */
  transition: opacity 1s ease; /* Fade-in transition */
  z-index: -1; /* Same as background, but will appear above on play */
}

/* Initial text color and transition */
.header__content p,
.header__content h1 {
  transition: color 0.5s ease;
}

/* Fade out and fade in keyframes */
.fade-out {
  animation: fadeOut 0.5s forwards;
}

.fade-in {
  animation: fadeIn 0.5s forwards;
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.stock-ticker {
  font-size: 15px;
  padding-block: 8px;
  overflow: hidden;
  user-select: none;

  --gap: 20px;
  display: flex;
  gap: var(--gap);
}

.stock-ticker ul {
  list-style: none;
  flex-shrink: 0;
  min-width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--gap);

  animation: scroll 20s linear infinite;
}

.stock-ticker:hover ul {
  animation-play-state: paused;
}

@keyframes scroll {
  to {
    transform: translateX(calc(-100% - var(--gap)));
  }
}

.update {
  text-align: center;
  padding: 0 1rem 1rem;
}
.stock-ticker ul:last-child {
  background-color: #2887ff;
  color: #fff;
}
.stock-ticker ul:last-child li {
  border: 1px solid black;
}

.stock-ticker .company,
.stock-ticker .price {
  font-weight: bold;
}

.stock-ticker {
  background: #2889ff11;
}
.stock-ticker ul li {
  border: 1px solid rgb(201, 197, 197);
  padding: 0.3rem 0.8rem;
}
.line {
  width: 100%;
  height: 1px;
  margin: 1.2rem 0;
  background: black;
  display: block;
}

.newheader {
  min-height: 100vh;
  display: flex;
  background: linear-gradient(rgba(0, 0, 0, 0.7), transparent),
    url("./assets/jc-gellidon-e3GO5N-x8MY-unsplash.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10rem;
}

.container__left h1 {
  margin-bottom: 2rem;
  font-size: 2.5rem;
  font-weight: 500;
  color: #fff;
}

.container__left p {
  color: #fff;
  margin-bottom: 1rem;
}

.container__left button {
  padding: 1rem 2rem;
  margin-top: 1rem;
  outline: none;
  border: none;
  border-radius: 5px;
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--primary-color-dark)
  );
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
}

.container__right {
  display: grid;
  gap: 2rem;
}

.card {
  padding: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  background-color: #fff;
  border-radius: 1rem;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.card img {
  max-width: 75px;
  border-radius: 100%;
}

.card__content {
  display: flex;
  gap: 1rem;
}

.card__content span i {
  font-size: 2rem;
  color: var(--primary-color);
}

.card__details p {
  font-style: italic;
  color: #000;
  margin-bottom: 1rem;
}

.card__details h4 {
  text-align: right;
  color: #000;
  font-size: 1rem;
  font-weight: 500;
}

@media (width < 1200px) {
  .container {
    gap: 3rem;
  }
}

@media (width < 900px) {
  .container {
    grid-template-columns: repeat(1, 1fr);
  }

  .container__right {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (width < 750px) {
  .container__right {
    grid-template-columns: repeat(1, 1fr);
  }
}
.container__left button {
  background: #2887ff;
  transition: all 1 ease;
}
.container__left button:hover {
  background: rgb(17, 73, 126);
}

.whatsapp-button {
  position: fixed;
  bottom: 20px;

  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1299;
  transition: opacity 0.3s ease-in-out;
  transition: opacity 0.3s ease-in-out, transform 0.6s ease-in-out;
  transform: translateY(0);
}

.whatsapp-button i {
  color: #fff;
  font-size: 24px;
}

@media (max-width: 768px) {
  .whatsapp-button {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 25px;
  }

  .whatsapp-button i {
    font-size: 20px;
  }
}
.whatsapp-button.show {
  bottom: 10px;
  transform: translateY(-40px);
}

@media (max-width: 760px) {
  .logo img {
    height: 80px;
    width: auto;
  }
  .nav__header {
    background: #ffffff;
  }
  .nav__menu__btn {
    margin-right: 2rem;
  }
  #home {
    margin-top: 10rem;
  }
  .nav__header {
    box-shadow: -3px 6px 16px -6px rgba(0, 0, 0, 0.87);
    -webkit-box-shadow: -3px 6px 16px -6px rgba(0, 0, 0, 0.87);
    -moz-box-shadow: -3px 6px 16px -6px rgba(0, 0, 0, 0.87);
  }
}
/* Style the button */
#goToTopBtn {
  z-index: 9999;
  position: fixed;
  bottom: 20px;
  left: 20px;
  display: none; /* Hidden by default */
  font-size: 12px;
  padding: 10px 15px;
  background-color: #007bff; /* Blue color */
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: opacity 0.3s;
}

/* Show button when page is scrolled down */
#goToTopBtn.show {
  display: block;
}

/* Hover effect */
#goToTopBtn:hover {
  background-color: #0056b3;
}

/* new css  */
.description {
  white-space: wrap;
}

.wrap {
  display: flex;
  justify-content: space-evenly;
  align-items: stretch;
  width: 100%;
  gap: 24px;
  padding: 24px;
  flex-wrap: wrap;
}

.box {
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
  position: relative;
  padding: 24px;
  background: #fff;
}

.box-top {
  display: flex;
  flex-direction: column;
  position: relative;
  gap: 12px;
  margin-bottom: 36px;
}

.box-image {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: 50% 20%;
}

.title-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.box-title {
  border-left: 3px solid var(--purple);
  padding-left: 12px;
}

.user-follow-info {
  color: hsl(0, 0%, 60%);
}

.button {
  display: block;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: auto;
  padding: 10px;
  color: #000;
  border: 1px solid rgb(158, 146, 146);
  background: transparent;
  transition: background 0.4s ease;
  border-radius: 10px;
}

.button:hover {
  background: #134bb4bd;
  color: white;
}

.fill-one {
  background: var(--light-bg);
}

.fill-two {
  background: var(--pink);
}

/* RESPONSIVE QUERIES */

@media (min-width: 320px) {
  .title-flex {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: start;
  }
  .user-follow-info {
    margin-top: 6px;
  }
}

@media (min-width: 460px) {
  .title-flex {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: start;
  }
  .user-follow-info {
    margin-top: 6px;
  }
}

@media (min-width: 640px) {
  .box {
    flex-basis: calc(50% - 12px);
  }
  .title-flex {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: start;
  }
  .user-follow-info {
    margin-top: 6px;
  }
}

@media (min-width: 840px) {
  .title-flex {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: start;
  }
  .user-follow-info {
    margin-top: 6px;
  }
}

@media (min-width: 1024px) {
  .box {
    flex-basis: calc(33.3% - 16px);
  }
  .title-flex {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: start;
  }
  .user-follow-info {
    margin-top: 6px;
  }
}

@media (min-width: 1100px) {
  .box {
    flex-basis: calc(25% - 18px);
  }
}
.s {
  min-height: 100vh;
  display: flex;
  margin: auto;
  flex-direction: column;
  width: 90%;
  justify-content: center;
  align-items: center;
}
.pagination-controls {
  display: flex;
}
