body,
html {
   margin: 0 !important;
   padding: 0 !important;
   font-family: 'Segoe UI', sans-serif;
   background-color: white !important;
}

.top-bar {
   background-color: #1f2a44 !important;
   color: white;
   display: flex;
   justify-content: space-between;
   /* align-items: center; */
   padding: 0.5rem 1rem;
   font-size: smaller;
   /* flex-wrap: wrap; */
}

/* MENU ***************************************************/

.navbar {
   box-shadow: none !important;
}



.menu {
   display: flex;
   gap: 20px;
   align-items: center;
}

.menu a {
   text-decoration: none;
   color: #1f2a44;
   font-weight: bold;
   padding: 8px 12px;
   transition: 0.3s ease;
}

.menu a.active,
.menu a:hover,
.dropdown:hover .dropbtn {
   background-color: #bf1717;
   color: white;
   border-radius: 5px;
}

.dropdown {
   position: relative;
}

.dropdown-content {
   display: none;
   position: absolute;
   background-color: white;
   min-width: 160px;
   box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
   z-index: 999;
}

.dropdown-content a {
   color: #1f2a44;
   padding: 10px 14px;
   text-decoration: none;
   display: block;
}

.dropdown-content a:hover {
   background-color: #f2f2f2;
}

.dropdown:hover .dropdown-content {
   display: block;
}

/* Hamburger */
.hamburger {
   display: none;
   font-size: 26px;
   cursor: pointer;
   color: #1f2a44;
}

/* Responsive Styles */
@media (max-width: 768px) {
   .info-section {
      flex-direction: column;
      gap: 10px;
   }

   .navbar-container {
      flex-direction: column;
      align-items: flex-start;
   }

   .menu {
      display: none;
      flex-direction: column;
      width: 100%;
      margin-top: 10px;
   }

   .menu.show {
      display: flex;
   }

   .menu a,
   .dropdown {
      width: 100%;
   }

   .dropdown-content {
      position: static;
      box-shadow: none;
      background-color: #f9f9f9;
   }

   .dropdown:hover .dropdown-content {
      display: none;
   }

   .dropdown.open .dropdown-content {
      display: block;
   }

   .hamburger {
      display: block;
      align-self: flex-end;
   }
}


/* INFO *********************************************************/
.info-section {
   display: flex;
   gap: 40px;
   flex-wrap: wrap;
}

.social-icons {
   display: flex;
   gap: 15px;
}

.social-icons a {
   color: #ff4b2b;
   font-size: 16px;
   text-decoration: none;
   transition: color 0.3s ease;
}

.social-icons a:hover {
   color: #b30000;
}

.navbar {
   background-color: white;
   padding: 10px 20px;
   /* box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); */
   /* position: relative; */
}

.navbar-container {
   display: flex;
   justify-content: space-between;
   align-items: center;
}

.logo img {
   height: 40px;
}

/* Footer **************************************************************************/
.partner-title {
   /* font-size: 20px; */
   color: black;
   padding: 15px 25px;
   margin-left: 0px;
   flex-shrink: 0;
   border-radius: 0px;
   z-index: 1;
   text-align: center;
}

.our-partners {
   max-width: 100%;
   height: 30px;
   background-color: white;
   display: flex;
   overflow: hidden;
   position: relative;
}

.partner-marquee {
   animation: scrollPartners 30s linear infinite;
   /* align-items: center; */
   /* height: 30px; */
   width: max-content;

   position: absolute;
   overflow-x: hidden;
   /* top: 0;
   left: 0; */

}

.partner-marquee img {
   height: 30px;
   display: inline-block;
   vertical-align: middle;
   width: auto;
   margin: 0px 5px;
}

@keyframes scrollPartners {
   0% {
      transform: translateX(0%);
      /* Mula dari luar sebelah kanan */
   }

   100% {
      transform: translateX(-50%);
      /* Tamat di luar sebelah kiri */
   }
}

/* FOOTER ***************************************/

.footer {
   background-color: #333;
   color: white;
   padding: 40px 20px;
   font-family: 'Roboto', sans-serif;
}

/* Custom Footer Container */
.custom-footer {
   display: flex;
   flex-wrap: wrap;
   justify-content: space-between;
   align-items: flex-start;
   margin-bottom: 20px;
}

/* Logo and Social Icons */
.logo-socials {
   flex: 1 1 300px;
   max-width: 300px;
   margin-bottom: 20px;
}

.logo-socials img {
   width: 180px;
   margin-bottom: 20px;
}

.logo-socials p {
   font-size: 1rem;
   line-height: 1.6;
   margin-bottom: 15px;
}

.social-icons a {
   color: #fff;
   font-size: 1.6rem;
   margin-right: 15px;
   text-decoration: none;
   transition: color 0.3s ease;
}

.social-icons a:hover {
   color: #28a745;
   /* Green on hover */
}

/* Column Styling */
.columns1 {
   display: flex;
   justify-content: space-between;
   flex: 2;
   max-width: 800px;
}

.column1 {
   flex: 1 1 200px;
   margin-right: 20px;
}

.column1 h4 {
   font-size: 1.3rem;
   margin-bottom: 10px;
   color: #28a745;
   /* Accent color */
}

.column1 ul {
   list-style: none;
   padding: 0;
}

.column1 ul li {
   margin-bottom: 8px;
}

.column1 ul li a {
   color: white;
   text-decoration: none;
   font-size: 1rem;
   transition: color 0.3s ease;
}

