@media (max-width: 991px) {
    .header-main-wrapper {
        flex-direction: column;
        padding-top: 15vh;
    }
    .header-main-wrapper-right {
    width: 100%;
    height: 100%;

}
.main-logo {
    width:100%;
 
}
.typing-text {
    font-size: 24px;
       margin-top: 10vh;
}
.main-contact-info {
    width:100%;
}
    .header-mobile {
        position: fixed;
        top: 0;
        width: 100vw;
        height: 10vh;
        background-color: #143c5a0c;
        backdrop-filter: blur(10px);
        z-index: 20;
       direction: rtl;
      
    }
    body{
        overflow:hidden;
       
    }
    .header-logo {
        margin: 0;
        position: relative;
        text-align: left;
        width:auto;
        float: left;
       
    display: unset;
    }
    .hidden-mobile {
        display: none;
    }
    .header-logo-image {
        position: fixed;
        height: 100%;
        float: right;
        margin: 0;
        top: 0;
        left: 0;
        left: 0px;
        object-fit: scale-down;
        display: unset;
   
    }

.sector-column:hover {
    width: 50%;
    height: unset;
}

    .sidebar-button {
        display: flex;
      justify-content: center;
        width: fit-content;
        height: 10vh;
        font-size: 5vh;
        right: 0px;
        padding-top: 2.5vh;
        padding-right: 2.5vh;
        color: #143c5a;
        text-align: center;
        cursor: pointer;
        z-index: 7;
        animation: sidebarButton 0.5s 0.5s forwards;
        
    }

    @keyframes sidebarButton {
        0% {
            left: -10px;
        }
        100% {
            left: 16px;
        }
    }
    .sidebar-button:hover+.sidebar{
        width: 70vw;
   
     
    }
   
    .sidebar-button:hover+.sidebar span {
        display: unset;
    }
    .exist {
        font-weight: bolder;
    }

    .main-logo-container {
        top: 30vh;
    }
    .main-logo{
        max-width: 100vw;
        margin-bottom: 0;
    }
    .loader-logo{
        object-fit: scale-down;
    }
    .animated-background{
    
        animation: none;
    }
    .main-page-vision{
        display: unset;
    }
    .main-page-vision span{
display: unset;
    }
    .cta-button {
        display: grid;
        grid-template-columns: 20% 80%;
        min-height: 40px;
        min-width: 200px;
        width: auto;
        text-align: right;
        margin-top: 20%;
        font-size: 18px;
        white-space: nowrap;
    }

    .contact-us-icon {
        all: unset;
        margin-right: auto;
        margin-top: auto;
        margin-bottom: auto;
      
    }

    .contact-us-text {

        padding: 10px;
      
    }

    .sidebar {
        all:unset;
        height: 100vh;
        /* Changed from 100vw to 100vh for full viewport height */
        width: 0px;
        position: fixed;
        z-index: 20;
        top: 0;
        right: 0;
        background: linear-gradient(to top, #eefaff, rgb(194, 207, 215));
       
        transition: width 0.1s ease;
        direction: rtl;
        animation: sidebarEntry 1s 2s linear;
        backdrop-filter: blur(10px);
        box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.594);
        display: flex;
        flex-direction: column;
        z-index: 100;
        width: 0;
        min-width: none;
     

    }
    .sidebar:hover {
        width: 70vw;
    }
 .loader-logo{
    width:80vw;
    

}

    @keyframes sidebarEntry {
        0% {
            width: 60px;
            height: 0vh;
        }

        80% {
            height: 100vh;
            width: 60px;
        }

        100% {
            width: 0;

        }

    }

   

    .sidebar span {
        font-size: 14px;
        /* Smaller font size for the span on mobile */
        opacity: 1;
        /* Always visible on mobile for better UX */
        color: var(--primary-color);
         stroke: white;
        text-shadow: 0px 0px 5px white;
    }

    .sidebar i {
        font-size: 18px;
        /* Smaller icon size for mobile screens */
    }

    .values-title {
        margin-top: 16px;
    }

    .mission-description {
        margin-top: 40px;
    }

    .vision-column {
        width: 100%;
    }

    .main-page-main {
        display: unset;
        margin-top: 60vh;
        line-height: 48px;
        font-size: 20px;
        animation: showAbout 1s linear;
    }

    .about-container-image {
        display: block;
        width: 100vw;
    }

    .audience {
        display: flex;
        width: 50%;
        height: 20px;
        padding-top: 10px;
        text-align: right;
    }

    #about-content {
        max-width: 100%;
        min-width: 100%;
        padding-inline: 5%;
        text-align: justify;
        font-size: 18px;
        margin-top: -20px;
    }

    .hero-subtitle {
        max-width: 100%;
        text-align: center;
        margin-top: 15px;
        font-size: 14px;
        font-weight: bolder;
    }

    .news-title {
        font-size: 40px;
    }

    .browse-all-btn {
        padding: 10px 10px;
        font-size: 14px;
        margin-left: 16px;
    }

    .news-content {
        max-width: 100%;
        padding: 0 20px;
    }

    .news-section {
        max-width: 100%;
        height: min-content;
        max-height: fit-content;
        min-height: unset;
        flex: 1;
        padding-bottom: auto;
    }
    .section{
        overflow: unset;
        min-height: fit-content;
        max-height: fit-content;
        
    }
    section{
        transform: none;
    }
   
    .scroll-indicator {
        margin-top: 40px;
    }

    .cta-button {
        padding: 0 20px;
    }


    .logo-container {
        margin-top: 40px;
    }

    .nav-menu {
        flex-wrap: wrap;
    }

    .contact-btn {
        padding: 0 20px;
    }

    .nav-links {
        margin-top: 40px;
        flex-wrap: wrap;
    }

    .navigation {
        max-width: 100%;
        padding: 0 20px;
    }

    .header-wrapper {
        max-width: 100%;
        padding-top: 10vh;
    }

    .main-content {
        max-width: 100%;
    
    }

    .news-title-text {
        font-size: 40px;
    }

    .news-grid {
        max-width: 100%;
        margin-top: 5vh;
        padding: unset;
    }

    .news-row {
        all: unset;
        display: flex;
        flex-direction: row;
        gap: 0px;
        margin-right: 0;
        margin: 0;
        overflow-x: scroll;
        min-width: 100%;
        max-width: 100%;
        min-height: fit-content;
        margin-left: 0;
        padding: 0;
        flex: 1;
    }

    .news-column {
        flex: 1;
        min-width: 95vw;
        max-width: 95vw;
        margin-inline-end: 0;
        background-color: unset;
        padding: 0;
       
    }

    .news-card {
        max-width: 100%;
        padding: 0 20px;
    }

    .title-icon {

        width: 10px;
        margin-right: 5px;
    }

    .competitions-title-text {
        font-size: 40px;
        margin: 0;
        gap: 0px;
    }

    .competitions-title {
        font-size: 40px;
        white-space: initial;
    }

    .competitions-header {
        max-width: 100vw;
        min-width: 100vw;
        flex-wrap: wrap;
        margin-left: 0;
        margin-right: 0;
    }

    .competitions-content {
        max-width: 100%;
        padding: 0 20px;
    }

    .competitions-section {
        max-width: 100%;
    }

    .news-divider {
        max-width: 100%;
    }

    .news-card-title {
        max-width: 100%;
        margin-top: 40px;
        font-size: 18px;
        font-weight: bold;
        text-align: justify;
  overflow: hidden;              /* Hide the overflow content */
  display: -webkit-box;          /* Use Flexbox for webkit browsers */
  -webkit-line-clamp: 4;         /* Limit the text to 2 lines */
  -webkit-box-orient: vertical;  /* Set the orientation to vertical */
  text-overflow: ellipsis;       /* Add ellipsis (...) after the second line */
  white-space: normal; 
  line-clamp: 4; 

    }

    .news-image {
        max-width: 100%;
    }

    .news-footer {
        max-width: 100%;
        flex-wrap: wrap;
    }

    .platforms-content {
        max-width: 100%;
    }

    .platforms-section {
        max-width: 100%;
        padding: 0 20px;
    }

    .competitions-grid {
        max-width: 100vw;
        margin-top: 40px;
    }



    .platforms-title {
        font-size: 40px;
    }

    .platforms-grid {
        max-width: 100%;
        margin: 40px;
    }

    .scroll {
        overflow-y: scroll;

    }

    .platforms-row {
        all: unset;
        display: flex;
        flex-direction: row;
        gap: 0px;
        margin-right: 0;
        margin: 0;
        overflow: hidden;
        overflow-x: scroll;
        min-width: 100vw;
        max-width: 100vw;
        min-height: fit-content;
        max-height: fit-content;
        direction: rtl;
        margin-left: 0;
        flex:1;


    }

    .platform-card {
        margin: 0;
    }

    .platform-column {
        flex: 0.8;
        min-width: 90vw;
        max-width: 90vw;
        margin-inline-end: 0;
        background-color: unset;
     padding: 8px;
        margin: 5px;
    }

    .platform-description {
        padding: 16px;
    }

    .platform-title {

        margin-top: 40px;
        text-decoration: none;
    }

    .platforms-navigation {
        margin-top: 40px;
    }

    .sectors-section {
        max-width: 100%;
        padding: unset;
    }

    .sectors-content {
        max-width: 100%;
        padding-top: 0vh;
    }

    .sectors-header {
        flex-wrap: wrap;
        padding-left: 20px;
        font-size: 40px;
        line-height: 82px;
        white-space: initial;
    }

    .sectors-title {
        font-size: 30px;
        line-height: 82px;
        font-weight: bolder;
    }

    .sectors-grid {
        max-width: 100%;
        min-width: 100%;
        margin: 0;
        padding: 0;
    }
 
    
    .scroll-buttons {
        display: inherit;
       position: absolute;
        
        bottom: 20vh;
        width:100%;
       text-align: center;
    }
    
    .scroll-button1 {
        background-color:  #007bff;
        border: none;
        border-radius: 50%;
        color: white;
        font-size: 18px;
        width: 10vw;
        height: 10vw;
        cursor: pointer;
       
        position: absolute;
        bottom:0;
        right:5vw;
       
    }
    .scroll-button2 {
        background-color:  #007bff;
        border: none;
        border-radius: 50%;
        color: white;
        font-size: 18px;
        width: 10vw;
        height: 10vw;
        cursor: pointer;
        position: absolute;
        bottom:0;
        right:20vw;
       
       
    }
    
    .scroll-button:focus {
        outline: none;
    }
    
    .scroll-button:active {
        background-color: #0056b3;
    }
    
    .sectors-row {
        flex-direction: row;
        align-items: stretch;
        gap: 0px;
        width: 100vw;
        padding: 0;
        direction: rtl;
        overflow: hidden;
        overflow-x: scroll;

    }

    .sector-column {
        min-width: 90vw;
        height:60vh;
        flex: 1;
        
      
    }
    .sector-column:hover {
        width: 100%;
        height:100%;
        overflow: auto;
        margin-top: -10vh;
       
    }
    .sector-title {
        text-align: center;
        margin-top: 0px;
        font-size: 24px;
        margin-bottom: 50px;
    }
    .sector-card {
        padding: 0 20px;
    }
    .sector-managements{
        display: unset;
    }
    .sector-number {
        white-space: initial;
    }

    .sector-icon {
        font-size: 40px;
      
    }

    .about-section {
        max-width: 100%;
        padding: 0 20px;
    }

    .sector-arrow {
        margin-top: 40px;
    }

    .about-title {
        margin-right: 10px;
        font-size: 40px;
        line-height: 82px;
    }



    .about-row {
        flex-direction: column;
        align-items: stretch;
        gap: 0px;
    }

    .about-image-column {
        width: 100%;
        text-align: center;
    }

    .about-image {
        min-width: 100vw;
        margin-top: 28px;
        z-index: 3;
        float: left;
        display: none;
    }

    .about-text-column {
        width: 100%;
    }

    .about-description {
        max-width: 100%;
        margin-top: 22px;
    }

    .values-section {
        max-width: 100%;
        margin: 40px 5px 0 0;
    }

    .form-row {
        max-width: 100%;
        flex-wrap: wrap;
    }

    .vision-title {
        margin-top: 40px;
    }

    .vision-icon {
        margin-top: 40px;
    }

    .vision-card {
        margin-top: 40px;
        padding: 0 20px;
    }

    .mission-footer {
        margin-top: 40px;
    }

    .mission-title {
        margin-top: 40px;
    }

    .mission-icon {
        margin-top: 40px;
    }

    .mission-card {
        margin-top: 40px;
        padding: 0 20px;
    }

    .mission-column {
        width: 100%;
    }

    .values-footer {
        margin-left: 10px;
    }

    .values-content {
        margin-top: 16px;
        padding: 0 20px;
        max-height: 50%;

    }

    .values-icon {
        margin-top: 50px;
        width:25vw

    }

    .values-card {
        margin-top: 0px;
        height: 50vh;
        max-height: 50vh;
        width: 90vw;
        text-align: center;
    }

    .values-column {
        flex: 1;
        min-width: 100vw;
        max-width: 100vw;
        height: max-content;
        margin-top: 0;
    }

    .values-row {
        flex-direction: column;
        align-items: stretch;
        gap: 0px;
    }

    .values-header {
        white-space: initial;
        padding: 0 20px;

    }

    .vision-description {
        margin-top: 40px;
    }
