@import url('https://fonts.googleapis.com/css?family=Nunito+Sans&display=swap');
body{
  font-family: "Quicksand", sans-serif;
}
:root{
  --primary-color: #000;
  --bg-color: #dfe6e9;
  --text-color: white;
}

.container_body{
  font-family: 'Nunito Sans', sans-serif;
}

.card-outer{
  background: white;
  cursor: pointer;
  border-radius: 15px;
  position: relative;
  padding: 25px 30px;
  color: var(--primary-color);
}

.card-outer::after{
  content: '';
  background: var(--primary-color);
  border-radius: 15px;
  height: 100%;
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  clip-path: circle(10% at 0% 0%);           transition: all .3s ease-in;
}

.card-inner{
  position: relative;
  z-index: 1;
  transition: all .3s ease-in;
}

.card-outer:hover::after{
  clip-path: circle(100%);
}

.card-outer:hover .content{
  color: var(--text-color);
}

/* for below cards */
.project_Cards{

}

.shape-box {
    display: inline-block;
    position: relative;
    z-index: 1;
    height: 430px;
    box-shadow: 0 6px 30px 0 rgba(0, 0, 0, .12);
    overflow: hidden;

}

.shape-box_half {
  overflow: hidden;
  text-align: left;
  width: 100%; /* Adjust the width as needed */
  border-radius: 15px !important;
}

.shape-box_half:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transform: skewY(53.5deg);
    transform-origin: top left;
    transition: \transform .4s;
    background: #fff;
    z-index: 1;
}

.shape-box>img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.bg-black {
    background-color: #000;
}

.shape-box_half figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0 30px 30px;
    transition: \transform .4s;
    transform: translateY(100%);
    z-index: 3;
}

.shape-box_half figcaption .show-cont {
    position: absolute;
    bottom: calc(100% + 30px);
    left: 30px;
    right: 30px;
    transition: bottom .4s;
}

.card-no {
    font-size: 36px;
    color: #ffc107;
    padding: 0;
    margin: 10px 0;
}

.card-main-title {
    margin-top: 8px;
    font-weight: 700;
    font-size: 24px;
    text-transform: uppercase;
    color: #292b2c;
}

.card-content {
    color: #9f9f9f;
    margin-top: 20px;
    line-height: 22px;
    font-size: 15px;
}

.first_pro p{
  text-align: center;
}

.read-more-btn {
    border: 2px solid #db3236;
    font-size: 14px;
    cursor: pointer;
    padding: 10px 20px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 600;
    position: relative;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    background: #db3236;
    color: #fff;
    border-radius: 2px;
    margin-top: 25px;
    text-decoration: none;
}

.read-more-btn:hover {
    background: transparent;
    color: #db3236;

}

.shape-box_half>.after {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
    opacity: 0;
    transition: opacity .4s;
}

/*On hover*/
.shape-box_half:hover:before {
    transform: skewY(20deg);
}

.shape-box_half:hover figcaption {
    transform: translateY(0);
}

.shape-box_half:hover figcaption .show-cont {
    bottom: 100%;
}

.shape-box_half:hover>.after {
    opacity: 1;
}

.shape-box_half {
  overflow: hidden;
  text-align: left;
  width: 100%; /* Adjust the width as needed */
  border-radius: 15px !important;
  transition: transform 0.4s ease; /* Added transition */
}

.shape-box_half:hover {
  transform: translateY(-60px); /* Move up slightly on hover */
}

/* first project des */
.first_pro{
  height: auto;
  width: 60%;
  padding-top: 20px;
}

/* css media query */
@media (max-width: 991.98px) {
  .first_pro {
      text-align: center;
      justify-content: center;
      width: 100%;
      padding: 0px;
  }
}

@media (min-width: 992px) {
  .first_pro {
      text-align: left;
  }
}

/* Styling for text with glow effect for navigations */
.glow-text {
  text-decoration: none;
  color: white;
  position: relative;
  transition: color 0.3s ease;
}

.glow-text::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -1px;
  left: 0;
  background: linear-gradient(to right, #ff0066, #ff6b00, #ffeb3b, #4caf50, #00bcd4, #673ab7, #ff0066);
  background-size: 300%;
  border-radius: 5px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.glow-text:hover {
  color: transparent;
}

.glow-text:hover::before {
  opacity: 1;
  animation: glow-animation 1.5s linear infinite;
}

@keyframes glow-animation {
  0% {
    background-position: 0 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}


@media (max-width: 768px) {
  .row {
    flex-direction: column-reverse;
}

.project_Cards .col-lg-4,
.project_Cards .col-lg-8 {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
}

  .shape-box{
      border: none;
  }

  .Project_des{
    width: 100%;
    text-align: center;
    padding: 20px;
  }

  .project_Cards{
    width: 100%;
  }
  .first_pro{
    display: none;
  }
  .card-main-title{
    font-size: 15px;
  }
}