﻿/*

Table of contents
------------------------------------------------
01. font & reset css
02. reset
03. global styles
04. header
05. banner
06. features
07. testimonials
08. contact
09. footer
10. preloader
11. search
12. portfolio

--------------------------------------------- */

:root {
  /* =========================================
     Color Palette - YemenExam (Green Theme)
     ========================================= */

  /* --- Core Colors --- */
  --color-white: #ffffff;
  --color-black: #000000;
  --color-transparent: transparent;

  /* --- Palette --- */
  --palette-50: #eefbf6;
  --palette-100: #d5f6e7;
  --palette-200: #aeecd3;
  --palette-300: #79dcbc;
  --palette-400: #40c39c;
  --palette-500: #20a985;
  /* Primary */
  --palette-600: #13886c;
  --palette-700: #0f6d58;
  --palette-800: #0e5747;
  --palette-900: #0d473c;
  --palette-950: #062822;

  /* --- Background Colors --- */
  --bg-body: var(--palette-50);
  --bg-surface: #ffffff;
  --bg-light: var(--palette-50);
  --bg-light-blue: var(--palette-100);
  --bg-dark: var(--palette-900);
  --bg-darker: var(--palette-950);
  --bg-almost-black: #060606;
  --bg-dark-surface: #252525;
  --bg-input: var(--palette-50);

  /* --- Overlay Backgrounds --- */
  --bg-overlay-light: rgba(238, 251, 246, 0.15);
  --bg-overlay-medium: rgba(238, 251, 246, 0.9);
  --bg-overlay-dark: rgba(6, 40, 34, 0.75);
  --bg-overlay-black: rgba(0, 0, 0, 0.5);

  /* --- Text Colors --- */
  --text-primary: var(--palette-950);
  --text-secondary: var(--palette-900);
  --text-muted: var(--palette-700);
  --text-light: #ffffff;
  --text-placeholder: var(--palette-400);
  --text-default: var(--palette-950);
  --text-heading: var(--palette-950);

  /* --- Brand & Accent Colors --- */
  --color-accent: var(--palette-500);
  --color-accent-hover: var(--palette-600);
  --color-yellow: var(--palette-400);
  --color-red: #fb5849;
  --color-blue-nav: var(--palette-700);
  --color-blue-nav-hover: var(--palette-500);
  --color-heading-orange: var(--palette-500);

  /* --- Links --- */
  --link-color: var(--palette-600);
  --link-hover: var(--palette-400);

  /* --- Borders & Shadows --- */
  --border-light: var(--palette-100);
  --border-translucent: rgba(255, 255, 255, 0.15);
  --shadow-light: rgba(0, 0, 0, 0.06);
  --shadow-medium: rgba(0, 0, 0, 0.1);
  --shadow-dark: rgba(0, 0, 0, 0.15);

  /* --- Fonts --- */
  --default-font: "Tajawal", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Tajawal", "Raleway", sans-serif;
  --nav-font: "Tajawal", "Poppins", sans-serif;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}


/* 
---------------------------------------------
font & reset css
--------------------------------------------- 
*/
@import url("https://fonts.googleapis.com/css?family=Poppins:100,200,300,400,500,600,700,800,900");
/* Tajawal font is loaded locally via tajawal.css */

/* 
---------------------------------------------
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: "Tajawal", sans-serif !important;
  font-weight: 400;
  background-color: var(--color-white);
  font-size: 16px;
  -ms-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none !important;
  color: var(--link-color);
}

a:hover {
  color: var(--link-hover);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0px;
  margin-bottom: 0px;
}

ul {
  margin-bottom: 0px;
}

p {
  font-size: 14px;
  line-height: 25px;
  color: var(--text-secondary);
}

img {
  width: 100%;
  overflow: hidden;
}

/* 
---------------------------------------------
global styles
--------------------------------------------- 
*/
html,
body {
  background: var(--color-white);
  font-family: 'Tajawal', 'Poppins', sans-serif;
}

::selection {
  background: var(--color-yellow);
  color: var(--color-white);
}

::-moz-selection {
  background: var(--color-yellow);
  color: var(--color-white);
}

@media (max-width: 991px) {

  html,
  body {
    overflow-x: hidden;
  }

  .mobile-top-fix {
    margin-top: 30px;
    margin-bottom: 0px;
  }

  .mobile-bottom-fix {
    margin-bottom: 30px;
  }

  .mobile-bottom-fix-big {
    margin-bottom: 60px;
  }
}

.main-button-red a {
  font-size: 13px;
  color: var(--color-white);
  background-color: var(--color-accent);
  padding: 12px 30px;
  display: inline-block;
  border-radius: 22px;
  font-weight: 500;
  text-transform: uppercase;
  transition: all .3s;
}

.main-button-red a:hover {
  opacity: 0.9;
}

.main-button-yellow a {
  font-size: 13px;
  color: var(--color-white);
  background-color: var(--color-yellow);
  padding: 12px 30px;
  display: inline-block;
  border-radius: 22px;
  font-weight: 500;
  text-transform: uppercase;
  transition: all .3s;
}

.main-button-yellow a:hover {
  opacity: 0.9;
}

.section-heading h2 {
  line-height: 40px;
  margin-top: 0px;
  margin-bottom: 50px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--bg-overlay-light);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-white);
}


/* 
---------------------------------------------
header
--------------------------------------------- 
*/

.sub-header {
  background-color: var(--text-primary);
  position: relative;
  z-index: 1111;
}

.sub-header .left-content p {
  color: var(--color-white);
  padding: 8px 0px;
  font-size: 13px;
}

