
.background-section{
    position: relative;
    background-color: #030014;
    padding: 3rem 11rem;
}

.text-section{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.text-section h2{
    margin: 20px 0 80px 0;
}

.section-row{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}


.description-section{
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: start;
    text-align: left;
    gap: 10px;
    width: 450px;
    padding: 2rem 2rem;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.overlay{
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 15%, rgba(0, 0, 0, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
}

.description-section .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 15%, #6767671e 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
}

.description-section:hover .overlay {
    opacity: 1;
}

.description-section:nth-child(1)::after,
.description-section:nth-child(2)::after {
   content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent 5%, #2f2d3b 100%);
  z-index: 1;
}

.description-section:nth-child(4)::after,
.description-section:nth-child(5)::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(to top, transparent 5%, #2f2d3b 100%);
  z-index: 1;
}

/* Pseudo-elemento horizontal (borda inferior) */
.description-section:nth-child(1)::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent 5%, #2f2d3b 100%);
  z-index: 1;
}

.description-section:nth-child(2)::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, #2f2d3b 100%);
  z-index: 1;
}

.description-section:nth-child(3)::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to left, transparent 5%, #2f2d3b 100%);
  z-index: 1;
}

.description-section:nth-child(2){
    transition-delay: 0.2s;
}

.description-section:nth-child(3){
    transition-delay: 0.4s;
}

.description-section:nth-child(5){
    transition-delay: 0.2s;
}
.description-section:nth-child(6){
    transition-delay: 0.4s;
}


.description-section h3, p{
    color: rgb(220, 220, 220);
    line-height: 24px;
}

.description-section h3{
    font-size: 18px;
    font-weight: 600;
    color: white;
}

.description-section p{
    font-size: 16px;
    color: rgb(145 142 160);
}



