.card {
  width: 300px;
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  font-family: "Montserrat-Medium", sans-serif;
  color: white;
}

.card img {
  width: 50px;
  height: 50px;
  margin-bottom: 15px;
  transition: filter 0.3s ease;
}

.card a {
  text-decoration: none;
  color: inherit;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.card span {
  font-size: 14px;
  transition: color 0.3s ease;
  font-family: "Montserrat-Bold", sans-serif;

}

/* Kartlar varsayılan durumda */
.card:nth-child(1) {
  background-color: #f2f2f2;
  color: #696969 !important;
}
.card:nth-child(2) {
  background-color: #a7814e;
  color: #fff !important;
}
.card:nth-child(3) {
  background-color: #4d4685;
  color: #fff !important;
}

/* Kartlar hover olduğunda */
.card:nth-child(1):hover {
  background-color: #4d4685;
  color: #fff !important;
}
.card:nth-child(2):hover {
  background-color: #4d4685;
  color: #ffffff !important;
}
.card:nth-child(3):hover {
  background-color: #f2f2f2;
  color: #696969 !important;
}

/* Hover durumunda yazıların ve ikonların rengi */
.card img {
  filter: invert(1);
  transition: filter 0.3s ease;
}

.card:nth-child(1) img {
  filter: invert(0.2);
}
.card:nth-child(3):hover img {
  filter: invert(0.3);
}

.card:nth-child(2) img {
  filter: invert(0); /* Normalde ikon siyah */
}
.card:nth-child(2):hover img {
  filter: invert(0) brightness(1.5) contrast(1.5); /* Beyaz rengi güçlendirmek için parlaklık ve kontrast */
}
.card:nth-child(1):hover img {
  filter: invert(1) brightness(1.5) contrast(1.5); /* Beyaz rengi güçlendirmek için parlaklık ve kontrast */
}

/* General card styling */
.card-bayi {
  width: 400px;
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  padding: 20px;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

/* Icon inside the card */
.card-bayi i {
  font-size: 27px;
  margin-bottom: 15px;
}

/* Text and contact info in the card */
.card-bayi p {
  font-size: 17px;
  margin: 0;
  font-family: "Montserrat-Medium", sans-serif;
  color: inherit;
}

.card-bayi a {
  text-decoration: none;
  color: inherit;
  margin-top: 5px;
  font-family: "Montserrat-Medium", sans-serif;
}

.kurumsal-baslik {
  font-family: "Gilroy-Black", sans-serif;
  color: #4d4685;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0 1rem;
}
.kurumsal-hash {
  list-style: none;
  display: flex;
  flex-direction: row;
  padding: 0;
}
.kurumsal-hash li a {
  margin: 0 auto;
  color: #696969;
  font-family: "Montserrat-Light", sans-serif;
  font-size: 15px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  transition: 0.6s ease-in;
  cursor: pointer;
  z-index: 9;
  position: relative;
  transform: translateY(30px);
  padding: 0 1rem;
  text-decoration: none;
}

/* Active link style */
.kurumsal-hash li a.active {
  color: #4d4685 !important;
  font-family: "Montserrat-Bold", sans-serif;
}
@media (max-width: 991px) {
  .cards {
    flex-direction: column;
    gap: 30px !important;
  }
  .card-bayi {
    width: 200px;
    height: 200px;
  }
  .card-bayi a {
    font-size: 12px !important;
  }
}
