@import url(./shared/variables.css);
@import url(./bootstrap-icons/bootstrap-icons.min.css);
/* @import url(./burgerMenu.css); */

body {
    font-family: "IBM Plex Sans Arabic", sans-serif;
}

    body * {
        padding: 0;
        margin: 0;
        box-sizing: border-box;
    }

:root {
    font-size: 16px;
    --main-color: #1b8354;
    --main-color-dark: #074d31;
    --alt-color: #6d428f;
    /* --alt-color: #7c2390; */
}

.sidebar {
    background-color: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(25px);
}

.page-title,
.section-title {
    position: relative;
}

    .page-title::before,
    .section-title::before {
        content: "";
        background-color: var(--main-color);
        height: 7px;
        position: absolute;
        bottom: -10px;
        width: 30%;
        min-width: 60px;
        max-width: 100%;
    }

html[dir="rtl"] .page-title::before,
html[dir="rtl"] .section-title::before {
    right: 0;
    left: unset;
}

html[dir="ltr"] .page-title::before,
html[dir="ltr"] .section-title::before {
    left: 0;
    right: unset;
}

.section-title-nigative {
    color: #fff;
}

    .section-title-nigative::before {
        background-color: #fff !important;
    }

/* html[dir="rtl"] .page-title.text-end {
  width: fit-content;
}

html[dir="ltr"] .page-title.text-end::before {
  right: 0;
  left: unset;
} */

.text-primary {
    color: var(--main-color) !important;
}

.custom-container .main-text {
    text-align: center;
}

/* reset */
.btn-outline-secondary {
    color: var(--text-default);
    border-color: var(--border-neutral-primary);
}

    .btn-outline-secondary:hover {
        background-color: var(--button-background-primary-default);
        border-color: var(--border-primary);
        color: var(--text-default);
    }

        .btn-outline-secondary:hover * {
            color: var(--text-oncolor-primary);
        }

.block-24 {
    width: 24px;
    height: 24px;
}

.block-28 {
    width: 28px;
    height: 28px;
}

.block-32 {
    width: 32px;
    height: 32px;
}

.block-36 {
    width: 36px;
    height: 36px;
}

.block-40 {
    width: 40px;
    height: 40px;
}

.block-40 {
    width: 42px;
    height: 42px;
}

.block-44 {
    width: 44px;
    height: 44px;
}

.block-46 {
    width: 46px;
    height: 46px;
}

.block-48 {
    width: 48px;
    height: 48px;
}

.block-52 {
    width: 52px;
    height: 52px;
}

.width-fit-content {
    width: fit-content;
}

.top--25 {
    position: relative;
    top: -25px;
}

.hidden {
    display: none !important;
}

.btn {
    border-radius: var(--radius-sm);
    position: relative;
}

.btn-outline-default {
    background-color: #fff;
    border: 1px solid #d2d6db;
}

    .btn-outline-default:hover,
    .btn-outline-default:focus {
        background-color: #d2d6db;
    }

.rounded-md {
    border-radius: var(--radius-md);
}

.rounded-lg {
    border-radius: var(--radius-lg);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.6;
}

p,
div {
    /* text-align: justify; */
    /* line-height: 1.6; */
    line-height: 1.8;
}

section > div {
    padding: 20px 0;
}

.swiper {
    direction: ltr;
}

input[type="radio"] {
    box-shadow: none !important;
    border: 1px solid var(--main-color) !important;
    width: 22px;
    height: 22px;
}

    input[type="radio"]:checked {
        background-color: var(--main-color);
    }

.rtl .form-check {
    display: flex;
    align-items: center;
    gap: 28px;
    width: fit-content;
}

.swiper-pagination-bullet {
    opacity: 1;
}

.rtl .swiper .swiper-slide {
    direction: rtl;
}

.bi-arrow-right {
    transition: transform 0.3s;
}

.rtl .bi-arrow-right::before,
.rtl .btn-outline-success .bi-chevron-right::before {
    transform: rotate(180deg);
}

