* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: Arial, sans-serif;
    background-color: #fff;
    padding-top: 70px;
  }
  
 /* HEADER */
.header2 {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: all 0.3s ease; /* Tambahkan transisi umum jika diperlukan */
}

.top-bar2 {
  background: #ff0000;
  color: #fff;
  padding: 8px 0;
  font-size: 14px;
  transition: transform 0.3s ease; /* Transisi untuk slide up */
}

.top-bar2 .container {
  width: 90%;
  margin: auto;
  display: flex;
  justify-content: space-between;
}

.header2 .navbar2 {
  background: transparent; 
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar2 .container {
  width: 90%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  position: relative;
}

.logo {
  display: flex;
  align-items: center; 
}

.logo img {
  height: 75px; 
  width: auto;
  max-height: 50px; 
  transition: filter 0.3s ease; 
  filter: brightness(1.2); 
}

.nav-links2 {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links2 a {
  text-decoration: none;
  color: #333; 
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links2 a:hover {
  color: #007BFF; 
}

.header2.scrolled {
  background: #fff; 
}

.header2.scrolled .navbar2 {
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2); 
}

.header2.scrolled .logo {
  color: #333; 
}

.header2.scrolled .nav-links2 a {
  color: #333; 
}

.header2.scrolled .nav-links2 a:hover {
  color: #007BFF; 
}

/* Hamburger Menu */
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger-menu span {
  width: 100%;
  height: 3px;
  background-color: #333;
  border-radius: 3px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: #fff;
  box-shadow: -2px 0 10px rgba(0,0,0,0.2);
  transition: right 0.3s ease;
  z-index: 1000;
  overflow-y: auto;
  padding-top: 80px;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 999;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-links li {
  border-bottom: 1px solid #eee;
}

.mobile-nav-links a {
  display: block;
  padding: 15px 20px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  background-color: #f8f9fa;
  color: #007BFF;
}

.mobile-nav-links .btn-login {
  margin: 10px 20px;
  text-align: center;
  display: block;
}

.mobile-user-menu {
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
}

.mobile-user-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
}

/* LOGIN BUTTON */
.btn-login {
  padding: 8px 16px;
  background: #002b6b;
  color: white !important;
  border-radius: 6px;
  transition: 0.3s;
}

.btn-login:hover {
  background: #003b9b;
}

/* User menu dan dropdown */
.user-menu {
  position: relative;
}
.user-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.user-btn:hover {
  color: #007bff;
}
/* Dropdown menu */
.dropdown-menu {
  display: none; /* Sembunyikan default */
  position: absolute;
  top: 100%;
  right: 0;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  min-width: 150px;
  z-index: 1000;
}
.dropdown-menu.show {
  display: block; /* Tampilkan saat class 'show' ada */
}
.dropdown-menu li {
  list-style: none;
}

.dropdown-menu.show {
  display: block; /* Tampilkan saat class 'show' ada */
}
.dropdown-menu li {
  list-style: none;
}
.dropdown-menu a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
  transition: background-color 0.3s;
}
.dropdown-menu a:hover {
  background-color: #f8f9fa;
}

.profile-dropdown {
  width: 230px;
  padding: 15px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Profil header */
.profile-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
}

/* Foto profil */
.profile-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
}

/* Nama */
.profile-text {
  display: flex;
  flex-direction: column;
}

.profile-name {
  font-size: 16px;
  font-weight: 600;
}

/* Email */
.profile-email {
  font-size: 13px;
  color: #666;
  margin-top: 2px;
}


.main-content {
  margin-top: 100px;
}

.about-section {
    padding: 80px 10%;
    background-color: #ffffff;
  }
  
  .about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap; /* responsif */
  }
  
  .about-text {
    flex: 1;
    min-width: 350px;
    color: #333;
    font-family: "Poppins", sans-serif;
  }
  
  .about-text h2 {
    color: red;
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 20px;
  }

  .about-text h2 .judul {
    color: #0056d6;
  }
  
  .about-text p {
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 1rem;
  }
  
  .about-text strong {
    color: #ff0000;
    font-weight: 600;
  }
  
  .about-text strong .paragraph {
    color: #0056d6;
  }
  
  .about-image {
    flex: 1;
    text-align: center;
    min-width: 350px;
  }
  
  .about-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: contain;
  }

  .footer {
    background-color: #052a6e;
    color: #fff;
    padding: 50px 0 20px;
    font-family: "Poppins", sans-serif;
  }
  
  .footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    width: 90%;
    margin: auto;
  }
  
  .footer h3 {
    color: #fff;
    margin-bottom: 15px;
    font-weight: bold;
  }
  
  .footer p {
    margin: 5px 0;
    font-size: 14px;
  }
  
  .footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px; 
  }
  
  .footer-logo {
    width: 180px;
    margin-bottom: 4px;
    filter: brightness(0) invert(1);
  }
  
  .footer-col p {
    margin: 0; 
    line-height: 1.4;
  }
  
  .footer .line {
    width: 60%;
    height: 2px;
    background-color: #2e5aa3;
    margin-bottom: 10px;
  }
  
  .profile-link {
    display: inline-block;
    margin-top: 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
  }
  .profile-link i {
    margin-right: 5px;
  }
  
  .bank-logo {
    width: 100px;
    margin: 10px 0;
  }
  
  .footer-col i {
    margin-right: 8px;
    color: #c9d6ff;
  }
  
  .post-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
  }
  .post-item img {
    width: 60px;
    height: 40px;
    object-fit: cover;
    margin-right: 10px;
    border-radius: 4px;
  }
  .post-item a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
  }
  .post-item a:hover {
    text-decoration: underline;
  }
  
  .counter {
    margin-top: 10px;
  }
  
  .footer-bottom {
    border-top: 1px solid #1a3d80;
    margin-top: 30px;
    padding-top: 15px;
    text-align: center;
    font-size: 13px;
  }
  
  .footer-bottom a {
    color: #c0d9ff;
    text-decoration: none;
  }
  .footer-bottom a:hover {
    text-decoration: underline;
  }

  @media (max-width: 768px) {
    .navbar2 .container .nav-links2 {
      display: none;
    }

    .hamburger-menu {
      display: flex;
    }
  }

  @media (max-width: 900px) {
    .about-container {
      flex-direction: column;
      text-align: center;
    }
  
    .about-text {
      order: 2;
    }
  
    .about-image {
      order: 1;
    }
  
    .about-text h2 {
      font-size: 2rem;
    }
  }
  