/* 

TemplateMo 586 Scholar

https://templatemo.com/tm-586-scholar

*/

/* ---------------------------------------------
Table of contents
------------------------------------------------
01. font & reset css
02. reset
03. global styles
04. header
05. banner
06. features
07. testimonials
08. contact
09. footer

--------------------------------------------- */
/* 
---------------------------------------------
font & reset css
--------------------------------------------- 
*/

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

html {
  font-family: "Cairo", sans-serif !important;
  font-optical-sizing: auto;
  font-style: normal;
}

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900");

/* 
---------------------------------------------
reset
--------------------------------------------- 
*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
div pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
figure,
header,
nav,
section,
article,
aside,
footer,
figcaption {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
}

.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

.clearfix {
  display: inline-block;
}

html[xmlns] .clearfix {
  display: block;
}

* html .clearfix {
  height: 1%;
}

ul,
li {
  padding: 0;
  margin: 0;
  list-style: none;
}

header,
nav,
section,
article,
aside,
footer,
hgroup {
  display: block;
}

* {
  box-sizing: border-box;
}

html,
body {
  font-family: "Cairo", sans-serif !important;
  -ms-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #1D1616;
  margin-top: 0px;
  margin-bottom: 0px;
  font-weight: 700;
}

ul {
  margin-bottom: 0px;
}

p {
  font-size: 14px;
  line-height: 28px;
  color: #1D1616;
}

img {
  width: 100%;
  overflow: hidden;
}

/* 
---------------------------------------------
Global Styles
--------------------------------------------- 
*/
html,
body {
  font-family: "Cairo", sans-serif !important;
}

::selection {
  background: #8E1616;
  color: #EEEEEE;
}

::-moz-selection {
  background: #8E1616;
  color: #EEEEEE;
}

.section {
  padding-top: 30px;
  margin-top: 120px;
}

.section-heading {
  margin-bottom: 60px;
}

.section-heading h2 {
  font-size: 36px;
  font-weight: 600;
  text-transform: capitalize;
  margin: 20px 0;
  line-height: 44px;
}

.section-heading h2 em {
  color: #8E1616;
  font-style: normal;
}

.section-heading h6 {
  color: #8E1616;
  font-size: 20px;
  text-transform: uppercase;
  font-weight: 600;
}

.main-button a {
  display: inline-block;
  background-color: #EEEEEE;
  color: #8E1616;
  font-size: 14px;
  font-weight: 500;
  height: 40px;
  line-height: 40px;
  padding: 0px 25px;
  border-radius: 20px;
  transition: all .3s;
}

.main-button a:hover {
  background-color: #8E1616;
  color: #EEEEEE;
}

/* 
---------------------------------------------
Pre-loader Style
--------------------------------------------- 
*/

.js-preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #1D1616;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  z-index: 9999;
  -webkit-transition: opacity 0.25s ease;
  transition: opacity 0.25s ease;
}

.js-preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@-webkit-keyframes dot {
  50% {
    -webkit-transform: translateX(96px);
    transform: translateX(96px);
  }
}

@keyframes dot {
  50% {
    -webkit-transform: translateX(96px);
    transform: translateX(96px);
  }
}

@-webkit-keyframes dots {
  50% {
    -webkit-transform: translateX(-31px);
    transform: translateX(-31px);
  }
}

@keyframes dots {
  50% {
    -webkit-transform: translateX(-31px);
    transform: translateX(-31px);
  }
}

.preloader-inner {
  position: relative;
  width: 142px;
  height: 40px;
  background: transparent;
}

.preloader-inner .dot {
  position: absolute;
  width: 16px;
  height: 16px;
  top: 12px;
  left: 15px;
  background: #8E1616;
  border-radius: 50%;
  -webkit-transform: translateX(0);
  transform: translateX(0);
  -webkit-animation: dot 2.8s infinite;
  animation: dot 2.8s infinite;
}

.preloader-inner .dots {
  -webkit-transform: translateX(0);
  transform: translateX(0);
  margin-top: 12px;
  margin-left: 31px;
  -webkit-animation: dots 2.8s infinite;
  animation: dots 2.8s infinite;
}

.preloader-inner .dots span {
  display: block;
  float: left;
  width: 16px;
  height: 16px;
  margin-left: 16px;
  background: #8E1616;
  border-radius: 50%;
}



/* 
---------------------------------------------
Header Style
--------------------------------------------- 
*/

.background-header {
  background-color: #000000d9 !important;
  border-radius: 0px 0px 25px 25px;
  height: 80px !important;
  position: fixed !important;
  top: 0 !important;
  left: 0;
  right: 0;
  box-shadow: 0px 0px 10px #1D1616 !important;
  -webkit-transition: all .5s ease 0s;
  -moz-transition: all .5s ease 0s;
  -o-transition: all .5s ease 0s;
  transition: all .5s ease 0s;
}

.header-area {
  position: absolute;
  background-color: transparent;
  top: 40px;
  left: 0;
  right: 0;
  z-index: 100;
  -webkit-transition: all .5s ease 0s;
  -moz-transition: all .5s ease 0s;
  -o-transition: all .5s ease 0s;
  transition: all .5s ease 0s;
}

.header-area .main-nav {
  background: transparent;
  display: flex
}

.header-area .main-nav .logo {
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  display: inline-block;
}

.header-area .main-nav .logo h1 {
  font-size: 36px;
  text-transform: uppercase;
  color: #EEEEEE;
  font-weight: 600;
  margin-right: 20px;
  padding-right: 20px;
}

.background-header .main-nav .logo,
.background-header .main-nav #search {
  margin-top: 18px;
}

.header-area .main-nav #search {
  position: relative;
}

.header-area .main-nav #search input {
  background-color: #1D1616;
  height: 44px;
  width: 250px;
  border-radius: 23px;
  border: none;
  color: #EEEEEE;
  font-size: 14px;
  font-weight: 300;
  padding: 0px 20px 0px;
}

.header-area .main-nav #search input::placeholder {
  color: #EEEEEE;
}

.header-area .main-nav #search i {
  position: absolute;
  color: #EEEEEE;
  right: 20px;
  top: 15px;
  font-size: 16px;
}

.header-area .main-nav ul.nav {
  border-radius: 0px 0px 25px 25px;
  flex-basis: 100%;
  margin-right: 0px;
  justify-content: right;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  position: relative;
  z-index: 999;
}

.header-area .main-nav .nav li:last-child {
  padding-right: 0px;
}

.header-area .main-nav .nav li {
  padding-left: 5px;
  padding-right: 5px;
  height: 40px;
  line-height: 40px;
}

.header-area .main-nav .nav li a {
  display: block;
  padding-left: 13px;
  padding-right: 13px;
  border-radius: 20px;
  font-weight: 300;
  font-size: 16px;
  height: 40px;
  line-height: 40px;
  text-transform: capitalize;
  color: black;
  -webkit-transition: all 0.4s ease 0s;
  -moz-transition: all 0.4s ease 0s;
  -o-transition: all 0.4s ease 0s;
  transition: all 0.4s ease 0s;
  border: transparent;
  letter-spacing: .25px;
}

.background-header .main-nav .nav {
  margin-top: 45px;
}

.background-header .main-nav .nav li {
  height: 80px;
  line-height: 80px;
}

.header-area .main-nav .nav li:hover a {
  opacity: 0.8;
}

.header-area .main-nav .nav li a.active {
  color: #EEEEEE;
  background-color: #1D1616;
  opacity: 1;
}

.background-header .main-nav .nav li:hover a {
  opacity: 0.8;
}

.background-header .main-nav .nav li a.active {
  color: #EEEEEE;
  background-color: #1D1616;
  opacity: 1;
}

.header-area .main-nav .menu-trigger {
  cursor: pointer;
  position: absolute;
  top: 33px;
  width: 32px;
  height: 40px;
  text-indent: -9999em;
  z-index: 99;
  right: 20px;
  display: none;
}

@media (max-width: 767px) {
  .header-area .main-nav .menu-trigger {
    top: 20px;
    right: 15px;
    width: 28px;
    height: 28px;
    z-index: 100 !important;
    display: block !important;
  }
}

.background-header .main-nav .menu-trigger {
  top: 20px;
}

.header-area .main-nav .menu-trigger span,
.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
  -moz-transition: all 0.4s;
  -o-transition: all 0.4s;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  background-color: #EEEEEE;
  display: block;
  position: absolute;
  width: 30px;
  height: 2px;
  left: 0;
}

.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
  -moz-transition: all 0.4s;
  -o-transition: all 0.4s;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  background-color: #EEEEEE;
  display: block;
  position: absolute;
  width: 30px;
  height: 2px;
  left: 0;
  width: 75%;
}

.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
  content: "";
}

.header-area .main-nav .menu-trigger span {
  top: 16px;
}

.header-area .main-nav .menu-trigger span:before {
  -moz-transform-origin: 33% 100%;
  -ms-transform-origin: 33% 100%;
  -webkit-transform-origin: 33% 100%;
  transform-origin: 33% 100%;
  top: -10px;
  z-index: 10;
}

.header-area .main-nav .menu-trigger span:after {
  -moz-transform-origin: 33% 0;
  -ms-transform-origin: 33% 0;
  -webkit-transform-origin: 33% 0;
  transform-origin: 33% 0;
  top: 10px;
}

.header-area .main-nav .menu-trigger.active span,
.header-area .main-nav .menu-trigger.active span:before,
.header-area .main-nav .menu-trigger.active span:after {
  background-color: transparent;
  width: 100%;
}

.header-area .main-nav .menu-trigger.active span:before {
  -moz-transform: translateY(6px) translateX(1px) rotate(45deg);
  -ms-transform: translateY(6px) translateX(1px) rotate(45deg);
  -webkit-transform: translateY(6px) translateX(1px) rotate(45deg);
  transform: translateY(6px) translateX(1px) rotate(45deg);
  background-color: #EEEEEE;
}

.background-header .main-nav .menu-trigger.active span:before {
  background-color: #EEEEEE;
}

.header-area .main-nav .menu-trigger.active span:after {
  -moz-transform: translateY(-6px) translateX(1px) rotate(-45deg);
  -ms-transform: translateY(-6px) translateX(1px) rotate(-45deg);
  -webkit-transform: translateY(-6px) translateX(1px) rotate(-45deg);
  transform: translateY(-6px) translateX(1px) rotate(-45deg);
  background-color: #EEEEEE;
}

.background-header .main-nav .menu-trigger.active span:after {
  background-color: #EEEEEE;
}

.header-area.header-sticky .nav li a.active {
  color: #EEEEEE;
}

.visible {
  display: inline !important;
}

@media (max-width: 1200px) {
  .header-area .main-nav .nav li {
    padding-left: 2px;
    padding-right: 2px;
  }

  .header-area .main-nav .nav li a {
    padding-left: 10px;
    padding-right: 10px;
  }

}