/*.rtl .bi-arrow-left::before {
    transform: rotate(180deg);
}
*/
/* framework */
.bg-gray-1 {
    background-color: #eee !important;
}

.bg-gray {
    background-color: #f3f4f6;
}

.w-90 {
    width: 90%;
}

.main-p {
    padding: 16px;
}

.main-rounded {
    border-radius: 16px;
}

img.main-rounded {
    border-radius: 8px;
}

.main-br {
    border-bottom: 2px solid var(--main-color);
}

.pointer-event {
    cursor: pointer;
}

.rounded-full {
    border-radius: 50%;
}

.main-bg {
    background-color: var(--main-color) !important;
}

.main-bg-dark {
    background-color: var(--main-color-dark) !important;
}

.main-text {
    color: var(--main-color) !important;
}

.alt-bg {
    background-color: var(--alt-color) !important;
}

.alt-text {
    color: var(--alt-color) !important;
}

.bg-white {
    background-color: white !important;
}

.w-fit {
    width: fit-content !important;
}

.object-fit-cover {
    object-fit: cover !important;
}

.custom-container {
    width: 75%;
    margin-inline: auto;
}

.rotate-180 {
    transform: rotateY(180deg);
}

.no-arrow::after {
    display: none !important;
}

.text-truncate-1,
.text-truncate-2,
.text-truncate-3,
.text-truncate-4,
.text-truncate-5,
.text-truncate-6 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.text-truncate-1 {
    -webkit-line-clamp: 1;
}

.text-truncate-2 {
    -webkit-line-clamp: 2;
}

.text-truncate-3 {
    -webkit-line-clamp: 3;
    min-height: calc(1.6rem * 3);
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text-truncate-4 {
    -webkit-line-clamp: 4;
    min-height: calc(1.6rem * 4);
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text-truncate-5 {
    -webkit-line-clamp: 5;
}

.text-truncate-6 {
    -webkit-line-clamp: 6;
}

/* header */
header {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 10;
}

/*header nav i {
        color: var(--main-color);
    }*/

/* navbar-brand */
nav.navbar form button.tarfeeh {
    width: 162px;
}

nav.navbar form .input-group,
nav.navbar #input-group {
  width: 117px;
  border: 2px solid transparent;
  transition: all 0.3s ease-in-out;
  border-radius: 8px;
  background-color: #f5f5f5;
}

nav.navbar #input-group:hover {
  border-color: #e0e0e0;
  background-color: #fff;
}

nav.navbar #input-group:focus-within {
  width: 400px !important;
  border-color: var(--button-background-primary-default, #198754);
  background-color: #fff;
  box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.1);
}

nav.navbar form .input-group .input-group-text,
#search-input-icon {
  cursor: pointer;
  transition: 0.3s;
}

#search-input-icon:hover {
  color: var(--button-background-primary-default, #198754);
}

#search-input {
  font-size: 14px;
}

#search-input::placeholder {
  color: #999;
  font-size: 13px;
}

/* Search Dropdown Styles */
#search-dropdown {
  max-height: 400px;
  overflow-y: auto;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
}

#search-dropdown .list-group-item {
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

#search-dropdown .list-group-item:hover {
  background-color: #f8f9fa;
  border-left-color: var(--button-background-primary-default, #198754);
  transform: translateX(2px);
}

#search-dropdown .list-group-item h6 {
  font-size: 15px;
  font-weight: 600;
  color: #212529;
  margin-bottom: 4px;
}

#search-dropdown .list-group-item p {
  font-size: 13px;
  line-height: 1.4;
  color: #6c757d;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

#search-dropdown .list-group-item .bi-arrow-right {
  font-size: 14px;
  transition: transform 0.2s ease;
}

#search-dropdown .list-group-item:hover .bi-arrow-right {
  transform: translateX(3px);
  color: var(--button-background-primary-default, #198754) !important;
}

/* Highlighted search text */
#search-dropdown strong.text-success {
  font-weight: 700;
  background-color: rgba(25, 135, 84, 0.1);
  padding: 1px 2px;
  border-radius: 2px;
}

/* Loading spinner */
#search-loading .spinner-border-sm {
  width: 1.5rem;
  height: 1.5rem;
}

