/* ================= MEGA MENU ================= */

.mega-menu {
  left: 0;
  right: 0;
  top: 100%;
  border-radius: 0 0 20px 20px;
  background: #ffffff;
  margin-top: 0;
  padding: 0;
}

.mega-menu.show {
  display: block;
}

.mega-menu .row.flex-nowrap {
  display: flex;
  align-items: stretch;
}

.nav-item.dropdown.position-static {
  position: static;
}

.mega-sidebar-col {
  background: #eef2ff;
  border-radius: 12px;
  padding: 16px;
  width: 280px;
  min-width: 280px;
}

.mega-sidebar-label {
  font-size: 12px;
  font-weight: 700;
  color: #111;
  margin-bottom: 16px;
}

.mega-sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}

.mega-item {
  padding: 16px 18px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: transparent;
  display: flex;
  flex-direction: column;
  height: 100px;   
  box-shadow: none;
}

.mega-item:active, .mega-item:hover {
  background: #ffffff;
}

.mega-item.active {
  background: #ffffff;
}

.mega-item h6 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  color: #222;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mega-item h6::after {
  content: "›";
  font-size: 18px;
  font-weight: 400;
  color: #aaa;
}

.mega-item p {
  font-size: 13px;
  color: #666;
  margin: 0;
  line-height: 1.4;
}

.mega-item.active h6 {
  color: #2d56c8;
}

.mega-item.active h6::after {
  color: #2d56c8;
}

.mega-item.active p {
  color: #555;
}

.mega-content {
  display: none;
  animation: fadeIn 0.2s ease-in-out;
}

.mega-content.active {
  display: block;
}

.mega-section-title {
  font-size: 13px;
  font-weight: 700;
  color: #111;
  margin-bottom: 24px;
}

.mega-content .row {
  align-items: stretch;
}

.mega-content .row > div {
  display: flex;
  align-items: stretch;
  margin-bottom: 16px;
}

.mega-link {
  display: flex;
  flex-direction: column;
  padding: 12px 14px;
  border-radius: 8px;
  text-decoration: none;
  color: #222;
  transition: all 0.2s ease;
  width: 100%;
  min-height: 90px;    /* ← samakan tinggi minimum */
}

.mega-link strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 4px;
  line-height: 1.3;
}

.mega-link:hover .small {
  color: #888;
}

.mega-link:hover strong {
  color: #1a1a2e;
}

.mega-link:hover {
  background: #eef2ff;
  text-decoration: none;
  color: #222;
}

.mega-link.active {
  background: #eef2ff;
}

.mega-link.active strong {
  color: #2d56c8;
}

.mega-divider {
  width: 1px;
  background: #ffffff;
  margin: 0 16px;
  align-self: stretch;
}

/* Modul aktif hanya saat dropdown terbuka */
.nav-item.dropdown .nav-link.dropdown-toggle.show {
  color: #2d56c8 !important;
  font-weight: 600 !important;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

body {
  overflow-x: hidden;
}

/* ================= SOLUTIONS GRID FINAL ================= */
.indusrty-grid-section {
  background: linear-gradient(to bottom, #f9fafb, #ffffff);
  padding-top: 100px;
}

/* CONTAINER */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 120px 40px;
}

/* GRID */
.indusrty-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

/* ================= CARD ================= */
.indusrty-card {
  display: flex;
  flex-direction: column;
  height: 100%;

  text-decoration: none;

  border-radius: 22px;
  overflow: hidden;

  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);

  transition: all 0.3s ease;
}

/* HOVER (CLEAN, NO TOSKA) */
.indusrty-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  border-color: #2748a44d;
}

/* ================= IMAGE ================= */
.indusrty-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;

  /* 🔥 biar radius atas ikut */
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
}

.indusrty-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;

  transition: transform 0.5s ease;
}

/* HOVER IMAGE */
.indusrty-card:hover .indusrty-card-image img {
  transform: scale(1.06);
}

/* ================= BODY ================= */
.indusrty-card-body {
  padding: 24px;
  flex-grow: 1;

  /* 🔥 biar bawah ikut rounded */
  border-bottom-left-radius: 22px;
  border-bottom-right-radius: 22px;
}

/* TITLE */
.indusrty-card-body h3 {
  font-size: 22px;
  font-weight: 700;
  color: #2b2b2b;
  margin-bottom: 10px;
  line-height: 1.4;
}

/* TEXT */
.indusrty-card-body p {
  font-size: 15px;
  color: #6b7280;
  line-height: 1.7;
  margin: 0;
}

/* ================= RESPONSIVE ================= */

/* Tablet */
@media (max-width: 1024px) {
  .container {
    padding: 100px 35px;
  }

  .indusrty-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .container {
    padding: 100px 30px;
  }

  .indusrty-grid {
    grid-template-columns: 1fr;
  }

  .indusrty-card-body h3 {
    font-size: 20px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .container {
    padding: 100px 25px;
  }

  .indusrty-card-body {
    padding: 20px;
  }

  .indusrty-card-body h3 {
    font-size: 18px;
  }

  .indusrty-card-body p {
    font-size: 14px;
  }
}