/* ==========================================================================
   HOMEPAGE CUSTOM MODERN STYLING
   Brand Theme: Regal Crimson (#C5221F), Golden Amber (#F59E0B), Imperial Navy (#0B2545)
   ========================================================================== */

/* Announcement / Notice Ticker */
#mu-notice-bar {
  background: #0B2545;
  border-bottom: 2px solid #F59E0B;
  color: #ffffff;
  padding: 8px 0;
  clear: both;
  display: block;
  float: left;
  width: 100%;
  position: relative;
  z-index: 10;
}
.notice-ticker-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}
.notice-ticker-badge {
  background: #C5221F;
  color: #ffffff;
  font-weight: 700;
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}
.notice-ticker-content {
  flex: 1 1 0%;
  min-width: 0;
  width: 100%;
  overflow: hidden;
  font-size: 13.5px;
  line-height: 1.4;
}
.notice-ticker-content marquee {
  display: block;
  width: 100%;
  margin: 0;
  vertical-align: middle;
}
.notice-ticker-content a {
  color: #F59E0B;
  font-weight: 600;
  text-decoration: underline;
  margin-left: 4px;
}
.notice-ticker-content a:hover {
  color: #ffffff;
}
.ticker-sep {
  color: #F59E0B;
  margin: 0 10px;
}

/* Slider Enhancements */
#mu-slider .mu-slider-single .mu-slider-content {
  background: rgba(11, 37, 69, 0.45);
  padding: 0 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.slider-badge {
  display: inline-block;
  background: #F59E0B;
  color: #0B2545;
  font-weight: 700;
  font-size: 13px;
  padding: 4px 14px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}
#mu-slider .mu-slider-single .mu-slider-content h2 {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
#mu-slider .mu-slider-single .mu-slider-content h4 {
  font-size: 20px;
  font-weight: 500;
  color: #ECEC07;
  margin-bottom: 10px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
#mu-slider .mu-slider-single .mu-slider-content p {
  font-size: 15px;
  max-width: 700px;
  margin: 0 auto 20px auto;
  opacity: 0.95;
  text-shadow: 0 1px 3px rgba(0,0,0,0.7);
}
.slider-btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.mu-read-more-btn-alt {
  background-color: transparent !important;
  border: 2px solid #ffffff !important;
  color: #ffffff !important;
}
.mu-read-more-btn-alt:hover {
  background-color: #ffffff !important;
  color: #0B2545 !important;
}

/* 4 Quick Feature Cards Strip */
#mu-features-strip {
  display: block;
  float: left;
  width: 100%;
  clear: both;
  padding: 45px 0 20px 0;
  background: #f8fafc;
  position: relative;
  z-index: 5;
}
.feature-strip-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 26px 18px;
  margin-bottom: 25px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
  height: calc(100% - 25px);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.feature-strip-card:hover {
  transform: translateY(-4px);
  border-color: #C5221F;
  box-shadow: 0 8px 22px rgba(197, 34, 31, 0.1);
}
.f-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fef2f2;
  color: #C5221F;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
  flex-shrink: 0;
  transition: background 0.3s, color 0.3s;
}
.feature-strip-card:hover .f-icon-box {
  background: #C5221F;
  color: #ffffff;
}
.f-text-box {
  width: 100%;
}
.f-text-box h4 {
  margin: 0 0 8px 0;
  font-size: 16.5px;
  font-weight: 700;
  color: #0B2545;
  line-height: 1.35;
}
.f-text-box p {
  margin: 0;
  font-size: 13px;
  color: #64748b;
  line-height: 1.55;
}

/* Welcome Section (#bk_about) */
#bk_about {
  display: block;
  float: left;
  width: 100%;
  clear: both;
  padding: 50px 0;
  background: #ffffff;
}
.home-section-badge {
  display: inline-block;
  background: #e0f2fe;
  color: #0369a1;
  font-weight: 700;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.home-section-title {
  font-size: 28px;
  font-weight: 700;
  color: #0B2545;
  margin-top: 0;
  margin-bottom: 15px;
  line-height: 1.35;
}
.home-section-title span {
  color: #C5221F;
}
.home-about-text {
  font-size: 14.5px;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 15px;
}
.home-about-bullets {
  list-style: none;
  padding-left: 0;
  margin: 20px 0 25px 0;
}
.home-about-bullets li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
}
.home-about-bullets li i {
  position: absolute;
  left: 0;
  top: 2px;
  color: #00a651;
  font-size: 16px;
}
.home-img-showcase {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  border: 5px solid #ffffff;
}
.home-img-showcase img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}
.home-img-showcase:hover img {
  transform: scale(1.02);
}
.home-exp-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: #0B2545;
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 8px;
  border-left: 4px solid #F59E0B;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.home-exp-badge strong {
  font-size: 22px;
  color: #F59E0B;
  display: block;
  line-height: 1;
}
.home-exp-badge span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.9;
}