.sub-header .right-icons {
  text-align: right;
  padding: 8px 0px;
}

.sub-header .right-icons ul li {
  display: inline-block;
  margin-left: 15px;
}

.sub-header .right-icons ul li a {
  color: var(--color-white);
  font-size: 14px;
  transition: all .3s;
}

.sub-header .right-icons ul li a:hover {
  color: var(--color-yellow);
}

.sub-header .left-content p em {
  font-style: normal;
  color: var(--color-yellow);
}

.background-header {
  background-color: var(--color-white) !important;
  height: 80px !important;
  position: fixed !important;
  top: 0 !important;
  left: 0;
  right: 0;
  box-shadow: 0px 0px 10px var(--shadow-dark) !important;
}

.background-header .main-nav .nav li a {
  color: var(--bg-darker) !important;
}

.background-header .logo,
.background-header .main-nav .nav li a {
  color: var(--bg-darker) !important;
}

.background-header .main-nav .nav li:hover a {
  color: var(--color-red) !important;
}

.background-header .nav li a.active {
  color: var(--color-red) !important;
}

.header-area {
  background-color: var(--bg-overlay-light);
  position: absolute;
  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 {
  min-height: 80px;
  background: transparent;
}

.header-area .main-nav .logo {
  line-height: 100px;
  color: var(--color-white);
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  float: left;
  -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;
}

.background-header .main-nav .logo {
  line-height: 75px;
}

.background-header .nav {
  margin-top: 20px !important;
}

.header-area .main-nav .nav {
  float: right;
  margin-top: 30px;
  margin-right: 0px;
  background-color: transparent;
  -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 {
  padding-left: 15px;
  padding-right: 15px;
}

.header-area .main-nav .nav li:last-child {
  padding-right: 0px;
}

.header-area .main-nav .nav li a {
  display: block;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  color: var(--color-white);
  -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;
  height: 40px;
  line-height: 40px;
  border: transparent;
  letter-spacing: 1px;
}

.header-area .main-nav .nav li:hover a,
.header-area .main-nav .nav li a.active {
  color: var(--color-yellow) !important;
}

.background-header .main-nav .nav li:hover a,
.background-header .main-nav .nav li a.active {
  color: var(--color-yellow) !important;
  opacity: 1;
}

.header-area .main-nav .nav li.has-sub {
  position: relative;
  padding-right: 15px;
}

.header-area .main-nav .nav li.has-sub:after {
  font-family: FontAwesome;
  content: "\f107";
  font-size: 12px;
  color: var(--color-white);
  position: absolute;
  right: 5px;
  top: 12px;
}

.background-header .main-nav .nav li.has-sub:after {
  color: var(--bg-darker);
}

.header-area .main-nav .nav li.has-sub ul.sub-menu {
  position: absolute;
  width: 200px;
  box-shadow: 0 2px 28px 0 var(--shadow-light);
  overflow: hidden;
  top: 40px;
  opacity: 0;
  transition: all .3s;
  transform: translateY(+2em);
  visibility: hidden;
  z-index: -1;
}

.header-area .main-nav .nav li.has-sub ul.sub-menu li {
  margin-left: 0px;
  padding-left: 0px;
  padding-right: 0px;
}

.header-area .main-nav .nav li.has-sub ul.sub-menu li a {
  opacity: 1;
  display: block;
  background: var(--bg-light);
  color: var(--text-secondary) !important;
  padding-left: 20px;
  height: 40px;
  line-height: 40px;
  -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;
  font-size: 13px;
  font-weight: 400;
  border-bottom: 1px solid var(--border-light);
}

.header-area .main-nav .nav li.has-sub ul li a:hover {
  background: var(--color-white);
  color: var(--color-yellow) !important;
  padding-left: 25px;
}

.header-area .main-nav .nav li.has-sub ul li a:hover:before {
  width: 3px;
}

.header-area .main-nav .nav li.has-sub:hover ul.sub-menu {
  visibility: visible;
  opacity: 1;
  z-index: 1;
  transform: translateY(0%);
  transition-delay: 0s, 0s, 0.3s;
}

.header-area .main-nav .menu-trigger {
  cursor: pointer;
  display: block;
  position: absolute;
  top: 33px;
  width: 32px;
  height: 40px;
  text-indent: -9999em;
  z-index: 99;
  right: 40px;
  display: none;
}

.background-header .main-nav .menu-trigger {
  top: 23px;
}

.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: var(--bg-darker);
  display: block;
  position: absolute;
  width: 30px;
  height: 2px;
  left: 0;
}

.background-header .main-nav .menu-trigger span,
.background-header .main-nav .menu-trigger span:before,
.background-header .main-nav .menu-trigger span:after {
  background-color: var(--bg-darker);
}

.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: var(--bg-darker);
  display: block;
  position: absolute;
  width: 30px;
  height: 2px;
  left: 0;
  width: 75%;
}

.background-header .main-nav .menu-trigger span:before,
.background-header .main-nav .menu-trigger span:after {
  background-color: var(--bg-darker);
}

.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: var(--bg-darker);
}

.background-header .main-nav .menu-trigger.active span:before {
  background-color: var(--bg-darker);
}

.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: var(--bg-darker);
}

.background-header .main-nav .menu-trigger.active span:after {
  background-color: var(--bg-darker);
}

.header-area.header-sticky {
  min-height: 80px;
}

.header-area .nav {
  margin-top: 30px;
}

.header-area.header-sticky .nav li a.active {
  color: var(--color-yellow);
}