@media (max-width: 767px) {

  .background-header .main-nav .nav,
  .header-area .main-nav .nav {
    background-color: #f1f0fe;
  }

  .background-header .main-nav .nav li a,
  .header-area .main-nav .nav li a {
    line-height: 50px;
    height: 50px;
    font-weight: 400;
    color: #1D1616;
    background-color: #f1f0fe;
    border-radius: 0px 0px 25px 25px;
  }

  .background-header .main-nav .nav li,
  .header-area .main-nav .nav li {
    border-top: 1px solid #ddd;
    background-color: #f1f0fe;
    height: 50px;
    border-radius: 0px 0px 25px 25px;
  }

  .background-header .main-nav .nav li:last-child,
  .header-area .main-nav .nav li:last-child {
    border-radius: 0px 0px 25px 25px;
  }

  .header-area .main-nav .nav {
    height: auto;
    flex-basis: 100%;
  }

  .header-area .main-nav .logo {
    position: absolute;
    left: 15px;
    top: 0px;
    z-index: 9;
  }

  .background-header .main-nav .logo {
    top: 0px;
  }

  .header-area .main-nav .logo img {
    width: 180px !important;
    height: auto !important;
    max-height: 90px !important;
    object-fit: contain !important;
    margin-top: 0px !important;
  }

  .background-header .main-nav .border-button {
    top: 0px !important;
  }

  .header-area .main-nav .border-button {
    position: absolute;
    top: 15px;
    right: 70px;
  }

  .header-area.header-sticky .nav li a:hover,
  .header-area.header-sticky .nav li a.active {
    opacity: 1;
  }

  .header-area.header-sticky .nav li.search-icon a {
    width: 100%;
  }

  .header-area {
    background-color: transparent;
    padding: 0px 15px;
    height: 40px !important;
    box-shadow: none;
    text-align: center;
  }

  .header-area.header-sticky.background-header {
    height: 40px !important;
  }

  .header-area .container {
    padding: 0px;
  }

  .header-area .logo {
    margin-left: 0px;
    margin-top: 0px;
  }

  .header-area .logo img {
    width: 180px !important;
    height: auto !important;
    max-height: 90px !important;
    object-fit: contain !important;
    margin-top: 0px !important;
  }

  .header-area .menu-trigger {
    display: block !important;
    top: 8px;
    right: 15px;
    width: 28px;
    height: 28px;
    z-index: 100 !important;
    position: relative;
  }

  .header-area .main-nav .menu-trigger span,
  .header-area .main-nav .menu-trigger span:before,
  .header-area .main-nav .menu-trigger span:after {
    width: 20px;
  }

  .header-area .main-nav .menu-trigger span {
    top: 10px;
  }

  .header-area .main-nav .menu-trigger span:before {
    top: -7px;
  }

  .header-area .main-nav .menu-trigger span:after {
    top: 7px;
  }

  .header-area .main-nav {
    overflow: hidden;
  }

  .header-area .main-nav .nav {
    float: none;
    width: 100%;
    display: none;
    -webkit-transition: all 0s ease 0s;
    -moz-transition: all 0s ease 0s;
    -o-transition: all 0s ease 0s;
    transition: all 0s ease 0s;
    margin-left: 0px;
    z-index: 99 !important;
    position: relative;
  }

  .header-area .main-nav .nav li:first-child {
    border-top: 1px solid #eee;
  }

  .header-area.header-sticky .nav {
    margin-top: 45px !important;
  }

  .background-header.header-sticky .nav {
    margin-top: 45px !important;
  }

  .header-area .main-nav .nav li {
    width: 100%;
    background: #EEEEEE;
    padding-left: 0px !important;
    padding-right: 0px !important;
  }

}



/* تحسينات إضافية للشاشات الصغيرة جداً */
@media (max-width: 480px) {
  .header-area {
    height: 35px !important;
    padding: 0px 10px;
  }

  .header-area.header-sticky.background-header {
    height: 97px !important;
  }

  .header-area .main-nav .logo {
    left: -6px;
    top: -39px;
  }

  .header-area .main-nav .logo img {
    width: 143px !important;
    max-height: 166px !important;
  }

  .header-area .menu-trigger {
    top: 5px;
    right: 10px;
    width: 26px;
    height: 26px;
    z-index: 100 !important;
    position: relative;
  }

  .header-area .main-nav .menu-trigger span,
  .header-area .main-nav .menu-trigger span:before,
  .header-area .main-nav .menu-trigger span:after {
    width: 20px;
  }

  .header-area.header-sticky .nav {
    margin-top: 40px !important;
  }

  .background-header.header-sticky .nav {
    margin-top: 40px !important;
  }
}

/* 
---------------------------------------------
Banner Style
--------------------------------------------- 
*/

.main-banner {
  background-image: url(../images/banner-bg.jpg);
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 170px 0px 120px 0px;
}

.main-banner .item-1 {
  background-image: url(../images/banner-item-01.jpg);
}

.main-banner .item-2 {
  background-image: url(../images/banner-item-02.jpg);
}

.main-banner .item-3 {
  background-image: url(../images/banner-item-03.jpg);
}

.main-banner .item {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  border-radius: 20px;
  padding: 100px 100px;
  margin-left: 130px;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}

.main-banner .item span.category {
  background-color: #8E1616;
  color: #EEEEEE;
  font-size: 14px;
  text-transform: uppercase;
  padding: 5px 15px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 50px;
}

.main-banner .item h2 {
  font-size: 48px;
  font-weight: 700;
  color: #EEEEEE;
  line-height: 70px;
  width: 60%;
  margin-bottom: 40px;
}

.main-banner .item p {
  color: #EEEEEE;
  width: 65%;
}

.main-banner .item .buttons {
  display: flex;
  margin-top: 50px;
}

.main-banner .item .buttons .main-button {
  margin-right: 30px;
}

.main-banner .item .buttons .main-button a {
  font-size: 14px;
  color: #8E1616;
  background-color: #EEEEEE;
  display: inline-block;
  height: 50px;
  line-height: 50px;
  padding: 0px 25px;
  border-radius: 25px;
  font-weight: 500;
}

.main-banner .item .buttons .icon-button i {
  color: #8E1616;
  background-color: #EEEEEE;
  display: inline-block;
  height: 50px;
  width: 50px;
  text-align: center;
  line-height: 50px;
  border-radius: 50%;
  margin-right: 10px;
  font-size: 16px;
}

.main-banner .item .buttons .icon-button a {
  color: #EEEEEE;
  font-size: 14px;
  font-weight: 500;
}

.main-banner .owl-nav {
  position: absolute;
  max-width: 1320px;
  bottom: 23px;
  left: 0;
  text-align: right;
}

.main-banner .owl-nav .owl-prev i,
.main-banner .owl-nav .owl-next i {
  width: 50px;
  height: 50px;
  line-height: 50px;
  font-size: 24px;
  display: inline-block;
  color: #EEEEEE;
  background-color: #1D1616;
  border-radius: 50%;
  opacity: 1;
  transition: all .3s;
}

.main-banner .owl-nav .owl-prev i {
  position: absolute;
  bottom: 65px;
}

.main-banner .owl-nav .owl-prev i:hover,
.main-banner .owl-nav .owl-next i:hover {
  opacity: 1;
  background-color: #EEEEEE;
}


/* 
---------------------------------------------
Services Style
--------------------------------------------- 
*/

.services .service-item:hover .icon img {
  margin-top: -10px;
}

.services .service-item {
  position: relative;
  margin-top: 95px;
}

.services .service-item .icon {
  width: 156px;
  height: 160px;
  display: inline-block;
  text-align: center;
  line-height: 155px;
  background-color: #8E1616;
  border-radius: 50%;
  position: absolute;
  left: -21px;
  top: -65px;
}


.services .service-item .icon img {
  max-width: 86px;
  transition: all .2s;
}

.services .service-item .main-content {
  border-radius: 25px;
  padding: 80px 30px 50px 30px;
  background-color: #f1f0fe;
  margin-bottom: 30px;
  margin-right: 80px;
  transition: all .4s;
  direction: rtl;
}

.services .service-item h4 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 30px;
  transition: all .4s;
}

.services .service-item p {
  color: #1D1616;
  margin-bottom: 25px;
}

/* 
---------------------------------------------
About Style
--------------------------------------------- 
*/

.about-us {
  position: relative;
  padding: 0px;
  margin-top: 130px;
}

.about-us:before {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  z-index: -1;
  width: 84%;
  height: 100%;
  background-color: #f1f0fe;
  content: '';
  border-top-left-radius: 500px;
  border-bottom-left-radius: 500px;
}

.accordion {
  margin-top: -40px;
  margin-bottom: -40px;
  background-color: #8E1616;
  border-radius: 40px;
  padding: 80px 50px 50px 50px;
}

.accordion-item {
  background-color: #EEEEEE;
  border-radius: 40px !important;
  margin-bottom: 30px;
  border: none;
}

.accordion-item .accordion-button {
  outline: none;
  box-shadow: none;
  border-radius: 40px !important;
  display: flex;
  justify-content: space-between;
  direction: rtl;

}

.accordion-button:not(.collapsed) {
  color: #8E1616;
  background-color: #EEEEEE;
}

h2.accordion-header button {
  padding: 15px 25px;
  font-family: "Cairo", sans-serif !important;
  font-size: 16px;
  font-weight: 600;
}

.accordion-button::after {
  font-size: 18px;
  font-weight: 500;
  background-image: none;
  content: '+';
  width: 30px;
  height: 30px;
  display: inline-block;
  text-align: center;
  line-height: 30px;
  border-radius: 50%;
  background-color: #8E1616;
  color: #EEEEEE;
  margin-left: 0px;
}

.accordion-button:not(.collapsed)::after {
  background-image: none;
  line-height: 32px;
  content: '-';
}

.accordion-body {
  padding: 0px 0px 30px 45px;
  font-size: 14px;
  line-height: 28px;
  color: #1D1616;
}

.about-us .section-heading {
  margin-left: 60px;
  margin-bottom: 0px;
}

.about-us .section-heading .main-button {
  margin-top: 50px;
}


/* 
---------------------------------------------
Courses Style
--------------------------------------------- 
*/

.courses {
  margin-top: 160px;
}

/* ========== البرامج والورشات القادمة - تصميم احترافي فائق ========== */
.courses .container .item {
  background: #ffffff;
  border-radius: 20px;
  padding: 0;
  margin-bottom: 30px;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08),
    0 1px 4px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
  height: auto;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.courses .container .item:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
}