/* Why Choose Us Pillars Strip */
#mu-pillars {
  display: block;
  float: left;
  width: 100%;
  clear: both;
  padding: 50px 0;
  background: #f1f5f9;
}
.pillar-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 25px 20px;
  text-align: center;
  height: calc(100% - 20px);
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
}
.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  border-color: #0B2545;
}
.pillar-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #eff6ff;
  color: #0369a1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 15px;
}
.pillar-card:hover .pillar-icon-wrap {
  background: #0B2545;
  color: #F59E0B;
}
.pillar-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: #0B2545;
  margin: 0 0 10px 0;
}
.pillar-card p {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Management Speaks (#mu-testimonial) */
#mu-testimonial {
  display: block;
  float: left;
  width: 100%;
  clear: both;
  padding: 55px 0;
  background: #ffffff;
}
.testimonial-card-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-top: 4px solid #C5221F;
  border-radius: 10px;
  padding: 30px;
  margin: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
  position: relative;
}
.quote-icon-top {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 32px;
  color: #e2e8f0;
}
.testimonial-card-item blockquote {
  border-left: none;
  padding: 0;
  margin: 0 0 20px 0;
}
.testimonial-card-item blockquote p {
  font-size: 14.5px;
  line-height: 1.8;
  color: #475569;
  font-style: italic;
}
.leader-profile-row {
  display: flex;
  align-items: center;
  gap: 15px;
  border-top: 1px solid #e2e8f0;
  padding-top: 15px;
}
.leader-avatar-img {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #C5221F;
  background: #fff;
  flex-shrink: 0;
}
.leader-avatar-fallback {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: #0B2545;
  color: #F59E0B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  border: 3px solid #C5221F;
  flex-shrink: 0;
}
.leader-info-details h4 {
  margin: 0 0 3px 0;
  font-size: 17px;
  font-weight: 700;
  color: #0B2545;
}
.leader-info-details span {
  font-size: 13px;
  color: #C5221F;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Recent Activity & News (#mu-from-blog) */
#mu-from-blog {
  display: block;
  float: left;
  width: 100%;
  clear: both;
  padding: 55px 0;
  background: #f8fafc;
}
.news-card-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
  margin-bottom: 25px;
  display: flex;
  flex-direction: column;
  height: calc(100% - 25px);
}
.news-card-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  border-color: #cbd5e1;
}
.news-card-img-wrap {
  height: 200px;
  overflow: hidden;
  position: relative;
  background: #f1f5f9;
}
.news-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.news-card-box:hover .news-card-img-wrap img {
  transform: scale(1.05);
}
.news-card-date {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(11, 37, 69, 0.85);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}
.news-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.news-card-body h4 {
  font-size: 17px;
  font-weight: 700;
  color: #0B2545;
  margin-top: 0;
  margin-bottom: 10px;
  line-height: 1.4;
}
.news-card-body p {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 15px;
}
.news-card-link {
  color: #C5221F;
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.2s;
}
.news-card-link:hover {
  color: #991b1b;
  gap: 8px;
  text-decoration: none;
}

/* View All News CTA button */
.view-all-news-btn {
  display: inline-block;
  background: #0B2545;
  color: #ffffff !important;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 24px;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 15px;
}
.view-all-news-btn:hover {
  background: #C5221F;
  color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  #mu-slider .mu-slider-single .mu-slider-content h2 {
    font-size: 26px;
    line-height: 34px;
  }
  #mu-slider .mu-slider-single .mu-slider-content h4 {
    font-size: 15px;
  }
  .home-section-title {
    font-size: 22px;
  }
  #mu-notice-bar {
    padding: 6px 0;
  }
  .notice-ticker-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    width: 100%;
  }
  .notice-ticker-badge {
    font-size: 11px;
    padding: 3px 8px;
    gap: 4px;
    border-radius: 3px;
    flex-shrink: 0;
  }
  .notice-ticker-content {
    font-size: 12px;
    line-height: 1.3;
    min-width: 0;
  }
  .notice-ticker-content a {
    white-space: nowrap;
  }
  .ticker-sep {
    margin: 0 6px;
  }
}

@media (max-width: 480px) {
  #mu-notice-bar {
    padding: 5px 0;
  }
  .notice-ticker-wrapper {
    gap: 6px;
  }
  .notice-ticker-badge {
    font-size: 10px;
    padding: 2px 6px;
    letter-spacing: 0;
  }
  .notice-ticker-badge i {
    font-size: 9px;
  }
  .notice-ticker-content {
    font-size: 11px;
  }
}
