/* Global Styles */
:root {
    --primary-color: #003366;
    --secondary-color: #f8f9fa;
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-blue: #e6f2ff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
}

a {
    transition: color 0.3s ease;
}

/* Animations */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Section Titles */
.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 30px;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.title-blue {
    color: var(--primary-color);
}

/* Hero / Banner Section */
.hero-wrapper {
    background: #fff;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
}

.hero-static-img {
    height: 400px;
    object-fit: cover;
    border-radius: 0;
}

.hero-carousel-img {
    height: 400px;
    object-fit: cover;
    border-radius: 0;
}

/* Profile Cards */
.profile-card {
    background: #fff;
    border-radius: 15px;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.profile-img-container {
    padding: 20px;
    background: linear-gradient(135deg, var(--light-blue) 0%, #fff 100%);
}

.profile-img {
    width: 140px;
    height: 140px;
    border: 4px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.profile-info {
    padding: 15px;
}

.profile-name {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 5px;
}

.profile-role {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

/* News & Updates */
.news-container {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    height: auto;
}

.news-header {
    background: var(--primary-color);
    color: #fff;
    padding: 15px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.5px;
}

.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 400px;
    overflow-y: auto;
}

.news-item {
    border-bottom: 1px solid #eee;
    padding: 12px 15px;
    transition: background 0.2s;
}

.news-item:hover {
    background-color: var(--light-blue);
}

.news-link {
    text-decoration: none;
    color: #444;
    font-size: 0.95rem;
    display: block;
}

.news-icon {
    color: var(--accent-color);
    margin-right: 8px;
}

.new-badge {
    background-color: var(--accent-color);
    color: #fff;
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 4px;
    vertical-align: middle;
    margin-left: 5px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* University & Digital Cards */
.modern-card {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.modern-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.uni-logo {
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
}

.card-title-text {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Social Pills */
.social-pill {
    display: block;
    padding: 10px 15px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.social-pill:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.social-fb {
    background: linear-gradient(45deg, #1877F2, #3b5998);
}

.social-x {
    background: linear-gradient(45deg, #000000, #333333);
}

.social-yt {
    background: linear-gradient(45deg, #FF0000, #cc0000);
}

/* Carousel */
.carousel-control-custom {
    background-color: var(--primary-color);
    border-radius: 50%;
    width: 30px;
    height: 30px;
}

/* Logo Strip */
.logo-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 10px 0;
}

.logo-item {
    display: block;
    transition: transform 0.3s ease;
}

.logo-item:hover {
    transform: scale(1.05);
}

.logo-item img {
    height: 80px;
    width: auto;
    object-fit: contain;
    max-width: 200px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero-carousel-img {
        height: 200px;
        /* Reduce height for mobile to prevent zooming */
    }
}