.card {
    border: none;
    opacity: 0;
    transform: translateY(10%);
    transition: opacity 1s ease-in, transform 1s ease-in;
    filter: blur(20px);
}

.card.active {
    opacity: 1;
    transform: translateY(0%);
    transition: opacity 0.3s ease-in, transform 0.3s ease-in;
    filter: blur(0px);
}
/*** tab ***/
.tab-container [role='tablist'] {
  display: flex;
  justify-content: center;
  gap: 50px;
}

.tab-container [role='tablist'] [role='tab'] {
  margin: 200px 0 100px 0;
  background: none;
  border: none;
  text-transform: capitalize;
  font-size: 22px;
  font-weight: 600;
  color: #525252;
}

/** if is selected **/
.tab-container [role='tab'][aria-selected="true"] {
  color: var(--primary-color);
  text-decoration: underline;
  text-decoration-color: var(--secondary-color);
}

.cards_container {
box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  margin: 0 0 50px 0;
}

@media screen and (min-width: 1024px) {

.tab-container [role='tablist'] {
  gap: 300px;
}

 .tab-container [role='tablist'] [role='tab'] {
    font-size: 35px;
  }
  
}

/***** tab visibility ***/
[role="tabpanel"] {
    display: none;
}

[role="tabpanel"].active {
    display: block;
}

[role="tab"] {
    /* Add visual indication for focus state */
    &:focus {
        outline: 2px solid blue;
        outline-offset: 2px;
    }
}

[role="tab"][aria-selected="true"] {
    /* Style for active tab */
    background: #eee;
}


/*** cards ***/
/***
* the card has three children
* slider, card content and dropdown
* **/
.tab-container [role="tabpanel"] .card{
  display: grid;
  grid-template-columns: 1fr;
  /* margin: 30px 0; */
}

/**** 
* on larger devices 1, 2 children 
* will be on the same row and 3 one 
* on the next
* ***/

.dropdown-container h5 {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-decoration-color: var(--secondary-color);
}
  
@media screen and (min-width: 1024px) {
  .tab-container [role="tabpanel"] .card{
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .tab-container [role="tabpanel"] .card .dropdown-container {
    grid-column: 1 / -1;
  }
  .card table {
    width: 100%;
  }

  .card .text-container {
    position: relative;
    text-align: start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .card:nth-child(even) .blaze-slider{
    grid-column: 2 / -1;
  }
  .card:nth-child(even) .text-container {
    grid-column: 1 / 2;
    grid-row: 1;
  }
}


.card .blaze-slider {
  position: relative;
}

.card .blaze-slider .blaze-track .img-container img{
  width: 100%;
  height: auto;
}

.card .blaze-slider .blaze-track .img-container {
  display: grid;
  place-items: center;
  overflow: hidden;
  
}


/*** NOTE: need to add even odd child selectors to
* manage this 'border radius' thing ***/
.card .blaze-slider {
  overflow: hidden;
  border-radius: 8% 0 8% 0 ;
}
.card:nth-child(even) .blaze-slider{
  border-radius: 8% 0 8% 0;
}

@media screen and (min-width: 1024px) {

  .card .blaze-slider {
    overflow: hidden;
    border-radius: 0 50% 0% 0;
  }
  .card:nth-child(even) .blaze-slider{
    border-radius: 0 0% 0% 50%;
  }
  
}

.card .blaze-slider .blaze-prev,
.card .blaze-slider .blaze-next {
  background: none;
  border: none;
  background: rgba(0, 0, 0, 0.3);
  padding: 10px;
}

.card .blaze-slider .blaze-prev{
  position: absolute;
  top: 50%;
  left: 0;
}

.card .blaze-slider .blaze-next{
  position: absolute;
  top: 50%;
  right: 0;
}

.card .text-container .heading h4{
  color: var(--primary-color);
  font-weight: 600;
}

.card .text-container .heading p{
  color: #525252;
  font-weight: 600;
}

.card .text-container .list_container h6{
  color: var(--primary-color);
  font-weight: 600;
}

.card .text-container {
  position: relative;
  padding: 15px 10px;
}

.card .text-container .show_more-btn {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  font-weight: 600;
  background: none;
  border: none;
  color: var(--secondary-color);

  position: absolute;
  bottom: 2%;
  right: 2%;
}
.card table thead{
  background-color: var(--secondary-color);
  font-size: 18px;
}

/*** dropdown-container toggle **/
.dropdown-container {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s cubic-bezier(0, 1, 0, 1), 
              opacity 0.3s ease-in-out;
}

.dropdown-container.active {
  max-height: 9999px; /* Very large value */
  opacity: 1;
  transition: max-height 1s ease-in-out,
              opacity 0.3s ease-in-out;
}

/*** video ****/
.video-container{
  position: relative;
  width: 100%; /* Make container width responsive */
  padding-top: 56.25%; /* Aspect ratio of 16:9 (height divided by width) */
  overflow: hidden; 
}
.video-container video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Center the video in the container */
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
}

.video-container .video-state-icon.pause,
.video-container .video-state-icon.play
{
  position: absolute;
  top: 10px;
  right: 10px;
  opacity: 0;
  transition: opacity .1s  linear;
}

.video-container .video-state-icon.pause.active {
  opacity: 1;
}
.video-container .video-state-icon.play.active {
  opacity: 1;
}
