.layout {
    margin: 30px 8%;
}

.main h1 {
    text-align: center;
    padding: 5px;
    color: #12A19A
}

.search {
    width: 100%
}

.form {
    padding: 12px 16px;
    display: flex;
    display: -webkit-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffffee;
    border-radius: 13px
}

.f-item {
    width: 19%;
    height: 40px;
    padding: 7px;
    margin-bottom: 7px;
    margin-top: 7px;
    outline: none;
    border-radius: 2px;
    border: 1px solid #E0F2F1;
    background-color: #E0F2F1
}

.f-item option {
    padding: 2px
}

.filter-btn {
    padding: 10px;
    background-color: #12A19A;
    outline: none;
    color: white;
    cursor: pointer;
    border-radius: 3px
}

.filter-btn:hover {
    background: #0e857f
}

.f-item input[type=text] {
    padding: 12px;
    border: 1px solid #E0F2F1;
    border-radius: 3px;
    outline: none;
    background-color: #E0F2F1
}

.lsi {
    width: 70%;
    height: unset;
    padding: 12px;
    background: #fff;
    border-radius: 5px
}

.c-list {
    background-color: #E0F2F1;
    margin-top: 20px
}

.c-item {
    background-color: #ffffffee;
    margin: 15px 0;
    border-radius: 13px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3)
}

.c-item .item {
    display: flex;
    display: -webkit-flex;
    text-decoration: none;
    color: #111;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 15px
}

.c-item:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3)
}

.c-item .item .img {
    width: 24%
}

.c-item .item .img img {
    display: block;
    max-width: 160px;
    max-height: 160px;
    width: 19vw;
    height: 18vw;
    object-fit: scale-down;
    border-radius: 13px;
    margin: auto
}

.c-item .item .info {
    width: 74%
}

.c-item .item .info .title {
    position: relative
}

.iu {
    position: absolute;
    left: 0;
    color: #12A19A;
    text-align: center;
    width: 22%;
    min-width: 130px
}

.iu2 {
    display: none;
}

.c-item .item .title h2 {
    color: #12A19A;
    margin: 0;
    margin-bottom: 3px
}

.c-item .item .info .fields {
    display: flex;
    display: -webkit-flex;
    margin-top: 15px;
    flex-wrap: wrap;
    justify-content: space-between
}

.fields .f-row {
    width: 77%;
}

.f-row .row {
    display: flex;
    display: -webkit-flex;
    flex-wrap: wrap;
    margin: 12px 0
}

.f-row .row span {
    width: 50%;
    text-align: right;
    direction: ltr
}

.f-row .row span:nth-child(1) {
    width: 40%
}

.f-row .row span i {
    color: orange;
    font-size: 24px
}

.c-item .item .info .fields .status {
    width: 22%;
    text-align: center;
    align-self: center
}

.box .percent {
    position: relative;
    width: 90px;
    height: 90px;
    margin: auto
}

.box .percent svg {
    position: relative;
    width: 90px;
    height: 90px
}

.box .percent svg circle {
    width: 90px;
    height: 90px;
    fill: none;
    stroke-width: 8;
    stroke: #000;
    transform: translate(5px, 5px);
    stroke-dasharray: 253;
    stroke-dashoffset: 253;
    stroke-linecap: butt
}

.box .percent svg circle:nth-child(1) {
    stroke-dashoffset: 0;
    stroke: #E0F2F1
}

.box .percent svg circle:nth-child(2) {
    stroke-dashoffset: calc(253 - (253 * var(--percent)) / 100);
    stroke: #43A047
}

.box .percent .number {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    display: -webkit-flex;
    justify-content: center;
    align-items: center;
    color: #111
}

.box .percent .number h2 {
    font-size: 24px;
    color: #444
}

.box .percent .number h2 span {
    font-size: 16px;
}

.box .text {
    color: #999;
    margin: 0;
    font-size: 14px
}

.gscon {
    height: 100vh;
    margin-top: -20px;
    background: url('../img/gen-mol.jpg');
    background-size: cover;
    padding: 16px;
    display: flex;
    display: -webkit-flex;
    justify-content: start;
    align-items: center
}

.labcon {
    padding: 3% 7%
}

.labs, .mtitems {
    display: flex;
    display: -webkit-flex;
    row-gap: 16px;
    column-gap: 16px;
    flex-wrap: wrap
}

.labitem {
    width: calc(33.33% - 16px);
    background: #fff;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    color: #000;
    height: 50vh;
    text-decoration: none;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1)
}

.labitem:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1)
}

.labitem img {
    width: 100%;
    height: 80%;
    object-fit: cover;
    border-radius: 5px
}

.glimg {
    object-fit: contain !important
}

.btnmore {
    display: flex;
    display: -webkit-flex;
    width: fit-content;
    margin: 16px auto;
    text-decoration: none;
    padding: 8px 16px
}

.mtitems {
    column-gap: 32px;
    margin-top: 32px;
    justify-content: center
}

.mti {
    width: 180px;
    height: 180px;
    text-align: center;
    border-radius: 50%;
    background: #fff;
    text-decoration: none;
    padding: 16px 2px
}

.mti img {
    object-fit: scale-down;
    width: 82px
}

