/**
Theme name: abnameh
Author: Azim
**/ 
@font-face {
    font-family: YekanBold ;
    src: url(/wp-content/BYekan+.ttf);
    font-weight: 750;
}
@font-face {
font-family: Yekan ;
src: url(/wp-content/BYekan+.ttf);
}
@font-face {
font-family: urduo ;
src: url(/wp-content/UrdType.ttf);

}
.linehight{
    line-height: 2.5rem;
}
.maxwidth{
    max-width: 90%;
}
*{
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Horizontally center the body */
    align-items: center; /* Vertically center the body */
    background-color: #e4e4e4;
    box-sizing: border-box;
}
title {display:none;}
script{display: none;}
style{display: none;}
a{ 
     text-decoration: none;
     color: #898989;
    cursor: pointer; }

body {
        background-color: #e4e4e4;
        max-width: 80vw;
        margin: 0.5vh auto;
    }
.content-wrapperhead {
        filter: 0px; /* Adjust the blur amount as needed */
    }
.content-wrappermain {
        filter: 0px; /* Adjust the blur amount as needed */
    }
.content-wrapperfooter {
        filter: 0px; /* Adjust the blur amount as needed */
    }
header{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 15.5vh;
    width: 100%;
    gap: 1vh;
}
.title{
    width: 85%;
    display: block;
}
.tarikh{
    font-size: clamp(21px,.7vw,1.5vw) ;
    color: #898989;
}
main{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 64vh;
    width: 90%;
    gap: 1vh;
    z-index: 1;
}
.mainup{
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    height: 22vh;
    width: 100%;
}
.number{
    font-size: clamp(25px,4.5vw,5vw);
    font-family: urduo ;
    font-weight: 600;
    margin-top: -4.5%;
}
.maindown{
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    height: 65%;
    width: 100%;
}
.bilboard {
    border-radius: 25px;
    width: 66.3%;
    height: 100%;
    position: relative;
    padding: 10px; /* Adjust the padding as needed */
    box-sizing: border-box; /* Ensure padding is included in the total width */
}
.bilboard h2{
    top: -5%;
    right: 2%;
}
.Art {
    background-color: #cacdda;
    object-fit: cover; /* Maintain aspect ratio and cover the container */
    border-radius: 25px;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
p{
    font-family: Yekan;
    word-spacing: 0.1rem;
    /* max-width: 25vw; */
    padding-right: 3%;
    padding-top: 3%;
}
.paragraph{
    font-size: clamp(12px,1.1vw,4vw);
    direction: rtl;
    text-align:justify ;
    padding-left: 4%;
    padding-right: 4%;
}

.gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 25px;
    height: 38%; /* Adjust the height of the gradient overlay */
    background: linear-gradient(to top,#cacdda, #cacddad7);
    pointer-events: none; /* Allow clicks to pass through */
}
.show-more-btn {
    position: absolute;
    padding: 10px 20px;
    color: #477490;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    z-index: 2;
    bottom: 0;
    background-color: transparent;
}
.quote{
    font-size: clamp(12px,1.1vw,4vw);
    text-align:justify ;
    padding-left: 4%;
    padding-right: 4%;
    direction: rtl;
}
.YekanBold {
    font-family: YekanBold;
}
.Yekan {
    font-family: Yekan;
}
.background {
    background-color: #cacdda;
}
/* main partition attributes */
.partition {
    height: 75%;
    width: 32.5%;
    text-align: right;
    border-radius: 25px;
    position: relative; /* Required for absolute positioning */
    box-sizing: border-box;
}
.hover {
    transition: transform 0.3s ease-in-out; /* Apply transition to default state */
}
.hover:hover {
    transform: scale(1.05);
}
.hover a:hover {
    transition: transform 0.5s ease-in-out;
    transform: scale(1.1);
    color: #1a313f;
}
.hover button:hover {
    transition: transform 0.5s ease-in-out;
    transform: scale(1.1);
    color: #1a313f;
}
.partitiondown{
    height: 45%;
    border-radius: 25px;
    position: relative; /* Required for absolute positioning */
}
.partition p {
    overflow: hidden;
    border-radius: 25px;
}
/* main partition titles */
.headerback {
    background-color: #477490;
    border-radius: .6vw;
    padding: .5%;
    font-size: clamp(12px,1.1vw,4vw);
    color: white;
    position: absolute; /* Position the item relative to the container */
    z-index: 2;
    right: 4%;
    top: -12%;
    white-space: nowrap; /* Prevent text from wrapping */
}
.lastpart{
    height:100%;
    width: 32.5%;
    border-radius: 25px;
    justify-content: space-between;
}
.innerpart{
    width: 100%;
}
.QA h3{
    font-size: clamp(12px,1.1vw,4vw);
    align-self: self-start;
}
.QA{
    direction: rtl;
    gap: 1vh;
}
input{
    width: 1vw;
}
.Question{
    text-align: right;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    padding:3%;
}
.answer{
    direction: ltr;
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
    justify-content: end;
    font-size: clamp(6px,.74vw,2.5vw);

}
.option{
    margin-right: 5px;
}
.hand{
    background: transparent;
    height: 60%;
    transform: scale(0);
    transition: transform 0.3s ease-in-out;
}
/* trasparency and locations of icons in main partitions */
.transp {
    background-color: transparent;
    left: 5%;
    top: -20%;
    position: absolute;
    height: 30%;
}
.transp1 {
    background-color: transparent;
    left: 5%;
    top: -10%;
    position: absolute;
    height: 20%;
}

footer{
    height: 19vh;
    width: 100%;
    display: flex;
}
nav{
    display: flex;
    flex-direction: row;
    gap: 1vw;
    color: #898989;
    font-family:Yekan ;
    font-size: clamp(12px,1.1vw,4vw);
}
.icons{
    display: flex;
    flex-direction: row;
    gap: 2vw;
}
.icon{
    width: 3vw;
}
.icondis1{
    width: 5vw;
}
.icondis2{
    width: 8vw;
    margin-top: 0.5vh;
}
.open{
    height: 55%;
    width: 55%;
    top: 24%;
    position: absolute;
    border-radius: 2vw;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    transform: scale(0);
    transition: transform 0.3s ease-in-out;
    box-shadow: 0px 0px 5px 4px #00000048;
}
.open h3{
    align-self: end;
    z-index: 4;
    margin-right: 8%;
    margin-top: 2%;
    background-color: #477490;
    border-radius: .6vw;
    padding: .5%;
    font-size: clamp(12px,1.1vw,4vw);
    color: white;
}

.open1{
    height: 55%;
    width: 55%;
    top: 24%;
    box-shadow: 0px 0px 5px 4px #00000048;
    z-index: -2;
    position: absolute;
    border-radius: 2vw;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    transform: scale(0);
    transition: transform 0.3s ease-in-out;
}
.open1 h2{
    align-self: end;
    z-index: 4;
    margin-right: 8%;
    margin-top: 1%;
    background-color: #477490;
    border-radius: .6vw;
    padding: .5%;
    font-size: clamp(12px,1.1vw,4vw);
    color: white;
}
.open1 img{
    height: 3vh;
    align-self: end;
    margin-right: 7%;
    margin-bottom: 2%;
    cursor: pointer;
    background-color: transparent;
}
.grid-container {
    display: grid;
    
    direction: rtl;
    margin-top: -1%;
    width: 90%;
    height: 75%;
    grid-template-columns: repeat(4, 1fr); /* Four columns with equal width */
    gap: 10px; /* Gap between grid items */
}
.grid-item a {
    padding: 10px; /* Padding for grid items */
    background: transparent;
    color:#477490 ;
    font-size: clamp(12px,1.1vw,4vw);
}
.open2{
    height: 55%;
    width: 55%;
    top: 24%;
    box-shadow: 0px 0px 5px 4px #00000048;
    z-index: -2;
    position: absolute;
    border-radius: 2vw;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    transform: scale(0);
    transition: transform 0.3s ease-in-out;
}
.open2in{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 90%;
    height: 75%;
    direction: rtl;
}
.open2 h2{
    align-self: end;
    z-index: 4;
    margin-right: 8%;
    margin-top: 2%;
    background-color: #477490;
    border-radius: .6vw;
    padding: .5%;
    font-size: clamp(12px,1.1vw,4vw);
    color: white;
}
.open2in p{
    align-self: self-start;
    font-size: clamp(12px,1.1vw,4vw);
    text-align: justify;
    max-width: 50%;
}
.open2in form{
    display: flex;
    flex-direction: column;
    height: 35vh;
    gap: 1.5vh;
    align-items: start;
    justify-content: start;
}
.open2in input{
    width: 22vw;
    font-size: clamp(12px,1.1vw,4vw);
    border-radius: 1vw;
    padding: 2%;
    border: 1px solid rgb(114, 114, 114);
}
::placeholder {
    color: rgba(161, 161, 161, 0.705);
    opacity: 1; /* Firefox */
    font-size: clamp(12px,.95vw,2vw);
    text-align: start;
    
  }
.open2in button{
    margin-right: 55%;
    width: 10vw;
    font-size: clamp(12px,1.1vw,4vw);
    border-radius: 1vw;
    padding: 2%;
    background-color: #477490;
    border: none;
    color: white;
    cursor: pointer;

}
.massage{
    height: 15vh;
    border-radius: 1vw;
    display: flex;
    text-align: start;
    justify-content: start;
}
.massage::placeholder{
    position: absolute;
    top: 5px;
}
.open2 img{
    height: 3vh;
    align-self: end;
    margin-right: 7%;
    margin-bottom: 2%;
    cursor: pointer;
    background-color: transparent;
}
.material{
    height: 95%;
    width: 50%;
    margin-right: 2%;
    display: flex;
    direction: ltr;
    justify-content: space-between;
    align-items: end;
    overflow-y: scroll;
}
.material h2{
    background-color: #477490;
    border-radius: 12px;
    padding: 3px;
    font-size: clamp(12px,1.1vw,4vw);
    color: white;

}
.material p{
    font-size: clamp(12px,1.1vw,4vw);
    direction: rtl;
    text-align: justify;
}
.material img{
    cursor: pointer;
}
.pic{
    width: 40%;
    gap: 2vh;
    margin-top: 28%;
}
.pic1{
    width: 100%;
    border-radius: 25px;
}
.pic2{
    margin-left: 2%;
    width: 42%;
    border-radius: 25px;
}
.material img{
    height: 3vh;
}
.aboutus{
    width: 90%;
    scrollbar-width: none;
}
.scroll{
    scrollbar-width: none;
}
.materialbill{
    position: relative;
    padding: 10px;
    box-sizing: border-box;
    overflow: hidden;
}
.open6{
    width: 49vw;
    top: 24%;
    box-shadow: 0px 0px 5px 4px #00000048;
    z-index: -2;
    position: absolute;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    transform: scale(0);
    transition: transform 0.3s ease-in-out;
    overflow: hidden;
}
.openbill{
    scrollbar-width: none;
    background-color: aqua;
    background: transparent;
    overflow: hidden;
    object-fit: cover; 
}
.openbill img{
    object-fit: cover; 
    border-radius: 25px;
    width: 100%;
}
.out{
    position: absolute;
    bottom: 2%;
    right: 2%;
}

@media (max-width: 1100px) {
    header{
        height: 15vh;
        gap: 1vh;
        margin-bottom: 15%;
        margin-top: 10%;
    }
    p{
        width: 90%;
    }
    .title{
        width: 120%;
    }
    .tarikh{
        font-size: clamp(16px,1vw,2vw) ;
    }
    main{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 100%;
        gap: 6vh;
        height: min-content;
    }
    .number{
        font-size: clamp(70px,1vw,3vw);
    }
    .partition {
        height: 17vh;
        width: 100%;
        border-radius:3vw;
    }
    .gradient-overlay{
        height: 50%;
    }
    .mainup{
        flex-direction: column;
        width: 100%;
        height: max-content;
        gap: 6vh;
    }
    .maindown{
        flex-direction: column;
        height: max-content;
        width: 100%;
        gap: 6vh;
    }
    .bilboard {
        border-radius: 3vw;
        width: 100%;
        /* height: 45vh; */
    }
    .bilboard h2{
        top: -8%;
        right: 4%;
    }
    .Art {
        border-radius: 3vw; 
        width: 100%;
        height: 100%;
    }
    p{
        max-width: 90%;
    }
    .paragraph{
        font-size: clamp(1vw,4.2vw,6vw);
    }
    .p1{
        padding-top: 30%;
    }
    .p2{
        padding-top: 30%;
    }
    .quote{
        font-size: clamp(1vw,4.2vw,6vw);
    }
    /* main partition titles */
    .headerback {
        background-color: #477490;
        border-radius: 2vw;
        padding: 1%;
        font-size: clamp(1vw,3.2vw,4vw);
        color: white;
        position: absolute; /* Position the item relative to the container */
        z-index: 2;
        right: 4%;
        top: -10%;
        white-space: nowrap; /* Prevent text from wrapping */
    }
    .lastpart{
        width: 100%;
        border-radius: 3vw;
        gap: 6vh;
    }
    .innerpart{
        width: 100%;
    }
    .QA h3{
        margin-bottom: 10%;
        font-size: clamp(1vw,4.2vw,6vw);
    }
    input{
        width: 5vw;
    }
    .answer{
        font-size: clamp(1vw,4.2vw,6vw);
    }
    footer{
        width: 100%;
        height: 30vh;
    }
    nav{
        font-size: clamp(1vw,4.2vw,6vw);
    }
    .icons{
        display: flex;
        flex-direction: row;
        gap: 10vw;
    }
    .icon{
        width: 15vw;
    }
    .icondis1{
        width: 15vw;
    }
    .icondis2{
        width: 20vw;
        margin-top: 2vh;
    }
    .open{
        top: 47%;
        height: 130vh;
        width: 85%;
        position: -webkit-sticky;
        border-radius: 2vw;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: end;
        gap: 2vh;
    }
    .open5{
        height: 98vh;
    }
    .pic{
        position: inherit;
        top: 55%;
    }
    .pic2{
        width: 70%;
        align-self: flex-start;
    }
    .OP p{
        width: 80vw;
        gap: 2vh;
    }
    .OP h3{
        font-size: clamp(1vw,4.2vw,6vw);
        height: 5vh;
        width: 40vw;
    }
    .OP2{
        height: max-content;
    }
    .material{
        height: max-content;
        width: 90%;
        margin-right: 2%;
        display: flex;
        direction: ltr;
        justify-content: space-between;
        align-items: end;
        gap: 2vh;
    }
    .material p{
        font-size: clamp(1vw,4.2vw,6vw);
        direction: rtl;
        text-align: justify;
    }
    .material img{
        position: absolute;
        align-self: self-end;
        top: 95%;
        height: 3.2vh;

    }
    .pic{
        width: 90%;
        margin-left: 2%;
        margin-bottom: 7%;
    }
    .open1{
        height: max-content;
        width: 85%;
        box-shadow: 0px 0px 5px 4px #00000048;
        z-index: -2;
        top: 40%;
        position: -webkit-sticky;
        border-radius: 2vw;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        transform: scale(0);
        transition: transform 0.3s ease-in-out;
    }
    .open1 h2{
        align-self: end;
        z-index: 4;
        margin-right: 8%;
        margin-top: 1%;
        background-color: #477490;
        border-radius: .6vw;
        padding: .5%;
        font-size: clamp(1vw,4.2vw,6vw);
        color: white;
    }
    .open1 img{
        height: 3vh;
        align-self: end;
        margin-right: 7%;
        margin-bottom: 2%;
        cursor: pointer;
        background-color: transparent;
    }
    .grid-container {
        display: grid;
        
        direction: rtl;
        margin-top: -1%;
        width: 90%;
        height: 75%;
        grid-template-columns: repeat(4, 1fr); /* Four columns with equal width */
        gap: 10px; /* Gap between grid items */
    }
    .grid-item a {
        padding: 10px; /* Padding for grid items */
        background: transparent;
        color:#477490 ;
        font-size: clamp(1vw,4.2vw,6vw);
    }
    .open2{
        height: 2vhvh;
        width: 85%;
        box-shadow: 0px 0px 5px 4px #00000048;
        z-index: -2;
        top: 24%;
        position: -webkit-sticky;
        border-radius: 2vw;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        transform: scale(0);
        transition: transform 0.3s ease-in-out;
    }
    .open2in{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 90%;
        height: 15vh;
        direction: rtl;
        gap: 2vh;
    }
    .open2 h2{
        align-self: end;
        z-index: 4;
        margin-right: 8%;
        margin-top: 2%;
        background-color: #477490;
        border-radius: .6vw;
        padding: .5%;
        font-size: clamp(1vw,4.2vw,6vw);
        color: white;
    }
    .open2in p{
        align-self: self-start;
        font-size: clamp(1vw,4.2vw,6vw);
        text-align: justify;
    }
    .open2in form{
        height: 45vh;
        margin-left: -28%;
        gap: 1.5vh;
    }
    .open2in input{
        width: 65vw;
        font-size: clamp(1vw,4.2vw,6vw);
        border-radius: 1vw;
        padding: 2%;
        border: 1px solid rgb(114, 114, 114);
    }
    .open2in button{
        width: 10vw;
        font-size: clamp(1vw,4.2vw,6vw);
        border-radius: 1vw;
        padding: 2%;
        background-color: #477490;
        border: none;
        color: white;
        cursor: pointer;
        align-self: flex-end;
    
    }
    .massage{
        height: 30vh;
        border-radius: 1vw;
        display: flex;
        flex: 3;
        align-self: flex-start;
        text-align: start;
        justify-content: start;
    }
    .open2 img{
        height: 3vh;
        align-self: end;
        margin-right: 7%;
        margin-bottom: 2%;
        cursor: pointer;
        background-color: transparent;
    }
    .open6{
        height: max-content;
        width: 95%;
        box-shadow: 0px 0px 5px 4px #00000048;
        z-index: -2;
        top: 93vh;
        position: -webkit-sticky;
        border-radius: 25px;
    }
    .openbill{
        scrollbar-width: none;
        background-color: aqua;
        background: transparent;
        overflow: hidden;
        object-fit: cover; 
        border-radius: 25px;
    }
    .openbill img{
        object-fit: cover; 
        border-radius: 25px;
        width: 87vw;
    }
    .out{
        position: absolute;
        bottom: 2%;
        right: 2%;
    }
    .mob1{
        height: 17vh;
    }
    
}