/* ================================
   Fonts
================================== */

/* Arabic font */
@import url("https://fontlibrary.org/en/face/droid-arabic-kufi");

/* Poppins from Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

/* ================================
   Global Typography
================================== */

body {
    font-family: "Poppins", sans-serif !important;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #212529;
    font-size: 16px;
}

/* Arabic / RTL text */
.arabic-font {
    font-family: "DroidArabicKufiRegular", "Droid Arabic Kufi", sans-serif !important;
}

html[lang="ar"] body {
    font-family: "DroidArabicKufiRegular", "Droid Arabic Kufi", sans-serif !important;
    direction: rtl;
    text-align: right;
}
i[class^="ri-"],
i[class*=" ri-"] {
    font-family: "remixicon" !important;
    font-style: normal;
}
/* ================================
   Navbar
================================== */
.fs-16 {
    font-size: 16px;
}
.fs-18 {
    font-size: 18px;
}
/* Show dropdown on hover for desktop */
@media (min-width: 992px) {
    .navbar .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}
:root {
    --bs-primary: #93c641;
    --bs-primary-rgb: 147, 198, 65;
}

/* optional: override hover/focus states */
.btn-primary {
    background-color: #93c641 !important;
    border-color: #93c641 !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #7ca732 !important; /* darker shade */
    border-color: #7ca732 !important;
}
/* ================================
   Links
================================== */
a {
    color: var(--bs-primary);
    text-decoration: none;
}

a:hover {
    color: #7ca732; /* darker shade */
    text-decoration: underline;
}

/* ================================
   Rounded Utilities
================================== */

/* Navbar custom styles */

.navbar .navbar-nav .nav-item .nav-link {
    text-transform: uppercase;
    color: #212529;
    text-decoration: none !important;
}
.navbar .navbar-nav .nav-item .dropdown-menu {
    padding: 20px;
    border-radius: 15px;
}
.navbar .navbar-nav .nav-item .dropdown-menu li {
    border-bottom: 1px solid #e1e1e1;
}
.navbar .navbar-nav .nav-item .dropdown-menu li:last-child {
    border-bottom: 0;
}
.navbar .navbar-nav .nav-item .dropdown-menu .dropdown-item {
    padding: 10px 20px;
    border-radius: 15px;
}
.navbar .navbar-nav .nav-item .dropdown-menu .dropdown-item:hover {
    text-decoration: none;
    background-color: #eaffc8;
}
.navbar .navbar-nav .nav-item .dropdown-menu .dropdown-item:focus {
    color: #000000;
}
[dir="rtl"] .navbar .navbar-nav .nav-item .dropdown-menu .dropdown-item {
    text-align: right !important;
}
.navbar .navbar-nav .nav-item .dropdown-menu li:last-child .dropdown-item {
    border-bottom: 0;
}
.navbar .navbar-nav .nav-item .dropdown-menu li {
    padding: 2px 0;
}

.navbar .navbar-nav .nav-item .dropdown-menu li .dropdown-item:active,
.navbar .navbar-nav .nav-item .dropdown-menu li .dropdown-item.active {
    background-color: #e4e4e4;
    color: #000000;
}

.btn-search,
.btn-lang {
    width: 55px;
    height: 55px;
    background-color: #93c641 !important;
    color: #ffffff !important;

}
.account-btn {
    padding: 14px 25px;
}

/* Home About */
.home-about {
    max-width: 900px;
    margin: 60px auto 50px;
    padding: 100px 0 0;
}

