/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/

@import url('https://fonts.googleapis.com/css2?family=Almarai:wght@400;700&display=swap');

body {
    font-family: 'Almarai', sans-serif;
    
    color: #444444;
}

a {
    color: #333333;
    text-decoration: none;
}

a:hover {
    color: #65b846;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Almarai', sans-serif;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 996;
    background: rgba(12, 149, 71, 1);
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.4s;
}

.back-to-top i {
    font-size: 28px;
    color: #fff;
    line-height: 0;
}

.back-to-top:hover {
    background: #354144;
    color: #fff;
}

.back-to-top.active {
    visibility: visible;
    opacity: 1;
}

/*--------------------------------------------------------------
# Top Bar
--------------------------------------------------------------*/
#topbar {
    background: #ff2473;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    height: 44px;
    padding: 0;
    transition: all 0.5s;
    overflow: hidden;
    z-index: 996;
    color: #fff;
}

#topbar.topbar-scrolled {
    top: -44px;
}

#topbar .contact-info i {
    font-style: normal;
    color: #fff;
}

#topbar .contact-info i a,
#topbar .contact-info i span {
    padding-right: 5px;
    color: #fff;
}

#topbar strong {
    padding-right: 5px;
}

#topbar .contact-info i a {
    line-height: 0;
    transition: 0.3s;
}

#topbar .contact-info i a:hover {
    color: #333333;
}

#topbar .social-links a {
    color: #fff;
    padding: 4px 12px;
    display: inline-block;
    line-height: 1px;
    transition: 0.3s;
    border-right: 1px solid #e9e9e9;
}

#topbar .social-links a:hover {
    color: #333;
}

#topbar .social-links a:first-child {
    border-left: 0;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
    height: 110px;
    z-index: 997;
    transition: all 0.5s;
    background: #fff;
}

#header.header-scrolled {
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
    top: 0;
}

#header .logo h1 {
    font-size: 28px;
    margin: 0;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 1px;
}

#header .logo h1 a,
#header .logo h1 a:hover {
    color: #354144;
    text-decoration: none;
}

#header .logo h1 a span,
#header .logo h1 a:hover span {
    color: #333;
}

#header .logo img {
    padding: 0;
    margin: 0;
    max-height: 60px;
}


/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
    padding: 0;
}

.navbar ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
}

.navbar li {
    position: relative;
}

.navbar li .nav-link::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0%;
    height: 5px;
    border-radius: 50px;
    background: rgb(138, 197, 64);
    background: linear-gradient(90deg, rgba(138, 197, 64, 1) 0%, rgba(12, 149, 71, 1) 50%);
    transition: 0.3s;
}

.navbar li .nav-link:hover::before {
    width: 80%;
}

.navbar a,
.navbar a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
font-weight: 500;
        line-height: 1;
        padding: 35px 0 35px 52px;
        font-size: 18px;
    color: #000;
    white-space: nowrap;
    text-transform: uppercase;
    transition: 0.3s;
}

.navbar a i,
.navbar a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-right: 5px;
}


.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > a {
    color: rgba(12, 149, 71, 1);
}
.navbar .remove_margin:focus {
    padding: 0.375rem 1rem 0.375rem 1rem;
}
.navbar .dropdown ul {
    display: block;
    position: absolute;
    left: 30px;
    top: calc(100% + 30px);
    margin: 0;
    padding: 10px 0;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    background: #fff;
    box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
    transition: 0.3s;
}

.navbar .dropdown ul li {
    min-width: 200px;
}

.navbar .dropdown ul a {
    padding: 10px 20px;
    font-size: 14px;
    text-transform: none;
    font-weight: 400;
}

.navbar .dropdown ul a i {
    font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover > a {
    color: #333;
}

.navbar .dropdown:hover > ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
}

.navbar .dropdown .dropdown ul {
    top: 0;
    left: auto;
    right: 100%;
}


.navbar .dropdown .dropdown:hover > ul {
    opacity: 1;
    top: 0;
     right: 100%;
    visibility: visible;
}

@media (max-width: 1366px) {
    .navbar .dropdown .dropdown ul {
        left: -90%;
    }

    .navbar .dropdown .dropdown:hover > ul {
        left: -100%;
    }
}
.navbar .getstarted {
    color: #fff;
    font-size: 15px;
    padding: 0.375rem 1rem 0.375rem 1rem;
    border-radius: 30px;
    border: 2px solid rgba(12, 149, 71, 1);
    position: relative;
    margin: 0 10px;
    z-index: 1;
    transition: all 0.5s ease;
    background: rgb(138, 197, 64);
    background: linear-gradient(90deg, rgba(138, 197, 64, 1) 0%, rgba(12, 149, 71, 1) 50%);
}