/* Badges wrapper في الأعلى */
.course-top-badges {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Badge نوع التدريب */
.training-type-badge {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.badge-program {
  background: #3b82f6;
  color: #ffffff;
}

.badge-workshop {
  background: #a855f7;
  color: #ffffff;
}

.badge-training {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

/* تصميم خاص للـ training */
.training-item-special {
  border: 2px solid #10b981;
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
}

.training-item-special:hover {
  border-color: #059669;
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.2),
    0 2px 8px rgba(0, 0, 0, 0.06);
}

.training-item-special .course-field-badge {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
}

.training-item-special .course-more-btn {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.training-item-special .course-more-btn:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}


.courses .container .item .course-status {
  display: inline-block;
  background: linear-gradient(135deg, #8E1616 0%, #D84040 100%);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(142, 22, 22, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  position: relative;
  overflow: hidden;
}

.courses .container .item .course-status::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}



/* ========== تصميم احترافي: الصورة على اليسار والتفاصيل على اليمين ========== */

/* حاوية الصورة */
.course-image-container {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #f5f5f5;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.course-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.courses .container .item:hover .course-main-image {
  transform: scale(1.02);
}


.course-placeholder {
  width: 100%;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
}

.course-svg-icon {
  width: 120px;
  height: 120px;
  opacity: 0.3;
}


.course-status-badge {
  display: inline-block;
  background: #8E1616;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}


/* حاوية التفاصيل */
.course-details-wrapper {
  padding: 24px;
  height: auto;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  position: relative;
  flex: 1;
}


.course-header {
  margin-bottom: 20px;
}

.course-field-badge {
  display: inline-block;
  background: #fef2f2;
  color: #8E1616;
  font-size: 10px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 12px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ألوان course-field-badge حسب نوع التدريب */
.field-badge-program {
  background: #3b82f6;
  color: #ffffff;
}

.field-badge-workshop {
  background: #a855f7;
  color: #ffffff;
}

.field-badge-training {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
}

.course-title {
  font-size: 22px;
  font-weight: 700;
  color: #1D1616;
  margin: 0;
  line-height: 1.4;
  letter-spacing: -0.2px;
}


/* شبكة المعلومات */
.course-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.course-info-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px;
  background: #f9fafb;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
}

.course-info-item i {
  font-size: 20px;
  color: #8E1616;
  flex-shrink: 0;
  margin-top: 2px;
}

.info-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.info-label {
  font-size: 9px;
  color: #6b7280;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-value {
  font-size: 14px;
  color: #1D1616;
  font-weight: 700;
  line-height: 1.3;
}

.price-value {
  color: #8E1616;
  font-size: 16px;
  font-weight: 800;
}

/* زر المزيد */
.course-action {
  margin-top: auto;
}

.course-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #8E1616;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.course-more-btn:hover {
  background: #a91f1f;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(142, 22, 22, 0.3);
}

.course-more-btn i {
  font-size: 18px;
}

/* ========== Responsive Design للتصميم الاحترافي الفائق ========== */
@media (max-width: 991px) {
  .course-image-container {
    height: 220px;
  }

  .course-placeholder {
    height: 220px;
  }

  .course-info-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .course-info-item {
    padding: 10px;
  }

  .course-title {
    font-size: 20px;
  }
}

@media (max-width: 767px) {
  .courses .container .item {
    margin-bottom: 30px;
  }

  .course-image-container {
    height: 200px;
  }

  .course-placeholder {
    height: 200px;
  }

  .course-svg-icon {
    width: 100px;
    height: 100px;
  }

  .course-details-wrapper {
    padding: 20px;
  }

  .course-info-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .course-title {
    font-size: 18px;
  }

  .course-info-item {
    padding: 12px;
  }

  .course-info-item i {
    font-size: 22px;
  }

  .info-value {
    font-size: 14px;
  }

  .price-value {
    font-size: 16px;
  }

  .course-more-btn {
    width: 100%;
    justify-content: center;
    padding: 13px 28px;
    font-size: 14px;
  }

  .course-top-badges {
    top: 12px;
    left: 12px;
    gap: 6px;
  }

  .training-type-badge,
  .course-status-badge {
    font-size: 9px;
    padding: 5px 12px;
  }
}

.event_filter {
  text-align: center;
}

.event_filter {
  background-color: #f1f0fe;
  border-radius: 50px;
  padding: 15px 40px;
  list-style: none;
  margin: 0 auto 70px;
  max-width: max-content;
}

.event_filter li {
  display: inline-block;
  margin: 0px 20px;
}

.event_filter li a {
  font-size: 14px;
  font-weight: 500;
  color: #1D1616;
  transition: all .3s;
}

.event_filter li .event_filter li a.is_active,
.event_filter li a:hover {
  color: #8E1616;
}

.events_item .thumb {
  position: relative;
  border-radius: 25px;
  overflow: hidden;
  min-height: 200px;
  flex-shrink: 0;
}

.events_item .thumb img {
  margin-bottom: -5px;
}

.events_item .thumb span.category {
  position: absolute;
  left: 30px;
  top: 30px;
  font-size: 14px;
  text-transform: uppercase;
  color: #8E1616;
  background-color: #EEEEEE;
  padding: 8px 20px;
  border-radius: 25px;
  font-weight: 500;
  display: inline-block;
}

.events_item .thumb span.price {
  position: absolute;
  right: 5px;
  top: -41px;
  background-color: #D84040;
  width: 60px;
  height: 55px;
  border-radius: 50%;
  display: inline-block;
  transition: all .3s;
  margin-top: 52px;
  font-size: 12px;
  text-align: center;
  /* justify-content: center; */
  /* display: flex; */
  padding-top: 16px;
}

.events_item .thumb span.price h6 {
  margin-left: -1px;
  font-size: 14px;
  text-transform: uppercase;
  color: #EEEEEE;
  font-weight: 700;
}

.events_item .thumb span.price em {
  font-size: 18px;
  font-weight: 500;
  font-style: normal;
  vertical-align: top;
}

.events_item {
  background-color: #f1f0fe;
  border-radius: 25px;
  margin-bottom: 30px;
  position: relative;
  justify-content: center;
  align-items: center;
  min-height: 350px;
  display: flex;
  flex-direction: column;
}

.events_item .down-content {
  padding: 20px 30px 25px 30px;
  direction: rtl;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}


.events_item .down-content span.author {
  color: #8E1616;
  font-size: 15px;
  display: inline-block;
  margin-bottom: 6px;
  font-weight: 600;
}

.events_item .down-content .training-field {
  color: #666;
  font-size: 13px;
  margin-top: 8px;
  margin-bottom: 0;
  line-height: 1.5;
}

.events_item .down-content h4 {
  font-size: 22px;
  font-weight: 600;
  transition: all .3s;
}

.events_item:hover .down-content h4 {
  color: #8E1616;
}

.events_item:hover .thumb span.price {
  transform: scale(1.2);
}


/* 
---------------------------------------------
Facts Style
--------------------------------------------- 
*/

.fun-facts {
  position: relative;
  padding: 120px 0px 80px 0px;
  overflow: hidden;
}

.fun-facts:before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  width: 95%;
  height: 100%;
  background-color: #8E1616;
  content: '';
  border-top-right-radius: 500px;
  border-bottom-right-radius: 500px;
}

.fun-facts:after {
  background: url(../images/contact-dec-01.png);
  position: absolute;
  left: 15%;
  opacity: 0.5;
  top: 0;
  width: 318px;
  height: 119px;
  content: '';
  z-index: 2;
}

.fun-facts .counter {
  text-align: center;
  margin-bottom: 40px;
}

.fun-facts h2 {
  color: #EEEEEE;
  font-size: 48px;
  font-weight: 700;
}

.fun-facts h2::after {
  content: '+';
  margin-left: 5px;
}

.fun-facts p {
  color: #EEEEEE;
  font-size: 15px;
  font-weight: 500;
  margin-top: 15px;
}


/* 
---------------------------------------------
Team Style
--------------------------------------------- 
*/

.team {
  margin-top: 100px;
  padding-top: 140px;
}

.team .row {
  margin-top: 66px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.team-member-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: all 0.3s ease;
}

.team-member-link:hover {
  text-decoration: none;
  color: inherit;
}

.team-member {
  position: relative;
  width: 100%;
  margin-bottom: 50px;
  cursor: pointer;
}

.team-member:hover img {
  top: -120px;
}

.team-member img {
  max-width: 220px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  position: absolute;
  top: -101px;
  left: 50%;
  transform: translateX(-50%);
  transition: all .3s;
  object-fit: cover;
  z-index: 2;
  border: 5px solid #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.team-member .main-content {
  border-radius: 25px;
  padding: 140px 30px 40px 30px;
  background-color: #f1f0fe00;
  text-align: center;
  min-height: 280px;
  height: auto;
  margin-top: 100px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 20px rgb(214 214 214 / 8%);
  transition: all 0.3s ease;
}

.team-member:hover .main-content {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.team-member .main-content span.category {
  color: #8E1616;
  font-size: 15px;
  display: block;
  margin-top: 10px;
  margin-bottom: 8px;
  font-weight: 600;
}

.team-member .main-content .specialization-type {
  display: inline-block;
  background: linear-gradient(135deg, #8E1616 0%, #D84040 100%);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  margin-top: 5px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 3px 10px rgba(142, 22, 22, 0.3);
  transition: all 0.3s ease;
}

.team-member:hover .main-content .specialization-type {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(142, 22, 22, 0.4);
}

.team-member .main-content h4 {
  font-size: 22px;
  font-weight: 700;
  margin-top: 8px;
  margin-bottom: 15px;
  color: #1D1616;
}

.team-member .main-content .member-bio {
  color: #555;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: center;
  padding: 0 10px;
  min-height: 45px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.team-member .main-content ul.social-icons {
  margin-top: 15px;
  padding: 0;
  list-style: none;
}

.team-member .main-content ul li {
  display: inline-block;
  margin: 0px 4px;
}

.team-member .main-content ul li a {
  background-color: #EEEEEE;
  color: #8E1616;
  display: inline-block;
  text-align: center;
  line-height: 40px;
  font-size: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: all .3s;
}

.team-member .main-content ul li a:hover {
  background-color: #8E1616;
  color: #EEEEEE;
}


/* 
---------------------------------------------
Testimonials Style
--------------------------------------------- 
*/

.testimonials {
  position: relative;
  padding: 80px 0px;
  margin-top: 90px;
}

.testimonials:before {
  position: absolute;
  top: 0px;
  bottom: 10px;
  left: 0;
  z-index: -1;
  width: 75%;
  height: 67%;
  background-color: #f1f0fe;
  content: '';
  border-top-right-radius: 500px;
  border-bottom-right-radius: 500px;
}

.testimonials .section-heading {
  margin-bottom: 0px;
  margin-top: 71px;
  vertical-align: middle;
}

.testimonials .section-heading p {
  margin-top: 50px;
}

.testimonials .item {
  background-color: #8E1616;
  border-radius: 25px;
  padding: 80px;
}

.testimonials .item p {
  font-size: 22px;
  line-height: 40px;
  color: #EEEEEE;
  /* font-style: italic; */
  font-weight: 300;
  margin-bottom: 40px;
}

.testimonials .item img {
  border-radius: 50%;
  max-width: 100px;
  float: left;
  margin-right: 25px;
}

.testimonials .item span {
  display: inline-block;
  margin-top: 20px;
  font-size: 15px;
  color: #EEEEEE;
}

.testimonials .item h4 {
  color: #EEEEEE;
  font-size: 22px;
  font-weight: 600;
  margin-top: 8px;
}

.testimonials .owl-nav {
  position: absolute;
  top: 29%;
  transform: translateY(-5px);
  left: -20px;
  text-align: right;
}

@media (max-width: 992px) {
  .testimonials .item p {
    font-size: 16px;
    line-height: 30px;
  }

  .testimonials .owl-nav {
    display: block;
  }

  .testimonials .owl-nav .owl-prev i,
  .testimonials .owl-nav .owl-next i {
    width: 40px !important;
    height: 39px !important;
    line-height: 40px !important;
    font-size: 16px !important;
    display: inline-block !important;
    color: #8E1616;
    background-color: #EEEEEE;
    border-radius: 50%;
    box-shadow: 0px 0px 5px #1D1616;
    opacity: 1;
    transition: all .3s;
    margin-left: 10px;
  }
}


.testimonials .owl-nav .owl-prev i,
.testimonials .owl-nav .owl-next i {
  width: 50px;
  height: 50px;
  line-height: 50px;
  font-size: 24px;
  display: inline-block;
  color: #8E1616;
  background-color: #EEEEEE;
  border-radius: 50%;
  box-shadow: 0px 0px 5px #1D1616;
  opacity: 1;
  transition: all .3s;
}

.testimonials .owl-nav .owl-prev i {
  position: absolute;
  bottom: 65px;
}

.testimonials .owl-nav .owl-prev i:hover,
.testimonials .owl-nav .owl-next i:hover {
  opacity: 1;
  box-shadow: 0px 0px 10px #1D1616;
}


/* 
---------------------------------------------
Events Style
--------------------------------------------- 
*/

.events .section-heading {
  margin-bottom: 100px;
}

.events .item {
  background-color: #f1f0fe;
  border-radius: 25px;
  position: relative;
  padding: 40px;
  margin-bottom: 96px;
}

.events .item .image {
  position: relative;
}

.events .item .image img {
  position: absolute;
  border-radius: 25px;
  max-width: 260px;
  left: 0;
  top: -70px;
}

.events .item ul li {
  display: inline-block;
  width: 17.5%;
  vertical-align: middle;
}

.events .item ul li:first-child {
  width: 35%;
}

.events .item ul li:nth-of-type(2) {
  width: 28%;
}

.events .item ul li span.category {
  font-size: 14px;
  text-transform: uppercase;
  color: #8E1616;
  background-color: #EEEEEE;
  padding: 8px 20px;
  border-radius: 25px;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 20px;
}

.events .item ul li h4 {
  font-size: 22px;
  font-weight: 600;
}

.events .item ul li span {
  display: inline-block;
  font-size: 14px;
  color: #1D1616;
  margin-bottom: 10px;
}

.events .item ul li h6 {
  font-size: 16px;
  color: #8E1616;
  font-weight: 600;
}

.events .item a {
  position: absolute;
  left: -18px;
  top: 84px;
  background-color: #8E1616;
  width: 89px;
  height: 40px;
  display: inline-block;
  text-align: center;
  line-height: 42px;
  font-size: 16px;
  z-index: 1;
  color: #EEEEEE;
  border-radius: 4px;
}


/* 
---------------------------------------------
Contact Style
--------------------------------------------- 
*/

.contact-us {
  margin-top: 80px;
  position: relative;
  padding: 50px 0px;
}

.contact-us:before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  width: 65%;
  height: 100%;
  background-color: #f1f0fe;
  content: '';
  border-top-right-radius: 500px;
  border-bottom-right-radius: 500px;
}


.contact-us .section-heading {
  margin-right: 110px;
  margin-bottom: 0px;
}

.contact-us .section-heading p {
  margin-top: 20px;
}

.contact-us .special-offer {
  margin-top: 50px;
  background-color: #EEEEEE;
  border-radius: 25px;
  padding: 30px 120px;
  display: inline-block;
  position: relative;
}

.contact-us .special-offer span.offer {
  position: absolute;
  left: 0;
  top: 0;
  background-color: #8E1616;
  width: 80px;
  padding: 30px 8px;
  line-height: 25px;
  height: 120px;
  border-radius: 15px 60px 60px 15px;
  display: inline-block;
  text-align: center;
  color: #EEEEEE;
  font-size: 16px;
  text-transform: uppercase;
  text-align: left;
}

.contact-us .special-offer span.offer em {
  font-size: 28px;
  font-style: normal;
  font-weight: 600;
}

.contact-us .special-offer h6 {
  font-size: 15px;
  color: #1D1616;
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 15px;
}

.contact-us .special-offer h6 em {
  font-style: normal;
  color: #8E1616;
  font-weight: 600;
}

.contact-us .special-offer h4 {
  font-size: 22px;
  font-weight: 600;
}

.contact-us .special-offer h4 em {
  font-style: normal;
  color: #8E1616;
}

.contact-us .special-offer a {
  position: absolute;
  right: 30px;
  top: 35px;
  width: 50px;
  height: 50px;
  display: inline-block;
  text-align: center;
  line-height: 50px;
  background-color: #8E1616;
  color: #EEEEEE;
  border-radius: 50%;
}

.contact-us .contact-us-content {
  border-radius: 25px;
  padding: 80px;
  background-color: #8E1616;
  position: relative;
  z-index: 1;
}

.contact-us .contact-us-content::before {
  background: url(../images/contact-dec-01.png);
  position: absolute;
  left: 50%;
  transform: translateX(-149px);
  opacity: 0.5;
  top: 0;
  width: 318px;
  height: 119px;
  content: '';
  z-index: 2;
}

.contact-us .contact-us-content::after {
  background: url(../images/contact-dec-02.png);
  position: absolute;
  right: 0;
  bottom: 0;
  width: 183px;
  height: 149px;
  content: '';
  z-index: 2;
}

#contact-form input {
  width: 100%;
  height: 50px;
  border-radius: 25px;
  background-color: #EEEEEE;
  border: none;
  outline: none;
  font-weight: 300;
  padding: 0px 20px;
  font-size: 14px;
  color: #1D1616;
  margin-bottom: 30px;
  position: relative;
  z-index: 3;
  direction: rtl;
}

#contact-form input::placeholder {
  color: #1D1616;
}

#contact-form textarea {
  width: 100%;
  height: 120px;
  border-radius: 25px;
  background-color: #EEEEEE;
  border: none;
  outline: none;
  font-weight: 300;
  padding: 20px;
  font-size: 14px;
  color: #1D1616 !important;
  margin-bottom: 30px;
  position: relative;
  z-index: 3;
  direction: rtl;
}