.values-list-container{
 
    width: 100%;
}
.values-list{
    font-size: auto;
}
    .vision-footer {
        margin-top: 40px;
    }

    .contact-section {
        max-width: 100%;
        padding: 0 20px;
    }

    .contact-content {
        flex-wrap: wrap;
    }

    .social-links {
        white-space: initial;
    }

    .social-icon {
        white-space: initial;
    }

    .contact-header {
        max-width: 100%;
        font-size: 40px;
    }

    .contact-title {
        font-size: 40px;
    }

    .contact-title-text {
        font-size: 40px;
    }

    .contact-subtitle {
        max-width: 100%;
        font-size: 18px;
        line-height: 20px;
        margin-top: 0px;
    }

    .contact-form {
        max-width: 100%;
        margin-top: 40px;
        padding: 0 20px;
    }

    .form-input {
        padding-left: 20px;
    }

    .form-textarea {
        max-width: 100%;
        padding-left: 20px;
        margin-top: 40px;
    }

    .submit-button {
        margin-top: 40px;
        white-space: initial;
        padding: 0 20px;
        width: 80%;
    }

    .footer {
        max-width: 100%;
        height: 50vh;
        max-height: 50vw;
    }

    .footer-address {
        max-width: 100%;
    }

    .footer-logo {
        margin: 0 10px;
    }

    .footer-info {
        max-width: 100%;
        padding: 10px;
        margin-top: 15px;
        display: none;
    }

    .footer-link {
        margin-left: 10px;
    }

    .footer-section {
        padding-left: 20px;
    }

    .footer-content {
        max-width: 100%;
        height: 40vh;
        flex-wrap: wrap;
        display: block;

    }
  

    .footer-email {
        max-width: 100%;
        margin-top: 16px;
        margin-bottom: 16px;
    }
