@font-face {
  font-family: 'YourFont';
  src: url('your-font.woff2') format('woff2');
  font-display: swap;
}

/*** Spinner Start ***/

#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: 40px;
    height: 40px;
    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;
    font-family: 'Open', sans-serif !important;
}

h4, h5, h6, .h4, .h5, .h6 {
    font-weight: 600 !important;
    font-family: 'Open', sans-serif !important;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}


/*** Button Start ***/

.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-md-square {
    width: 46px;
    height: 46px;
}

.btn-lg-square {
    width: 58px;
    height: 58px;
}

.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: var(--bs-primary) !important;
    background: var(--bs-dark) !important;
    border-color: var(--bs-dark) !important;
    border: 1px solid var(--bs-primary) !important;
}

.btn.btn-dark:hover {
    color: var(--bs-dark) !important;
    background: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
}

/*** Button End ***/


/*** Topbar Start ***/
.topbar .topbar-inner {
    height: 45px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, .5);
}

.topbar a,
.topbar a i,
.topbar a span {
    transition: 0.5s !important;
}

.topbar a span{
    color: #495768;
}
.topbar a:hover span {
    color: var(--bs-primary);
}

.topbar a i:hover {
    color: #d8aa40 !important;
}
.topbar a i,
.topbar a svg {
  transition: transform 0.6s cubic-bezier(.4,0,.2,1);
  transform-origin: center;
}

.topbar a:hover i,
.topbar a:hover svg {
  transform: rotate(360deg);
}
.topbar a:hover i,
.topbar a:hover svg {
  transform: rotate(360deg) scale(1.15);
}
.topbar a:hover svg {
  fill: #d8aa40;             /* اللون الجديد عند الهوفر */
  /* transform: rotate(360deg) scale(1.2); دوران + تكبير */
}
.text-end .signup:hover {
    color: var(--bs-primary) !important;
}
.text-end .text-body {
    color: #495768 !important;
}
/*** Topbar End ***/



/*** Navbar Start ***/
.fixed-top {
    transition: .5s;
}

.navbar {
    border-bottom: 1px solid rgba(255, 255, 255, .5);
}

.navbar .navbar-nav .nav-link {
    padding: 12px;
    color: var(--bs-dark);
    font-size: 17px;
    font-weight: 600;
    transition: .5s;
}

.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: var(--bs-primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    vertical-align: middle;
    margin-left: 8px;
}

@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;
    border: 2px solid var(--bs-primary) !important;
    box-shadow: none !important;
}

/*** Navbar End ***/


/*** Hero Header ***/

.hero-header {
    /* margin-bottom: 6rem; */
    padding-bottom: 6rem;
  padding-top: 15rem;
  position: relative;
  background: none; /* حذف الخلفية القديمة */
}

.hero-bg-img {
  object-fit: cover;
}

.hero-header .hero-header-inner {
    padding: 3rem;
    background: rgba(255, 255, 255, .5);
}

@media (max-width: 992px) {
    .hero-header {
        padding-top: 12rem;
    }
}

.hero-header .breadcrumb-item {
    font-size: 18px;
}
.hero-header {
    /* margin-bottom: 6rem;
    padding-bottom: 6rem;
    padding-top: 15rem; */
    /* background: url(../img/hero.webp), center center no-repeat;
    
    background-size: cover; */

  background: 
    linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
    url("../img/hero.webp");
  background-size: cover;
  background-position: center;
  height: 100vh;
}
/*** Hero Header ***/

/* Start Whatsapp */
/* .join-chat {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    left: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 43px;
    z-index: 100;
    transition: 0.3s;
}

.join-chat:hover {
    background-color: #128c7e;
}

.join-chat .join-chat-button {
    margin-top: 9px;
}

.join-chat:hover .join-chat-button {
    color: white;
} */
html[dir=ltr] .fixed-icons {
  right: 10px;
  left: unset;
}
.fixed-icons {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 99;
  width: -moz-fit-content;
  width: fit-content;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  align-content: center;
  gap: 25px;
}
.fixed-icons .fixed-icon {
  width: 50px;
  height: 50px;
  position: relative;
  z-index: 9;
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
  animation: pulse-shadow 4s linear infinite alternate;
}
.fixed-icons .fixed-icon.primary-color {
  background-color: #25d366;
}
/* .fixed-icons .fixed-icon.secondary-color {
  background-color: #2f4147;
} */
.fixed-icons .fixed-icon img {
  width: 34px;
  height: 34px;
  -o-object-fit: contain;
     object-fit: contain;
}
.fixed-icons .fixed-icon:hover img {
  animation: fadeInLeft 0.4s linear;
}
/* End Whatsapp */


/*** About Start ***/
.about a.btn.btn-light:hover {
    background: var(--bs-dark) !important;
    color: var(--bs-primary) !important;
    border: 0;
}

.card-about {
    padding: 15px 15px 15px 15px;
    background-color: #ffff;
    box-shadow: 0px 0px 32px -8px rgba(0, 0, 0, 0.36);
    transition: .5s;

}

.card-about:hover {
    background-color: #f1c152;
}

.card-about .icon {}

.card-about .icon svg {
    fill: #f1c152;
    display: block;
    margin: 30px auto;
}