#contact-form textarea::placeholder {
  color: #1D1616;
}

#contact-form button {
  border: none;
  height: 50px;
  font-size: 14px;
  font-weight: 600;
  background-color: #EEEEEE;
  padding: 0px 25px;
  border-radius: 25px;
  color: #8E1616;
  transition: all .4s;
  position: relative;
  z-index: 3;
}

#contact-form button:hover {
  opacity: 0.8;
}

.contact-us-content .more-info {
  text-align: center;
  background: #D84040;
  background: linear-gradient(90deg, #D84040 0%, #8E1616 100%);

  border-radius: 0px 0px 23px 23px;
  padding: 45px 30px 15px 30px;
}

.contact-us-content .more-info .info-item {
  text-align: center;
  margin-bottom: 30px;
}

.contact-us-content .more-info i {
  font-size: 32px;
  color: #EEEEEE;
  margin-bottom: 15px;
}

.contact-us-content .more-info h4 a {
  color: #EEEEEE;
  font-size: 16px;
  font-weight: 400;
}

/* 
---------------------------------------------
Footer Style
--------------------------------------------- /
footer {
  margin-top: 1x;
  position: relative;
  background-color: #8E1616;
  vertical-align: middle;
  min-height: 150px;
  border-radius: 150px 150px 0px 0px;
}

footer p {
  text-align: center;
  le-height: 150px;
  color: #EEEEEE;
  font-weight: 400;
}

footer p a {
  color: #EEEEEE;
  transition: all .3s;
  position: relative;
  z-index: 3;
}

footer p a:hover {
  opacity: 0.75;
}

footer::before {
  background: url(../images/contact-dec-01.png);
  position: absolute;
  left: 30px;
  transform: rotate(180deg);
  opacity: 1;
  bottom: 0;
  width: 318px;
  height: 119px;
  content: '';
  z-index: 2;
}

/* 
---------------------------------------------
Responsive Style
--------------------------------------------- 
*/

body {
  overflow-x: hidden;
}

@media (max-width: 767px) {
  .header-area {
    top: 0px;
  }

  .header-area .main-nav .logo h1 {
    border-right: none;
  }

  .main-banner .item {
    padding: 80px 30px 120px 30px !important;
  }

  .main-banner .owl-nav {
    left: 30px !important;
  }

  .event_filter {
    padding: 15px 20px;
  }

  .event_filter li {
    display: inline-block;
    margin: 0px 10px;
  }
}

@media (max-width: 992px) {

  .header-area .main-nav #search input,
  .header-area .main-nav #search i {
    display: none;
  }

  .header-area .main-nav .logo h1 {
    font-size: 34px;
  }

  .header-area .main-nav .logo {
    border-right: none;
  }

  .main-banner {
    padding-top: 100px;
  }

  .main-banner .item {
    padding: 100px 60px 140px 60px;
    margin-left: 0px;
    text-align: center;
  }

  .main-banner .item h2,
  .main-banner .item p {
    width: 100%;
  }

  .main-banner .item h2 {
    font-size: 36px;
    line-height: 50px;
  }

  .main-banner .item .buttons {
    display: inline-block;
    text-align: center;
  }

  .main-banner .item .buttons .main-button {
    margin-right: 0px;
    margin-bottom: 30px;
  }

  .main-banner .owl-nav {
    left: 50% !important;
    transform: translateX(-60px) !important;
    bottom: 60px;
  }

  .main-banner .owl-nav .owl-prev i {
    bottom: -105px;
  }

  .main-banner .owl-nav .owl-next i {
    bottom: -105px;
    position: absolute;
    left: 65px;
  }

  .services {
    margin-top: 80px;
  }

  .about-us {
    margin-top: 100px;
  }

  .accordion {
    padding: 40px 25px 10px 25px;
  }

  .services .service-item .icon {
    width: 170px;
    height: 170px;
    line-height: 170px;
  }

  .about-us .section-heading {
    margin-left: 0px;
    margin-top: 120px;
  }

  .about-us::before,
  .testimonials::before,
  .contact-us::before {
    display: none;
  }

  .about-us .section-heading p,
  .testimonials .section-heading p,
  .contact-us .section-heading p {
    margin-top: 30px;
  }

  .about-us .section-heading .main-button {
    margin-top: 30px;
  }

  .about-us .main-button a {
    background-color: #8E1616;
    color: #EEEEEE;
  }

  .courses {
    margin-top: 100px;
  }

  .event_filter ul li {
    display: block;
    margin: 12px 5px;
  }

  .fun-facts {
    margin-top: 70px;
  }

  .fun-facts::before {
    width: 95%;
  }

  .team {
    margin-top: 160px;
  }

  .team-member {
    margin-bottom: 80px;
  }

  .team-member img {
    max-width: 180px;
    width: 180px;
    height: 180px;
    top: -90px;
  }

  .team-member .main-content {
    padding: 120px 25px 35px 25px;
    margin-top: 90px;
    min-height: 250px;
  }

  .team .row {
    gap: 20px;
  }

  .testimonials {
    margin-top: -50px;
    padding: 0px;
  }

  .testimonials .section-heading {
    margin-left: 0px;
    margin-top: 40px;
  }

  .testimonials .item {
    padding: 40px 40px 60px 40px;
  }

  .testimonials .item h4 {
    font-size: 17px;
  }

  .testimonials .item img {
    margin-right: 15px;
  }



  .events {
    margin-top: 80px;
  }

  .events .item {
    margin-bottom: 66px;
  }

  .events .item .image img {
    position: relative;
    max-width: 100%;
  }

  .events .item ul {
    margin-top: -40px;
  }

  .events .item ul li:first-child {
    width: 100% !important;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #EEEEEE;
  }

  .events .item ul li:nth-child(2) {
    width: 40% !important;
  }

  .events .item ul li {
    display: inline-block;
    width: 28% !important;
  }

  .events .item ul li:last-child {
    text-align: right;
  }

  .events .item a {
    bottom: 150px;
    top: auto;
  }

  .events .item ul li h6 {
    font-size: 14px;
  }

  .contact-us {
    padding-top: 20px;
  }

  .contact-us .section-heading {
    margin-right: 0px;
  }

  .contact-us .special-offer {
    background-color: #EEEEEE;
    margin-bottom: 60px;
    padding: 34px 30px 34px 100px;
    width: 100%;
  }

  .contact-us .special-offer h4 {
    font-size: 17px;
  }

  .contact-us .special-offer a {
    width: 40px;
    height: 40px;
    line-height: 40px;
    top: 15px;
    right: 15px;
  }

  .contact-us .contact-us-content {
    padding: 30px;
  }

  footer {
    margin-top: 30px;
  }
}

