/*
================================================================================
|                                                                              |
|               THEME.CSS - GAYA DESAIN UNSRI (WARNA HIJAU UGK)                  |
|                                                                              |
================================================================================
*/

/* === 1. GENERAL & GLOBAL STYLES === */
body {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 16px;
    color: #505050;
    line-height: 26px;
    font-weight: 400;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto Condensed', sans-serif;
    color: #212121;
    margin: 0 0 26px;
    font-weight: 700;
}

a {
    color: #212121;
    transition: all 0.3s ease 0s;
    text-decoration: none !important;
}

a:hover {
    color: #008000; /* Warna Hijau Utama UGK */
}

.sec-spacer {
    padding: 100px 0;
}

.sec-title {
    position: relative;
    margin-bottom: 50px;
    padding-bottom: 20px;
}

.sec-title h2 {
    font-size: 30px;
    line-height: 24px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.sec-title.text-center:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    height: 3px;
    width: 100px;
    background: #008000; /* Warna Hijau Utama UGK */
    transform: translateX(-50%);
}

/* === 2. HEADER & NAVIGATION (UNSRI STYLE - UGK COLOR) === */
.full-width-header .rs-toolbar {
    padding: 4px 0 5px;
    background: #006400; /* Hijau Tua UGK */
}

.rs-toolbar .welcome-message span {
    color: #ffffff;
}
.rs-toolbar i {
    color: #ffffff;
}

.rs-toolbar .toolbar-share-icon ul li a {
  font-size: 14px;
  color: #ffffff;
}

.rs-header .rs-header-top {
  padding: 5px 0 0px;
  background-color: #ffffff;
}

.logo-area img {
    max-height: 80px; /* Sesuaikan tinggi logo */
}

.menu-area.menu-sticky {
  background: #ffffff;
  position: fixed !important;
  top: 0px;
  z-index: 999;
  width:100%;
  box-shadow: 0 0 5px 0 rgba(0,0,0,0.2);
  -webkit-animation-duration: .5s;
  animation-duration: .5s;
  -webkit-animation-name: sticky-animation;
  animation-name: sticky-animation;
}

.rs-menu .nav-menu > li > a {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
    color: #212121;
    padding: 20px 15px;
}
.rs-menu .nav-menu > li > a:hover,
.rs-menu .nav-menu > li.current-menu-item > a {
    color: #008000 !important; /* Warna Hijau Utama UGK */
}

.rs-menu .sub-menu {
    background-color: #212121;
    border-top: 2px solid #008000; /* Warna Hijau Utama UGK */
}

.rs-menu .sub-menu li a {
    color: #fff;
    padding: 10px 20px;
    border-bottom: 1px solid #333;
}
.rs-menu .sub-menu li a:hover {
    background-color: #008000; /* Warna Hijau Utama UGK */
    color: #ffffff !important;
}

.rs-menu-toggle {
    display: none;
    cursor:pointer;
}

/* === 3. SECTIONS (BERITA, PENGUMUMAN, ETC) === */
#rs-latest-news .news-normal-block .news-title a:hover {
  color: #008000;
}
#rs-latest-news .news-normal-block .news-btn a {
    background: #008000;
    color: #fff;
}

#rs-testimonial {
    background-color: #f0f5f0; /* Latar abu-hijau muda */
}

#rs-testimonial .testimonial-item h4 a:hover {
    color: #008000;
}

/* === 4. FOOTER === */
#rs-footer {
    background: #212121;
    color: #e8e8e8;
    padding-top: 80px;
}
#rs-footer .footer-title:after {
    background-color: #008000;
}

/* === 5. RESPONSIVE ADJUSTMENTS === */
@media (max-width: 991px) {
    .rs-menu-toggle { display: block !important; color: #212121; padding: 15px; font-size: 18px; }
    .rs-menu { display: none; }
    .rs-menu.rs-menu-open { display: block; position: absolute; width: 100%; background: #fff; z-index: 1000; left: 0; top: 100%; }
    .nav-menu > li { display: block; width: 100%; text-align: left;}
    .nav-menu > li > a { border-bottom: 1px solid #f0f0f0; }
    .rs-menu .sub-menu { position: static; border: none; box-shadow: none; background: #f9f9f9; }
    .rs-menu .sub-menu li a { color: #212121; }
    .rs-menu .sub-menu li a:hover { background: #008000; color: #fff !important; }
}

@keyframes sticky-animation {
  0% { opacity: 0; transform: translateY(-100%); }
  100% { opacity: 1; transform: translateY(0); }
}

/* === FOOTER BARU DENGAN BACKGROUND GAMBAR PENUH === */

#rs-footer {
    position: relative;
    background-size: cover;
    background-position: center center;
    padding-top: 80px; /* Memberi jarak dari konten di atasnya */
    color: #ffffff; /* Warna teks default di footer menjadi putih */
}

/* Lapisan overlay gelap agar teks mudah dibaca */
#rs-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent; /* rgba(0, 40, 0, 0.85); /* Overlay hijau tua transparan */
    z-index: 1;
}

/* Memastikan konten footer berada di atas lapisan overlay */
#rs-footer .container {
    position: relative;
    z-index: 2;
}

.footer-title {
    font-size: 20px;
    font-weight: 700;
    color: #fdd700; /* Warna kuning untuk judul, agar kontras */
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #fdd700;
    display: inline-block;
}

.about-widget img {
    max-width: 250px;
    margin-bottom: 20px;
    /* filter: brightness(0) invert(1);  Membuat logo menjadi putih agar kontras */
}

.sitemap-widget {
    list-style: none;
    padding-left: 0;
}

.sitemap-widget li {
    margin-bottom: 12px;
}

.sitemap-widget li, .sitemap-widget li a {
    color: #e8e8e8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sitemap-widget li a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.sitemap-widget i {
    margin-right: 10px;
    color: #fdd700; /* Warna ikon kuning */
}

.footer-share {
    text-align: center;
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-share li {
    display: inline-block;
    margin: 0 10px;
}

.footer-share li a {
    color: #fff;
    font-size: 20px;
}

.footer-share li a:hover {
    color: #fdd700;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.3); /* Latar sedikit gelap untuk copyright */
    padding: 20px 0;
    margin-top: 60px;
    font-size: 14px;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom a {
    color: #fff;
    font-weight: 600;
}