@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@100;200;300;400;500;600;700&display=swap');

body {
    font-family: "IBM Plex Sans Arabic", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-style: normal;
    font-variant-caps: normal;
    font-variant-ligatures: normal;
    font-variant-numeric: normal;
    font-variant-east-asian: normal;
    font-variant-alternates: normal;
    font-size-adjust: none;
    font-kerning: auto;
    font-optical-sizing: auto;
    font-feature-settings: normal;
    font-variation-settings: normal;
    font-variant-position: normal;
    font-stretch: normal;
    font-size: 22px;

}


/*** Spinner Start ***/

body {
    background-color: #edf1f5;
    font-family: "IBM Plex Sans Arabic", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    font-family: "IBM Plex Sans Arabic", sans-serif;
}

h1 {
    color: #ddd;
}

span {
    color: #007bff;
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .8s ease-out, visibility 0s linear .0s;
    visibility: visible;
    opacity: 1;
}

.wow,
.animated {
    animation-duration: 2s !important;
}


/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}

.back-to-top:hover {
    background: var(--bs-dark);
    color: var(--bs-primary);
}

h1,
h2,
h3,
.h1,
.h2,
.h3 {
    font-weight: 700 !important;
}

h1 {
    color: #edf1f5;
}

.wow h2 {
    color: #edf1f5;
}

h4,
h5,
h6,
.h4,
.h5,
.h6 {
    font-weight: 600 !important;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.custom-dropdown a {
    color: #223368;
    /* Set link color */
    text-decoration: none;
    /* Remove underline */
    padding: 10px;
    /* Add padding for spacing */
    display: block;
    /* Make links block-level for better spacing */
}

.fa-quote-left {
    color: #007BFF;
    font-weight: bolder;
}

.fa-quote-right {
    color: #007BFF;
    font-weight: bolder;
}

.dropdown-menu a {
    color: #223368;
}


/*** Button Start ***/

.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
    margin: 5px;
    /* إضافة مسافة */
}

.btn-md-square {
    width: 46px;
    height: 46px;
    margin: 5px;
    /* إضافة مسافة */
}

