/*
Theme Name: Lotex theme
Theme URI: https://lotex-dev.com/
Template: astra
Author: lotex-dev
Author URI: https://lotex-dev.com/
Version: 1.0.0
Text Domain: astra-child
*/
li,h2,h3,h4,h1{
    font-family: cairo !important;
}
[class^="cc-"]{
font-family: cairo !important;
}

.right-triangle {
    position: relative;
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 10% 100%, 0 50%);
    z-index: 2;
}

.right-triangle::before {
    content: '';
    position: absolute;
    inset: -6px;
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 10% 100%, 0 50%);
    background: rgba(0, 0, 0, 0.45);
    z-index: -2;
}

.right-triangle::after {
    content: '';
    position: absolute;
    inset: -2px;
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 10% 100%, 0 50%);
    border: 2px solid #ffffff;
    z-index: -1;
}
.right-triangle {
    overflow: visible;
}
/* ############ */
.fancy-nav {
    width: 100%;
    background: transparent;
}

.fancy-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.fancy-nav-brand {
    flex-shrink: 0;
}

.fancy-nav-logo {
    display: inline-flex;
    align-items: center;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    color: #ffffff;
}

.fancy-nav-menu {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.fancy-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 8px;
}

.fancy-nav-list > li {
    position: relative;
}

.fancy-nav-list > li > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 10px 0;
    text-decoration: none;
    font-size: 18px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    z-index: 0;
}

.fancy-nav-list > li.current-menu-item > a {
    color: #ffffff;
}

.fancy-btn,
.el-fancy-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 10px 0;
    border: none;
    text-decoration: none;
    font-size: 15px;
    cursor: pointer;
    z-index: 0;
    overflow: hidden;
}

.fancy-btn-primary {
    background-color: #001949;
    color: #ffffff;
}

.fancy-btn-ghost {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.fancy-nav-list > li > a::after,
.fancy-btn::after,
.el-fancy-button::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 2px solid currentColor;
    box-sizing: border-box;
    pointer-events: none;
    clip-path: inset(100% 0 0 0);
    transition: clip-path 0.4s ease;
}

.fancy-nav-list > li > a:hover::after,
.fancy-nav-list > li > a:focus-visible::after,
.fancy-nav-list > li > a:active::after,
.fancy-btn:hover::after,
.fancy-btn:focus-visible::after,
.fancy-btn:active::after,
.el-fancy-button:hover::after,
.el-fancy-button:focus-visible::after,
.el-fancy-button:active::after {
    clip-path: inset(0);
}

.fancy-nav-list > li > a:hover,
.fancy-nav-list > li > a:focus-visible,
.fancy-nav-list > li > a:active {
    background-color: #677994;
    color: #ffffff;
}

.fancy-btn-primary:hover,
.fancy-btn-primary:focus-visible,
.fancy-btn-primary:active {
    background-color: #233665;
    color: #ffffff;
}

.fancy-btn-ghost:hover,
.fancy-btn-ghost:focus-visible,
.fancy-btn-ghost:active {
    background-color: rgba(255, 255, 255, 0.1);
}

.fancy-nav-toggle {
    display: none;
    width: 40px;
    height: 32px;
    position: relative;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.fancy-nav-toggle-bar {
    position: absolute;
    left: 4px;
    right: 4px;
    height: 2px;
    background-color: #ffffff;
    transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease, bottom 0.3s ease;
}

.fancy-nav-toggle-bar:nth-child(1) {
    top: 6px;
}

.fancy-nav-toggle-bar:nth-child(2) {
    top: 15px;
}

.fancy-nav-toggle-bar:nth-child(3) {
    bottom: 6px;
}

.fancy-nav.is-open .fancy-nav-toggle-bar:nth-child(1) {
    top: 15px;
    transform: rotate(45deg);
}

.fancy-nav.is-open .fancy-nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.fancy-nav.is-open .fancy-nav-toggle-bar:nth-child(3) {
    bottom: 15px;
    transform: rotate(-45deg);
}

@media (max-width: 768px) {
    .fancy-nav-inner {
        padding: 10px 16px;
    }

    .fancy-nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .fancy-nav-menu {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background-color: #020617;
        display: none;
        padding: 10px 16px 16px;
    }

    .fancy-nav.is-open .fancy-nav-menu {
        display: block;
        width:200px !important;
        font-family: cairo !important;
    }

    .fancy-nav-list {
        flex-direction: column;
        gap: 4px;
    }

    .fancy-nav-list > li > a {
        width: 100%;
        justify-content: flex-start;
    }
}
/* ############ */
.elementor-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    z-index: 0;
}

.elementor-button::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 2px solid currentColor;
    box-sizing: border-box;
    pointer-events: none;
    clip-path: inset(100% 0 0 0);
    transition: clip-path 0.4s ease;
}