.navbar .getstarted:before {
    content: " ";
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    transform: translateX(-50%) translateY(-50%);
    position: absolute;
    left: 50%;
    top: 50%;
    transition: all 0.7s ease;
    border-radius: 30px;
    border: 2px solid rgba(138, 197, 64, 1);
}

.navbar .getstarted:hover {
    color: #fff;
    background: rgb(138, 197, 64);
    background: linear-gradient(-90deg, rgba(138, 197, 64, 1) 0%, rgba(12, 149, 71, 1) 50%);
}


/**{language}**/

.language {
    position: fixed;
    top: 0;
    left: 20px;
    z-index: 99999;
    border-radius: 0 0 7px 7px;
    height: 30px;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#5dac32+0,158942+100 */
    background: #88bb3c;
    /* Old browsers */
    background: -moz-linear-gradient(-45deg, #88bb3c 0%, #158942 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(-45deg, #88bb3c 0%, #158942 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(135deg, #88bb3c 0%, #158942 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#88bb3c', endColorstr='#158942', GradientType=1);
    /* IE6-9 fallback on horizontal gradient */
    transition: ease-in-out 0.4s;
}

.language:hover {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#5dac32+0,158942+100 */
    background: #88bb3c;
    /* Old browsers */
    background: -moz-linear-gradient(45deg, #88bb3c 0%, #158942 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(45deg, #88bb3c 0%, #158942 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(45deg, #88bb3c 0%, #158942 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#88bb3c', endColorstr='#158942', GradientType=1);
    /* IE6-9 fallback on horizontal gradient */
}

.language .icon a {
    display: block;
    color: #fff;
    font-size: 20px;
    margin-bottom: 5px;
    padding: 0 10px 10px 10px;
}

/**{language}**/


/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
    color: #354144;
    font-size: 28px;
    cursor: pointer;
    display: none;
    line-height: 0;
    transition: 0.5s;
}

.mobile-nav-toggle.bi-x {
    color: #fff;
}

@media (max-width: 991px) {
    .mobile-nav-toggle {
        display: block;
    }

    .navbar ul {
        display: none;
    }
}

.navbar-mobile {
    position: fixed;
    overflow: hidden;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(31, 38, 39, 0.9);
    transition: 0.3s;
    z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
    position: absolute;
    top: 15px;
    right: 15px;
}

.navbar-mobile ul {
    display: block;
    position: absolute;
    top: 55px;
    right: 15px;
    bottom: 15px;
    left: 15px;
    padding: 10px 0;
    background-color: #fff;
    overflow-y: auto;
    transition: 0.3s;
}

.navbar-mobile a,
.navbar-mobile a:focus {
    padding: 10px 20px;
    font-size: 15px;
    color: #354144;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover > a {
    color: rgba(12, 149, 71, 1);
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
    margin: 15px;
}

.navbar-mobile .dropdown ul {
    position: static;
    display: none;
    margin: 10px 20px;
    padding: 10px 0;
    z-index: 99;
    opacity: 1;
    visibility: visible;
    background: #fff;
    box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
    min-width: 200px;
}

.navbar-mobile .dropdown ul a {
    padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
    font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover > a {
    color: rgba(12, 149, 71, 1);
}

.navbar-mobile .dropdown > .dropdown-active {
    display: block;
}



/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
    width: 100%;
    height: 70vh;
    background-color: rgba(31, 38, 39, 0.8);
    overflow: hidden;
    position: relative;
    padding: 0;
    margin-top: 114px;
    color: #000;
}

#hero .carousel-item {
    width: 100%;
    height: 70vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/*#hero .carousel-item::before {
    content: "";
    background-color: rgba(0, 0, 0, 0.7);
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
}*/

#hero .carousel-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
}

#hero .carousel-content {
    text-align: center;
}

#hero h1 {

    margin-bottom: 10px;
    /*
    font-size: 48px;
    font-weight: 700;*/
    text-align: right;
}

#hero p {
    width: 80%;
    animation-delay: 0.4s;
    margin: 0 auto 30px auto;
    color: #fff;
}