.btn-lg-square {
    width: 58px;
    height: 58px;
    margin: 5px;
    /* إضافة مسافة */
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary:hover {
    color: #007bff;
    background-color: #030f27;
}

.btn.btn-dark:hover {}


/*** Button End ***/


/*** Topbar Start ***/

.topbar .topbar-inner {
    height: 45px;
    padding: 10px 15px;
}

.topbar a,
.topbar a i {
    transition: 0.5s;
}

.topbar a:hover,
.topbar a i:hover {
    color: #007bff;
}


/*** Topbar End ***/


/*** Navbar Start ***/
.py-3 {
    margin-top: 1rem !important;
    padding-bottom: 1rem !important;
}
.py-5 {
     padding-top: 0rem !important; 
     padding-bottom:0rem !important; 
}
.navbar {
    direction: rtl;
    border-bottom: 1px solid rgba(255, 255, 255, .5);
}

.navbar .navbar-nav .nav-link {
    padding: 12px;
    color: #007BFF;
    font-size: 15px;
    font-weight: bolder;
    transition: .5s;
    font-family: "IBM Plex Sans Arabic", sans-serif;
}

.navbar .logo img {
    height: 150px;
    width: 150px;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.fixed-top.bg-white .navbar .navbar-nav .nav-link:hover,
.fixed-top.bg-white .navbar .navbar-nav .nav-link.active {
    color: #007BFF;
}

.navbar .dropdown-toggle::after {
    border: none;

    font-weight: 700;
    font-family: "IBM Plex Sans Arabic", sans-serif;

    vertical-align: middle;
    margin-leftرر: 8px;
}

img {
    height: auto;
    max-width: 100%;
}

@media (min-width: 992px) {
    .navbar-collapse {
        background: transparent !important;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        background: var(--bs-light) !important;
        transition: .5s;
        opacity: 1;
    }
}

.navbar-toggler {
    background: var(--bs-secondary);
    color: var(--bs-light) !important;
    padding: 10px 20px;
    box-shadow: none !important;
}


/*** Navbar End ***/


/*** Hero Header ***/


/*** Hero Header ***/


/*** Hero Header ***/


/*** Hero Header ***/

.hero-header {
  
    padding-top: 10rem;
    padding-bottom: 6rem;
    background: url("../img/Top.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    /* تأكد من المسار الصحيح للصورة */
    background-size: cover;
    /* استخدم contain لعرض الصورة بالكامل */
    position: relative;
    direction: rtl;
}

.hero-content {
    position: relative;
}

.text-box {
    background-color: rgba(0, 0, 0, 0.5);
    /* لون مربع ثابت مع شفافية */
    padding: 20px;
    border-radius: 10px;
    /* زوايا دائرية للمربع */
    position: relative;
    /* لتحديد موضع الحدود */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    /* تأثير ظل شفاف */
}

.hero-content {
    position: relative;
}

.text-box {
    padding: 20px;
    border-radius: 0;
    /* إزالة الحواف من المربع */
}

.main-title {
    color: white;
}

.text-box::before {
    content: '';
    position: absolute;
    top: -5px;
    /* الزاوية العليا اليمنى */
    right: -5px;
    /* الزاوية العليا اليمنى */
    width: 40px;
    /* عرض الحدود */
    height: 40px;
    /* ارتفاع الحدود */
    border-top: 10px solid #007bff;
    /* الحدود العلوية */
    border-right: 10px solid #007bff;
    /* الحدود الجانبية */
}

.text-box::after {
    content: '';
    position: absolute;
    bottom: -5px;
    /* الزاوية السفلى اليسرى */
    left: -5px;
    /* الزاوية السفلى اليسرى */
    width: 40px;
    /* عرض الحدود */
    height: 40px;
    /* ارتفاع الحدود */
    border-bottom: 10px solid #007bff;
    /* الحدود السفلية */
    border-left: 10px solid #007bff;
    /* الحدود الجانبية */
}

.text-box-goal {
    padding: 20px;
    border-radius: 0;
 

    direction: rtl;
}

.text-box-goal::before {
    content: '';
    position: absolute;
    top: -5px;
    /* الزاوية العليا اليمنى */
    right: -5px;
    /* الزاوية العليا اليمنى */
    width: 40px;
    /* عرض الحدود */
    height: 40px;
    /* ارتفاع الحدود */
    border-top: 10px solid #007bff;
    /* الحدود العلوية */
    border-right: 10px solid #007bff;
    /* الحدود الجانبية */
}

.text-box-goal::after {
    content: '';
    position: absolute;
    bottom: -5px;
    /* الزاوية السفلى اليسرى */
    left: -5px;
    /* الزاوية السفلى اليسرى */
    width: 40px;
    /* عرض الحدود */
    height: 40px;
    /* ارتفاع الحدود */
    border-bottom: 10px solid #007bff;
    /* الحدود السفلية */
    border-left: 10px solid #007bff;
    /* الحدود الجانبية */
}


/* استعلامات الوسائط */

@media (max-width: 768px) {
    .hero-header {
        padding-top: 5rem;
        /* تقليل الحشوة في الشاشات الصغيرة */
        padding-bottom: 5rem;
    }
}


/* استعلامات الوسائط */

@media (max-width: 768px) {
    .hero-header {
        padding-top: 5rem;
        /* تقليل الحشوة في الشاشات الصغيرة */
        padding-bottom: 3rem;
    }
}

ul {
    display: table-row;
    list-style: none;
}

li {
    display: table-row;
    color: #ddd;
}

.text-box-goal li::before {
    display: table-cell;
    text-align: right;
    content: "+";
    font-size: 1.5em;
    font-weight: bold;
    color: #007BFF;
}


/* System page section hero */

.page-title {
   /*  margin-bottom: 9rem; */
    padding-top: 10rem;
    padding-bottom: 6rem;
    background: url(../img/Top.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    position: relative;
    direction: rtl;
}

.page-title h2 {
    font-size: 42px;
    color: #f1ebeb;
}

.page-title .breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    justify-content: center;
    padding: 0;
    margin: 0;
    font-size: 16px;
    font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
    padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
    content: "/";
    display: inline-block;
    padding-right: 10px;
    color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.breadcrumbs a {
    color: #007BFF;
}


/*--------------------------------------------------------------
  # Global Sections
  --------------------------------------------------------------*/

section,
.section {
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 60px 0;
    scroll-margin-top: 82px;
    overflow: clip;
}

@media (max-width: 1199px) {

    section,
    .section {
        scroll-margin-top: 66px;
    }
}


/* Non-essential */

.content-container {
    position: relative;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    direction: rtl;
}

.list-container {
    width: 80%;
}

.list-container ul {
    margin: 0;
    padding: 0;
    text-align: center;
}

.list-container li {
    color: #030f27;
    text-align: center;
}

.list-container li:hover {
    background-color: rgba(256, 256, 256, 0.1);
}

.list-container li:before:hover {
    background-color: rgba(256, 256, 256, 0.1);
}

.list-containerli:not(:first-of-type)::before {
    padding-top: 12px;
}

.hero-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* اللون الأسود مع شفافية 50% */
    z-index: 1;
    /* ضع الطبقة فوق الصورة */
}

.hero-header .hero-header-inner {
    padding: 3rem;
    background: #007bff;
}

@media (max-width: 992px) {
    .hero-header {
        padding-top: 12rem;
    }
}

.hero-header .breadcrumb-item {
    font-size: 18px;
}


/*** Hero Header ***/

.section-title {
    text-align: center;
    
    position: relative;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    position: relative;
}

.section-title h2:before,
.section-title h2:after {
    content: "";
    width: 50px;
    height: 2px;
    background: var(--accent-color);
    display: inline-block;
}

.section-title h2:before {
    margin: 0 15px 10px 0;
}

.section-title h2:after {
    margin: 0 0 10px 15px;
}

.section-title p {
    margin-bottom: 0;
}

.line-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.line-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    /* مسافة أسفل العنوان */
}

.line {
    width: 150px;
    /* عرض الخط */
    height: 2px;
    /* سمك الخط */
    background-color: #007BFF;
    /* لون أزرق */
    margin: 0 10px;
    /* تقليل المسافة بين الخط والعنوان */
    border-radius: 5px;
    /* زوايا دائرية للخط */
}

h2 {
    margin: 0;
    /* إزالة الهوامش الافتراضية */
    font-size: 28px;
    /* حجم الخط */
    font-weight: bold;
    /* سمك الخط */
    color: #333;
    /* لون النص */
    line-height: 1.5;
    /* تقليل ارتفاع السطر */
}

h1 {
    color: #333;
    /* لون النص */
}

.description {
    font-size: 16px;
    /* حجم النص */
    color: #666;
    /* لون النص */
    max-width: 600px;
    /* عرض أقصى للنص */
    margin: 0 auto;
    /* توسيط النص */
    line-height: 1.5;
    /* ارتفاع السطر */
}

.whoweare {
    text-align: center;
}


/*** About Start ***/

.about a.btn.btn-light:hover {
    background: var(--bs-dark) !important;
    color: var(--bs-primary) !important;
    border: 0;
}

.mission-vision {}

.mission-vision .mission {
    padding: 50px;
}

@media screen and (max-width: 940px) {
    .mission-vision .mission {
        padding: 30px 10px;
    }
}

.mission-vision .vision {
    padding: 50px;
}

@media screen and (max-width: 940px) {
    .mission-vision .vision {
        padding: 30px 10px;
    }
}

.mission-vision .mv-det {
    margin: auto;
}

.mission-vision h1,
.mission-vision p {
    text-align: right;
    padding-right: 20px;
    /* تحريك النص إلى اليسار بمقدار 100 بكسل */
}

.text-box-goal {
    padding: 20px;
    /* إضافة مسافة داخلية */
    margin-top: 20px;
    /* إضافة مسافة خارجية من الأعلى */
}

.list-container {
    margin-top: 10px;
    /* مسافة فوق القائمة */
}

@media screen and (max-width: 600px) {
    .text-box-goal {
        padding: 10px;
        /* تقليل المساحة الداخلية */
        margin-top: 20px;
        /* تقليل المسافة الخارجية من الأعلى */
    }

    .list-container li {
        font-size: 14px;
        /* تقليل حجم الخط */
    }
}

.custom-container {
    direction: rtl;
}

.custom-row {
    display: flex;
    flex-wrap: wrap;
    /* يسمح للعناصر بأن تلتف */
}

.custom-img {
    padding: 20px;
    /* إضافة padding */
    /* height: 600px; */
    /* width: 600px;*/
    border: 1px solid white;
    /* حدود بيضاء */
}

.custom-text-container {
    display: flex;
    flex-direction: column;
    /* يجعل النص يتكدس عموديًا */
}

.custom-col {
    flex: 1;
    /* يجعل الأعمدة تأخذ نفس المساحة */
    min-width: 300px;
    /* الحد الأدنى لعرض العمود */
}

.custom-event {
    position: relative;
    width: 100%;
    padding: 45px 0 15px 0;
}

.custom-event .event-item {
    margin-bottom: 30px;
    background: #f3f6ff;
}


/* باقي الأنماط كما هي */

@media (max-width: 768px) {
    .custom-event .event-content {
        flex-direction: column;
    }
}


/*******************************/


/********** Event CSS **********/


/*******************************/

.event {
    position: relative;
    width: 100%;
    padding: 45px 0 15px 0;
}

.event .event-item {
    margin-bottom: 30px;
    background: #f3f6ff;
    border-radius: 8px;
    /* إضافة زوايا دائرية */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    /* إضافة ظل */
}

.event .event-item img {
    width: 100%;
    border-top-left-radius: 8px;
    /* زوايا دائرية للصورة */
    border-top-right-radius: 8px;
    /* زوايا دائرية للصورة */
}

.event .event-content {
    padding: 30px;
    display: flex;
}

.event .event-meta {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.event .event-meta p {
    position: relative;
    margin-bottom: 8px;
    padding-bottom: 8px;
    white-space: nowrap;
    border-bottom: 1px solid rgba(0, 0, 0, .15);
}

.event .event-meta p:last-child {
    border-bottom: none;
}

.event .event-meta i {
    color: #4a4c70;
    width: 25px;
}

.event .event-text {
    position: relative;
    margin-left: 20px;
    padding-left: 20px;
}

.event .event-text::before {
    position: absolute;
    content: "";
    width: 1px;
    height: calc(100% - 5px);
    top: 6px;
    left: 0;
    background: rgba(0, 0, 0, .15);
}

.event .event-text::after {
    position: absolute;
    content: "";
    width: 3px;
    height: 40px;
    top: calc(50% - 20px);
    left: -1px;
    background: #007BFF;
}

.event .event-text h3 {
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 10px;
}

.event .event-text p {
    margin: 0;
}

.event .btn.btn-custom {
    margin-top: 20px;
    padding: 8px 30px;
    background-color: #007BFF;
    /* لون خلفية الزر */
    color: #fff;
    /* لون النص في الزر */
    border-radius: 5px;
    /* زوايا دائرية للزر */
    transition: background-color 0.3s;
    /* تأثير عند التمرير */
}

.event .btn.btn-custom:hover {
    background-color: #007BFF;
    /* تغيير اللون عند التمرير */
}

@media (max-width: 575.98px) {
    .event .event-content {
        flex-direction: column;
    }

    .event .event-meta {
        flex-direction: row;
    }

    .event .event-meta p {
        font-size: 14px;
        padding-right: 7px;
    }

    .event .event-meta p:last-child {
        border-bottom: 1px solid rgba(0, 0, 0, .15);
    }

    .event .event-meta i {
        width: 18px;
    }

    .event .event-text {
        margin: 0;
        padding: 0;
    }

    .event .event-text::before,
    .event .event-text::after {
        display: none;
    }
}


/*** About End ***/

.about {}

img {
    height: auto;
    max-width: 100%;
    width: 100%;
    height: 100%;
}

.container-fluid .container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* goals */

.section-title {
  
    /* هوامش داخلية للقسم */
    border-radius: 8px;
    /* زوايا مستديرة */
  
    /* هوامش سفلية */
    display: flex;
    /* استخدام flexbox */
    flex-direction: column;
    /* ترتيب العناصر عموديًا */
    align-items: center;
    /* محاذاة العناصر في المنتصف */
}

.line-container {
    display: flex;
    /* استخدام flexbox */
    align-items: center;
    /* محاذاة العناصر في المنتصف */
}

.line {
    flex: 1;
    /* جعل الخط يمتد */
    height: 2px;
    /* سمك الخط */
    background-color: #007bff;
    /* لون الخط الأزرق */
    margin: 0 1rem;
    /* هوامش جانبية */
}

h2 {
    font-size: 2rem;
    /* حجم الخط */
    color: #000;
    /* لون النص */
    text-align: center;
    /* محاذاة النص إلى المنتصف */
}

.text-box-goal {
    text-align: right;
    /* محاذاة النص إلى اليمين */
    margin-top: 1rem;
    /* هوامش علوية */
    width: 100%;
    /* جعل الحاوية تأخذ عرض كامل */
}

.list-container {
    max-width: 1000px;
    /* عرض أقصى للحاوية */
    margin: 0 auto;
    /* محاذاة في المنتصف */
    padding: 0 1rem;
    /* هوامش جانبية */
}

ul {
    list-style-type: none;
    /* إزالة الرموز من القائمة */
    padding: 0;
    /* إزالة الهوامش */
}

li {
    padding: 1rem;
    /* هوامش داخلية لكل عنصر */
    border-radius: 4px;
    /* زوايا مستديرة */
}

blockquote {
    margin: 0;
    /* إزالة الهوامش */
}

@media (max-width: 768px) {
    h2 {
        font-size: 1.5rem;
        /* تقليل حجم الخط في الشاشات الصغيرة */
    }

    .list-container {
        padding: 0;
        /* إزالة الهوامش الجانبية في الشاشات الصغيرة */
    }

    li {
        font-size: 0.9rem;
        /* تقليل حجم الخط لعناصر القائمة */
    }
}


/*** Activities Start ***/

.activities {
    background-color: white;
}

.activities .activities-item {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 45px rgba(12, 18, 20, .08);
    transition: 0.5s;
}

.activities .activities-item:hover {
    background: var(--bs-primary) !important;
    color: var(--bs-dark) !important;
}

.activities .activities-item:hover a {
    background: var(--bs-light) !important;
    color: var(--bs-dark) !important;
}

.activities .activities-item:hover a:hover {
    background: var(--bs-dark) !important;
    color: var(--bs-primary) !important;
}

.events {
    background-color: rgba(255, 255, 255, 0.5);
}

.container-fluid.event {
    display: flex;
    /* استخدام flexbox */
    flex-wrap: wrap;
    /* السماح للعناصر باللف إلى السطر التالي */
    justify-content: space-between;
    /* توزيع المساحة بين العناصر */
    padding: 2rem;
    /* ضبط الهوامش داخل القسم */
    border-radius: 8px;
    /* زوايا مستديرة */
}

.container-fluid.event a {
    display: inline-block;
    /* عرض الرابط ككتلة */
    color: #223368;
    /* لون النص */
    font-size: 1.5rem;
    /* حجم الخط */
    text-decoration: none;
    /* إزالة التسطير */
    margin-top: 1rem;
    /* هوامش علوية */
}

.container-fluid.event a:focus,
.container-fluid.event a:active {
    text-decoration: underline;
    /* إضافة خط تحت النص عند النقر */
}


/*** Activities End ***/

.card p {
    direction: rtl;
    font-size: 17px;
    font-weight: 400;
    line-height: 20px;
    color: #666;
}

.card h5 {
    direction: rtl;
}

.card p.small {
    font-size: 14px;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.card {}

.card1 {
    text-decoration: none;
    color: inherit;
    /* الوراثة من العنصر الأب */
}

.go-corner {
    position: relative;
    text-align: right;
}

.go-arrow {
    font-size: 24px;
    color: #007bff;
    /* لون السهم */
}

.go-corner {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 32px;
    height: 32px;
    overflow: hidden;
    top: 0;
    right: 0;
    background-color: #007bff;
    border-radius: 0 4px 0 32px;
}

.go-arrow {
    margin-top: -4px;
    margin-right: -4px;
    color: white;
    font-family: "IBM Plex Sans Arabic", sans-serif;
}

.card1 {
    display: block;
    position: relative;
    max-width: 262px;
    background-color: #f2f8f9;
    border-radius: 4px;
    padding: 32px 24px;
    margin: 12px;
    text-decoration: none;
    z-index: 0;
    overflow: hidden;
}

.card1:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -16px;
    right: -16px;
    background: #007bff;
    height: 32px;
    width: 32px;
    border-radius: 32px;
    transform: scale(1);
    transform-origin: 50% 50%;
    transition: transform 0.25s ease-out;
}

.card1:hover:before {
    transform: scale(21);
}

.card1:hover p {
    transition: all 0.3s ease-out;
    color: rgba(255, 255, 255, 0.8);
}

.card1:hover h3 {
    transition: all 0.3s ease-out;
    color: #fff;
}

.card2 {
    display: block;
    top: 0px;
    position: relative;
    max-width: 262px;
    background-color: #f2f8f9;
    border-radius: 4px;
    padding: 32px 24px;
    margin: 12px;
    text-decoration: none;
    z-index: 0;
    overflow: hidden;
    border: 1px solid #f2f8f9;
}

.card2:hover {
    transition: all 0.2s ease-out;
    box-shadow: 0px 4px 8px rgba(38, 38, 38, 0.2);
    top: -4px;
    border: 1px solid #ccc;
    background-color: white;
}

.card2:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -16px;
    right: -16px;
    background: #007bff;
    height: 32px;
    width: 32px;
    border-radius: 32px;
    transform: scale(2);
    transform-origin: 50% 50%;
    transition: transform 0.15s ease-out;
}

.card2:hover:before {
    transform: scale(2.15);
}

.card3 {
    display: block;
    top: 0px;
    position: relative;
    max-width: 262px;
    background-color: #f2f8f9;
    border-radius: 4px;
    padding: 32px 24px;
    margin: 12px;
    text-decoration: none;
    overflow: hidden;
    border: 1px solid #f2f8f9;
}

.card3 .go-corner {
    opacity: 0.7;
}

.card3:hover {
    border: 1px solid #007bff;
    box-shadow: 0px 0px 999px 999px rgba(255, 255, 255, 0.5);
    z-index: 500;
}

.card3:hover p {
    color: #00838d;
}

.card3:hover .go-corner {
    transition: opactiy 0.3s linear;
    opacity: 1;
}

.card4 {
    display: block;
    top: 0px;
    position: relative;
    max-width: 262px;
    background-color: #fff;
    border-radius: 4px;
    padding: 32px 24px;
    margin: 12px;
    text-decoration: none;
    overflow: hidden;
    border: 1px solid #ccc;
}

.card4 .go-corner {
    background-color: #007bff;
    height: 100%;
    width: 16px;
    padding-right: 9px;
    border-radius: 0;
    transform: skew(6deg);
    margin-right: -36px;
    align-items: start;
    background-image: linear-gradient(-45deg, #8f479a 1%, #dc2a74 100%);
}

.card4 .go-arrow {
    transform: skew(-6deg);
    margin-left: -2px;
    margin-top: 9px;
    opacity: 0;
}

.card4:hover {
    border: 1px solid #cd3d73;
}

.card4 h3 {
    margin-top: 8px;
}

.card4:hover .go-corner {
    margin-right: -12px;
}

.card4:hover .go-arrow {
    opacity: 1;
}


/*** Events Start ***/

.event {
    direction: rtl;
}

.event .event-item a {
    transition: 0.5s;
}

.event-item img {
    width: 100%;
    /* يجعل الصورة تأخذ عرض العنصر بالكامل */
    height: auto;
    /* يحافظ على نسبة العرض إلى الارتفاع */
    max-height: 300px;
    /* يمكنك ضبط الحد الأقصى للارتفاع حسب الحاجة */
    object-fit: cover;
    /* يضمن أن الصورة تملأ المساحة المحددة دون تشويه */
    transition: 0.5s;
    /* إضافة تأثير التحويل */
}

.event-item a:hover {
    background: var(--bs-dark);
    color: var(--bs-primary);
    opacity: 0.5s;
}


/*** Events End ***/


/*** Sermon Start ***/

.sermon {
    background-color: #edf1f5;
}

.sermon .sermon-item {
    height: 100%;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.sermon-item img {
    transition: 0.5s;
}

.sermon-item:hover img {
    transform: scale(1.2)
}

.sermon-item .sermon-meta a,
.sermon-item .sermon-meta a i {
    transition: 0.5s;
}

.sermon-item .sermon-meta a:hover,
.sermon-item .sermon-meta a i:hover {
    color: var(--bs-primary) !important;
}


/*** Sermon End ***/


/*** Blog Start ***/

.blog-item {
    height: 100%;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.blog-item img {
    transition: 0.5s;
}

.blog-item:hover img {
    transform: scale(1.2)
}

.blog-item .blog-meta a,
.blog-item .blog-meta a i {
    transition: 0.5s;
}

.blog-item .blog-meta a:hover,
.blog-item .blog-meta a i:hover {
    color: var(--bs-primary) !important;
}


/*** Blog End ***/


/*** Team Start ***/

.team {
    direction: rtl;
    background-color: rgba(255, 255, 255, 0.5);
    ;
}

.team .line {
    max-width: 150px;
    flex: 1;
    height: 2px;
    background-color: #007bff;
    margin: 0 1rem;
}

.team .team-img {
    height: 100%;
    padding: 25px;
    background: var(--bs-white);
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.team .team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team .team-item {
    position: relative;
    overflow: hidden;
}

.team .team-item img {
    transition: 0.5s;
}

.team .team-item:hover img {
    transform: scale(1.2);
}

.team .team-item .team-content {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding: 15px;
    transform: translateX(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.5s;
}

.team .team-item:hover .team-content {
    opacity: 1;
}


/*** Team End ***/


/*******************************/


/********* Service CSS *********/


/*******************************/

.service {
    position: relative;
    width: 100%;
    padding: 45px 0 15px 0;
}

.service .service-item {
    position: relative;
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
    direction: rtl;
    background-color: #ffff;
}

.service .service-img {
    position: relative;
    overflow: hidden;
}

.service .service-img img {
    width: 500px;
    height: 450px;
}

.service .service-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(17, 49, 119, 0.7);
    transition: .5s;
    opacity: 0;
}

.service .service-item:hover .service-overlay {
    opacity: 1;
}

.service .service-overlay p {
    margin: 0;
    color: #ffffff;
}

.service .service-text {
    display: flex;
    align-items: center;
    height: 60px;
    background: #ffffff;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.service .service-text h3 {
    margin: 0;
    padding: 0 15px 0 25px;
    width: calc(100% - 60px);
    font-size: 20px;
    font-weight: 700;
    color: #003049;
    text-align: left;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-align: right;
}

.service .service-item a.btn {
    width: 60px;
    height: 60px;
    padding: 3px 0 0 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    line-height: 60px;
    font-weight: 100;
    color: #ddd;
    ;
    background: #007BFF;
    border-radius: 0;
    transition: .3s;
}

.service .service-item:hover a.btn {
    color: #ffffff;
}


/*** testimonial Start ***/

.testimonial-item {
    background: var(--bs-light);
    padding: 40px;
}

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel {
    position: relative;
    padding-left: 60px;
    padding-right: 60px;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 60px;
    height: 40px;
    background: var(--bs-primary);
    color: var(--bs-dark);
    font-size: 22px;
    top: 50%;
    left: 0px;
    transform: translateY(-50%);
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover {
    background: var(--bs-dark) !important;
    color: var(--bs-primary) !important;
}

.testimonial-carousel .owl-nav .owl-next {
    left: auto;
    right: 0px;
}

.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--bs-dark) !important;
    color: var(--bs-primary) !important;
}


/*** testimonial End ***/

.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
}

.pagination li {
    margin: 0 3px;
    /* تقليل المسافة بين الأرقام */
}

.pagination a {
    text-decoration: none;
    padding: 10px 15px;
    border: 1px solid #007bff;
    color: #007bff;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
    font-weight: bold;
    /* جعل النص عريض */
}

.pagination a:hover,
.pagination a:focus {
    background-color: #007bff;
    color: white;
}

.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.active-page {
    background-color: #007bff;
    /* اللون البرتقالي */
    color: white;
    border: 1px solid #007bff;
}

.active-page:hover,
.active-page:focus {
    background-color: #007bff;
    /* عند النقر يصبح أزرق */
}

.news-single {
    padding: 100px 0;
    /* المسافة العلوية والسفلية */
    direction: rtl;
}

.news-head img {
    width: 100%;
    /* يجعل الصورة تأخذ عرض العنصر */
    height: auto;
    /* يحافظ على نسبة العرض إلى الارتفاع */
}

.news-title {
    font-size: 24px;
    /* حجم عنوان الخبر */
    font-weight: 700;
    /* سمك الخط */
    color: #2C2D3F;
    /* لون العنوان */
    margin: 20px 0;
    /* المسافة حول العنوان */
}

.meta {
    display: flex;
    /* استخدام الفليكس لتوزيع العناصر */
    justify-content: space-between;
    /* توزيع العناصر بالتساوي */
    margin-bottom: 20px;
    /* المسافة السفلية */
}

.meta-left,
.meta-right {
    color: #757575;
    /* لون النص */
}

.news-text {
    line-height: 1.6;
    /* ارتفاع السطر */
    margin-bottom: 30px;
    /* المسافة السفلية */
}

.overlay {
    position: relative;
    /* لتحديد موقع العنصر */
}

.overlay:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 118, 209, 0.8);
    /* لون الخلفية */
    z-index: 1;
    /* لضمان أن يكون فوق المحتوى */
}

.overlay p {
    position: relative;
    /* لجعل النص فوق الخلفية */
    z-index: 2;
    /* لضمان أن يكون النص فوق الخلفية */
}

.blog-bottom {
    margin-top: 30px;
    /* المسافة العلوية */
}

.social-share {
    list-style: none;
    /* إزالة النقاط */
    padding: 0;
    /* إزالة الحشوة */
}

.social-share li {
    display: inline-block;
    /* عرض العناصر في صف */
    margin-right: 10px;
    /* المسافة بين الأيقونات */
}

.comments-form {
    margin-top: 50px;
    /* المسافة العلوية */
}

.comments-form h2 {
    text-align: right;
}

.form-group {
    margin-bottom: 20px;
    /* المسافة السفلية */
}

.form-group input,
.form-group textarea {
    width: 100%;
    /* عرض كامل */
    padding: 10px;
    /* الحشوة */
    border: 1px solid #ccc;
    /* حدود */
    border-radius: 4px;
    /* زوايا مدورة */
}

.btn.primary {
    background: #1A76D1;
    /* لون الزر */
    color: #fff;
    /* لون النص */
    padding: 10px 20px;
    /* الحشوة */
    border: none;
    /* إزالة الحدود */
    border-radius: 4px;
    /* زوايا مدورة */
    cursor: pointer;
    /* تغيير المؤشر عند التحويم */
}

.btn.primary:hover {
    background: #155a8a;
    /* لون الزر عند التحويم */
}


/* News Single */

.news-single {
    padding: 60px 0 90px;
    background: #2c3946;
}

/* تغيير لون الروابط داخل الواجهة الجانبية */

.main-sidebar a {
    color: #007BFF;
    /* تغيير لون الروابط إلى الأزرق */
}

.main-sidebar a:hover {
    color: #007BFF;
    /* تغيير لون الروابط عند التحويم */
}


/* تغيير لون النص داخل قائمة التعليقات */

.comment {
    color: #007BFF;
    /* استبدل "blue" باللون الذي تريده */
}


/* تغيير لون الرموز داخل قائمة التعليقات */

.comment i {
    color: #d3d3d3;
    /* اللون الرمادي الفاتح */
}

.news-single .single-main {
    margin-top: 30px;
    background: #fff;
    padding: 30px;
    -webkit-box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.10);
    -moz-box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.10);
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.10);
    border-radius: 8px;
}

