@font-face {
  font-family: 'IBM Plex Serif';
  font-style: normal;
  font-weight: 400;
  src: url('../googlefonts/ibm-plex-serif-v20-latin-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Libre Franklin';
  font-style: normal;
  font-weight: 400;
  src: url('../googlefonts/libre-franklin-v20-latin-regular.woff2') format('woff2');
}   

body {
  font-family: 'Libre Franklin', sans-serif;
  color: #000;
}

a { text-decoration: none; }
  a:hover { opacity: 0.8; }

/* Header */

#header-top {
    background: #f5f0e8;
    border-bottom: 1px solid #ddd;
    z-index: 1050;
  }

  .logo-top{
    height:56px;
  }

  #header-uni-name {
    font-family: 'IBM Plex Serif', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: #8b7340;
    letter-spacing: 0.5px;
    text-decoration: none;
  }

  .header-contact {
    font-size: 14px;
    color: #333;
  }

  .header-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid #bbb;
    border-radius: 4px;
    color: #555;
    font-size: 14px;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
  }

  .header-social:hover { background: #1d87e4; color: #fff; border-color: #1d87e4; }

  .main-navbar {
    background: #fff;
    border-bottom: 2px solid #e8e8e8;
    position: relative;
  }

  #main-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: stretch;
    width: 100%;
  }

  #main-nav .nav-dropdown { position: static; display: flex; align-items: stretch; }

  .main-navbar .nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px !important;
    font-size: 14px;
    font-weight: 600;
    color: #333 !important;
    white-space: nowrap;
    transition: background 0.2s;
    text-decoration: none;
    cursor: pointer;
    border-right: 1px solid #eee;
  }

  .main-navbar .nav-link:hover { background: #f5f5f5; }
  .main-navbar .nav-link.active { background: #f5f5f5; }

  .nav-home-icon { font-size: 1.1rem; color: #888; }

  .nav-icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #fff;
    font-size: 15px;
    flex-shrink: 0;
  }

  .nav-quicklinks .nav-link {
    background: #f8a724;
    color: #fff !important;
    border-right: none;
    padding: 12px 24px !important;
  }

  .nav-quicklinks .nav-link:hover { background: #e09600; }

  .bg-tentang { background-color: #e53935; }
  .bg-akademik { background-color: #f8a724; }
  .bg-admisi { background-color: #43a047; }
  .bg-layanan { background-color: #1e88e5; }
  .bg-kontak { background-color: #7b1fa2; }

  .bg-quicklinks { 
    background-color: #ffffff; 
    color: #f8a724 !important; 
  }

  .main-navbar .dropdown-toggle::after { display: none; }

  .main-navbar .dropdown-menu {
    border: none;
    border-top: 3px solid #f8a724;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.1);
    width: 100%;
    padding: 16px;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    display: none;
    z-index: 999;
  }

  .main-navbar .dropdown-menu.open { display: block; }
  .main-navbar .dropdown-right { left: auto; right: 0; }

  .main-navbar .dropdown-menu .menu-group-title {
    font-size: 20px;
    font-weight: 400;
    color: #3b82f6; 
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 20px;
    display: block;
  }

  .main-navbar .dropdown-menu .menu-promo-title {
    font-size: 26px;
    font-weight: 500;
    color: #c62828;
    line-height: 1.4;
    display: block;
  }

  .main-navbar .dropdown-menu .menu-promo-orange {
    color: #f8a724; 
  }

  .main-navbar .dropdown-menu .dropdown-item {
    font-size: 14px;
    color: #707070;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    background: none;
    display: block;
    text-decoration: none;
    transition: color 0.2s;
  }

  .main-navbar .dropdown-menu .dropdown-item:last-child {
    border-bottom: none;
  }

  .main-navbar .dropdown-menu .dropdown-item:hover { 
    color: #f8a724; 
    background: none; 
  }

  .main-navbar .nav-dropdown:hover .dropdown-menu {
    display: block;
  }

  .submenu-feature {
    padding-top: 10px;
  }

  .submenu-feature .feature-caption {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #1d87e4;
    text-decoration: none;
    margin-top: 12px;
    line-height: 1.4;
    transition: color 0.2s;
  }

  #nav-toggle {
    background: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 6px 10px;
    cursor: pointer;
    color: #555;
    font-size: 1.1rem;
    display: none;
    margin: 8px 0;
  }

  @media (max-width: 991px) {
    #nav-toggle { display: block; }

    #main-nav {
      display: none;
      flex-direction: column;
      align-items: flex-start;
      width: 100%;
      padding: 4px 0;
    }

    #main-nav.open { display: flex; }
    #main-nav .nav-dropdown { 
      width: 100%; 
      flex-direction: column;
      align-items: flex-start;
    }

    .main-navbar .nav-link { border-right: none; border-bottom: 1px solid #f0f0f0; width: 100%; }

    .main-navbar .dropdown-menu {
      position: static;
      box-shadow: none;
      border-top: none;
      border-left: 4px solid #f8a724;
      margin-left: 16px;
      padding: 10px;
      width: auto;
    }

    .nav-quicklinks { width: 100%; }

    .main-navbar .dropdown-menu [class*="col-"] {
      margin-bottom: 24px;
    }
    .main-navbar .dropdown-menu [class*="col-"]:last-child {
      margin-bottom: 0;
    }
  
    .main-navbar .dropdown-menu .menu-group-title {
      font-size: 18px;
      margin-bottom: 12px;
    }
  
    .main-navbar .dropdown-menu .menu-promo-title {
      font-size: 20px;
    }
  
    .submenu-feature {
      padding-top: 16px;
      border-top: 1px dashed #ddd;
    }
  }

  /* Footer */

  #footer { 
    background: #343439; 
    color: #fff; 
    padding: 48px 0 20px; 
    margin-top: auto;
  }

  #footer h5 {
    font-size: 1rem;
    font-weight: 700;
    border-bottom: 2px solid #f8a724;
    padding-bottom: 6px;
    margin-bottom: 16px;
  }

  #footer a {
    color: rgba(255,255,255,0.8);
    font-size: 0.88rem;
    display: block;
    margin-bottom: 6px;
    transition: color 0.2s;
  }

  #footer a:hover { color: #f8a724; opacity: 1; }

  #footer .social-icons a {
    display: inline-block;
    color: #fff;
    font-size: 1.2rem;
    margin-right: 12px;
    transition: color 0.2s;
  }

  #footer .social-icons a:hover { color: #f8a724; }

  #copyright {
    background: #000;
    color: #dd9933;
    text-align: center;
    padding: 12px;
    font-size: 0.85rem;
  }

  .logo-unaki-footer{
    max-width: 160px;
  }
  
  .hr-footer{
    border-color: rgba(255,255,255,0.15);
    margin-top: 32px;
  }
  
  .address-footer{
    color: rgba(255,255,255,0.5);
    font-size: 0.88rem;
  }