@media (max-width: 1200px) {
  .header-area .main-nav .nav li {
    padding-left: 7px;
    padding-right: 7px;
  }

  .header-area .main-nav:before {
    display: none;
  }
}

@media (max-width: 767px) {
  .header-area .main-nav .logo {
    color: var(--bg-darker);
    font-size: x-large;
  }

  .header-area.header-sticky .nav li a:hover,
  .header-area.header-sticky .nav li a.active {
    color: var(--color-yellow) !important;
    opacity: 1;
  }

  .header-area.header-sticky .nav li.search-icon a {
    width: 100%;
  }

  .header-area {
    background-color: var(--bg-light);
    padding: 0px 15px;
    height: 100px;
    box-shadow: none;
    text-align: center;
  }

  .header-area .container {
    padding: 0px;
  }

  .header-area .logo {
    margin-left: 30px;
  }

  .header-area .menu-trigger {
    display: block !important;
  }

  .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;
  }

  .header-area .main-nav .nav li:first-child {
    border-top: 1px solid var(--border-light);
  }

  /* .header-area.header-sticky .nav {
    margin-top: 100px !important;
  } */

  .header-area .main-nav .nav li {
    width: 100%;
    background: var(--color-white);
    border-bottom: 1px solid var(--border-light);
    padding-left: 0px !important;
    padding-right: 0px !important;
  }

  .header-area .main-nav .nav li a {
    height: 50px !important;
    line-height: 50px !important;
    padding: 0px !important;
    border: none !important;
    background: var(--bg-light) !important;
    color: #191a20 !important;
  }

  .header-area .main-nav .nav li a:hover {
    background: var(--border-light) !important;
    color: var(--color-yellow) !important;
  }

  .header-area .main-nav .nav li.has-sub ul.sub-menu {
    position: relative;
    visibility: inherit;
    opacity: 1;
    z-index: 1;
    transform: translateY(0%);
    top: 0px;
    width: 100%;
    box-shadow: none;
    height: 0px;
    transition: all 0s;
  }

  .header-area .main-nav .nav li.submenu ul li a {
    font-size: 12px;
    font-weight: 400;
  }

  .header-area .main-nav .nav li.submenu ul li a:hover:before {
    width: 0px;
  }

  .header-area .main-nav .nav li.has-sub ul.sub-menu {
    height: auto;
  }

  .header-area .main-nav .nav li.has-sub:after {
    color: #3B566E;
    right: 30px;
    font-size: 14px;
    top: 15px;
    padding: 0 10px;
  }

  .header-area .main-nav .nav li.submenu:hover ul,
  .header-area .main-nav .nav li.submenu:focus ul {
    height: 0px;
  }
}

@media (min-width: 767px) {
  .header-area .main-nav .nav {
    display: flex !important;
  }
}


/* 
---------------------------------------------
banner
--------------------------------------------- 
*/

.main-banner {
  position: relative;
  max-height: 100%;
  overflow: hidden;
  margin-bottom: -7px;
}

#bg-video {
  min-width: 100%;
  min-height: 100vh;
  max-width: 100%;
  max-height: 100vh;
  object-fit: cover;
  z-index: -1;
}

#bg-video::-webkit-media-controls {
  display: none !important;
}

.video-overlay {
  position: absolute;
  background-color: var(--bg-overlay-black);
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
}

.main-banner .caption {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.main-banner .caption h6 {
  margin-top: 0px;
  font-size: 15px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: 1px;
}

.main-banner .caption h1,
.main-banner .caption h2 {
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 36px;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: 1px;
}

.main-banner .caption h2 em {
  font-style: normal;
  color: var(--color-yellow);
  font-weight: 900;
}

.main-banner .caption p {
  color: var(--color-white);
  font-size: 14px;
  max-width: 580px;
}

.main-banner .caption .main-button-red {
  margin-top: 30px;
}

@media screen and (max-width: 767px) {

  .main-banner .caption h6 {
    font-weight: 500;
  }

  .main-banner .caption h1,
  .main-banner .caption h2 {
    font-size: 36px;
  }

}


/*
---------------------------------------------
services
---------------------------------------------
*/

section.services {
  /* background-image: url(../images/meetings-bg.jpg) !important;
  background-position: center center;
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat; */
}

.services {
  margin-top: -135px;
  position: absolute;
  width: 100%;
}

.services .item {
  /* background-image: url(../images/service-item-bg.jpg); */
  background-color: var(--color-accent);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  border-radius: 20px;
  text-align: center;
  color: var(--color-white);
  padding: 40px;
}

.services .item .icon {
  max-width: 60px;
  margin: 0 auto;
}

.services .item h4 {
  margin-top: 25px;
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 600;
}

.services .item p {
  color: var(--color-white);
  font-size: 13px;
}

.services .owl-nav {
  display: inline-block !important;
  text-align: center;
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-25px);
}

.services .owl-nav .owl-prev {
  margin-right: 10px;
  outline: none;
  position: absolute;
  left: -80px;
}

.services .owl-nav .owl-prev span,
.services .owl-nav .owl-next span {
  opacity: 0;
}

