.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@font-face {
    font-family: 'Tajawal';
    src: url('../font/fonts/Tajawal-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: 'Tajawal';
    src: url('../font/fonts/Tajawal-Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

html,
body {
    width: 100%;
    font-family: arial;
    font-size:14px;
}

a {
    transition: all 0.35s ease 0s;
    -webkit-transition: all 0.35s ease 0s;
     -moz-transition: all 0.35s ease 0s;
}
#loading {
    height: 200px;
    left: 50%;
    margin: -100px 0 0 -100px;
    position: absolute;
    top: 50%;
    width: 200px;
}
#preloader {
    background: #fff none repeat scroll 0 0;
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 9999;
}
.title {
    text-align: center;
	padding-bottom: 70px;
	position: relative;
}
.header {
background: rgba(0, 0, 0, 0) url("../img/ahmad-al-khatib-header.webp") repeat scroll center 0 / cover;
    color: #fff;
    height: 100%;
    overflow: hidden;
    transition: all 0.35s ease 0s;
}
.header2 {
   background: rgba(0, 0, 0, 0) url("../img/person-ahmad-al-khatib.webp") repeat fixed center bottom / cover  ;
    color: #fff;
    height: 100%;
    overflow: hidden;
    transition: all 0.35s ease 0s;
}

.logo{
    float: left;
    text-align: center;
    width: 100%;
}
nav {
    background: #fff none repeat scroll 0 0 !important;
    border: 0 none !important;
    border-radius: 0 !important;
    float: left;
    width: 100%;
}
.size
{
font-size:45px;
color:#fff;
}
.navbar-nav {
    float: left;
    font-size: 16px;
    margin: 0;   
}
.img-left {
    left: -390px;
    position:relative;
}
.navbar-nav > li > a {
    padding-bottom: 15px;
    padding-top: 15px;
}
.navbar-default {
    background: #000000 none repeat scroll 0 0 !important;
}
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:focus, .navbar-default .navbar-nav > .active > a:hover {
    background-color: #ffa100;
    border-bottom: 10px solid #e49102;
    color: #fff;
}
.affix
{
 background: rgba(0, 0, 0, 1) none repeat scroll 0 0 !important;
transition: all 0.35s ease 0s;
}
/* Dropdown menu container */
.navbar-default .dropdown-menu {
    background-color: #47585f; 
    border: none;
    border-radius: 0;
    min-width: 180px;
    box-shadow: none;
    margin-top: 0;
}
/* Dropdown links - normal state */
.navbar-default .dropdown-menu > li > a {
    color: #fff !important;                             
    padding: 7px 20px;
    font-size: 18px;
    background-color: transparent;
    border-bottom: 5px solid transparent;
    transition: background-color 0.3s ease, 
                color 0.3s ease, 
                border-bottom-color 0.3s ease; 
}
/* Dropdown links - hover, focus, active states */
.navbar-default .dropdown-menu > li > a:hover,
.navbar-default .dropdown-menu > li > a:focus,
.navbar-default .dropdown-menu > li > a:active {
    background-color: #ffa100;         
    color: #fff;                             
    border-bottom-color: #e49102;  
    text-decoration: none;
    outline: none;
    box-shadow: none;
}
/* Prevent blue background on click/focus */
.navbar-default .dropdown-menu > li > a:active {
    background-color: #ffa100;
    color: #fff;
    outline: none;
    box-shadow: none;
}
.navbar-default .navbar-nav > li > a:visited {
    background-color: #ffa100;
    border-bottom: 10px solid #e49102;
    color: #fff;
}
.navbar-default .navbar-nav > li > a {
    color: #fff;
    font-size: 20px;
    padding: 50px 26px 35px;
}
.navbar-default .navbar-nav > li > a:focus, .navbar-default .navbar-nav > li > a:hover {
     background-color: #ffa100;
    border-bottom: 10px solid #e49102;
    color: #fff;
}
.navbar-brand img {
    width: 75% !important;
    transition: 0.3s;
    filter: grayscale(0%);
}
.navbar-brand img:hover {
    filter: grayscale(100%);
}
.header-text {
    background: rgba(0, 0, 0, 0.5) none repeat scroll 0 0;
    display: block;
    float: none;
    font-size: 18px;
    margin: 150px auto;
    padding: 42px !important;
    text-align: center;
    width: 700px;
}
.header-text h2 {
    font-size: 45px;
	margin-bottom:30px;
}
.header-text h3 {
    font-size: 30px;
	margin-bottom:30px;
}
.header-text p {
	margin-bottom:30px;
}
.header-text h2 span {
    color: orange;
}
.header-btn {
    border: 2px solid #fff;
    color: #fff;
    display: block;
    font-size: 22px;
    line-height: 42px;
    margin: 50px auto auto;
    text-align: center;
    width: 235px;
	transition: all 0.35s ease 0s;
}
.header-btn:hover {
    border: 2px solid #ff6000;
    color: #ff6000;
	text-decoration:none;
	transition: all 0.35s ease 0s;
}
.btn-ornge {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    border: 2px solid;
    border-radius: 0;
    width: 250px;
	font-size:18px;
	transition: all 0.35s ease 0s;
}
.btn-ornge:hover {   
    border: 2px solid #ffae00;    
	color:#ffae00;
	background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
	transition: all 0.35s ease 0s;
}

#person {
    overflow: hidden;
    padding: 50px 0 50px;
}
#person h2 {
    padding: 50px 0 25px;
    position: relative;
    text-align: center;
    width: 100%;
}
#person h2::before {
    background: #000 none repeat scroll 0 0;
    bottom: 9px;
    content: "";
    height: 2px;
    position: absolute;
    width: 100%;
	left:0;
}
#person h2::after {
    background: #ffa100 none repeat scroll 0 0;
    bottom: 9px;
    content: "";
    height: 2px;
    position: absolute;
    right: 0;
    width: 50%;
    z-index: 999;
}
#person p {
    font-size: 16px;
    padding: 10px 0;
    text-align: justify;
}
#person .button {
  cursor: pointer;
  font-weight: bold;
  font-size:14px;
  color: #ffa100;
  transition: color 0.3s ease;
  text-decoration: none;
  display: inline-block;
  border-radius: 5px;
  padding: 0.5em 1em;
  margin: 0px 0 20px;
  border: 1px solid #aaa;
}
#person .button:hover {
  color: lightblue;
}
#person .button.active {
  color: lightblue;
}  
html[lang="ar"] #person p {
    font-size: 16px;
    padding: 10px 0;
    direction: rtl !important;
    text-align: justify !important;
}
/*----------- activities ------------*/
#activities {
  background: linear-gradient(
    to top right,
    #7e1f1f 0%,      
    #a63a2b 50%,     
    #d2734a 85%,     
    #f1a159 100%     
  );
  color: #fff;
  overflow: hidden;
  padding: 50px 0;
  transition: all 0.35s ease 0s;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  position: relative;
  z-index: 1;
}
#activities::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -120px;
  width: 200%;
  height: 350px;
  background: rgba(255, 255, 255, 0.15);
  transform: skewY(10deg);
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: overlay;
}
.t-box {
  background: rgba(255, 255, 255, 0.1);
  color: #eee;
  float: left;
  padding: 0 20px 22px;
  text-align: center;
  width: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(6px);
  border-top: 1.5px solid #efa360;
  position: relative;
  z-index: 2;
}
.timg {
  position: relative;
  transition: all 0.35s ease 0s;
  overflow: hidden;
}
.timg > img {
  width: 100%;
  transition: transform 0.5s ease;
  display: block;
}
.timg:hover img {
  transform: scale(1.05);
}
.timg:hover::after {
  background: rgba(0, 0, 0, 0.4);
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
}
html[lang="ar"] #activities h3 {
  font-size: 25px !important;
}
/*----------- publications ------------*/