/* Scrollbar styling for search dropdown */
#search-dropdown::-webkit-scrollbar {
  width: 6px;
}

#search-dropdown::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

#search-dropdown::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 3px;
}

#search-dropdown::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.navbar-brand a .logo,
.navbar-brand a .h_2030 {
    height: 58px;
}

.navbar-brand a:first-child {
/*    border-right: 1px solid #c5c5c5;*/
}

.rtl .navbar-brand a:first-child {
    border-right: 0px;
    /* border-left: 1px solid #c5c5c5; */
}

nav.navbar {
    padding: 0;
}

    nav.navbar .nav-item > a {
        height: 70px;
        line-height: 60px;
        position: relative;
        font-weight: 500;
    }

        nav.navbar .nav-item > a:before,
        nav.navbar .nav-item > a {
            transition: background-color 0.5s;
        }

            nav.navbar .nav-item > a:hover {
                background-color: rgb(233, 233, 233) !important;
            }

                nav.navbar .nav-item > a:hover::before {
                    content: "";
                    background-color: gray;
                    position: absolute;
                    width: 80%;
                    height: 5px;
                    left: 50%;
                    transform: translateX(-50%);
                    bottom: 0;
                    border-radius: 6px;
                }

    nav.navbar .nav-item.dropdown {
        position: relative;
    }

        nav.navbar .nav-item.dropdown ul {
            position: absolute;
            opacity: 0;
            z-index: 0;
            transition: opacity 0.3s ease, max-height 0.3s ease;
            max-height: 0;
            overflow: hidden;
            background-color: white;
            min-width: 200px;
            width: auto;
        }

        nav.navbar .nav-item.dropdown:hover ul {
            opacity: 1;
            z-index: 10;
            max-height: 500px;
        }

/* sidebar */
aside {
    position: fixed;
    width: 50%;
    min-height: 100vh;
    top: 0;
    z-index: 10000;
    background-color: white;
    right: -100%;
    transition: 0.3s;
}

    aside.show {
        right: 0;
    }

    aside li.nav-item {
        border-bottom: 1px solid rgb(210, 210, 210);
    }

    aside li:hover {
        background-color: rgb(235, 235, 235);
        border-radius: 6px;
    }

    aside .dropdown.active {
        padding-bottom: 10px;
    }

    aside .dropdown {
        border-bottom: 0;
        clip-path: polygon(0 0, 100% 0, 100% 35px, 0 35px);
        transition: 0.3s;
    }

        aside .dropdown + li {
            margin-top: -100px;
            border-top: 1px solid rgb(210, 210, 210);
            transition: 0.3s;
        }

        aside .dropdown.active {
            clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        }

            aside .dropdown.active + li {
                margin-top: 0px;
            }

        aside .dropdown ul {
            background-color: white;
            width: 90%;
            margin: auto;
            list-style: none;
            border-radius: 6px;
        }

            aside .dropdown ul li {
                padding: 10px;
            }

/* Overlay */
.overlay {
    width: 100%;
    height: 100%;
    background-color: #00000042;
    top: 0;
    left: 0;
    position: fixed;
    z-index: 60;
    transition: 0.3s;
    display: none;
}

    .overlay.show {
        display: block;
    }

/* main line */
.main-line {
    background-color: var(--main-color);
    width: 90px;
    height: 7px;
}

/* custom breadcrumb  */
.breadcrumb-list {
    display: flex;
    list-style: none;
    gap: 8px;
}

    .breadcrumb-list .breadcrumb-item a {
        text-decoration: none;
        color: black;
    }

        .breadcrumb-list .breadcrumb-item a:hover {
            text-decoration: underline;
        }

    .breadcrumb-list .breadcrumb-separator,
    .breadcrumb-list .breadcrumb-item.active {
        color: gray;
    }