.footer-icons a{
    margin:5px;
}
    .copyright {
        padding-top: 15vh;
        text-align: center;
        max-width: 100%;
        height: 40vh;
        padding-inline: 20px;
        font-size: 18px;
    }
    .single-news-column{
        margin-top: 0;
        width: 100vw;
      margin:0 5vw;  
    }
    .single-news-card{
        flex-grow: 1;
    }
 
    .main-news-image{
        width: 100vw;
    }
    .single-news-image{
     
        width: 100vw;
        height: 25vh;
        box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
        border-radius: 30px;
    }
    /* Container for all images */
.single-news-images-container {
    display: inline-block;
    
    gap: 1rem;
    width: 100%;
    max-width: 100%;
    padding: 1rem;
    box-sizing: border-box;
}

/* Main image container */
#main-image-container {
    width: 100%;
    max-width:100vw;
}

/* Main image style */
.main-news-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Thumbnails container */
#thumbnails-container {
    all:unset;
    display: flex;
    flex-direction: row;
    margin-top: 5vh;
   overflow: scroll;
    gap: 0.5rem;
    max-width: 100%;
}

/* Individual thumbnail style */
.thumbnail-image {
    width: 20vw;
    height: auto;
    object-fit: fill;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s ease, border 0.2s ease;
    border: 2px solid transparent;
    display: flex;
  
}

