/*==================== CONTACT ME ====================*/
.contact__container {
  row-gap: 3rem;
}

.contact__information {
  display: flex;
  margin-bottom: var(--mb-2);
}

.contact__icon {
  font-size: 1.5rem;
  /* color: rgb(36, 249, 249); */
  color: rgb(147, 10, 189);
  margin-right: var(--mb-0-75);
}

.content__title {
  font-size: var(--h3-font-size);
  font-weight: var(--font-medium);
}

.contact__subtitle {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
}

.contact__content {
  background-color: var(--input-color);/**/
  border-radius: 0.5rem;
  padding: 0.75rem 1rem 0.25rem;
}

.contact__label {
  font-size: var(--smaller-font-size);
  color: var(--title-color);
}

.contact__input {
  width: 100%;
  background-color: var(--input-color);
  color: var(--text-color);
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  border: none;
  outline: none;
  padding: 0.25rem 0.5rem 0.5rem 0;
}

/*------------btnEffect btn services What I offer-------------*/

.btnEffect {
  outline: none !important;
  --angle: 0deg;
  border: 2px solid;
  padding: 0.1em;/*aumenta a borda como quiser*/
  /* This won't work: */
  border-image: conic-gradient(from var(--angle), #151a17, #151a17, #151a17, #151a17, #151a17, #151a17, #8d0ab6) 1;
  /* border-image: conic-gradient(from var(--angle), #fff, #fff, #fff, #eee, #ddd, #ccc, #222) 1; */
  
  animation: 2.5s rotate ease-in-out infinite;
}

@keyframes rotate {
  to {
    --angle: 360deg;
  }
}

@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* .colorbtnprog {
  color: aqua !important;
} */

/*----------------link services What I offer--------------------------*/
.arrow-btn {
  position: relative;
  display: inline-block;
  /* border-radius: 0; */
  color: #51bacf;
  /* margin-top: 2rem; */
  font-weight: bold;
  /* font-size: 0.8rem; */
  /* letter-spacing: 2px; */
  text-decoration: none;
  transition: 700ms cubic-bezier(0.165, 0.84, 0.44, 1);
  padding-right: 2em;/*2.5em distancia flecha e services*/
}
.arrow-btn:hover {
  transition: 400ms cubic-bezier(0.165, 0.84, 0.44, 1);
}
.arrow-btn:hover:after {
  transition: 400ms cubic-bezier(0.165, 0.84, 0.44, 1);
  transform: translateX(15px);
  opacity: 0;
}
.arrow-btn:hover:before {
  transition: 700ms cubic-bezier(0.165, 0.84, 0.44, 1);
  transform: translateX(0);
  opacity: 1;
}
.arrow-btn:before, .arrow-btn:after {
  /* content: "⟶"; */
  content: "\f2d2";         /* Código unicode do fa-clone */
  font-family: "Font Awesome 5 Free", "FontAwesome";
  position: absolute;
  right: 0;
  /* top: -25%; */
}
.arrow-btn:before {
  transform: translateX(-15px);
  opacity: 0;
}
.arrow-btn:after {
  transform: none;
}


/*==================== SERVICES modal ====================*/
.services__container {
  gap: 1.5rem;
  grid-template-columns: repeat(2, 1fr);
  /* left: 100px; */
}

.services__content {
  position: relative;
  background-color: rgb(129, 139, 129);
  padding: 3.5rem 0.5rem 1.25rem 1.5rem;
  border-radius: 0.25rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  transition: 0.3s;
  /* margin-right: 480px;
  margin-left: 480px;
  align-items: center;
  justify-content: center; */
}

.services__content:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.services__icon {
  display: block;
  font-size: 1.3rem;
  color: rgb(147, 10, 189);
  /* margin-bottom: var(--mb-1); */
}

.services__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
  font-weight: var(--font-medium);
  color: black;
}

.services__button {
  cursor: pointer;
  font-size: var(--h3-font-size);
}

.services__button:hover .button__icon {
  transform: translateX(0.25rem);
}

.services__modal {
  position: fixed!important;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  z-index: var(--z-modal, 1000);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.services__modal-content {
  position: relative;
  background-color: #1a1a1a; /* Cinza escuro premium (estilo painel da AWS/Vercel) */
  border: 1px solid #2d2d2d; /* Borda sutil para dar profundidade e separação */
  padding: 3rem 2.5rem 2.5rem;
  border-radius: 1.25rem;
  max-width: 590px;
  width: 100%;
  transform: scale(0.8);
  transition: transform 0.4s ease;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); /* Sombra forte para destacar no escuro */
}