.elementor-button:hover::after,
.elementor-button:focus-visible::after,
.elementor-button:active::after {
    clip-path: inset(0);
}
.ashtark {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    z-index: 0;
    border-radius: 10px !important;
    padding:15px 0 !important;
}
.ashtark::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 2px solid currentColor;
    box-sizing: border-box;
    pointer-events: none;
    clip-path: inset(100% 0 0 0);
    transition: clip-path 0.4s ease;
}
.ashtark:hover::after,
.ashtark:focus-visible::after,
.ashtark:active::after {
    clip-path: inset(0);
}
.menu-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    z-index: 0;
}
.menu-toggle::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 2px solid currentColor;
    box-sizing: border-box;
    pointer-events: none;
    clip-path: inset(100% 0 0 0);
    transition: clip-path 0.4s ease;
}
.menu-toggle:hover::after,
.menu-toggle:focus-visible::after,
.menu-toggle:active::after {
    clip-path: inset(0);
}
 .btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    z-index: 0;
}
.btn::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 2px solid currentColor;
    box-sizing: border-box;
    pointer-events: none;
    clip-path: inset(100% 0 0 0);
    transition: clip-path 0.4s ease;
}
.btn:hover::after,
.btn:focus-visible::after,
.btn:active::after {
    clip-path: inset(0);
}

 .tab-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    z-index: 0;
}
.tab-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 2px solid currentColor;
    box-sizing: border-box;
    pointer-events: none;
    clip-path: inset(100% 0 0 0);
    transition: clip-path 0.4s ease;
}
.tab-btn:hover::after,
.tab-btn:focus-visible::after,
.tab-btn:active::after {
    clip-path: inset(0);
}

button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    z-index: 0;
}
button::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 2px solid currentColor;
    box-sizing: border-box;
    pointer-events: none;
    clip-path: inset(100% 0 0 0);
    transition: clip-path 0.4s ease;
}
button:hover::after,
button:focus-visible::after,
button:active::after {
    clip-path: inset(0);
}
	/* ######################### الكورسات */
	.page-slug-course-payment .entry-title{display:none}