.news-single .news-head {}

.news-single .news-head img {
    width: 100%;
    height: 100%;
}

.news-single .news-title {
    font-size: 25px;
    margin: 20px 0;
}

.news-single .news-title a {
    color: #252525;
    font-weight: 600;
}

.news-single .news-title a:hover {
    color: #1A76D1;
}


/* Blog Meta */

.news-single {
    background: #fff;
    direction: rtl;
}

.news-single .meta {
    overflow: hidden;
    border-top: 1px solid #ebebeb;
    border-bottom: 1px solid #ebebeb;
    width: 100%;
    padding: 10px 0;
    margin-bottom: 15px;
}

.news-single .meta span {
    margin-right: 10px;
    display: inline-block;
}

.news-single .meta span:last-child {
    margin: 0;
}

.news-single .meta span,
.news-single .meta span a {
    color: #2C2D3F;
    font-weight: 400;
}

.news-single .meta span i {
    margin-right: 5px;
    color: #1A76D1;
}

.news-single .meta-left {
    float: left;
}

.news-single .meta-left .author img {
    width: 45px;
    height: 45px;
    border-radius: 100%;
    margin-right: 12px;
}

.news-single .meta-left .author {
    float: left;
}

.news-single .meta-left span.date {
    margin-top: 10px;
}