.services .owl-nav .owl-prev:before {
  display: inline-block;
  font-family: 'FontAwesome';
  color: var(--bg-darker);
  font-size: 25px;
  font-weight: 700;
  content: '\f104';
  background-color: var(--color-white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  line-height: 50px;
}

.services .owl-nav .owl-prev {
  opacity: 1;
  transition: all .5s;
}

.services .owl-nav .owl-prev:hover {
  opacity: 0.9;
}

.services .owl-nav .owl-next {
  opacity: 1;
  transition: all .5s;
}

.services .owl-nav .owl-next:hover {
  opacity: 0.9;
}

.services .owl-nav .owl-next {
  margin-left: 10px;
  outline: none;
  position: absolute;
  right: -85px;
}

.services .owl-nav .owl-next:before {
  display: inline-block;
  font-family: 'FontAwesome';
  color: var(--bg-darker);
  font-size: 25px;
  font-weight: 700;
  content: '\f105';
  background-color: var(--color-white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  line-height: 50px;
}


/*
---------------------------------------------
upcoming meetings
---------------------------------------------
*/

section.upcoming-meetings {
  background-image: url(../images/meetings-bg.webp);
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 230px;
  padding-bottom: 110px;
}

section.upcoming-meetings .section-heading {
  text-align: center;
}

section.upcoming-meetings .categories {
  background-color: var(--color-white);
  border-radius: 20px;
  padding: 40px;
  margin-right: 45px;
}

section.upcoming-meetings .categories h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

section.upcoming-meetings .categories ul li {
  display: inline-block;
  margin-bottom: 15px;
}

section.upcoming-meetings .categories ul li a {
  font-size: 15px;
  color: var(--text-primary);
  font-weight: 500;
  transition: all .3s;
}

section.upcoming-meetings .categories ul li a:hover {
  color: var(--color-accent-hover);
}

section.upcoming-meetings .categories .main-button-red {
  border-top: 1px solid var(--border-light);
  padding-top: 30px;
  margin-top: 15px;
}

section.upcoming-meetings .categories .main-button-red a {
  width: 100%;
  text-align: center;
}

.meeting-item {
  margin-bottom: 30px;
}

.meeting-item .thumb {
  position: relative;
}

.meeting-item .thumb img {
  border-top-right-radius: 20px;
  border-top-left-radius: 20px;
}

.meeting-item .thumb .price {
  position: absolute;
  left: 20px;
  top: 20px;
}

.meeting-item .thumb .price span {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 600;
  background-color: var(--bg-overlay-medium);
  padding: 7px 12px;
  border-radius: 10px;
}

.meeting-item .down-content {
  background-color: var(--color-white);
  padding: 30px;
  border-bottom-right-radius: 20px;
  border-bottom-left-radius: 20px;
}

.meeting-item .down-content .date {
  float: left;
  text-align: center;
  display: inline-block;
  margin-right: 20px;
}

.meeting-item .down-content .date h6 {
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-accent-hover);
}

.meeting-item .down-content .date span {
  display: block;
  color: var(--text-primary);
  font-size: 22px;
  margin-top: 7px;
}

.meeting-item .down-content h4 {
  font-size: 18px;
  color: var(--text-primary);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 15px;
}

.meeting-item .down-content p {
  margin-left: 50px;
  color: var(--text-primary);
  font-size: 14px;
}



/*
---------------------------------------------
apply now
---------------------------------------------
*/

section.apply-now {
  background-image: url(../images/apply-bg.webp);
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 140px 0px;
}

section.apply-now .item {
  background-color: var(--bg-overlay-light);
  padding: 40px;
  margin-bottom: 30px;
}

section.apply-now .item h3 {
  color: var(--color-white);
  text-transform: uppercase;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
}

section.apply-now .item p {
  color: var(--color-white);
  margin-bottom: 20px;
}

.accordions {
  border-radius: 20px;
  padding: 40px;
  background-color: var(--color-white);
  margin-left: 45px;
}

.accordions .accordion {
  border-bottom: 1px solid var(--border-light);
}

.accordions .last-accordion {
  border-bottom: none;
}

.accordion-head {
  padding: 20px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  transition: color 200ms ease-in-out;
  border-bottom: 1px solid var(--color-white);
}

@media screen and (min-width: 768px) {
  .accordion-head {
    padding: 1rem;
    font-size: 1.2rem;
  }
}

.accordion-head .icon {
  float: right;
  transition: transform 200ms ease-in-out;
}

.accordion-head.is-open {
  color: var(--color-yellow);
  border-bottom: none;
}

.accordion-head.is-open .icon {
  transform: rotate(45deg);
}

.accordion-body {
  overflow: hidden;
  height: 0;
  transition: height 300ms ease-in-out;
  border-bottom: 1px solid var(--color-white);
}

.accordion-body>.content {
  padding: 20px;
  padding-top: 0;
}


/* 
---------------------------------------------
courses
--------------------------------------------- 
*/

section.our-courses {
  background-image: url(../images/meetings-bg.webp);
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 140px;
  padding-bottom: 130px;
}

.our-courses .item .down-content {
  background-color: var(--color-white);
}

.our-courses .item .down-content h4 {
  padding: 25px;
  font-size: 18px;
  color: var(--text-primary);
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}

.our-courses .item .down-content .info {
  padding: 25px;
}

.our-courses .item .down-content .info ul li {
  display: inline-block;
  margin-right: 1px;
}

.our-courses .item .down-content .info ul li i {
  color: var(--color-yellow);
  font-size: 14px;
}

.our-courses .item .down-content .info span {
  color: var(--color-accent-hover);
  font-size: 15px;
  font-weight: 600;
  text-align: right;
  display: inline-block;
  width: 100%;
}

.our-courses .owl-nav {
  text-align: center;
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-45px);
}

.our-courses .owl-dots {
  display: inline-block;
  text-align: center;
  width: 100%;
  margin-top: 40px;
}

.our-courses .owl-dots .owl-dot {
  transition: all .5s;
  width: 7px;
  height: 7px;
  background-color: var(--color-white);
  margin: 0px 5px;
  border-radius: 50%;
  outline: none;
}

