.about-mission-card {
  background: #0000;
  overflow: hidden;
  min-height: 300px;
}
.about-mission-card:hover {
  background: #1e1e1e;
}

.content-wrapper {
  position: relative;
  height: 100%;
  min-height: 400px;
}

.first-content,
.second-content {
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.first-content {
  opacity: 1;
}

.about-mission-card:hover .first-content {
  opacity: 0;
}

.about-mission-card:hover .second-content {
  opacity: 1;
}




/*.award-row{
  background-color: #000;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-image 0.5s ease-in-out, background-color 0.5s ease-in-out;
}

.award-row:hover{
  transition: background-image 0.5s ease-in-out, background-color 0.5s ease-in-out;
  background-color: rgba(0, 0, 0, 0.7);
  background-image: url('../../assets/images/award-row-bg.webp');
}*/

.award-row {
  position: relative;
  background-color: #000;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-image 0.5s ease-in-out, background-color 0.5s ease-in-out;
  overflow: hidden;
  z-index: 1;
}

.award-row::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: transparent;
  transition: background-color 0.5s ease;
  z-index: 0;
}

.award-row:hover {
  background-image: url('../../assets/images/award-row-bg.webp');
  background-color: rgba(0, 0, 0, 0.7);
}

.award-row:hover::before {
  background-color: rgba(0, 0, 0, 0.4); /* Light black overlay */
}

/* Ensure content stays above the overlay */
.award-row > * {
  position: relative;
  z-index: 1;
}






.section {
  overflow: hidden;
}

.wrapper {
  height: 100vh;
}

.list {
  justify-content: flex-start;
  align-items: center;
  height: 100%;
  display: flex;
  position: relative;
  padding: 0.2rem;
}

.item {
  width: 100vw;
  height: 100%;
  display: flex;
  position: absolute;
/*  inset: 0%;*/
  overflow: hidden;
  /*border: 20px solid #1e1e1e;
  border-radius: 10px;*/
}


/*==================*/



/* Remove default Bootstrap arrow */
.accordion-button::after {
  display: none;
}

/* Adjust spacing and icon placement */
.custom-accordion-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Rotate icon when open */
.custom-accordion-btn[aria-expanded="true"] .rotate-icon {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

.rotate-icon {
  transition: transform 0.3s ease;
}

/*.accordion-item.active-bg .accordion-button {
  background: linear-gradient(to bottom,  #1e1e1e , #000000);
  color: white;
}*/


#projects-cards .stack-card {
  width: 100%;
  height: 100%;
  transition: all 0.4s ease;
}

#projects-cards .card-img {
  border-radius: 1rem;
  object-fit: cover;
  height: 100%;
}


/*#projects-cards .card-img {
  border-radius: 1rem;
  object-fit: cover;
  width: 100%;
  height: auto;
  max-height: 700px;
}

@media (max-width: 576px) {
  #projects-cards .card-img-overlay {
    padding: 1rem !important;
  }
}*/



#services-cards2 .card:hover{
  background: linear-gradient(to top,  #1e1e1e , #000000);
  transition: background 0.5s linear;
}


#services-cards .hidden-image {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.7s ease, max-height 0.7s ease;
}
#services-cards .card:hover .hidden-image {
  opacity: 1;
  max-height: 300px; /* set to image height */
}

#services-cards .card:hover{
  padding-top: 20px;
  border: 1px solid var(--bs-secondary);
  border-radius: 0px;
  transition: 0.7s;
  border-top: none;
  border-bottom: none;
  background: linear-gradient(to top,  #1e1e1e , #000000);
  transition: background 0.5s linear;
}

#services-cards .card{
  background: transparent;
}

.pricing-card, .review-card{
  transition: 0.5s;
}
.pricing-card:hover, .review-card:hover{
/*  background: linear-gradient(to top,  #1e1e1e , #000000);*/
  transition: background 0.5s linear;
}

.client-image {
  max-height: 300px;
  overflow: hidden;
  transition: transform 1s ease, opacity 0.7s ease, max-height 0.7s ease;
  transform: rotate(0deg);
  opacity: 0;
}

.client-image.in-view {
  transform: rotate(10deg);
  opacity: 1;
}

.review-card:hover .review-icon{
  opacity: 0;
  max-height: 0;
  min-height: 0;
  overflow: hidden;
/*  transition: opacity 0.7s ease, max-height 0.7s ease;*/
}


.member-card .post-text{
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.6s ease, max-height 0.6s ease;
}

.member-card:hover .post-text{
  opacity: 1;
  max-height: 100;
  overflow: hidden;
}

.member-card:hover .pre-text{
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.6s ease, max-height 0.6s ease;
}


.member-card{
  overflow: hidden;
  position: relative;
}

.member-card img, .blog-card img{
  width: 100%;
  height: auto;
/*  filter: grayscale(90%);*/
/*  transition: filter 0.6s ease, transform 0.6s ease;*/
  transition: transform 0.6s ease;
  transform: scale(1);
}

.member-card:hover img, .blog-card:hover img{
/*  filter: grayscale(0%);*/
  transform: scale(1.05);
}





.service-card{
  overflow: hidden;
  position: relative;
}

.service-card img{
  width: 100%;
  height: auto;
/*  filter: grayscale(90%);*/
  transition: transform 0.6s ease;
  transform: scale(1);
}

.service-card:hover img{
/*  filter: grayscale(0%);*/
  transform: scale(1.05);
}




.partners-card .partner-link{
  color: white;
  transition: transform 0.6s ease;
}
.partners-card:hover .partner-link{
  color:  #3498db ;
}






.overlay-bw {
  background-color: rgba(23, 32, 42, 0.5);
}

.overlay-bw-dark {
  background-color: rgba(23, 32, 42, 0.3);
/*  background: linear-gradient(to bottom, rgba(23, 32, 42,, 0.3), rgba(0, 0, 0, 0.3));*/
  transition: background 0.5s linear;

}

.service-card-bg-img{
  max-height: 400px !important;
  min-height: 400px !important;
  /*max-width: 400px !important;
  min-width: 320px !important;*/
  width: 100%;
}

.service-card-bg-img-big{
  max-height: 500px !important;
  min-height: 500px !important;
  /*max-width: 400px !important;
  min-width: 320px !important;*/
  width: 100%;
}







.nav-tabs .nav-item .nav-link.active, .nav-tabs .nav-item .nav-link:hover {
  border: none !important;
}

.card-bg-gradient{
  background: linear-gradient(to right,  #1e1e1e , #000000); /* left to right */
  transition: background 0.5s linear;
}

.card-bg-gradient-bottom{
  background: linear-gradient(to bottom,  #1e1e1e , #000000);
  transition: background 0.5s linear;
}

.card-bg-gradient-top{
  background: linear-gradient(to top,  #1e1e1e , #000000);
  transition: background 0.5s linear;
}

.text-light-gray{
  color: #1e1e1e !important;
}

.bg-light-gray{
  background-color: #1e1e1e !important;
}


.stylish-font{
  font-family: "Arapey", serif !important;
  font-style: italic;
  font-weight: 400;
}