.news-single .meta-right {
    float: right;
    margin-top: 10px;
}

.news-single .news-content {
    margin: 20px 0;
}

.news-single .news-content p {
    margin-bottom: 10px;
}

.news-single .news-content p:last-child {
    margin: 0;
}

.news-single .news-text p {
    font-size: 14px;
    margin-bottom: 20px;
}


/* Image Gallery */

.news-single .image-gallery {
    margin-bottom: 20px;
}

.news-single .image-gallery .single-image {
    overflow: hidden;
}

.news-single .image-gallery .single-image:hover img {
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    transform: scale(1.2);
}


/* Blockqoute */

.news-single blockquote {
    background-image: url('img/blockqoute-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 30px;
    overflow: hidden;
}

.news-single blockquote::before {
    opacity: 0.9;
}

.news-single .news-text blockquote p {
    color: #fff;
    margin: 0;
    line-height: 26px;
    font-size: 15px;
    position: relative;
}

.news-single .blog-bottom {
    overflow: hidden;
}


/* Social Share */

.news-single .social-share {
    float: left;
}

.news-single .social-share li {
    float: left;
}

.news-single .social-share li span {
    padding-left: 5px;
}

.news-single .social-share li.facebook a {
    background: #5d82d1;
}

.news-single .social-share li.twitter a {
    background: #40bff5;
}

.news-single .social-share li.google-plus a {
    background: #eb5e4c;
}

.news-single .social-share li.linkedin a {
    background: #238cc8;
}

.news-single .social-share li.pinterest a {
    background: #e13138;
}

.news-single .social-share li a {
    padding: 10px 20px;
    display: block;
    color: #fff;
}

.news-single .social-share li a:hover {
    background: #2B343E;
}


/* Prev Next Button */

.news-single .prev-next {
    float: right;
}

.news-single .prev-next li {
    display: inline-block;
    padding: 0;
    margin-right: 5px;
}

.news-single .prev-next li:last-child {
    border: none;
}

.news-single .prev-next li a {
    display: block;
    width: 40px;
    height: 40px;
    line-height: 36px;
    text-align: center;
    font-size: 16px;
    border: 1px solid #c4c4c4;
    color: #555;
    border-radius: 4px;
}

.news-single .prev-next li a:hover {
    color: #fff;
    background: #1A76D1;
    border-color: transparent;
}


/* Blog Comments */

.news-single .blog-comments {
    margin-top: 30px;
    background: transparent;
    -webkit-box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.10);
    -moz-box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.10);
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.10);
    border-radius: 8px;
    padding: 30px;
    direction: rtl;
}

