@import './variables.css';

/* navbar  start */
.nav-link,
.navbar-brand {
  /* color: var(--light-secondary-text) !important; */
}

.active-link {
  color: var(--primary-color) !important;
}

.nav-pills .nav-link.active {
  background-color: transparent !important;
  color: var(--primary-color) !important;
}

/* Scrolled navbar style */
.navbar-scrolled {
  box-shadow: 0 3px 4px rgba(0, 0, 0, 0.05);
}

/* navbar  end */


/* here section Start */

.hero_section_container {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-blend-mode: darken;
}

/* hero text section  */
.hero_text_value {
  font-size: 4rem;
  /* text-transform: uppercase; */
  /* color: transparent; */
  /* -webkit-text-stroke: 1px var(--primary-color); */
  color: var(--primary-color);
}

/* here image section  */
.hero_image {
  position: relative;
}

.hero_image_container {
  width: 520px;
  height: 520px;
  background: rgba(var(--primary-rgb), 0.4) !important;
}

.hero_image_shadow1 {
  width: 470px;
  height: 470px;
  background: rgba(var(--primary-rgb), 0.6) !important;
}

.hero_image_shadow2 {
  width: 420px;
  height: 420px;
  background: rgba(var(--primary-rgb), 0.8) !important;
}

.hero_image_holder {
  width: 370px;
  height: 370px;
}

.hero_photo {
  border-radius: 500px;
  position: absolute;
  height: 460px;
  width: 370px;
  top: 43vh;
  aspect-ratio: 447 / 559;
  object-fit: cover;
  left: 50%;
  /* Move to 50% from the left */
  transform: translate(-50%, -58.5%);
}

/* social media icons  */
.hero_social_icons_container {
  /* position: absolute; */
  right: 0;
}

.hero_social_icons a {
  width: 40px;
  height: 40px;
  color: var(--primary-rgb) !important;
  /* border: 1px solid rgba(var(--primary-rgb),0.2) !important; */
  margin: 0.2rem 0;
}

.hero_social_icons a i {
  font-size: 1rem !important;
}

.hero_social_icons a:hover {
  /* background: rgba(var(--primary-rgb),1) !important;  */
  color: rgba(var(--primary-rgb), 1) !important;
  border-color: rgba(var(--primary-rgb), 1) !important;
  transition: all 0.5s;
  transform: scale(1.05);
}

.hero_right_slogan {
  position: absolute;
  transform: rotate(90deg);
  top: 50%;
  right: -50%;
}

.scroll_line {
  width: 1px;
  /* Starting width */
  height: 50px;
  margin: 0 auto;
  animation: pulseWidth 3s infinite ease-in-out;

}

@keyframes pulseWidth {

  0%,
  100% {
    transform: scale(0.5);
  }

  50% {
    transform: scale(1);


  }
}

.hero_container {
  position: relative;
}

.dot_section {
  margin-top: 65px !important;
  margin-left: 10px !important;
}

.dot_section2 {
  margin-top: 65px !important;
  margin-right: 10px !important;
}

/* here section end  */


/* about section  */
.card_heading {
  /* background-color: var(--primary-color); */
}

.card_footer {}

.vertical_line {
  height: 80px;
}

/* about section end  */

/* skills section start */
.progress_bar {
  position: relative;
  height: 12px;
  border-radius: 3px !important;
}

.skill_percent {
  height: 100%;
  line-height: 12px;
  text-align: end;
  background: linear-gradient(90deg, rgba(var(--primary-rgb), 0.6) 0%, rgba(var(--primary-rgb), 1) 100%);
}

.skill_percent_value {
  position: absolute;
  right: 0;
  top: -22px;
  padding-right: 10px;
  color: var(--primary-color);
}

/* skills section end */


/* projects section start  */
.project_card {
  position: relative;
  overflow: hidden;
}

