.breakdance .bde-heading-972-101 {
    text-align: left;
    margin-bottom: 12px;
}

.color-blue-header {
    color: #1d6ab1
}

.breakdance .bde-text-972-102 {
    width: 460px;
    color: var(--bde-body-text-color);
    margin-bottom: 80px;
}

.breakdance .bde-heading-972-106 {
    font-size: var(--preset-id-cdcc53f2-2711-4316-bfaf-155464004fd4-font-size);
    font-family: var(--preset-id-cdcc53f2-2711-4316-bfaf-155464004fd4-font-family);
    text-transform: var(--preset-id-cdcc53f2-2711-4316-bfaf-155464004fd4-text-transform);
}
.breakdance .bde-tabs-972-103 {
    display: flex
;
    flex-direction: row;
    gap: var(--bde-tabs-space-after, 24px);
    align-items: flex-start;
}
.bde-tabs__tabslist-container.is-vertical {
    flex-shrink: 0;
}
.bde-tabs__tabslist-container.is-vertical .bde-tabs__tabslist {
    flex-direction: column;
    gap: 8px;
}

.bde-header {
    text-align: left;
    color: #1d6ab1;
}

/* capaian mpku */
/* Center the menu and add spacing between items */
#menu-1193 {
  display: flex !important;
  justify-content: center !important; /* centers the whole menu horizontally */
  align-items: center !important; /* centers vertically */
  gap: 1.5rem !important; /* space between items; adjust as needed */
  list-style: none !important;
  padding: 0 !important;
  margin: 0 auto !important; /* ensure centered alignment */
}

/* Optional: adjust button spacing or text alignment */
#menu-1193 li .bde-button__button {
  display: inline-block !important;
  text-align: center !important;
}

/* For Perniagaan Page Styling */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.octo-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin: 40px 0;
}

.octo-column {
  flex: 1;
  min-width: 300px;
  background: white;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.octo-heading {
  font-size: 15px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  font-weight: bold;
}

.octo-rich-text ol {
  padding-left: 20px;
  list-style-type: decimal;
}

.octo-rich-text li {
  margin-bottom: 8px;
  margin-left: 20px;
  text-align: left;
}

.octo-rich-text p {
  margin-bottom: 15px;
  font-style: italic;
  color: #555;
}

.department-comments {
  margin-top: 50px;
  padding: 30px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.department-title {
  font-weight: bold;
  font-size: 1.2rem;
  margin: 30px 0 15px;
  color: #2c3e50;
}

@media (max-width: 768px) {
  .bde-columns {
    flex-direction: column;
  }

  .text-lg {
    font-size: 2rem;
  }
}

/* For Perniagaan Page Styling */

.tabs {
    display: flex;
    justify-content: center;
    margin: 30px auto;
    flex-wrap: nowrap;
}

.tab {
    padding: 12px 24px;
    background-color: #ffff;
    border: solid 1px #e5e7eb;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 350;
    transition: all 0.3s ease;
    color: black;
}

.tab:hover {
    background-color: #d5dbdb;
    color: #3b82f6;
}

.tab.active {
    background-color: #ffff;
    border-bottom: solid 2px #3b82f6;
    color: #3b82f6;
}

.table-container {
    overflow-x: auto;
    margin-bottom: 30px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border: 1px solid #ddd;
}

th {
    background-color: #f2f2f2;
    font-weight: 600;
    color: #2c3e50;
}

tr:hover {
    background-color: #f9f9f9;
}

.footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eaeaea;
    color: #7f8c8d;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab {
        width: 80%;
        margin-bottom: 10px;
    }
    
    th, td {
        padding: 8px 10px;
    }
}

/* sumber organic shape mask */

/* Custom CSS to apply the SVG mask */
.organic-mask-container {
    /* Set a background color/image for the content that will be masked */
    /* If you don't set a background, the grid content will just be clipped */
    
    /* This applies the mask defined by the SVG's ID */
    mask-image: url('https://mpkulai.gov.my/wp-content/plugins/breakdance/subplugins/breakdance-elements/elements/image/masks/blob.svg');
    -webkit-mask-image: url('https://mpkulai.gov.my/wp-content/plugins/breakdance/subplugins/breakdance-elements/elements/image/masks/blob.svg'); /* Safari compatibility */
    
    /* Ensure the mask covers the entire container */
    mask-size: contain;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-position: center;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.accordion.active .accordion-content {
    max-height: 1000px;
    transition: max-height 0.5s ease-in;
}
.accordion.active .accordion-icon {
    transform: rotate(180deg);
}

#breakdance-popup-2267 {
  background: rgba(0, 0, 0, 0.85); /* darker backdrop */
  backdrop-filter: blur(6px);      /* soft blur effect */
  align-items: center;             /* center vertically */
  justify-content: center;         /* center horizontally */
}

#breakdance-popup-2267 .breakdance-popup-content {
  background-color: #fff;
  border-radius: 20px;
  padding: 2rem;
  max-width: 600px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.3);
}