#publications {
    overflow: hidden;
    padding:50px 0 0px;
}
#publications h2 {
    padding: 50px 0 25px;
    position: relative;
    text-align: center;
    width: 100%;
}
#publications h2::before {
    background: #000 none repeat scroll 0 0;
    bottom: 9px;
    content: "";
    height: 2px;
    position: absolute;
    width: 100%;
	left:0;
}
#publications h2::after {
    background: #ffa100 none repeat scroll 0 0;
    bottom: 9px;
    content: "";
    height: 2px;
    position: absolute;
    right: 0;
    width: 50%;
    z-index: 999;
}
#publications h3 {
  margin: 0;
  padding: 0;
  text-align: center;
  width: 100%;
}
#publications p {
    font-size: 16px;
    padding: 10px 0;
    text-align: justify;
}
html[lang="ar"] #publications h2 {
    padding-top: 30px !important;
}
html[lang="ar"] #publications p:not(.book-description-en) {
    direction: rtl !important;
    text-align: justify !important;
}
html[lang="en"] #publications p:not(.book-description-ar) {
    direction: ltr !important;
    text-align: justify !important;
}
/* ---------- Bookshelf Section ---------- */
#bookshelf {
  position: relative;
  padding: 50px 0;
  overflow: hidden;
  background-color: #0a0a0a;
  background-image:
    linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(0,0,0,0.85) 100%),
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,0.025) 0 10px,
      transparent 10px 20px
    );
  background-size: 100% 100%, 20px 20px;
  background-repeat: no-repeat, repeat;
}
#bookshelf::before {
  content: "";
  position: absolute;
  top: -120px;
  left: -120px;
  width: 240%;
  height: 360px;
  background: linear-gradient(
    to right,
    rgba(255,255,255,0)    0%,
    rgba(255,255,255,0.08) 30%,
    rgba(255,255,255,0.02) 60%,
    rgba(255,255,255,0)    100%
  );
  transform: skewY(8deg);
  pointer-events: none;
  opacity: 0.7;
  z-index: 1;
}
#bookshelf > * {
  position: relative;
  z-index: 2;
}
#bookshelf .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#bookshelf .row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}
#bookshelf h2 {
  color: #fff;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  font-size: 30px;
  direction: rtl;
}

