/* ── Hamburger icon fix ──────────────────────────────────────────────────────
   Nicepage's u-custom-color / u-custom-text-color resolve to white (designed
   for dark-header themes), making the icon invisible on a light nav bar.
   Override with an explicit brand colour and propagate to the SVG. */
.u-menu-1 .menu-collapse > a {
  color: #e13690 !important; /* brand pink – visible on white nav bar */
}

/* The SVG <use> sprite picks up fill via currentColor; the raw <rect>
   elements inside u-svg-content need an explicit fill as a hard fallback. */
.u-menu-1 .menu-collapse .u-svg-link {
  fill: currentColor;
}

.u-menu-1 .menu-collapse .u-svg-content rect {
  fill: #e13690;
}

/* ── Section 1 ────────────────────────────────────────────────────────────── */
.u-section-1 {
  background-image: none;
  min-height: 626px;
}

.u-section-1 .u-layout-wrap-1 {
  pointer-events: auto;
  margin-top: 1px;
  margin-bottom: 0;
}

.u-section-1 .u-layout-cell-1 {
  min-height: 208px;
  pointer-events: auto;
  background-image: linear-gradient(to right, #e13690, #f97e83);
}

.u-section-1 .u-container-layout-1 {
  padding: 0;
}

.u-section-1 .u-image-1 {
  width: auto;
  height: 208px; /* matches u-layout-cell-1 min-height */
  max-width: 100%;
  margin: 0 auto 0 13px;
  display: block;
}

.u-section-1 .u-text-1 {
  width: 408px;
  max-width: 100%;
  margin: -180px auto 0;
}

.u-section-1 .u-text-2 {
  box-shadow: 0 0 0 rgba(0,0,0,0);
  font-weight: 700;
  /* Explicit white so the college name is always visible on the pink gradient,
     overriding whatever u-text-palette-5-light-1 resolves to in nicepage.css */
  color: #ffffff !important;
  text-shadow: 0px 0px 8px rgba(128,128,128,1);
  margin: 0 41px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.u-section-1 .u-text-3 {
  margin: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.u-section-1 .u-gallery-1 {
  height: 375px;
  margin-top: 41px;
  margin-bottom: 1px;
}

.u-section-1 .u-carousel-indicators-1 {
  position: absolute;
  bottom: 10px;
}

.u-section-1 .u-carousel-item-1,
.u-section-1 .u-carousel-item-2,
.u-section-1 .u-carousel-item-3,
.u-section-1 .u-carousel-item-4,
.u-section-1 .u-carousel-item-5,
.u-section-1 .u-carousel-item-6 {
  margin-right: 0;
}

.u-section-1 .u-over-slide-1,
.u-section-1 .u-over-slide-2,
.u-section-1 .u-over-slide-3,
.u-section-1 .u-over-slide-4,
.u-section-1 .u-over-slide-5,
.u-section-1 .u-over-slide-6 {
  background-image: linear-gradient(0deg, rgba(0,0,0,0.2), rgba(0,0,0,0.2));
  padding: 20px;
}

.u-section-1 .u-carousel-control-1 {
  position: absolute;
  left: 10px;
  width: 40px;
  height: 40px;
  padding: 4px;
}

.u-section-1 .u-carousel-control-2 {
  position: absolute;
  right: 10px;
  width: 40px;
  height: 40px;
  padding: 4px;
}

@media (max-width: 1199px) {
   .u-section-1 {
    min-height: auto;
  }

  .u-section-1 .u-layout-cell-1 {
    min-height: 172px;
  }

  .u-section-1 .u-image-1 {
    height: 172px; /* scale with the cell */
    margin-top: 0;
  }

  .u-section-1 .u-container-layout-1 {
    padding-top: 88px;
  }

  .u-section-1 .u-text-1 {
    margin-top: -124px;
  }

  .u-section-1 .u-text-2 {
    transition-duration: 0.5s;
    /* Reduced scaling so text doesn't overflow */
    transform: translateX(0px) translateY(0px) scale(1) rotate(0deg);
    margin-left: 0;
    margin-right: 0;
  }

  .u-section-1 .u-gallery-1 {
    height: 300px;
  }
}

@media (max-width: 991px) {
   .u-section-1 {
    min-height: auto;
  }

  .u-section-1 .u-layout-cell-1 {
    min-height: 100px;
  }

  /* Hide logo on tablet and mobile */
  .u-section-1 .u-image-1 {
    display: none;
  }

  .u-section-1 .u-container-layout-1 {
    padding-top: 0;
    padding-left: 50px;
    padding-right: 50px;
  }

  .u-section-1 .u-gallery-1 {
    height: 260px;
  }

  /* Reset sidebar order on mobile so it stacks below content */
  .u-section-2 .u-group-2 {
    order: 0;
  }

  .u-section-2 .u-group-1 {
    order: 0;
  }
}

@media (max-width: 767px) {
  .u-section-1 .u-container-layout-1 {
    padding-left: 15px;
    padding-right: 15px;
  }

  .u-section-1 .u-gallery-1 {
    height: 220px;
  }
}

@media (max-width: 575px) {
  .u-section-1 .u-text-1 {
    width: 100%;
  }

  .u-section-1 .u-gallery-1 {
    height: 180px;
    margin-top: 20px;
  }
} 

.u-section-2 {
  background-image: linear-gradient(#fce9f3, #f97e83);
}

.u-section-2 .u-sheet-1 {
  min-height: auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  padding: 40px 15px;
  gap: 20px;
}

.u-section-2 .u-text-1 {
  width: 100%;
  flex-shrink: 0;
  margin: 9px 0 20px;
  order: 0; /* heading always spans top */
}

.u-section-2 .u-group-1 {
  flex: 1 1 0;
  min-width: 0;
  height: auto;
  background-image: linear-gradient(#fce9f3, #f97e83);
  margin: 0;
  order: 2; /* content on the right */
}

.u-section-2 .u-container-layout-1 {
  padding: 20px;
}

.u-section-2 .u-text-2 {
  font-weight: 400;
  margin: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.u-section-2 .u-list-1 {
  display: none;
}

.u-section-2 .u-repeater-1 {
  grid-gap: 0px 0px;
}

.u-section-2 .u-group-2 {
  flex: 0 0 270px;
  width: 270px;
  height: auto;
  background-image: linear-gradient(#fce9f3, #f97e83);
  margin: 0;
  order: 1; /* sidebar on the left */
}

.u-section-2 .u-container-layout-2 {
  padding: 30px;
}

.u-section-2 .u-custom-html-1 {
  margin-bottom: 0;
  margin-top: 0;
}

@media (max-width: 1199px) {
  .u-section-2 .u-repeater-1 {
    grid-template-columns: 100%;
  }
}

@media (max-width: 991px) {
  .u-section-2 .u-sheet-1 {
    flex-direction: column;
    align-items: stretch;
  }

  .u-section-2 .u-group-1 {
    flex: none;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
  }

  .u-section-2 .u-group-2 {
    flex: none;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .u-section-2 .u-group-1 {
    max-width: 540px;
  }

  .u-section-2 .u-group-2 {
    max-width: 540px;
  }

  .u-section-2 .u-container-layout-2 {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 575px) {
  .u-section-2 .u-group-1 {
    max-width: 100%;
  }

  .u-section-2 .u-group-2 {
    max-width: 100%;
  }
}