/* badge */
.badge {
    display: inline-block;
    font-weight: 600;
    padding: 3px 6px;
    border: 1px solid transparent;
    min-width: 10px;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
}

    .badge.badge-default {
        color: #1c1c1d;
        border: 1px solid gray;
    }

    .badge.badge-primary {
        background-color: #2195f330;
        color: rgb(39, 39, 208);
        border: 1px solid blue;
    }

    .badge.badge-success {
        background-color: #63dd1721;
        color: green;
        border: 1px solid green;
    }

/* pagination  */
.pagination .page-link {
    background-color: transparent;
    border: none;
    box-shadow: none;
    color: black;
}

.page-item.disabled .page-link {
    background-color: transparent;
}

.pagination .page-item.disabled span {
    border: 1px solid black;
    border-radius: 6px;
    background-color: white;
}

.pagination .page-item.active .page-link {
    color: black;
    border-bottom: 3px solid var(--main-color);
    background-color: transparent;
}

.rtl .pagination .bi-chevron-right {
    transform: rotateY(180deg);
    display: block;
}

.rtl .pagination .bi-chevron-left {
    transform: rotateY(180deg);
    display: block;
}

/* custom hero for every page */
.hero {
    position: relative;
    height: 245px;
}

    .hero img {
        height: 100%;
        object-fit: cover;
        position: absolute;
    }

        .hero img + h2 {
            z-index: 8;
            position: absolute;
            color: white;
            top: 50%;
            transform: translateY(-50%);
            left: 5%;
            font-weight: bold;
        }

.rtl .hero img + h2 {
    left: unset;
    right: 5%;
}

/* tell us */

/* footer */
footer {
    background-color: var(--main-color-dark);
}

    footer h5 {
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    }

    footer .social li,
    footer .acceptability li {
        border: 1px solid rgba(0, 135, 72, 0.659);
    }

    footer .logos img {
        width: 70px;
        object-fit: contain;
    }

        footer .logos img:nth-child(3) {
            width: 150px;
        }

    footer a.link:hover {
        text-decoration: underline !important;
        color: var(--link-oncolor-hovered) !important;
    }

    footer .link-hover:hover {
        background-color: rgba(255, 255, 255, 0.2) !important;
    }

.dropdown-toggle::after {
    content: "\f282";
    display: inline-block;
    font-family: bootstrap-icons !important;
    font-style: normal;
    font-weight: 400 !important;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    vertical-align: -0.125em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    padding-right: 5px;
}

.navi > div {
    opacity: 0.7;
    transition: 250ms all ease-in-out;
}

    .navi > div:hover {
        opacity: 1;
    }

.white-bg {
    background-color: #fff;
}

section.main-bg h3,
section.main-bg p.w-sm-100 {
    color: #fff;
}

section.main-bg .main-line {
    background-color: #fff;
}

/* --- Tags --- */

.tag {
    display: flex;
    padding: 4px 8px;
    border-radius: 4px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: fit-content;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 18px;
    margin: 8px 0;
    border-width: 1px;
    border-style: solid;
    border-color: #e5e7eb;
}

.tag-default {
    color: #161616;
    background-color: #f9fafb;
}

.tag-success-outline {
    color: #085d3a;
    background-color: #ecfdf3;
    border-color: #abefc6;
}

    .tag-success-outline i {
        color: #1b8354;
    }

.tag-info-outline {
    color: #1849a9;
    background-color: #eff8ff;
    border-color: #b2ddff;
}

    .tag-info-outline i {
        color: #1849a9;
    }

.tag-warning-outline {
    color: #93370d;
    background-color: #fffaeb;
    border-color: #fedf89;
}

    .tag-warning-outline i {
        color: #93370d;
    }

.tag-danger-outline {
    color: #912018;
    background-color: #fef3f2;
    border-color: #fecdca;
}

    .tag-danger-outline i {
        color: #912018;
    }

.news .col-md-6 {
    max-width: 48% !important;
}

.news .col-lg-4 {
    max-width: 32% !important;
}

.mega-events img {
    max-height: 250px;
    background-color: #f4f4f4;
}

html[lang="ar"] .logo_2030_footer {
  border-right: 1px #ffffff8f solid;
  padding-right: 10px;
}

html[lang="en"] .logo_2030_footer {
  border-left: 1px #ffffff8f solid;
  padding-left: 10px;
}