#hero .carousel-inner .carousel-item {
    transition-property: opacity;
    background-position: center top;
}

#hero .carousel-inner .carousel-item,
#hero .carousel-inner .active.carousel-item-start,
#hero .carousel-inner .active.carousel-item-end {
    opacity: 0;
}

#hero .carousel-inner .active,
#hero .carousel-inner .carousel-item-next.carousel-item-start,
#hero .carousel-inner .carousel-item-prev.carousel-item-end {
    opacity: 1;
    transition: 0.5s;
}

#hero .carousel-inner .carousel-item-next,
#hero .carousel-inner .carousel-item-prev,
#hero .carousel-inner .active.carousel-item-start,
#hero .carousel-inner .active.carousel-item-end {
    left: 0;
    transform: translate3d(0, 0, 0);
}

#hero .carousel-control-prev,
#hero .carousel-control-next {
    width: 10%;
}

#hero .carousel-control-next-icon,
#hero .carousel-control-prev-icon {
    background: none;
    font-size: 48px;
    line-height: 1;
    width: auto;
    height: auto;
}

#hero .carousel-indicators li {
    list-style-type: none;
    cursor: pointer;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 4px;
    transition: ease-in;
    opacity: 0.7;
    background-color: rgb(0, 0, 0);
}

#hero .carousel-indicators li.active {
    opacity: 1;
    background-color: rgba(12, 149, 71, 1);
}

#hero .btn-get-started {
    font-family: "Raleway", sans-serif;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 14px 32px;
    border-radius: 5px;
    transition: 0.5s;
    line-height: 1;
    margin: 10px;
    color: #fff;
    background: #01b1d7;
    animation-delay: 0.8s;
}

#hero .btn-get-started:hover {
    background: #019cbe;
}

@media (max-width: 768px) {
    #hero {
        height: 90vh;
    }

    #hero .carousel-item {
        height: 90vh;
    }

    #hero h1 {
        font-size: 28px;
    }
}

@media (min-width: 1024px) {
    #hero p {
        width: 60%;
    }

    #hero .carousel-control-prev,
    #hero .carousel-control-next {
        width: 5%;
    }
}

@media (max-height: 500px) {
    #hero {
        height: 150vh;
    }

    #hero .carousel-item {
        height: 150vh;
    }
}


#hero .boxs {
    
    width: 53%;
    float: left;
}

#hero .span-collage {
    color: #8dc640;
}

#hero .form-container {
    background-color: #fff;
   /* padding: 10px;*/
    overflow: hidden;
    position: relative;
    z-index: 1;
    border: 3px rgb(2, 2, 2) solid;
    border-radius: 20px;
    width: 70%;
}

#hero .form-container .form-icon {
    color: #fff;
    font-size: 55px;
    line-height: 55px;
    text-align: center;
    margin: 0 0 10px;
}

#hero .form-container .title {
    color: rgb(0, 0, 0);
    font-size: 20px;
    font-weight: 800;
    text-align: center;
    text-transform: capitalize;
    margin: 0 0 25px;
}

#hero .img-hed{
    width: 80%;
}

#hero .form-container .form-horizontal {
    background: #fff;
    padding: 10px;
    margin: 0 0 20px;
    border-radius: 3px;
}

.form-horizontal .form-group {
    background-color: #fff;
    margin:  10px 0 15px;
    border-radius: 50px;
    border: 1px solid rgb(0, 0, 0);
}

#hero .form-horizontal .form-control {
    color: #999;
    background-color: transparent;
    font-size: 16px;
    width: calc(100% - 33px);
    height: 45px;
    padding: 0 5px;
    box-shadow: none;
    border: none;
    border-radius: 50px;
    display: inline-block;
    transition: all 0.3s;
    text-align: right;
}

#hero .form-horizontal .form-control:focus {
    box-shadow: none;
    border: none;
}

#hero .form-horizontal .form-control::placeholder {
    color: #999;
    font-size: 14px;
    font-weight: 300;
    text-transform: capitalize;
    text-align: right;
}

#hero .form-horizontal .forgot-pass {
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    margin: 0 0 15px 0;
    display: block;
}

#hero .form-horizontal .forgot-pass a {
    color: #333;
    transition: all 0.3s ease 0s;
}

#hero .form-horizontal .forgot-pass a:hover {
    color: #555;
}

