.card {
  width: 16rem; /* Default size */
  /* height: 17rem; Default size */
  background: linear-gradient(-45deg, #030c17, #0e2e56);
  border-radius: 10%;
  margin: 10px;

  padding-top: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease; /* Smooth transition for resizing */
  position: relative;
  border: 1px solid #0e2e56;
  padding-inline: 8%;
  padding-bottom: 15%;
}


.card:hover {
  transform: scale(1.05); /* Enlarge the card on hover */
  background: linear-gradient(-45deg, #05162a, #133f75);
  .reg-btn{
    background: #921919;
  }
  .sig-image{
    opacity: 0.3;
}
.circle{
    background: #1c5ba9;
}
.image{
    opacity: 0.9;
}
.title-card{
    opacity: 0.8;
}
.subtitle-card{
    opacity: 0.4;
}

}

.circle {
  position: absolute;
  width: 4.5rem; /* Adjusts based on viewport width */
  height: 4.5rem; /* Same value as width to keep it a perfect circle */
  border-radius: 50%;
  background: #154581;
  display: flex;
  justify-content: center;
  align-items: center;
  top: -15%;
  z-index: 0;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .card {
    width: 12rem; /* Smaller size for tablets */
    /* height: 11rem; Smaller size for tablets */
  }
  
  .circle {
    width: 4rem; /* Adjusts based on viewport width */
    height: 4rem; /* Same value as width to keep it a perfect circle */
  }
}

@media (max-width: 768px) {
  .card {
    width: 12rem; /* Smaller size for mobile devices */
    height: 13rem; /* Smaller size for mobile devices */
  }
  .circle {
    width: 4rem; /* Adjusts based on viewport width */
    height: 4rem; /* Same value as width to keep it a perfect circle */
  }
}

@media (max-width: 480px) {
  .card {
    width: 70%; /* Even smaller for smaller mobile screens */
    padding-top: 1rem;
  padding-bottom: 5%;

  }
  .circle {
    width: 4rem; /* Adjusts based on viewport width */
    height: 4rem; /* Same value as width to keep it a perfect circle */
  }
}

.image {
  width: 60%;
  height: 60%;
  opacity: 0.8;
  /* object-fit: cover; */
  /* border-radius: 10%; */
}
.title-box-card{
    display: flex;
    flex-direction: column;
    align-items: center;
    /* border: 1px solid #fff; */
    row-gap: 0.5rem;
    position: relative;
}
.title-box-card:hover{
    row-gap: 2rem;
}
.title-card {
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  font-size: 1.5rem;
  color: #fff;
  opacity: 0.7;
}
.subtitle-card {
    font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
    font-size: 1rem;
    color: #fff;
    opacity: 0.3;
}

.description {
  font-family: Arial, Helvetica, sans-serif;
  color: white;
  opacity: 0.4;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  padding-top: 1rem;
}
.view-btn {
  position: absolute;
    bottom: -9%;
    right: 9%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #7c2424;
  border: none;
  border-radius: 1000px;
  cursor: pointer;

}

.view-btn:hover{
    animation: spinBackForth 0.5s ease-in-out;
}
.button-title-view {
  font-size: 1rem;
  color: #fff;
  margin-left: 0.5rem;
  text-align: center;
  padding-left: 0.7rem;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
  padding-right: 1.2rem;
}
@keyframes spinBackForth {
    0% {
      transform: rotate(0deg);
    }
    33% {
      transform: rotate(10deg);
    }
    66% {
      transform: rotate(-10deg);
    }
    100% {
      transform: rotate(0deg);
    }
  }



.sig-image{
    position: absolute;
    width: 65%;
    height: 65%;
    opacity: 0;
    /* bottom: 0;  */
    
}
