
body {
      margin-left: 5%;
      margin-right: 5%;
      background-color: #f8f9fad7;
    }
    .gallery-img {
      height: auto;
      object-fit: cover;
    }
    footer {
      background-color: #343a40;
      color: white;
    }
    .footer-link a {
      color: white;
      text-decoration: none;
      margin-right: 15px;
    }
    .footer-social i {
      font-size: 20px;
      margin-right: 15px;
    }
    .profile-img {
      float: right;
      margin-left: 20px;
      width: 180px;
      height: auto;
      object-fit: cover;
      border-radius: 50%;
    }

    @media (max-width: 576px) {
      .profile-img {
        float: none;
        display: block;
        margin: 0 auto 20px auto;
      }
      @media (max-width: 570px) {
    .responsive-col {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    } }
    }
      .carousel-item > .row {
      display: flex;
      justify-content: space-between;
    }

    .carousel-img {
      width: 100%;
      height: auto;        /* auto adjusts height */
      max-height: 650px;   /* never exceed 750px */
      object-fit: cover; /* keeps full image visible */
                  }


    .news-card {
      flex: 0 0 24%;
      margin: 0 0.5%;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    }

    .news-card img {
      height: 160px;
      width: 100%;
      object-fit: cover;
    }

    @media (max-width: 768px) {
      .news-card {
        flex: 0 0 48%;
        margin-bottom: 1rem;
      }
    }

    @media (max-width: 576px) {
      .news-card {
        flex: 0 0 100%;
        margin-bottom: 1rem;
      }
    }
    #newsCarousel2 .carousel-inner {
    position: relative;
    z-index: 1;
  }
  #newsCarousel2 .btn {
    position: relative;
    z-index: 2;
  }

  /* Control button customization */
  .carousel-control-prev,
  .carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
  }
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    filter: invert(1); /* Makes icons black if needed */
  }
  /* Vertical Menu Styling */
.vertical-menu {
    width: 100%;
    background-color: rgba(2, 1, 48, 0.822);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.vertical-menu a {
    display: block;
    color: #fff;
    padding: 12px 15px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid #ddd;
    transition: all 0.3s ease;
    background-color: rgba(2, 1, 48, 0.822);
}

.vertical-menu a:last-child {
    border-bottom: none;
}

.vertical-menu a:hover {
    background-color: #0d6efd;
    color: #fff;
    padding-left: 20px;
}

.vertical-menu a.active {
    background-color: rgba(2, 1, 48, 0.822);
    color: #fff;
}
.carousel-control-prev,
  .carousel-control-next {
    width: 30px;
    height: 30px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
  }
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    filter: invert(1); /* Makes icons black if needed */
  }
 .vc-img {
        max-width: 140px;
        border-radius: 8px;
        object-fit: cover;
        float: right;
        margin-left: 20px;
        margin-bottom: 10px;
    }
  .sfaff_profil_c
  {
    max-width: 140px;
        border-radius: 8px;
        object-fit: cover;
        
        margin-left: 20px;
        margin-bottom: 10px;
  }
    .equal-card {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    .content-detail img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 5px auto;
}
@media (max-width: 570px) {
    .responsive-col {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

 .text-justify {
    text-align: justify;
  }

  p {
    text-align: justify !important;
    text-justify: inter-word; /* improves spacing */
  }
  .content-detail, 
.content-detail p {
  text-align: justify !important; /* use !important only if something is fighting you */
}