/* Services Overlay */
.services .item {
    width: 100%;
    box-shadow: 0px 0px 10px #47a047;
    transition: ease-in 0.09s;
}
.services .item:hover {
    box-shadow: 0px 0px 14px #1c691c;
}
.services .item .overlay {
    opacity: 0;
    transition: 0.09s;
    transform: scale(0.9);
}
.services .item .overlay .more {
    width: 40px;
    height: 40px;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #93c641;
    color: #fff;
}
.services .item:hover .overlay {
    opacity: 1;
    transform: scale(1);
    padding: 40px 15px;
}
.services .item:hover .overlay .simplebar-wrapper,
.services .item:hover .overlay .simplebar-wrapper .simplebar-mask {
    height: 125px;
}
.services .item {
    width: 20%;
    height: 300px;
}
.services .item .overlay ul {
    margin-left: -20px;
    font-size: 11px;
}
/* Subsidiaries Heading */
.Subsidiaries h2 {
    font-size: calc(1.525rem + 3.3vw); /* Bootstrap display-3 */
    font-weight: 300;
    line-height: 1.2;
}

/* Solution */
.solution {
    background-color: #f7ffeb;
    color: #5c5c5c;
    position: relative;
}

.solution .banner-image {
    position: absolute;
    bottom: 0;
    max-height: 100%;
    width: auto;
    max-width: 55%;
    right:0 !important;
}
[dir="rtl"] .solution .banner-image {
    left: 0 !important;
    right: auto !important;
}

.solution .item-wraper .items {
    padding-bottom: 20px;
}

.solution .item-wraper .items .image {
    min-width: 85px;
    max-width: 85px;
}

/* Subsidiaries Items */
.Subsidiaries .item {
    transition: 0.4s ease-in-out;
    position: relative;
    color: #ffffff;
}

.Subsidiaries .item .sliding-image-on-hover {
    max-width: 600px;
    overflow: hidden;
    transition: max-width 0.4s ease-in-out;
}

.Subsidiaries .item .sliding-image-on-hover .inner {
    white-space: nowrap;
}

.Subsidiaries .item:hover {
    background-color: #f8f9fa !important;
    color: #000000;
}

.Subsidiaries .item:hover .sliding-image-on-hover {
    max-width: 250px;
}

.Subsidiaries .item .more {
    position: absolute;
    bottom: 50px;
    left: 64px;
    color: #000000;
    transition: 0.4s ease-in-out;
    opacity: 0;
}

.Subsidiaries .item:hover .more {
    bottom: 30px;
    opacity: 1;
}

/* Buttons */
.btn-outline-primary {
    border: 1px solid #7ca732;
    color: #000000;
}

.btn-outline-primary:hover {
    background-color: #7ca732;
    color: #ffffff;
}

.btn-outline-white {
    border: 1px solid #ffffff;
    color: #ffffff;
}

.btn-outline-white:hover {
    background-color: #ffffff;
    color: #93c641;
}

.btn-primary:hover {
    background-color: #2b2b2b !important;
}

/* Gradient Background */
.gradient-red-bg {
    background: radial-gradient(circle, #bd2c8d 0%, #78256d 100%);
}
.swiper {
    width: 100%;
}
.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Keeps images proportional */
}
.banner-inner {
    height: 250px;
}

.why-choose .items {
    background-color: #f7ffeb;
    border-color: #92c33e;
    display: flex;
}
.why-choose .items .image {
    min-width: 85px;
    max-width: 85px;
}
ul.list-styleld-disc {
    list-style: disc;
}
ul.list-styleld-disc li {
    list-style: disc;
}

.milestone {
    background-color: #f9f9f9;
}

