
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: 100vh;
  padding: 0 !important;
  margin: 0 !important;
}

/*  NAVBAR TOP */
.pens-navbar-top {
  background-color: #122957 !important;
  border-bottom: 2px solid #f0f0f0;
  padding: 0.8rem 0;
  margin: 0 !important;
}

.navbar-top-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Logo Section */
.navbar-logo-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.navbar-logo {
  width: 80px;
  height: auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.9;
}

.navbar-logo:hover {
  transform: scale(1.08);
  opacity: 1;
}

.navbar-brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #003b8b;
  margin: 0;
  line-height: 1.2;
}

.brand-tagline {
  font-size: 0.75rem;
  color: #666;
  margin: 0;
  font-style: italic;
}

/* Contact Info */
.navbar-contact-info {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #555;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item:hover {
  color: #003b8b;
}

.contact-item i {
  color: #003b8b;
  font-size: 1rem;
}

/* Social Media */
.navbar-social {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.social-link {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f0f0f0;
  color: #003b8b;
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 0.9rem;
}

.social-link:hover {
  background: #003b8b;
  color: white;
  transform: translateY(-3px);
}

/* Quick Links */
.navbar-quick-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.quick-link {
  color: #555;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.quick-link:hover {
  color: #003b8b;
}

.quick-link i {
  font-size: 0.9rem;
}

/* Divider */
.navbar-divider {
  height: 30px;
  width: 1px;
  background: #ddd;
}

/*  NAVBAR MAIN  */
.pens-navbar-main {
  background-color: #003b8b !important;
  padding: 1rem 0;
  margin: 0 !important;
}

.navbar-brand {
  font-weight: 600;
  color: #fff !important;
}

.navbar-brand:hover {
  color: #e9f2ff !important;
}

.pens-navbar-main .nav-link {
  color: #fff !important;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.9rem;
  padding: 0.5rem 1rem !important;
  transition: all 0.3s;
  position: relative;
}

.pens-navbar-main .nav-link:hover,
.pens-navbar-main .nav-link.active {
  color: #ffd700 !important;
}

.pens-navbar-main .nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background-color: #ffd700;
  transition: width 0.3s ease;
}

.pens-navbar-main .nav-link:hover::after,
.pens-navbar-main .nav-link.active::after {
  width: 80%;
}

/* Search Form */
.btn-outline-success {
  color: #fff;
  border-color: #fff;
  background-color: transparent;
}

.btn-outline-success:hover {
  background-color: #ffd700;
  border-color: #ffd700;
  color: #003b8b;
}

.form-control {
  width: 300px;
  border: 2px solid #fff;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.form-control:focus {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: #ffd700;
  color: #fff;
  box-shadow: 0 0 0 0.2rem rgba(255, 215, 0, 0.25);
}