.footer-logos img + img {
    border-inline-start: 1px solid #ffffff8f;
    padding-inline-start: 10px;
    height: 50px !important;
}

.copyrights {
    font-size: 0.85rem;
}

.megaSlide > div,
.mega-events .swiper-slide > div {
    /* min-height: 440px; */
    /* padding-bottom: 40px !important; */
    flex: 0 0 100%;
}

/* .news-swiper .swiper-slide > div {
  min-height: 630px;
} */

.card-item,
.initiative .box > div {
    position: relative;
}

/* .all-press .card-item {
  min-height: 490px !important;
} */

.swiper-slide > div {
    /* padding-bottom: 40px !important; */
}

    .megaSlide > div a.btn,
    .swiper-slide > div a.btn,
    .card-item a.btn,
    .initiative .box > div a.btn {
        /* position: absolute;
  bottom: 20px;
  padding: 0.375rem 0.75rem; */
    }

.featured .swiper-slide > div a.btn {
    /*bottom: 40px;*/
}

.filter-group {
    max-height: 39px;
}

.text-primary-paragraph {
    color: var(--text-primary-paragraph);
    line-height: 1.8;
}

.text-small {
    font-size: 0.8rem;
}

.navigators .btn {
    background-color: #f4f4f4;
    border-radius: 999px;
}

    .navigators .btn:hover {
        background-color: var(--main-color);
        color: white;
    }

.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
    max-height: auto;
}
/*----------------------------------------------------------------*/

@media (max-width: 1440px) {
    .container {
        max-width: 95%;
    }

    .mega-events .navigation-btn.prev {
        left: -33px !important;
        right: unset;
    }

    .mega-events .navigation-btn.next {
        right: -33px !important;
        left: unset;
    }

    .sa_map {
        zoom: 0.72;
    }

    /* .Featured-News-Controls {
    width: 62% !important;
  } */
}

/* media screens */
@media (max-width: 992px) {
    header .icons span {
        display: none;
    }

    nav.navbar {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .navbar-nav {
        display: none !important;
    }

  .navbar-nav + form {
    display: none !important;
  }

  /* Fix horizontal scroll on small screens */
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .mega-events .navigation-btn.prev,
  .mega-events .navigation-btn.next {
    display: none !important;
  }
}

@media (max-width: 768px) {
    .footer-rights {
        display: flex;
        flex-direction: column;
        align-items: unset;
    }
}

/* phone screen */
@media (max-width: 400px) {
    .custom-container {
        width: 98%;
    }

    aside {
        width: 100%;
    }
}

/**/
.controls {
    direction: ltr;
}

.dropdown-item {
    text-align: justify;
}

.main-rounded.card-item,
.main-rounded.card-item {
    min-height: 100%;
}

.header-70 {
    width: 70%;
}

@media print {
    .no-print,
    .hero,
    .breadcrumb-list,
    footer,
    header,
    .mega-events,
    .suggested-news {
        display: none !important;
    }
}

.dropdown-item.active,
.dropdown-item:active {
    color: #1e2125;
    background-color: #e9ecef;
}

.breadcrumb-list {
    padding-bottom: 1.5rem;
}

.center-text {
    text-align: center;
}

.align-lang-text {
    text-align: left;
}

.rtl .align-lang-text {
    text-align: right;
}

.mega-events .navigation-btn.prev.swiper-button-disabled,
.mega-events .navigation-btn.next.swiper-button-disabled {
    /* display: none; */
    opacity: 0.5;
    cursor: not-allowed;
}

.text-light-breadcrumb li,
.text-light-breadcrumb a {
    color: #f8f9fa !important;
}

.text-light-breadcrumb .container {
    padding-left: 0px;
    padding-right: 0px;
}

.search-list-container {
    scroll-margin-top: 144px;
}

.bold-text {
    font-weight: bold;
}

.langBtn {
    transition: 250ms all ease-in-out;
}

    .langBtn:hover {
        background-color: #1b8354;
        color: #fff !important;
    }

        .langBtn:hover svg {
            filter: invert(1);
        }

.zoomBtn,
.socilaLink {
    transition: 250ms all ease-in-out;
}

    .zoomBtn:hover {
        background-color: #1b8354;
    }

    .socilaLink:hover i {
        color: #1b8354;
    }

    .zoomBtn:hover i {
        filter: invert(1);
    }

.all-initiative:hover,
#exportBtn:hover,
#filterByYear:hover {
    background-color: #074d31;
    color: #fff;
    border: 1px solid #fff;
}

