* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    line-height: 1.6;
    margin: 0 auto;
    font-family: 'Roboto', Arial, sans-serif;
}

.heading-container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 100px;
    
}

/* Heading */
.page-heading {
    font-size: 52px;
    text-align: center;
    padding: 80px 0 20px ;
    font-weight: 700;
    line-height: 64px;
    
}

.Sub-heading-discription {
    max-width: 900px;
    margin: 0 auto; 
    font-size: 24px;
    text-align: center;
    font-weight: 500;
    line-height: 32px;
    padding-bottom: 20px;
    color: #4D4D4D;
}

/* Banner-card */
.store-card {
  display: flex;
  align-items: center;
  gap: 4px;              /* space between icon and text */
  padding: 12px 16px;
  max-width: 220px;
  background: #f8f8f8;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.3s ease;
  margin: 20px auto 0 auto; 
  justify-content: space-between;
  text-decoration: none;
  color: inherit; /* keeps your original text color */
}



.store-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.store-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;

}

.store-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.store-line1 {
  font-size: 16px;
  font-weight: 400;   /* normal */
  line-height: 1.2;
  
}

.store-line2 {
  font-size: 24px;
  font-weight: 500;   /* bold */
  line-height: 1.2;
}

/* Banner-Discription */
.page-heading-discription {
    max-width: 900px;
    margin: 0 auto; 
    font-size: 20px;
    font-style:italic;
    text-align: center;
    font-weight: 300;
    line-height: 32px;
    padding-top: 10px;
    color: #4D4D4D;
}


/* Banner-Nav-icon */
.header-icon-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 4rem;
  padding: 5rem 0;
}

.header-icon-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;  
  color: inherit;         
}

.header-icon-item:hover {
  color: #5265f6;           
}
.header-icon-item .icon {
  height: 24px;
  width: auto;
  display: block;
}

.header-icon-item span {
    font-size: 19px;
    font-weight: 500;
    line-height: 28.8px;
}

.full-box-container {
    max-width: 1920px;
    height: auto;
    margin: 0 auto;
    padding: 0 100px;
    
    
}

.box-header-layer {
    width: 100%;   
    border: 1px solid #808080;
    margin-top: 65px;  
        
}

.box-header-layer:first-child {
    margin-top: 0;
}

.box-header-title {
    background-color: #4D4D4D;
    color: #ffffff;
    text-align: center;
    font-size: 30px;
    font-weight: 500;
    padding: 19.5px;
    line-height: 34px;
    border: 1px solid #4D4D4D;   
}

.box-header-title-discription {
    background-color: #4D4D4D;
    color: #ffffff;
    text-align: center;
    font-size: 24px;
    font-weight: 400;
    line-height: 34px;
    
}

.content-full-box-container {
    width: 100%;   
    background-color: #fbfeff;
    border: 1px solid #808080;  
    padding: 65px 40px 0 40px;  
        
}



.table-container {
    width: 100%;   
    padding-bottom: 65px;   
        
}



.table-header-container {
    width: 100%;   
              
}

.table-header-box-wrapper {
    border: 1px solid #808080;
    
    background-color: #ffffff;
    
  }

.table-header-container-3colum {
    display: grid;
    grid-auto-flow: row;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    width: 100%;
    box-sizing: border-box;
    flex: 1;
    border: 1px solid #808080;
    background-color: #808080; /* Sets border color */
    gap: 1px; /* Creates 1px lines */
}


.table-header-container-4colum {
    display: grid;
    grid-auto-flow: row;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    width: 100%;
    box-sizing: border-box;
    flex: 1;
    border: 1px solid #808080;
    background-color: #808080; /* Sets border color */
    gap: 1px; /* Creates 1px lines */
}

.table-header-title {
    
    background-color: #ffffff;
    text-align: center;
    font-size: 28px;
    font-weight: 500;
    padding: 17.5px;
    line-height: 33.6px;
    border: 1px solid #808080;
    border-bottom: none;
    box-sizing: border-box;   
}

.table-header-title span {
    background-color: #ffffff;
    text-align: center;
    font-size: 19px;
    font-weight: 400;
    line-height: 28.8px;
    

}

.table-header-title-graybox {
    background-color: #f2f2f2;
    text-align: center;
    font-size: 28px;
    font-weight: 500;
    padding: 23.01px;
    line-height: 36px;
    border: 1px solid #808080;
    box-sizing: border-box; 
}

.table-header-sub-title-3colum {
    background-color: #ffffff;
    text-align: center;
    font-size: 24px;
    font-weight: 500;
    padding: 15.5px;
    line-height: 34px;
    /* border: 1px solid #4d4d4d; */ /* REMOVED */
    
}



.table-header-sub-title {
    background-color: #ffffff;
    text-align: center;
    font-size: 24px;
    font-weight: 500;
    padding: 15.5px;
    line-height: 34px;
    border: 1px solid #4d4d4d;   
}



.table-header-sub-title-only {
    background-color: #ffffff;
    text-align: center;
    font-size: 24px;
    font-weight: 500;
    padding: 15.5px;
    line-height: 34px;
    border: 1px solid #4d4d4d;   
}

.table-header-sub-title-graybox {
    background-color: #f2f2f2;
    text-align: center;
    font-size: 24px;
    font-weight: 500;
    padding: 23.45px;
    line-height: 34px;
    border: 1px solid #4d4d4d; 
    box-sizing: border-box;   
    
}



.table-grid-container {
    width: 100%;   
    display: flex;
    flex-direction: column;
    
}


.table-grid-container-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
}

