body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #1a1a1a;
  padding-top: 70px; /* Disesuaikan sedikit agar navbar tidak menutupi */
  scroll-behavior: smooth; 
  background-color: #ffffff;
}

/* --- NAVBAR STYLING --- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 80px;
  background: #ffffff;
  border-bottom: 1px solid #f0f0f0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 8px 80px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Styling Container Logo (Gambar + Teks) */
.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-text .university-name {
    font-size: 10px;
    margin: 0;
    color: #666;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
}

.logo-text h2 {
    font-size: 18px;
    margin: 0;
    font-weight: 900;
    color: #1a1a1a;
    line-height: 1.2;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 10px; /* Jarak dikurangi karena menggunakan tombol */
  margin: 0;
  padding: 0;
}

.navbar a {
  text-decoration: none;
  color: #1a1a1a;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  padding: 8px 20px;
  border-radius: 20px;
  display: inline-block;
}

/* Efek Hover biasa */
.navbar a:hover {
  color: #003366;
  background-color: #f0f0f0;
}

/* Efek Navigasi Aktif (Biru) */
.navbar a.active {
    background-color: #003366;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 51, 102, 0.3);
}

/* --- HERO SECTION --- */
.hero {
  display: flex;
  align-items: center;
  /* PENTING: position relative untuk parent agar gambar absolute bisa diatur */
  position: relative; 
  background: #FFEB01;
  color: #1a1a1a;
  /* Padding bawah ditambah agar gambar terlihat proporsional */
  padding: 100px 80px 120px 80px;
  overflow: hidden;
  min-height: 500px; /* Menjaga tinggi minimum */
}

.hero-content-wrapper {
    position: relative;
    z-index: 10; /* Text harus di atas gambar */
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
}

.hero-text {
  max-width: 600px;
}

.hero-text h1 {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 900;
}

.hero-text p {
  line-height: 1.6;
  margin-bottom: 30px;
  color: #333333;
  font-size: 16px;
  max-width: 90%;
}

/* Tombol Hero */
.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 35px;
  border-radius: 50px; /* Bentuk Pill Modern */
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

/* Primary Button: Biru Solid (Brand Color) */
.cta.primary {
  background-color: #003366;
  color: #ffffff;
  border-color: #003366;
  box-shadow: 0 4px 15px rgba(0, 51, 102, 0.2);
}

.cta.primary:hover {
  background-color: #002244;
  border-color: #002244;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 51, 102, 0.3);
}

/* Secondary Button: Outline / Ghost Button */
.cta.secondary {
  background-color: transparent;
  color: #003366;
  border-color: #003366;
}

.cta.secondary:hover {
  background-color: #003366;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 51, 102, 0.2);
}

/* Pengaturan Gambar Hero Baru */
.hero-illustration-right {
  position: absolute;
  right: -50px; /* Digeser sedikit keluar layar kanan */
  top: 50%;
  transform: translateY(-45%); /* Centering vertikal */
  width: 55%; /* Ukuran lebar relatif layar */
  max-width: 700px; 
  height: auto;
  z-index: 1;
  opacity: 0.9;
  pointer-events: none; /* Agar tidak menghalangi klik jika menutupi text */
}

.hero-main-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* --- COMMON SECTION STYLES --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #003366;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 16px;
}

/* --- WHY MIPA SECTION --- */
.why-mipa {
    background: #f9f9f9;
    padding: 80px 0;
}

.card-wrapper {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.mipa-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    flex: 1;
    min-width: 250px;
    text-align: center;
    transition: transform 0.3s ease;
    border-top: 4px solid #FFEB01;
}

.mipa-card:hover {
    transform: translateY(-10px);
}

.card-icon-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 3px solid #f0f0f0;
}

.mipa-card h3 {
    margin: 10px 0;
    color: #1a1a1a;
}

/* --- PROGRAM STUDI SECTION --- */
.program-section {
    padding: 80px 0;
    background: white;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.program-card {
    border: 1px solid #eee;
    padding: 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: #fff;
}

.program-card:hover {
    border-color: #003366;
    box-shadow: 0 5px 15px rgba(0,51,102, 0.1);
}

.program-card h3 {
    color: #003366;
    margin-top: 0;
    font-size: 20px;
    border-bottom: 2px solid #FFEB01;
    display: inline-block;
    padding-bottom: 5px;
}

/* --- AKADEMIK SECTION --- */
.akademik-section {
    background-color: #003366;
    color: white;
    padding: 60px 0;
}

.akademik-content {
    display: flex;
    justify-content: center;
    text-align: center;
}

.akademik-text {
    max-width: 800px;
}

.section-title-light {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #FFEB01;
}

.akademik-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.akademik-list li {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* --- FASILITAS SECTION --- */
.fasilitas-section {
    padding: 80px 0;
    background: #fdfdfd;
}

.fasilitas-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 40px;
}

.fasilitas-image {
    flex: 1;
}

.fasilitas-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.fasilitas-desc {
    flex: 1;
}

.fasilitas-desc h3 {
    font-size: 24px;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.fasilitas-desc p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

/* --- KONTAK SECTION --- */
.contact-section {
    padding: 80px 0;
    background: white;
}

.contact-wrapper {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.contact-info-box {
    flex: 1;
    background: #f4f4f4;
    padding: 30px;
    border-radius: 8px;
}

.map-container {
    width: 100%;
    height: 250px; /* Tinggi map */
    background: #ddd;
    margin-top: 25px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ccc;
}

.contact-form-box {
    flex: 2;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    box-sizing: border-box; 
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #003366;
    outline: none;
}

.submit-btn {
    background: #003366;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #002244;
}

/* --- FOOTER --- */
.site-footer {
  background: #003366; 
  padding: 60px 0 20px;
  color: white;
}

.footer-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
}

.footer-left {
  display: flex;
  gap: 60px;
}

.footer-col h3 {
  color: #FFEB01;
  font-size: 16px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a, .footer-col li {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: #FFEB01;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom .tagline {
    font-weight: bold;
    color: white;
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .navbar {
        padding: 10px 40px;
    }
    .hero {
        padding: 80px 40px;
        flex-direction: column;
        text-align: center;
    }
    .hero-illustration-right {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 80%;
        margin-top: 40px;
    }
    .hero-text {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 15px 20px;
        height: auto;
    }
    .logo-container {
        margin-bottom: 15px;
    }
    .navbar ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .fasilitas-wrapper {
        flex-direction: column;
    }
    
    .contact-wrapper {
        flex-direction: column;
    }
    
    .footer-wrapper {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-left {
        flex-direction: column;
        gap: 30px;
    }
}