
/* Mobile text readability fix */
@media (max-width: 767px) {
    .mobile-text {
        text-align: justify;
        line-height: 1.7;
        font-size: 15px;
        word-break: normal;
        overflow-wrap: break-word;
        hyphens: auto;
    }
}

/* Section heading style */
.section-title {
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Page title */
.page-title {
    font-weight: 700;
    margin-bottom: 1.5rem;
}
.align{
    text-align: justify;
}

/* List spacing */
.hostel-list {
    padding-left: 1.25rem;
}
@media (min-width: 768px) {
    .hostel-list {
        padding-left: 3rem;
    }
}


.dept-section-title {
  font-size: 2rem;
  font-weight: 700;
  color:#052c65;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.dept-section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-radius: 2px;
}


/*Image for transport  */

.image-content {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.college-image {
  width: 100%;
  /* height: 100%; */
  max-height: 700px;

  object-fit: cover;
  display: block;
}

.uba-image {
  border-radius: 20px;
  border: 2px solid rgb(12, 12, 12);
  /* New Styles */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.uba-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.committee-images{
  border: 2px solid rgb(130, 138, 162);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.committee-images:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgb(184, 190, 219);
}

.d3{
  max-height: 195px;
}

.club-img{
  height: 250px;
  width: 250px;

}

.club1.img{
  max-width: 300px;
}

/* ===== BASIC LAYOUT ===== */
.container {
    max-width: 1200px;
    margin: auto;
}

.gallery-title {
    color: #0d6efd;
    font-weight: 600;
    margin-bottom: 20px;
}

/* ===== SLIDER ===== */
.gcm-slider {
    position: relative;
    overflow: hidden;
    background: #fff;
}

.gcm-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
}

/* ===== SLIDES ===== */
.gcm-slide {
    min-width: 100%;
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* Images */
.gcm-slide img {
    width: 58%;
    max-height: 420px;
    object-fit: contain;
    border: 2px solid #cfcfcf;
    padding: 6px;
    background: #fff;
}

/* ===== NAV BUTTONS ===== */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #1b2a7a;
    color: #fff;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    z-index: 10;
}

.nav-btn.prev { left: 10px; }
.nav-btn.next { right: 10px; }

/* ===== MOBILE VIEW ===== */
@media (max-width: 768px) {

    /* Each slide shows only ONE image */
    .gcm-slide {
        justify-content: center;
    }

    /* Hide second image on mobile */
    .gcm-slide img:nth-child(2) {
        display: none;
    }

    /* First image takes full width */
    .gcm-slide img {
        width: 100%;
        max-height: 380px;
    }
}

.music-img{
  width: 280px;
  height: 250px;
  border: 2px solid #171616;
}