
/* components/_solution-card.css */



a{
  text-decoration: none;
}


	.c-solution-card__logo {
		height: 40px;
	}
		.c-solution-card__logo img {
			height: 100%;
			width: auto;
     
		}

   

	.c-solution-card__intro {
		margin-top: 20px;
		font-size: calc( 1rem * 16 / 20 );
		line-height: calc( 100% * 20 / 16 );
		height: 41px;
	}
	.c-solution-card__description {
		margin-top: 20px;
		font-size: calc( 1rem * 16 / 20 );
		line-height: calc( 100% * 20 / 16 );
		height: 100px;
	}
	.c-solution-card__button {
		display: block;
		width: fit-content;
		margin-top: 20px;
	}

/*cards*/
.cards-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; 
    grid-template-columns: 1fr 1fr 1fr 1fr;
    
    
}

.cards-container-sector{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 20px; 
}


.card-title {
    color: #262626;
    font-size: 1.4em;
    line-height: normal;
    font-weight: 700;
    margin-bottom: 0.5em;
  }
  
  .small-desc {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5em;
    color: #452c2c;
    line-height: var(--line-height);
  }
  
  .go-corner {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 2em;
    height: 2em;
    overflow: hidden;
    top: 0;
    right: 0;
    background: linear-gradient(120deg, #6293c8, #384c6c);
    border-radius: 0 4px 0 32px;
  }
  

  .card {
	  display: block;
    position: relative;
    width: 18.75em; 
    height: 23em;
    border-radius: 10px;
    padding: 2em 1.2em;
    margin: 12px;
    text-decoration: none;
    z-index: 0;
    overflow: hidden;
    background: linear-gradient(to bottom,#60768c, #e4e9ee);
    opacity: .85;
    font-family: Arial, Helvetica, sans-serif;
  }

  .card-sector{
    display: flex;
    position: relative;
    width: 12em; 
    max-height: 3.15em;
    min-height: 2.55;
    border-radius: 10px;
    padding: 2em 1.2em;
    margin: 12px;
    text-decoration: none;
    z-index: 0;
    overflow: hidden;
    background: linear-gradient(120deg, #ced4da, #adb5bd);
    opacity: .85;
    font-family: Arial, Helvetica, sans-serif;
    margin-inline: auto;
    align-items: center;

  }


  .card-other{
    display: block;
    position: relative;
    width: 20em; 
    height: 23.15em;
    border-radius: 10px;
    padding: 2em 1.2em;
    margin: 12px;
    text-decoration: none;
    z-index: 0;
    overflow: hidden;
    background: linear-gradient(to bottom,#b9c4cf, #e4e9ee);
    opacity: .85;
    font-family: Arial, Helvetica, sans-serif;
  }
  
  .card:before {
    content: '';
    position: absolute;
    z-index: -1;
    top: -16px;
    right: -16px; 
    background: linear-gradient(135deg, #364a60, #7f7e7e); 
    height: 32px;
    width: 32px;
    border-radius: 32px;
    transform: scale(1);
    transform-origin: 55% 38%;
    transition: transform 0.35s ease-out;
    opacity: 1;
  }
  
  .card:hover:before {
    transform: scale(34);
  }
  
  .card:hover .small-desc {
    transition: all 0.5s ease-out;
    color: rgba(255, 255, 255, 0.8);
  }
  
  .card:hover .card-title {
    transition: all 0.5s ease-out;
    color: #ffffff;
  }

.card:hover{
  transition: all 0.5s ease-out;
  opacity: 1;
}

.card:hover .c-solution-card__logo img{
  filter: grayscale(100%) brightness(10%) contrast(120%) invert(1);
}

.card-other:hover .c-solution-card__logo img{
  filter: grayscale(100%) brightness(10%) contrast(120%) invert(1);
}

.card-other:hover{
  transition: all 0.5s ease-out;
  opacity: 1;
}
  .card-other:before {
    content: '';
    position: absolute;
    z-index: -1;
    top: -16px;
    right: -16px;
    background: linear-gradient(135deg, #6c757d, #7f7e7e);
    height: 32px;
    width: 32px;
    border-radius: 32px;
    transform: scale(1);
    transform-origin: 55% 38%;
    transition: transform 0.35s ease-out;
    opacity: 1;
  }
  
  .card-other:hover:before {
    transform: scale(30);
    opacity: 1;
  }
  
  .card-other:hover .small-desc {
    transition: all 0.5s ease-out;
    color: rgba(255, 255, 255, 0.8);
  }
  
  .card-other:hover .card-title {
    transition: all 0.5s ease-out;
    color: #ffffff;
  }


.moreinfo{
  bottom: 5px;
  right: 20px;
  position: absolute;
  color: #599EFA;
  text-decoration: underline;
  font-size: 20px;
  padding-top:5px;
}

.card:hover .moreinfo{
  color:#000;
}
.card-other:hover .moreinfo{
  color:#000;
}


.card_logo{
  height: 32px;
}
  
.card_title_logo{
  margin-left: 10px;
}

@media ( max-width: 1200px ) {
	.cards-container {
		grid-template-columns: 1fr 1fr;
    display: inline-grid;
	}

  .small-desc {
    font-size: 18px;
  }
} 

#click_here{
  display: none;
}

@media (max-width:1100px){
  .cards-container-sector {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
  }
}

@media ( max-width: 900px ) {
	.cards-container {
		grid-template-columns: 1fr 1fr;
	}
  .small-desc {
    font-size: 16px;
  }

  .cards-container-sector{
    grid-template-columns: 1fr 1fr;
  }

  .card{
    width: 15.75em;
  }
  .card-other{
    width: 15.75em;
  }
} 

@media ( max-width: 600px ) {
	.cards-container {
		grid-template-columns: 1fr;
    display: block;
	}

  .cards-container > h2{
    text-decoration: underline;
  }
  #text-other-solutions{
  
    font-size: 25px;
    font-weight: normal !important;
  }

  #click_here{
    display: block;
  }

  .card{
    width: 90%;
    height: auto;
  
  }

  .card-other{
    display: none;
   
  }

  #other-solutions{
    display: block;
  }
 .card-other {
  width: 100%;
  height: auto;
}

 #small-desc-description{
  display: none;
 }

  .cards-container-sector {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card-sector{
    width: 65vw;
  }
}