/* ------------------------------------------------------------------------------------------------------------- */
html{
    /* font-size: calc(14px + (26 - 14) * ((100vw - 300px) / (1600 - 300)));
    font-size: calc(5px + (17 - 5) * ((100vw - 300px) / (1600 - 300))); */
    font-size: calc(14px + (26 - 14) * ((100vw - 300px) / (1600 - 300)));
  }
  
/* ------------------------------------------------------------------------------------------------------------- */
.ind4{
    height: 100%;
    line-height: 1.5;
    color: #f4f1f1;
    display:grid;
    gap:0.3vh;
    grid-template-columns: repeat(5,1fr);
    overflow-y: auto;
}
.header {
    grid-column: 1 / 7;
    border: 2px solid rgba(255, 255, 255, 0.245);
    border: 2px solid rgba(255, 166, 0, 0.34);
    background-color: rgba(0, 0, 0, 0.189);
    min-height: 10vh;
    display:flex;
    flex-direction: row;
    padding: 1cqh 1cqw;
    align-items: center;
    justify-content: center;
}
.header0 .head-upper p,
.header1 .head-upper p,
.header2 .head-upper p,
.header3 .head-upper p
{
    text-align: center;
    font-size: 0.6rem;
    margin-right: 1cqw;
    color:rgba(248, 240, 240, 1);
}
.header0 .head-lower p,
.header1 .head-lower p,
.header2 .head-lower p,
.header3 .head-lower p
{
    text-align: center;
    color:orange;
    font-size:0.6rem;
    font-weight: 600;
    margin: 0;
}
/* ------------------------------------------------------------------------------------------------------------------------------- */

.accordion-container {
    grid-column: 3 / 6;
    border: 2px solid rgba(255, 255, 255, 0.245);
    display: flex;
    flex-direction:column;
    flex-wrap:nowrap;
    /* padding: 0.8cqh 0.8cqw; */
    padding: 0.8vh;
    align-items: start;
    align-items: stretch;
    justify-content: start;
    background-color: rgba(0, 0, 0, 0.189);
    color:rgb(246, 242, 242);
    overflow: auto;
}
.accordion-header {
    display:flex;
    padding-bottom: 1vh;
}
.accordion-read-more-btn-container{
    display:flex;
    margin-top: 1vh;
}
.accordion-content {
    padding-top:0.4vh;
    padding-bottom: 0.4vh;
    display: flex;
    flex-direction: column;
    overflow: auto;
}
.non-accordion-content {
    padding:1vh 5vh 1vh 5vh;
    display: flex;
    flex-direction: column;
    overflow: auto;
    text-align: justify;
}
.accordion-title {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: #f5c978; 
    text-align: center;
    background-color: rgba(0, 0, 0, 0.189);
    border-radius: 8px;
    position: sticky;
    top:0;
    width:100%;
}
.accordion-item {
    flex:3;
    background-color: rgba(0, 0, 0, 0.189);
    padding: 0.8vh;
    border-radius: 8px;
    font-size: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: left;
    text-align: center;
    position: relative; 
    margin-left: 2vw;
    width: fit-content;
}
.accordion-item:hover,
.accordion-item.active {
    flex: 1;
    background: rgba(245, 201, 120, 0.3);
    color: white;
    padding: 1vh;
    font-size: 0.6rem;
    /* padding-right: 5%;  */
    transition: all 0.3s ease-in-out;
}
.accordion-item:hover::after,
.accordion-item.active::after {
    visibility: visible;
    opacity: 1;
    transform: translateX(0%);
    transition: opacity 0.3s ease-in-out, left 0.3s ease-in-out;
}
.accordion-item::after{
    content: attr(data-tooltip);
    position:absolute;
    background: rgba(2, 4, 97, 0.2);
    position:absolute;
    color: #f5c978; 
    font-size: 0.5rem;
    font-style: italic;
    border-radius: 5px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    padding: 1vh;
    box-shadow: 0px 0px 2px 2px rgba(115, 133, 250, 1);
    transition: opacity 0.3s ease-in-out, transform 0.2s ease-in-out;
    z-index: 1000;
    left: calc(100% + 10px);
    transform: translateX(-50%);
}
.read-more-btn {
    padding: 0.2vh;
    position: relative;
    font-size: 0.6rem;
    font-weight: 400;
    color: orange;
    background-color: rgb(194, 220, 241, 0.2);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    width:100%;
    z-index: 10;
}
.read-more-btn:hover {
    background-color: rgb(231, 169, 53, 0.2);
    color: white;
    font-size: 0.7rem;
    font-weight: 500;

}
/* ------------------------------------------------------------------------------------------------------------------------------- */
.ind4-general-left{
    grid-column: 1 / 3;
    display:flex;
    flex-direction: column;
    padding: 1cqh 1cqw;
    align-items: start;
    align-items: stretch;
    border: 2px solid rgba(255, 255, 255, 0.245);
    background-color: rgba(0, 0, 0, 0.5);
    max-height: 50vh;
}

