

#page-title {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center; 
  text-align: center;
  font-size: 2rem;
}

.operations-background {
    background-color: hsl(206, 75%, 49%);
}

.operations-color {
    color: hsl(206, 75%, 49%);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
    gap: 30px;
}

.bento-grid > *:nth-child(4n + 1),
.bento-grid > *:nth-child(4n) {
    grid-column: span 2;
}
#page-hero {
  position: relative;
}

#triangle-container {
    position: absolute;
    top: -350px;
    left: 0;
    right: 0;
    z-index: -1;
}

#main-content {
  max-width: 1100px;
  margin: auto;
  position: relative;
  z-index: 1;
  margin-top: 150px;
  padding: 50px;
}

.vip-article {
  position: relative;
  z-index: 1;
}

#svg-background {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: -10;
}

#contact-us-assist {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  margin: 200px 0px;
}

#contact-us-assist div:first-child {
  margin-bottom: 20px;
}

.bento-grid > * {
    position: relative;
    padding-bottom: 8px; 
    margin-bottom: 16px; 
}

.bento-grid > *::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px; 
    
    background: linear-gradient(90deg, hsl(206, 75%, 49%), hsl(331, 90%, 56%));
    
    transform: scaleX(0); 
    transform-origin: right; 
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.bento-grid > *:hover::after {
    transform: scaleX(1);
    transform-origin: left; 
}

.main-image {
  background: url('../images/operations.jpg');
  height: 530px;
  width: 350px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  right: 50px;
  top: 250px;
  opacity: 0.5;
  transform: scale(1.3);
  border-radius: 50px;
}

.image-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(16,16,16,0.7);
}

.ul-side-by-side {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.ul-center {
  display: flex;
  justify-content: center;
}

@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ul-side-by-side {
      flex-direction: column;
      gap: 50px;
    }

    .bento-grid > * {
        grid-column: span 1 !important;
    }

    #triangle-container {
      top: -100px;
    }
}

@media (max-width: 640px) {
  .bento-grid {
      display: flex;
      flex-direction: column;
  }

  #triangle-container {
    top: -50px;
  }
}