/*  HERO SECTION */
.hero-section {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: linear-gradient(135deg, #1a4d8f 0%, #0d2847 100%);
}

.hero-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 77, 143, 0.85) 0%, rgba(13, 40, 71, 0.85) 100%);
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 2;
  width: 90%;
  max-width: 1000px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 35px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-btn {
  padding: 15px 35px;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-btn-primary {
  background: white;
  color: #1a4d8f;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hero-btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.hero-btn-secondary:hover {
  background: white;
  color: #1a4d8f;
  transform: translateY(-3px);
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-nav:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.hero-nav-prev {
  left: 30px;
}

.hero-nav-next {
  right: 30px;
}

.hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 3;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-dot.active {
  background: white;
  width: 40px;
  border-radius: 6px;
}

/*  STATS SECTION  */
.stats-section {
  background: white;
  padding: 60px 20px;
  margin-top: -80px;
  position: relative;
  z-index: 4;
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.stat-card {
  background: linear-gradient(135deg, #1a4d8f 0%, #0d2847 100%);
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  color: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.stat-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  opacity: 0.9;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.95;
}

/*  MENU CONTAINER  */
.menu-container {
  max-width: 1400px;
  margin: 3rem auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 0 2rem 2rem 2rem;
}

.menu-item {
  background: white;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.menu-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.icon-wrapper {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #fff 0%, #fff 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  transition: transform 0.3s ease;
}

.menu-item:hover .icon-wrapper {
  transform: scale(1.1);
}

.icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.menu-item:nth-child(6) .icon-wrapper {
  width: 50px;
  height: 50px;
}

.menu-title {
  color: #2d3748;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
}

/*  NEWS SECTION */
.news-section-wrapper {
  background-color: #ffffff;
  padding: 3rem 0;
  margin: 0;
}

.news-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 0 2rem;
}

.prestasi-section, .berita-section {
  background: white;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid #003b8b;
}

.prestasi-card {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.prestasi-image-wrapper {
  width: 100%;
  height: 250px;
  background: #cffafe;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.prestasi-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prestasi-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.prestasi-description {
  color: #4a5568;
  line-height: 1.8;
  font-size: 1rem;
}

.berita-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.berita-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e2e8f0;
}

.berita-item:last-child {
  border-bottom: none;
}

.berita-image-wrapper {
  width: 200px;
  height: 140px;
  background: #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
}

.berita-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.berita-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.berita-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.berita-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #003b8b;
  font-size: 0.95rem;
  font-weight: 500;
}

.calendar-icon {
  width: 18px;
  height: 18px;
  color: #003b8b;
}

/*  MULTIKAMPUS SECTION */
.multikampus-section {
  background: linear-gradient(135deg, #2c5aa0 0%, #1e4278 100%);
  padding: 4rem 0;
  margin: 2rem 0 0 0;
}

.multikampus-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.multikampus-main-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffd700;
  text-align: center;
  margin-bottom: 1rem;
  letter-spacing: 2px;
  position: relative;
  padding-bottom: 1rem;
}

.multikampus-main-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 4px;
  background-color: #ffd700;
}

.multikampus-description {
  color: #ffffff;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.kampus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.kampus-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kampus-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.kampus-image {
  width: 100%;
  height: 200px;
  background: #e2e8f0;
  overflow: hidden;
}

.kampus-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.kampus-card:hover .kampus-image img {
  transform: scale(1.05);
}

.kampus-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffd700;
  text-align: center;
  padding: 1.5rem 1rem 0.5rem 1rem;
  letter-spacing: 1px;
}

.kampus-text {
  color: #2d3748;
  text-align: justify;
  padding: 0 1.5rem 1.5rem 1.5rem;
  line-height: 1.7;
  font-size: 0.95rem;
}

/*  FOOTER  */
:root {
  --footer-bg-1: #003b8b;
  --footer-bg-2: #003b8b;
  --footer-muted: #9aa6b8;
  --footer-accent: #2dd4bf;
  --footer-text: #e6eef6;
  --footer-radius: 12px;
}

.footer-section {
  background: linear-gradient(180deg, #001a4d, #000f2e);
  color: var(--footer-text);
  padding: 56px 16px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  margin-top: 3rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.footer-logo {
  width: 140px;
  height: auto;
  display: block;
  margin-bottom: 12px;
  filter: brightness(1.05) saturate(1.05);
  border-radius: 6px;
  background: #ffffff05;
  padding: 6px;
}

.brand-desc {
  color: var(--footer-muted);
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

.footer-contact h4,
.footer-hours h4,
.footer-social h4 {
  margin: 0 0 12px 0;
  color: var(--footer-text);
  font-size: 1.05rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--footer-muted);
  font-size: 0.95rem;
}

.contact-list li {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.contact-list i {
  color: var(--footer-accent);
  min-width: 18px;
}

.social-icons {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--footer-text);
  transition: transform .16s ease, background .16s ease, color .16s ease;
  text-decoration: none;
  font-size: 14px;
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.35);
  position: relative;
  z-index: 10;
}

.social-icon:hover {
  transform: translateY(-4px);
  background: linear-gradient(135deg, var(--footer-accent), #06b6d4);
  color: #061017;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  margin-top: 28px;
  padding-top: 18px;
  text-align: center;
  color: var(--footer-muted);
  font-size: 0.9rem;
}

@media (min-width: 992px) {
  .pens-navbar-main .navbar-nav {
    margin-left: auto;
  }

  .d-flex[role='search'] {
    margin-left: 1.5rem;
  }
}

@media (max-width: 991px) {
  .pens-navbar-main .nav-link::after {
    display: none;
  }

  .navbar-top-container {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .navbar-contact-info {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
    width: 100%;
  }

  .navbar-divider {
    display: none;
  }

  .brand-name {
    font-size: 0.95rem;
  }

  .brand-tagline {
    display: none;
  }

  .navbar-quick-links {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 1024px) {
  .news-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .kampus-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  
  .footer-logo {
    width: 120px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    height: 500px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-btn {
    padding: 12px 25px;
    font-size: 1rem;
  }

  .hero-nav {
    width: 40px;
    height: 40px;
  }

  .hero-nav-prev {
    left: 15px;
  }

  .hero-nav-next {
    right: 15px;
  }

  .stats-section {
    margin-top: -50px;
    padding: 40px 20px;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .menu-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 0 1rem 1rem 1rem;
    margin: 2rem auto;
  }

  .menu-item {
    padding: 1.5rem 1rem;
  }

  .icon-wrapper {
    width: 60px;
    height: 60px;
  }

  .menu-item:nth-child(6) .icon-wrapper {
    width: 40px;
    height: 40px;
  }

  .menu-title {
    font-size: 0.95rem;
  }

  .form-control {
    width: 200px;
  }

  .multikampus-section {
    padding: 2rem 0;
  }

  .multikampus-container {
    padding: 0 1rem;
  }

  .multikampus-main-title {
    font-size: 1.8rem;
  }

  .multikampus-description {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .kampus-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .kampus-image {
    height: 180px;
  }

  .news-section-wrapper {
    padding: 2rem 0;
  }

  .news-container {
    padding: 0 1rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .berita-item {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .berita-image-wrapper {
    width: 100%;
    height: 180px;
  }

  .prestasi-image-wrapper {
    height: 200px;
  }
}

@media (max-width: 576px) {
  .navbar-logo {
    width: 60px;
  }

  .contact-item {
    font-size: 0.8rem;
  }

  .navbar-quick-links {
    flex-wrap: wrap;
    gap: 0.8rem;
  }

  .social-link {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }

  .menu-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  
  .social-icon {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }
  
  .footer-section {
    padding: 28px 12px;
  }
}