/* ============================================================
   GOLD LI — Mobile Responsive Stylesheet
   Breakpoints: 991px (tablet), 768px (small tablet), 576px (phone)
   ============================================================ */

/* ── Tablet (≤991px) ── */
@media (max-width: 991.98px) {

  /* Header / Nav */
  header { height: auto; }
  header .container { height: auto; }
  .header_logo img { width: 90px; }
  header .navbar .dropdown-menu {
    display: block !important;
    float: none !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding-left: 25px !important;
    margin-top: 0 !important;
    margin-bottom: 15px !important;
  }
  header .navbar .dropdown-toggle::after {
    display: none !important;
  }
  header .navbar .nav-item {
    width: 100% !important;
  }

  /* Hero Slider */
  .owl-carousel.home-slider .slider-item {
    min-height: 400px;
    height: 50vh !important;
  }
  .owl-carousel.home-slider .slider-item .slider-text {
    min-height: 400px;
    height: 50vh !important;
  }
  .owl-carousel.home-slider .slider-item .slider-text h1 {
    font-size: 28px;
  }
  .inner-page .slider-item {
    min-height: 250px !important;
  }
  .inner-page .slider-item h1 {
    font-size: 26px !important;
    margin-top: 60px !important;
  }

  /* Home Page */
  .home-title { font-size: 1.8rem !important; }
  .home-desc { font-size: 15px; }
  .home-section-title { font-size: 22px; }
  .home-section-subtitle { font-size: 15px; }
  .vm-card { padding: 25px 20px; }

  /* Project Cards */
  .project-card-wrapper { margin-bottom: 20px; }
  .project-card img { height: 180px; }

  /* Award Carousel */
  .award-card img { height: 160px; }

  /* About Page */
  .about-section-title { font-size: 22px; }
  .about-intro-card { padding: 30px 25px; }

  /* Timeline */
  .timeline-meta-year { font-size: 26px !important; }

  /* Corporate Structure */
  .org-box { width: 220px; font-size: 13px; padding: 10px 15px; }
  .org-box.light { width: 180px; }
  .org-children { max-width: 380px; }
  .org-line-horizontal { max-width: 250px; }
  .sub-header-text { font-size: 18px; }

  /* BOD Cards */
  .bod-card { padding: 12px 15px; }

  /* Contact Page */
  .contact-card { margin-bottom: 15px; }

  /* Corporate Governance */
  .policy-card { padding: 20px 15px; }

  /* Investor Centre */
  .ic-tab-link { font-size: 15px !important; padding: 10px 18px !important; }

  /* Career */
  .career-card { padding: 30px 25px; }

  /* Footer */
  .site-footer { padding-top: 50px !important; padding-bottom: 30px !important; }
  .footer-column { text-align: center; margin-bottom: 40px; }
  .footer-column:last-child { margin-bottom: 0; }
  .footer-logo-wrap { flex-direction: column; justify-content: center; margin-bottom: 25px !important; }
  .footer-logo { margin-right: 0 !important; margin-bottom: 15px !important; margin-top: 0 !important; max-width: 80px; }
  .footer-company-name { margin-top: 0 !important; text-align: center; font-size: 18px; }
  .footer-description { max-width: 320px; margin: 0 auto; line-height: 1.6; }
  .footer-heading { margin-bottom: 25px !important; padding-left: 0 !important; }
  .footer-heading::after { content: ""; display: block; width: 30px; height: 2px; background: #4a7dff; margin: 10px auto 0; }
  .footer-link { padding-left: 0 !important; }
  .footer-link li { display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; margin-bottom: 25px !important; }
  .footer-contact-icon { margin-right: 0 !important; margin-bottom: 10px !important; }
  .footer-contact-text { text-align: center !important; display: block !important; }
  .footer-social { justify-content: center !important; margin-top: 10px; }
  .footer-bottom { padding: 30px 0 !important; margin-top: 20px; }
  .copyright-text { font-size: 12px; line-height: 1.8; opacity: 0.8; }
}

/* ── Small Tablet / Large Phone (≤768px) ── */
@media (max-width: 768px) {

  /* Hero Slider */
  .owl-carousel.home-slider .slider-item {
    min-height: 300px;
    height: 40vh !important;
  }
  .owl-carousel.home-slider .slider-item .slider-text {
    min-height: 300px;
    height: 40vh !important;
  }
  .owl-carousel.home-slider .slider-item .slider-text h1 {
    font-size: 24px;
  }
  .owl-carousel.home-slider .owl-dots {
    bottom: 30px;
  }
  .inner-page .slider-item {
    min-height: 200px !important;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }
  .inner-page .slider-item h1 {
    font-size: 22px !important;
    margin-top: 50px !important;
  }

  /* Home Page */
  .home-title { font-size: 1.5rem !important; }
  .home-desc { font-size: 14px; }
  .home-section-title { font-size: 20px; margin-bottom: 10px; }
  .home-section-subtitle { font-size: 14px; margin-bottom: 30px; }

  /* Vision & Mission Cards */
  .vm-card { padding: 20px 15px; margin-bottom: 15px; }
  .vm-icon { font-size: 34px; }
  .vm-title { font-size: 17px; }
  .vm-list li { font-size: 14px; margin-bottom: 10px; }

  /* Project Cards */
  .project-card img { height: 200px; }
  .project-title { font-size: 14px; padding: 12px; }

  /* About Page */
  .about-section-title { font-size: 20px; }
  .about-intro-card { padding: 25px 20px; }
  .about-content-text { font-size: 15px !important; }

  /* Milestone Section Title */
  .milestone-header { font-size: 20px !important; }

  /* Timeline — Already has mobile rules in about.php, reinforce here */
  .timeline::after { left: 30px; }
  .timeline-progress { left: 30px !important; margin-left: 0 !important; }
  .timeline-item {
    width: 100% !important;
    left: 0 !important;
    padding: 20px 20px 20px 70px !important;
    text-align: left !important;
  }
  .timeline-item.left,
  .timeline-item.right {
    transform: translateX(0) !important;
  }
  .timeline-item.left::after,
  .timeline-item.right::after {
    left: 20px !important;
    right: auto !important;
    top: 25px;
  }
  .timeline-meta-year {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    text-align: left !important;
    margin-bottom: 5px;
    color: #1f306e;
    font-size: 24px !important;
  }
  .timeline-item.left .timeline-meta-year,
  .timeline-item.right .timeline-meta-year {
    width: auto !important;
  }
  .timeline-content {
    border-left: 4px solid #1f306e !important;
    border-right: none !important;
  }
  .timeline-text { font-size: 14px !important; }

  /* Corporate Structure */
  .sub-header-container { margin-bottom: 20px; }
  .sub-header-circle { width: 36px; height: 36px; font-size: 16px; }
  .sub-header-text { font-size: 16px; }
  .org-box { width: 180px; font-size: 12px; padding: 10px 12px; }
  .org-box.light { width: 150px; }
  .org-children { max-width: 320px; }
  .org-line-horizontal { max-width: 200px; }
  .org-percent { font-size: 10px !important; }

  /* BOD Cards */
  .bod-name { font-size: 14px; }
  .bod-title { font-size: 13px; }

  /* Certification Cards */
  .cert-card { padding: 25px 15px; }
  .cert-card img { max-height: 70px; }
  .cert-card p { font-size: 15px; }

  /* Contact Page */
  .contact-card { padding: 15px; margin-top: 15px; }
  .contact-title { font-size: 16px; }
  .contact-text { font-size: 14px; }

  /* Corporate Governance */
  .cg-section-title { font-size: 20px; margin-top: 40px; }
  .policy-card { padding: 20px 12px; margin-bottom: 15px; }
  .policy-icon { font-size: 35px; }
  .policy-name { font-size: 15px !important; }
  .policy-hint { font-size: 11px !important; }

  /* Investor Centre */
  .ic-tab-link {
    font-size: 14px !important;
    padding: 8px 14px !important;
  }

  /* Career */
  .career-card { padding: 25px 20px; }

  /* Awards */
  .award-card img { height: 150px; }
  .award-card-body { padding: 15px; }
  .award-card-body h4 { font-size: 14px; }
  .award-card-body p { font-size: 13px; }

  /* Button */
  .btn-home, .btn-explore {
    padding: 10px 22px !important;
    font-size: 14px !important;
  }

  /* Footer - Styles consolidated in 991px block */

  /* Taman Project Detail Pages */
  .project_detail { margin-bottom: 15px; }
  .project_detail .label { font-size: 15px; }
  .project_detail p { font-size: 14px; }
  .numbering_btn { padding: 8px 18px; font-size: 14px; }

  /* Gallery Grid */
  .grid_box { padding: 0; }
  .grid-item,
  .grid-item-width,
  .grid-item-width-half {
    width: 100% !important;
  }
  .collection-icon img { width: 100%; height: auto; }
}

/* ── Phone (≤576px) ── */
@media (max-width: 576px) {

  /* Hero Slider */
  .owl-carousel.home-slider .slider-item {
    min-height: 250px;
    height: 35vh !important;
  }
  .owl-carousel.home-slider .slider-item .slider-text {
    min-height: 250px;
    height: 35vh !important;
  }
  .owl-carousel.home-slider .slider-item .slider-text h1 {
    font-size: 20px;
  }
  .inner-page .slider-item {
    min-height: 160px !important;
  }
  .inner-page .slider-item h1 {
    font-size: 18px !important;
    margin-top: 40px !important;
  }

  /* Home */
  .home-title { font-size: 1.3rem !important; }
  .section-padding { padding: 30px 0; }

  /* Vision & Mission */
  .vm-card { padding: 18px 15px; }
  .vm-icon { font-size: 30px; margin-bottom: 10px; }
  .vm-title { font-size: 16px; margin-bottom: 12px; }

  /* Project Cards */
  .project-card img { height: 180px; }
  .project-card-wrapper { margin-bottom: 15px; }

  /* About Intro */
  .about-intro-card { padding: 20px 15px; }
  .about-content-text { font-size: 14px !important; line-height: 1.6 !important; }

  /* Section Titles */
  .home-section-title,
  .about-section-title,
  .cg-section-title,
  .milestone-header { font-size: 18px !important; }

  /* Timeline */
  .timeline { margin: 20px auto; }
  .timeline::after { left: 20px; }
  .timeline-progress { left: 20px !important; }
  .timeline-item {
    padding: 15px 15px 15px 55px !important;
  }
  .timeline-item.left::after,
  .timeline-item.right::after {
    left: 12px !important;
    width: 16px;
    height: 16px;
  }
  .timeline-meta-year { font-size: 20px !important; }
  .timeline-content { padding: 14px 16px !important; }
  .timeline-text { font-size: 13px !important; line-height: 1.6 !important; }

  /* Corporate Structure */
  .org-box { width: 160px; font-size: 11px; padding: 8px 10px; }
  .org-box.light { width: 130px; }
  .org-children { max-width: 280px; }
  .org-line-horizontal { max-width: 170px; }

  /* Contact Page */
  .contact-icon { font-size: 24px; margin-bottom: 12px; }
  .contact-title { font-size: 15px; }
  .contact-text { font-size: 13px; }

  /* Corporate Governance */
  .policy-card { margin-bottom: 12px; }
  .policy-icon { font-size: 30px; margin-bottom: 10px; }

  /* Investor Centre */
  .ic-tab-link {
    font-size: 13px !important;
    padding: 6px 12px !important;
  }

  /* Footer - Styles consolidated in 991px block */

  /* General Spacing */
  .section { padding-top: 35px; padding-bottom: 35px; }

  /* Map */
  .contact-map iframe {
    height: 250px !important;
  }
}

/* ── Extra Small (≤400px) ── */
@media (max-width: 400px) {
  .home-title { font-size: 1.1rem !important; }
  .owl-carousel.home-slider .slider-item {
    height: 30vh !important;
    min-height: 200px;
  }
  .owl-carousel.home-slider .slider-item .slider-text {
    height: 30vh !important;
    min-height: 200px;
  }
  .org-box { width: 130px; font-size: 10px; }
  .org-box.light { width: 110px; }
  .org-children { max-width: 240px; }
  .org-line-horizontal { max-width: 140px; }
  .timeline-item {
    padding: 12px 10px 12px 45px !important;
  }
  .timeline::after { left: 15px; }
  .timeline-progress { left: 15px !important; }
  .timeline-item.left::after,
  .timeline-item.right::after {
    left: 7px !important;
    width: 14px;
    height: 14px;
  }
}
