/*
 * Uniform typography for the public website.
 * Poppins for headings, Open Sans for everything else.
 * Icon fonts (.fa / .glyphicon) are left untouched.
 */
body,
body *:not(.fa):not(.glyphicon) {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}

html body :is(h1, h2, h3, h4, h5, h6):not(.fa):not(.glyphicon),
html body :is(h1, h2, h3, h4, h5, h6) *:not(.fa):not(.glyphicon) {
    font-family: 'Poppins', 'Open Sans', Arial, sans-serif;
    letter-spacing: 0;
}

body {
    font-size: 14px;
    line-height: 1.7;
}

/* College name block in the header */
#loo-bar .brand-name {
    font-weight: 700;
    color: #DC7633;
    font-size: 1.45em;
}
#loo-bar .brand-place {
    font-weight: 600;
    color: #660066;
    font-size: 1.25em;
}
#loo-bar .brand-address {
    font-weight: 500;
    color: #660066;
    font-size: 0.6em;
}

/* Professor lists on the Department page */
.widget_title h5 {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
    margin: 0 0 12px;
}

/* Content boxes (About, Vision & Mission): normal body text, no justify gaps */
.jumbotron p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.75;
    text-align: left !important;
}

/* Bulleted lists inside content boxes (e.g. Admission Rules) */
.jumbotron ul {
    list-style: disc;
    padding-left: 22px;
    margin: 0 0 22px;
}
.jumbotron ul li {
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 6px;
}
.jumbotron h2 {
    font-size: 24px;
    margin: 26px 0 12px;
}
.jumbotron h2:first-child {
    margin-top: 0;
}

/* Faculty photo cards on the Department page */
.faculty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 18px;
    margin-top: 20px;
    text-align: center;
}
.faculty-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    padding: 16px 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.faculty-card img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #0e6655;
    background: #f2f2f2;
    margin: 0 auto 12px;
    display: block;
}
.faculty-card h5 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 6px;
    color: #333;
}
.faculty-card .faculty-role {
    color: #0e6655;
    font-weight: 600;
    font-size: 13px;
    margin: 0 0 4px;
}
.faculty-card .faculty-meta {
    color: #777;
    font-size: 12.5px;
    margin: 0 0 2px;
    word-break: break-word;
}

/* Homepage photo carousel */
.home-carousel {
    margin: 20px 0 30px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}
.home-carousel .item img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    object-position: center;
    display: block;
}
@media (max-width: 991px) {
    .home-carousel .item img { height: 340px; }
}
.home-carousel .carousel-caption {
    left: 0;
    right: 0;
    bottom: 0;
    padding: 18px 30px 22px;
    text-align: left;
    text-shadow: none;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
}
.home-carousel .carousel-caption h3 {
    color: #fff;
    font-size: 26px;
    font-weight: 600;
    margin: 0 0 4px;
}
.home-carousel .carousel-caption p {
    color: #f1f1f1;
    font-size: 15px;
    margin: 0;
}
.home-carousel .carousel-indicators {
    bottom: 6px;
    right: 20px;
    left: auto;
    width: auto;
    margin: 0;
}
.home-carousel .carousel-control {
    width: 60px;
    background: none;
    opacity: 0.85;
    display: flex;
    align-items: center;
    justify-content: center;
}
.home-carousel .carousel-control i {
    font-size: 44px;
    color: #fff;
}
@media (max-width: 767px) {
    .home-carousel .item img { height: 220px; }
    .home-carousel .carousel-caption { padding: 10px 14px 24px; }
    .home-carousel .carousel-caption h3 { font-size: 16px; }
    .home-carousel .carousel-caption p { display: none; }
    .home-carousel .carousel-control { width: 36px; }
    .home-carousel .carousel-control i { font-size: 30px; }
}

/* Contact form: the site-wide `input { height: 20px }` rule was squashing the Send button */
#contactForm input[type="submit"] {
    height: auto;
    width: auto;
    padding: 12px 34px;
    margin-top: 12px;
    font-size: 16px;
    line-height: 1.4;
    color: #fff;
}
