.section-title {
    position: relative;
    margin-bottom: 40px;
    padding-bottom: 15px;
    text-align: center;
    color: #333;
}
.section-title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #007bff;
}
.tab-content {
    padding: 30px 0;
}
.message-tabs .nav-link {
    color: #495057;
    font-weight: 500;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 10px 25px;
    transition: all 0.3s ease;
}
.message-tabs .nav-link.active {
    color: #007bff;
    background: none;
    border-bottom: 3px solid #007bff;
}
.message-tabs .nav-link:hover:not(.active) {
    border-bottom: 3px solid #dee2e6;
}
.profile-img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}
.profile-img:hover {
    transform: translateY(-5px);
}
.message-content {
    height: 120px;
    overflow: hidden;
    position: relative;
    transition: height 0.5s ease;
}
.message-content.expanded {
    height: auto;
}
.read-more {
    color: #007bff;
    cursor: pointer;
    font-weight: 500;
    text-decoration: none;
}
.signature {
    margin-top: 20px;
    font-style: italic;
}
.designation {
    color: #6c757d;
    font-size: 0.9rem;
}

.gray-box {
    width: 100%;
    height: 200px;
    background-color: #ccc;
    border-radius: 10px;
}
.campus-img {
    height: 150px;
    background-color: #ccc;
    margin-bottom: 10px;
    border-radius: 8px;
}
.text-blue {
    color: #0d6efd;
}
.event-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}
.event-date {
    background-color: #0d6efd;
    color: white;
    padding: 10px;
    text-align: center;
    width: 60px;
    border-radius: 8px;
}
.testimonial-box {
    border-radius: 8px;
    background: #f8f9fa;
    position: relative;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.news-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
}

.news-card img {
    height: 200px; /* Set a fixed height for the images */
    object-fit: cover; /* Ensure images don’t stretch, they maintain aspect ratio */
    border-radius: 8px;
}

.news-card h6 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.news-card p {
    font-size: 0.875rem;
    line-height: 1.5;
}

.news-category {
    font-size: 0.9rem;
    font-weight: 500;
    color: #007bff;
    margin-bottom: 5px;
}

.news-date {
    font-size: 0.8rem;
    color: #6c757d;
}

.news-card .text-primary {
    color: #007bff;
}

.news-card .text-muted {
    color: #6c757d;
}

/* Ensure cards have equal height */
.news-card h6,
.news-card p,
.news-category {
    margin-bottom: 10px;
}

.academic-card .d-flex,
.news-card .d-flex {
    margin-top: auto;
}

/* Responsive fixes */
@media (max-width: 768px) {
    .news-card img {
        height: 150px; /* Adjust image size for smaller screens */
    }
}

.academic-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
}

.academic-card img {
    height: 35rem; /* Fixed height for all images */
    object-fit: cover; /* Prevents stretching and maintains aspect ratio */
    border-radius: 8px;
}

.academic-card h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 15px;
    margin-bottom: 10px;
}

.academic-card p {
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .academic-card img {
        height: 150px; /* Adjust image size for smaller screens */
    }
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(33, 37, 41, 0.7);
    border-radius: 50%;
    padding: 10px;
}
.quote-icon {
    position: absolute;
    top: 10px;
    right: 15px;
    opacity: 0.2;
}
.testimonial-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.executive-section {
    padding: 4rem 1rem;
}

.card-executive {
    border: none;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s;
    background: #ffffff;
}

.card-executive:hover {
    transform: translateY(-5px);
}

.profile-img {
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: cover;
    border-radius: 1rem;
}

.profile-img-2 {
    width: auto; /* Adjust width automatically */
    height: 300px; /* Set a fixed height */
    max-width: 100%; /* Prevent it from exceeding the container width */
    max-height: 100%; /* Allow it to scale to fit */
    border-radius: 1rem;
    object-fit: cover;
}

.message-title {
    font-weight: 700;
    font-size: 2rem;
}

.message-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #333;
}

.read-more-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s ease;
}

.read-more-content.show {
    max-height: 1000px; /* large enough to fit full content */
}

.read-more-btn {
    color: #0d6efd;
    cursor: pointer;
    font-weight: 600;
    margin-top: 1rem;
    display: inline-block;
}

.signature {
    margin-top: 2rem;
    font-weight: bold;
}

.name-under-photo {
    font-weight: bold;
    font-size: 1.2rem;
    margin-top: 10px;
}
.designation {
    font-size: 1rem;
    color: #6c757d;
}

/* Rules & Regulations */
.pdf-icon {
    width: 40px;
    margin-right: 15px;
}
.rule-card {
    border-bottom: 1px solid #dee2e6;
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.rule-info {
    display: flex;
    align-items: center;
    flex-grow: 1;
}
.rule-text {
    font-weight: 600;
}
.rule-date {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 5px;
}
.download-icon {
    font-size: 1.2rem;
    color: #000;
    text-decoration: none;
}
.download-icon:hover {
    color: #0d6efd;
}