.news-wraper .image {
    position: relative;
    overflow: hidden;
    height: 250px;
}
.news-wraper .image::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.6),
        rgba(0, 0, 0, 0.3),
        rgba(0, 0, 0, 0)
    );
    z-index: 1;
}
.news-wraper .image .date {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: #ffffff;
    z-index: 2;
}
.news-wraper .line-clamb {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.news-wraper .discription {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
}
.news-wraper .more {
    font-size: 13px;
    padding: 12px 25px;
}

.role {
    background-color: #eaffc8;
    padding: 80px;
}

/* Remove default Swiper arrow icons */
.serviceSwiper .swiper-button-next,
.serviceSwiper .swiper-button-prev {
    width: 45px;
    height: 45px;
    background-color: #000000;
    color: #ffffff;
}
.serviceSwiper .swiper-button-next i,
.serviceSwiper .swiper-button-prev i {
    font-size: 18px;
}
.serviceSwiper .swiper-button-next:hover,
.serviceSwiper .swiper-button-prev:hover {
    background-color: #92c33e;
}
.serviceSwiper .swiper-button-next::after,
.serviceSwiper .swiper-button-prev::after {
    display: none;
}
.serviceSwiper .swiper-slide .discription {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
}
.serviceSwiper .swiper-slide .apply {
    background-color: #7ca732;
    color: #ffffff;
    transition: all;
    padding: 9px 20px;
    transition: 0.2s;
    font-size: 14px;
}

.serviceSwiper .swiper-slide .apply:hover {
    background-color: #000000;
    color: #ffffff;
}
.serviceSwiper .swiper-slide .view {
    border: 1px solid #7ca732;
    color: #000000;
    transition: all;
    padding: 9px 20px;
    transition: 0.2s;
    font-size: 14px;
}
.serviceSwiper .swiper-slide .view:hover {
    background-color: #7ca732;
    color: #ffffff;
    transition: all;
}
.serviceSwiper .swiper-pagination .swiper-pagination-bullet {
    border: 1px solid #7ca732;
}
.serviceSwiper
    .swiper-pagination
    .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: #7ca732;
}

.contact-form {
    margin-top: -300px;
    min-height: 600px;
}
.contact-form .form-control {
    background-color: #fafafa;
    border: 1px solid #dddddd;
    min-height: 53px;
    appearance: auto; /* ✅ show browser default arrow */
    -webkit-appearance: auto;
    -moz-appearance: auto;
}
.contact-form .form-control::placeholder {
    font-style: italic;
    font-size: 13px;
}
.contact-form .btn {
    padding: 12px 20px;
}

.accordation-1 {
}
.accordation-1 .accordion-item {
    background-color: #fafafa;
    border: 1px solid #dddddd;
    border-radius: 15px;
    margin-bottom: 18px;
}
.accordation-1 .accordion-item .accordion-header {
    background-color: transparent;
    border: 0 !important;
    color: #000000;
}
.accordation-1 .accordion-item .accordion-header .accordion-button {
    background-color: transparent;
    font-size: 18px;
}
.accordation-1 .accordion-item .accordion-header .accordion-button:focus {
    box-shadow: none;
}
.accordation-1 .accordion-item .accordion-body {
    font-size: 14px;
    border: 0;
    border: 0 !important;
}
.accordation-1 .accordion-item .accordion-body:focus {
    border: 0;
    border: 0 !important;
}
.accordation-1 .accordion-item .accordion-button:not(.collapsed) {
    border: 0;
    border: 0 !important;
    color: #000000;
}

.field1 {
    border: 1px solid #212529;
    min-height: 53px;
}
.field1::placeholder {
    font-style: italic;
    font-size: 13px;
}
.benifits {
    padding: 60px 100px;
    background-color: #f4f4f4;
}
ul.list-group-2 li {
    font-size: 14px;
    padding: 0 0 45px;
}

ul.bullet-list li {
    padding: 0 0 5px;
}

/* financial */
.financial-wraper .panel {
    width: 225px;
    background-color: #f3f3f3;
}
.financial-wraper .panel ul {
    list-style: none;
}
.financial-wraper .panel ul li {
    list-style: none;
}
.financial-wraper .panel ul li a {
    display: block;
    border-bottom: 1px solid #e6e6e6;
    padding: 15px 45px;
    color: #2b2b2b;
}
.financial-wraper .panel ul li.selected a {
    color: #93c641;
    background-color: #ffffff;
}

.location .btn-1 {
    background-color: #eaffc8;
    transition: 0.5s;
    padding: 20px 20px;
}
.location .btn-1:hover {
    background-color: #93c641;
    color: #ffffff;
}
.location .btn-2 {
    background-color: #f4f0f0;
    transition: 0.5s;
    padding: 20px 20px;
}
.location .btn-2:hover {
    background-color: #000000;
    color: #ffffff;
}
.location .form-control {
    background-color: #fafafa;
    border: 1px solid #dddddd;
    min-height: 53px;
    appearance: auto; /* ✅ show browser default arrow */
    -webkit-appearance: auto;
    -moz-appearance: auto;
}