@media (max-width: 1200px) {
  .header-area .main-nav #search input {
    width: 200px;
  }

  .header-area .main-nav .nav li.has-sub:after {
    right: 15px;
  }

  .fun-facts:before {
    width: 95%;
  }
}





/* new css */

.rain-icons {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  /* حتى ما تمنع التفاعل مع البانر */
  overflow: hidden;
}

.rain-icons i {
  position: absolute;
  font-size: 45px;
  color: #1D1616;
  /* لون ذهبي مثل أضوية */
  opacity: 0.3;
  animation: fall 8s linear infinite;
}

@keyframes fall {
  0% {
    transform: translateY(-50px) translateX(0px) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  100% {
    transform: translateY(800px) translateX(50px) rotate(360deg);
    opacity: 0;
  }
}

/* توزيع عشوائي لكل أيقونة */
.rain-icons i:nth-child(1) {
  left: 5%;
  animation-delay: 0s;
}

.rain-icons i:nth-child(2) {
  left: 15%;
  animation-delay: 1s;
}

.rain-icons i:nth-child(3) {
  left: 25%;
  animation-delay: 0.5s;
}

.rain-icons i:nth-child(4) {
  left: 40%;
  animation-delay: 1.5s;
}

.rain-icons i:nth-child(5) {
  left: 55%;
  animation-delay: 0.8s;
}

.rain-icons i:nth-child(6) {
  left: 60%;
  animation-delay: 1.0s;
}

.rain-icons i:nth-child(7) {
  left: 85%;
  animation-delay: 0.2s;
}

.rain-icons i:nth-child(8) {
  left: 95%;
  animation-delay: 1.2s;
}

.icon img {
  transition: transform 0.4s ease;
}

.icon img:hover {
  transform: rotate(15deg) scale(1.1);
}

.is_active {
  color: #8E1616 !important;
  font-weight: 800 !important;
}

.div-us {
  direction: rtl;
}

.section-heading {
  direction: rtl;
}

.section.events {
  direction: rtl;
}

.course-status {
  font-size: 14px;
  text-transform: uppercase;
  color: #eeee;
  background-color: #8E1616;
  padding: 8px 15px;
  border-radius: 25px;
  font-weight: 500;
  position: absolute;
  top: 14px;
  z-index: 20;
}



/* 📱 للموبايل (أصغر من 768px) */
@media (max-width: 767px) {
  .service-item .main-content {
    margin-right: 0px !important;

  }

  .service-item .icon {
    width: 70px;
    height: 70px;
    top: -35px;
    right: 50%;
    transform: translateX(50%);
    margin-left: 19px;
    /* يخلي الأيقونة بالنص */
  }

  .service-item .icon img {
    width: 55%;
  }

  .service-item .main-content h4 {
    font-size: 18px;
  }

  .service-item .main-content p {
    font-size: 14px;
    line-height: 1.6;
  }
}

/* 📲 للتابلت (من 768px لحد 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .service-item .main-content {
    margin-right: 30px;
    /* مسافة أخف من الديسكتوب */
    padding: 70px 25px 45px 25px;
    border-radius: 22px;
  }

  .service-item .icon {
    width: 80px;
    height: 80px;
    top: -40px;
    right: 30px;
  }

  .service-item .icon img {
    width: 60%;
  }

  .service-item .main-content h4 {
    font-size: 20px;
  }

  .service-item .main-content p {
    font-size: 15px;
  }
}

@media (max-width: 767px) {
  .header-sticky {
    background: #8E1616;

  }
}




/**login css*/
#form-login,
#form-register {
  display: none;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}

#form-login.active,
#form-register.active {
  display: flex;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.body-login {
  color: #1D1616;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  font-family: 'Cairo', sans-serif;
}

.auth-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 900px;
  width: 100%;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.auth-hero {
  flex: 1 1 400px;
  text-align: center;
}

.auth-hero img {
  width: 100%;
  max-width: 475px;
  height: auto;
  border-radius: 18px;
  transition: transform .45s ease;
  filter: saturate(.95) contrast(1.02);
}

.auth-card {
  flex: 1 1 400px;
  background: #ffffff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 12px 40px rgba(40, 36, 80, .06);
  position: relative;
  margin-top: 104px;
}

.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.tab-btn {
  flex: 1;
  text-align: center;
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  background: transparent;
  border: 1px solid transparent;
  transition: all .22s;
}

.tab-btn.active {
  background: linear-gradient(135deg, #8E1616, #D84040);
  color: #fff;
  box-shadow: 0 8px 20px rgba(102, 84, 255, .12);
}

/* تم نقل هذه القواعد إلى #form-login و #form-register أعلاه */

.field {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #eee;
  padding: 10px;
  border-radius: 12px;
  background: #fbfbff;
  margin-top: 10px;
  margin-bottom: 10px;
}

.field input {
  border: 0;
  width: 100%;
  outline: none;
  background: transparent;
  font-size: 15px;
  color: #1D1616;
  text-align: right;
  direction: rtl;
}

.field select,
.field .form-select {
  border: 0;
  width: 100%;
  outline: none;
  background: transparent;
  font-size: 15px;
  color: #1D1616;
  text-align: right;
  direction: rtl;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 0;
}

.field .icon {
  opacity: 0.7;
  font-size: 18px;
  width: 30px;
  text-align: center;
  flex-shrink: 0;
}

.actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  margin-bottom: 4px;

}

.remember {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #666;
  font-size: 14px;
}

.forgot {
  font-size: 14px;
  color: #8E1616;
  text-decoration: none;
}

.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 12px;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  background: linear-gradient(135deg, #8E1616, #D84040);
  color: #fff;
  width: 100%;
  box-shadow: 0 10px 30px rgba(102, 84, 255, .12);
  transition: transform .12s;
}

.btn:active {
  transform: translateY(1px);
}

.small {
  margin-top: 12px;
  text-align: center;
  color: #666;
  font-size: 14px;
}

.or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
}

.or hr {
  flex: 1;
  border: 0;
  height: 1px;
  background: #eee;
}

.or span {
  color: #666;
  font-size: 13px;
  padding: 0 6px;
}

.socials {
  display: flex;
  gap: 10px;
}

.social {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #eee;
  cursor: pointer;
  font-weight: 600;
}

.msg {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 10px;
  display: none;
}

.msg.show {
  display: block;
}

.error-text {
  font-size: 13px;
  color: #d32f2f;
  margin-top: 4px;
  margin-bottom: 8px;
  text-align: right;
  display: block;
}

@media(max-width:1024px) {
  .auth-wrap {
    flex-direction: column;
  }

  .auth-hero {
    order: 2;
  }

  .auth-card {
    order: 1;
  }
}

@media (max-width: 768px) {
  .auth-hero {
    display: none;
  }

  .body-login {
    padding: 12px;
    min-height: auto;
  }

  .auth-wrap {
    gap: 0;
    max-width: 100%;
  }

  .auth-card {
    flex: 1 1 100%;
    padding: 20px 16px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(40, 36, 80, .08);
  }

  .tabs {
    gap: 6px;
    margin-bottom: 16px;
  }

  .tab-btn {
    padding: 10px 8px;
    font-size: 14px;
    border-radius: 10px;
  }

  .field {
    padding: 12px 10px;
    gap: 8px;
    margin-top: 8px;
    margin-bottom: 8px;
    border-radius: 10px;
  }

  .field input {
    font-size: 16px;
    /* منع zoom في iOS */
  }

  .field .icon {
    font-size: 16px;
    width: 24px;
  }

  .field button[type="button"] {
    font-size: 18px;
    padding: 0;
    min-width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .field select,
  .field .form-select {
    font-size: 16px;
    /* منع zoom في iOS */
    padding: 10px 8px;
    width: 100%;
    border: 0;
    outline: none;
    background: transparent;
    color: #1D1616;
    text-align: right;
    direction: rtl;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
  }

  .actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 8px;
    margin-bottom: 8px;
  }

  .remember {
    font-size: 13px;
  }

  .forgot {
    font-size: 13px;
    width: 100%;
    text-align: right;
  }

  .btn {
    padding: 14px 18px;
    font-size: 16px;
    border-radius: 10px;
    margin-top: 8px;
  }

  form {
    gap: 12px;
  }

  .gender-option {
    margin-right: 10px;
    padding-left: 22px;
    font-size: 14px;
  }

  .gender-option span::before {
    width: 16px;
    height: 16px;
    left: -22px;
  }

  /* Modal للجوال */
  .modal-content {
    width: 95%;
    max-width: 95%;
    margin: 10% auto;
    padding: 20px 16px;
    border-radius: 12px;
  }

  .modal h2 {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .modal input,
  .modal select,
  .modal textarea {
    padding: 12px 10px;
    font-size: 16px;
    /* منع zoom في iOS */
    margin-bottom: 12px;
    border-radius: 8px;
  }

  .btn-submit {
    padding: 14px 20px;
    font-size: 16px;
    width: 100%;
  }

  #msg {
    padding: 10px 12px;
    font-size: 13px;
    margin-bottom: 8px;
  }

  .error-text {
    font-size: 12px;
    color: #d32f2f;
    margin-top: 4px;
    margin-bottom: 8px;
    text-align: right;
  }

  .modal .close {
    font-size: 32px;
    top: 10px;
    left: 15px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
}

@media (max-width: 480px) {
  .body-login {
    padding: 8px;
  }

  .auth-card {
    padding: 23px 50px;
    margin-top: 154px;
  }

  .tab-btn {
    padding: 9px 6px;
    font-size: 13px;
  }

  .field {
    padding: 10px 8px;
  }

  .field input,
  .field select,
  .field .form-select {
    font-size: 16px;
  }

  .btn {
    padding: 12px 16px;
    font-size: 15px;
  }

  .modal-content {
    width: 98%;
    max-width: 98%;
    padding: 16px 12px;
    margin: 5% auto;
  }

  .modal h2 {
    font-size: 18px;
  }
}

.gender-option {
  display: inline-block;
  margin-right: 15px;
  cursor: pointer;
  position: relative;
  padding-left: 25px;
  font-weight: 500;
  color: #333;
}

.gender-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.gender-option span {
  position: relative;
}

.gender-option span::before {
  content: '';
  position: absolute;
  left: -25px;
  top: 2px;
  width: 18px;
  height: 18px;
  border: 2px solid #8E1616;
  border-radius: 50%;
  background: #fff;
  transition: 0.3s;
}

.gender-option input[type="radio"]:checked+span::before {
  background-color: #8E1616;
  border-color: #8E1616;
}



/*consultations
*/
h1 {
  text-align: center;
  color: #8E1616;
  font-size: 38px;
  margin-bottom: 30px;
}

h2.section-title {
  font-size: 24px;
  color: #8E1616;
  margin-top: 40px;
  margin-bottom: 15px;
  border-bottom: 2px solid #8E1616;
  display: inline-block;
  padding-bottom: 5px;
}

p {
  font-size: 17px;
  color: #555;
  margin-bottom: 15px;
}

.service-image {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 35px;
}

.type {
  background-color: #f6f6f6;
  border-right: 4px solid #8E1616;
  padding: 15px 20px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.type h3 {
  color: #8E1616;
  margin-bottom: 8px;
  font-size: 20px;
}

.btn {
  display: inline-block;
  margin-top: 35px;
  padding: 12px 35px;
  background-color: #8E1616;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 50px;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #D84040;
}

.btn-open {
  padding: 12px 30px;
  background-color: #8E1616;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
  margin-bottom: 35px;
}

.btn-open:hover {
  background-color: #D84040;
}

/* المودال */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
  background-color: #fff;
  margin: 8% auto;
  padding: 30px;
  border-radius: 15px;
  width: 90%;
  max-width: 600px;
  position: relative;
  animation: slideDown 0.4s ease;
}

@keyframes slideDown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.close {
  color: #8E1616;
  position: absolute;
  top: 15px;
  left: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.modal h2 {
  color: #8E1616;
  margin-bottom: 20px;
  text-align: center;
}

.modal form {
  text-align: right;
}

.modal label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: #333;
}

.modal input,
.modal select,
.modal textarea {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 16px;
  box-sizing: border-box;
}

.modal textarea {
  resize: vertical;
  min-height: 80px;
}

.btn-submit {
  display: inline-block;
  background-color: #8E1616;
  color: #fff;
  padding: 12px 35px;
  border-radius: 50px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  margin-top: 10px;
}

.btn-submit:hover {
  background-color: #D84040;
}



.course-image {
  width: 100%;
  max-height: 350px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 35px;
}

.section-title {
  font-size: 24px;
  color: #8E1616;
  border-right: 5px solid #8E1616;
  padding-right: 10px;
  margin-top: 35px;
  margin-bottom: 15px;
  font-weight: 600;
}

p {
  font-size: 17px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 15px;
}

.btn-back {
  display: inline-block;
  background-color: #8E1616;
  color: #fff;
  padding: 12px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 30px;
  transition: 0.3s;
}

.btn-back:hover {
  background-color: #D84040;
}

.details {
  background: #f6f6f6;
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 30px;
}

.details p {
  margin: 8px 0;
}

/* زر العودة */
.back {
  display: inline-block;
  margin-bottom: 20px;
  padding: 10px 16px;
  background: #D84040;
  color: #fff;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
}

/* شبكة البرامج */
/* ========== صفحات Programs و Trainings - تصميم احترافي ========== */
.programs-page,
.trainings-page {
  padding-top: 80px;
  padding-bottom: 80px;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.programs-page .section-heading,
.trainings-page .section-heading {
  margin-bottom: 50px;
}

.programs-page .section-heading h2,
.trainings-page .section-heading h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 15px;
}

.programs-page .section-description,
.trainings-page .section-description {
  font-size: 16px;
  color: #666;
  margin-top: 15px;
  line-height: 1.8;
}

.filters-container {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
}

.programs-grid-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.program-card-wrapper {
  padding: 0;
}

.program-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(142, 22, 22, 0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, #8E1616 0%, #D84040 100%);
  transition: width 0.4s ease;
  z-index: 1;
}

.program-card:hover::before {
  width: 6px;
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 50px rgba(142, 22, 22, 0.2);
  border-color: rgba(142, 22, 22, 0.3);
}

.program-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.program-image-wrapper {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.program-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.program-card:hover .program-image {
  transform: scale(1.1);
}

.program-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px;
}

.program-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #8E1616 0%, #D84040 100%);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(142, 22, 22, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.program-type-badge i {
  font-size: 14px;
}