.news-single .blog-comments h2 {
    text-align: left;
    text-transform: capitalize;
    font-size: 18px;
    color: #252525;
    margin-bottom: 20px;
}

.news-single .blog-comments h4 span {
    float: right;
}

.news-single .single-comments {
    overflow: hidden;
    margin-bottom: 30px;
    background: #fff;
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
}

.news-single .single-comments.left .main {
    padding-left: 100px;
    position: relative;
    margin-left: 100px;
}

.news-single .single-comments.left img {
    position: absolute;
    left: 0;
    top: 0;
}

.news-single .single-comments:last-child {
    margin: 0;
    border: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.news-single .single-comments .main {
    overflow: hidden;
}

.news-single .single-comments .head {
    float: left;
    margin-right: 20px;
    text-align: center;
    width: 12%;
}

.news-single .head img {
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 100%;
    border: 5px solid #f8f8f8;
}

.news-single .single-comments .body {
    float: left;
    width: 85%;
}

.news-single .single-comments.left .body {
    float: noene;
    width: 100%;
}

.news-single .single-comments .comment-list {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e2e2e2;
    overflow: hidden;
}

.news-single .single-comments .comment-list .body {
    width: 78%;
}

.news-single .single-comments h4 {
    margin: 0 0 5px;
    font-size: 16px;
    text-align: left;
    font-weight: 500;
    color: #252525;
}

.news-single .single-comments .comment-meta {
    margin-bottom: 5px;
}

.news-single .single-comments .meta {
    font-size: 13px;
    color: #555;
    font-weight: 400;
    border: none;
    margin-right: 10px;
    padding: 0;
    margin: 0 10px 0 0;
}

.news-single .single-comments .meta:last-child {
    margin: 0;
}

.news-single .comment-meta span i {
    margin-right: 5px;
}

.news-single .comment-meta span:last-child {
    margin: 0;
}

.news-single .single-comments p {
    font-size: 13px;
}

.news-single .single-comments a {
    text-transform: capitalize;
    font-size: 13px;
    font-weight: 400;
    color: #fff;
    padding: 3px 15px;
    display: inline-block;
    margin-top: 10px;
    border-radius: 4px;
    background: #1A76D1;
    color: #fff;
}

.news-single .single-comments a:hover {
    background: #2C2D3F;
    color: #fff;
}

.news-single .single-comments a i {
    margin-right: 5px;
}

.news-single .comment-list {
    padding-left: 50px;
}

.news-single .single-comments.login {
    text-align: center;
}

.news-single .single-comments.login i {
    font-size: 20px;
}

.news-single .single-comments.login a {
    text-align: center;
}

.news-single .single-comments.login a:hover {
    color: #353535;
}

.news-single .comments-form {
    margin-top: 30px;
    -webkit-box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.10);
    -moz-box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.10);
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.10);
    border-radius: 8px;
    padding: 30px;
}

.news-single .comments-form h2 {
    text-align: left;
    font-size: 18px;
    color: #353535;
    margin-bottom: 20px;
    text-transform: capitalize;
}

.news-single .form {}

.news-single .form-group {
    position: relative;
    display: block;
    margin: 0 0 20px;
}

.news-single .form-group i {
    position: absolute;
    left: 12px;
    top: 17px;
    z-index: 1;
    color: #1A76D1;
}

.news-single .form-group input {
    width: 100%;
    height: 50px;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    transition: all 0.4s ease;
    font-weight: 400;
    border-radius: 0px;
    padding-left: 34px;
    padding-right: 20px;
    border: none;
    line-height: 50px;
    font-weight: 400;
    font-size: 14px;
    color: #2C2D3F;
}

.news-single .form-group textarea {
    border: 1px solid #ddd;
    width: 100%;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    transition: all 0.4s ease;
    box-shadow: none;
    border-radius: 0px;
    border: none;
    height: 190px;
    padding: 15px 15px 15px 35px;
    resize: none;
    font-weight: 400;
    font-size: 14px;
    color: #2C2D3F;
}

.news-single .form-group input,
.news-single .form-group textarea {
    border: 1px solid transparent;
    border: 1px solid #eee;
    border-radius: 5px;
}

.news-single .form-group.message i {
    top: 22px;
}

.news-single .form-group .button {
    padding: 10px 30px;
    font-size: 14px;
    text-transform: uppercase;
    display: block;
    border: 0px solid;
    color: #fff;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    transition: all 0.4s ease;
    padding: 15px 30px;
}

.news-single .form-group .button:hover {
    background: #353535;
}

.news-single .form-group .button i {
    position: relative;
    display: inline-block;
    color: #fff;
    margin-right: 10px;
    padding: 0px;
}

.news-single .form-group.button {
    margin: 0;
    text-align: left;
}

.news-single .form-group.button .btn {
    background: #fff;
    background: #1A76D1;
    color: #fff;
}

.news-single .form-group.button .btn:hover {
    color: #fff;
}

.news-single .form-group.button .btn i {
    color: #fff;
    position: relative;
    top: 0;
    left: 0;
    margin-right: 10px;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}


/* Recent Posts */

.main-sidebar .single-post {
    position: relative;
    border-bottom: 1px solid #ddd;
    display: inline-block;
    padding: 17px 0;
}

.main-sidebar .single-post:last-child {
    padding-bottom: 0px;
    border: none;
}

.main-sidebar .single-post .image img {
    float: left;
    width: 80px;
    height: 80px;
    margin-right: 20px;
}

.main-sidebar .single-post .content {
    padding-left: 100px;
}

.main-sidebar .single-post .content h5 {
    line-height: 18px;
}

.main-sidebar .single-post .content h5 a {
    color: #2C2D3F;
    font-weight: 500;
    font-size: 14px;
    font-weight: 500;
    margin-top: 10px;
    display: block;
    margin-bottom: 10px;
    margin-top: 0;
}

.main-sidebar .single-post .content h5 a:hover {
    color: #1A76D1;
}

.main-sidebar .single-post .content .comment li {
    color: #888;
    display: inline-block;
    margin-right: 15px;
    font-weight: 400;
    font-size: 14px;
}

.main-sidebar .single-post .content .comment li:last-child {
    margin-right: 0;
}

.main-sidebar .single-post .content .comment li i {
    display: inline-block;
    margin-right: 5px;
}


/* Blog Tags */

.main-sidebar .side-tags .tag {
    margin-top: 40px;
}

.main-sidebar .side-tags .tag li {
    display: inline-block;
    margin-right: 7px;
    margin-bottom: 20px;
}

.main-sidebar .side-tags .tag li a {
    background: #fff;
    color: #333;
    padding: 8px 14px;
    text-transform: capitalize;
    border-radius: 0;
    font-size: 13px;
    background: #F6F7FB;
    border-radius: 4px;
}

.main-sidebar .side-tags .tag a:hover {
    color: #fff;
    background: #1A76D1;
    border-color: transparent;
}


/* News Single */

.news-single {
    padding: 60px 0 90px;
    background: #f8f8f8;
}

.news-single .single-main {
    margin-top: 30px;
    background: #fff;
    padding: 30px;
    -webkit-box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.10);
    -moz-box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.10);
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.10);
    border-radius: 8px;
}

.news-single .news-head {}

.news-single .news-head img {
    width: 100%;
    height: 100%;
}

.news-single .news-title {
    font-size: 25px;
    margin: 20px 0;
}

.news-single .news-title a {
    color: #252525;
    font-weight: 600;
}

.news-single .news-title a:hover {
    color: #1A76D1;
}


/* Blog Meta */

.news-single {
    background: #fff;
}

.news-single .meta {
    overflow: hidden;
    border-top: 1px solid #ebebeb;
    border-bottom: 1px solid #ebebeb;
    width: 100%;
    padding: 10px 0;
    margin-bottom: 15px;
}

.news-single .meta span {
    margin-right: 10px;
    display: inline-block;
}

.news-single .meta span:last-child {
    margin: 0;
}

.news-single .meta span,
.news-single .meta span a {
    color: #2C2D3F;
    font-weight: 400;
}

.news-single .meta span i {
    margin-right: 5px;
    color: #1A76D1;
}

.news-single .meta-left {
    float: left;
}

.news-single .meta-left .author img {
    width: 45px;
    height: 45px;
    border-radius: 100%;
    margin-right: 12px;
}

.news-single .meta-left .author {
    float: left;
}

.news-single .meta-left span.date {
    margin-top: 10px;
}