.cr-cp-wrap{max-width:700px;margin:40px auto;text-align:center;min-height: 500px;border: 1px solid #505d8a28;border-radius: 20px;padding:30px;}
.cr-cp-title{font-size:32px;font-weight:800;margin-bottom:16px}
.cr-cp-row{margin:8px 0;color:#444;font-size:18px}
.cr-cp-paid{margin-top:18px;font-weight:900;font-size:28px}
.page-slug-course-payment .entry-title{display:none}
.page-slug-payment-placeholder .entry-title{display:none}
.entry-title{display:none !important}
h1.entry-title{display:none !important}
#course-pay{background: #55964a !important;background: linear-gradient(90deg, rgba(85, 150, 74, 1) 0%, rgba(97, 207, 179, 1) 100%) !important;color:#fff !important;border-radius: 15px !important;}
#apply-course-coupon{background: #1f9492 !important;background: linear-gradient(90deg, rgba(31, 148, 146, 1) 0%, rgba(97, 139, 207, 1) 100%) !important;color:#fff !important}
.cur-mount{border: 1px solid #505d8a28; border-radius: 20px; padding:10px 30px;width: 50%;margin: 20px auto;}


/* ###################### user login ############## */
.header-user-menu {
	position: relative;
	display: inline-block;
	font-size: 14px;
}

.header-user-menu .menu-toggle {
	display: flex;
	align-items: center;
	gap: 8px;
	border: 1px solid #ccc;
	border-radius: 6px;
	padding: 5px 10px;
	cursor: pointer;
	background: transparent;
}

.header-user-menu .menu-toggle img {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	object-fit: cover;
	border: 1px solid #ccc;
}

.header-user-menu .menu-toggle .user-name {
	font-weight: 600;
	color: #0077b6;
}

.header-user-menu .menu-toggle .dropdown-arrow {
	font-size: 12px;
	color: #0077b6;
}

.header-user-menu .dropdown-menu {
	position: absolute;
	top: calc(100% + 5px);
	right: 0;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 6px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	display: none;
	min-width: 160px;
	z-index: 999;
}

.header-user-menu .dropdown-menu a {
	display: block;
	padding: 8px 12px;
	text-decoration: none;
	color: #333;
	transition: background 0.2s;
}

.header-user-menu .dropdown-menu a:hover {
	background: #f1f1f1;
}

#menu-1-c19dc89 li{font-family: "Almarai", Sans-serif;}
.header-login-form {
  margin: 10px auto;
  max-width: 100%;
}

.header-login-form input[type="text"],
.header-login-form input[type="password"],
.header-login-form button {
  padding: 10px 12px;
  font-size: 16px;
  border-radius: 6px;
  box-sizing: border-box;
  border: 1px solid #ddd;
}


.header-login-form button {
  background-color: #0073aa;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  border: none;
  transition: background .3s ease;
}
.header-login-form button:hover {
  background-color: #005f8a;
}


@media (min-width: 769px) {
  .header-login-form {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap; 
  }


  .header-login-form input[type="text"],
  .header-login-form input[type="password"] {
    flex: 1 1 200px;  
    max-width: 120px;  
    width: auto !important; 
  }


  .header-login-form button {
    flex: 0 0 auto;
    padding: 10px 20px;
    white-space: nowrap;
    width: auto !important;
  }
}

@media (max-width: 768px) {
  .header-login-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }

  .header-login-form input[type="text"],
  .header-login-form input[type="password"],
  .header-login-form button {
    width: 100% !important;
    flex: none;
    font-size: 15px;
  }
}
.fancy-nav-toggle{background-color: #7897b3;border-radius: 7px;}
.fancy-nav-toggle.button:focus:not(:focus-visible){background-color: #307bbd !important;}
.fancy-nav-toggle.button:focus{background-color: #307bbd !important;}
.fancy-nav-toggle.button:hover{background-color: #307bbd !important;}
.user-name{color:#3f3f3f !important}
/* ########## */
/* ================================
   تصميم عام للفورم
================================ */
.dime-login-form,
.dime-register-form {
    max-width: 420px;
    margin: 30px auto;
    padding: 30px 25px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.08);
    direction: rtl;
    font-family: "Cairo", sans-serif;
}

.dime-login-form input,
.dime-register-form input,
.dime-register-form select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-bottom: 15px;
    font-size: 15px;
    transition: 0.3s;
    background: #fafafa;
}

.dime-login-form input:focus,
.dime-register-form input:focus,
.dime-register-form select:focus {
    border-color: #5272b8;
    box-shadow: 0 0 0 2px rgba(59, 104, 189, 0.2);
    background: #fff;
}

.dime-login-form button,
.dime-register-form button {
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, #4e76c0, #5faece);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.dime-login-form button:hover,
.dime-register-form button:hover {
    filter: brightness(1.1);
}

/* ================================
   رابط تسجيل حساب جديد
================================ */
.login-extra,
.header-login-extra {
    margin-top: 12px;
    text-align: center;
    font-size: 14px;
}

.login-extra a,
.header-login-extra a {
    color: #5461a5 !important;
    text-decoration: none;
    font-weight: 600;
}

.login-extra a:hover,
.header-login-extra a:hover {
    text-decoration: underline;
}

/* ================================
   أزرار إظهار كلمة المرور
================================ */
.pass-toggle-btn {
    position: absolute;
    top: 11px;
    left: 12px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #666;
    font-size: 17px;
}

.pass-wrapper {
    position: relative;
}

/* ================================
   عناوين الخطوات
================================ */
.dime-register-form h3 {
    margin-bottom: 15px;
    text-align: center;
    font-size: 22px;
    color: #333;
}

/* ================================
   رسائل الخطأ و النجاح
================================ */
.dime-register-form .error,
.dime-login-form .error {
    background: #ffe6e6;
    padding: 10px;
    border-right: 4px solid #ff4d4d;
    border-radius: 10px;
    margin-bottom: 15px;
}

.dime-register-form .updated {
    background: #e7ffee;
    padding: 10px;
    border-right: 4px solid #2ecc71;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* ############### login blur ############## */
.blur-login {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); 
  color: #fff;
}
/* ############ reg ############# */
.updated p{
    font-size: 19px !important;
    font-family: cairo !important;
    text-align: center !important;
}

/* ##########صفحة الكورسات####### */
    .cc-title{
        border:1px solid #ddd;
        border-radius: 10px;
        padding:7px 20px;
    }
/* ######### اخر الكورسات ####### */
[class^="hlc-"]{
font-family: cairo !important;
}
[class^="lc-"]{
font-family: cairo !important;
}
[class^="dimeour-"]{
font-family: cairo !important;
}
[class^="dime-"]{
font-family: cairo !important;
}
[class^="edplus-"]{
font-family: cairo !important;
}
[class^="ctc-"]{
font-family: cairo !important;
}

/* ##################### */
.dimeour-experience-content{
    padding:50px !important;
}


.dimeour-experience-section {
    position: relative;
    background-color: #f5f7fb;
    overflow: hidden;
}

.dimeour-experience-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url(https://det-edu.com/wp-content/themes/astra-child/img/bf4-1.png);
    background-position: -353px -155px;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.1;
    pointer-events: none;
    transform: translateY(-100%);
    animation: mybg-reveal 2.5s ease-out forwards;
}

.dimeour-experience-section > * {
    position: relative;
    z-index: 1;
}

@keyframes mybg-reveal {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

                .edplus-testimonials-nav button .edplus-arrow{
	font-size:18px;
	line-height:1;
	color:#111827;
	display:inline-block;
	transform:translateY(1px);
}
/* ###################### */
.elementor-1681 .elementor-element.elementor-element-6e236ba .elementor-nav-menu--main .elementor-item {
    border: 1px solid rgba(255, 255, 255, 0.59);
    border-radius: 10px;
    margin: 5px;
    max-width: 50%;
    text-align: center !important;
}

@media (max-width: 768px) {
.ctc-info {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    gap: 18px;
    margin-top: 18px;
}

}