#hero .form-horizontal .btn {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    padding: 2px 15px;
    border-radius: 30px;
    border: 2px solid rgba(12, 149, 71, 1);
    position: relative;
    margin: 0 10px;
    z-index: 1;
    transition: all 0.5s ease;
    background: rgb(138, 197, 64);
    background: linear-gradient(90deg, rgba(138, 197, 64, 1) 0%, rgba(12, 149, 71, 1) 50%);
}

#hero .form-horizontal .btn:before {
    content: " ";
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    transform: translateX(-50%) translateY(-50%);
    position: absolute;
    left: 50%;
    top: 50%;
    transition: all 0.7s ease;
    border-radius: 30px;
    border: 2px solid rgba(138, 197, 64, 1);
}

#hero .form-horizontal .btn:hover {
    color: #fff;
    background: rgb(138, 197, 64);
    background: linear-gradient(-90deg, rgba(138, 197, 64, 1) 0%, rgba(12, 149, 71, 1) 50%);
}


#hero .form-container .user-signup {
    color: #333;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    display: block;
}

#hero .form-container .user-signup a {
    color: #333;
    transition: all 0.3s ease 0s;
}

#hero .form-container .user-signup a:hover {
    color: #555;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.5);
}

.span-container {
    margin-top: 0px; /* تعيين المسافة العلوية إلى صفر لتقريب النص من الأعلى */
    text-align: center;
}


.span-large {
    
    font-weight: bold; /* جعل النص عريضًا */
    text-align: center;
    color: black; /* تعيين لون النص إلى الأسود */
    display: inline-block; /* عرض العنصر بشكل كتلة لتمكين التخصيص */
    width: 100%; /* عرض النص ليأخذ كامل عرض الحاوية */
}
.span-small {
    text-align: center;
    color: black;
    display: inline-block;
    width: 100%;
    font-weight: bold;
    font-size: 12px;
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
    padding: 40px 0;
}

.section-bg {
    background-color: #f4f5f6;
}

.section-title {
    text-align: center;
    padding: 30px 0;
    position: relative;
}

.section-title h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 0;
    color: #000000;
    position: relative;
    z-index: 2;
}

.section-title span {
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 0;
    color: #8dc640;
    position: relative;
    z-index: 2;
}

.section-title p {
    margin-bottom: 0;
    position: relative;
    z-index: 2;
    color: #808282;
}