.our-courses .owl-dots .active {
  width: 24px;
  height: 8px;
  border-radius: 4px;
}

.our-courses .owl-nav .owl-prev {
  margin-right: 10px;
  outline: none;
  position: absolute;
  left: -80px;
}

.our-courses .owl-nav .owl-prev span,
.our-courses .owl-nav .owl-next span {
  opacity: 0;
}

.our-courses .owl-nav .owl-prev:before {
  display: inline-block;
  font-family: 'FontAwesome';
  color: var(--bg-darker);
  font-size: 25px;
  font-weight: 700;
  content: '\f104';
  background-color: var(--color-white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  line-height: 50px;
}

.our-courses .owl-nav .owl-prev {
  opacity: 1;
  transition: all .5s;
}

.our-courses .owl-nav .owl-prev:hover {
  opacity: 0.9;
}

.our-courses .owl-nav .owl-next {
  opacity: 1;
  transition: all .5s;
}

.our-courses .owl-nav .owl-next:hover {
  opacity: 0.9;
}

.our-courses .owl-nav .owl-next {
  margin-left: 10px;
  outline: none;
  position: absolute;
  right: -85px;
}

.our-courses .owl-nav .owl-next:before {
  display: inline-block;
  font-family: 'FontAwesome';
  color: var(--bg-darker);
  font-size: 25px;
  font-weight: 700;
  content: '\f105';
  background-color: var(--color-white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  line-height: 50px;
}


/*
---------------------------------------------
our facts
---------------------------------------------
*/

section.our-facts {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../images/StatisticsBg.webp);
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 140px 0px 125px 0px;
}

section.our-facts h2 {
  font-size: 38px;
  color: var(--color-white);
  line-height: 50px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 50px;
}

.count-area-content {
  text-align: center;
  background-color: var(--bg-overlay-light);
  border-radius: 20px;
  padding: 25px 30px 35px 30px;
  margin: 15px 0px;
}

.percentage .count-digit:after {
  content: '%';
  margin-left: 3px;
}

.count-digit {
  margin: 5px 0px;
  color: var(--color-yellow);
  font-weight: 700;
  font-size: 36px;
}

.count-title {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-white);
  letter-spacing: 0.5px;
}

.new-students {
  margin-top: 45px;
}

section.our-facts .video {
  text-align: center;
  margin-left: 70px;
  background-image: url(../images/Statistics.webp);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  border-radius: 20px;
}

section.our-facts .video img {
  padding: 170px 0px;
  max-width: 56px;
}


/* 
---------------------------------------------
contact us
--------------------------------------------- 
*/

section.contact-us {
  background-image: url(../images/meetings-bg.webp);
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 140px 0px 140px 0px;
}

section.contact-us #contact {
  background-color: var(--color-white);
  border-radius: 20px;
  padding: 40px;
}

section.contact-us #contact h2 {
  text-transform: uppercase;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 40px;
  padding-bottom: 20px;
  font-size: 22px;
  font-weight: 700;
}

section.contact-us #contact input {
  width: 100%;
  height: 40px;
  border-radius: 20px;
  background-color: var(--bg-light);
  outline: none;
  border: none;
  box-shadow: none;
  font-size: 13px;
  font-weight: 500;
  /* color: var(--text-placeholder); */
  padding: 0px 15px;
  margin-bottom: 30px;
}

section.contact-us #contact select {
  width: 100%;
  height: 40px;
  border-radius: 20px;
  background-color: var(--bg-light);
  outline: none;
  border: none;
  box-shadow: none;
  font-size: 13px;
  font-weight: 500;
  color: rgb(118, 118, 118);
  /* padding: 0px 15px; */
  margin-bottom: 30px;
}

/* تنسيق الخيارات */
section.contact-us #contact select option {
  background-color: white;
  color: rgb(118, 118, 118);
  padding: 10px;
}


section.contact-us #contact textarea {
  width: 100%;
  min-height: 140px;
  max-height: 180px;
  border-radius: 20px;
  background-color: var(--bg-light);
  outline: none;
  border: none;
  box-shadow: none;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-placeholder);
  padding: 15px;
  margin-bottom: 30px;
}

section.contact-us #contact button {
  font-size: 13px;
  color: var(--color-white);
  background-color: var(--color-accent);
  padding: 12px 30px;
  display: inline-block;
  border-radius: 22px;
  font-weight: 500;
  text-transform: uppercase;
  transition: all .3s;
  border: none;
  outline: none;
}

section.contact-us #contact button:hover {
  opacity: 0.9;
}

section.contact-us .right-info {
  background-color: var(--color-accent);
  border-radius: 20px;
  padding: 40px;
}

section.contact-us .right-info ul li {
  display: block;
  border-bottom: 1px solid var(--bg-overlay-light);
  margin-bottom: 30px;
  padding-bottom: 30px;
}

section.contact-us .right-info ul li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

section.contact-us .right-info ul li h6 {
  color: var(--color-white);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
}

section.contact-us .right-info ul li span {
  display: block;
  font-size: 18px;
  color: var(--color-white);
  font-weight: 700;
}

.footer {
  text-align: center;
  border-top: 1px solid var(--bg-overlay-light);
  padding: 50px 0px;
  background-image: url(../images/meetings-page-bg.webp);
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
}

.footer p {
  text-transform: uppercase;
  font-size: 14px;
  color: var(--color-white);
}

.footer p a {
  color: var(--color-yellow);
}