.project_card_text_layer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* You can adjust if you want it partial */
  background: rgba(0, 0, 0, 0.6);
  /* optional dark layer */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.project_card:hover .project_card_text_layer {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.project_card_dark_layer {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(var(--primary-rgb), 0.8), transparent 80%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.project_card:hover .project_card_dark_layer {
  opacity: 1;
}


/* projects sections end  */





/* achievements section start  */
.achievements_icon i {
  font-size: 4rem;
  font-weight: 100 !important;
  color: var(--light-secondary-text);
}

/* new code */
@keyframes slide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

.logos {
  overflow: hidden;
  padding: 60px 0;
  white-space: nowrap;
  position: relative;
}

.logo_img {
  aspect-ratio: 6/2;
  object-fit: contain;
  mix-blend-mode: color-burn;
  filter: grayscale(100%);
  /* Apply grayscale */
  transition: all 0.3s ease;
  /* Smooth transition for hover */
}

.logo_img:hover {
  filter: grayscale(0);
  /* Remove grayscale on hover */
  transform: scale(1.1);
  /* Scale up on hover */
}

.logos:before,
.logos:after {
  position: absolute;
  top: 0;
  width: 300px;
  height: 100%;
  content: "";
  z-index: 2;
}

.logos:before {
  left: 0;
  /* background: linear-gradient(to left, rgba(255, 255, 255, 0), white); */
}

.logos:after {
  right: 0;
  /* background: linear-gradient(to right, rgba(255, 255, 255, 0), white); */
}

.logos:hover .logos-slide {
  animation-play-state: paused;
}

.logos-slide {
  display: inline-block;
  animation: 35s slide infinite linear;
}

.logos-slide img {
  height: 50px;
  margin: 0 40px;
}

/* achievements section end  */








/* Testimonials Section Start */
.testimonial_card {
  height: 500px !important;
  overflow-y: auto;
}

.testimonial_rating i {
  color: #FDCC0D !important
}

.testimonial_user_img img {
  width: 50px !important;
  height: 50px !important;
}

.user_designation {
  font-size: 0.9rem !important;
}

.owl-prev,.owl-next{
  width: 60px !important;
  height: 60px !important;
  font-size: 30px !important;
  border-radius: 6px !important;
  border: 1px solid rgba(var(--primary-rgb), 0) !important;

}
.owl-prev:hover,.owl-next:hover{
  background-color: transparent !important;
  color: rgba(var(--primary-rgb), 1) !important;
  border: 1px solid rgba(var(--primary-rgb), 0.5) !important;
  transition: all 0.5s !important;
}

/* Testimonials Section end */



/* contact me section start  */

/* HTML: <div class="loader"></div> */
.loader {
  width: 50px;
  height: 28px;
  --_g: no-repeat radial-gradient(farthest-side, var(--primary-color) 94%, #0000);
  background:
    var(--_g) 50% 0,
    var(--_g) 100% 0;
  background-size: 8px 8px;
  position: relative;
  animation: l23-0 1.5s linear infinite;
}

.loader:before {
  content: "";
  position: absolute;
  height: 8px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--primary-color);
  left: 0;
  top: 0;
  animation:
    l23-1 1.5s linear infinite,
    l23-2 0.5s cubic-bezier(0, 200, .8, 200) infinite;
}

@keyframes l23-0 {

  0%,
  31% {
    background-position: 50% 0, 100% 0
  }

  33% {
    background-position: 50% 100%, 100% 0
  }

  43%,
  64% {
    background-position: 50% 0, 100% 0
  }

  66% {
    background-position: 50% 0, 100% 100%
  }

  79% {
    background-position: 50% 0, 100% 0
  }

  100% {
    transform: translateX(calc(-100%/3))
  }
}

@keyframes l23-1 {
  100% {
    left: calc(100% + 7px)
  }
}

@keyframes l23-2 {
  100% {
    top: -0.1px
  }
}

/* contact me section end  */


/* footer section start */
.footer_icons a {
  color: var(--primary-rgb) !important;
}

.footer_icons a:hover {
  /* background: rgba(var(--primary-rgb),1) !important;  */
  color: rgba(var(--primary-rgb), 1) !important;
  border-color: rgba(var(--primary-rgb), 1) !important;
  transition: all 0.5s;
  transform: scale(1.05);
}
/* footer section end */