@media (max-width: 575px) {
    .section-title h2 {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .section-title span {
        font-size: 38px;
    }
}



/*--------------------------------------------------------------
# services
--------------------------------------------------------------*/




.services .serviceBox {
    text-align: center;
    padding: 0 15px 15px;
    border-bottom: 2px #f4f5f6;
    position: relative;
    z-index: 1;
}

.services .serviceBox .service-icon {
    color: rgba(0, 0, 0, 0.6);
    background: #f4f5f6;
    font-size: 50px;
    line-height: 180px;
    width: 180px;
    height: 180px;
    margin: 0 auto 25px;
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

.services .serviceBox .service-icon img {
    width: 80px;
    height: 80px;
}


.services .serviceBox .title {
    color: #040707;
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 8px;
}

.services .serviceBox .description {
    color: #bcbec0;
    font-size: 14px;
    margin: 0;
}

@media only screen and (max-width: 1199px) {
    .services .serviceBox {
        margin: 0 0 30px;
    }
}

/*--------------------------------------------------------------
# Why Us
--------------------------------------------------------------*/

.why-us {
    background: url("../img/bac1.png") center center no-repeat;
    background-size: cover;
    position: relative;
}

.why-us::before {
    content: "";
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.why-us img {
    width: 50%;
    margin: -9px;
}

.why-us p {
    padding: 0;
    margin: 0 0 20px 0;
    font-size: 18px;
    color: #000000;
}

.why-us .btn {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    padding: 2px 15px;
    border-radius: 30px;
    border: 2px solid rgba(12, 149, 71, 1);
    position: relative;
    margin: 10px auto;
    z-index: 1;
    transition: all 0.5s ease;
    width: 25%;
    background: rgba(12, 149, 71, 1);
    background: linear-gradient(90deg, rgba(138, 197, 64, 1) 0%, rgba(12, 149, 71, 1) 50%);

}

.why-us .btn:before {
    content: " ";
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    transform: translateX(-50%) translateY(-50%);
    position: absolute;
    left: 50%;
    top: 50%;
    transition: all 0.7s ease;
    border-radius: 30px;
    border: 2px solid rgba(138, 197, 64, 1);
}

.why-us .btn:hover {
    background: rgb(138, 197, 64);
}



.why-us .btn {
    width: 100%; /* جعل الزر بعرض 100% */
    max-width: 300px; /* تعيين عرض أقصى للزر */
    padding: 10px; /* تقليل حشوة الزر */
    font-size: 16px; /* تقليل حجم الخط للزر */
}


@media (max-width: 575px) {
.why-us {
    padding: 1rem 0; /* تقليل الحشوة العمودية */
    text-align: center; /* محاذاة النص في المركز */
}

.why-us img {
    width: 90%; /* تقليل عرض الصورة على الشاشات الصغيرة */
}

.why-us .content {
  /*  margin-top: -3rem;  رفع المحتوى للأعلى أكثر على الشاشات الصغيرة */
}

.why-us .btn {
    font-size: 16px; /* تقليل حجم الخط للزر */
    padding: 10px 15px; /* تقليل حشوة الزر */
    width: 100%; /* جعل الزر بعرض 100% */
}
}



/*--------------------------------------------------------------
# Team
--------------------------------------------------------------*/
.team {
    background: #fff;
}

.team .our-team {
    border-top: 1px solid #fff;
    background: #e7e8e8;
    border-radius: 5px;
    margin-top: 72px;
}

.team .our-team .pic {
    width: 60%;
    border: 3px solid #fff;
    border-radius: 60px 0;
    margin: -72px auto 0;
    overflow: hidden;
    transition: all 0.20s ease 0s;
    border-radius: 50%;
    border-color: rgba(12, 149, 71, 1);
}

.team .our-team .pic img {
    width: 100%;
    height: auto;
}

.team .our-team .team-content {
    text-align: center;
    position: relative;
    overflow: hidden;
}

.team .our-team .team-title {
    font-size: 30px;
    color: #000;
    margin: 20px 0 0;
}

.team .our-team .post {
    font-size: 22px;
    color: rgba(138, 197, 64, 1);
    display: block;
    margin-bottom: 15px;
}




@media only screen and (max-width: 990px) {
    .team .our-team {
        margin-top: 80px;
    }
}


.team .swiper-pagination {
    margin-top: 20px;
    position: relative;
}

.team .swiper-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: rgba(12, 149, 71, 1);
    opacity: 1;
}

.team .swiper-pagination .swiper-pagination-bullet-active {
    background-color: #354144;
}

.team .swiper-slide-active {
    text-align: center;
}

@media (min-width: 992px) {
    .team .swiper-wrapper {
        padding: 40px 0;
    }
}

.swiper-button-next,
.swiper-button-prev {
    color: rgba(12, 149, 71, 1);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    color: rgb(10, 10, 10);
}




/*--------------------------------------------------------------
# partners
--------------------------------------------------------------*/

.partners {
    background: #e7e8e8;
}

.partners img {
    width: 90%;
}


@media (max-width: 575px) {
    .partners img {
        width: 100%;
    }
}

/*--------------------------------------------------------------
# video
--------------------------------------------------------------*/


.video .item-video {
    position: relative;
}

.video .item-video img {
    position: relative;
    border: 2px solid #fff;
}

.video .item-video i {
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translate(50px, -50px);
    z-index: 1;
    font-size: 60px;
    color: #fff;
    background: rgba(0, 0, 0, 0.67);
    border-radius: 50%;
    padding: 10px;
    transition: all 0.4s;
    cursor: pointer;
}

.video .item-video i:hover {
    background: rgba(0, 0, 0, 0.85);
    font-size: 65px;
}

.video .item-video h3 {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    font-size: 30px;
    color: #fff;
}



.item-video-rno {
    margin-top: 0;
    margin-right: 0;
    margin-left: 0;

}

.item-video-no {
    padding-right: 0;
    padding-left: 0;
    margin-top: 0;
}



.img-1 {
    width: 100%;
    height: 500px;
}

.img-2 {
    width: 100%;
    height: 244px;
}

.img-3 {
    width: 100%;
    height: 256px;
}

/*--------------------------------------------------------------
# news
--------------------------------------------------------------*/
.latest-news {
    padding: 2rem 0;
}

.news-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem; /* المسافة بين المقالات */
}

.news-item {
    flex: 1 1 calc(33.333% - 1rem); /* عرض 33.333% مع مسافة بين العناصر */
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column; /* لضمان أن المحتوى يكون عمودي */
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-item img {
    width: 100%; /* عرض الصورة كامل العنصر */
    height: 200px; /* تحديد ارتفاع ثابت للصورة */
    object-fit: cover; /* ملاءمة الصورة داخل العنصر دون تشويه */
    display: block; /* إزالة أي مساحة زائدة حول الصورة */
}

.news-content {
    display: flex;
    flex-direction: column;
    flex: 1; /* يجعل المحتوى يشغل المساحة المتبقية */
    padding: 1rem;
}

.news-title {
    font-size: 1.2rem; /* حجم الخط أقل لتناسب 3 مقالات بجانب بعض */
    margin: 0 0 0.5rem;
    height: 3rem; /* تحديد ارتفاع ثابت لعنوان المقال */
    overflow: hidden; /* إخفاء النص الذي يتجاوز الارتفاع */
}

.news-summary {
    font-size: 0.9rem; /* حجم الخط أصغر */
    margin: 0 0 1rem;
    color: #666;
    height: 4rem; /* تحديد ارتفاع ثابت لملخص المقال */
    overflow: hidden; /* إخفاء النص الذي يتجاوز الارتفاع */
}

.btn {
   /*  display: inline-flex;*/
    align-items: center;
    text-decoration: none;
    background-color: #78bf43;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #35a444;
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
    padding: 15px 0;
    background: #f6f7f8;
    min-height: 40px;
}

.breadcrumbs h2 {
    font-size: 24px;
    font-weight: 400;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumbs ol li + li {
    padding-left: 10px;
}

.breadcrumbs ol li + li::before {
    display: inline-block;
    padding-right: 10px;
    color: #4b5c61;
    content: "/";
}

@media (max-width: 768px) {
    .breadcrumbs .d-flex {
        display: block !important;
    }

    .breadcrumbs ol {
        display: block;
    }

    .breadcrumbs ol li {
        display: inline-block;
    }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
    background: rgb(138, 197, 64);
    background: linear-gradient(90deg, rgba(138, 197, 64, 1) 0%, rgba(12, 149, 71, 1) 50%);
    padding: 0 0 20px 0;
    color: #fff;
    font-size: 14px;
}

#footer .footer-top {
    background: #333333;
    padding: 20px 0 20px 0;
}

#footer .footer-top img {
    width: 30%;
}

#footer .footer-top h3 {
    font-size: 15px;
    color: #fff;
    border-radius: 20px;
    padding: 5px;
    text-align: center;
    background: rgb(138, 197, 64);
    background: linear-gradient(90deg, rgba(138, 197, 64, 1) 0%, rgba(12, 149, 71, 1) 50%);
    width: 50%;
    margin: 0 auto;
}

