ul li {
    list-style: none;
  }
  ul li img {
    cursor: pointer;
  }
  .modal-body {
    padding: 5px !important;
  }
  .modal-content {
    border-radius: 0;
  }
  .modal-dialog img {
    text-align: center;
    margin: 0 auto;
  }
  .controls {
    width: 50px;
    display: block;
    font-size: 11px;
    padding-top: 8px;
    font-weight: bold;
  }
  .next {
    float: right;
    text-align: right;
  }
  /*override modal for demo only*/
  .modal-dialog {
    max-width: 50%;
    padding-top: 90px;
  }
  @media screen and (min-width: 768px) {
    .modal-dialog {
      width: 50%;
      padding-top: 90px;
    }
  }

  /* Gallery row styling */
  .gallery-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
}
.card-header .card-title {
    font-family: "Times New Roman", Times, serif;
}
.gallery-row > .col-md-4 {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

/* Album card */
.album-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease-in-out;
    min-height: 320px;
}
.album-card:hover {
    transform: scale(1.02);
}

/* Card header (album title) */
.card-header {
    padding: 0;
    padding-right: 50px;
    text-align: center;
    background: #f8f9fa;
    font-size: 8px;
    font-weight: bold;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: normal;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Expand icon positioning */
.expand-icon {
    position: absolute;
    top: 8px;
    right: 10px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
}
.expand-icon:hover {
    background: rgba(0,0,0,0.7);
}

/* Carousel styling */
.album-carousel,
.album-carousel .carousel-inner,
.album-carousel .carousel-item {
    height: 240px;
}
.album-carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Modal styling */
.modal-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 120px);
}
.modal-carousel {
    max-width: 80%;
    width: 100%;
}
.modal-carousel,
.modal-carousel .carousel-inner,
.modal-carousel .carousel-item {
    height: 500px;
}
.modal-carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Ensure footer doesn't overlap */
.container.minht1000 {
    min-height: 1000px;
    padding-bottom: 80px;
}
/* // Gallery Tabs Styles */
 
.tab-container {
    margin: 20px;
}

.tab-buttons {
    overflow: hidden;
    border-bottom: 1px solid #e44e13;
}

.tab-link {
    background-color: #f9f9f9;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 20px;
    transition: 0.3s;
    font-size: 16px;
    color: #e44e13;
}

.tab-link:hover {
    background-color: #ddd;
}

.tab-link.active {
    background-color: #e44e13;
    color: white;
}

.tab-content {
    padding: 20px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