.column1 ul li a:hover {
   color: #28a745;
   /* Green on hover */
}

/* Footer Bottom */
.footer-bottom {
   text-align: center;
   padding: 15px;
   background-color: #BF1717;
   color: #ffffff;
}

.footer-bottom p {
   font-size: 0.9rem;
   margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
   .custom-footer {
      flex-direction: column;
      align-items: center;
      text-align: center;
   }

   .logo-socials {
      max-width: 100%;
   }

   .columns {
      flex-direction: column;
      align-items: center;
   }

   .column {
      margin-right: 0;
      margin-bottom: 20px;
   }

   .footer-bottom {
      font-size: 0.8rem;
   }
}

/***** PAGE *****************************************************************/

.bg-header {
   background-size: cover;
   background-position: center;
   height: 400px;
   color: white;
   display: flex;
   position: relative;
   z-index: 1;
   margin: 0 auto;
   overflow: hidden;
}

.bg-header .container-xl {
   padding-left: 40px;
   padding-right: 40px;
   position: relative;
   z-index: 1;
   text-align: left;

}

#page-header .header-content {
   background-color: rgba(0, 0, 0, 0.5);
   padding: 40px 40px;
   border-radius: 10px;
   max-width: 800px;
   margin-top: 80px;
}

#page-header .header-content h1 {
   /* margin-top: 100px; */
   font-size: 3rem;
   margin-bottom: 20px;
   color: white;
   text-align: left;
}

#page-header .header-content h1 span {
   color: #ff4b2b;
}

#page-header .header-content .description {
   font-size: 1.2rem;
   font-weight: 400;
}

#page-content .title {
   font-size: 2.8rem;
   margin-bottom: 0.3em;
   margin-top: 3rem;
   color: #0a3d62;
   text-align: center;
   position: relative;
   font-weight: 700;
   text-transform: capitalize;
   line-height: 3rem;
}

#page-content .title::after {
   content: '';
   display: block;
   width: 90px;
   height: 5px;
   background: #0a3d62;
   margin: 2rem auto 2rem auto;
   border-radius: 3px;
}

#page .programme-details h3 {
   font-weight: 650;
   margin-bottom: 15px;
   text-align: left;
}

#page .programme-details h3::after {
   content: '';
   display: block;
   width: 100%;
   height: 1px;
   background: #000000;
   margin-top: 10px;
   margin-bottom: 10px;
}

#page .programme-details ul>li {
   text-transform: capitalize;

}

/* #page>.title {
   font-size: 43px;
   text-transform: capitalize;
   color: black;
   font-weight: bold;
   margin-bottom: 20px;
   margin-top: 50px;
   text-align: center;
   font-family: 'Times New Roman', Times, serif;
   margin-bottom: 50px;
} */

/** NEWS & EVENTS *******************************************************/

#news h2,
#events h2 {
   font-size: 24px;
   font-weight: bold;
   color: #9e0e18;
   display: flex;
   justify-content: space-between;
   align-items: center;
   /* border-bottom: 1px solid #ddd; */
   padding-bottom: 10px;
}

#news h2 a,
#events h2 a {
   font-size: 14px;
   color: #f2182a;
   text-decoration: none;
}

.news-item,
.event-item {
   /* margin-top: 20px; */
   display: flex;
   gap: 16px;
   border-top: 1px solid #ddd;
   padding-top: 1rem;
   padding-bottom: 1rem;
}

.news-item img {
   width: 150px;
   height: 100px;
   object-fit: cover;
   border-radius: 4px;
   overflow: hidden;
}

.news-panel .view-more {
   font-size: 12px;
   color: #f2182a;
   text-decoration: none;
   display: inline-block;
   margin-top: 4px;
}

.news-details,
.event-details {
   flex: 1;
}

.news-date,
.event-date {
   font-size: 12px;
   color: #888;
   text-transform: uppercase;
   margin-bottom: 6px;
}

.news-title,
.event-title {
   font-weight: bold;
   color: #333;
   font-size: 14px;
}


.event-date-block {
   width: 60px;
   text-align: center;
   border-right: 2px solid #ffa600;
   padding-right: 10px;
}

.event-date-block .day {
   font-size: 20px;
   font-weight: bold;
   color: #ff9900;
}

.event-date-block .month {
   text-transform: uppercase;
   font-size: 12px;
}

.event-item {
   align-items: flex-start;
}

.event-meta {
   font-size: 13px;
   color: #555;
   margin-top: 5px;
}

.event-meta i {
   margin-right: 5px;
}

.card-img-top {
   height: 150px;
}

#programmes .top-course-title {
   font-size: 43px;
   color: black;
   font-weight: bold;
   margin-bottom: 20px;
   margin-top: 50px;
   text-align: center;
   font-family: 'Times New Roman', Times, serif;
}


#programme_list .card-body {
   text-align: center;
}

#programme_list .card h3 {
   font-size: 18px;
   color: #003366;
   font-weight: bold;
   font-family: "Times New Roman", Times, serif;
}

#programme_list .card {
   min-height: 400px;
   box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.1);
}

#programme_list .card:hover {
   transform: translateY(-10px);
   z-index: 1;
   box-shadow: 0px 7px 25px 1px rgba(0, 0, 0, 0.8);
}

#programme_list .card img {
   margin-bottom: 1rem
}

.certified-logo {
   height: 30px;
   padding: 2px;
}

.hrdcorp-logo {
   height: 100px;
   width: auto;
}