.ind4-general-left img {
    width: 100%;
    height: 100%;
    object-fit: contain;  
    flex: 1; 
}

.ind4-general-left img:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease-in-out;
}
/* ------------------------------------------------------------------------------------------------------------------------------- */
.scroller-ind4{
    grid-column: 1 / 3;
    max-height: 40vh;
    min-height: 35vh;
    border:2px solid rgba(255, 166, 0, 0.34);
}
.scroller-ind4-inner{
    display:flex;
    flex-wrap: nowrap;
    box-sizing: border-box;
    border: 2px solid rgba(255, 255, 255, 0.245);
    align-items: center;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.189);
    gap:1rem;

    width:100%;
    height: 100%;
    padding-inline: 0;
    overflow-x: hidden;
    justify-content: space-evenly;
}
.scroller-ind4-inner img {
    background-color: #333;
    background-color: rgb(145, 134, 134, 0.3);
    border-radius: 0.5rem;
    height:90%;
    color:aliceblue;}
.scroller-ind4[data-animated="true"]{
    overflow: hidden;
    -webkit-mask:
    linear-gradient(90deg, 
    transparent, white 20%, white 80%, transparent);
    mask:
    linear-gradient(90deg, 
    transparent, white 20%, white 80%, transparent);
  
    /* border: 3px solid rgba(1, 5, 19, 0.6); */
    border: 2px solid rgba(255, 255, 255, 0.245);

}
/* animation: scroll 20s linear infinite; */
.scroller-ind4[data-animated="true"] .scroller-ind4-inner{
    width: max-content;
    /* flex-wrap: nowrap; */
    animation: scroll
                        var(--_animation-duration, 35s)
                        var(--_animation-direction, forwards)
    linear infinite;
    /* animation-play-state: running; */
}

.scroller-ind4-inner:hover {
background: rgba(255, 166, 0, 0.24) !important;
animation-play-state: paused !important;
}

.scroller-ind4[data-direction = "right"]{
    --_animation-direction: reverse;
}
.scroller-ind4[data-direction = "left"]{
    --_animation-direction: forwards;
}

@keyframes scroll{
    to {
        transform: translate(calc(-50% - 0.2rem));
    }
}
/* ------------------------------------------------------------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------------------------------------------------------------- */
.modal {
    display: none; /* shown via JS */
    position: fixed;
    top: 0;  left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.1);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transform: scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  .modal.show {
    display: flex;
    opacity: 1;
    transform: scale(1);
  }
  
  .modal-content {
    display: flex;
    flex-direction: column;
    resize:both;
    max-width: 90vw;
    max-height: 90vh;
    min-width: 300px;
    min-height: 200px;
    background: #111;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(154, 95, 250, 0.8);

  }
  
  .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.2vh 0.3vw;
    background: #222;
    font-size: 0.4rem;
    color: white;
    flex-shrink: 0;
}

.close-btn {
    font-size: 0.6rem;
    cursor: pointer;
    /* padding: 4px 8px; */
    padding: 0.2vh 0.3vw;
    border-radius: 4px;
    transition: background 0.2s;
  }
  
  .close-btn:hover {
    background: rgba(255, 0, 0, 0.6);
  }
  
  /* The video resizes to fit available space while preserving aspect ratio */
   #videoPlayer {
    flex-grow: 1;
    width: 100%;
    height: auto;
    max-height: calc(90vh - 50px); 
    background: black;
    object-fit: contain; 
    /* object-fit: fill;  */
    /* object-fit: cover;  */
  }
  
  .resize-handle {
    height: 10px;
    background: #444;
    cursor: row-resize;
    flex-shrink: 0;
  }
/* ------------------------------------------------------------------------------------------------------------------------------- */
/* @media(max-width: 760px){
    .ind4{
        grid-template-columns: 1fr;
    }
} */
/* ------------------------------------------------------------------------------------------------------------------------------- */
/* @media (max-width: 760px) {
    .ind4-general-left,
    .accordion-container {
        padding: 2vh 2vw;
        grid-column: 1 / -1;
    }
} */
/* ------------------------------------------------------------------------------------------------------------------------------- */
.overlapping-image {
    position: absolute;
    height: 30vh;
    z-index: 999;
    visibility: hidden; 
    border: 10px solid rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    top:42%;
    left:40%;    
}
/* ------------------------------------------------------------------------------------------------------------------------------- */