.frame-1 {
    padding: 0 5%;
}

.explore {
    background-color: #eaffc8;
    padding: 59px 145px;
}
.explore .items {
    list-style: none;
    margin-bottom: 20px;
}
.explore .items .label {
    min-width: 30%;
}
.explore .items .discription {
    border-bottom: 2px solid #b5b5b5;
    font-size: 18px;
    padding: 20px 0;
}

.stay-connect {
}
.stay-connect .icon {
    width: 57px;
    height: 57px;
}

.font-1 {
    font-size: 55px;
}
.font-2 {
    font-size: 45px;
}
/* Chrome, Safari, Edge */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #7ca732;
    border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
    background: #7ca732;
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #7ca732 #f1f1f1;
}

.navbar-toggler:hover .navbar-toggler-icon {
    color: #ffffff !important;
}
.navbar-toggler:focus {
    box-shadow: none;
    border: 0;
    outline: none;
}

#page-loader {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
#page-loader.hide {
    opacity: 0;
    visibility: hidden;
}

#scrollTopBtn {
    transition: opacity 0.3s ease;
}
#scrollTopBtn.show {
    display: block !important;
    opacity: 1;
}
/* Smooth appearance */
#scrollTopBtn {
    transition: opacity 0.3s ease;
}

/* Visible state */
#scrollTopBtn.show {
    display: block !important;
    opacity: 1;
    animation: bounce 2s infinite;
}
.contact-wraper {
    width: 80%;
}
.lightbox-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
}

.lightbox-info h5 {
    font-weight: 600;
}
.lightbox-info p {
    font-size: 0.95rem;
    color: #555;
}
.modal-dialog {
    max-width: 900px;
}

.read-more-wrapper {
    position: relative;
    max-height: 400px;
    overflow: hidden;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        transparent 80%,
        #fff 100%
    );
}

.read-more-wrapper::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent 0%, #fff 100%);
    pointer-events: none;
    z-index: 1;
}

.read-more-btn {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    background: transparent;
    color: #000;
    border: none;
    padding: 8px 16px;
    /* border-radius: 20px; */
    font-size: 12px;
    cursor: pointer;
    z-index: 2;
    font-weight: 400;
}
.our-story h3 {
    font-weight: bold;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    color: #000;
}

/* Scope Everything to the wrapper */
.ir-block-content {
    font-family: inherit;
}

.ir-block-content > h5{
    font-weight: 700;
    padding-bottom: 1.5rem;
}

/* --- Main Outer List --- */
.ir-block-content > ul {
    list-style: none;       /* Remove default bullets */
    margin: 0;
    padding: 0;
    padding-bottom: 1.5rem; /* pb-4 equivalent */
}

/* --- Main List Items (Flex Container) --- */
.ir-block-content > ul > li {
    display: flex;          /* d-flex */
    align-items: flex-start; /* Align icon to top of text */
    font-size: 14px;
    padding: 0 0 45px;
}

.ir-block-content > ul > li:last-child {
    margin-bottom: 0;
}