.program-price-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.95);
  color: #8E1616;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.program-content {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
  direction: rtl;
}

.program-header {
  margin-bottom: 12px;
}

.program-instructor {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #8E1616;
  font-size: 13px;
  font-weight: 600;
}

.program-instructor i {
  font-size: 16px;
}

.program-title {
  font-size: 22px;
  font-weight: 700;
  color: #1D1616;
  margin: 0 0 12px 0;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.program-card:hover .program-title {
  color: #8E1616;
}

.program-field {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #666;
  font-size: 13px;
  margin-bottom: 15px;
  padding: 6px 12px;
  background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
  border-radius: 15px;
  width: fit-content;
}

.program-field i {
  color: #8E1616;
  font-size: 14px;
}

.program-description {
  color: #555;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.program-footer {
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid rgba(142, 22, 22, 0.1);
}

.program-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8E1616;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.program-link i {
  transition: transform 0.3s ease;
}

.program-card:hover .program-link {
  color: #D84040;
}

.program-card:hover .program-link i {
  transform: translateX(-5px);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 24px;
  border: 2px dashed rgba(142, 22, 22, 0.2);
}

.empty-state i {
  font-size: 64px;
  color: #8E1616;
  opacity: 0.3;
  margin-bottom: 20px;
}

.empty-state h3 {
  font-size: 24px;
  font-weight: 700;
  color: #1D1616;
  margin-bottom: 10px;
}

.empty-state p {
  font-size: 16px;
  color: #666;
}

/* Responsive Design لصفحات Programs و Trainings */
@media (max-width: 991px) {
  .programs-grid-container {
    gap: 25px;
  }

  .program-card {
    margin-bottom: 20px;
  }

  .program-image-wrapper {
    height: 220px;
  }

  .programs-page .section-heading h2,
  .trainings-page .section-heading h2 {
    font-size: 36px;
  }
}

@media (max-width: 767px) {

  .programs-page,
  .trainings-page {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .programs-grid-container {
    gap: 20px;
  }

  .program-card {
    border-radius: 20px;
  }

  .program-image-wrapper {
    height: 200px;
  }

  .program-content {
    padding: 20px;
  }

  .program-title {
    font-size: 20px;
  }

  .programs-page .section-heading h2,
  .trainings-page .section-heading h2 {
    font-size: 28px;
  }

  .filters-container {
    margin-bottom: 30px;
  }

  .event_filter {
    padding: 10px 25px;
    flex-wrap: wrap;
  }

  .event_filter li {
    margin: 5px;
  }
}

/* responsive */
@media(max-width:1024px) {
  .programs-grid {
    grid-template-columns: 1fr;
  }

  .program-item {
    flex-direction: row;
    text-align: right;
  }
}

@media(max-width:768px) {
  .program-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .program-item img {
    width: 100%;
    max-width: 300px;
    height: auto;
  }
}

.programs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 70px;
}

.program-item {
  display: flex;
  gap: 20px;
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s;
}

.program-item:hover {
  transform: translateY(-5px);
}

.program-item img {
  width: 350px;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
}

.program-details h4 {
  color: #8E1616;
  font-size: 20px;
  margin-bottom: 10px;
}

.program-details p {
  color: #555;
  font-size: 16px;
  line-height: 1.5;
}

.program-details a {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 16px;
  background: #D84040;
  color: #fff;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
}

@media(max-width:1024px) {
  .programs-grid {
    grid-template-columns: 1fr;
  }

  .program-item {
    flex-direction: row;
  }
}

@media(max-width:768px) {
  .program-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .program-item img {
    width: 100%;
    max-width: 300px;
    height: auto;
  }
}


/*index
*/
.btn-comment {
  width: 160px;
  height: 39px;
  background-color: #8E1616;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
  padding: 6px !important;
}

.modal {
  z-index: 1050;
  /* تأكد أن المودال فوق أي عنصر آخر */
}

.modal-backdrop {
  z-index: 1040;
  /* تأكد أن خلفية المودال لا تمنع التفاعل */
}

.modal * {
  pointer-events: auto;
  /* السماح بالتفاعل مع جميع عناصر المودال */
}

.profile-page {
  background: #f5f7fb;
  min-height: 100vh;
}

/* ===== Profile Card Professional Design ===== */
.profile-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.profile-card:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.profile-cover {
  height: 140px;
  background: linear-gradient(135deg, #8E1616 0%, #d84040 100%);
  position: relative;
  overflow: hidden;
}

.profile-cover::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.profile-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 5px solid #fff;
  background: linear-gradient(135deg, #8E1616 0%, #d84040 100%);
  color: #fff;
  font-size: 2.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(142, 22, 22, 0.4);
  margin-top: -50px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.profile-avatar:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 32px rgba(142, 22, 22, 0.5);
}

.profile-label {
  font-size: 0.75rem;
  letter-spacing: .06em;
  color: #6b7280;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 4px;
}

.profile-value {
  font-weight: 600;
  color: #111827;
  font-size: 0.95rem;
}

.profile-badge {
  font-size: 0.8rem;
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.profile-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.action-links {
  text-align: right;
}

.action-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  color: #444;
  /* لون أنيق */
  text-decoration: none;
  transition: 0.2s ease;
  padding: 4px 8px;
  border-radius: 6px;
}

.action-link i {
  font-size: 20px;
  color: var(--bs-primary);
  /* أو أي لون بدك */
  transition: 0.2s ease;
}

/* hover effect لطيف */
.action-link:hover {
  background: #f3f3f3;
  color: #000;
}

.action-link:hover i {
  transform: translateX(-3px);
}

.section-container {
  margin-top: 18px
}

.consult-card {
  border: 1px solid rgba(0, 0, 0, .06);
  background: #fff;
  border-radius: 18px;
  padding: 14px 14px 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .05);
  transition: .2s ease;
  position: relative;
  overflow: hidden
}

.consult-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, .08);
  border-color: rgba(0, 0, 0, .10)
}

.consult-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 200px at 100% 0%, rgba(216, 64, 64, .10), transparent 60%);
  pointer-events: none
}

.consult-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px
}

.consult-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(142, 22, 22, .08);
  color: #8E1616;
  border: 1px solid rgba(142, 22, 22, .12);
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: .85rem
}

.consult-type {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #334155;
  font-weight: 900;
  font-size: .95rem;
  max-width: 280px
}

.consult-type i {
  color: #64748b
}

.consult-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 900;
  font-size: .82rem;
  border: 1px solid rgba(0, 0, 0, .06);
  white-space: nowrap
}

.status-pending {
  background: rgba(245, 158, 11, .12);
  color: #b45309;
  border-color: rgba(245, 158, 11, .22)
}

.status-review {
  background: rgba(139, 92, 246, .12);
  color: #7c3aed;
  border-color: rgba(139, 92, 246, .22)
}

.status-progress {
  background: rgba(59, 130, 246, .12);
  color: #1d4ed8;
  border-color: rgba(59, 130, 246, .22)
}

.status-done {
  background: rgba(34, 197, 94, .12);
  color: #15803d;
  border-color: rgba(34, 197, 94, .22)
}

.status-canceled {
  background: rgba(239, 68, 68, .12);
  color: #b91c1c;
  border-color: rgba(239, 68, 68, .22)
}

.status-unknown {
  background: rgba(148, 163, 184, .18);
  color: #475569;
  border-color: rgba(148, 163, 184, .28)
}

.consult-desc {
  color: #334155;
  line-height: 1.8;
  font-size: .95rem;
  min-height: 52px
}

.consult-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
  border: 1px solid rgba(0, 0, 0, .05);
  padding: 6px 10px;
  border-radius: 12px;
  color: #475569;
  font-size: .85rem
}

.meta-item i {
  color: #64748b
}

.consult-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px
}

.consult-btn {
  border-radius: 12px !important;
  padding: 8px 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important
}

