* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #fefefe;
  color: #1a2c3e;
  line-height: 1.5;
}

:root {
  --header-blue: #00bfff;
  --accent-yellow: #fff000;
  --dark-blue: #0099cc;
  --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Poppins', sans-serif;
}

/* TOP BAR */
.top-header {
  background: #0a2b3e;
  color: white;
  font-size: 0.85rem;
  padding: 8px 0;
}
.top-header .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.top-header a {
  color: #eee;
  text-decoration: none;
  margin-left: 20px;
  transition: 0.2s;
}
.top-header a:hover { color: var(--accent-yellow); }
.social-icons i {
  margin-left: 12px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: 0.2s;
}
.social-icons i:hover { color: var(--accent-yellow); }

/* HEADER UTAMA */
.main-navbar {
  background: #00bfff;
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-icon {
  background: var(--accent-yellow);
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 24px;
  color: #0a2b3e;
}
.logo-icon img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}
.logo-text h2 {
  font-size: 1.35rem;
  line-height: 1.2;
  color: white;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.logo-text p {
  font-size: 0.7rem;
  letter-spacing: 1px;
  color: var(--accent-yellow);
  font-weight: 600;
}
.nav-menu {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}
.nav-menu a {
  text-decoration: none;
  color: white;
  font-weight: 600;
  transition: 0.2s;
  padding-bottom: 4px;
}
.nav-menu a:hover, .nav-menu a.active {
  color: var(--accent-yellow);
  border-bottom: 2px solid var(--accent-yellow);
}
.btn-register {
  background: var(--accent-yellow);
  color: #0a2b3e !important;
  padding: 8px 20px;
  border-radius: 40px;
  font-weight: 800;
  border: none;
}
.btn-register:hover {
  background: #ffe100;
  transform: translateY(-2px);
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Hero */
.hero {
  background: linear-gradient(rgba(10, 43, 62, 0.78), rgba(10, 43, 62, 0.68)),
              url('assets/images/hero/hero-1.jpg') center/cover no-repeat fixed;
  color: white;
  padding: 160px 0 120px;
  min-height: 700px;
  display: flex;
  align-items: center;
  position: relative;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.05;
  margin-bottom: 16px;
  font-weight: 800;
}

.hero .yellow-highlight {
  color: #fff000;
}

.hero p {
  font-size: 1.3rem;
  max-width: 580px;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Section Umum */
section {
  padding: 60px 0;
}
.section-title {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}
.section-title:after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--accent-yellow);
}


/* Quick Grid */
.quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 30px 0;
}
.quick-item {
  background: white;
  border-radius: 24px;
  padding: 20px;
  text-align: center;
  box-shadow: var(--card-shadow);
  border-left: 4px solid var(--accent-yellow);
  transition: 0.2s;
}
.quick-item i {
  font-size: 32px;
  color: #00bfff;
  margin-bottom: 12px;
}

/* Prodi & Lab */
.prodi-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
}
.prodi-badge {
  background: white;
  border-radius: 40px;
  padding: 10px 24px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  font-weight: 600;
  border: 1px solid #eef2ff;
}
.lab-list {
  background: #f1f5f9;
  border-radius: 24px;
  padding: 20px 28px;
  list-style: none;
}
.lab-list li {
  margin: 12px 0;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Footer */
footer {
  background: #0a2b3e;
  color: #ccc;
  padding: 48px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-bottom: 40px;
}
.footer-col h4 {
  color: white;
  margin-bottom: 20px;
  position: relative;
}
.footer-col a {
  display: block;
  color: #bbb;
  text-decoration: none;
  margin: 8px 0;
  font-size: 0.9rem;
}
.footer-bottom {
  border-top: 1px solid #2a4b62;
  padding-top: 24px;
  text-align: center;
  font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 800px) {
  .hero-grid { grid-template-columns: 1fr; }
  .info-cards { grid-template-columns: 1fr 1fr; }
  .nav-menu { gap: 16px; margin-top: 16px; justify-content: center; }
  .logo-area { justify-content: center; }
}
.info-card:hover {
  transform: translateY(-12px);
  background: rgba(255,255,255,0.25) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* ================== HAMBURGER MENU ================== */
.hamburger {
  display: none;
  font-size: 1.8rem;
  color: white;
  cursor: pointer;
  padding: 8px;
}

@media (max-width: 992px) {
  .hamburger {
    display: block;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 15px;
    background: #00bfff;
    padding: 20px 0;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu a {
    padding: 12px 24px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.2);
  }

  .nav-menu a:last-child {
    border-bottom: none;
  }
}

.news-date {
  font-size: 0.85rem;
  color: #777;
  margin: 10px 0 16px;
}



/* ================== PERBAIKAN KECIL AKHIR ================== */

/* Spacing antar section lebih nyaman */
section {
  padding: 100px 0 !important;
}

/* Hover effect yang lebih premium */


/* Quick Item (Informasi Akademik) */
.quick-item {
  transition: all 0.4s ease;
}
.quick-item:hover {
  transform: translateY(-8px);
  border-left-color: #00bfff;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Card di Hero */
.info-card {
  transition: all 0.4s ease;
}
.info-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.25) !important;
}

/* Tombol lebih menonjol */
.btn-primary {
  transition: all 0.3s ease;
}
.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(255, 240, 0, 0.5);
}

/* Typography & warna teks yang lebih enak */
.section-title {
  font-size: 2.1rem;
}

.news-title {
  font-size: 1.22rem;
  line-height: 1.45;
}

/* Responsive spacing di HP */
@media (max-width: 768px) {
  section {
    padding: 70px 0 !important;
  }
  .hero {
    padding: 120px 0 80px;
  }
}

/* DROPDOWN NAVBAR - PERBAIKAN FINAL */
.nav-menu .dropdown {
  position: relative;
  display: inline-block;
}

.nav-menu .dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu .dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 220px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
  border-radius: 16px;
  padding: 12px 0;
  z-index: 1000;
  top: 100%;
  left: 0;
}

.nav-menu .dropdown:hover .dropdown-content {
  display: block;
}

.nav-menu .dropdown-content a {
  display: block;
  padding: 12px 24px;
  color: #1a2c3e;
  text-decoration: none;
}

.nav-menu .dropdown-content a:hover {
  background: #f0f9ff;
  color: #00bfff;
}

/* MODERN NAVBAR */
.main-navbar {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-menu a {
  transition: all 0.3s ease;
}

/* Mobile Hamburger */
#mobile-menu {
  animation: slideDown 0.4s ease forwards;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.featured-image {
  width: 100% !important;
  max-height: 420px !important;     /* Batasi tinggi maksimal */
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 16px !important;
}