#bookshelf h2::before,
#bookshelf h2::after {
  content: none !important;
}
#bookshelf .col-xs-12.col-sm-6.col-md-3 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
#bookshelf .book {
  position: relative;
  overflow: hidden;
  width: 200px;
  flex: 0 0 auto;
  background-color: #000;
  border: 1px solid #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  margin-bottom: 20px; 
}
#bookshelf .book:hover {
  transform: translateY(-10px);
  border-color: #007b8c;
  box-shadow: 0 4px 12px rgba(0,123,140,0.4);
}
#bookshelf .book:focus-visible {
  outline: 2px solid #007b8c;
  outline-offset: 4px;
  transform: translateY(-10px);
}
#bookshelf .book img {
  width: 100%;
  height: auto;
  display: block;
}
#bookshelf .book .title-background {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background-color: #007b8c;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.4s ease;
}
#bookshelf .book:hover .title-background {
  opacity: 1;
}
#bookshelf .book .book-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
  margin: 0;
  padding: 0;
  color: #fff;
  font-size: 14px;
  font-weight: normal;
  text-align: center;
  line-height: 40px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 2;
}
#bookshelf .book:hover .book-title {
  opacity: 1;
  transform: translateY(0);
}
#bookshelf .book-button {
  font-family:tajawal;
  display: inline-block;
  margin: 10px auto;
  padding: 8px 15px;
  background: #007b8c;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  text-align: center;
}
#bookshelf .book-button1 {
  font-family:tajawal;
  display: inline-block;
  margin: 10px auto;
  padding: 8px 15px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid #fff;
  transition: all 0.3s ease;
  text-align: center;
}
#bookshelf .book-button:hover {
  background: transparent;
  color: orange;
  border: 2px solid orange;
}
#bookshelf .book-button1:hover {
  background: transparent;
  color: orange;
  border: 2px solid orange;
}
#bookshelf .book-description-ar {
  font-family: tajawal;
  padding: 10px 0;
  text-align: justify;
  font-size: 14px;
  color: #fff;
  direction: rtl !important;
}
#bookshelf .book-description-en {
  padding: 10px 0;
  text-align: justify;
  font-size: 14px;
  color: #fff;
  direction: ltr !important;
}
.share-buttons {
  margin-top: 0px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 18px;
  flex-wrap: wrap;
}
.share-buttons span {
  font-family: tajawal;
  color: white;
  font-weight: bold;
  margin-right: 6px;
  font-size: 10px;
}
.share-buttons a {
  color: white;
  text-decoration: none;
  transition: color 0.3s, transform 0.2s;
}

.share-buttons a:hover {
  transform: scale(1.2);
}
.share-buttons a[aria-label*="Twitter"]:hover { color: #1da1f2; }
.share-buttons a[aria-label*="Facebook"]:hover { color: #1877f2; }
.share-buttons a[aria-label*="LinkedIn"]:hover { color: #0a66c2; }
.share-buttons a[aria-label*="WhatsApp"]:hover { color: #25d366; }
/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
  #bookshelf .book {
    width: 45%;
  }
}
@media (max-width: 576px) {
  #bookshelf .book {
    width: 90%;
    margin: 20px auto;
  }
  #bookshelf h2 {
    font-size: 24px;
  }
  #bookshelf .book-title {
    font-size: 13px;
  }
  .share-buttons {
    justify-content: center;
    gap: 10px;
    font-size: 16px;
  }
}

/*----------- owl ------------*/
#owl-demo .owl-item div{
      padding:5px;
    }
#owl-demo .owl-item img{
      display: block;
      width: 100%;
      height: auto;
      -webkit-border-radius: 3px;
      -moz-border-radius: 3px;
      border-radius: 3px;
}
.owl-theme .owl-controls .owl-buttons div {
    background: rgba(255, 255, 255, 0.08) none repeat scroll 0 0 !important;
    color: #ffa100 !important;    
    font-size: 65px !important;
    opacity: 1 !important;
}
.owl-theme .owl-controls .owl-buttons div:hover {
    background: #ffa100 none repeat scroll 0 0 !important;
    color: #fff !important;    
    font-size: 65px !important;
    opacity: 1 !important;
}
.owl-buttons {
    position: absolute;
    top: 50%;
    width: 100%;
}
.owl-prev {
    left: 0;
    position: absolute;
}
.owl-next {
    right: 0;
    position: absolute;
}
.owl-pagination {
    visibility: hidden;
}
/*----------- course ------------*/
#python-course {
  background: url("../img/arabic-python-course-for-beginners-ahmad-al-khatib.webp") no-repeat center center;
  color: #333;
  background-size: cover;
  padding: 50px 0 50px 0;
  text-align: center;
  direction: rtl;
}
#python-course h2 {
  font-size: 30px;
  font-weight: 700;
  color: #333;
  line-height: 1.5;
  margin-bottom: 30px;
}
#python-course p {
  font-size: 16px;
  text-align: justify;
  text-align-last: center;
  color: #555;
  margin: 1rem auto 2rem;
  line-height: 1.8;
}
#python-course .size,
#python-course .course-feature i {
  color: #333;
  font-size: 2rem;
  margin-top: 10px;
  margin-bottom: 5px;
  transition: color 0.3s ease;
}
#python-course .course-feature:hover .size,
#python-course .course-feature:hover i {
  color: #2e86ce;
}
#python-course .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}
#python-course .row > div {
  display: flex;
  flex-direction: column;
}
#python-course .course-button {
  display: inline-block;
  margin: 10px auto 20px;
  padding: 12px 20px;
  background: #ffa100;
  color: #fff;
  border-radius: 10px;
  font-size: 1em;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  text-align: center;
}
#python-course .course-button:hover {
  background: transparent;
  color: #2e86ce;
  border: 2px solid #2e86ce;
}
#python-course .course-cta {
  text-align: center;
}
#python-course .course-feature {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 15px 15px;
  background-color: #d4d4d4;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  text-align: center;
  width: 100%;
  min-height: 100%;
  box-sizing: border-box;
}
#python-course .course-feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(243, 186, 8, 0.3);
}
#python-course h3 {
  font-size: 1.4em;
  font-weight: 600;
  color: #333;
  min-height: auto;
  margin-top: 10px;
  margin-bottom: 1.5rem;
  min-height: 2.2em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 5px;
}
#python-course h4 {
  font-size: 14px !important;
  color: #333 !important;
  font-weight: 600 !important;
}
#python-course span {
  font-size: 14px;
  color: #333;
  line-height: 1.6;
  display: block;
  max-width: 280px;
  margin: 10px auto;
  flex-grow: 1;
}
@media (max-width: 991.98px) {
  #python-course .row > div {
    flex: 0 0 50%;
    max-width: 50%;
  }
}
@media (max-width: 575.98px) {
  #python-course .row > div {
    flex: 0 0 100%;
    max-width: 100%;
  }
  #python-course .course-feature {
    min-height: auto;
  }
}
html[lang="en"] #python-course {
  background: url("../img/arabic-python-course-for-beginners-ahmad-al-khatib.webp") no-repeat center center;
  color: #333;
  background-size: cover;
  padding: 50px 0;
  text-align: center;
  direction: ltr;
}