#footer .footer-top .social-links a {
    font-size: 15px;
    display: inline-block;
    background: #fff;
    color: #333333;
    line-height: 25px;
    margin-left: 10px;
    border-radius: 50%;
    text-align: center;
    width: 25px;
    height: 25px;
    transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
    background: rgba(12, 149, 71, 1);
    color: #fff;
    text-decoration: none;
}


#footer .footer-top .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

#footer .footer-top .footer-links ul i {
    padding-right: 10px;
    color: #fff;
    font-size: 18px;
    line-height: 1;
}

#footer .footer-top .footer-links ul li {
    padding: 3px 0;
    display: flex;
    align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
    padding-top: 0;
}

#footer .footer-top .footer-links ul a {
    color: #fff;
    transition: 0.3s;
    display: inline-block;
    line-height: 1;
    text-align: center;
}

#footer .footer-top .footer-links ul a:hover {
    color: #fff;
}


#footer .copyright {
    text-align: center;
    padding-top: 30px;
}

#footer .credits {
    padding-top: 10px;
    text-align: center;
    font-size: 13px;
    color: #fff;
}

.not-fixed .fixed-top {
    position: relative; /* اجعل الشريط غير ثابت */
}
.breadcrumb {
    background-color: #f8f9fa;
    border-radius: 0.375rem;
    padding: 0.75rem 1.25rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.breadcrumb-item a {
    color: #3eab49;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #333333;
}

.breadcrumb-item .bi {
    color: #333333;
    font-size: 1.2rem;
}


.breadcrumb .d-flex {
    align-items: center;
}
.breadcrumb-item+.breadcrumb-item::before {
    float: left;
    padding-right: var(--bs-breadcrumb-item-padding-x);
    color: var(--bs-breadcrumb-divider-color);
    content: none;
}
.breadcrumb {
    background: #f8f9fa;
    padding: 10px 20px;
    border-radius: 5px;
    margin-bottom: 30px;
}

.breadcrumb a {
    color: #333333;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb .separator {
    color: #333333;
}

.card-footer {
    padding: 1rem;
    background-color: #f8f9fa;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-share {
    display: flex;
    gap: 10px;
}

.social-icon {
    color: rgb(115 188 65);
    font-size: 1.25rem;
    text-decoration: none;
    transition: color 0.3s;
}

.social-icon:hover {
    color: #333333;
}

.post-info ul {
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.post-info i {
    margin-right: 5px;
    color: rgb(115 188 65);
}
.breadcrumb h4 {
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.article-content {
    margin-bottom: 40px;
}

.article-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.article-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
}

.social-share a {
    margin-right: 10px;
    font-size: 1.5rem;
    color: #555;
}

.social-share a:hover {
    color: #007bff;
}

.post-info ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 15px;
}

.post-info li {
    font-size: 1rem;
    color: #777;
}

.form-horizontal-course .form-group {
    background-color: #fff;
    margin:  10px 0 15px;

}
.icon-spacing {
    margin-right: 10px; /* يمكنك تعديل المسافة حسب الحاجة */
    color: #6aba45;
}
.section-background {
    background-color: #f8f9fa; /* يمكنك تعديل اللون حسب الحاجة */
    padding: 20px;
    border-radius: 10px;
}

.card-img-top {
    width: 100%;
    height: 200px; /* تعديل الارتفاع حسب الحاجة */
    object-fit: cover;
}
.course-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.course-card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1; /* يضمن أن المساحة المتبقية تملأ بشكل متساوي */
}