@media screen and (max-width: 768px) {
  .footer p {
    padding: 0 20px;
  }
}

/*
---------------------------------------------
heading page
---------------------------------------------
*/

section.heading-page {
  /* background-image: url(../images/heading-bg.jpg); */
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../images/heading-bg.webp);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 230px;
  padding-bottom: 110px;
  text-align: center;
}

section.heading-page h6 {
  margin-top: 0px;
  font-size: 15px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: 1px;
}

section.heading-page h2 {
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 36px;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: 1px;
}

/* Responsive tweaks for heading-page on mobile */
@media (max-width: 768px) {
  section.heading-page {
    padding-bottom: 50px;
    background-size: auto;
    background-size: inherit;
  }

  section.heading-page h6 {
    font-size: 13px;
    letter-spacing: 0.5px;
  }

  section.heading-page h2 {
    font-size: clamp(20px, 6vw, 28px);
    line-height: 1.3;
    margin-top: 12px;
    margin-bottom: 12px;
  }

}

/*
---------------------------------------------
upcoming meetings page
---------------------------------------------
*/

section.meetings-page {
  background-image: url(../images/meetings-page-bg.webp);
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 140px;
  padding-bottom: 0px;
}

section.meetings-page .filters {
  text-align: center;
  margin-bottom: 60px;
}

section.meetings-page .filters li {
  font-size: 13px;
  color: var(--color-accent-hover);
  background-color: var(--color-white);
  padding: 11px 30px;
  display: inline-block;
  border-radius: 22px;
  font-weight: 600;
  text-transform: uppercase;
  transition: all .3s;
  cursor: pointer;
  margin: 0px 3px;
}

section.meetings-page .filters ul li.active,
section.meetings-page .filters ul li:hover {
  background-color: var(--color-accent-hover);
  color: var(--color-white);
}

section.meetings-page .pagination {
  text-align: center;
  width: 100%;
  margin-top: 30px;
  display: inline-block;
}

section.meetings-page .pagination ul li {
  display: inline-block;
}

section.meetings-page .pagination ul li a {
  width: 40px;
  height: 40px;
  background-color: var(--color-white);
  border-radius: 10px;
  color: var(--text-primary);
  display: inline-block;
  text-align: center;
  line-height: 40px;
  font-weight: 600;
  font-size: 15px;
  transition: all .3s;
}

section.meetings-page .main-button-red {
  text-align: center;
}

section.meetings-page .main-button-red a {
  padding: 12px 60px;
  text-align: center;
  margin-top: 30px;
}

section.meetings-page .pagination ul li.active a,
section.meetings-page .pagination ul li a:hover {
  background-color: var(--color-accent-hover);
  color: var(--color-white);
}

.meeting-single-item .thumb {
  position: relative;
}

.meeting-single-item .thumb img {
  border-top-right-radius: 20px;
  border-top-left-radius: 20px;
}

.meeting-single-item .thumb .price {
  position: absolute;
  left: 20px;
  top: 20px;
}

.meeting-single-item .thumb .price span {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 600;
  background-color: var(--bg-overlay-medium);
  padding: 7px 12px;
  border-radius: 10px;
}

.meeting-single-item .down-content {
  background-color: var(--color-white);
  padding: 40px;
  border-bottom-right-radius: 20px;
  border-bottom-left-radius: 20px;
}

.meeting-single-item .thumb .date {
  position: absolute;
  background-color: var(--bg-overlay-medium);
  width: 80px;
  height: 80px;
  text-align: center;
  padding: 15px 0px;
  border-radius: 10px;
  right: 20px;
  top: 20px;
}

.meeting-single-item .thumb .date h6 {
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-accent-hover);
}

.meeting-single-item .thumb .date span {
  display: block;
  color: var(--text-primary);
  font-size: 22px;
  margin-top: 7px;
}

.meeting-single-item .down-content h4 {
  font-size: 22px;
  color: var(--text-primary);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 15px;
}

.meeting-single-item .down-content h5 {
  font-size: 18px;
  color: var(--text-primary);
  font-weight: 700;
  display: inline-block;
  margin-bottom: 15px;
}

.meeting-single-item .down-content p {
  color: var(--text-primary);
  font-size: 14px;
}

.meeting-single-item .down-content p.description {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border-light);
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-light);
}

.meeting-single-item .down-content .share {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border-light);
}

.meeting-single-item .down-content .share h5 {
  float: left;
  margin-right: 10px;
  margin-bottom: 0px;
}

.meeting-single-item .down-content .share ul li {
  display: inline;
}

.meeting-single-item .down-content .share ul li a {
  font-size: 14px;
  color: var(--text-primary);
  transition: all .3s;
}

.meeting-single-item .down-content .share ul li a:hover {
  color: var(--color-yellow);
}

/* Meeting item column */
.templatemo-item-col {
  width: 31%;
}

@media (max-width: 992px) {
  .templatemo-item-col {
    width: 45%;
  }
}

@media (max-width: 767px) {
  .templatemo-item-col {
    width: 100%;
  }
}

/* 
---------------------------------------------
responsive
--------------------------------------------- 
*/

@media (max-width: 1300px) {
  .services .owl-nav .owl-next {
    right: -30px;
  }

  .services .owl-nav .owl-prev {
    left: -25px;
  }

  .our-courses .owl-nav .owl-next {
    right: -30px;
  }

  .our-courses .owl-nav .owl-prev {
    left: -25px;
  }
}