html[lang="en"] #python-course h2 {
  font-size: 30px;
  font-weight: 700;
  color: #333;
  line-height: 1.5;
  margin-bottom: 30px;
}

html[lang="en"] #python-course p {
  font-size: 16px;
  text-align: justify;
  text-align-last: center;
  color: #555;
  margin: 1rem auto 2rem;
  line-height: 1.8;
}

html[lang="en"] #python-course .size,
html[lang="en"] #python-course .course-feature i {
  color: #333;
  font-size: 2rem;
  margin-top: 10px;
  margin-bottom: 5px;
  transition: color 0.3s ease;
}

html[lang="en"] #python-course .course-feature:hover .size,
html[lang="en"] #python-course .course-feature:hover i {
  color: #2e86ce;
}

html[lang="en"] #python-course .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

html[lang="en"] #python-course .row > div {
  display: flex;
  flex-direction: column;
}

html[lang="en"] #python-course .course-button {
  display: inline-block;
  margin: 10px auto 20px;
  padding: 12px 20px;
  background: #ffa100;
  color: #fff;
  border-radius: 10px;
  font-size: 1em;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  text-align: center;
}

html[lang="en"] #python-course .course-button:hover {
  background: transparent;
  color: #2e86ce;
  border: 2px solid #2e86ce;
}

html[lang="en"] #python-course .course-cta {
  text-align: center;
}

html[lang="en"] #python-course .course-feature {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background-color: #d4d4d4;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  text-align: center;
  width: 100%;
  min-height: 100%;
  box-sizing: border-box;
}

html[lang="en"] #python-course .course-feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(243, 186, 8, 0.3);
}

html[lang="en"] #python-course h3 {
  font-size: 1.4em;
  font-weight: 600;
  color: #333;
  margin-top: 10px;
  margin-bottom: 1.5rem;
  min-height: 2.2em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 5px;
}

html[lang="en"] #python-course h4 {
  font-size: 14px !important;
  color: #333 !important;
  font-weight: 600 !important;
}

html[lang="en"] #python-course span {
  font-size: 14px;
  color: #333;
  line-height: 1.6;
  display: block;
  max-width: 280px;
  margin: 10px auto;
  flex-grow: 1;
}

@media (max-width: 991.98px) {
  html[lang="en"] #python-course .row > div {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 575.98px) {
  html[lang="en"] #python-course .row > div {
    flex: 0 0 100%;
    max-width: 100%;
  }
  html[lang="en"] #python-course .course-feature {
    min-height: auto;
  }
}

