/* Hero Section Styling */
.dept-hero {
  position: relative;
  background: 
    linear-gradient(90deg, rgba(49,140,231,0.4) 5%, rgba(40,33,132,0.4) 100%), 
    url('../images/GVP Build.png') no-repeat center center/cover;
  height: 22vh;
  display: flex;
  align-items: center;
  justify-content: space-between; /* left + right */
  padding: 0 40px; /* spacing from edges */
  margin-top: 3px;
  overflow: hidden;
}



/* Dark overlay */
.dept-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.55);
  z-index: 1;
}

/* Foreground wrapper */
.dept-hero .dept-text,
.dept-hero .dept-info {
  position: relative;
  z-index: 2;
}

/* Heading in a box */
.dept-hero h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2.3rem;
  text-transform: capitalize;
  letter-spacing: 1px;
  background: #EF4036;
  color: #fff;
  padding: 10px 25px;
  border-radius: 10px;
  display: inline-block;
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}


/* Small info boxes (Intake / Estd.) */
.dept-hero .dept-info {
  display: flex;
  flex-direction: column;  /* stack vertically */
  gap: 12px;               /* space between boxes */
  align-items: flex-end;   /* align to right side */
}

.dept-hero .info-box {
  background: #318CE7; /* blue accent */
  color: #fff;
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  min-width: 120px; /* keeps boxes uniform */
  text-align: center;
}


.dept-about ul li {
  margin-bottom: 10px; /* spacing between list items */
  line-height: 1.6;    /* line spacing */
}

/* Reduce padding and line spacing for list items */
.list-group-flush .list-group-item {
  padding: 8px 12px;      /* reduce top/bottom and left/right padding */
  margin-bottom: 0;       /* remove extra margin */
  line-height: 1.4;       /* tighter line spacing */
  border-bottom: 1px solid #318CE7; /* blue separator line */
}

/* Optional: remove border from last item */
.list-group-flush .list-group-item:last-child {
  border-bottom: none;
}

/* Nested list (MoUs) styling */
.list-group-flush .list-group-item ul {
  padding-left: 20px;     /* indent nested list */
  margin-top: 5px;
}

.list-group-flush .list-group-item ul li {
  padding: 2px 0;         /* tighter spacing in nested list */
  border: none;           /* no separator for nested items */
  line-height: 1.3;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 40%; /* Left: text, Right: carousel */
  gap: 20px;
  align-items: start;
}

/* Make carousel responsive */
.carousel-side img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}