.empty-state {
  border: 1px dashed rgba(0, 0, 0, .12);
  border-radius: 18px;
  padding: 22px;
  text-align: center;
  background: linear-gradient(180deg, rgba(216, 64, 64, .06), rgba(0, 0, 0, 0))
}

.empty-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(142, 22, 22, .10);
  color: #8E1616;
  font-size: 28px
}

.highlight {
  background-color: #ffe066;
  color: #000;
  padding: 0 2px;
  border-radius: 4px;
  font-weight: 700;
}



/* ========== General ========== */
.training-container {
  max-width: 1100px;
  margin: auto;
}

.section-title {
  font-weight: 700;
  margin-bottom: 1rem;
}

.muted {
  color: #6b7280;
}

/* ========== Card Base ========== */
.training-card {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: all .25s ease;
}

.training-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

/* ========== Header ========== */
.training-header {
  margin-bottom: 24px;
  display: flex;
  /* float: inline-end; */
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  justify-content: right;
}

.training-icon {
  width: 70px;
  height: 70px;
  border-radius: 14px;
  background: linear-gradient(135deg, #000, #8E1616);
  display: flex;
  align-items: center;
  justify-content: center;
}

.training-icon svg {
  width: 36px;
  height: 36px;
  stroke: #fff;
}

.training-title {
  font-size: 22px;
  font-weight: 700;
}

/* ========== After Section ========== */
.after-section h5 {
  font-weight: 600;
  margin-bottom: 8px;
}

.after-section p,
.after-section div {
  color: #374151;
  line-height: 1.8;
}

/* ========== Files ========== */
.files-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #f9fafb;
  margin-bottom: 8px;
  color: #111827;
  text-decoration: none;
  transition: background .2s;
}

.files-list a:hover {
  background: #eef2ff;
}

/* ========== Steps ========== */
.steps-wrapper {
  margin-top: 32px;
}

.step-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}

.step-card strong {
  font-size: 16px;
}

.step-card ul {
  margin-top: 10px;
  padding-left: 18px;
}

.step-card li {
  margin-bottom: 6px;
  color: #374151 !important;
}

/* ========== Buttons ========== */
.btn-main {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  border-radius: 10px;
  padding: 10px 18px;
  font-weight: 500;
  border: none;
}

.btn-main:hover {
  opacity: .9;
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
  .training-header {
    flex-direction: column;
    align-items: flex-start;
  }
}



.thumb-bg {
  position: relative;
  height: 180px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

/* طبقة شفافة */
.thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, .65),
      rgba(0, 0, 0, .15));
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* التصنيف */
.thumb-overlay .category {
  background: #ffffffdd;
  color: #111827;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 999px;
  width: fit-content;
}

/* السعر */
.thumb-overlay .price {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  align-self: flex-end;
}





.training-page {
  max-width: 1100px;
  margin: auto;
  padding: 40px 15px;
  margin-top: 70px !important;
  text-align: right;
}

/* ========== Card ========== */
.training-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.07);
}

/* ========== Header ========== */
.training-header {

  margin-bottom: 24px;
}



.training-icon svg {
  width: 40px;
  height: 40px;
  stroke: #ffffff;
}

.training-title {
  font-size: 26px;
  font-weight: 700;
  color: #111827;
}

.training-field {
  color: #6b7280;
  margin-top: 4px;
}

/* ========== Sections ========== */
.section-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #1f2937;
}

.section-content {
  color: #374151;
  line-height: 1.9;
}

/* ========== Files ========== */
.files-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f9fafb;
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 10px;
  text-decoration: none;
  color: #111827;
  transition: background .25s;
}

.files-list a:hover {
  background: #eef2ff;
}

/* ========== Steps ========== */
.steps-wrapper {
  margin-top: 10px;
}

.step-card {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 14px;
}

.step-title {
  font-weight: 600;
  margin-bottom: 8px;
}

.step-card ul {
  margin: 0;
  padding-left: 18px;
}

.step-card li {
  margin-bottom: 6px;
  color: #374151;
}

/* ========== Empty Text ========== */
.muted {
  color: #9ca3af;
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
  .training-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

.files-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  direction: rtl;
}

.file-preview {
  border-radius: 14px;
  overflow: hidden;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
}

/* صور */
.image-preview img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

/* فيديو */
.video-preview video {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #000;
}

/* ملفات */
.file-link {
  display: block;
  padding: 14px;
  background: #f3f4f6;
  border-radius: 12px;
  color: #111827;
  font-size: 14px;
  transition: .2s;
}

.file-link:hover {
  background: #e5e7eb;
}

/* ========== Layout ========== */


/* ========== Card ========== */
.training-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.07);
}

/* ========== Header ========== */


.training-icon svg {
  width: 40px;
  height: 40px;
  stroke: #ffffff;
}

.training-title {
  font-size: 26px;
  font-weight: 700;
  color: #111827;
}

.training-field {
  color: #6b7280;
  margin-top: 4px;
}

/* ========== Info Grid ========== */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.info-item {
  background: #f9fafb;
  padding: 14px 18px;
  border-radius: 12px;
}

.info-item span {
  display: block;
  font-size: 13px;
  color: #6b7280;
}

.info-item strong {
  font-size: 15px;
  color: #111827;
}

/* ========== Sections ========== */
.section-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #1f2937;
}

.section-content {
  color: #374151;
  line-height: 1.9;
  direction: rtl;
}

/* ========== Steps ========== */
.steps-wrapper {
  margin-top: 10px;
}

.step-card {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 14px;
}

.step-title {
  font-weight: 600;
  margin-bottom: 8px;
}

/* ========== Buttons ========== */
.btn-back {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 18px;
  border-radius: 10px;
  background: #111827;
  color: #ffffff;
  text-decoration: none;
}

.btn-back:hover {
  opacity: .9;
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
  .training-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

.step-card li {
  color: white;
}

/* ===== Steps & Lessons (RTL) ===== */
.steps-wrapper {
  direction: rtl;
}

.step-card {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 16px;
  transition: all .25s ease;
}

.step-card:hover {
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .06);
  transform: translateY(-2px);
}

.step-title {
  font-size: 17px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* دائرة رقم المرحلة */
.step-title::before {
  content: "●";
  color: #8E1616;
  font-size: 14px;
}

/* ===== Lessons ===== */
.lesson-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lesson-list li {
  position: relative;
  padding-right: 22px;
  margin-bottom: 8px;
  color: #374151;
  font-size: 15px;
  line-height: 1.8;
}



.team-member img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 50%;
}


.lesson-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lesson-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 12px;
  border: 1px solid #eee;
  transition: 0.3s ease;
}

.lesson-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.lesson-title {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 6px;
  color: #2c2c2c;
}

.lesson-meta {
  display: flex;
  gap: 14px;
  font-size: 13px;
  color: #777;
}

.programs-grid {
  text-align: right;
  margin-top: 110px !important;
}


.consult-card {
  background: #f9fafb;
  border-radius: 12px;
  padding: 15px;
}

.consult-label {
  font-size: 13px;
  color: #6c757d;
}

.consult-value {
  font-weight: 600;
}

.problem-box {
  background: #fff;
  border-left: 4px solid #830627;
  padding: 15px;
  border-radius: 8px;
}

.note-box {
  background: #f8f9fa;
  border-left: 4px solid #0d6efd;
  padding: 15px;
  border-radius: 8px;
  color: #495057;
}

.followup-item {
  border-left: 3px solid #dee2e6;
  padding-left: 12px;
  margin-bottom: 10px;
}

.modal-header {
  display: flex;
}

.modal-header .btn-close {
  padding: 0px !important;
  margin: 0px !important;
}

.training-card .btn-lg {
  padding: 10px 15px;
  font-size: 15px;
  border-radius: 12px;
  width: auto;
  height: 42px;
  margin-top: 5px !important;
}


.payment-card-light {
  max-width: 650px;
  margin: auto;
  background: #ffffff;
  border-radius: 14px;
  padding: 35px;
  border: 1px solid #eee;
  margin-top: 55px;
}

/* السعر */
.price-red {
  color: #c62828;
  font-size: 22px;
  font-weight: 700;
}

/* Tabs */
.payment-tabs-light .nav-link {
  color: #444;
  background: #f5f5f5;
  margin: 0 6px;
  border-radius: 30px;
  padding: 8px 22px;
  font-weight: 600;
}

.payment-tabs-light .nav-link.active {
  background: #c62828;
  color: #fff;
}

/* Bank info */
.bank-info-light {
  background: #fafafa;
  border: 1px dashed #ddd;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 25px;
  font-size: 14px;
}

/* Inputs */
.clean-input {
  border-radius: 8px;
  border: 1px solid #ddd;
}

.clean-input:focus {
  border-color: #c62828;
  box-shadow: none;
}

/* Buttons */
.btn-red-clean {
  background: #c62828;
  color: #fff;
  font-weight: 600;
  border-radius: 30px;
}

.btn-red-clean:hover {
  background: #a81f1f;
}

.btn-outline-red-clean {
  border: 2px solid #c62828;
  color: #c62828;
  font-weight: 600;
  border-radius: 30px;
  background: transparent;
}

.btn-outline-red-clean:hover {
  background: #c62828;
  color: #fff;
}

/* Back */
.back-link-light {
  color: #777;
  text-decoration: none;
}

.back-link-light:hover {
  color: #000;
}



.bank-accounts {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 25px;
}

.bank-account-card {
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 15px;
  cursor: pointer;
  transition: all .25s ease;
  text-align: end;
  align-items: start;
  background: #fff;
}

.bank-account-card input {
  margin-inline-end: 15px;
  margin-top: 5px;
}

.bank-account-card:hover {
  border-color: #c62828;
}

.bank-account-card input:checked+.bank-account-content {
  border-inline-start: 4px solid #c62828;
  padding-inline-start: 12px;
}

.bank-account-content h6 {
  font-weight: 700;
  margin-bottom: 5px;
}

.bank-account-content p {
  font-size: 14px;
  color: #555;
  margin-bottom: 3px;
}

.bank-account-content .currency {
  display: inline-block;
  margin-top: 8px;
  background: #fbe9e7;
  color: #c62828;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}


.program-card {
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .05);
  transition: .25s ease;
}

.program-card:hover {
  transform: translateY(-4px);
}

.program-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.program-desc {
  color: #555;
  margin-bottom: 10px;
}

.program-meta {
  display: flex;
  gap: 15px;
  font-size: 13px;
  color: #777;
}

.program-footer {
  margin-top: 12px;
  text-align: end;
}

/* Badges */
.badge-online {
  background: #e7f3ff;
  color: #0d6efd;
}

.badge-offline {
  background: #fff3e0;
  color: #fd7e14;
}

.badge-recorded {
  background: #ede7f6;
  color: #6f42c1;
}

.price {
  font-weight: 700;
}

.price.free {
  color: #28a745;
}

/* Empty */
.empty-state {
  text-align: center;
  padding: 40px;
  color: #888;
}

.program-card-clean {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  height: 100%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .04);
  transition: .3s ease;
  display: flex;
  flex-direction: column;
}

.program-card-clean:hover {
  transform: translateY(-5px);
}