/*----------- gallery ------------*/
#Gallery {
    padding:50px 0 50px;
    overflow:hidden;
}
#controls ul li {
    float:left;
    margin-right:20px;
}
#container {
    clear:both;
}
.hover-img {
    background: #000 none repeat scroll 0 0;
    height: 96%;
    left: 6px;
    margin: 8px 5px;
    opacity: 0;
    position: absolute;
    text-align: center;
    top: 0px;
    width: 96%;
	transition: all 0.32s ease 0s;
}
.hover-img:hover {
    background: rgba(0, 0, 0, 0.4) none repeat scroll 0 0;
    position: absolute;
    text-align: center;
    top: 0;
	opacity: 1;
	 color: #fff;
	 padding: 20% 0 0;
	border:1px solid #333;
}
.hover-img:hover .camera {
    color: #fff;
    font-size: 50px;
    padding: 5% 0 0;
    transition: all 0.3s ease 0s;
}
.element-item {
width:25%;
height:320px;
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0 !important;
}
/*----------- blog single ------------*/
.blog-header {
    background: rgba(0, 0, 0, 0) url("../img/header4.jpg") repeat fixed center bottom / cover ;
    color: #fff;
    overflow: hidden;
    padding: 300px 0 150px;
    position: relative;
    transition: all 0.35s ease 0s;
	margin-bottom:100px;
}
.blog-header::before {
    background:rgba(0, 0, 0, 0.73) none repeat scroll 0 0;
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}
.blog-header h1 {
    position: relative;
    text-align: center;
    width: 100%;
}
.bs-blog-detail a {
    color: #777;
    display: inline-block;
}
.bs-blog-text {
    color: #555;
    font-weight: 300;
    margin-top: 25px;
}
.bs-blog-img {
    display: inline-block;
    width: 100%;
}
.bs-blog-img > img {
    width: 100%;
}
.bs-blog-name a {
    color: #565656;
    display: inline-block;
}
.bs-blog-name {
    font-size: 19px;
    font-weight: 300;
    padding-left: 75px;
}
.bs-blog-naz {
    display: inline-block;
    margin-top: 20px;
    width: 100%;
}
.bs-blog-type {
    border-right: 1px solid #eee;
    color: #5ac8fb;
    float: left;
    font-size: 40px;
    line-height: 1.5;
    padding-right: 10px;
}
.bs-blog-name {
    font-size: 18px;
    font-weight: 300;
    padding-left: 75px;
}
.bs-blog-detail {
    color: #999;
    font-size: 12px;
    font-weight: 300;
    margin-left: 75px;
    margin-top: 5px;
}
.bs-blog-text {
    color: #555;
    font-weight: 300;
    margin-top: 25px;
}
blockquote {
    border-left: 2px solid #eee;
    font-size: 16px;
    font-weight: 300;
    margin: 25px 0;
}
.tags-blog-single {
    display: inline-block;
}
.tags-blog li {
    border: 1px solid #eee;
    display: inline-block;
    margin-bottom: 8px;
    margin-right: 5px;
    padding: 3px 8px;
}
.tags-blog li a {
    color: #555;
    font-weight: 300;
}
.soc-blog-single {
    display: inline-block;
    float: right;
}
.soc-blog {
    float: right;
    list-style: outside none none;
    padding: 0;
}
.soc-blog li {
    background: #fff none repeat scroll 0 0;
    border: 1px solid #eee;
    border-radius: 2px;
    float: left;
    font-size: 17px;
    height: 30px;
    line-height: 30px;
    margin-right: 5px;
    text-align: center;
    width: 35px;
}
.marg50 {
    margin-top: 50px;
}
.marg25 {
    margin-top: 25px;
}
.img-author {
    float: left;
}
.name-author {
    display: inline-block;
    font-size: 19px;
    font-weight: 300;
    margin-left: 20px;
}
.text-author {
    font-size: 12.5px;
    font-weight: 300;
    margin-left: 100px;
    margin-top: 5px;
}
.bs-blog-line {
    border-top: 1px solid #eee;
    float: left;
    margin: 50px 0;
    width: 100%;
}
.comm_name {
    color: #5ac8fb;
    font-size: 16px;
    font-weight: 300;
}
.comm_name span {
    color: #555;
    font-size: 11px;
}
.img_comm {
    border-radius: 2px;
    float: left;
    height: 80px;
    margin-bottom: 10px;
    margin-right: 50px;
    width: 80px;
}
.comment {
    float: left;
    padding: 30px 0;
    width: 100%;
}
.comment-inner {
    float: left;
    margin-bottom: 20px;
    margin-left: 130px;
    margin-top: 20px;
}
.input-def {
    border: 1px solid #eee;
    margin-bottom: 10px;
    outline: medium none;
    padding: 15px 10px;
    width: 50%;
}
.input-def-textarea {
    border: 1px solid #eee;
    margin-bottom: 10px;
    outline: medium none;
    padding: 5px 10px;
    width: 65%;
}
.text_cont {
    font-weight: 300;
}
.soc-blog li a {
    color: #797979;
}
.soc-blog-single {
    display: inline-block;
    float: right;
}
.author-bio {
      background: #f9f9f9 none repeat scroll 0 0;
    border: 1px dashed #ddd;
    display: inline-block;
    margin-top: 30px;
    padding: 28px;
    width: 100%;
}
.bs-blog-line-com {
    border-top: 1px solid #eee;
    float: left;
    margin: 25px 0;
    width: 100%;
}
.tags-blog {
    padding: 0;
}
/*----------- blog ------------*/

