/* Description: Master CSS file */

/*****************************************
Table Of Contents:
- General Styles
- Navigation
- Home
- Information
- Button
- Services
- Plans
- Testimonials
- Newsletter
- Back To Top Button
- Extra Pages
- Media Queries
******************************************/

/**************************/
/*     General Styles     */
/**************************/
:root {
  --primary: #1c262f;
  --primary-light: #212d37;
  --secondary: #0ee951;
  --tertiary: #00dabf;
  --gradient: linear-gradient(to right, #0ee951, #00dabf);
  --blue-primary: #0a345a;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
}

h1 {
  font-size: 45px;
  font-weight: 500;
}

button {
  font-family: sans-serif;
}

p,
ul,
h4 {
  margin: 0;
  padding: 0;
}

a {
  color: white;
  text-decoration: none;
}

li {
  list-style-type: none;
}

/* Section Background */
.home {
  height: 80vh;
  position: relative;
}
@media (max-width: 576px) {
  .home {
    height: auto;
  }
}
.about,
.plans,
.work,
.contact {
  height: 100vh;
  position: relative;
}

.services,
.work,
.contact,
.testimonial,
.footer {
  background-color: var(--primary);
}

/* .about, */
.plans,
.company,
.newsletter,
.location {
  background-color: var(--primary-light);
}

.bgtitlebox {
  background-color: var(--primary-light);
  border-radius: 40px;
}

.bottom {
  background-color: black;
}

/* Gradient Border And Background On Icons */
.home_text,
.home .fas,
.plans .far,
.information .fas,
.work .fas,
.services .fas,
.location .far,
.location .fas {
  padding: 15px 0;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#0ee951),
    to(#00dabf)
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.navbar-nav a:hover,
.footer a:hover,
.footer .fab:hover {
  cursor: pointer;
  background: var(--gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/**********************/
/*     Navigation     */
/**********************/
.navbar {
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 0.875rem;
  background-color: var(--primary);
  box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.025);
}

.navbar .navbar-brand {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.navbar .logo-image img {
  width: 100%;
  /* height: 32px; */
}

.navbar .logo-text {
  color: #fff;
  font-weight: 500;
  line-height: 1rem;
  font-size: 1.575rem;
  text-decoration: none;
}

.offcanvas-collapse {
  position: fixed;
  top: 2.75rem;
  /* adjusts the height between the top of the page and the offcanvas menu */
  bottom: 0;
  left: 100%;
  width: 100%;
  overflow-y: auto;
  visibility: hidden;
  padding-right: 1rem;
  padding-left: 1rem;
  background-color: var(--primary);
  transition: transform 0.2s ease-in-out, visibility 0.2s ease-in-out;
}

.offcanvas-collapse.open {
  visibility: visible;
  transform: translateX(-100%);
}

.navbar .navbar-nav {
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
}

.navbar .dropdown-menu {
  border: none;
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
  background-color: var(--primary);
}

.navbar .dropdown-item {
  color: #eee;
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 0.875rem;
  padding-top: 0.625rem;
  text-decoration: none;
  padding-bottom: 0.625rem;
}

.navbar .dropdown-item:hover {
  background-color: var(--primary);
}

.navbar .dropdown-divider {
  width: 100%;
  height: 1px;
  border: none;
  margin: 0.5rem auto 0.5rem auto;
  background-color: var(--primary-light);
}

.navbar .nav-item .nav-link {
  color: #eee;
  text-decoration: none;
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
  transition: all 0.2s ease;
}

.navbar .fa-stack {
  width: 2em;
  font-size: 0.75rem;
  margin-right: 0.25rem;
}

.navbar .fa-stack-2x {
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#0ee951),
    to(#00dabf)
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.2s ease;
}

.navbar .fa-stack-1x {
  color: #ffffff;
  transition: all 0.2s ease;
}

.navbar .fa-stack:hover .fa-stack-2x {
  color: var(--primary);
}

.navbar .fa-stack:hover .fa-stack-1x {
  color: var(--primary);
}

.navbar .navbar-toggler {
  padding: 0;
  border: none;
  font-size: 1.25rem;
}

/****************/
/*     Home     */
/****************/
.home {
  background-image: url(../assets/images/home.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* background-attachment: fixed; */
}

.para {
  width: 50%;
}

.para-light {
  opacity: 0.7;
}

/***********************/
/*     Information     */
/***********************/
.information .container-fluid .row div:first-child {
  background-color: #212529 !important;
}

.information .container-fluid .row div:last-child {
  background-color: white !important;
}

.information .container-fluid .row div .d-flex {
  background-color: transparent !important;
}

.information .container-fluid .row div:nth-child(3) {
  background-color: #212529 !important;
}

.information .container-fluid .row div:nth-child(2) {
  background-color: white !important;
}

/******************/
/*     Button     */
/******************/
.btn {
  color: white;
  border-radius: 0;
  border-width: 2px;
  padding: 10px 30px;
  border-image-slice: 1;
  background-image: none;
  background: transparent;
  border-image-source: var(--gradient);
  box-shadow: 5px 5px 0px 0px var(--secondary);
}

.btn:hover {
  color: white;
  box-shadow: none;
  border-radius: 0;
  padding: 10px 30px;
  transform: translate(5px, 5px);
}

/* Email - Newsletter Button */
.btn-secondary {
  color: black;
  border-width: 2px;
  padding: 10px 30px;
  border-image-slice: 1;
  background-image: none;
  background: transparent;
  border-image-source: var(--gradient);
}

.btn-secondary:hover {
  color: black;
  padding: 10px 30px;
  background-image: var(--gradient);
}

/* Other Pages Button */
.btn-tertiary {
  color: black;
  border-radius: 0;
  border-width: 2px;
  padding: 10px 30px;
  border-image-slice: 1;
  background-image: none;
  background: transparent;
  border-image-source: var(--gradient);
  box-shadow: 5px 5px 0px 0px var(--secondary);
}

.btn-tertiary:hover {
  color: black;
  box-shadow: none;
  border-radius: 0;
  padding: 10px 30px;
  transform: translate(5px, 5px);
}

/********************/
/*     Services     */
/********************/
.services .card {
  padding: 20px;
  border-radius: 0;
  border: 2px solid white;
  height: 100vh;
}

.services .card:hover {
  border: 10px solid;
  transform: scale(1.01);
  border-image-slice: 1;
  border-width: 2px;
  border-image-source: var(--gradient);
  box-shadow: 5px 5px 0px 0px #0ee951;
}

/*****************/
/*     Plans     */
/*****************/
.plans .card {
  padding: 20px;
  border: 2px solid white;
}

/************************/
/*     Testimonials     */
/************************/
.slider-1 {
  padding-top: 8.25rem;
  padding-bottom: 8.5rem;
}

.slider-1 .section-title {
  text-align: center;
}

.slider-1 .h2-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.testimonial-card {
  border: 10px solid;
  border-image-slice: 1;
  border-width: 3px;
  border-image-source: var(--gradient);
}

.slider-1 .slider-container {
  position: relative;
}

.slider-1 .swiper-container {
  width: 86%;
  position: static;
}

.slider-1 .swiper-button-prev,
.slider-1 .swiper-button-next {
  color: var(--primary);
}

.slider-1 .swiper-button-prev:focus,
.slider-1 .swiper-button-next:focus {
  /* even if you can't see it chrome you can see it on mobile device */
  outline: none;
}

.slider-1 .swiper-button-prev {
  left: -14px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2028%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23707375'%2F%3E%3C%2Fsvg%3E");
  background-size: 18px 28px;
}

.slider-1 .swiper-button-next {
  right: -14px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2028%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23707375'%2F%3E%3C%2Fsvg%3E");
  background-size: 18px 28px;
}

.slider-1 .card {
  border: none;
  position: relative;
  background-color: transparent;
}

.slider-1 .card-image {
  width: 80px;
  height: 80px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 50%;
  margin-bottom: 1.25rem;
}

.slider-1 .card-body {
  padding: 0;
}

.slider-1 .testimonial-text {
  margin-bottom: 0.75rem;
}

.slider-1 .testimonial-author {
  margin-bottom: 0;
  color: #252c38;
}

.slider-1 .avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
}

/* Dropdown Menu */
.navbar .dropdown .dropdown-menu {
  animation: fadeDropdown 0.2s;
  /* required for the fade animation */
}

@-webkit-keyframes fadeDropdown {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes fadeDropdown {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/**********************/
/*     Newsletter     */
/**********************/
.form-control-input,
.form-control-textarea {
  width: 100%;
  appearance: none;
  border-radius: 4px;
  font-size: 0.875rem;
  line-height: 1.5rem;
  padding-left: 1.5rem;
  padding-top: 0.775rem;
  padding-bottom: 0.775rem;
}

/******************************/
/*     Back To Top Button     */
/******************************/
#myBtn {
  z-index: 99;
  left: 20px;
  width: 52px;
  height: 52px;
  bottom: 20px;
  border: none;
  outline: none;
  display: none;
  position: fixed;
  cursor: pointer;
  border-radius: 50%;
  background-color: #323137;
}

#myBtn:hover {
  background-color: #0f0f11;
}

#myBtn img {
  width: 18px;
  margin-left: 0.125rem;
  margin-bottom: 0.25rem;
}

/***********************/
/*     Extra Pages     */
/***********************/
.ex-header {
  padding-top: 8.5rem;
  padding-bottom: 4rem;
  background-image: url(../assets/images/home.jpg);
}

.ex-header h1 {
  color: #fff;
}

.ex-basic-1 .list-unstyled .fas {
  font-size: 0.375rem;
  line-height: 1.625rem;
}

.ex-basic-1 .list-unstyled .flex-grow-1 {
  margin-left: 0.5rem;
}

.ex-basic-1 .text-box {
  padding: 1.25rem 1.25rem 0.5rem 1.25rem;
  background-color: #f7f9fd;
}

.ex-cards-1 .card {
  border: none;
  background-color: transparent;
}

.ex-cards-1 .card .fa-stack {
  width: 2em;
  font-size: 1.125rem;
}

.ex-cards-1 .card .fa-stack-2x {
  color: var(--secondary);
}

.ex-cards-1 .card .fa-stack-1x {
  width: 2em;
  color: #ffffff;
  font-weight: 700;
  line-height: 2.125rem;
}

.ex-cards-1 .card .list-unstyled .flex-grow-1 {
  margin-left: 2.25rem;
}

.ex-cards-1 .card .list-unstyled .flex-grow-1 h5 {
  margin-top: 0.125rem;
  margin-bottom: 0.5rem;
}

/*************************/
/*     Media Queries     */
/*************************/
@media only screen and (max-width: 1024px) {
  .services,
  .work,
  .testimonial,
  .about,
  .contact,
  .plans {
    height: 100%;
  }
}

@media (min-width: 992px) {
  .slider-1 .swiper-container {
    width: 92%;
  }

  .slider-1 .swiper-button-prev {
    left: -16px;
    width: 22px;
    background-size: 22px 34px;
  }

  .slider-1 .swiper-button-next {
    right: -16px;
    width: 22px;
    background-size: 22px 34px;
  }

  /* Navigation */
  .navbar {
    box-shadow: none;
    transition: all 0.2s;
    padding-top: 2.75rem;
    background-color: transparent;
  }

  .navbar.top-nav-collapse {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    background-color: var(--primary);
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.025);
  }

  .offcanvas-collapse {
    position: static;
    top: auto;
    bottom: auto;
    left: auto;
    width: auto;
    padding-right: 0;
    padding-left: 0;
    background-color: transparent;
    overflow-y: visible;
    visibility: visible;
  }

  .offcanvas-collapse.open {
    transform: none;
  }

  .navbar .navbar-nav {
    margin-top: 0;
    margin-bottom: 0;
  }

  .navbar .nav-item .nav-link {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }

  .navbar .dropdown-menu {
    padding-top: 0.75rem;
    padding-bottom: 0.875rem;
    box-shadow: 0 3px 3px 1px rgba(0, 0, 0, 0.08);
  }

  .navbar .dropdown-divider {
    width: 90%;
  }

  .navbar .social-icons {
    margin-left: 0.5rem;
  }

  .navbar .fa-stack {
    margin-right: 0;
    margin-left: 0.25rem;
  }
}

@media only screen and (max-width: 540px) {
  h1 {
    font-size: 30px;
  }

  .para {
    width: 100%;
  }

  .swiper-container {
    width: 92%;
  }

  .swiper-button-prev {
    left: -16px;
    width: 22px;
    background-size: 22px 34px;
  }

  .swiper-button-next {
    right: -16px;
    width: 22px;
    background-size: 22px 34px;
  }
}

/*
* Material Parallax
*/
.parallax-container {
  position: relative;
  overflow: hidden;
}

.parallax-container p {
  font-size: 18px;
  line-height: 1.33333;
}

.material-parallax {
  position: absolute;
  top: 0;
  left: -1px;
  right: -1px;
  bottom: 0;
  z-index: 0;
}

.parallax-content {
  position: relative;
  z-index: 1;
}

.material-parallax img {
  display: none;
  position: absolute;
  left: 50%;
  bottom: 0;
  min-width: 101%;
  min-height: 101%;
  max-width: none;
  transform: translate3d(-50%, 0, 0);
}

.parallax-disabled {
  background-size: cover;
  background-position: center;
}

html:not(.ie-11):not(.ios) .parallax-disabled {
  background-attachment: fixed;
}

.sessionsscientific .accordion {
  background-color: #34aae3;
  color: #fff;
  cursor: pointer;
  padding: 6px 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 20px;
  transition: 0.4s;
  margin: 8px 0px !important;
}

.sessionsscientific .active,
.accordion:hover {
  background-color: #0097b6;
}

.btn-ellipse {
  background: #1c1f23;
  /* background: #0097b6; */
}

.accordion:after {
  content: "\002B";
  color: #fff;
  font-weight: bold;
  float: left;
  margin-right: 5px;
  font-size: 21px;
}

.sessionsscientific .active:after {
  content: "\2212";
  font-size: 21px;
}

.sessionsscientific .panel {
  padding: 0 18px;
  background-color: white;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.sessionsscientific .show {
  display: block;
}

.sessionsscientific .hide {
  display: none;
}

.team-member,
.team-member .team-img {
  position: relative;
}

.team-member {
  overflow: hidden;
}

.team-member,
.team-member .team-img {
  position: relative;
}

.team-hover {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: 0;
  border: 20px solid rgba(0, 0, 0, 0.1);
  background-color: rgba(255, 255, 255, 0.9);
  opacity: 0;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  padding-top: 13%;
  font-size: 50px;
}

.team-member:hover .team-hover .desk {
  top: 35%;
}

.team-member:hover .team-hover,
.team-member:hover .team-hover .desk,
.team-member:hover .team-hover .s-link {
  opacity: 1;
}

.team-hover .desk {
  position: absolute;
  top: 0%;
  width: 100%;
  opacity: 0;
  -webkit-transform: translateY(-55%);
  -ms-transform: translateY(-55%);
  transform: translateY(-55%);
  -webkit-transition: all 0.3s 0.2s;
  transition: all 0.3s 0.2s;
  padding: 0 20px;
}

.desk,
.desk h4,
.team-hover .s-link a {
  text-align: center;
  color: #222;
}

.team-member:hover .team-hover .s-link {
  bottom: 10%;
}

.team-member:hover .team-hover,
.team-member:hover .team-hover .desk,
.team-member:hover .team-hover .s-link {
  opacity: 1;
}

.team-hover .s-link {
  position: absolute;
  bottom: 0;
  width: 100%;
  opacity: 0;
  text-align: center;
  /*-webkit-transform: translateY(45%);
	-ms-transform: translateY(45%);
	transform: translateY(45%);*/
  -webkit-transition: all 0.3s 0.2s;
  transition: all 0.3s 0.2s;
  font-size: 35px;
}

.desk,
.desk h4,
.team-hover .s-link a {
  text-align: center;
  color: #222;
}

.team-member .s-link a {
  margin: 0 10px;
  color: #333;
  font-size: 25px;
}

.team-title {
  position: static;
  padding: 10px 0;
  display: inline-block;
  letter-spacing: 2px;
  width: 100%;
}

.team-title h5 {
  margin-bottom: 0px;
  display: block;
  text-transform: none;
}

.team-title span {
  font-size: 12px;
  text-transform: none;
  color: #a5a5a5;
  letter-spacing: 1px;
}

.media {
  background: #002247;
  overflow: hidden;
  height: 200px;
  box-shadow: #ccc 5px 5px 5px;
  border: 1px solid #aaa;
  border-radius: 5px !important;
  display: flex !important;
}

.media img {
  height: 200px;
  widows: 200px !important;
}

.media h5 {
  font-size: 18px;
  margin-bottom: 6px;
  margin-top: 4px;
  text-align: left;
  letter-spacing: 0;
  line-height: 24px !important;
}

.media p {
  font-size: 14px;
  line-height: 1.4 !important;
}

@media (max-width: 360px) {
  .media h5 {
    font-size: 17px !important;
  }

  .media p {
    font-size: 13px;
    line-height: 1.2 !important;
  }
}

.media-body {
  padding: 5px 5px 5px 0 !important;
}

.media-body p {
  text-align: left;
  letter-spacing: 0.5px !important;
}

.opacity5 {
  opacity: 0.7 !important;
}

@media (max-width: 420px) {
  .opacity5 {
    opacity: 0.7 !important;
    line-height: 18px;
  }
}

.media-right,
.media > .pull-right {
  padding-left: 10px;
}

.media-left,
.media > .pull-left {
  padding-right: 10px;
}

@media (min-width: 576px) {
  .media-right,
  .media > .pull-right {
    padding-left: 20px;
  }

  .media-left,
  .media > .pull-left {
    padding-right: 14px;
  }
}
.gallery {
  background: #fff;
}

.gallery-cell {
  width: 66%;
  height: 250px;
  margin-right: 10px;
  background-color: #fff;
  counter-increment: gallery-cell;
}

/* cell number */
.gallery-cell:before {
  display: block;
  text-align: center;
  /* content: counter(gallery-cell); */
  line-height: 200px;
  font-size: 80px;
  color: white;
}
#header h1 {
  font-size: 2.1em;
}
.snake-btn {
  position: relative;
  display: inline-block;
  padding: 0.5rem 1.5rem;
  color: #fff;
  overflow: hidden;
  border-radius: 5px;
  text-decoration: none;
  z-index: 1;
  transition: background 0.2s ease;
}

.snake-btn::before,
.snake-btn::after {
  content: "";
  position: absolute;
  border: 4px solid #000;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  animation: snake-border 3s linear infinite;
  z-index: -1;
}

.snake-btn::after {
  animation-delay: 1s;
}

.animated-button1 span {
  position: absolute;
}

.animated-button1 span:nth-child(1) {
  top: 0px;
  left: 0px;
  width: 100%;
  height: 4px;
  background: -webkit-gradient(
    linear,
    right top,
    left top,
    from(rgba(43, 8, 8, 0)),
    to(#000)
  );
  background: linear-gradient(to left, rgba(43, 8, 8, 0), #000);
  -webkit-animation: 2s animateTop linear infinite;
  animation: 2s animateTop linear infinite;
}

@keyframes snake-border {
  0% {
    clip-path: inset(0 100% 100% 0);
  }
  25% {
    clip-path: inset(0 0 100% 0);
  }
  50% {
    clip-path: inset(100% 100% 100% 100%);
  }
  75% {
    clip-path: inset(100% 0 0 0);
  }
  100% {
    clip-path: inset(0 100% 100% 0);
  }
}
@keyframes animateTop {
  0% {
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
  }

  100% {
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
  }
}

.animated-button1 span:nth-child(2) {
  top: 0px;
  right: 0px;
  height: 100%;
  width: 4px;
  background: -webkit-gradient(
    linear,
    left bottom,
    left top,
    from(rgba(43, 8, 8, 0)),
    to(#000)
  );
  background: linear-gradient(to top, rgba(43, 8, 8, 0), #000);
  -webkit-animation: 2s animateRight linear -1s infinite;
  animation: 2s animateRight linear -1s infinite;
}

@keyframes animateRight {
  0% {
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
  }

  100% {
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
  }
}

.animated-button1 span:nth-child(3) {
  bottom: 0px;
  left: 0px;
  width: 100%;
  height: 4px;
  background: -webkit-gradient(
    linear,
    left top,
    right top,
    from(rgba(43, 8, 8, 0)),
    to(#000)
  );
  background: linear-gradient(to right, rgba(43, 8, 8, 0), #000);
  -webkit-animation: 2s animateBottom linear infinite;
  animation: 2s animateBottom linear infinite;
}

@keyframes animateBottom {
  0% {
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
  }

  100% {
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
  }
}

.animated-button1 span:nth-child(4) {
  top: 0px;
  left: 0px;
  height: 100%;
  width: 4px;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(rgba(43, 8, 8, 0)),
    to(#000)
  );
  background: linear-gradient(to bottom, rgba(43, 8, 8, 0), #000);
  -webkit-animation: 2s animateLeft linear -1s infinite;
  animation: 2s animateLeft linear -1s infinite;
}

@keyframes animateLeft {
  0% {
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
  }

  100% {
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
  }
}
.sessions ul.last li:last-child {
  height: 24px;
}
.underline-heading {
  margin-top: 1rem; /* Equivalent to mt-3 */
  margin-bottom: 1rem; /* Equivalent to mb-3 */
  text-decoration: underline;
}
.text-orange {
  color: #ff6600 !important;
}

/* Journals image animation css */
.hanging-thread {
  position: fixed;
  top: 15% !important;
  right: 2%;
  display: inline-block;
  width: 10%; /* total clickable area width */
  height: 32%; /* space for line + image */
  text-decoration: none;
  z-index: 9999;
  pointer-events: auto;
  transform-origin: top right;
  --swing-duration: 2.5s;
}

/* the vertical thread/line */
.hanging-thread .thread-line {
  position: absolute;
  top: 0;
  right: 50%;
  width: 2px;
  height: 44px;
  background: linear-gradient(#ccc, #999);
  transform-origin: top center;
  border-radius: 1px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
  animation: thread-sway var(--swing-duration) ease-in-out infinite;
}

/* the dangling image */
.hanging-thread .thread-bob {
  position: absolute;
  bottom: 0;
  right: 0;
  top: 19%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  border: 3px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transform-origin: top center;
  animation: bob-swing calc(var(--swing-duration) * 1.03) ease-in-out infinite;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  background: #fff;
}

/* hover/focus: stop swinging and lift a bit for affordance */
.hanging-thread:hover .thread-bob,
.hanging-thread:focus .thread-bob {
  animation-play-state: paused;
  transform: translateY(-4px) rotate(-3deg);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.32);
}

/* keyboard focus visible */
.hanging-thread:focus {
  outline: 3px solid rgba(0, 123, 255, 0.18);
  border-radius: 8px;
}

/* subtle animations: keyframes */
@keyframes thread-sway {
  0% {
    transform: rotate(0deg);
  }
  12% {
    transform: rotate(-3deg);
  }
  30% {
    transform: rotate(2deg);
  }
  55% {
    transform: rotate(-1.5deg);
  }
  80% {
    transform: rotate(0.8deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@keyframes bob-swing {
  0% {
    transform: rotate(0deg) translateX(0);
  }
  12% {
    transform: rotate(-6deg) translateX(-2px);
  }
  30% {
    transform: rotate(4deg) translateX(2px);
  }
  55% {
    transform: rotate(-2deg) translateX(-1px);
  }
  80% {
    transform: rotate(1.2deg) translateX(0px);
  }
  100% {
    transform: rotate(0deg) translateX(0);
  }
}

/* Responsive: smaller screens shrink */
@media (max-width: 576px) {
  .hanging-thread {
    top: 8px;
    right: 16%;
    width: 48px;
    height: 64px;
  }
  .hanging-thread .thread-line {
    height: 36px;
  }
  .hanging-thread .thread-bob {
    width: 100%;
    height: 100%;
    border-width: 2px;
  }
}
