/********** Template CSS **********/
:root {
    --primary: #FD5D14;
    --secondary: #FDBE33;
    --light: #F4F6F8;
    --dark: #040F28;
}

.pt-6 {
    padding-top: 90px;
}

.pb-6 {
    padding-bottom: 90px;
}

.py-6 {
    padding-top: 40px;
    padding-bottom: 40px;
}

.btn {
    position: relative;
    font-weight: bold;
    text-transform: uppercase;
    transition: 0.5s;
    font-size: 17px;
}

.btn::after {
    position: absolute;
    content: "";
    width: 0;
    height: 5px;
    bottom: -1px;
    left: 50%;
    background: var(--primary);
    transition: .5s;
}

.btn.btn-primary::after {
    background: #127c49;
}

.btn:hover::after,
.btn.active::after {
    width: 80%;
    left: 10%;
}

.btn-primary {
    color: #FFFFFF;
}

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

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    left: 96%;
    bottom: 0;
    margin-left: 0px;
    border-radius: 0;
    z-index: 99;
}

.bg-dark-radial {
    background-image: -webkit-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-image: -moz-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-image: -ms-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-image: -o-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-image: repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-size: 3px 3px;
}

.bg-light-radial {
    background-image: -webkit-repeating-radial-gradient(center center, rgba(256, 256, 256, 0.2), rgba(256, 256, 256, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -moz-repeating-radial-gradient(center center, rgba(256, 256, 256, 0.2), rgba(256, 256, 256, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -ms-repeating-radial-gradient(center center, rgba(256, 256, 256, 0.2), rgba(256, 256, 256, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -o-repeating-radial-gradient(center center, rgba(256, 256, 256, 0.2), rgba(256, 256, 256, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: repeating-radial-gradient(center center, rgba(256, 256, 256, 0.2), rgba(256, 256, 256, 0.2) 1px, transparent 1px, transparent 100%);
    background-size: 3px 3px;

}

.navbar-dark .navbar-nav .nav-link {
    position: relative;
    padding: 22px 12px;
    font-size: 16px;
    margin-left: 13px;
    text-transform: uppercase;
    color: var(--light);
    outline: none;
    transition: .5s;
    font-weight: bold;
}


.Header {
    text-align: right;
}

.text-justify {
    text-align: justify;
}

.img-border {
    border-radius: 30px;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active:hover
{
    color: #218838;
}

.navbar-dark .navbar-nav .nav-link.active {
    color: #ea8f1a;
}


@media (max-width: 991.98px) {
    .navbar-dark .navbar-nav .nav-link {
        margin-left: 0;
        padding: 10px 0;
    }

}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(4 15 40 / 19%);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h4 {
        font-size: 18px;
        font-weight: 500 !important;
    }
    .back-button {
    margin: auto;
    display: block;
    width: 100% !important;
    margin-bottom: 20px;
}


.back-to-top {
    left: 87%;
}
    .carousel-caption h1 {
        font-size: 20px;
        font-weight: 600 !important;
    }

    .about-image {
        display: none !important;
    }

 .about-image-div {
        padding-bottom: 0px !important;
        margin: 0px !important;
        height: 0px !important;
    }

    .burger-menu {
        direction: ltr;
        text-align: right;
    }

    .float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
}
.my-float {
  font-size: 28px;
  color: #fff;
  background: #25d366;
  /* padding: 10px; */
  border-radius: 50%;
}
 h1.display-2 {
    font-size: 1.75rem;
  }
    .accordion {
    font-size: 16px !important;
    padding: 10px 12px !important;
  }
  .panel {
    padding: 10px 12px;
    width: 99% !important;
  }
  .accordion:hover {
    background-color: #edf4e4;
    color: #28a745 !important;
}
 .contact-form {
    min-height: auto;
    width: 100%;
    height: 100% !important;
    text-align: left;
  }
  h4 {
        font-size: 0.8rem !important;
  }
}

.page-header {
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(4, 15, 40, .7), rgba(4, 15, 40, .7)), url(../img/Carousel-3.jpg) center center no-repeat;
    background-size: cover;
}

.service-item {
    transition: all 0.3s ease-in-out;
    border-radius: 15px;
    overflow: hidden;
    background-color: #f8f9fa; /* لون رمادي فاتح */
    border: 1px solid #ddd;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-color: #28a745; /* يلمع باللون الأخضر عند hover */
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-top: -40px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
    border: 2px solid #28a745;
}

.service-item:hover .service-icon {
    background-color: #28a745;
}

.service-item h4 {
    color: #333;
    font-weight: bold;
}

.service-item a.btn {
    font-weight: bold;
    margin: 5px;
    transition: all 0.3s;
}

.service-item a.btn:hover {
    color: #fff !important;
    background-color: #28a745;
    border-radius: 20px;
}
.portfolio-box {
    position: relative;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    text-align: center;
    cursor: pointer;
}

.portfolio-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-color: #28a745; /* اللون الأخضر عند hover */
}

.portfolio-box img.programe-border {
    border-bottom: 1px solid #eee;
    width: 100%;
    transition: transform 0.3s ease-in-out, filter 0.3s ease;
}

.portfolio-box:hover img.programe-border {
    transform: scale(1.05);
    filter: brightness(0.9);
}

.portfolio-title {
    display: block;
    padding: 15px 10px;
    background: #fff;
    text-decoration: none;
}

.program-title {
    color: #333;
    font-weight: bold;
    margin-bottom: 0;
    transition: color 0.3s;
}

.portfolio-box:hover .program-title {
    color: #28a745;
}

.portfolio-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 90px;
    height: 90px;
    background: #28a745;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease-in-out;
    opacity: 0;
}

.portfolio-box:hover .portfolio-btn {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.portfolio-btn i {
    font-size: 50px !important;
    color: #fff;
    transition: transform 0.3s ease-in-out;
}

.portfolio-box:hover .portfolio-btn i {
    transform: rotate(10deg);
}
/* @media (min-width: 992px) {

    .testimonial,
    .contact-form {
        margin-left: -90px; *
    }

} */
@media (max-width: 767.98px) {
  .service-item {
    height: auto !important;
  }
}

@media (min-width: 992px) {
    /* .footer::after {
        position: absolute;
        content: "";
        width: 1px;
        height: 100%;
        top: 0;
        left: 50%;
        background: var(--primary)
    } */

}

.footer-shape::before {
    position: absolute;
    content: "";
    width: 80px;
    height: 100%;
    top: 0;
    left: -40px;
    background: var(--primary);
    transform: skew(40deg);
}

.logo {
    width: 57%;
    display: inline-block;
    margin-left: 107px;
    margin-right: 40px;
}

.logo-space {
    width: 200px;
    /* margin-left: -30px; */
}

.box-border {
    border-radius: 24px;
    box-shadow: 3.5px 1.651px 12px 2px rgba(54, 70, 81, 0.13);
}

.Programes-Image {
    height: 294px;
}

.programe-border {
    border: 1px solid #e3e3e3;
    background-color: #ebebebab;
    border-radius: 10px 10px 0px 0px;
    box-shadow: 3.5px 1.651px 12px 2px rgba(54, 70, 81, 0.13);
}

@media (min-width: 1200px) {
    .slider-text {
        margin-top: -59px !important;
    }

    .about-image {
        display: block !important;
    }

    .text-hidden {
        display: none;
    }
}

[class^="bi-"]::before,
[class*=" bi-"]::before {
    display: inline-block;
    font-family: bootstrap-icons !important;
    font-style: normal;
    /* font-size: 100px; */
    font-weight: normal !important;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    vertical-align: -.125em;
    -webkit-font-smoothing: antialiased;
    float: left;
    margin-top: 4px;
    margin-right: 10px;
}

.section-title {
    max-width: 600px;
    background-color: #fe8c58;
    padding: 10px 10px 10px;
    border-radius: 10px;
    padding-top: 30px;
    box-shadow: 2.5px 4.651px 6px 1px rgba(101, 70, 112, 0.13);
}

.footer-logo {
    width: 100%;
}

.program-title {
    text-align: center;
    font-size: 1.5em;
}

.program-span-title {
    text-align: center;
    font-size: 16px;
}

.float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 148px;
    right: 3px;
    background-color: #25d366;
    color: #FFF !important;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
}

.my-float {
    margin-top: 16px;
}

.message {
    margin-left: 172px;
    vertical-align: middle;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
    margin-top: 60px;
}

.pb-150 {
    padding-bottom: 150px !important;
}

.image-button {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 30%;
    margin-top: 20px;
}

.mr-20 {
    margin-right: 20px;
}

.mr-30 {
    margin-right: 30px;
}

.ml-20 {
    margin-left: 20px;
}

.mt-7 {
    margin-top: 7px;
}

.dropdown {
    width: 100%;
    border-color: white;
    padding: 10px;
    color: #777;
}

.accordion {
    background-color: #f1f1f1;
    color: #373737;
    cursor: pointer;
    font-weight: bold;
    padding: 18px;
    width: 98%;
    border: #dadada solid 0.1px;
    text-align: right;
    outline: none;
    font-size: 18px;
    transition: 0.4s;
    margin-right: 20px;

}

.accordion:hover {
    background-color: #28a745;
    color: #FD5D14 !important;
}

.accordion:focus {
    background-color: #edf4e4;
    color: #FD5D14 !important;
}

.accordion:after {
    content: '\f107';
    /* Unicode character for "plus" sign (+) */
    font-size: 20px;
    color: #fd7d43;
    float: left;
    margin-left: 5px;
    font-weight: bold;
    font-family: FontAwesome;
}

.panel {
    padding: 20px 20px 12px 20px;
    display: none;
    background-color: #f5f5f5;
    border: #dadada solid 0.1px;
    overflow: hidden;
    width: 95%;
    margin-right: 20px;
    transition: max-height 0.2s ease-out;
    line-height: 26px;

}

.btn-whatsapp {
    color: #ffffff;
    background-color: #29A71A;
    border-color: #29A71A;
}

.btn-whatsapp:hover {
    color: #fd7d43;
    background-color: #29A71A;
    border-color: #29A71A;
}

.contact-form {
    box-shadow: 2.5px 4.651px 6px 1px rgba(101, 70, 112, 0.13);
    min-height: 80px;
}

.contact-info {
    text-align: right;
    color: #001610;
    font-weight: bold;
}

a[data-toggle="collapse"] i.fas:before {
    content: "\f107";
    /* angle-down */
}

a[data-toggle="collapse"].collapsed i.fas:before {
    content: "\f106";
    /* angle-up */
}

.branc-man {
    height: 350px;
    display: block;
    margin: auto;
        width: 100%;
}

.up::before {
    float: none !important;
    margin-right: 0px !important;
}

.program-icon {
    display: block;
    margin: auto;
    width: 70%;
    margin-left: -10px;
}

.back-button {
    margin: auto;
    display: block;
    width: 24%;
    margin-bottom: 20px;
}

.rtl-flip i.bi-arrow-left {
    transform: rotate(180deg);
}

.carousel-item img {
  height: 60vh !important;
  object-fit: cover;
}
.w-70 {
  width: 100% !important;
}

h4 {
  font-size: 1rem;
}
.files-download {
  transition: all 0.3s ease;
  cursor: pointer;
  border: #dadada solid 0.1px;
  margin-right: 20px;
}

.files-download:hover {
  background-color: #b8f7bd !important; /* أخضر فاتح ناعم */
  box-shadow: 0 4px 10px rgba(0, 128, 0, 0.2);
}

.files-download:hover h4 i {
  color: #28a745; /* لون أيقونة أخضر عند hover */
}