.table-grid-box {
    display: grid;
    grid-auto-flow: row;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    width: 100%;
    box-sizing: border-box;
    flex: 1;
    border: 1px solid #808080;
    background-color: #808080; /* Sets border color */
    gap: 1px; /* Creates 1px lines */
}


.table-grid-box-max4grid {
    display: grid;
    grid-auto-flow: row;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    width: 100%;
    box-sizing: border-box;
    flex: 1;
    border: 1px solid #808080;
    background-color: #808080; /* Sets border color */
    gap: 1px; /* Creates 1px lines */
}

.table-grid-box-max3grid {
    display: grid;
    grid-auto-flow: row;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    width: 100%;
    box-sizing: border-box;
    flex: 1;
    border: 1px solid #808080;
    background-color: #808080; /* Sets border color */
    gap: 1px; /* Creates 1px lines */
}



.table-grid-box-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* border: 1px solid #808080; */ /* REMOVED */
    height: 65px;
    padding: 10px 6px;
    font-size: 19px;
    line-height: 26px;
    font-weight: 400;
    text-align: center;
    background-color: #fff;
    min-width: 0;
    flex: 1;
    word-break: break-word;
}

.table-grid-box-item span {
    
    text-align: center;
    font-size: 19px;
    font-weight: 400;
    line-height: 26px;
    
}

.table-grid-box-sub-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #808080;
    height: 65px;
    padding: 10px 6px;
    font-size: 24px;
    line-height: 26px;
    font-weight: 500;
    text-align: center;
    background-color: #fff;
    min-width: 0;
    flex: 1;
    word-break: break-word;
}

  


.sub-table-container {
    width: 100%;  
}

.sub-table-container-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    box-sizing: border-box;
    flex-wrap: wrap;
    align-items: stretch;
}

.sub-table-box {
    flex: 1;
    min-width: 150px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    
}

.empty-white-box {
    height: 200px;
    background-color: #fff;
    width: 100%;
}


.paragraph-box-container {
    width: 100%;
    
}

.paragraph-box {
    background-color: #f1f1f1;
    padding: 50px 80px;
    font-size: 18px;
    line-height: 1.6;
    grid-column: 1 / -1; /* spans full grid width */
}



.table-grid-box-item.filler {
    visibility: hidden;
}



@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.table-grid-box-item.active {
    background-color: #4d4d4d;
    color: #fff;
    transition: background-color 0.3s, color 0.3s;
}

.table-header-sub-title.active,
.table-header-sub-title-3colum.active  {
    background-color: #4d4d4d;
    color: #fff;
    transition: background-color 0.3s, color 0.3s;
}


@media (max-width: 1200px) {
    .heading-container {
        padding: 0 50px;
    }
}

@media (max-width: 600px) {
    .heading-container {
        padding: 0 20px;
    }
}


@media (max-width: 1200px) {
    .full-box-container {
        padding: 0 50px;
    }
}

@media (max-width: 600px) {
    .full-box-container {
        padding: 0 20px;
    }
}

@media (max-width: 1024px) {
    .sub-table-container-wrapper {
        flex-direction: column;
    }
    
    .sub-table-box {
        width: 100%;
        
    }

    .sub-table-box:last-child {
        margin-bottom: 0;
    }
}






@media (max-width: 1200px) {
    .table-grid-box {
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }

    .table-grid-box-max4grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
}   

@media (max-width: 1048px) {
    .break-on-small {
      display: block;
    }
    .table-grid-box-max4grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    .paragraph-box {
        padding: 40px 40px;
    }
    .table-header-container-3colum {
        grid-template-columns: repeat(2, 1fr);
    }
    .header-icon-container {
        max-width: 900px;
        padding: 62px 36px;
        gap: 1.5rem;
    }   
    
}

@media (max-width: 820px) {
    
    .table-grid-box-max4grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
    .paragraph-box {
        padding: 40px 30px;
    }
}
@media (min-width: 480px) and (max-width: 820px) {
    .header-icon-container {
    display: grid;
    grid-template-columns: repeat(2, auto); /* 2 per row */
    gap: 2rem 4rem; /* row-gap column-gap */
    justify-content: center;
  }

  /* Row 1: GitHub + Vision Paper */
  .header-icon-item:nth-child(1),
  .header-icon-item:nth-child(2) {
    grid-row: 1;
  }

  /* Row 2: Technical Documentation + OpenMesh */
  .header-icon-item:nth-child(3),
  .header-icon-item:nth-child(4) {
    grid-row: 2;
  }
}


@media (max-width: 768px) {
    .table-grid-box {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); /* 2 per row on tablets */
    }
    .table-grid-box-max4grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }

    .table-header-container-3colum {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (max-width: 480px) {
    .table-grid-box {
        grid-template-columns: 1fr; /* 1 per row on mobile */
    }

    .content-full-box-container {
    width: 100%;   
    background-color: #fbfeff;
    border: 1px solid #808080;  
    padding: 65px 20px 0 20px;
        
    }

}

@media (max-width: 480px) {
    .table-grid-box-max4grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
    .table-grid-box-max3grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
    .paragraph-box {
        padding: 40px 30px;
    }
    .content-full-box-container {
        padding: 40px 20px 0 20px;  
    }
    
    .table-header-title:first-child {
        border-bottom: 1px solid #808080;
    }
    .header-icon-container {
        flex-direction: column;
        padding: 62px 36px;
        gap: 1.5rem;
    }
    .content-full-box-container {
        padding: 40px 20px 0 20px;  
    }
    
    .table-header-title:first-child {
        border-bottom: 1px solid #808080;
    }
    .header-icon-container {
        flex-direction: column;
        padding: 62px 36px;
        gap: 1.5rem;
    }
}