.share span img {
    padding: 8px;
    border-radius: 4px;
    transition: 250ms all ease-in-out;
}

    .share span img:hover {
        background-color: #ffffff;
    }

.digital-stamp-card {
    padding: 0px 32px;
    background: #f3f4f6;
}

@media (max-width: 768px) {
    .digital-stamp-card {
        padding: 8px 16px;
    }
}

.digital-stamp-card .digital-stamp-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 768px) {
    .digital-stamp-card .digital-stamp-header {
        flex-wrap: wrap;
    }
}

.digital-stamp-card .digital-stamp-header h6 {
    color: #161616;
    font-size: 14px;
}

.digital-stamp-card .digital-stamp-header .btn-digital-stamp-card {
    cursor: pointer;
}

@media (max-width: 768px) {
    .digital-stamp-card .digital-stamp-header .btn-digital-stamp-card {
        flex: 100%;
        margin-right: 33px;
    }
}

.digital-stamp-card .digital-stamp-header .btn-digital-stamp-card span {
    color: #1b8354;
    font-size: 14px;
}

.digital-stamp-card .digital-stamp-header .btn-digital-stamp-card img {
    transition: 0.3s;
}

.digital-stamp-card .digital-stamp-header.open .btn-digital-stamp-card img {
    transform: rotate(180deg);
}

.digital-stamp-card .accordion-button:not(.collapsed)::after {
    filter: grayscale(1) contrast(2);
}

.accordion-button.collapsed::after {
    transform: rotate(0deg) !important;
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(180deg) !important;
}

.digital-stamp-card .accordion .accordion-button {
    width: fit-content;
    background-color: transparent;
    box-shadow: none !important;
}

.digital-stamp-card .digital-stamp-body {
    padding-top: 40px;
    padding-bottom: 32px;
    /* display: none; */
}

    .digital-stamp-card .digital-stamp-body .digital-stamp-container {
        margin-bottom: 32px;
        display: flex;
        gap: 32px;
    }

@media (max-width: 768px) {
    .digital-stamp-card .digital-stamp-body .digital-stamp-container {
        flex-direction: column;
    }
}

.digital-stamp-card .digital-stamp-body .digital-stamp-container .box {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

    .digital-stamp-card .digital-stamp-body .digital-stamp-container .box h6 {
        margin-bottom: 12px;
        color: #161616;
        font-size: 18px;
    }

    .digital-stamp-card .digital-stamp-body .digital-stamp-container .box .green-text {
        color: #1b8354;
    }

    .digital-stamp-card .digital-stamp-body .digital-stamp-container .box p {
        color: #384250;
        font-size: 16px;
    }

.digital-stamp-card .digital-stamp-body .stamp-link-box {
    padding: 8px 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 8px;
    background: #fff;
}

    .digital-stamp-card .digital-stamp-body .stamp-link-box p {
        color: #161616;
        font-size: 16px;
    }

    .digital-stamp-card .digital-stamp-body .stamp-link-box a {
        color: #1b8354;
        font-size: 16px;
        text-decoration: underline;
    }

/* html[dir="rtl"] .mega-events .swiper-pagination {
  display: flex;
  flex-direction: row-reverse;
} */

/* .mega-events-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
} */

html[dir="rtl"] .mega-events-controls {
    flex-direction: row-reverse;
}

#results_panel {
    display: flex;
    /* gap: 20px; */
    align-items: stretch;
}

.card-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
    flex: 1;
}

.dropdown-menu {
    z-index: 1 !important;
}

