/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 60%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero h2 {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
}

.hero p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 10px 0 20px 0;
  font-size: 24px;
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 32px;
    line-height: 36px;
  }

  .hero p {
    font-size: 18px;
    line-height: 24px;
  }
}

/* Backgrounds */

.light-background {
  --background-color: #f9f9f9;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

/* Nav Link Underline */

/* .nav-link {
  transition: all 0.3;
  position: relative;
}

.nav-link:hover::after {
  content: "";
  height: 2px;
  width: 72%;
  background-color: #87f6fc;
  position: absolute;
  bottom: 0px;
} */

/* .nav-link {
  text-decoration: underline;
  text-decoration-color: #87f6fc; 
  text-underline-offset: 0.2em; 
} */

.nav-link {
  text-decoration: none;
}

.nav-link:hover {
  text-decoration: underline;
  text-decoration-color: #87f6fc;
  text-underline-offset: 0.2em;
}

/* .nav-link {
  position: relative;
  text-decoration: none;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px; 
  width: 100%;
  height: 2px; 
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-link:hover::after {
  transform: scaleX(1);
} */

/*--------------------------------------------------------------
# Work Pages
--------------------------------------------------------------*/
#work {
  padding: 10px 0;
  background: linear-gradient(to bottom, #505050, #000000); /* Light blue to dark blue */
}

#work.work-scrolled,
#work.work-inner-pages {
  background: linear-gradient(to bottom, #0581aa, #283a5a); /* Light blue to dark blue */
  /* background: #283a5a; */
}

#work .logo {
  font-size: 30px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
}

#work .logo a {
  color: #fff;
}

#work .logo img {
  max-height: 40px;
}

/*--------------------------------------------------------------
# about-2 Us from all pages except index.html
--------------------------------------------------------------*/

#about-2 {
  /* position: relative; */
  margin-top: 0px !important;
}

.fade-in {
  background-color: #060606;
}

/*  */

/* Fix sliders going into navbar */

/* Ensure the carousel is positioned correctly below the navbar */
.carousel {
  margin-top: 68px; /* Adjust based on your navbar height */
}

/* Prevent the carousel from overlapping */
/* .navbar {
  position: relative;
  z-index: 1050; 
} */

/* Ensure the carousel stays behind the navbar */
.carousel-inner {
  position: relative;
  z-index: 1;
}

/* REDHYPER red color */
/* .redhyper {
  color: red !important;
} */
.redhyper {
  background: linear-gradient(to bottom, rgb(111, 149, 246), rgb(0, 29, 252));
  background-clip: text;
  -webkit-background-clip: text; /* Needed for Safari */
  color: transparent;
  -webkit-text-fill-color: transparent; /* Also needed for Safari */
}

/* Indexpage only */

.index {
  padding: 40px 0;
}

/* Redhyper Video */

.video {
  font-size: 20px;
  color: rgb(154, 2, 2) !important;
}

.bargo {
  font-weight: bold;
  text-align: center;
  font-size: 30px;
  font-style: italic;
  margin: 20px 0;
  color: #333;
}

h2 {
  font-size: 28px;
}

.dba {
  font-size: 12px;
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.portfolio .portfolio-item {
  margin-bottom: 30px;
}

.portfolio #portfolio-flters {
  padding: 0;
  margin: 0 auto 25px auto;
  list-style: none;
  text-align: center;
  background: #fff;
  border-radius: 50px;
  padding: 20px 30px;
}

.portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 10px 15px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: #292728;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
  color: blue;
  text-decoration: underline;
}

.portfolio #portfolio-flters li:last-child {
  margin-right: 0;
}

.portfolio .portfolio-wrap {
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: rgba(69, 80, 91, 0.8);
}

.portfolio .portfolio-wrap::before {
  content: "";
  /* background: rgba(255, 255, 255, 0.7); */
  background: rgba(0, 0, 0, 0.6);
  position: absolute;
  left: 30px;
  right: 30px;
  top: 30px;
  bottom: 30px;
  transition: all ease-in-out 0.3s;
  z-index: 2;
  opacity: 0;
  backdrop-filter: blur(4px);
  /* -webkit-filter: blur(8px); */
}

.portfolio .portfolio-wrap .portfolio-info {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.portfolio .portfolio-wrap .portfolio-info::before {
  display: block;
  content: "";
  width: 48px;
  height: 48px;
  position: absolute;
  top: 35px;
  left: 35px;
  border-top: 3px solid #d7dce1;
  border-left: 3px solid #d7dce1;
  transition: all 0.5s ease 0s;
  z-index: 9994;
}

.portfolio .portfolio-wrap .portfolio-info::after {
  display: block;
  content: "";
  width: 48px;
  height: 48px;
  position: absolute;
  bottom: 20px;
  right: 35px;
  border-bottom: 3px solid #d7dce1;
  border-right: 3px solid #d7dce1;
  transition: all 0.5s ease 0s;
  z-index: 9994;
}

.portfolio .portfolio-wrap .portfolio-info h4 {
  font-size: 20px;
  color: #45505b;
  font-weight: 600;
}

.portfolio .portfolio-wrap .portfolio-info p {
  color: #45505b;
  font-size: 16px;
  text-transform: uppercase;
  padding: 0;
  margin: 0;
}

.portfolio .portfolio-wrap .portfolio-links {
  text-align: center;
  z-index: 4;
}

.portfolio .portfolio-wrap .portfolio-links a {
  color: #45505b;
  margin: 0 2px;
  font-size: 28px;
  display: inline-block;
  transition: 0.3s;
}

.portfolio .portfolio-wrap .portfolio-links a:hover {
  color: #148af9;
}

.portfolio .portfolio-wrap:hover::before {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 1;
}

.portfolio .portfolio-wrap:hover .portfolio-info {
  opacity: 1;
}

.portfolio .portfolio-wrap:hover .portfolio-info::before {
  top: 15px;
  left: 15px;
}

.portfolio .portfolio-wrap:hover .portfolio-info::after {
  bottom: 15px;
  right: 15px;
}

/*--------------------------------------------------------------
# Portfolio Details
--------------------------------------------------------------*/
.portfolio-details {
  padding-top: 40px;
}

.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #0563bb;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #0563bb;
}

.portfolio-details .portfolio-info {
  padding: 20px;
  box-shadow: 0px 0 30px rgba(40, 47, 53, 0.08);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
  text-shadow: 4px 4px 4px #000;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 16px;
  text-shadow: 4px 4px 4px #000;
}

.portfolio-details .portfolio-info ul li + li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
}

.portfolio-labels {
  font-size: 28px;
  color: rgb(255, 255, 255);
  text-shadow: 4px 4px 4px #000;
}

.portfolio-labels-small {
  font-size: 18px;
  color: rgb(251, 255, 0);
  text-shadow: 2px 2px 2px #000;
}
