/**
* project name: haya center
*copy version:2025
* host service:bhost
* Author: jannat rajaby
*bootstrap template: estartup

================
= brand color: =
================
#556b2f >>dark olive green
#789c3e >>olive green >اخضر زيتوني
#c89b2b >> golden
#f2ebd8 >>ivory
================
font brand:
================
tajawal,cairo
================
*/
/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
/*
@import url("http://www.fontstatic.com/f=cocon-next-arabic");
@import url("http://www.fontstatic.com/f=jazeera,jazeera-light");
@import url("http://www.fontstatic.com/f=bahij");
@import url("http://www.fontstatic.com/f=jooza");
@import url("http://www.fontstatic.com/f=flat-jooza");*/

    body {
     
  font-family: 'Tajawal', sans-serif;
  background-color: #f2ebd8 ;

  padding: 20px;
    }
    
/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  background: #f2ebd8;
  z-index: 997;
  transition: all 0.5s ease;
margin-bottom: 100px;
  padding: 20px 0;
}

#header #logo h1 {
  color: #c89b2b;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 1px;
  margin: 0;
}

#header #logo h1 a {
  color: #a78224d0;
  display: inline-block;
  text-decoration: none;
}

#header #logo h1 a span {
  color: #c89b2b;
}

#header #logo img {
  padding: 0;
  margin: 0;
}

#header.header-scrolled {
  background: #f2ebd8;
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.1);
  padding: 12px 0;
}

/*--------------------------------------------------------------
# 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 a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 30px;
  /* font-family: "cocon-next-arabic"; */
  font-size: 20px;
  color: #789c3e;
  white-space: nowrap;
  transition: 0.3s;
  letter-spacing: 0;
}

.navbar a i,
.navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > a {
  color: #c89b2b;
}


@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }

  .navbar .dropdown .dropdown:hover > ul {
    left: -100%;
  }
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: #222;
  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(34, 34, 34, 0.9);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  /* font-family: "cocon-next-arabic"; */
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  border-radius: 6px;
  background-color: #f2ebd8;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 15px;
  color: #556b2f;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover > a {
  color: #789c3e;
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
  margin: 15px;
}

/* ------------------------------------------------------------
        offline course style
        ---------------------------------------------------- */


/* الحاوية العامة */
.courses-container {
  margin-top: 10%;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

/* الكارد */
.course-card {
  background-color: #f2ebd8;
  border: 2px solid #c89b2b;
  border-radius: 16px;
  overflow: hidden;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
   margin-top: 40px; /* ✅ المساحة الفارغة من الأعلى */
}
.course-card:hover {
  transform: scale(1.01);
}

/* الصورة */

  .course-img {
  width: 100%;
  object-fit: contain;
  display: block;
}

/* المحتوى */
.course-content {
  padding: 16px;
  text-align: center;
}

.course-title {
  font-size: 22px;
  color: #556b2f;
  margin: 10px 0;
}

.course-description {
  font-size: 16px;
  color: #555;
  margin-bottom: 16px;
}

/* الزر */
.register-btn {
  background-color: #c89b2b;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
}
.register-btn:hover {
  background-color: #a67c1d;
}

/* ميديا كويري للجوال */
@media (max-width: 600px) {
  .course-img {
    height: 180px;
  }

  .course-title {
    font-size: 20px;
  }

  .course-description {
    font-size: 14px;
  }

  .register-btn {
    font-size: 14px;
    padding: 8px 16px;
  }
}

/*--------------------------------------------------------------
# cards
--------------------------------------------------------------*/


  .section-courses {
    padding-top: 80px; /* تأكدي أن هذا الرقم يغطي ارتفاع الناف بار */
  }


    .custom-card {
      border: 2px solid #c89b2b;
      border-radius: 15px;
      overflow:hidden;
      box-shadow: 0 4px 10px rgba(0,0,0,0.05);
      transition: transform 0.3s;
    }

    .custom-card:hover {
      transform: translateY(-5px);
    }

    .card-img-top {
      width: 200px;
      height: 200px;
      object-fit: cover;
      border-radius: 50%;
      margin: 20px auto 10px;
      display: block;
      border: 4px solid #c89b2b;
      background-color: #fff;
    }

    .card-title {
      color: #789c3e;
      font-weight: 700;
    }

    .card-text {
      color: #556b2f;
    }

    .price {
      color: red;
      font-weight: bold;
      font-size: 1.2rem;
    }

    .btn-custom {
      background-color: #c89b2b;
      color: #f2ebd8;
      border: none;
      font-weight: 700;
      transition: 0.3s;
    }

    .btn-custom:hover {
      background-color: #a68022;
      color: #fff;
    }

    .swiper {
      width: 100%;
      padding: 40px 0;
    }

    .swiper-slide {
      width: auto;
    }

    
/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  background-color: #556b2f;
  margin-top: 30px;
  padding-top: 50px;
  direction: rtl;
}

.footer .footer-logo .navbar-brand {
  color: #fff;
  display: inline-block;
  float: none;
  font-family: "Philosopher", sans-serif;
  font-size: 24px;
  font-weight: 500;
  height: 100%;
  letter-spacing: 0.2em;
  padding-left: 0;
  padding-top: 0;
  letter-spacing: 0px;
}

.footer .footer-logo p {
  color: #fff;
  font-size: 18px;
  letter-spacing: 0px;
}

.footer .list-menu > h4 {
  color: #fff;
  padding-bottom: 20px;
}

.footer .list-menu ul li a {
  color: #fff;
  font-size: 12px;
  padding-left: 5px;
  text-decoration: none;
  letter-spacing: 0;
}

.footer .copyrights {
  background-color: #f2ebd8;
  margin-top: 50px;
  text-align: center;
  padding: 25px;
}

.footer .copyrights p,
.footer .copyrights .credits {
  margin: 0;
  padding: 0;
  font-family: "Open Sans", sans-serif;
  font-weight: normal;
  font-size: 14px;
  letter-spacing: 0;
}

.footer .copyrights p a,
.footer .copyrights .credits a {
  letter-spacing: 0;
  color: #71c55d;
}