.services__modal-services {
  display: grid;
  grid-template-columns: 1fr; /* Uma única coluna no celular para o texto não espremer */
  gap: 1.25rem; /* Espaçamento vertical confortável entre as linhas */
}

.services__modal-service {
  display: flex;
  align-items: flex-start;
}

.services__modal-title {
  font-size: 1.5rem;
  font-weight: var(--font-semi-bold, 600);
  margin-bottom: 0.25rem;
  line-height: 1.2;
  color: #f3f4f6; /* Texto claro e confortável para leitura */
}

.services__modal-content p:not(.services__modal-service p) {
  font-size: 0.9rem;
  color: #a3a3a3; /* Um cinza mais suave para dar hierarquia visual */
  margin-bottom: 0.5rem; /* Espaço curto antes da linha roxa */
  font-weight: 500;
}

/* A Linha Roxa customizada */
.underline-title-services {
  border-bottom: 4px solid purple !important; /* Espessura ideal para o tamanho */
  border-radius: 5px; /* Deixa as pontas da linha levemente arredondadas */
  width: 35px;
  margin-top: 0;
  margin-bottom: 2rem; /* Esse é o respiro que afasta o cabeçalho da lista de ícones */
  
  /* Alinhamento à esquerda (removemos o 'margin: 0 auto' que jogava pro meio) */
  margin-left: 0; 
  margin-right: auto; 
}

.services__modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.25rem;
  color: white;
  background-color: #df5656;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.services__modal-close:hover {
  background-color: #fd2929;
}

/* Ícones das habilidades em evidência */
.services__modal-icon {
  font-size: 1.7rem;
  color: #3b82f6; /* Um azul um pouco mais vivo para o modo escuro */
  margin-right: 0.75rem;
  margin-top: 0;
  line-height: 1.5;
  display: inline-flex; 
  align-items: center;
}

.services__modal-service p {
  font-size: var(--normal-font-size, 1rem);
  line-height: 1.5;
  color: #cbd5e1; /* Cinza claro fosco, excelente contraste sem ofuscar */
}

/* Active Modal */
.active-modal {
  opacity: 1;
  visibility: visible;
}

.center {
  align-items: center;
  justify-content: center;
}

@media screen and (min-width: 480px) {
  .services__modal-services {
      grid-template-columns: repeat(2, 1fr); /* Vira duas colunas quando a tela for grande o suficiente */
      gap: 1.5rem;
  }
}

/* For small devices */
@media screen and (max-width: 380px) {

  /* .services__container {
    grid-template-columns: max-content;
    justify-content: center;
  } */

  /* .services__content {
    padding-right: 3.5rem;
  } */
  .services__modal {
    padding: 0 0.5rem;
  }
}

/* For medium devices */
@media screen and (min-width: 767px) {
  /* .services__container {
    grid-template-columns: repeat(3, 218px);
    justify-content: center;
  } */
  .services__icon {
    font-size: 1.5rem;
  }
  /* .services__content {
    padding: 6rem 0 2rem 2.5rem;
  } */

  /* .services__modal-content {
    width: 450px;
  } */
}

/* For large devices */
@media screen and (min-width: 1024px) {
  /* .services__container {
    grid-template-columns: repeat(3, 238px);
  } */
  .contact__form {
    width: 460px;
  }
  .contact__inputs {
    grid-template-columns: repeat(2, 1fr);
  }
}


/*------------send menssage button-------------*/

.air {
  margin-bottom: 8px;
}

/* .text {
    padding: 16px 24px;
    display: block;
    position: relative;
    z-index: 1;
    cursor: inherit;
} */

.button-wrapper {
    margin-right: 16px;
}

/* .button {
    color: white;
    font-family: sans-serif;
    font-weight: bold;
    font-size: 24px;
    letter-spacing: 2px;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    transition: all 250ms ease-out;
} */

/* .color {
    background-color: #0860ec!important;
  } */

.ripple {
    background-color: #57c9e0;
    position: relative;
}

.ripple:hover .ripple-border {
    border-radius: 0.5rem;
    border-width: 2px;
    transform: scale(1.1, 1.3);/*aumenta esquerda e direita, aumenta cima e baixo*/
    /* opacity: 0; */
}

.ripple:active {
    transform: scale(0.8, 0.8);
    /* border-radius: 0.5rem; */
}

.ripple .ripple-border {
    border-radius: 0.5rem;
    border: 3px solid #57c9e0;
    position: absolute;
    opacity: 1;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    transition: all 250ms ease-out;
}