.news-single .meta-right {
    float: right;
    margin-top: 10px;
}

.news-single .news-content {
    margin: 20px 0;
}

.news-single .news-content p {
    margin-bottom: 10px;
}

.news-single .news-content p:last-child {
    margin: 0;
}

.news-single .news-text p {
    font-size: 14px;
    margin-bottom: 20px;
}


/* Image Gallery */

.news-single .image-gallery {
    margin-bottom: 20px;
}

.news-single .image-gallery .single-image {
    overflow: hidden;
}

.news-single .image-gallery .single-image:hover img {
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    transform: scale(1.2);
}


/* Blockqoute */

.news-single blockquote {
    background-image: url('img/blockqoute-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 30px;
    overflow: hidden;
}

.news-single blockquote::before {
    opacity: 0.9;
}

.news-single .news-text blockquote p {
    color: #fff;
    margin: 0;
    line-height: 26px;
    font-size: 15px;
    position: relative;
}

.news-single .blog-bottom {
    overflow: hidden;
}


/*===================
End Blog CSS
=====================*/


/* ===================================== Our Blog CSS ================================== */

.our-blog {
    background-color: #edf1f5;
    padding: 40px;
}

@media screen and (max-width: 967px) {
    .our-blog {
        padding: 30px 0px;
    }
}

.our-blog .single-blog {
    margin-bottom: 20px;
    background-color: #FFF;
    box-shadow: 0 2px 6px 0 rgba(218, 218, 253, 0.65), 0 2px 6px 0 rgba(206, 206, 238, 0.54);
    direction: rtl;
}

.our-blog .single-blog a {
    color: #007BFF;
}

.blog-text {
    max-height: 70px;
    /* تحديد ارتفاع النص */
    overflow: hidden;
    /* إخفاء النص الزائد */
    position: relative;
}

.read-more {
    cursor: pointer;
    color: blue;
    /* لون الرابط */
}

.our-blog .single-blog figure {
    margin-bottom: 5px;
}

.our-blog .single-blog .blog-detail {
    padding: 15px;
}

.our-blog .single-blog small {
    color: #007BFF;
    font-size: 12px;
}

.our-blog .single-blog h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    margin-top: 10px;
    color: #003049;
}

.our-blog .single-blog p {
    text-align: justify;
    text-indent: 20px;
}

.our-blog .single-blog .link a {
    font-size: 12px;
    color: #007BFF;
}

.our-blog .single-blog .link i {
    padding-top: 6px;
    margin-left: 5px;
    color: #FFFFFF;
}

.question {
    font-size: 1.2rem;
    font-weight: 600;
    padding: 20px 80px 20px 20px;
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.question::after {
    content: "\002B";
    font-size: 2.2rem;
    position: absolute;
    right: 20px;
    transition: 0.2s;
}

.question.active::after {
    transform: rotate(45deg);
}

.answercont {
    max-height: 0;
    overflow: hidden;
    transition: 0.3s;
}

.answer {
    padding: 0 20px 20px;
    line-height: 1.5rem;
    color: #007BFF;
}

.question.active+.answercont {}

@media screen and (max-width: 790px) {
    html {
        font-size: 20px;
    }

    .wrapper {
        width: 80%;
    }
}

.wrapper {
    text-align: center;
}

.containerq {
    background-color: rgba(255, 255, 255, 0.5);
    color: #003049;
    margin: 20px 0;
}


/*******************************/


/********* Footer CSS **********/


/*******************************/


/*******************************/


/******** Carousel CSS *********/


/*******************************/

.carousel {
    position: relative;
    width: 100%;
    height: calc(100vh - 170px);
    min-height: 400px;
    margin: 0 auto;
    text-align: center;
    overflow: hidden;
}

.carousel .carousel-inner,
.carousel .carousel-item {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel .carousel-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .3);
    z-index: 1;
}

.carousel .carousel-caption {
    position: absolute;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: calc(100vh - 170px);
    min-height: 400px;
}