.thumbnail-image:hover {
    transform: scale(1.05);
    border-color: #007bff;
}

/* Responsive behavior */
@media (max-width: 768px) {
    .thumbnail-image {
        width: 80px;
        height: 60px;
    }
}


    .thumbnail-image {
        width: 100%;
        object-fit: scale-down;
    }

    .main-news-image {
        border-radius: 15px;
    }

    
    .single-post-title-text{
        font-size: 24px;
    }
    .single-news-description-text{
        font-size: 18px;    
    }
    .scroll-button{
        height: 10vw;
        top: 40.5vh;
        width: 10vw;
        border-radius: 50%;
    }
    .scroll-button.right{
        right: 5vw;
    }
    .scroll-button.left{
        left: 5vw;
    }
    
    
      .main-content{
        overflow-y: scroll;
      }
      .footer-content {
  
        display: block;
       height: auto;
        
    }
    .footer-content div{
        padding-block:5vh;
    }
    .footer-content .quick-links{
        padding-block:5vh;
    }
    .footer-address{
        margin-top: 0;
    }
    .footer{
        all:unset;
        background-color: var(--primary-color);
        padding-top: -7vh;
        font-size: small;
        
    }
    .footer-email{
        font-size: small;
    }
    .cta-button{
        z-index: 25;
    }
}