:root{
    --uni-green: #198754;
    --uni-green-dark: #146c43;
    --uni-green-light: #d1e7dd;
    --uni-gold: #d4a72c;
    --uni-text: #123524;
    --uni-bg: #f8fffb;
    --white: #ffffff;
}

/* General */
body{
    background-color: var(--uni-bg);
    color: #1f2937;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Navbar */
.topbar,
.main-navbar,
.navbar-custom{
    background-color: var(--uni-green) !important;
}

.navbar-custom .nav-link,
.main-navbar .nav-link,
.topbar a{
    color: #fff !important;
    font-weight: 500;
}

.navbar-custom .nav-link:hover,
.main-navbar .nav-link:hover,
.topbar a:hover{
    color: #d1e7dd !important;
}

/* Brand */
.site-brand,
.site-brand h1,
.site-brand h2,
.site-brand span{
    color: #fff !important;
}

/* Hero section */
.hero-section{
    position: relative;
    min-height: 560px;
    background:
        linear-gradient(rgba(25, 135, 84, 0.72), rgba(25, 135, 84, 0.78)),
        url('../images/sumait-gate.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    color: #fff;
}

.hero-section h1{
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
}

.hero-section p{
    font-size: 1.25rem;
    max-width: 760px;
}

/* Search box */
.hero-search .form-control{
    height: 62px;
    border-radius: 14px 0 0 14px;
    border: none;
    box-shadow: none;
    font-size: 1.1rem;
}

.hero-search .btn{
    height: 62px;
    border-radius: 0 14px 14px 0;
    background-color: var(--uni-gold);
    border-color: var(--uni-gold);
    color: #fff;
    font-weight: 600;
    padding: 0 28px;
}

.hero-search .btn:hover{
    background-color: #bb9220;
    border-color: #bb9220;
}

/* Buttons */
.btn-primary{
    background-color: var(--uni-green) !important;
    border-color: var(--uni-green) !important;
}

.btn-primary:hover{
    background-color: var(--uni-green-dark) !important;
    border-color: var(--uni-green-dark) !important;
}

.btn-outline-primary{
    color: var(--uni-green) !important;
    border-color: var(--uni-green) !important;
}

.btn-outline-primary:hover{
    background-color: var(--uni-green) !important;
    color: #fff !important;
}

/* Cards */
.stat-card,
.publication-card,
.dashboard-card,
.profile-card{
    border: none;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    transition: 0.3s ease;
}

.stat-card:hover,
.publication-card:hover,
.dashboard-card:hover,
.profile-card:hover{
    transform: translateY(-4px);
}

.stat-icon{
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background-color: var(--uni-green-light);
    color: var(--uni-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

/* Section titles */
.section-title{
    color: var(--uni-green);
    font-weight: 700;
}

/* Profile page */
.profile-header{
    background: linear-gradient(135deg, #198754, #146c43);
    color: #fff;
    border-radius: 20px;
    padding: 30px;
}

.profile-avatar{
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
}

/* Sidebar */
.sidebar{
    background-color: var(--uni-green);
    min-height: 100vh;
}

.sidebar .nav-link{
    color: #fff !important;
    border-radius: 10px;
    margin-bottom: 6px;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active{
    background-color: rgba(255,255,255,0.14);
}

/* Tables */
.table thead{
    background-color: var(--uni-green);
    color: #fff;
}

/* Footer */
.footer{
    background-color: var(--uni-green);
    color: #fff;
}

.footer a{
    color: #d1e7dd;
    text-decoration: none;
}

.footer a:hover{
    color: #fff;
}