img.object-fit-cover {
    aspect-ratio: 1;
    background-color: #fff;
    object-fit: contain !important;
}

@media (max-width: 768px) {
    [dir="ltr"] .digital-stamp-card .digital-stamp-header .btn-digital-stamp-card {
        padding-top: 2px;
        padding-bottom: 2px;
        margin-right: 0px;
        margin-left: 0px;
    }

        [dir="ltr"] .digital-stamp-card .digital-stamp-header .btn-digital-stamp-card::after {
            margin-right: unset;
            margin-left: unset;
        }
}

/* @import url("./resposive.css"); */

.parentService {
    height: 280px !important;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Keep this */
}

    .parentService .icon {
        height: 35px !important;
        flex-shrink: 0; /* Prevent icon from shrinking */
        margin-bottom: 10px;
    }

    .parentService .service-title {
        margin-top: 0 !important;
        margin-bottom: 5px !important;
        font-weight: bold;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        flex-shrink: 0; /* Prevent title from shrinking */
        min-height: 0; /* Important for flex items */
        /*    width: 200px;*/
        height: 1.8rem !important;
    }

    .parentService .service-description p {
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        line-height: 1.4rem !important;
        margin-bottom: 1rem !important;
        word-wrap: break-word;
        word-break: break-word;
        hyphens: auto;
        flex: 1 1 auto;
        min-height: 0;
    }

    .parentService .d-flex {
        flex-shrink: 0; /* Prevent tags from shrinking */
    }

    .parentService .service-actions {
        flex-shrink: 0; /* Prevent button from shrinking */
        margin-top: auto; /* Push to bottom */
        flex-direction: column;
    }

.service-metadata div {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.4 !important;
    margin-bottom: 0.5rem !important;
    word-wrap: break-word;
    word-break: break-word; /* Force break long words */
    hyphens: auto;
    flex: 1 1 auto; /* Take available space but allow shrinking */
    min-height: 0; /* Important for webkit-box */
}

.content {
    display: -webkit-box;
    /*    -webkit-line-clamp: 3 !important;*/
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.8 !important;
    margin-bottom: 1rem !important;
    word-wrap: break-word;
    word-break: break-word; /* Force break long words */
    hyphens: auto;
    flex: 1 1 auto; /* Take available space but allow shrinking */
    min-height: 0; /* Important for webkit-box */
}

.service-details-title {
    -webkit-justify-content: inherit;
    justify-content: inherit;
    flex: 9 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    /*    line-height: 1.4 !important;*/
    /*    margin-bottom: 1rem !important;*/
    word-wrap: break-word;
    word-break: break-word; /* Force break long words */
    hyphens: auto;
    flex: 1 1 auto; /* Take available space but allow shrinking */
    min-height: 0; /* Important for webkit-box */
}



.service-btn {
    flex: 2;
    justify-content: flex-end !important;
    display: flex;
    align-items: center !important;
}

.service-item {
    /*    height: 300px !important;*/
    -webkit-justify-content: inherit;
    -webkit-line-clamp: 3 !important;
    justify-content: inherit;
    flex: 13 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.4 !important;
    margin-bottom: 1rem !important;
    word-wrap: break-word;
    word-break: break-word; /* Force break long words */
    hyphens: auto;
    flex: 1 1 auto; /* Take available space but allow shrinking */
    min-height: 0; /* Important for webkit-box */
}

.page-rating-widget {
/*    margin: 2rem 0;*/
    padding-block: 1.5rem;
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
}

.rating-container {
    max-width: 1200px;
    margin: 0 auto;
}

.rating-question {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.rating-question-content {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: baseline;
}

.rating-title {
/*    margin: 0 0 1rem 0;*/
    font-size: 1.125rem;
/*    font-weight: 600;*/
    color: #1f2937;
}

.rating-buttons {
    display: flex;
    gap: 0.5rem;
/*    margin-bottom: 1rem;*/
}

.rating-reasons {
    margin-top: 1.5rem;
    margin-block: 1.5rem;
}

.reasons-title {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    font-weight: 500;
    color: #1f2937;
}

.reasons-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-direction: column;
}

