
:root {
    --uni-primary: #002147; /* Oxford Blue */
    --uni-accent: #D4AF37; /* Metallic Gold */
    --uni-text: #333333;
    --uni-bg: #F9F9F9;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--uni-bg);
    color: var(--uni-text);
}

h1, h2, h3, h4, h5, h6, .brand-text {
    font-family: 'Playfair Display', serif;
    color: var(--uni-primary);
}

/* Top utility bar */
.utility-bar {
    background-color: #111;
    color: #ddd;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}
.utility-bar a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.2s;
}
.utility-bar a:hover {
    color: var(--uni-accent);
}

/* Main Navbar */
.navbar-custom {
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    padding: 1rem 0;
}
.nav-link {
    font-weight: 500;
    color: var(--uni-primary) !important;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin: 0 0.5rem;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}
.nav-link:hover {
    color: var(--uni-accent) !important;
    border-bottom: 2px solid var(--uni-accent);
}
.btn-apply {
    background-color: var(--uni-primary);
    color: white;
    border-radius: 0;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 0.6rem 1.5rem;
    transition: background 0.3s;
}
.btn-apply:hover {
    background-color: var(--uni-accent);
    color: var(--uni-primary);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 33, 71, 0.75), rgba(0, 33, 71, 0.85)), url('scamewo_assets/imgs/background1.jpg') center/cover no-repeat;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 1px;
    color: #e0e0e0;
}

/* Stats Ribbon */
.stats-ribbon {
    background-color: var(--uni-accent);
    color: var(--uni-primary);
    padding: 2rem 0;
    margin-top: -3px;
}

/* Sections */
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}
.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: var(--uni-accent);
}

/* Content Blocks */
.legacy-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
}
.institute-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #eaeaea;
    font-weight: 500;
}
.institute-list li:last-child {
    border: none;
}
.institute-list i {
    color: var(--uni-accent);
    margin-right: 10px;
}

/* Announcement Board */
.announcement-board {
    background: white;
    border-top: 4px solid var(--uni-primary);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 2rem;
}
.announcement-item {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
    transition: transform 0.2s;
}
.announcement-item:hover {
    transform: translateX(5px);
}
.announcement-date {
    font-size: 0.75rem;
    color: var(--uni-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
}
.announcement-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--uni-primary);
}

/* Leadership Profile */
.leadership-card {
    background: var(--uni-primary);
    color: white;
    padding: 2rem;
    text-align: center;
}
.leadership-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid var(--uni-accent);
    margin-bottom: 1rem;
    object-fit: cover;
}
.leadership-name {
    color: white;
    margin-bottom: 0.2rem;
}
.leadership-title {
    color: var(--uni-accent);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer */
.footer-custom {
    background-color: var(--uni-primary);
    color: #d1d5db;
    padding: 4rem 0 2rem 0;
    border-top: 5px solid var(--uni-accent);
}
.footer-custom h5 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}
.footer-custom ul li {
    margin-bottom: 0.8rem;
}
.footer-custom a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-custom a:hover {
    color: var(--uni-accent);
}

#backToTop {
    display: none; /* Hidden by default */
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: var(--uni-accent);
    color: var(--uni-primary);
    cursor: pointer;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
#backToTop:hover {
    background-color: var(--uni-primary);
    color: #ffffff;
    transform: translateY(-3px);
}