#blog {
  background: #007b8c;
  color: #fff;
  overflow: hidden;
  padding:50px 0 50px;
  transition: all 0.35s ease 0s;
  position: relative;
  text-align: center;
}
#blog::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -120px;
  width: 200%;
  height: 350px;
  background: rgba(255, 255, 255, 0.15);
  transform: skewY(10deg);
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: overlay;
}
.title {
  padding-bottom: 45px !important;
}
.title p {
  padding-top: 20px !important;
  padding-bottom: 0px !important;
}
.blog-img {
  border: 1px solid;
  border-radius: 5px;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: visible;
  margin-bottom: 30px;
}
.blog-img > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 5px;
  transform: translate(10px, 10px);
  border-radius: 5px;
}
#latest-blog-post .blog-img {
    width: 50%;
    padding-bottom: 28.125%;
    margin: 0 auto 30px auto;
    border: 1px solid;
    border-radius: 5px;
    position: relative;
    height: 0;
    overflow: visible;
}
#latest-blog-post .blog-img > img {
    transform: translate(10px, 10px);
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 5px;
}
.date {
  color: #ffffff;
  display: inline-block;
  font-size: 50px;
  padding-right: 20px;
  position: relative;
  text-align: center;
}
.date::before {
  border-right: 1px solid;
  content: "";
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  transform: skewX(-20deg);
}
.month,
.year {
  color: #ffffff;
  display: inline-block;
  font-size: 18px;
  padding-left: 20px;
  padding-top: 23px;
  text-align: center;
}
#blog a {
  border: 1px solid #ffffff;
  color: #000;
  display: inline-table;
  font-size: 18px;
  margin-top: 15px;
  margin-bottom: 25px;
  padding: 10px 23px;
  text-decoration: none;
  background: #fff;
}
#blog a:hover {
  border: 1px solid #ffc259;
  color: #fff;
  background: none;
}
#blog .row > h3 {
  color: #ffffff;
  margin-top: 15px;
  font-size: 20px;
  font-weight: bold;
}
#blog .row > p {
  padding: 0 10px !important;
  color: #ffffff;
  font-size: 14px;
  text-align: justify
}
html[lang="ar"] #blog .row > p {
    direction: rtl !important;
    text-align: justify !important;
    padding: 0 10px !important;
}
/* Add left and right padding to the blog post container */
#latest-blog-post.col-12 {
  padding: 0 15px 0px 15px;
}
/* Make the blog post title bold */
#latest-blog-post h3 {
  font-weight: bold;
}
/* Reduce space between the date row and the h3 heading */
#latest-blog-post .row + .row h3 {
  margin-top: 20px !important;
}
/* Tighten vertical spacing for date elements */
#latest-blog-post .date,
#latest-blog-post .month,
#latest-blog-post .year {
  margin-bottom: 0;
  padding-bottom: 0; /* was incorrect before (missing px unit) */
}
/* Paragraph styling: RTL, justified text, side padding 10px, bottom padding 10px */
#latest-blog-post p {
  direction: rtl !important;
  text-align: justify !important;
  padding: 0 10px 0px 10px;
  margin-bottom: 10px;
}
/* Summary: when details is closed, add 25px margin below */
#latest-blog-post summary {
  padding: 0 10px;
  direction: rtl;
  text-align: justify;
}

/*----------- contact ------------*/
#contact {
  position: relative;
  background-image:
    linear-gradient(to top, #1f1f1f 0%, #292525 100%),
    repeating-linear-gradient(
      -45deg,
      rgba(255,255,255,0.03) 0,   /* was 0.015 */
      rgba(255,255,255,0.03) 1px,
      transparent 1px,
      transparent 8px
    );
  background-blend-mode: overlay;
  background-repeat: no-repeat, repeat;
  background-size: cover, auto;
  background-position: center center, 0 0;
  color: #fff;
  overflow: hidden;
  padding: 50px 0;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

#contact::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -120px;
  width: 200%;
  height: 300px;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.03) 20%,  /* was 0.02 */
    rgba(255, 255, 255, 0.08) 40%,  /* was 0.06 */
    rgba(255, 255, 255, 0.03) 60%,  /* was 0.01 */
    rgba(255, 255, 255, 0.01) 80%,  /* was 0.00 */
    rgba(255, 255, 255, 0.18) 90%   /* was 0.15 */
  );
  transform: skewY(10deg);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;
  opacity: 0.75; /* was 0.6 */
}

#contact input[type="text"],
#contact input[type="email"] {
  background-color: #fff;
  background-image: none;
  border: 1px solid #666;
  border-radius: 4px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
  color: #555;
  display: block;
  font-size: 14px;
  height: 57px;
  line-height: 1.42857;
  padding: 10px 12px;
  transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
  width: 100%;
}

#contact .btn-block {
  background: #ffa100 none repeat scroll 0 0;
  border-radius: 0;
  color: #000;
  display: block;
  float: right;
  font-size: 16px;
  margin-bottom: 50px;
  margin-right: 15px;
  padding: 10px 0;
  transition: all 0.3s ease 0s;
  width: 165px;
}
html[lang="en"] #contact .btn-block {
  float: left;
  margin-left: 15px; /* swap sides for spacing */
  margin-right: 0;
}
/* === Responsive: Improve Visibility and Spacing === */
@media (max-width: 576px) {
  #contact {
    padding: 40px 15px;
    background-image:
      linear-gradient(to top, #1f1f1f 0%, #292525 100%),
      repeating-linear-gradient(
        -45deg,
        rgba(255,255,255,0.05) 0,
        rgba(255,255,255,0.05) 1px,
        transparent 1px,
        transparent 6px
      );
    background-blend-mode: overlay;
  }
  #contact::before {
    opacity: 0.9;
  }
  #contact .btn-block {
    float: none;
    margin: 20px auto;
    width: 100%;
    max-width: 220px;
  }
}