.program-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.program-type {
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.program-type:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Types */
.type-online {
  background: #e7f1ff;
  color: #8e1616;
}

.type-offline {
  background: #fff4e5;
  color: #fd7e14;
}

.type-recorded {
  background: #f3e8ff;
  color: #8e1616;
}

.type-default {
  background: #eee;
  color: #777;
}

.program-price {
  font-weight: 700;
  font-size: 14px;
}

.program-title {
  font-weight: 700;
  margin-bottom: 6px;
}

.program-desc {
  font-size: 14px;
  color: #666;
  flex-grow: 1;
}

.program-footer {
  text-align: end;
  margin-top: 15px;
}

/* Empty */
.empty-state {
  text-align: center;
  padding: 60px;
  color: #999;
}

.empty-state i {
  font-size: 40px;
  margin-bottom: 10px;
}


/* ===== Card ===== */
.fancy-card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .05);
  transition: all .35s ease;
  overflow: hidden;
}

/* خط علوي لوني خفيف */
.fancy-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, #000, #d84040, #8e1616);
  opacity: .5;
  transition: .4s ease;
}

.fancy-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .08);
}

.fancy-card:hover::before {
  height: 6px;
  opacity: 1;
}

/* ===== Header ===== */
.program-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  margin-bottom: 12px;
  color: #666;
}

.program-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.type-online {
  background: #8e1616;
}

.type-offline {
  background: #fd7e14;
}

.type-recorded {
  background: #8e1616;
}

.type-default {
  background: #aaa;
}

.program-price {
  font-weight: 700;
  color: #444;
  background: linear-gradient(135deg, #8E1616 0%, #d84040 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 15px;
}

/* ===== Title ===== */
.fancy-title {
  position: relative;
  font-weight: 700;
  margin-bottom: 8px;
}

.fancy-title::after {
  content: '';
  display: block;
  width: 26px;
  height: 2px;
  margin-top: 6px;
  background: linear-gradient(to right, #000, #d84040);
  opacity: .6;
  transition: width .3s ease;
}

.fancy-card:hover .fancy-title::after {
  width: 40px;
}

/* ===== Description ===== */
.program-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
}

/* ===== Footer ===== */
.program-footer {
  margin-top: 16px;
  text-align: end;
}

.soft-link {
  font-size: 14px;
  font-weight: 500;
  color: #8E1616;
  text-decoration: none;
  transition: .25s ease;
}

.soft-link:hover {
  color: #d84040;
  letter-spacing: .3px;
}

/* ===== Empty ===== */
.empty-state {
  text-align: center;
  padding: 60px;
  color: #999;
}

.empty-state i {
  font-size: 40px;
  margin-bottom: 10px;
}

.small {
  text-align: right !important;
}

/* ===== Steps & Lessons Professional Design ===== */
.steps-header {
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.steps-header .detail-title {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: 700;
  color: #333;
}

.steps-header .detail-title i {
  color: #8E1616;
  font-size: 22px;
}

.steps-header .badge {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: 600;
}

.steps-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.step-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: #8E1616;
  transform: translateY(-2px);
}

.step-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.step-number {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #8E1616 0%, #d84040 100%);
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(142, 22, 22, 0.2);
}

.step-content {
  flex: 1;
}

.step-name {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin: 0;
  line-height: 1.4;
}

.step-lessons-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #666;
  margin-top: 4px;
}

.step-lessons-count i {
  color: #8E1616;
  font-size: 16px;
}

.lessons-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}

.lesson-card {
  background: #f9f9f9;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: all 0.3s ease;
}

.lesson-card:hover {
  background: #fff;
  border-color: #8E1616;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transform: translateX(-4px);
}

.lesson-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
}

.lesson-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #8E1616 0%, #d84040 100%);
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}

.lesson-content {
  flex: 1;
}

.lesson-title {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin: 0 0 8px 0;
  line-height: 1.4;
}

.lesson-meta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.lesson-meta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #666;
  background: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid #e8e8e8;
}

.lesson-meta i {
  color: #8E1616;
  font-size: 14px;
}

.lesson-actions {
  flex-shrink: 0;
}

.btn-lesson-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #8E1616 0%, #d84040 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(142, 22, 22, 0.2);
}

.btn-lesson-link:hover {
  background: linear-gradient(135deg, #d84040 0%, #8E1616 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(142, 22, 22, 0.3);
}

.btn-lesson-link i {
  font-size: 16px;
}

.no-lessons {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px;
  background: #f9f9f9;
  border-radius: 8px;
  color: #999;
  font-size: 14px;
  text-align: center;
  justify-content: center;
  border: 1px dashed #e8e8e8;
}

.no-lessons i {
  font-size: 18px;
  color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
  .step-header {
    flex-direction: column;
    gap: 12px;
  }

  .step-number {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .lesson-card {
    flex-direction: column;
    align-items: stretch;
  }

  .lesson-actions {
    width: 100%;
  }

  .btn-lesson-link {
    width: 100%;
    justify-content: center;
  }

  .lesson-meta-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ===== Detail Section Professional Design ===== */
.detail-section {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.detail-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #8E1616 0%, #d84040 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.detail-section:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border-color: #8E1616;
  transform: translateY(-2px);
}

.detail-section:hover::before {
  opacity: 1;
}

.detail-title {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0f0f0;
}

.detail-title i {
  font-size: 20px;
  color: #8E1616;
}

.detail-content {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
}

.detail-content p {
  margin-bottom: 12px;
  line-height: 1.8;
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail-content p strong {
  color: #333;
  font-weight: 600;
  min-width: 80px;
  display: inline-block;
}

.detail-content .btn {
  margin-top: 12px;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(142, 22, 22, 0.2);
  border: none;
}

.detail-content .btn-primary {
  background: linear-gradient(135deg, #8E1616 0%, #d84040 100%);
  color: #fff;
}

.detail-content .btn-primary:hover {
  background: linear-gradient(135deg, #d84040 0%, #8E1616 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(142, 22, 22, 0.3);
}

.detail-content .btn-secondary {
  background: #6c757d;
  color: #fff;
}

.detail-content .btn-secondary:hover {
  background: #5a6268;
  transform: translateY(-2px);
}

.detail-content .alert {
  border-radius: 10px;
  border: none;
  padding: 12px 16px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.detail-content .alert i {
  font-size: 18px;
}

/* ===== Enhanced Program Card ===== */
.program-card {
  transition: all 0.3s ease;
}

.program-card:hover {
  transform: translateY(-4px);
}

.program-header {
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 16px;
}

.program-type {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.program-type:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.program-price {
  background: linear-gradient(135deg, #8E1616 0%, #d84040 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 15px;
}

/* ===== Enhanced Buttons ===== */
.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #8E1616 0%, #d84040 100%);
  border: none;
  box-shadow: 0 2px 8px rgba(142, 22, 22, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #d84040 0%, #8E1616 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(142, 22, 22, 0.3);
}

/* ===== Section Container ===== */
.section-container {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Appointment Section Professional Design ===== */
.appointment-section {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e8e8e8;
}

.appointment-accepted {
  border-radius: 10px;
  padding: 14px;
}

/* موعد محدد (لم يتم تنفيذه بعد) */
.appointment-accepted.appointment-scheduled {
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
  border: 1px solid #28a745;
}

/* استشارة منفذة */
.appointment-accepted.appointment-completed {
  background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
  border: 1px solid #ffc107;
}

.appointment-accepted strong {
  font-size: 14px;
}

.appointment-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.appointment-date,
.appointment-time {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #155724;
  font-weight: 600;
}

.appointment-date i,
.appointment-time i {
  font-size: 16px;
  color: #28a745;
}

.appointment-suggestions {
  background: linear-gradient(135deg, #e7f1ff 0%, #d0e7ff 100%);
  border: 1px solid #007bff;
  border-radius: 10px;
  padding: 14px;
}

.appointment-suggestions strong {
  font-size: 14px;
  color: #0056b3;
}

.suggestions-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.suggestion-item {
  background: #fff;
  border: 1px solid #b3d9ff;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: all 0.3s ease;
}

.suggestion-item:hover {
  border-color: #007bff;
  box-shadow: 0 2px 8px rgba(0, 123, 255, 0.15);
  transform: translateX(-2px);
}

.suggestion-date-time {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  font-size: 13px;
  color: #333;
  font-weight: 500;
}

.suggestion-date-time i {
  font-size: 16px;
  color: #007bff;
}

.accept-appointment-btn {
  padding: 6px 14px;
  font-size: 12px;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.accept-appointment-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

.request-more-btn {
  padding: 6px 14px;
  font-size: 12px;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.request-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

/* Responsive Design for Appointments */
@media (max-width: 768px) {
  .suggestion-item {
    flex-direction: column;
    align-items: stretch;
  }

  .accept-appointment-btn {
    width: 100%;
    justify-content: center;
  }

  .request-more-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ===== Video Container Professional Design ===== */
.video-container-wrapper {
  position: relative;
  width: 100%;
  margin: 20px 0;
}

.video-container {
  position: relative;
  width: 100%;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #dee2e6;
  overflow: hidden;
  transition: all 0.3s ease;
}

.video-container:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* 16:9 Aspect Ratio */
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.video-wrapper video,
.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
  object-fit: contain;
}

.video-loading {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border-radius: 12px;
}

.video-loading .spinner-border {
  width: 3rem;
  height: 3rem;
  border-width: 0.3em;
  border-color: rgba(255, 255, 255, 0.3);
  border-right-color: #fff;
}

.video-loading p {
  color: #fff;
  font-size: 16px;
  margin-top: 15px;
  font-weight: 500;
}

.video-embed {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
  background: #000;
}

/* Video Container Animation */
@keyframes fadeInVideo {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.video-container[style*="display: block"],
.video-container.video-loaded {
  animation: fadeInVideo 0.5s ease-out;
  display: block !important;
}

/* Responsive Video Design */
@media (max-width: 768px) {
  .video-container {
    padding: 15px;
    border-radius: 12px;
  }

  .video-wrapper {
    padding-bottom: 56.25%;
    border-radius: 10px;
  }

  .video-loading {
    padding: 30px 15px;
  }

  .video-loading .spinner-border {
    width: 2.5rem;
    height: 2.5rem;
  }

  .video-loading p {
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .video-container {
    padding: 10px;
  }

  .video-wrapper {
    border-radius: 8px;
  }
}

/* Fullscreen Video Modal */
#videoModal {
  padding: 0 !important;
}

#videoModal .modal-fullscreen {
  width: 100vw !important;
  max-width: 100vw !important;
  height: 100vh !important;
  margin: 0 !important;
  padding: 0 !important;
}

#videoModal .modal-content {
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  border: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

#videoModal .modal-header {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1000 !important;
  background: rgba(0, 0, 0, 0.7) !important;
  border: none !important;
  padding: 15px !important;
}

#videoModal .modal-body {
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  position: relative !important;
}

#videoModal #videoModalContent {
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  position: relative !important;
  margin: 0 !important;
  padding: 0 !important;
}

#videoModal #videoModalContent video,
#videoModal #videoModalContent iframe {
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  border: none !important;
  object-fit: contain !important;
}

/* Fullscreen Lessons Modal */
#lessonsModal .modal-fullscreen {
  width: 100vw;
  max-width: none;
  height: 100vh;
  margin: 0;
}

#lessonsModal .modal-content {
  height: 100vh;
  border: none;
  border-radius: 0;
}

#lessonsModal .modal-body {
  height: calc(100vh - 60px);
  overflow-y: auto;
  padding: 20px;
}

#lessonsModal #lessonsModalContent {
  width: 100%;
  height: 100%;
}