.section-one img {
    width: 100%;
    height: 320px;
    border-radius: 10px;
}

.section-one-card {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-one-card2 {
    height: 100px;
    width: 70%;
    position: absolute;
    top: 50%; /* Position from the top, adjust as needed */
    transform: translateY(-50%);
    left: 0;
    background: rgba(71, 0, 246,0.4);
    padding: 10px;
}

.section-one-card2 h6 {
    color: #fff;
    text-transform:uppercase;
    margin-bottom: 0;
    padding-top: 15px;
    padding-left: 15px;
}

.section-one-card2 h4 {
    color: #fff;
    text-transform:uppercase;
    padding-left: 15px;
}
.section-two {
    text-align: justify;
    padding: 0 20px;
}

* {
    box-sizing: border-box;
}
body {
    background-color: #ecf0f1;
}
.gallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background-color: #fff;
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.3);
    width: 100%;
    margin: 0 auto;
    padding: 10px;
}
.gallery-item {
    flex-basis: 25%;
    margin-bottom: 6px;
    opacity: 0.85;
    cursor: pointer;
}
.gallery-item:hover {
    opacity: 1;
}
.gallery-item img {
    width: 95%;
    height: 95%;
    object-fit: cover;
}
.gallery-content {
    font-size: 0.8em;
}

.lightbox {
    position: fixed;
    display: none;
    background-color: rgba(0, 0, 0, 0.8);
    width: 100%;
    height: 100%;
    overflow: auto;
    top: 0;
    left: 0;
}
.lightbox-content {
    position: relative;
    width: 70%;
    height: 70%;
    margin: 5% auto;
}
.lightbox-content img {
    border-radius: 7px;
    box-shadow: 0 0 3px 0 rgba(225, 225, 225, 0.25);
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 7px;
    top: 45%;
    cursor: pointer;
}
.lightbox-prev {
    left: 0;
}
.lightbox-next {
    right: 0;
}
.lightbox-prev:hover,
.lightbox-next:hover {
    opacity: 0.8;
}

@media (max-width: 767px) {
    .gallery-container {
        width: 100%;
    }
    .gallery-item {
        flex-basis: 49.8%;
        margin-bottom: 3px;
    }
    .lightbox-content {
        width: 80%;
        height: 60%;
        margin: 15% auto;
    }
}
@media (max-width: 480px) {
    .gallery-item {
        flex-basis: 100%;
        margin-bottom: 1px;
    }
    .lightbox-content {
        width: 90%;
        margin: 20% auto;
    }
}


  p {
    line-clamp: initial;
    -webkit-line-clamp: initial;
    transition-property: -webkit-line-clamp, line-clamp;
    transition-duration: 300;
    transition-timing-function: ease-out;
    overflow: hidden;
  }




  .clamp-two {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  #profile-description {

    position:relative;
  }
  #profile-description .text {
  /*   width: 660px;  */
    margin-bottom: 5px;
    color: #777;

    position:relative;
    font-family: 'SourceSans Regular' !important;
    font-size: 14px;
    display: block;
  }
  #profile-description .show-more {
  /*   width: 690px;  */
    color: #777;
    position:relative;
    font-size: 14px;
    padding-top: 5px;
    padding-bottom: 25px;
    height: 20px;
    text-align: center;
    background: rgba(241, 241, 241, 0.5);
    cursor: pointer;
  }
  #profile-description .show-more:hover {
      color: #1779dd;
  }
  #profile-description .show-more-height {
    height: 285px;
    overflow:hidden;
  }