/* GENERAL FOOTER STYLES */
#footer {
  background-color: #111;
  color: #ddd;
  padding: 50px 0;
  font-family: tajawal, sans-serif;
  direction: rtl;
  text-align: center;
}

#footer .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 15px;
}

#footer .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  text-align: center;
}

#footer .footer-col {
  flex: 1 1 33%;
  padding: 20px;
  box-sizing: border-box;
}

#footer .social-links {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

#footer .social-links a {
  background-color: #242424;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s, color 0.3s;
}

#footer .social-links a:hover {
  transform: scale(1.2);
}

#footer .footer-nav {
  list-style: none;
  padding: 0;
  margin: 0 auto 20px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 15px;
  gap: 10px;
}

#footer .footer-nav li {
  position: relative;
  padding: 0 10px;
}

#footer .footer-nav li:not(:last-child)::after {
  content: "|";
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
}

#footer .footer-nav a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

#footer .footer-nav a:hover {
  color: #ffa100;
}

#footer .contact-info {
  font-size: 14px;
  line-height: 1.5;
}

#footer .contact-info a {
  color: #ffa100;
  text-decoration: none;
}

#footer .contact-info a:hover {
  text-decoration: underline;
}

#footer .footer-bottom {
  border-top: 1px solid #333;
  margin-top: 30px;
  padding-top: 20px;
  font-size: 14px;
  color: #aaa;
}
html[lang="en"] #footer .footer-nav li:not(:last-child)::after {
  left: auto;
  right: -7px;
}
html[lang="en"] #footer {
  direction: ltr;
}
/* Responsive */
@media (max-width: 768px) {
  #footer .row {
    flex-direction: column;
  }

  #footer .footer-col {
    flex: 1 1 100%;
    padding: 20px 0;
  }

  #footer .footer-nav {
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    padding: 10px 0;
    margin: 10px 0;
  }
}


@media (min-width:768px) and (max-width:1024px)
{
.navbar-default .navbar-nav > li > a {
    font-size: 18px;
    padding: 50px 15px 35px;
}
.img-left {
    left: -50px;
    position:relative;
}
.img-left img
{
width:100%;
}
.for-box .clr1::before {
    top: -26px;
}
.for-box .clr2::before {
    top: -26px;
}
.for-box .clr3::before {
    top: -26px;
}
.for-box .clr4::before {
    top: -26px;
}
.element-item {
width:50%;
}
#person img {
    left: -24px;
    position: relative;
}
#blog .title {
  padding-bottom: 45px !important;
}
#blog .title p {
  padding-top: 20px !important;
  padding-bottom: 0px !important;
}
}
@media (max-width:800px)
{
#person img {
    left: -40px;
    position: relative;
}
.blog-img {
    height: 130px;
}
#blog .row {
    padding: 0 10px !important;
}
#blog .title {
  padding-bottom: 45px !important;
}
#blog .title p {
  padding-top: 20px !important;
  padding-bottom: 0px !important;
}
}
@media (max-width:980px)
{
#person img {
   left: 0;
    position: relative;
    width: 100%;
}
.img-left {
   left: 0;
    position: relative;
    width: 100%;
}
.blog-img {
    height: 130px;
}
#blog .row {
    padding: 0 10px !important;
}
#blog .title {
  padding-bottom: 45px !important;
}
#blog .title p {
  padding-top: 20px !important;
  padding-bottom: 0px !important;
}
}
@media (min-width:1024px) and (max-width:1170px)
{
.col-md-6 {
    width: 100%;
}
#person img {
    left: 0;
    position: relative;
}
.img-left {
    left: 0;
    position: relative;
}
#footer .col-md-6 {
    width: 50%;
}
#blog .title {
  padding-bottom: 45px !important;
}
#blog .title p {
  padding-top: 20px !important;
  padding-bottom: 0px !important;
}
}
@media (max-width:640px)
{
    .for-box-crecl {
    left: 43%;
}
.header-text {
    background: rgba(0, 0, 0, 0.5) none repeat scroll 0 0;
    display: block;
    float: none;
    font-size: 12px;
    margin: 150px auto;
    padding: 42px !important;
    text-align: center;
    width: 100%;
}
.header-text h2 {
    font-size: 24px;
}
.navbar-default .navbar-nav > li > a {
    font-size: 18px;
    padding: 10px 15px 10px;
	width:100%;
}
#blog .title {
  padding-bottom: 45px !important;
}
.img-left img
{
width:100%;
}
.for-box .clr1::before {
    top: -26px;
}
.for-box .clr2::before {
    top: -26px;
}
.for-box .clr3::before {
    top: -26px;
}
.for-box .clr4::before {
    top: -26px;
}
.element-item {
width:100%;
}
.navbar-default .navbar-collapse, .navbar-default .navbar-form {
    border-color: #000;
}
.navbar-nav {
    background: #000 none repeat scroll 0 0;
    float: left;
    font-size: 16px;
    margin: 0;
    width: 100%;
}
.header-text h3 {
    font-size: 18px;
    margin-bottom: 30px;
}
.blog-img {
    height: 340px;
    margin-top: 30px;
}