@media (max-width: 1200px) {
  .services .owl-nav .owl-next {
    right: -70px;
  }

  .services .owl-nav .owl-prev {
    left: -65px;
  }

  .our-courses .owl-nav .owl-next {
    right: -70px;
  }

  .our-courses .owl-nav .owl-prev {
    left: -65px;
  }
}

@media (max-width: 1085px) {
  .services .owl-nav .owl-next {
    right: -30px;
  }

  .services .owl-nav .owl-prev {
    left: -25px;
  }

  .our-courses .owl-nav .owl-next {
    right: -30px;
  }

  .our-courses .owl-nav .owl-prev {
    left: -25px;
  }
}

@media (max-width: 1005px) {
  .services .owl-nav .owl-next {
    display: none;
  }

  .services .owl-nav .owl-prev {
    display: none;
  }

  .our-courses .owl-nav .owl-next {
    display: none;
  }

  .our-courses .owl-nav .owl-prev {
    display: none;
  }
}

@media (max-width: 992px) {

  .main-banner .caption {
    top: 60%;
  }

  .main-banner .caption h2 {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 22px;
  }

  .main-banner .caption .main-button-red {
    margin-top: 15px;
  }

  .services {
    margin-top: 60px;
  }

  section.upcoming-meetings {
    padding-top: 400px;
  }

  section.upcoming-meetings .categories {
    margin-right: 0px;
    margin-bottom: 30px;
  }

  .accordions {
    margin-left: 0px;
  }

  .new-students {
    margin-top: 15px;
  }

  section.our-facts .video {
    margin-left: 0px;
    margin-top: 15px;
  }

  section.contact-us #contact {
    margin-bottom: 30px;
  }

}

@media (max-width: 767px) {

  /* --- Header & Nav Preservation --- */
  .sub-header .left-content p {
    display: none;
  }

  .sub-header .right-icons {
    text-align: center;
  }

  .main-nav .nav .sub-menu {
    display: none;
  }

  .header-area .main-nav .nav li ul.sub-menu li a {
    color: var(--text-primary);
    padding: 0 20px !important;
  }

  /* =========================================
     HOME PAGE MOBILE IMPROVEMENTS 
     ========================================= */

  /* --- Main Banner Fixes --- */
  .main-banner {
    position: relative;
    height: auto !important;
    min-height: 100vh;
    padding: 0;
    overflow: hidden;
  }

  .main-banner video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
  }

  .main-banner .video-overlay {
    background: rgba(31, 39, 43, 0.75);
    /* Darker overlay for readability */
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px 0;
  }

  .main-banner .caption {
    position: relative !important;
    top: auto !important;
    /* Reset absolute positioning */
    transform: none !important;
    width: 100%;
    text-align: center;
    padding: 0 20px;
  }

  .main-banner .caption h2 {
    font-size: 28px !important;
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.4;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  }

  .main-banner .caption p {
    font-size: 16px;
    margin-bottom: 30px;
    padding: 0 10px;
  }

  .main-banner .main-button-red {
    margin-top: 20px;
  }

  /* --- Services Section (Departments) --- */
  .services {
    position: relative;
    margin-top: 0 !important;
    /* CRITICAL: Remove negative margin that causes overlap */
    padding-top: 60px;
    padding-bottom: 40px;
    background-color: #f4f7f6;
    /* Fallback bg */
    z-index: 2;
  }

  .services .owl-service-item .item {
    margin: 15px 5px;
    padding: 40px 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* background: #ffffff; */
  }

  /* --- Upcoming Meetings (News) --- */
  section.upcoming-meetings {
    padding-top: 50px !important;
    padding-bottom: 40px;
    background-color: #ffffff;
  }

  .section-heading {
    text-align: center;
    margin-bottom: 40px;
  }

  .section-heading h2 {
    font-size: 24px;
    position: relative;
    display: inline-block;
  }

  /* Categories Grid */
  .categories {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  }

  .categories h4 {
    text-align: center;
    font-size: 20px;
    margin-bottom: 25px;
  }

  .categories-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }

  .category-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    transition: all 0.3s;
  }

  .category-btn i {
    font-size: 24px;
    margin-bottom: 8px;
    color: #a12c2f;
  }

  .category-btn:hover {
    background: #a12c2f;
    color: #fff;
  }

  .category-btn:hover i {
    color: #fff;
  }

  /* News Cards */
  .news-card {
    height: auto !important;
    margin-bottom: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    /* Better shadow */
  }

  .news-card-image {
    height: 200px;
  }

  .news-card-content {
    padding: 20px;
  }

  .news-card-title {
    font-size: 18px;
    line-height: 1.4;
    height: auto;
    margin-bottom: 10px;
  }

  /* --- About Section --- */
  .about {
    padding: 50px 0;
  }

  .about-content {
    text-align: center;
    padding: 0 10px;
  }

  .mission-vision .mission,
  .mission-vision .vision {
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 20px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  }

  /* --- Statistics --- */
  .our-facts {
    padding: 50px 0;
  }

  .our-facts .count-area-content {
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.1);
    /* Frosted */
    backdrop-filter: blur(5px);
  }

  /* --- Contact --- */
  .contact-us {
    padding: 50px 0;
  }

  .contact-us #contact,
  .contact-us .right-info {
    padding: 30px 20px;
    border-radius: 20px;
  }

  /* Global Container Adjustments */
  .container {
    padding-left: 20px;
    padding-right: 20px;
    max-width: 100%;
  }
}




/* ============================================================
     المقررات الدراسية 
     ============================================================ */

:root {
  --primary-teal: #20a985;
  --soft-teal: #f0fdf9;
  --bg-slate: #f1f5f9;
  --text-slate: #334155;
}