.tab-form {
    background: transparent;
    overflow: visible;
    box-shadow: unset
}

.gfcon {
    padding: 6% 16px;
    background-size: cover;
    background-image: url('../img/gen-banner.webp')
}

.vgen {
    width: 100%;
    height: 500px;
    object-fit: cover
}

.genahead {
    text-align: center;
    padding: 0 32px
}

.gena p, .gena li {
    font-size: 14px
}

.gena {
    display: flex;
    display: -webkit-flex;
    background: #fff;
    flex-wrap: wrap
}

.genatxt {
    width: 33.33%;
    padding: 0 32px
}

.genaimg {
    object-fit: cover;
    border-radius: 3px;
    max-height: 500px;
    width: 33.33%
}

.ltir, .ltitem {
    font-size: 14px;
    height: auto;
    width: calc(25% - 16px)
}
.pinned {
    position: relative;
    border: 2px solid gold
}

.pinned::before {
    content: '\1F4CC'; 
    font-size: 24px;
    color: red; 
    position: absolute;
    top: 10px; 
    right: 10px
}
.features-lay {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 40px;
    padding-bottom: 40px
}

.features-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    padding: 10px;
    max-width: 1200px;
}
.intro-item2{
    align-self: flex-start
}
.h2-m{
    margin-top: 50px;
}
.feature-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-radius: 12px;
    color: #ffffff;
    min-width: 23%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.feature-item2 {
    margin: 14px auto;
    box-shadow: 0 -1px 6px rgba(0, 0, 0, 0.1);
    min-width: 175px;
    max-width: 175px;
}
.feature-item2 p {
    font-size: 12px!important;
}
.feature-item2 .icon{
    width: 50px!important;
}
.feature-item2 .icon img {
    height: 50px !important;
    padding: 4px;
}

.feature-item .icon {
    flex-shrink: 0;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 100%;
    border-radius: 0 8px 8px 0;

}

.feature-item .icon img {
    width: 40px;
    height: 65px;
    border-radius: 8px;
    object-fit: scale-down;
}

.feature-item p {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
    height: 100%;
    width: 100%;
    text-align: center;
    white-space: nowrap;
    letter-spacing: 0.07em;

}

.table-container {
    background-color: #fefefe;
    border-radius: 12px;
    padding: 10px;
    margin-top: 50px;
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
}

.styled-table {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.styled-table th,
.styled-table td {
    text-align: center;
    padding: 15px;
    font-size: 16px;
}

.styled-table th {
    background-color: #f27e3e;
    color: white;
    font-weight: bold;
}

.styled-table td {
    background-color: #ffe0b3;
    color: #333;
}

.styled-table tr:last-child td {
    border-bottom-left-radius: 12px;
}

.styled-table tr:first-child th:first-child {
    border-top-right-radius: 12px;
}

.styled-table tr:first-child th:last-child {
    border-top-left-radius: 12px;
}

/* جدول عمودی */
.vertical-table {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 8px;
}

.vertical-table th,
.vertical-table td {
    text-align: center;
    padding: 15px;
    font-size: 16px;
}

.vertical-table th {
    background-color: #f27e3e;
    color: white;
    font-weight: bold;
}

.vertical-table td {
    background-color: #ffe0b3;
    color: #333;
}

.vertical-table th {
    flex: 1;
    border-bottom: none;
}

.vertical-table tr:last-child td {
    border-bottom: none;
}

.vertical-table tr:first-child th {
    flex: 1;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.vertical-table tr:last-child td {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

@media screen and (max-width: 1050px) {
    .feature-item {
        min-width: 49%;
    }
}
@media screen and (max-width: 860px) {
    .feature-item {
        min-width: 45%;
    }
}
@media screen and (max-width: 768px) {
    .features-container {
        justify-content: center;
    }
    .feature-item2{
        max-width: 250px;
    }
}

@media screen and (max-width: 600px) {
    .feature-item {
        min-width: 99%;
    }
}

@media (max-width:1000px) {
    .f-item {
        width: 49%;
    }

    .labitem {
        width: calc(50% - 16px)
    }

    .ltir, .ltitem {
        width: calc(33.33% - 16px)
    }

    .genatxt, .genaimg {
        width: 100%
    }

    .gena {
        height: unset
    }

}

@media (max-width:602px) {
    .gscon {
        align-items: flex-start;
        background-position-x: 40%;
    }

    .gfcon {
        background-position-x: center
    }

    .f-item {
        width: 99%;
    }

    .fields .f-row, .c-item .item .info .fields .status,
    .c-item .item .img, .c-item .item .info {
        width: 100%;
    }

    .c-item .item .info {
        text-align: center;
        margin-top: 7px;
    }

    .c-item .item .img img {
        width: 150px;
        height: 150px;
    }

    .box {
        float: left;
    }

    .iu {
        display: none;
    }

    .iu2 {
        display: block;
        display: inline-block;
        color: #12A19A;
        margin-top: 48px;
    }
}

@media (max-width:500px) {
    .labitem {
        width: 100%
    }

    .ltir, .ltitem {
        width: calc(50% - 16px)
    }
}

@media (max-width:400px) {

    .ltir, .ltitem {
        width: calc(100% - 16px)
    }
}