.reason-chip {
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    font-size: 0.875rem;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.2s;
}

.reason-chip:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

.reason-chip.selected {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
}

.additional-comment {
    margin: 1.5rem 0;
}

.additional-comment label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #4b5563;
}

.additional-comment textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    font-size: 0.875rem;
    resize: vertical;
}

.rating-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.rating-success {
    display: flex;
    align-items: center;
    gap: 0.75rem;
/*    padding: 1rem;*/
/*    background: #d1fae5;*/
    border-radius: 6px;
    color: black;
}

.rating-success .icon {
    color: #10b981;
}

.rating-success p {
    margin: 0;
    font-weight: 500;
}

.rating-stats {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.stats-bar {
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.stats-positive {
    height: 100%;
    background: #10b981;
    transition: width 0.3s ease;
}

.stats-text {
    font-size: 0.875rem;
    color: #6b7280;
}

.stats-text #stats-percentage {
    font-weight: 600;
    color: #1f2937;
}

.stats-total {
    margin-left: 0.25rem;
}

/*.btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}*/

/*.btn-primary {
    background: #3b82f6;
    color: white;
}

.btn-primary:hover {
    background: #2563eb;
}

.btn-link {
    background: transparent;
    color: #6b7280;
    text-decoration: none;
}*/

/*.btn-link:hover {
    color: #4b5563;
}*/

/*.icon {
    flex-shrink: 0;
}*/

.form-check-input:checked {
    background-color: var(--main-color);
    border-color: var(--main-color);
}

/* Change focus state */
.form-check-input:focus {
    border-color: var(--main-color);
    box-shadow: 0 0 0 0.25rem rgba(40, 167, 69, 0.25);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.btn-rating:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Container and responsive layout styles */
.page-rating-widget {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.rating-container {
    width: 100%;
    background: #f8f9fa;
    border-radius: 8px;
    box-sizing: border-box;
}

.rating-question-content {
/*    margin-bottom: 1rem;*/
}

.rating-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
/*    margin: 0 0 1rem 0;*/
}

.rating-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
}

.btn-rating {
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.btn-rating.selected {
    background-color: var(--main-color-dark);
}

.btn-rating:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.rating-reasons {
    margin-top: 1rem;
/*    padding-top: 1rem;*/
/*    border-top: 1px solid #dee2e6;*/
}

.reasons-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 1rem 0;
}

.reasons-list {
    margin-bottom: 1rem;
}

.form-check {
    margin-bottom: 0.5rem;
}

.form-check-input {
    margin-right: 0.5rem;
}

.additional-comment {
    margin-top: 1rem;
}

.rating-actions {
    margin-top: 1rem;
}

.rating-success {
    border-radius: 4px;
    color: #155724;
}

/* Animation for loading spinner */
@@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Tablet responsive */
@media (max-width: 768px) {
    .rating-question {
        flex-direction: column;
    }

    .rating-container {
        border-radius: 6px;
    }

    .rating-title {
        font-size: 1.15rem;
    }

    .rating-buttons {
        flex-direction: row;
        gap: 0.75rem;
    }

    .btn-rating {
        width: 100%;
        padding: 0.75rem;
    }

    .reasons-title {
        font-size: 1rem;
    }
}

/* Mobile responsive */
@media (max-width: 576px) {
    .rating-container {
        border-radius: 4px;
    }

    .rating-title {
        font-size: 1.1rem;
/*        margin-bottom: 0.75rem;*/
    }

    .btn-rating {
        padding: 0.625rem;
        font-size: 0.95rem;
    }

    .reasons-title {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
    }

    .form-check {
        margin-bottom: 0.75rem;
    }

    .form-check-label {
        font-size: 0.9rem;
    }

    #submit-rating {
        width: 100%;
        padding: 0.75rem;
    }

    .rating-success {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.5rem;
    }
}

/* Small mobile responsive */
@media (max-width: 400px) {
    .rating-title {
        font-size: 1rem;
    }

    .btn-rating {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
}

/* Ensure proper text wrapping */
.rating-title,
.reasons-title,
.form-check-label {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}