
/* ============================================
   RESPONSIVE BREAKPOINT: 1024px and below
   Converts horizontal scroll to vertical flow
============================================ */

@media screen and (max-width: 1024px) {

    .hero-video-investment1,.video-overlay1234{display:none !important;}

    .dashboard-container, .about-title-share,.flext-right-content-en, 
body[dir="rtl"] .flext-right-content-ar{position:relative !important;}
    .about-title-share{margin-bottom:25px;}
    /* Reset body and html for vertical scrolling */
.text-new{padding-top:30px !important;}
p{hyphens: auto; /* Adds hyphens to break long words */
  overflow-wrap: break-word;}

 .financial-helights1 {
    background: url(../images/financial-statement.png)bottom fixed no-repeat;
    background-size: cover;
    margin-top: 0;
    position:relative;
} 
.stc-fab-details1{margin:50px 0;}
.exec-summary-text p{padding-top:30px !important;}

.about-title1,.about-title, .text-white1, .coral-text, .font-small {
    font-size: 30px !important;
    margin: 0;
    padding:0px;
}
.risk-page2 video{display:none;}
.stc-text-group{padding: 0 0 0 20px;}
.esg-margin{margin:0 !important;}

.page-wrapper{padding:0 40px !important;}
.top-content-text .about-title {
    color: #fff;
    padding: 30px 0 10px 0;
    font-size: 34px;
    margin: 0;
}

 .shareholder-page1 {
    padding: 2%;
    background: url(../images/share-holder-ar.jpg) 13% fixed no-repeat !important;
    background-size: cover !important;
    width: 120vw;
    position: relative;
}
body[dir="rtl"] .reach_bg {
    background: #4f008c url(../images/reach2-ar.jpg) 5% fixed no-repeat;
    background-size: ;
    position: relative;
    z-index: 1;
}

.business-model_bg {
    background: #4f008c url(../images/business-modal-ar.jpg) 26% fixed no-repeat !important;
    background-size: cover !important;
    position: relative;
    z-index: 1;
}
.video-walk{
    bottom: 0;
    height: 394px;
margin-left:5%;
    max-width:100%;

}
.our-journey-bg {
    background: url(../images/our-journey1.jpg) center center no-repeat fixed !important;
}


    html, body {
        overflow-x: hidden !important;
        overflow-y: auto !important;
        height: auto !important;
        width: 100% !important;
        position: relative;
        padding:0 !important
    }
.stat-card{margin:0 !important; justify-content: left;}
.stc-purple-mobile{color:#4f008c;}
.lt-card-image{height:auto !important;}
.lt-card{max-width: 100%; width:300px;}
.shareholder-page1 {
    padding: 2%;
    background: url(../images/share-holder.jpg) 80% 40% no-repeat;
}
.exec-cell{padding:0;}
#home{background:url("../images/cover-pic1.jpg")38% 35% no-repeat; background-size:cover;}
.awards-stack{width:95vw;}

        .stc-panel-bg {top:0 !important;}

.section-panel{padding:0 !important;}
  /* Background should scroll naturally */
    .bg-manager {
        position: absolute;
        height: 100%;

    }
.nav-header{display:none;}
    /* Make top navigation sticky */
    .nav-header {
        position: sticky;
        top: 0;
        margin-top: 0;
        padding: 16px 20px;
        background: rgba(10, 0, 26, 0.95);
        backdrop-filter: blur(10px);
        z-index: 1000;
    }

    /* Horizontal scroll tabs */
    .title-nav {
        display: flex;
        gap: 18px;
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: none;
    }

    .title-nav::-webkit-scrollbar {
        display: none;
    }

    .nav-btn {
        font-size: 14px;
        padding-bottom: 6px;
    }

    /* Disable horizontal slider */
    .master-slider {
        display: block;
        width: 100%;
        height: auto;
        transform: none !important;
    }

    /* Stack sections vertically */
    .section-panel {
        width: 100%;
        height: auto;
        grid-template-columns: 1fr;
        padding: 120px 20px 60px;
        gap: 30px;
    }

    /* Headings resize */
    .panel-heading h1 {
        font-size: 3.8rem;
        line-height: 1;
    }

    .panel-heading h2 {
        font-size: 2.2rem;
        margin-top: -18px;
    }

    /* Links container fix */
    .links-container {
        max-height: none;
        min-width: 100%;
        padding-right: 0;
    }

    /* Doc cards touch-friendly */
    .doc-card {
        padding: 16px 18px;
        border-radius: 14px;
    }

    .doc-card:hover {
        transform: none;
        box-shadow: none;
    }

    .download-icon {
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
    }


.aboutus-bgs{background:none !important;}
.kfi-stat-box{align-items: center; justify-content: center;}
.kfi-container{padding:0 !important;}


















    .stc-full-text{line-height:130% !important;}
    .stc-panel-body{padding:0 10px;}
    .stay-text{padding:0;}
    .width-1200{width:100% !important;}
    
    /* Hide horizontal scroll container behavior */
    .horizontal-scroll-container {
        display: block !important;
        flex-direction: column !important;
        overflow-x: hidden !important;
        overflow-y: visible !important;
        height: auto !important;
        width: 100% !important;
        scroll-behavior: auto;
    }
    
    /* Convert sections to vertical stacking */
    .horizontal-scroll-container > section {
        min-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-height: 100vh;
        flex-shrink: 0;
        display: block;
        position: relative;
        overflow: visible;
        scroll-snap-align: none;
    }
    
    /* Content pages become vertical blocks */
    .content-page,
    .content-page-year-review,
    .content-page-journey-text,
    .content-page-nobg,
    .content-page_journey-white {
        min-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-height: 100vh;
        padding: 80px 5% 50px !important;
        display: block;
        scroll-snap-align: none;
    }
    
    /* Section content containers */
    .section-content {
        flex-direction: column !important;
        overflow-x: hidden !important;
        overflow-y: visible !important;
        scroll-snap-type: none;
        height: auto !important;
        width: 100% !important;
    }
    
    /* Hide progress indicator on mobile */
    .progress-indicator {
        display: none !important;
    }
    .burger{top:6px;}
    
    /* Adjust header for mobile */
    header {
        padding: 15px 20px !important;
        background-color:#4f008c;
        box-shadow:2px 2px 10px #2f0550;
    }
    .button-container{margin-right:80px;}
    .download-btn {

        font-size: 14px !important;
        background-color:none; background:none;

    }
    .download-btn i{font-size:20px; }
    .download-btn:hover{color:#ff375e;}
    
    /* Adjust hero section */
    .hero-copy h1 {
        font-size: 36px !important;
    }
    
    .lead {
        font-size: 24px !important;
        line-height: 1.4 !important;
        width: 100% !important;
    }
    
    .hero-card {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Two column layouts become single column */
    .two-columns {
        flex-direction: column !important;
        gap: 30px !important;
    }
    
    .about-us-img {
        height: auto !important;
        max-height: 300px !important;
        width: 100% !important;
    }
    

    .stack-header h1 {
    writing-mode: horizontal-tb;
    transform: rotate(0deg);
    font-size: clamp(2rem, 5vh, 4rem);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 10px;
    font-size:30px;
}

    /* Timeline adjustments */
    .timeline {
        white-space: normal !important;
        padding: 20px !important;
    }
    
    .timeline ol {
        overflow-x: auto !important;
        padding: 150px 0 !important;
    }
    
    /* Counter section */
    .counter-section {
        flex-direction: column !important;
        gap: 20px !important;
        padding: 20px !important;
    }
    
    .counter-box {
        min-width: 100% !important;
    }
    
    /* Financial charts */
    .charts-row {
        flex-direction: column !important;
        gap: 30px !important;
    }
    
    .chart-column {
        width: 100% !important;
    }
    
    /* Operational highlights grid */
    .op-grid {
        grid-template-columns: 1fr !important;
        max-width: 100% !important;
    }
    
    /* Leadership cards */
    .leadership-cards {
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .card {
        max-width: 100% !important;
        margin-bottom: 30px !important;
    }
    
    /* Year review container */
    .year-review-container {
        flex-direction: column !important;
        height: auto !important;
    }
    
.stc-ir-main-wrapper{flex-direction: column !important; width:100% !important}

.stc-ir-viewport{padding:0 20px !important; width:100% !important;}
.stc-ir-month-heading{margin-bottom:25px !important;}
.stc-ir-entry-title{line-height:160%;}

    .vertical-nav,
    .stc-ir-navigation-pane {
       
        padding: 40px 20px !important;
        border-right: none !important;
        border-bottom: 1px solid #e9ecef;
    }
    
    .content-display {
        padding: 40px 20px !important;
    }
    
    /* Journey section adjustments */
   
    
    .roadmap-track {
        flex-direction: column !important;
        height: auto !important;
        min-height: auto !important;
        padding: 50px 20px !important;
        align-items: center !important;
    }
    
    .milestone-node {
        width: 100% !important;
        margin: 40px 0 !important;
        transform: none !important;
        flex-direction: column !important;
    }
    
    .milestone-node:nth-child(even),
    .milestone-node:nth-child(odd) {
        transform: none !important;
        flex-direction: column !important;
    }
    
    .content-card {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Snake path hiding */
    .snake-svg,
    .path-guide,
    .path-draw,
    .snake-head {
        display: none !important;
    }
    
    /* About us container */
    .about-us-container {
        flex-direction: column !important;
        padding:0px !important;
    }
    
    .aboutus-left,
    .aboutus-right {
        width: 100% !important;
        margin: 0 !important;
        padding: 0px !important;
    }
    
    /* Stats container grid */
    .stats-container {
        grid-template-columns: 1fr !important;
        max-width: 100% !important;
    }
.section1{opacity: 1 !important;}
    .stat-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    padding:15px 0;
}
.vision-mission-bg{background:none;}
.year-in-reivew-text1{width:100%;}


.year-in-reivew-text1 {
    background-color: #ffffffcc;
    color: #4f008c;
    width: 100%;
    margin-left: 0%;
    padding: 10px;
    margin-top: 40px;
    border-radius: 0;
border-left:0; border-right:0;
}

.stats-container{box-shadow:none; border:0; padding:0px; margin:0px; background:none;}
.about-right{background:none; padding:0px; margin:0px; border:0; box-shadow:none; width:100%;}
    
    /* Box content */
    .box-content {
        flex-direction: column !important;
    }
    
    .box-content-left,
    .box-content-right {
        width: 100% !important;
        margin: 10px 0 !important;
    }
    
    /* Values grid */
    .stc-val-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* KPI stats layout */
    .kfi-stats-layout {
        grid-template-columns: 1fr !important;
    }
    
    /* GM highlights */
    .gm-stats-container {
        flex-direction: column !important;
        height: auto !important;
        align-items: stretch !important;
        gap: 20px !important;
    }
    
    .gm-bar {
        height: 80px !important;
        width: 100% !important;
        border-radius: 8px !important;
    }
    
    /* ESG grid */
    .esg-grid {
        flex-direction: column !important;
        gap: 60px !important;
    }
    
    .esg-item {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    
    .esg-left {
        margin-right: 0 !important;
     
        flex-direction: row !important;
        align-items: center !important;
        gap: 20px;
        width: 100%;
    }
    
    .esg-divider {
        width: 100% !important;
        height: 2px !important;
        margin: 5px 0 !important;
    }
    
    /* Timeline section */
    .stc-main-container {
        grid-template-columns: 1fr !important;
        width: 100% !important;
        height: auto !important;
        margin-top: 0 !important;
    }
    
  .leadership-viewport {
    width: 100%;
    height: auto;
    padding: 20px 0;
    overflow: visible;
    justify-content: flex-start;
  }




    .stc-col {
        padding:0px 20px !important;
        align-items: left !important;
        text-align: left !important;
    }
    .stc-main-container.is-active .stc-snake-path{display:none;}

    .svg-icon{margin-right:20px;}
    .panel-header h3{color:#fff !important;}
    .panel.active h3{color:#ff375e !important;}
        .panel.active img.svg-icon{filter:none !important;}
        .leadership-stage{  flex-direction: column;
    width: 100%;
    height: auto;
    gap: 30px;}
    .panel.active .panel-header{opacity:1 !important; display:none;}

    .stc-main-viewport{flex-direction: column !important; width:100% !important; height:100% !important;}
    .stc-fab-details{position: relative;
        margin: 0 auto;
        display: block;
        width: 80%; margin-top:60px;}
    .stc-identity-col{width:100%; padding:20px;}
    .stc-strategy-grid{padding:0 10px;}
    .stc-strategy-container p{padding:5px !important;}
    
    .page-wrapper{margin-top:0px !important; height:100% !important;}
    .stc-timeline-section{height:100% !important;}
    .content-page_journey-white p{width:100%; padding-left:20px !important;}
    .stc-svg-overlay{position:relative; display:none;}
    .stc-col{display:block;}
    .content-page_journey-white h1{padding-left:20px !important}
    .stc-year-box{margin-bottom:20px;}
    .exec-summary-text, .reach-container{display:block !important}
    .stc-node-point {
        display: none !important;
    }
    .top-content-text, .accordion-wrapper{width:100% !important;}

   
    .stc-dashboard-area{padding:0px !important;}
    .stc-shift-grid{grid-template-columns:1fr;}
    .stc-shift-banner{padding:15px !important;}
    
    /* Leadership panels */
    .leadership-container {
        flex-direction: column !important;
        height: auto !important;
    }
    
    .persona-panel {
        height: 50vh !important;
        min-height: 400px;
    }
    
    /* Executive frames */
    .leadership-stage {
        flex-direction: column !important;
        height: auto !important;
        gap: 30px !important;
    }
    
    .exec-frame {
flex: none !important;
    width: 100%;
    height: auto;
    padding: 25px 20px;
    background: var(--stc-purple);
    cursor: default;
    }
    .info-canvas{position: relative;}
    /* Executive model */
    .exec-model-slide {
        flex-direction: column !important;
        height: auto !important;
        width: 100% !important;
        margin: 20px 0 !important;
        padding: 20px !important;
    }
    
    .exec-grid {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
    }
    
    .exec-grid::before,
    .exec-grid::after {
        display: none !important;
    }
    
    /* Reach container */
    .reach-container {
        flex-direction: column !important;
    }
    
    .strategy-column {
        margin-bottom: 20px !important;
    }
    .action-anchor{display:none;}
    
    /* ESG matrix */
   
   
    /* Business review panels */
    .stc-main-container1 {
        flex-direction: column !important;
        height: 100% !important;
        margin-top: 0 !important;
    }

    .stc-main-container{height:100% !important}
    
    .stc-panel {
        height: 60vh !important;
        min-height: 400px;
        border-right: none !important;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    
    /* Download center */
    .master-slider {
        flex-direction: column !important;
        width: 100% !important;
        height: auto !important;
    }
    
       .master-slider  .section-panel {
        width: 80% !important;
        height: 300px !important;
        gap: 40px;
        border: 1px solid #fff;
        border-radius: 10px;
        margin: 10%;
        display: flex;
        justify-content: center;
        align-items: center;

    }
    
    .links-container {
        min-width: 100% !important;
    }
    
    .panel-heading h1 {
      font-size: 3rem !important;
        padding-bottom: 20px;
    }
    
    .panel-heading h2 {
        font-size: 2rem !important;
        margin-top: -20px !important;
        line-height: 2.5rem !important;
    }
    
    /* Modal adjustments */
    .modal {
        width: 95% !important;
        max-height: 90vh !important;
    }
    
    .modal-content {
        flex-direction: column !important;
    }
    
    .modal-image {
        min-height: 200px !important;
    }
    
    /* Video modal */
    .video-modal {
        width: 95% !important;
    }
    
    .video-placeholder {
        height: 250px !important;
    }
    
    /* Hide horizontal specific elements */
    .cursor,
    .cursor2,
    .scroll-hint {
        display: none !important;
    }
    
    /* Font size adjustments */

    
    .section-title {
        font-size: 1.5rem !important;
    }
    
    h1.ml8 {
        font-size: 1.5em !important;
    }
    
   
.charts-row{border-radius:0;}
    .gm-bar {padding:15px 0;}
    .gm-lab {font-size:18px;}
    
    /* Padding adjustments */
    .pd-4 {
        padding: 0 5% !important;
    }
    
    .pd-space-2 {
        padding: 3% 4% !important;
    }
    
    /* Team members grid */
    .lt-team-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Text containers */
    .text-container {
        flex-direction: column !important;
        gap: 30px !important;
        text-align: left !important;
    }
    
    .column-text {
        max-width: 100% !important;
    }
    
    /* Image adjustments */
    .our-brand {
        max-width: 100% !important;
    }
    
    .about-bg-img {
        background-position: center !important;
        background:none;
    }

     .award-list-item h3 {
        transform: none !important;
        position: static !important;
        margin: 0 !important;
        font-size:12px !important;
        color: var(--purple);
        padding-right: 30px; /* Space for the arrow */
        flex: 1;
        padding:20px 15px;
    }
}

/* Additional mobile optimizations for smaller screens */
@media screen and (max-width:1024px) {
    /* Further reduce font sizes */
  [dir="rtl"] .panel-header{flex-direction: row !important; justify-content: right;}
  [dir="rtl"] .panel-header h3{margin-right:15px !important;}
      [dir="rtl"] .ld-btn{letter-spacing: normal !important;}
    [dir="rtl"]  .kfi-metric-label{font-size:13px !important;}
    [dir="rtl"] .ld-media{filter:grayscale(0) !important;}
      [dir="rtl"]   .stc-full-text {
     
        text-align: justify;
        padding: 0 0px 0 30px;
        line-height: 170% !important;
    }
   [dir="rtl"]  #sustainability_review h1.text-white,   [dir="rtl"]  #sustainability_review p.text-white{padding:20px !important;}
   body[dir="rtl"] .stc-action-bar1 {
    display: flex;
    align-items: center;
    margin-right: 5% !important;
}



    .hero-copy h1 {
        font-size: 28px !important;
    }
    
    .lead {
        font-size: 20px !important;
    }
    
    /* Reduce padding further */
    .content-page,
    .content-page-year-review,
    .content-page-journey-text,
    .content-page-nobg,
    .content-page_journey-white {
        padding: 10px !important;
    }
    
    /* Stack stats vertically */
    .stats-container {
        gap: 0px !important;
        padding: 0px !important;
    }
    
    /* Adjust button sizes */
    .btn,
    .download-btn {

        font-size: 14px !important;
    }
    
    /* Timeline mobile optimization */
    .timeline ol li div {
        width: 250px !important;
        left: -80px !important;
    }
    
    /* Counter values */
    .counter-value {
        font-size: 36px !important;
    }
    
    /* Chart containers */
    .chart-screen {
        flex-direction: column !important;
        padding: 15px !important;
        border-right: 10px solid #ff375e !important;
    }
    
    /* Leadership cards on very small screens */
    .card-content h3 {
        font-size: 1.3rem !important;
        min-height: auto !important;
    }
    
    /* Hide some decorative elements completely */
   /*  .hero-video,
    .hero-video1,
    .hero-video2,
    .video-overlay,
    #nodes-canvas,
    #particle-canvas {
        display: none !important;
    } */
.annual-report-text,  body[dir="rtl"] .annual-report-text {
  
        bottom: 30% !important;
        text-shadow:3px 0px 12px #000;

    }
    .veloview-trigger {
    position: relative;
    width: 320px;
    height: 205px;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
   margin-top:130% !important;

    border: 2px solid #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.scene {margin-top:55% !important;}
.hero-copy {margin-top:28% !important; width: 100% !important; z-index:1;}
.hero, body[dir="rtl"] .hero{padding: 0px !important;
        margin: 0 auto;
        justify-content: center;}
.eyebrow {margin-left:10%;}
.hero-video {top:0% !important;}

    /* Simplify complex animations */
    .float-img,
    .ml2 .letter,
    .ml12 .letter,
    .ml8 .letters,
    .ml15 .word,
    .bg,
    .bg2,
    .bg3 {
        animation: none !important;
    }
    
    /* Remove complex hover effects */
    .card:hover,
    .stat-box:hover,
    .op-chart-item:hover,
    .persona-panel:hover,
    .exec-frame:hover,
    .stc-panel:hover,
    .doc-card:hover,
    .stc-pill-card:hover {
        transform: none !important;
    }
}

.exec-img {
    filter: grayscale(0);
  }

  /* --- Hide collapsed meta (not needed on mobile) --- */
  .initial-meta {
    display: none;
  }

  /* --- Info Canvas becomes normal content --- */
  .info-canvas {
    position: static;
    width: 100%;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    margin-top: 25px;
    text-align: center;
  }

  .role-label {
    text-align: center;
  }

  .exec-full-name {
    font-size: 1.6rem !important;
    text-align: center;
  }

  .full-text {
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: left;
  }

  .view-btn {
    display: block;
    margin: 20px auto 0;
  }
  .card-box {
    width: 100%;
    max-width: 280px;
    height: 380px;
    margin: 0 auto;
    transform: none !important;
  }

.exec-frame:hover {
    flex: none;
    background: var(--stc-purple);
  }

/* Fix for iOS Safari */
@supports (-webkit-touch-callout: none) {
    @media screen and (max-width: 1024px) {
        .horizontal-scroll-container,
        .section-content {
            -webkit-overflow-scrolling: touch;
        }
        
        .content-page,
        .content-page-year-review,
        .content-page-journey-text {
            min-height: -webkit-fill-available;
        }
    }
}

/* Fix for viewport units on mobile */
@media screen and (max-width: 1024px) {
    .content-page,
    .content-page-year-review,
    .content-page-journey-text,
    .content-page-nobg {
        min-height: calc(var(--vh, 1vh) * 100);
        padding:40px 10px !important
    }

    .video-img{height:100%;}
}

/* JavaScript helper class */
.no-horizontal-scroll {
    overflow-x: hidden !important;
}

.vertical-flow {
    display: block !important;
    flex-direction: column !important;
    overflow-x: hidden !important;
}

@media (max-width: 480px) {

  .card-box {
    height: 320px;
  }

  .exec-full-name {
    font-size: 1.4rem !important;
  }

  .full-text {
    font-size: 0.9rem;
  }
}

/* Mobile Optimization */


/* ===========================
   MOBILE COLLAPSIBLE MODE
=========================== */
@media (max-width: 1024px) {
.item-accent{display:none;}

.top-content-text{margin-top:100%;}

    .award-list-item{padding:10px !important; }
   .award-list-item img{ margin-bottom:30px;}

    .viewport-wrapper{width:100%; margin:0; padding:0;}
.financial-helights3 {
        /* Heavier white cover for mobile */
        background: linear-gradient(
            rgba(255, 255, 255, 0.80), 
            rgba(255, 255, 255, 0.80)
        ), 
        url(../images/sustainbility2.jpg) no-repeat center center;
        padding: 60px 5%; /* Give the text more breathing room */
        background-size:cover;
    }
    
    .financial-helights3 h2, 
    .financial-helights3 p {
        display: block !important; /* Forces visibility if hidden by other styles */
        color: #000; /* Use black text for maximum contrast on mobile */
    }
    .stc-inner-container {
    max-width: 1100px;
    margin: 0 auto;
    padding:80px 20px;
    position: relative;
}
  /* Hide overlay completely */

  /* Turn modal sheet into collapsible block */
  .stc-modal-sheet {
    position: static !important;
    width: 100%;
    transform: none !important;
    border-radius: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s ease;
    box-shadow: none;
  }

  /* OPEN STATE (JS will toggle this) */
  .stc-modal-sheet.mobile-open {
    max-height: 3000px; /* large safe value */
    visibility: visible;
  }

  /* Hide close (X) icon */


  /* Stack content vertically */
  .brand-layout {
    flex-direction: column;
  }

  .brand-layout img {
    width: 100%;
    max-width:100%;
  }
}



/* --- UNIVERSAL RESET FOR MOBILE --- */
@media (max-width:1024px) {
    /* Force the main wrapper to be a vertical scroll container */
    .content-page_journey-white {
        min-width: 100% !important; 
        width: 100vw !important;
        height: auto !important;
        overflow-y: auto !important; /* Enable vertical scroll */
        overflow-x: hidden !important; /* Kill horizontal scroll */
        display: block !important;
        position: relative !important;
    }

    /* Reset the container from horizontal snake to vertical list */
    .stc-main-container {
        display: flex !important;
        flex-direction: column !important; /* Stack vertically */
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding-top: 20px !important;
        grid-template-columns: none !important; /* Kill the 6 columns */
    }

    /* Hide the SVG snake path - it's impossible to align on mobile */
    .stc-svg-overlay {
        display: none !important;
    }

    /* Align columns vertically and remove the padding that pushes text off-screen */
    .stc-col, .stc-col-reverse {
        display: flex !important;
        flex-direction: column !important; /* Ensure chronological order */
        width: 100% !important;
        padding: 0px 20px 0px 60px !important; /* Left padding for dots */
        height: auto !important;
        box-sizing: border-box !important;
    }

    /* Force visibility of all year groups */
    .stc-year-group {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        margin-bottom: 0px !important;
        width: 100% !important;
        display: block !important;
    }


    /* Adjust the dots to stay on the left side of the vertical line */
    .stc-node-point {
        left: -35px !important;
        top: 10px !important;
        position: absolute !important;
    }

    /* Fix the header and description paragraph */
    .content-page_journey-white h1, 
    .content-page_journey-white p {
        width: 100% !important;
        max-width: 90% !important;
        padding-left: 20px !important;
        height: auto !important;
    }

    /* Create a vertical line to replace the snake path */
    .stc-main-container::before {
        content: '';
        position: absolute;
        left: 33px; /* Aligns under the dots */
        top: 0;
        bottom: 0;
        width: 2px;
        background: rgba(255, 255, 255, 0.2);
    }

    /* Fix the timeline section height */
    .stc-timeline-section {
        height: auto !important;
        display: block !important;
    }
}

/* --- Keep your existing desktop styles below this --- */




@media (max-width: 1024px) {

    /* Reset container and hide labels that don't fit the vertical flow */

    .esg-main-container {

        margin-left: 0;

        padding: 10px;

    }



    .esg-matrix-wrapper {

        display: grid;

        grid-template-columns: 1fr; /* Force one single column */

        width: 100%;

        gap: 12px;

    }



    .esg-side-label, .esg-matrix-wrapper > div:first-child {

        display: none !important; /* Hide the empty div and Pillar/Theme/Objective labels */

    }

   body[dir="rtl"] .stc-text-group {
        padding: 0 20px 0 0px !important;
    }

    /* --- GROUP 1: ENVIRONMENT --- */

    .esg-env-h { grid-row: 1; }

    .esg-env-cell:nth-of-type(1) { grid-row: 2 !important; }

    .esg-env-cell:nth-of-type(2) { grid-row: 6 !important;;}

    .esg-env-cell:nth-of-type(3) { grid-row: 10 !important; }



    /* --- GROUP 2: SOCIAL --- */

    .esg-soc-h { grid-row: 5; margin-top: 20px; }

    .esg-soc-cell:nth-of-type(1) { grid-row: 3 !important; }

    .esg-soc-cell:nth-of-type(2) { grid-row: 7 !important; }

    .esg-soc-cell:nth-of-type(3) { grid-row: 11 !important; }



    /* --- GROUP 3: GOVERNANCE --- */

    .esg-gov-h { grid-row: 9; margin-top: 20px; }

    .esg-gov-cell:nth-of-type(1) { grid-row: 4 !important; }

    .esg-gov-cell:nth-of-type(2) { grid-row: 8 !important; }

    .esg-gov-cell:nth-of-type(3) { grid-row: 12 !important; }



    /* Final Card Adjustments */

    .esg-card {

        height: auto;

        min-height: 70px;

        opacity: 1 !important; /* Force visibility */

        transform: none !important;

        margin-bottom: 0;

    }

    

    .esg-col-header {

        height: auto;

        padding: 0px;

    }



    .esg-col-header span {

        font-size: 2.5rem;

    }

} 

/* ==========================================================================
   MOBILE VIEW: FORCE CONTENT VISIBILITY & REMOVE HOVER
   ========================================================================== */

@media (max-width:1024px) {
    .mt-20 {
    margin-top: 2%;
}

    .lt-card-name {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #222;
    margin-top: 10px;
}
    .stc-main-container1 {
        flex-direction: column; /* Stack panels vertically */
        height: auto;           /* Allow container to grow with content */
        margin-top: 0;          /* Reset top margin for better mobile spacing */
    }

    .stc-panel {
        flex: none;             /* Disable flex-grow */
        width: 100%;
        height: 400px;          /* Give each panel a fixed height on mobile */
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .stc-panel:hover {
        flex: none;             /* Disable the "expansion" effect */
    }

    /* Force Background to be visible and colored */
    .stc-panel-bg {
        top: 0;                 /* Reset alignment */
        filter: brightness(0.5) grayscale(0); /* Remove grayscale */
    }

    /* Force Content Body to be visible */
    .stc-panel-body {
        transform: translateY(0); /* Move content up into view */
        padding: 20px;
        bottom: 20px;
        pointer-events: auto;     /* Enable buttons */
    }

    /* Force Text and Buttons to be visible */
    .stc-full-text {
        opacity: 1;
        transform: translateY(0);
        margin-bottom: 20px;
        font-size: 0.95rem;
        color:#fff;
    }

    .stc-btn {
        opacity: 1;
        transform: translateY(0);
        padding: 12px 30px;      /* Slightly smaller buttons for mobile */
    }

    .stc-panel h2 {
        font-size: 24px;         /* Smaller headings for mobile screens */
        margin-bottom: 15px;
    }

    .stay-text {
        padding-left: 20px;      /* Adjust padding for smaller screens */
    }
}

@media (max-width:1024px) {
    .esg-bg {
        /* This creates a 70% opaque purple layer over the image */
        background: linear-gradient(rgba(79, 0, 140, 0.7), rgba(79, 0, 140, 0.7)), 
                    url(../images/sustain-bg.jpg) top right no-repeat !important;
        
        background-size: cover !important; /* 'cover' prevents stretching compared to 100% 100% */
        padding: 40px 20px !important;    /* Adjusted padding for mobile readability */
        min-width: 100vw;                 /* Standardized for mobile width */
        display: block;                   /* Ensures it stacks correctly in your vertical mobile layout */
    }
}


@media (max-width: 1024px) {
    .accordion-wrapper {
        flex-direction: column; /* Stack vertically */
        height: auto; 
        min-height: 100vh;
    }

    .panel {
        flex: none !important; /* Disable the flex animation from desktop */
        width: 100%;
        height: 100px; /* Height when closed */
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
    }

    /* When active, expand height to show content */
    .panel.active {
        height: auto; 
        min-height: 400px;
        background: var(--stc-light) !important;
    }

    .panel-header {
        position: relative; /* Remove absolute positioning so it stays at the top */
        width: 100%;
        height: 70px;
        opacity: 1 !important; /* Always show the header on mobile */
        pointer-events: auto !important;
        display: flex;
        justify-content: flex-start;
        padding: 20px;
    }

    .panel-header h3 {
        transform: rotate(0deg); /* Make text horizontal */
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .panel.active .panel-header h3 {
        color: #333; /* Darken text when background turns light */
    }

    .panel-content {
        transform: translateY(10px);
        padding: 20px;
        visibility: visible; /* Prepare for display */
    }
    
    /* Hide the header icon or resize it for mobile row */
    .svg-icon {
        width: 30px;
        margin-right: 15px;
    }

    .annual-report-text {
    color: #fff !important;
    font-size: 60px !important;
    position: absolute;
    right: 33%;
    top: auto;
    line-height: 25px;
    bottom: 0%;
}


body[dir="rtl"] .esg-bg {
    background: #4f008c url(../images/sustain-bg-ar.jpg) top fixed no-repeat !important;
    background-size: cover !important;
}




}

@media (max-width: 600px) {
    .veloview-stage {
        width: 100%; /* Fill the entire width */
        max-width: none;
        padding: 0 10px; /* Optional: tiny bit of breathing room on the edges */
    }
    
    video {
        border-radius: 0; /* Removing radius looks better on full-width mobile */
        box-shadow: none; /* Shadow isn't visible on black background anyway */
    }

    .veloview-close {
        top: -45px; /* Move close button slightly so it's easier to tap */
        right: 15px;
        font-size: 1.8rem;
    }
}

@media (max-width: 850px) {
    .stc-nav-link {
        font-size: 18px !important;
    }
}