.card-about:hover .icon svg {
    fill: white;
}

/*** About End ***/


/*** Activities Start ***/
.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;
}
div .card.w-100.box_sadow {
    border-radius: 100px;
}
@media (max-width: 991px) {
  div .card.w-100.box_sadow {
    border-radius: 50px;
  }
}
.course-img {
  width: 100%;
  height: auto;
  object-fit: cover; /* تحافظ على الشكل بدون تمدد */
  border-radius: 15px; /* لو حابب نفس شكل الكارد */
}

/* التحكم في عدد الكروت بين 768 و 991 */
@media (min-width: 768px) and (max-width: 991px) {
  .content_col {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/*** Activities End ***/


/*** Events Start ***/
.event-item img {
    transition: 0.5s;
}

.event .event-item a {
    transition: 0.5s;
}

.event-item:hover img {
    transition: 0.5s;
    transform: scale(1.2)
}

.event-item a:hover {
    background: var(--bs-dark);
    color: var(--bs-primary);
    opacity: 0.5s;
}

/*** Events End ***/


/*** Sermon Start ***/
.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;
}
a.d-inline-block.h4.lh-sm.mb-3{
    transition: 0.5s;

}
/*** 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)
}
.text-blog .title {
    transition: 0.5s !important;
}
.blog-item .blog-meta a,
.blog-item .blog-meta a i {
    transition: 0.5s !important;
}

.blog-item .blog-meta a:hover,
.blog-item .blog-meta a i:hover {
    color: var(--bs-primary) !important;
}

/*** Blog End ***/


/*** Team Start ***/
.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;
    background: rgba(241, 193, 82, .7);
}
.team .team-item .team-icon a:hover svg {
    fill: #f1c152;
}

/*** Team End ***/


/*** 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 ***/

/* Start Price */
    .price {
      background: #fbf2db;
    }

    .pricing-card {
      background: white;
      padding: 2rem;
      text-align: center;
      color: #f1c152;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
      transition: transform 0.3s ease;
      height: 100%;
    }

    .pricing-card:hover {
      transform: translateY(-5px);
    }

    .pricing-card h2 {
      font-size: 48px;
      font-weight: bold;
      color: #f1c152;
      margin-bottom: 1.5rem;
    }
    .pricing-card h2 span {
          font-size: 0.4em;
    color: #7f8c8d;
    font-weight: normal;
    }
    
    .pricing-card p {
      color: black;
    }

    .pricing-card ul {
      list-style: none;
      padding: 0;
      margin-bottom: 2rem;
    }

    .pricing-card ul li {
      padding: 0.75rem 0;
      border-bottom: 1px solid #e2e8f0;
      color: black;
    }

    .pricing-card ul li:last-child {
      border-bottom: none;
    }


    @media (max-width: 768px) {
      .price h1 {
        font-size: 2rem;
      }

      .pricing-card {
        margin-bottom: 1.5rem;
      }
    }

    .price .row {
      --bs-gutter-x: 1rem;
      /* زيادة المسافة الأفقية بين الكروت */
    }

    .pricing-card {
      margin-bottom: 2rem;
    }

    @media (min-width: 992px) {
      .pricing-card {
        margin-bottom: 0;
        margin-right: calc(var(--bs-gutter-x) * .5);
        margin-left: calc(var(--bs-gutter-x) * .5);
      }


    }

    @media (min-width: 992px) {
      .price .row {
        flex-wrap: nowrap;
        justify-content: center;
      }
    }
/* End Price */

/*** Footer Start ***/
.footer {
    margin-top: 6rem;
    background: var(--bs-dark);
}

.footer .footer-item p {
    font-size: 16px;
    line-height: 35px;
}

.footer .border-top,
.footer .border-bottom {
    border-color: rgba(255, 255, 255, .08) !important;
}

.footer button {
    border: 0;
    transition: 0.5s;
}

.footer button:hover {
    background: var(--bs-dark);
    color: var(--bs-primary);
}

.footer-item a.btn.btn-light:hover {
    background: var(--bs-primary);
    color: var(--bs-dark) !important;
    border: var(--bs-primary);
}

.footer-item a,
.footer-item a i {
    transition: 0.5s;
}

.footer-item a:hover,
.footer-item a i:hover {
    color: var(--bs-primary) !important;
}

/*** Footer End ***/

/* Testimonials */
@media (max-width: 776px) {
    .testimonial-text {
        font-size: 0.9rem !important;
        height: 185px;
        overflow: hidden;
    }
    .owl-prev,
    .owl-next {
        display: none !important;
    }
    .owl-carousel .owl-item img {
        display: none;
    }
    .btn-md-square {
        top: -30px !important;
        left: -30px !important;
    }
}


/* التحكم في ارتفاع النافبار — يمنع تمدده */
.navbar {
  min-height: 70px !important;     
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* اللوجو — يكبر بدون ما يرفع النافبار */
.logo-img {
  max-height: 60px;    
  width: auto;
  object-fit: contain;
  border-radius: 10px;
}
.footer-logo-img {
    max-height: 100px;
    border: 1px solid var(--bs-primary);
    border-radius: 10px;
}
@media (max-width: 991px) {
  .logo-img {
    max-height: 60px;
  }
}






