.firstBox {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5vh;
    box-sizing: border-box;
}

.firstBox .text-container {
    position: relative;
    width: 80%;
    margin-top: 2%;
}

.firstBox .text-container .top-box {
    width: 70%;
    height: 10px;
    background-color: #ffb5349c;
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.firstBox .text-container .down-box {
    position: absolute;
    background-color: #fff;
    width: 50%;
    bottom: -15%;
    height: 30%;
    left: 25%;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(80, 78, 78, 0.537);
    direction: rtl;
    display: flex;
    flex-direction: row;
}

.firstBox .text-container .down-box h3 {
    color: #fdce21;
    font-size: 24px;
    font-weight: lighter;
}

.firstBox .text-container .down-box .imgSearchContainer {
    width: 10%;
    padding: 1vh;
    margin-right: 5px;
}

.firstBox .text-container .down-box .imgSearchContainer .imgSC {
    width: 80%;
}

.firstBox .text-container .inerText {
    background-color: #ffa726;
    border-radius: 35px;
    padding: 10vh;
    box-sizing: border-box;
    text-align: center;
    box-shadow: 0 2px 10px rgb(255, 255, 255);
    position: relative;
    display: flex;
    flex-direction: row;
    direction: rtl;
    justify-content: center;
}

.firstBox .text-container .inerText .imgContainer {
    width: 4%;
    margin-top: -5px;
}

.firstBox .text-container .inerText .imgContainer .imgInerText {
    width: 90%;
}

.firstBox .text-container .inerText h2 {
    margin-top: 0;
    color: #fff;
    font-size: 40px;
}

.firstBox .text-container .inerText p {
    color: #fff;
    direction: rtl;
}

.firstBox .text-container .icon-box .icon {
    font-size: 20px;
}


/* /////////////////// first Box //////////////////////// */

.secendBox {
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
    /* margin-bottom: 10dvh; */
}

.secendBox .leftbox {
    width: 50%;
    text-align: center;
    direction: rtl;
    padding: 10vh;
    box-sizing: border-box;
    align-self: center;
    position: relative;
}

.secendBox .leftbox::before {
    content: '';
    position: absolute;
    top: 120px;
    left: 120px;
    right: 120px;
    bottom: 120px;
    background: #FDD99C;
    z-index: -1;
    filter: blur(100px);
    border-radius: 100px;
}

.secendBox .leftbox .imgContainer {
    width: 100%;
}

.secendBox .rightbox {
    display: flex;
    flex-direction: column;
    justify-content: center;
    direction: rtl;
    padding: 1vh;
    box-sizing: border-box;
    align-items: center;
    width: 50%;
}

.secendBox .rightbox .rightBoxBlank {
    width: 80%;
    box-sizing: border-box;
    margin-top: 5%;
}

.secendBox .rightbox .rightBoxBlank h3 {
    font-family: vazir;
}


/* /////////////////// secend Box //////////////////////// */

.card {
    direction: rtl;
}

.firstRow,
.secendRow {
    display: flex;
    flex-direction: row;
    margin: 2vh auto;
    width: 80%;
}

.inerCard0 {
    padding: 1vh;
    box-sizing: border-box;
    margin: 0 auto;
}

.card .inerCard0 .inerCardImg {
    width: 90%;
    margin: 0 auto;
}

.card .inerCard0 .inerCardImg .imgRealInerCard {
    width: 100%;
}

.card .inerCard0 .inerTextCard {
    width: 90%;
    margin: 0 auto;
}

.card .inerCard0 .inerTextCard h3 {
    font-family: vazir;
}

.card .inerCard0 .btnInerCard {
    width: 50%;
    margin: 0 auto;
    background-color: #99C67A;
    padding: 1.5vh;
    box-sizing: border-box;
    border-radius: 10px;
    direction: rtl;
    text-align: center;
    border: solid #fbf6ee;
}

.card .inerCard0 .btnInerCard .btnRealInerCard {
    color: #FFF;
    width: 100%;
    background-color: #99C67A;
    border: none;
}

.card .inerCard0 .btnInerCard:hover {
    border: solid #64E58A;
}


/* /////////////////// CARD //////////////////////// */

.pagination {
    width: 25%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    border: solid;
    border-color: #fdce21;
    border-radius: 15px;
    direction: rtl;
    margin: 10vh auto;
    padding: 1vh;
    box-sizing: border-box;
    box-shadow: 0 10px 20px #66666637;
}

.pagination .middlePart {
    direction: ltr;
}

.pagination .rightPart,
.leftPart {
    align-items: center;
    align-content: center;
}

.pagination .middlePart a {
    color: #656565;
    float: left;
    padding: 10px;
    padding-top: 15px;
    padding-bottom: 15px;
    text-decoration: none;
    transition: background-color .5s;
    border-radius: 50%;
    margin-left: 10px;
}

.pagination .middlePart a.active {
    background-color: #FFB534;
    border-radius: 50%;
    color: white;
}

.pagination .middlePart a:hover:not(.active) {
    background-color: #fdce21;
}


/* /////////////////// CARD //////////////////////// */

@media screen and (max-width:950px) {
    .inerText .imgContainer {
        width: 5% !important;
    }
}

@media screen and (max-width: 800px) {
    .leftbox {
        padding: 5dvh !important;
    }
    .inerText .imgContainer {
        width: 7% !important;
    }
}

@media screen and (max-width: 700px) {
    .inerText .imgContainer {
        width: 9% !important;
    }
}

@media screen and (max-width: 650px) {
    .firstRow,
    .secendRow {
        flex-direction: column;
        gap: 10px;
    }
    .inerCard0 {
        display: flex !important;
        width: 95%;
        gap: 10px;
        background-color: #FBF1DF;
        border-radius: 30px;
    }
    .inerCard0:nth-child(even) {
        direction: ltr;
    }
    .inerCard0:nth-child(even) .aroundTxtBtn {
        direction: rtl;
    }
    .card .inerCard0 .inerCardImg {
        width: 70%;
        align-items: center;
        align-self: center;
        align-content: center;
    }
    .inerCard0 .aroundTxtBtn {
        font-size: smaller;
    }
    .card .inerCard0 .btnInerCard {
        padding: 0.5vh !important;
    }
    .card .inerCard0 .btnInerCard .btnRealInerCard {
        font-size: smaller;
    }
}

@media screen and (max-width: 600px) {
    .pagination {
        width: 35%;
    }
    .leftbox {
        padding: 3dvh !important;
    }
    .inerText .imgContainer {
        width: 11% !important;
    }
}

@media screen and (max-width: 700px) {
    .leftbox {
        padding: 0% !important;
    }
    .rightBoxBlank h3 {
        font-size: 30px !important;
    }
    .rightBoxBlank p {
        font-size: 14px !important;
    }
    .secendBox {
        margin-top: 5dvh;
    }
    .inerText .imgContainer {
        width: 15% !important;
    }
    .inerCard0 .aroundTxtBtn {
        font-size: x-small;
    }
}

@media screen and (max-width: 530px) {
    .rightbox {
        padding: 0% !important;
    }
}

@media screen and (max-width: 450px) {
    .pagination {
        width: 55%;
    }
    .inerText .imgContainer {
        width: 18% !important;
    }
}

@media screen and (max-width: 420px) {
    .inerText .imgContainer {
        width: 20% !important;
    }
    .firstBox .text-container {
        width: 85%;
    }
}

@media screen and (max-width: 390px) {
    .inerText .imgContainer {
        width: 22% !important;
    }
    .rightBoxBlank h3 {
        font-size: 25px !important;
    }
    .rightBoxBlank p {
        font-size: 12px !important;
    }
}

@media screen and (max-width: 300px) {
    body {
        display: none;
    }
}


/* Custom Dropdown Styles */

.custom-dropdown-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    background: white;
    transition: border-color 0.3s ease;
    width: 250px;
    min-height: 40px;
}

.custom-dropdown-trigger:hover {
    border-color: #999;
}

.selected-options {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    flex: 1;
}

.placeholder {
    color: #999;
}

.selected-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: #f0f0f0;
    border-radius: 4px;
    font-size: 12px;
    color: #333;
}

.remove-btn {
    background: none;
    border: none;
    color: #ff4444;
    cursor: pointer;
    font-size: 10px;
    padding: 0;
    margin-left: 4px;
}

.dropdown-arrow {
    color: #999;
    margin-top: 2px;
    transition: transform 0.3s ease;
}

.dropdown-arrow.open {
    transform: rotate(180deg);
}

.custom-dropdown-menu {
    position: fixed;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95);
    transition: all 0.3s ease;
    min-width: 250px;
}

.custom-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.dropdown-list {
    list-style: none;
    padding: 8px;
    margin: 0;
}

.dropdown-item {
    display: flex;
    flex-direction: row-reverse;
    gap: 8px;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.dropdown-item:hover {
    background-color: #f5f5f5;
}

.checkbox-input {
    accent-color: #ff4444;
}

.checkbox-label {
    font-size: 14px;
    color: #333;
}