/* --- The Icon (Created via CSS) --- */
.ir-block-content > ul > li::before {
    content: '';
    display: block;
    width: 40px;            /* Icon Width */
    height: 40px;           /* Icon Height */
    /* Icon Path */
    background-image: url('../images/list-icon.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    flex-shrink: 0;         /* Prevent icon from squishing */
    margin-right: 1rem;     /* Spacing between icon and text (ps-3) */
}

/* --- Text Content Wrapper --- */
/* This targets the div holding the text inside the li */
.ir-block-content > ul > li > div {
    flex-grow: 1;
}

/* --- Typography --- */
.ir-block-content h4 {
    font-weight: 700;       /* fw-bold */
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.ir-block-content h6 {
    font-size: 16px;        /* fs-16 */
    margin-bottom: 0;
    line-height: 1.5;
}
.ir-block-content p {
    font-size: 14px;        /* fs-14 */
    margin-bottom: 0;
    line-height: 1.4;
}

/* --- Nested Service List (Inner UL) --- */
.ir-block-content ul ul {
    list-style: disc;       /* Restore bullets for inner list */
    margin: 0;
    padding-top: 1.5rem;    /* pt-4 */
    padding-left: 1.25rem;
}

.ir-block-content ul ul li {
    display: list-item;     /* Reset flex behavior for inner items */
    padding-bottom: 1.5rem; /* pb-4 */
    margin-bottom: 0;
}

/* No icon for nested items (Resetting ::before) */
.ir-block-content ul ul li::before {
    content: none;
    display: none;
}

.ir-block-content ul ul li strong {
    display: block;
    font-weight: 700;
    padding-bottom: 0.5rem;
    font-size: 1rem;
}

[dir="rtl"] .force-ltr{
    direction: ltr !important;
}

.footer-copyright{
    text-align: left !important;
}
[dir="rtl"] .footer-copyright{
    text-align: right !important;
}
.info-window-content {
    font-size: 14px;
    color: #000000;
    min-width: 200px;
    min-height: 100px;
    height: auto;
    overflow-x: hidden;
}
.info-window-content h3,
.info-window-content h4,
.info-window-content h5,
.info-window-content h6 {
    font-size: 16px;
    margin: 0 0 5px;
}
.info-window-content p {
    margin: 0;
    font-size: 14px;
}


/* Bounce animation */
@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}
@media (max-width: 1400px) {
    .home-about {
        margin: 35px auto 50px;
        padding: 24px 0 0;
    }
    .font-1 {
        font-size: 40px;
    }
    .btn-search,
    .btn-lang {
        width: 46px;
        height: 46px;
    }
    .account-btn {
        padding: 8px 20px;
    }
}
@media (max-width: 1199px) {
    header .navbar-collapse {
        position: fixed;
        top: 70px;
        left: 15px;
        right: 15px;
        z-index: 10;
        background-color: #ffffff;
        border-radius: 15px;
        border: 1px solid #b5b5b5;
        padding: 15px;
    }
    .font-1 {
        font-size: 31px;
    }
    .font-2 {
        font-size: 30px;
    }
    .contact-wraper {
        width: 90%;
    }
    .explore {
        padding: 40px 100px;
    }
}

@media (min-width: 992px) {
    .rounded-lg-pill {
        border-radius: 50rem !important;
    }
    .benifits {
        padding: 40px 50px;
    }

    .rounded-lg-circle {
        border-radius: 50% !important;
    }
    .border-lg-start {
        border-left: 1px solid #dee2e6 !important;
    }
    .border-lg-end {
        border-right: 1px solid #dee2e6 !important;
    }
    .explore {
        padding: 40px 50px;
    }
}

@media (max-width: 768px) {
    .font-1 {
        font-size: 24px;
    }
    .font-2 {
        font-size: 25px;
    }
    .home-about {
        padding: 0px 0 0;
    }
    .solution .item-wraper .items .image {
        min-width: 50px;
        max-width: 50px;
    }
    .services .item {
        width: 20%;
        height: 200px;
    }
    .account-btn {
        width: 40px;
        height: 40px;
        padding: 3px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .role {
        padding: 25px;
    }
    .contact-wraper {
        width: 95%;
    }
    .benifits {
        padding: 40px 20px;
    }
    ul.list-group-2 li {
        padding: 0 0 18px;
    }
    .explore {
        padding: 40px;
    }
    .explore .items .discription {
        font-size: 14px;
    }
    .financial-wraper .panel ul li a {
        padding: 10px 18px;
    }
    .financial-wraper .title {
        font-size: 12px;
        padding-bottom: 5px;
    }
    .financial-wraper .panel {
        width: 120px;
    }
    .ir-block-content > ul > li {
        padding: 0 0 18px;
    }
}