.carousel .carousel-caption p {
    color: #ffffff;
    font-size: 30px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.carousel .carousel-caption h1 {
    color: #ffffff;
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 35px;
}

.carousel .carousel-caption .btn {
    padding: 15px 35px;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffffff;
    background: transparent;
    border: 2px solid #ffffff;
    border-radius: 0;
    transition: .3s;
}

.carousel .carousel-caption .btn:hover {
    color: #030f27;
    background: #fdbe33;
    border-color: #fdbe33;
}

@media (max-width: 767.98px) {
    .carousel .carousel-caption h1 {
        font-size: 40px;
        font-weight: 700;
    }

    .carousel .carousel-caption p {
        font-size: 20px;
    }

    .carousel .carousel-caption .btn {
        padding: 12px 30px;
        font-size: 18px;
        font-weight: 500;
        letter-spacing: 0;
    }
}

@media (max-width: 575.98px) {
    .carousel .carousel-caption h1 {
        font-size: 30px;
        font-weight: 500;
    }

    .carousel .carousel-caption p {
        font-size: 16px;
    }

    .carousel .carousel-caption .btn {
        padding: 10px 25px;
        font-size: 16px;
        font-weight: 400;
        letter-spacing: 0;
    }
}

.carousel .animated {
    -webkit-animation-duration: 1.5s;
    animation-duration: 1.5s;
}


/*******************************/


/******* Page Header CSS *******/


/*******************************/

.page-header {
    position: relative;
    margin-bottom: 45px;
    padding: 90px 0;
    text-align: center;
    background: #fdbe33;
}

.page-header h2 {
    position: relative;
    color: #030f27;
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 5px;
}

.page-header h2::after {
    position: absolute;
    content: "";
    width: 100px;
    height: 2px;
    left: calc(50% - 50px);
    bottom: 0;
    background: #030f27;
}

.page-header a {
    position: relative;
    padding: 0 12px;
    font-size: 22px;
    color: #030f27;
}

.page-header a:hover {
    color: #ffffff;
}

.page-header a::after {
    position: absolute;
    content: "/";
    width: 8px;
    height: 8px;
    top: -2px;
    right: -7px;
    text-align: center;
    color: #121518;
}

.page-header a:last-child::after {
    display: none;
}

@media (max-width: 991.98px) {
    .page-header {
        padding: 60px 0;
    }

    .page-header h2 {
        font-size: 45px;
    }

    .page-header a {
        font-size: 20px;
    }
}

@media (max-width: 767.98px) {
    .page-header {
        padding: 45px 0;
    }

    .page-header h2 {
        font-size: 35px;
    }

    .page-header a {
        font-size: 18px;
    }
}


/*************** تنسيق صفحة النظام الاساسي ****************/

.section-system {
    font-family: "IBM Plex Sans Arabic", sans-serif;
    max-width: 1000px;
    margin: 0 auto;
    line-height: 2.8;
    scroll-behavior: smooth;
    line-height: 5.8;
    /* مسافة بين الأسطر */
}

.section-system p,
h2,
h3 {
    font-family: "IBM Plex Sans Arabic", sans-serif;

    text-align: right;
    color: #003049;
    line-height: 2.8;
    /* مسافة بين الأسطر */
}

.section-system ol li {
    font-family: "IBM Plex Sans Arabic", sans-serif;

    text-align: right;
    color: #003049;
    line-height: 2.8;
    /* مسافة بين الأسطر */
}

.section-system ul li {
    font-family: "IBM Plex Sans Arabic", sans-serif;

    text-align: right;
    color: #003049;
    line-height: 2.8;
    /* مسافة بين الأسطر */
}

.section-system h2 {
    font-family: "IBM Plex Sans Arabic", sans-serif;

}

.table-of-contents {
    margin-bottom: 40px;
}

.table-of-contents .toc-heading {
    font-size: 24px;
    font-weight: bold;
    color: #003049;
}

.table-of-contents a {
    text-decoration: none;
    color: #18445f;
}

.table-of-contents ul {
    list-style: none;
    padding-left: 0;
}

.table-of-contents .heading {
    font-size: 14px;
    font-weight: bold;
    color: #003049;
    text-transform: uppercase;
    position: relative;
}

.table-of-contents .heading::before {
    content: "";
    position: absolute;
    height: 8px;
    width: 8px;
    border-radius: 50%;
    background: #219ebc;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
}

.table-of-contents .sub-heading {
    font-size: 16px;
    padding-left: 4px;
    position: relative;
}

.table-of-contents .sub-heading::before {
    content: "";
    position: absolute;
    height: 2px;
    width: 8px;
    background: #219ebc;
    left: -17px;
    top: 50%;
    transform: translateY(-50%);
}

.table-of-contents ul li {
    margin: 16px 0;
}

.table-of-contents .headings-container {}

.section-system {
    font-family: "IBM Plex Sans Arabic", sans-serif;

    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    scroll-behavior: smooth;
    direction: rtl;
    /* تحديد اتجاه النص من اليمين إلى اليسار */
    text-align: right;
    /* محاذاة النص إلى اليمين */
    margin-right: 10%;
}

.table-of-contents {
    margin-bottom: 40px;
}

.table-of-contents .toc-heading {
    font-size: 24px;
    font-weight: bold;
    color: #003049;
}

.table-of-contents a {
    text-decoration: none;
    color: #18445f;
}

.table-of-contents ul {
    list-style: none;
    padding-left: 0;
}

.table-of-contents .heading {
    font-size: 14px;
    font-weight: bold;
    color: #003049;
    text-transform: uppercase;
    position: relative;
}

.table-of-contents .heading::before {
    content: "";
    position: absolute;
    height: 8px;
    width: 8px;
    border-radius: 50%;
    background: #219ebc;
    right: -20px;
    /* تغيير left إلى right */
    top: 50%;
    transform: translateY(-50%);
}

.table-of-contents .sub-heading {
    font-size: 16px;
    padding-right: 4px;
    /* تغيير padding-left إلى padding-right */
    position: relative;
}

.table-of-contents .sub-heading::before {
    content: "";
    position: absolute;
    height: 2px;
    width: 8px;
    background: #219ebc;
    right: -17px;
    /* تغيير left إلى right */
    top: 50%;
    transform: translateY(-50%);
}

.table-of-contents ul li {
    margin: 16px 0;
}

.table-of-contents .headings-container {
    padding-right: 16px;
    /* تغيير padding-left إلى padding-right */
    border-right: 1px solid #49c1e5;
    /* تغيير border-left إلى border-right */
}

.names-container {
    display: none;
}

.names-container ul li {
    color: #003049;
}


/******* Section Header ********/


/*******************************/


/******* format branch********/


/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/

.contact .info-wrap {
    background-color: var(--surface-color);
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

@media (max-width: 575px) {
    .contact .info-wrap {
        padding: 20px;
    }
}

.contact .info-item {
    margin-bottom: 40px;
}

.contact .info-item i {
    font-size: 20px;
    color: var(--accent-color);
    background: color-mix(in srgb, var(--accent-color), transparent 92%);
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    transition: all 0.3s ease-in-out;
    margin-right: 15px;
}

.contact .info-item h3,
h5 {
    padding: 0;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #003049;
}

.contact .branch p {
    padding: 0;
    margin-bottom: 5px;
    color: #737373;
    line-height: 1.9;
}

.contact .info-item p {
    padding: 0;
    margin-bottom: 0;
    font-size: 14px;
}

.contact .info-item:hover i {
    background: var(--accent-color);
    color: var(--contrast-color);
}

.contact .php-email-form {
    background-color: var(--surface-color);
    height: 100%;
    padding: 30px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 575px) {
    .contact .php-email-form {
        padding: 20px;
    }
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
    font-size: 14px;
    padding: 10px 15px;
    box-shadow: none;
    border-radius: 0;
    color: var(--default-color);
    background-color: var(--surface-color);
    border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
    border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
    color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type=submit] {
    color: var(--contrast-color);
    background: var(--accent-color);
    border: 0;
    padding: 10px 30px;
    transition: 0.4s;
    border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
    background: color-mix(in srgb, var(--accent-color), transparent 25%);
}


/* register member  */


/* Import Google font - Poppins */

/* register member container */
.containerForm {
    position: relative;
    max-width: 900px;
    width: 100%;
    background: #fff;
    padding: 30px;
    margin: 30px auto;              /* center the box on the page */
    background-color: #edf1f5;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.containerForm h3 {
    font-family: "IBM Plex Sans Arabic", sans-serif;

    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
    color: #007BFF;
}

.form {
    font-family: "IBM Plex Sans Arabic", sans-serif;

    /* إضافة الخط */
    font-optical-sizing: auto;
    /* إعدادات الخط */
    font-weight: normal;
    /* الوزن الافتراضي */
    font-style: normal;
    /* النمط الافتراضي */
}

.input-box label,
.input-box input,
.select label,
.select select,
textarea,
button {
    font-family: inherit;
    /* وراثة الخط من .form */
}

.containerForm .text-box-goal {
   /* height: 1400px;  <-- remove this */
}

.containerForm p {
    font-family: "IBM Plex Sans Arabic", sans-serif;

    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
    direction: rtl;
}

.select2-container--default .select2-selection--single {
    height: 38px;
    /* ارتفاع الحقل */
}

.select2-selection__rendered {
    line-height: 36px;
    /* محاذاة النص */
}

.input-box {
    margin-bottom: 15px;
    /* مسافة بين الحقول */
}

textarea {
    width: 100%;
    /* عرض كامل */
    height: 150px;
    /* ارتفاع محدد */
    padding: 10px;
    /* مسافة داخلية */
    border: 1px solid #ccc;
    /* حدود */
    border-radius: 5px;
    /* زوايا دائرية */
    font-size: 16px;
    /* حجم الخط */
    resize: vertical;
    /* يسمح بتغيير الحجم عموديًا فقط */
}

.select {
    margin-bottom: 15px;
}

.select label {
    display: block;
    margin-bottom: 4px;
    font-weight: bold;
}

.select select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    direction: rtl;
}

.select .select2-container {
    width: 100% !important;
    /* لجعل Select2 يأخذ عرض الحقل */
    direction: rtl;
}

textarea:focus {
    border-color: #007BFF;
    /* لون الحدود عند التركيز */
    outline: none;
    /* إزالة الإطار الافتراضي */
}

.containerForm header {
    font-size: 1.5rem;
    color: #333;
    font-weight: 500;
    text-align: center;
}

.containerForm .form {
    margin-top: 30px;
    direction: rtl;
}

.form .input-box {
    width: 100%;
    margin-top: 20px;
}

.input-box label {
    color: #333;
}

#countrySelect {
    position: relative;
    height: 50px;
    width: 100%;
    outline: none;
    font-size: 1rem;
    color: #707070;
    margin-top: 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0 15px;
}

/*.form :where(.input-box input,
    .select-box) {
    position: relative;
    height: 50px;
    width: 100%;
    outline: none;
    font-size: 1rem;
    color: #707070;
    margin-top: 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0 15px;
}*/
/* استبدال .form :where(.input-box input, .select-box) */
.form .input-box input,
.form .select-box {
    position: relative;
    height: 50px;
    width: 100%;
    outline: none;
    font-size: 1rem;
    color: #707070;
    margin-top: 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0 15px;
}

/* استبدال .form :where(.gender-option, .gender) */
.form .gender-option,
.form .gender {
    display: flex;
    align-items: center;
    column-gap: 50px;
    flex-wrap: wrap;
}

/* استبدال address :where(input, .select-box) */
.address input,
.address .select-box {
    margin-top: 15px;
}


.input-box input:focus {
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}

.form .column {
    display: flex;
    column-gap: 15px;
}

.form .gender-box {
    margin-top: 20px;
}

.gender-box h3 {
    color: #333;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 8px;
}

/*.form :where(.gender-option,
    .gender) {
    display: flex;
    align-items: center;
    column-gap: 50px;
    flex-wrap: wrap;
}
*/
.form .gender {
    column-gap: 5px;
}

.gender input {
    accent-color: #007BFF;
}

/* استبدال .form :where(.input-box input, .select-box) */
.form .input-box input,
.form .select-box {
    position: relative;
    height: 50px;
    width: 100%;
    outline: none;
    font-size: 1rem;
    color: #707070;
    margin-top: 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0 15px;
}

/* استبدال .form :where(.gender-option, .gender) */
.form .gender-option,
.form .gender {
    display: flex;
    align-items: center;
    column-gap: 50px;
    flex-wrap: wrap;
}

/* استبدال address :where(input, .select-box) */
.address input,
.address .select-box {
    margin-top: 15px;
}


.gender label {
    color: #707070;
}

/*.address :where(input,
    .select-box) {
    margin-top: 15px;
}*/

.select-box select {
    height: 100%;
    width: 100%;
    outline: none;
    border: none;
    color: #707070;
    font-size: 1rem;
}

.containerForm .form button {
    height: 55px;
    width: 100%;
    color: #fff;
    font-size: 1rem;
    font-weight: 400;
    margin-top: 30px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #007BFF;
}

.form button:hover {
    background: #007BFF;
}


/* partenar slider  */

.logo-slider .item {
    background-color: #fff;
    box-shadow: 0 4px 5px #cacaca;
    border-radius: 4px;
    padding: 15px;
    border: 2px solid #111;
}

.logo-slider .slick-slide {
    margin: 15px;
}

.item:hover {
    display: block;
    transition: all ease 0.3s;
    transform: scale(1.1) translateY(-5px);
}

.section-header h3 {
    font-size: 36px;
    color: #283d50;
    text-align: center;
    font-weight: 500;
    position: relative;
}

.section-header p {
    text-align: center;
    margin: auto;
    font-size: 15px;
    padding-bottom: 60px;
    color: #556877;
    width: 50%;
}

#clients {
    padding: 60px 0;
}

#clients .clients-wrap {
    border-top: 1px solid #d6eaff;
    border-left: 1px solid #d6eaff;
    margin-bottom: 30px;
}