.course-card img {
    width: 100%;
    height: 200px; /* ضبط ارتفاع الصور بما يتناسب مع التصميم */
    object-fit: cover;
}

.course-card-title {
    font-size: 1.25rem;
}

.course-card-text {
    font-size: 1rem;
}

.course-btn-outline-primary {
    margin-top: auto; /* يضمن أن الزر يكون في الأسفل */
}

.post-card {
    padding: 20px;
    margin-bottom: 20px;
    background-color: #fcfcfc;
    border-radius: 15px;
    border: 1px solid #ddd;
    box-shadow: 0 0 15px rgba(0, 0, 0, .2);
    transition: all 0.3s ease-in-out;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.card-footer .btn {
    font-size: 14px;
}

.card-img {
    border-radius: 10px;
}

.active>.page-link, .page-link.active {
    z-index: 3;
    color: var(--bs-pagination-active-color);
    background-color: #333333;
    border-color: #333333;
}
.page-link {
    position: relative;
    display: block;
    padding: var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);
    font-size: var(--bs-pagination-font-size);
    color: var(--bs-pagination-color);
    text-decoration: none;
    background-color: var(--bs-pagination-bg);
    border: var(--bs-pagination-border-width) solid var(--bs-pagination-border-color);
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

@media (max-width: 768px) {
    #hero {
        height: auto;
      
        margin-top: 60px; /* تعديل حسب حجم الـ header */
    }

    #hero .carousel-item {
        height: auto;
        min-height: 100vh;
        background-image: none !important; /* إزالة الصورة الخلفية */
        background-color: #f1f2f2;
    }

    #hero .boxs {
        width: 100%;
        float: none;
        padding: 20px;
    }

    #hero h1 {
        font-size: 24px;
        text-align: center;
        margin-bottom: 20px;
    }

    #hero .span-collage,
    #hero .professional-training {
        display: block;
    }

    #hero .desktop-only {
        display: none; /* إخفاء الصورة على الشاشات الصغيرة */
    }

    #hero .form-container {
        width: 90%;
        margin: 20px auto;
    }

    #hero .form-horizontal .form-control,
    #hero .form-horizontal .btn {
        width: 100%;
        margin: 10px 0;
    }

    #hero .carousel-content {
        padding: 20px 0;
    }

    #hero .carousel-control-prev,
    #hero .carousel-control-next {
        display: none; /* إخفاء أزرار التحكم في الـ carousel */
    }
}
@media (max-width: 768px) {
    #hero-carousel-indicators {
      display: none;
    }
  }