/* خلفية القسم */
.courses-section {
  background-color: var(--bg-slate);
  /* نمط خلفية منقط بسيط - مطابق للمحذوفات */
  background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
  background-size: 20px 20px;
  padding: 80px 0;
  min-height: 100vh;
}

/* --- شريط الفلاتر (الحاوية شفافة، اللوحة الداخلية فقط بيضاء) --- */
.filters-bar {
  background: transparent;
  border-radius: 0;
  padding: 0 0 20px 0;
  box-shadow: none;
  margin-bottom: 20px;
  border: 0;
}

/* صندوق أبيض لحقول الفلترة فقط */
.filter-panel {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  padding: 20px 30px;
  margin-bottom: 40px;
  border-top: 4px solid var(--primary-teal);
}

.filters-bar label {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 700;
  margin-bottom: 5px;
  display: block;
  text-transform: uppercase;
}

.clean-input {
  width: 100%;
  border: 1px solid #e2e8f0;
  background-color: #f8fafc;
  border-radius: 8px;
  padding: 10px 15px;
  font-size: 0.95rem;
  color: var(--text-slate);
  transition: all 0.2s;
}

.clean-input:focus {
  background-color: white;
  border-color: var(--primary-teal);
  box-shadow: 0 0 0 3px rgba(32, 169, 133, 0.1);
  outline: none;
}

/* --- بطاقات الكتب (3D Books) --- */
/* تم الحفاظ على تصميم الكتب الأصلي كما هو مطلوب */

:root {
  --book-w: clamp(140px, 18vw, 200px);
  --book-h: calc(var(--book-w) * 1.33);
}

/* Book Wrapper Card - تبسيط البطاقة المحيطة بالكتاب */
.book-item-card {
  background: transparent;
  /* جعل الخلفية شفافة لدمجها مع التصميم النظيف */
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  height: 100%;
  transition: transform 0.3s ease;
}

.book-item-card:hover {
  transform: translateY(-10px);
}

.book-card {
  perspective: 1000px;
  margin-bottom: 20px;
}

.book-3d {
  position: relative;
  width: var(--book-w);
  height: var(--book-h);
  transform-style: preserve-3d;
  margin-inline: auto;
}

.book-pages {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(to left, #fafafa 0 2px, #f2f2f2 2px 4px);
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  box-shadow: inset -6px 0 10px rgba(0, 0, 0, .05), 0 8px 16px rgba(0, 0, 0, .08);
}

.book-cover {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-accent, #20a985), #0d7a72);
  color: #fff;
  border-radius: 6px;
  transform-origin: left center;
  transform: rotateY(0deg) translateZ(1px);
  transition: transform .45s ease, box-shadow .45s ease;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  /* ظل أنعم */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 15px;
}

/* Sheen highlight */
.book-cover::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40%;
  left: -60%;
  transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .25), transparent);
  opacity: 0;
  pointer-events: none;
}

.book-card:hover .book-cover {
  transform: rotateY(-35deg) translateZ(1px);
  box-shadow: 6px 8px 20px rgba(0, 0, 0, 0.2);
}

.book-card:hover .book-cover::after {
  animation: sheen 1s ease forwards;
}

@keyframes sheen {
  to {
    left: 120%;
    opacity: .65;
  }
}

.book-spine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 10px;
  background: linear-gradient(to left, rgba(0, 0, 0, .15), rgba(255, 255, 255, .2));
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}

.book-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  font-size: 10px;
  color: white;
  font-weight: 700;
}

.book-title {
  color: white;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.4;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.book-year {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.75rem;
  margin-top: 5px;
}

/* ألوان الكتب */
.book-cover.blue {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.book-cover.red {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
}

.book-cover.green {
  background: linear-gradient(135deg, #22c55e 0%, #15803d 100%);
}

.book-cover.purple {
  background: linear-gradient(135deg, #a855f7 0%, #7e22ce 100%);
}

.book-cover.orange {
  background: linear-gradient(135deg, #f97316 0%, #c2410c 100%);
}

.book-cover.teal {
  background: linear-gradient(135deg, #14b8a6 0%, #0f766e 100%);
}

.book-cover.yellow {
  background: linear-gradient(135deg, #eab308 0%, #a16207 100%);
}

.book-cover.gray {
  background: linear-gradient(135deg, #64748b 0%, #334155 100%);
}

/* زر التحميل - بدون خلفية بيضاء (الفلاتر فقط بيضاء) */
.download-btn {
  width: 100%;
  max-width: var(--book-w);
  padding: 10px;
  background: transparent;
  /* لا نجعل خلفية بيضاء هنا */
  color: #0f766e;
  border: 1px solid #94a3b8;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: none;
}

.download-btn:hover {
  background: var(--primary-teal);
  border-color: var(--primary-teal);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(32, 169, 133, 0.2);
}

/* الحالة الفارغة */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: #94a3b8;
}

.empty-state i {
  font-size: 60px;
  margin-bottom: 20px;
  opacity: 0.5;
}

/* Pagination - مطابقة للمحذوفات */
.pagination-container {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.pagination-wrapper {
  display: flex;
  gap: 6px;
  list-style: none;
  padding: 0;
}

.pagination-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 600;
  font-size: 0.95rem;
}

.pagination-btn:hover:not(.disabled) {
  border-color: var(--primary-teal);
  color: var(--primary-teal);
}

.pagination-btn.active {
  background: var(--primary-teal);
  color: white;
  border-color: var(--primary-teal);
}

.pagination-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Animations */
@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .filters-bar {
    padding: 20px;
  }
}