.navbar-brand img {
    margin-top: -25px;
    width: 65% !important;
}
.navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
    background-color: orange;
}
.navbar-default .navbar-toggle .icon-bar {
    background-color: #fff;
}
.header1 {
    margin-top: -144px;
}
}
@media (max-width:480px)
{
    .header {  
    height: 600px;    
}
.header-text {
    background: rgba(0, 0, 0, 0.5) none repeat scroll 0 0;
    display: block;
    float: none;
    font-size: 12px;
    margin: 300px auto auto;
    padding: 42px !important;
    text-align: center;
    width: 100%;
}
.header-text h2 {
    font-size: 24px;
}
.navbar-default .navbar-nav > li > a {
    font-size: 18px;
    padding: 10px 15px 10px;
	width:100%;
}
#blog .title {
  padding-bottom: 45px !important;
}
#blog .title p {
  padding-top: 20px !important;
  padding-bottom: 0px !important;
}
.img-left img
{
width:100%;
}
.for-box .clr1::before {
    top: -26px;
}
.for-box .clr2::before {
    top: -26px;
}
.for-box .clr3::before {
    top: -26px;
}
.for-box .clr4::before {
    top: -26px;
}
.element-item {
width:100%;
}
.navbar-default .navbar-collapse, .navbar-default .navbar-form {
    border-color: #000;
}
.navbar-nav {
    background: #000 none repeat scroll 0 0;
    float: left;
    font-size: 16px;
    margin: 0;
    width: 100%;
}
.header-text h3 {
    font-size: 18px;
    margin-bottom: 30px;
}
.blog-img {
    height: 249px;
}
.navbar-brand img {
    margin-top: -25px;
    width: 65% !important;
}
.navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
    background-color: orange;
}
.navbar-default .navbar-toggle .icon-bar {
    background-color: #fff;
}
.header1 {
    margin-top: -144px;
}
    .for-box-crecl {
    left: 30%;
}
}
@media (max-width:320px)
{
.header-text {
    background: rgba(0, 0, 0, 0.5) none repeat scroll 0 0;
    display: block;
    float: none;
    font-size: 12px;
    margin: 300px auto auto;
    padding: 0px !important;
    text-align: center;
    width: 100%;
}
.header-text h2 {
    font-size: 24px;
}
.navbar-default .navbar-nav > li > a {
    font-size: 18px;
    padding: 10px 15px 10px;
	width:100%;
}
#blog .title {
  padding-bottom: 45px !important;
}
#blog .title p {
  padding-top: 20px !important;
  padding-bottom: 0px !important;
}
.img-left img
{
width:100%;
}
.for-box .clr1::before {
    top: -26px;
}
.for-box .clr2::before {
    top: -26px;
}
.for-box .clr3::before {
    top: -26px;
}
.for-box .clr4::before {
    top: -26px;
}
.element-item {
width:100%;
    height: 215px;
}
.navbar-default .navbar-collapse, .navbar-default .navbar-form {
    border-color: #000;
}
.navbar-nav {
    background: #000 none repeat scroll 0 0;
    float: left;
    font-size: 16px;
    margin: 0;
    width: 100%;
}
.header-text h3 {
    font-size: 18px;
    margin-bottom: 30px;
}
.blog-img {
    height: 157px;
    margin-top: 30px;
}
.navbar-brand img {
    margin-top: -25px;
    width: 65% !important;
}
.navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
    background-color: orange;
}
.navbar-default .navbar-toggle .icon-bar {
    background-color: #fff;
}
.header1 {
    margin-top: -144px;
}
    .for-box-crecl {
    left: 37%;
}
#footer::before {   
    left: 0; 
    top: 46%;
}

}
.cv-spacer {
    display: block;
    height: 10px;
    margin-top: 0;
}
.cv-link {
    font-weight: bold;
    color: orange;
    font-size: 18px;
    transition: color 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}
.cv-link:hover {
    color: lightblue;
}

details {
  padding: 0.5em 1em;
  margin: 1em 0 5em;
  border: 1px solid #aaa;
  border-radius: 5px;
}
summary {
  cursor: pointer;
  font-weight: bold;
  color: orange;
  transition: color 0.3s ease;
}
summary:hover {
  color: lightblue;
}
details[open] summary {
  color: lightblue;
}
.content {
  overflow: hidden;
  transition: height 0.4s ease;
}
.content-inner {
  opacity: 0;
  transform: scaleY(1);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
details.open .content-inner {
  opacity: 1;
  transform: scaleY(1);
}
#blog details {
  padding: 0.5em 1em;
  margin-top: 1em;
  margin-bottom: 25px;
  border: 1px solid transparent;
  border-radius: 5px;
  transition: border-color 0.4s ease;
}
#blog details[open] {
  border-color: #ffffff;
}

.pageclip-form__success {
  clear: both;
  display: block;
  margin-top: 5rem;
  padding: 1.5rem 2rem;
  color: #ffa100;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  letter-spacing: 2px;
  line-height: 1.6;
  
  animation: fadeInUp 0.6s ease;
  transition: all 0.3s ease;
}

.pageclip-form__success:hover {
  box-shadow: 0 6px 25px rgba(255, 161, 0, 0.4);
  transform: translateY(-2px);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