#clients .client-logo {
    padding: 64px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    border-right: 1px solid #d6eaff;
    border-bottom: 1px solid #d6eaff;
    overflow: hidden;
    background: #fff;
    height: 160px;
}

#clients img {
    transition: all 0.4s ease-in-out;
}

.client-logo {
    margin: 15px;
    /* Adjust the value as needed */
}


/*Responsive*/

@media screen and (max-width: 500px) {
    .form .column {
        flex-wrap: wrap;
    }

   /* .form :where(.gender-option,
        .gender) {
        row-gap: 15px;
    }*/
}

.photo-upload {
    margin: 20px 0;
}

.upload-area {
    border: 2px dashed #007bff;
    /* اللون الأزرق */
    border-radius: 8px;
    /* زوايا دائرية */
    padding: 20px;
    text-align: center;
    cursor: pointer;
    /* تغيير شكل المؤشر عند المرور فوق المنطقة */
    transition: background-color 0.3s;
    position: relative;
    /* لجعل النص يظهر بشكل جميل */
}

.upload-area:hover {
    background-color: #f0f8ff;
    /* لون خلفية عند التمرير */
}

.upload-area input[type="file"] {
    display: none;
    /* إخفاء زر التحميل الافتراضي */
}

.upload-area p {
    margin: 0;
    color: #666;
    /* لون النص */
    font-size: 16px;
    /* حجم الخط */
}

.news {
    background-color: rgba(255, 255, 255, 0.5);
}


/*******************************/

.footer {
    position: relative;
    margin-top: 45px;
    padding-top: 90px;
    background: #030f27;
    color: #ffffff;
    direction: rtl;
}

.footer .footer-contact,
.footer .footer-link,
.footer .newsletter {
    position: relative;
    margin-bottom: 45px;
}

.custom-hr {
    height: 10px;
    /* سمك الخط */
    background-color: #007bff;
    /* لون الخط الأزرق */
    width: 50%;
    /* عرض الخط */
}

.footer h5 {
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 10px;
    font-size: 20px;
    font-weight: 600;
    color: #007bff;
}

.footer h2::after {
    position: absolute;
    content: "";
    width: 60px;
    height: 2px;
    left: 0;
    bottom: 0;
    background: #007bff;
}

.footer .footer-link a {
    display: block;
    margin-bottom: 10px;
    color: #ffffff;
    transition: .3s;
}

.footer .footer-link a::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 500;
    margin-right: 10px;
}

.footer .footer-link a:hover {
    color: #007bff;
    letter-spacing: 1px;
}

.footer .footer-contact p i {
    width: 25px;
    direction: rtl;
}

.footer .footer-social {
    position: relative;
    margin-top: 20px;
}

.footer .footer-social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    padding: 7px 0;
    text-align: center;
    border: 1px solid rgba(256, 256, 256, .3);
    border-radius: 60px;
    transition: .3s;
}

.footer .footer-social a i {
    font-size: 15px;
    color: #ffffff;
}

.footer .footer-social a:hover {
    background: #007bff;
    border-color: #007bff;
}

.footer .footer-social a:hover i {
    color: #030f27;
}

.footer .newsletter .form {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
    direction: rtl;
}

.footer .newsletter p {
    font-size: 15px;
    color: #ffffff;
}

.footer .newsletter input {
    height: 50px;
    border: 2px solid #121518;
    border-radius: 0;
}

.footer .newsletter .btn {
    direction: ltr;
    position: absolute;
    top: 5px;
    left: 5px;
    /* تغيير right إلى left */
    height: 40px;
    padding: 8px 10px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    color: #007bff;
    background: #121518;
    border-radius: 0;
    border: 2px solid #007bff;
    transition: .3s;
}

.footer .newsletter .btn:hover {
    color: #121518;
    background: #007bff;
}

.footer .footer-menu .f-menu {
    position: relative;
    padding: 15px 0;
    font-size: 0;
    text-align: center;
    border-top: 1px solid rgba(256, 256, 256, .1);
    border-bottom: 1px solid rgba(256, 256, 256, .1);
}

.footer .footer-menu .f-menu a {
    color: #ffffff;
    font-size: 16px;
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu .f-menu a:hover {
    color: #007bff;
}

.footer .footer-menu .f-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

.footer .copyright {
    padding: 30px 15px;
    direction: rtl;
}

.footer .copyright p {
    margin: 0;
    color: #ffffff;
}

.footer .copyright .col-md-6:last-child p {
    text-align: right;
}

.footer .copyright p a {
    color: #007bff;
    font-weight: 500;
    letter-spacing: 1px;
}

.footer .copyright p a:hover {
    color: #ffffff;
}

@media (max-width: 768px) {

    .footer .copyright p,
    .footer .copyright .col-md-6:last-child p {
        margin: 5px 0;
        text-align: center;
    }
}
/* Mobile: fix form title (Arabic + English) 
@media (max-width: 576px) {

    .containerForm {
        padding: 15px !important;
    }*/

    .containerForm .text-box-goal .line-container {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
        flex-wrap: wrap !important; /* allow wrapping */
    }
/* center the form content inside the container */
.containerForm .form {
    max-width: 550px;
    margin: 0 auto;
}

    /* Hide the blue lines on mobile */
    .containerForm .text-box-goal .line-container .line {
        display: none !important;
    }

    /* Let the title wrap instead of being cut */
    .containerForm .text-box-goal .line-container h3 {
        font-size: 20px !important;
        line-height: 1.3 !important;
        text-align: center !important;
        margin: 0 !important;
        padding: 0 10px !important;
        white-space: normal !important;   /* ✅ allow wrapping */
        word-break: break-word !important;/* ✅ break long English words if needed */
    }
}
/* === Logo Above Form Title === */
.form-logo {
    text-align: center;
    margin-bottom: 15px;
}

/* Default size for laptops/desktops */
.form-logo-img {
    width: 100px !important;
    height: auto !important;
    max-width: 100px !important;
    object-fit: contain !important;
}

/* Mobile screens 
@media (max-width: 576px) {
    .form-logo-img {
        width: 80px !important;
        max-width: 80px !important;
    }
}
*/
.containerForm .text-box-goal {
    width: 100%;
    max-width: 550px;          /* form width on laptop */
    margin: 0 auto;            /* center inside container */
}
/* === Center the form content inside the container === */
.containerForm .form {
    max-width: 550px !important;   /* form width on laptop/desktop */
    margin: 0 auto !important;     /* center inside container */
}

/* === Mobile: fix title + hide blue lines === */
@media (max-width: 576px) {

    /* hide the blue lines on the sides of the title */
    .containerForm .text-box-goal .line-container .line {
        display: none !important;
    }

    /* allow the title to wrap and stay centered */
    .containerForm .text-box-goal .line-container {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        flex-wrap: wrap !important;
    }

    .containerForm .text-box-goal .line-container h3 {
        font-size: 20px !important;
        line-height: 1.3 !important;
        text-align: center !important;
        margin: 0 !important;
        padding: 0 10px !important;
        white-space: normal !important;    /* allow wrapping */
        word-break: break-word !important; /* break long English words */
    }
}

/* Center the logo on all devices */
.form-logo {
    text-align: center !important;
    margin-bottom: 15px !important;
}

.form-logo-img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    display: inline-block;
}

/* Mobile size */
@media (max-width: 576px) {
    .form-logo-img {
        width: 70px;
        height: 70px;
    }
}
/* English mode — fix labels alignment */
html[lang="en"] .containerForm label {
    text-align: left !important;
    display: block !important;
}

/* Fix input-box layout in English */
html[lang="en"] .input-box {
    text-align: left !important;
}

/* Fix placeholders in English form */
html[lang="en"] input,
html[lang="en"] select,
html[lang="en"] textarea {
    text-align: left !important;
}
/* === Fix English labels direction & alignment === */
html[lang="en"] .containerForm .form {
    direction: ltr !important;
}

html[lang="en"] .containerForm label {
    direction: ltr !important;
    text-align: left !important;
    display: block;
}

html[lang="en"] .containerForm .input-box {
    text-align: left !important;
}

html[lang="en"] .containerForm input,
html[lang="en"] .containerForm select,
html[lang="en"] .containerForm textarea {
    text-align: left !important;
}
/* make long labels wrap instead of disappearing */
.input-box label,
.select label {
    font-size: 16px !important;
    font-weight: 600; /* نفس جميع العناوين */
    line-height: 1.3;
    white-space: normal !important;
    word-break: break-word !important;
}

/* make * stay next to text */
.input-box label span,
.select label span {
    font-size: 16px;
    font-weight: normal;
    white-space: nowrap;
    margin: 0 3px;
}

/* Fix the long English Residence label */
#residenceImageLabel,
#personalImageLabel {
    display: inline-block;
    max-width: 100%;
}

/* Arabic labels also */
html[lang="ar"] #residenceImageLabel,
html[lang="ar"] #personalImageLabel {
    font-size: 16px !important;
}



