/* Import Cairo font for Arabic */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200;300;400;500;600;700;800;900&display=swap');

/* Import Roboto font */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap');

/* Apply Cairo font to all Arabic content */
body.rtl,
body[dir="rtl"],
.arabic,
.custom_hero.arabic,
.custom_hero.arabic * {
    font-family: 'Cairo', sans-serif !important;
}

/* Ensure all text elements in Arabic pages use Cairo */
html[lang="ar"] body:has(single-product-sec),
html[lang="ar"] body:has(single-product-sec) * {
    font-family: 'Cairo', sans-serif !important;
}
html[lang="ar"] .course-overview-content ul li, html[lang="ar"] .column-content ul li,html[lang="ar"] .testimonial-text p,html[lang="ar"] .author-name,html[lang="ar"] .author-position ,html[lang="ar"] .stats-title , html[lang="ar"] .lms-heading,html[lang="ar"] .lms-heading{
    font-family: 'Cairo', sans-serif !important;
}
html[lang="ar"] .testimonial-navigation{
    right: auto;
    left: 10px;
}
@media (max-width:1228px) {
    .single-product-detail{
        width: 100% !important;
    }
}
@media (max-width:768px)  {
    html[lang="ar"] .testimonial-navigation{
        left: -40%;
    }
    body.woocommerce .single-product-detail .container{
        padding-left: 0 !important;
        padding-right: 0 !important;

    }
}
html[lang="ar"] .testimonial-navigation button{
    transform: rotate(180deg);
}
html[lang="ar"] .explore-key-topics-content h3{
    font-weight: 400;
}

/* Custom Hero Section */
.custom_hero {
    background: linear-gradient(to right, rgba(11, 32, 69, 0.95), rgba(26, 93, 175, 0.38)), 
                url(https://academy.tharwah.net/wp-content/uploads/2024/11/sustainable_bg.jpg);
    background-size: cover;
    background-position: center;
}
.discount-reviews{
    display: flex;
    gap: 10px;
    align-items: center;
    padding:30px 0;
}
.discount-reviews .reviews{
    margin:0;
    background-color: #404D60;
    padding:5px 10px;
    border-radius: 20px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin:0;
    display: flex;
}
.discount-status{
    width: 10px;
    height: 10px;
    background-color: #00F000;
    border-radius: 50%;
}
.discount-reviews .discount h6{
    padding:5px 10px;
    background-color: #2E8B2E;
    border-radius: 20px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin:0;
    display: flex;
    align-items: center;
    gap: 5px;
}
.custom_hero .custom_hero_content{
    flex-wrap: nowrap !important;
    flex-direction: column;
}
/* Status-based discount colors */
.discount-reviews .discount.status-active h6{
    background-color: #2E8B2E;
}
.discount-reviews .discount.status-active .discount-status{
    background-color: #00F000;
}
.discount-reviews .discount.status-completed h6{
    background-color: #1976D2;
}
.discount-reviews .discount.status-completed .discount-status{
    background-color: #64B5F6;
}
.discount-reviews .discount.status-upcoming h6{
    background-color: #FFA726;
}
.discount-reviews .discount.status-upcoming .discount-status{
    background-color: #FFD54F;
}
.discount-reviews .discount.status-on-hold h6{
    background-color: #757575;
}
.discount-reviews .discount.status-on-hold .discount-status{
    background-color: #BDBDBD;
}
/* Star rating styles */
.star-rating {
    display: inline-flex;
    gap: 5px;
}

/* Arabic/RTL fixes for reviews section */

.custom_hero.arabic .reviews {
    direction: ltr;
    gap: 5px;
}

.custom_hero.arabic .star-rating {
    direction: ltr;
}

.custom_hero.arabic .stars {
    direction: ltr;
    display: inline-flex !important;
}
.custom_hero .category span{
    background: transparent !important;
    color: #A6B9D4 !important;
    font-size: 12px !important;
    margin-top: 0px !important;
    padding: 0;
}
.custom_hero .container p{
    color: #A6B9D4 !important;
    font-size: 20px;
}
.program-summrry-section .container{
    display:flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.program-summrry-section{
    margin-top: 50px;
}
.program-summrry-card {
    display: flex;
flex-direction: row;
align-content: flex-start;
align-items: flex-start;
gap: 10px;
flex: 1;
padding: 10px 10px;
border: 1px solid #94A4BA;
    max-width: 250px;
    border-radius: 8px;
}
.program-summrry-card h6{
   margin: 0;
  font-size: 18px;
  color: #2E3948;
  font-weight: 500;
  line-height: 121%;
  font-family: 'Roboto', sans-serif;
}
.program-summrry-card p{
    color: #717E90;
}
.program-summrry-card div{
    display: flex;
flex-direction: column;
gap: 6px;
}
.program-summrry-card .img {
border-radius: 50% !important;
width: 35px;
height: 35px;
padding: 5px;
background: #EFFAFF;
display: flex;
align-items: center;
justify-content: center;
}
.program-summrry-card .img img{
border-radius: 0 !important;
}
.hero-links-sec{
    margin: 10px 0;
    position: relative;
    padding-bottom: 0;
}
.hero-links-sec::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background-color: #E5E7EB;
    width: 100vw;
    left: 77%;
    transform: translateX(-50%);
}
.hero-links-sec > div{
    display: flex;
    
    
}
.hero-links-sec a{
 font-size: 18px;
    font-weight: 700;
 color: #2E3948;
    padding: 25px;
 line-height: 120%;
 text-transform: uppercase;
 text-decoration: none;
 position: relative;
 transition: all 0.3s ease;
 cursor: pointer;
 pointer-events: auto;
 z-index: 1000;
 font-family: 'Cairo';
}

.hero-links-sec a:hover {
 color: #187FD3;
 background-color: rgba(24, 127, 211, 0.1);
}

.hero-links-sec a:hover::after,
.hero-links-sec a.active::after {
 content: '';
 position: absolute;
 left: 0;
 right: 0;
 bottom: 0;
 height: 2px;
 background-color: #187FD3;
 width: 100%;
}

.hero-links-sec a.active {
 color: #187FD3;
 background-color: rgba(24, 127, 211, 0.1);
}

/* RTL Support for hero-links */
html[dir="rtl"] .hero-links-sec a::after,
html[lang="ar"] .hero-links-sec a::after {
    left: 0;
    right: 0;
}

html[dir="rtl"] .hero-links-sec > div,
html[lang="ar"] .hero-links-sec > div {
    direction: rtl;
}

html[dir="rtl"] .hero-links-sec,
html[lang="ar"] .hero-links-sec {
    text-align: right;
}

  /* Hide hero-links-sec on mobile */
@media (max-width: 768px) {
    .hero-links-sec {
        display: none;
    }
}
.explore-key-topics-sec{
    margin-top: 50px;
}

    .explore-key-topics-sec .container{
    display: flex;
    justify-content: space-between;
    position: relative;
}
.explore-key-topics-content{
    background-color: #ECF5FF;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
	border-radius: 16px 0 0 16px;
    position: relative;
    overflow: hidden;
}

/* Dots styling for explore section */
.explore-dots {
    position: absolute;
bottom: 103px;
right: -64px;
width: 160px;
height: 185px;
background-image: url(https://academy.tharwah.net/wp-content/uploads/2025/07/Clip-path-group-1.svg);
background-repeat: no-repeat;
}

.explore-dots-2 {
    position: absolute;
top: 170px;
left: -82px;
width: 163px;
height: 154px;
background-image: url(https://academy.tharwah.net/wp-content/uploads/2025/07/Clip-path-group-1.svg);
background-repeat: no-repeat;
background-size: contain;
}

.explore-key-topics-video{
    width: 50%;
    position: relative;
    overflow: hidden;
}
.explore-key-topics-content h3{
    font-weight: 300;
    font-style: Light;
    font-size: 22px;
    leading-trim: NONE;
    line-height: 121%;
    letter-spacing: 0.5%;
	    padding: 0 30px;

}
 .explore-key-topics-video video{
    width: 100%;
	         border-radius:0 16px  16px 0;

}
.Certification-Badge-width{
    position: relative;
    height: -webkit-fill-available;
    overflow: hidden;
}
.Certification-Badge-sec{
display: none;
}
    .Certification-Badge-sec .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-image: url("https://academy.tharwah.net/wp-content/uploads/2025/07/Banner-2.svg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
		margin-top:50px;
		  margin-top:50px;
    margin-bottom: 50px;
    border-radius: 16px;
		    padding-top: 30px;
            padding-left: 30px !important;
            padding-right: 30px !important;
}
.Certification-Badge-content,.Certification-Badge-logo{
padding-bottom: 30px;
}
.Certification-Badge-content{
width: 30%;
}


/* Desktop/Mobile visibility classes */
.desktop {
display: block;
}

.mobile {
display: none;
}

/* Show mobile on small screens */
@media (max-width: 768px) {
.desktop {
    display: none !important;
}

.mobile {
    display: block !important;
}

.Certification-Badge-logo.mobile {
    display: flex !important;
}
.custom_hero .container h2{
    font-size: 24px !important;
}
.custom_hero{
    padding-bottom: 4em !important;
}
}

.Certification-Badge-content a{
width: 100%;
height: 43px;
font-weight: 400;
font-style: Regular;
font-size: 16px;
leading-trim: NONE;
line-height: 142%;
letter-spacing: -0.25%;
text-align: center;
color: #CFEEFE;
display: flex;
justify-content: center;
align-items: center;
border: 1px solid #FFFFFF;
margin-top: 14px;
border-radius: 15000px;
}
.Certification-Badge-content h3{
font-weight: 300;
font-style: Light;
font-size: 36px;
leading-trim: NONE;
line-height: 121%;
letter-spacing: 0.5%;
 max-width: 200px;
color: #FFFFFF;
}
html .single-product-sec > .container {
display: flex;
justify-content: space-between;
gap: 50px;
max-width: 1608px !important;
width: 90%;
flex-wrap: wrap;
}
html .custom_hero > .container{
max-width: 1608px !important;
width: 90%;

}
.custom_hero .container h2{
font-size: 36px;
}
.Certification-Badge-width img{
width: 100%;
}
.single-product-detail{
 width: 60%;
}
/* Add responsive styles for program summary section */
@media (max-width: 992px) {
.Certification-Badge-sec .container{
    flex-direction: column;
}
.Certification-Badge-content{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.Certification-Badge-content a{
    max-width: 230px;
}
.Certification-Badge-width img{
    position: relative;
}
.Certification-Badge-content h3{
    text-align: center;
}
.custom_hero .container p{
    display: none;
}
.discount-reviews{
    flex-wrap: wrap;
}
.custom_hero .category span{
    font-size: 10px;
}
.single-product-Enroll-container h2{
    font-size: 22px;
}
.single-product-Enroll-container{
    padding: 20px;
}
.single-product-Enroll-button > button {
    padding: 0 !important;
}
.single-product-Enroll-container p{
    font-size: 14px;
}
.single-product-Enroll-container > h3{
    font-size: 22px;
    align-items: center;
}
.single-product-Enroll-alert{
    font-size: 14px;

}
.single-product-Enroll-button{
    gap: 10px;
    margin-bottom: 16px;
}
.program-summrry-section .container {
    flex-wrap: wrap;
    gap: 15px;
    justify-content: space-between;
}

.program-summrry-card {
    margin-bottom: 10px;
}

.single-product-sec > .container {
    flex-direction: column;
    gap: 30px;
}

.single-product-Enroll-section {
    width: 100%;
    margin-top: 30px;
    position: static;
}

.single-product-Enroll-container {
    position: static;
    width: 100%;
    max-width: 100%;
    min-width: auto;
}

.hero-links-sec > div {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    padding-bottom: 5px;
}

.hero-links-sec > div::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.hero-links-sec a {
    display: inline-block;
    white-space: nowrap;
}

.explore-key-topics-sec .container {
    flex-direction: column;
}

.explore-key-topics-content,
.explore-key-topics-video {
    width: 100%;
}

.explore-key-topics-content {
    border-radius: 16px 16px 0 0;
    padding: 30px 20px;
    text-align: center;
}

.explore-key-topics-video video {
    border-radius: 0 0 16px 16px;
}
}

@media (max-width: 576px) {
.Certification-Badge-sec .container{
    background: url("https://academy.tharwah.net/wp-content/uploads/2025/07/Frame-2085663567-1-1.svg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
    gap: 0px;
    height: 445px;
}
.Certification-Badge-width{
    display: none;
}
.Certification-Badge-content h3{
    width: 100%;
}
.Certification-Badge-logo{
    width: 100%;
    display: flex;
    justify-content: flex-end;
}
.program-summrry-section .container {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
}
.single-product-detail .explore-key-topics-sec .container{
	padding-left:0 !important;
	padding-right:0 !important;
}
.single-product-detail .program-summrry-section .container{
	padding-left:0 !important;
	padding-right:0 !important;
	flex-wrap:no-wrap;
}
.program-summrry-card {
    max-width: 47%;     
}

.hero-links-sec a {
    padding: 15px 10px;
    font-size: 14px;
}

.explore-key-topics-content h3 {
    font-size: 22px;
}
.explore-key-topics-sec .container {
        display: flex;
        flex-direction: column;
    }
   
    .explore-key-topics-content {
        border-radius: 0 0 16px 16px !important;
    }
    .explore-key-topics-video video {
        border-radius: 16px 16px 0 0 !important;
    }
}

@media (max-width: 576px) {
/* SVG sizing for mobile */


/* Specific SVG sizing */
.blue-tag-icon svg, 
.rocket-icon svg, 
.document-icon svg {
    width: 40px;
    height: 40px;
}

}

/* Little Hero Section */
.little-hero{
display: none !important;
}
.hero-links-sec.sticky-hero-links .little-hero{
display: flex !important;
width: 100%;
background: linear-gradient(90deg, #0C264A 41.38%, #83AABF 100%);

}
.little-hero .container{
display: flex;
flex-direction: row;
justify-content: flex-start;
gap: 15px;
padding: 20px 0;
align-items: center;

}
.little-hero .container img{
max-height: 50px;
border-radius: 0 !important;
object-fit: contain;
background: white;
padding: 5px;
}
.little-hero .container h3{
font-weight: 700;
font-style: Bold;
font-size: 24px;
leading-trim: NONE;
line-height: 121%;
letter-spacing: 0.5%;
color: white;
max-width: 500px;
}

/* Sticky state for hero-links-sec */
@media (min-width: 769px) {
.hero-links-sec.sticky-hero-links {
position: fixed;
top: 0;
left: 0;
right: 0;
width: 100vw;
z-index: 999;
background: #fff;
box-shadow: 0 2px 8px rgba(0,0,0,0.05);
margin: 0;
padding-bottom: 0;
animation: stickyFadeIn 0.2s;
}
@keyframes stickyFadeIn {
from { opacity: 0; transform: translateY(-10px); }
to { opacity: 1; transform: translateY(0); }
}
/* Prevent layout shift by reserving space when sticky */
.hero-links-placeholder {
display: none;
width: 100%;
height: 0;
}
.hero-links-sec.sticky-hero-links + .hero-links-placeholder {
display: block;
height: var(--hero-links-height, 0px);
}
}

/* Explore Key Topics Section */
.explore-key-topics-sec{
display: none;
}

/* Course Overview Section */
.course-overview-card {
border: 1px solid #94A4BA;
border-radius: 16px;
padding: 24px;
margin-bottom: 40px;
position: relative;
overflow: hidden;
}

.course-overview-header {
display: flex;
align-items: center;
margin-bottom: 25px;
position: relative;
}

.blue-tag-icon {
color: #3490dc;
font-size: 24px;
margin-right: 10px;
}

.course-overview-title {
font-size: 30px;
font-weight: 700;
color: #2E3948;
margin: 0;
font-family: 'Roboto', sans-serif;
}

.course-overview-content {
margin-bottom: 20px;
}

/* Style for dynamic content */
.course-overview-content ul {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 5px;
padding: 0;
margin: 0;
width: 100%;
list-style: none;
}

.course-overview-content ul li {
line-height: 162%;
font-weight: 400;
position: relative;
padding-left: 25px;
color: #424546;
font-size: 20px;
display: flex;
flex-direction: column;
align-items: flex-start;
font-family: 'Roboto', sans-serif;
}

.course-overview-content ul li svg {
position: absolute;
left: 0;
top: 8px;
}

.course-overview-content .list-item {
position: relative;
padding-left: 25px;
display: flex;
flex-direction: column;
align-items: flex-start;
}

.course-overview-content .list-item svg {
position: absolute;
left: 0;
top: 8px;
}


.overview-signature {
margin-top: 20px;
font-style: italic;
color: #666;
border-top: 1px solid #eee;
padding-top: 20px;
}

/* RTL Support */
html[dir="rtl"] .blue-tag-icon {
margin-right: 0;
margin-left: 10px;
}

html[dir="rtl"] .course-overview-content ul li {
padding-left: 0;
padding-right: 25px;
}

html[dir="rtl"] .course-overview-content ul li svg,
html[dir="rtl"] .column-content ul li svg,
html[dir="rtl"] .column-content p svg {
left: auto;
right: 0;
transform: scaleX(-1);
}


/* Mobile styles */
@media (max-width: 768px) {
.program-summrry-card h6{
    font-size: 16px !important;
}
.course-overview-content ul {
    grid-template-columns: 1fr;
    font-size: 16px;
}
.course-overview-card {
    padding: 16px;
}

.course-overview-title {
    font-size: 26px;
}
 .course-overview-content ul li{
    font-size: 16px;
    margin-bottom: 0px;
}
.course-overview-content ul{
    gap: 0px;
}


.blue-tag-icon {
    width: 40px;
    height: 40px;
}

}

/* Why Take This Course Section */
.why-take-course-card {
border: 1px solid #94A4BA;
border-radius: 16px;
padding: 24px;
margin-bottom: 40px;
margin-top: 40px;
position: relative;
overflow: hidden;
}

.why-take-course-header {
display: flex;
align-items: center;
margin-bottom: 25px;
position: relative;
}

.rocket-icon {
color: #3490dc;
font-size: 24px;
margin-right: 10px;
}

.why-take-course-title {
font-size: 30px;
font-weight: 700;
color: #2E3948;
margin: 0;
line-height: 121%;
font-family: 'Roboto', sans-serif;
}

.why-take-course-content {
display: flex;
justify-content: space-between;
gap: 30px;
}

.why-take-course-column {
flex: 1;
}

.column-title {
font-size: 24px;
font-weight: 600;
color: #2E3948;
margin-top: 0;
margin-bottom: 15px;
line-height: 121%;
}

.column-content {
color: #444;
}

/* Style for dynamic content */
.column-content ul {
padding: 0;
margin: 0;
list-style: none;
}

.column-content ul li {
position: relative;
padding-left: 25px;
margin-bottom: 15px;
color: #424546;
font-size: 20px;
line-height: 162%;
font-weight: 400;
font-family: 'Roboto', sans-serif;
}

.column-content ul li svg {
position: absolute;
left: 0;
top: 8px;
}

.column-content p {
position: relative;
padding-left: 25px;
margin-bottom: 15px;
font-size: 20px;
line-height: 162%;
}

.column-content p svg {
position: absolute;
left: 0;
top: 8px;
}

/* RTL Support */
html[dir="rtl"] .rocket-icon {
margin-right: 0;
margin-left: 10px;
}

html[dir="rtl"] .column-content ul li {
padding-left: 0;
padding-right: 25px;
}

html[dir="rtl"] .column-content p {
padding-left: 0;
padding-right: 25px;
}

html[dir="rtl"] .column-content ul li:before,
html[dir="rtl"] .column-content p:before {
left: auto;
right: 0;
transform: scaleX(-1);
}

/* Mobile styles */
@media (max-width: 768px) {
.why-take-course-content {
    flex-direction: column;
    gap: 25px;
}
.why-take-course-card{
    padding: 16px;
}
.why-take-course-title{
    font-size: 26px;
}
.column-title{
    font-size: 20px;
}
 .column-content ul li{
    font-size: 16px;
}
}

/* Course Outline Section */
.course-outline {
margin-bottom: 40px;
}

.course-outline-card {
border: 1px solid #94A4BA;
border-radius: 16px;
padding: 24px;
overflow: hidden;
}

.course-outline-header {
display: flex;
align-items: center;
margin-bottom: 25px;
position: relative;
}

.document-icon {
color: #3490dc;
margin-right: 10px;
}

.course-outline-title {
font-size: 30px;
font-weight: 700;
color: #2E3948;
margin: 0;
font-family: 'Roboto', sans-serif;
line-height: 121%;
}

.outline-modules {
display: flex;
flex-direction: column;
gap: 12px;
}

.module-item {
border-radius: 8px;
overflow: hidden;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.module-item:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.module-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 15px 20px;
background-color: #FAFBFB;
cursor: pointer;
border-radius: 8px;
transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.module-header:hover {
background-color: #f0f4f8;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.module-title {
font-size: 20px;
font-weight: 400;
color: #2E3948;
line-height: 140%;
font-family: 'Roboto', sans-serif;
}

.module-number {
font-weight: 400;
color: #2E3948;
}

.toggle-btn {

color: #000000;
font-size: 22px;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
transition: transform 0.3s ease;
}

.module-content {
max-height: 0;
overflow: hidden;
padding: 0 20px;
border-top: 1px solid #f0f0f0;
transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
            padding 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
            opacity 0.3s ease;
opacity: 0;
}

.module-item.active .toggle-btn {
transform: rotate(45deg);
}

.module-item.active .module-content {
max-height: 1000px;
padding: 0 20px 15px;
opacity: 1;
}

.module-content ul {
list-style-type: disc;
padding-left: 20px;
margin: 10px 0 0;
}

.module-content li {
margin-bottom: 8px;
font-size: 14px;
color: #666;
}

/* RTL support */
html[dir="rtl"] .document-icon {
margin-right: 0;
margin-left: 10px;
}

html[dir="rtl"] .module-content ul {
padding-left: 0;
padding-right: 20px;
}

@media (max-width: 768px) {
.course-outline-card {
    padding: 20px;
}
.course-outline-title {
    font-size: 26px;
}
.module-title{
    font-size: 16px;
}
.toggle-btn {
    font-size: 25px;
}

}

/* Testimonials Section */
.testimonials {
margin-bottom: 40px;
}

.testimonials-card {
border: 0.5px solid #187FD3;
border-radius: 8px;
background-color: #F0F8FC66;
padding: 25px;
min-height: 320px;
}

.testimonials-slider {
position: relative;
overflow: hidden;
min-height: 260px;
}

.testimonials-slider-container {
position: relative;
height: 100%;
}

.testimonials-header {
display: flex;
align-items: center;
margin-bottom: 25px;
position: relative;
}

.quote-icon {
color: #3490dc;
margin-right: 10px;
}


.testimonials-slide {
position: absolute;
top: 0;
left: 0;
width: 100%;
opacity: 0;
visibility: hidden;
transition: all 0.6s ease-in-out;
transform: translateX(50px);
}

.testimonials-slide.active {
position: relative;
opacity: 1;
visibility: visible;
transform: translateX(0);
}

.testimonials-slide.prev {
transform: translateX(-50px);
}

.testimonial-content {
position: relative;
padding: 0 20px;
min-height: 240px;
display: flex;
flex-direction: column;
justify-content: space-between;
}

.testimonial-text {
position: relative;
margin-bottom: 15px;
}

.testimonial-text {
padding: 0 40px;
}

.quote-start {
position: absolute;
left: 0;
top: 10px;
width: 30px;
height: 24px;
}

.quote-end {
position: absolute;
right: 0;
bottom: -10px;
width: 30px;
height: 24px;
}

.testimonial-text p {
font-weight: 400;
font-size: 20px;
line-height: 170%;
color: #2E3948;
margin-bottom: 0;
font-family: 'Roboto', sans-serif;
}

.testimonial-author {
display: flex;
align-items: center;
margin-top: 10px;
}

.author-avatar {
width: 60px;
height: 60px;
border-radius: 50%;
overflow: hidden;
margin-right: 15px;
background-color: #e6e6e6;
display: flex;
align-items: center;
justify-content: center;
border: 1px solid #ddd;
}

.author-avatar img {
width: 100%;
height: 100%;
object-fit: cover;
}

.default-avatar {
width: 40px;
height: 40px;
color: #555;
}

.author-info {
flex: 1;
}

.author-name {
font-size: 30px;
font-weight: 500;
color: #2E3948;
margin: 0 0 5px;
line-height: 120%;
font-family: 'Roboto', sans-serif;
}

.author-position {
font-size: 18px;
color: #2E3948;
margin: 0;
line-height: 125%;
font-weight: 400;
font-family: 'Roboto', sans-serif;
}

.testimonial-navigation {
position: absolute;
bottom: 40px;
right: 10px;
display: flex;
justify-content: flex-end;
gap: 25px;
margin-top: 15px;
}


.nav-prev, .nav-next {
   
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.3s ease;
}

.nav-prev:hover, .nav-next:hover {
border-color: #3490dc;
background-color: #f5f9ff;
transform: scale(1.1);
}

.nav-prev:active, .nav-next:active {
transform: scale(0.95);
}

/* RTL Support */
html[dir="rtl"] .quote-icon {
margin-right: 0;
margin-left: 10px;
}

html[dir="rtl"] .quote-start {
left: auto;
right: 0;
transform: scaleX(-1);
}

html[dir="rtl"] .quote-end {
right: auto;
left: 0;
transform: scaleX(-1);
}

html[dir="rtl"] .author-avatar {
margin-right: 0;
margin-left: 15px;
}

html[dir="rtl"] .testimonial-navigation {
justify-content: flex-start;
}

/* Mobile Styles */
@media (max-width: 768px) {
.testimonials-card {
    padding: 20px 15px;
    min-height: 260px;
}

.testimonials-slider {
    min-height: 220px;
}

.testimonial-content {
    min-height: 200px;
}

.author-avatar {
    width: 50px;
    height: 50px;
}

.quote-start,
.quote-end {
    width: 30px;
    height: 24px;
}
.testimonial-content{
    padding: 5px;
}
.testimonial-text p {
    font-size: 16px;
}
.author-name{
    font-size: 20px;
}
.author-position{
    font-size: 14px;
}
.testimonial-navigation{
    justify-content: center;
    position: relative;
    bottom: 0px;
}
.testimonial-text{
    padding: 0 34px;
}
}

/* Academy Statistics Section */
.academy-stats {
margin-bottom: 40px;
}

.academy-stats-card {
   
}

.academy-stats-content {
display: flex;
flex-wrap: wrap;
gap: 30px;
}

.academy-stats-left {
flex: 1;
min-width: 300px;
padding-right: 20px;
}

.stats-subtitle {
font-size: 22px;
font-weight: 400;
color: #187FD3;
margin: 0 0 15px;
line-height: 121%;
font-family: 'Roboto', sans-serif;
}

.stats-title {
font-size: 32px;
font-weight: 300;
color: #2E3948;
margin: 0 0 20px;
line-height: 121%;
font-family: 'Roboto', sans-serif;
}

.stats-description {
font-weight: 400;
font-size: 20px;
line-height:162%;
color: #424546;
margin: 0;
font-family: 'Roboto', sans-serif;
}

.academy-stats-right {
flex: 2;
min-width: 300px;
}

.stats-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 20px;
}

.stats-box {
background-color: #ECF5FF;
border-radius: 18.44px;
padding: 25px;
display: flex;
flex-direction: column;
}

.stats-box-wide {
grid-column: span 2;
}

.stats-number {
font-size: 55px;
font-weight: 300;
color: #187FD3;
margin-bottom: 10px;
line-height: 121%;
}

.stats-label {
font-size: 22.13px;
color: #1B3B68;
font-weight: 400;
line-height: 121%;
}

/* RTL Support */
html[dir="rtl"] .academy-stats-left {
padding-right: 0;
padding-left: 20px;
}

/* Mobile Styles */
@media (max-width: 992px) {
.academy-stats-content {
    flex-direction: column;
}

.academy-stats-left, 
.academy-stats-right {
    width: 100%;
    padding: 0;
}

.stats-title {
    font-size: 28px;
}
.stats-subtitle{
    font-size: 18px;
}
.stats-description{
    font-size: 20px;
}
}

@media (max-width: 576px) {
.stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.stats-box-wide {
    grid-column:span 2;
}

.academy-stats-content {
    flex-direction: column;
}

.academy-stats-left, 
.academy-stats-right {
    width: 100%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.stats-box {
    background-color: #ECF5FF;
    border-radius: 10px;
    padding: 15px;
    text-align: left;
    height: auto;
}
html[lang="ar"] .stats-box{
    text-align: right;
}
.stats-number {
    font-size: 38px;
    margin-bottom: 0;
    line-height: 1;
}

.stats-label {
    font-size: 15px;
    margin-top: 5px;
}

.stats-box-wide {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.stats-box-wide .stats-number {
    margin-bottom: 0;
    margin-right: 5px;
}
}

/* Counter animation */
.stats-number {
transition: all 0.3s ease;
}

.stats-number.counting {
transform: scale(1.05);
}

/* Learning Management System Banner Section */
.lms-banner {
margin-bottom: 40px;
}

.lms-banner-card {
height: 400px;
display: flex;
flex-wrap: wrap;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.lms-banner-left {
flex: 1;
background: #F5F8FA url('https://academy.tharwah.net/wp-content/uploads/2025/07/LMS-1.png') center center/cover no-repeat;
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: flex-start;
padding: 32px;
min-width: 340px;
position: relative;
}
.lms-devices { display: none; }

.lms-logo {
position: absolute;
top: 15px;
left: 18px;
max-width: 120px;
}

.lms-logo img {
max-width: 100%;
height: auto;
}

.lms-devices {
width: 100%;
max-width: 500px;
margin: 0 auto;
text-align: center;
}

.lms-devices-img {
width: 100%;
height: auto;
max-height: 400px;
object-fit: contain;
}

.lms-banner-right {
flex: 1;
min-width: 300px;
background-color: #0f69b4;
padding: 40px;
position: relative;
overflow: hidden;
color: white;
display: flex;
flex-direction: column;
justify-content: center;
}

.lms-title {
font-size: 22px;
font-weight: 400;
margin: 0 0 20px;
color: #FFFFFF;
line-height: 121%;
   font-family: 'Roboto', sans-serif;
}

.lms-heading {
font-size: 45px;
line-height: 121%;
font-weight: 300;
margin: 0 0 30px;
color: #FFFFFF;
font-family: 'Roboto', sans-serif;
}

.lms-button-wrapper {
margin-top: 20px;
   
}

.lms-button {
height: 58px;
width: 255px;
background-color: #FFFFFF;
color: #187FD3;
padding: 12px 30px;
border-radius: 30px;
font-size: 16px;
font-weight: 600;
transition: all 0.3s ease;
line-height: 120%;
font-family: 'Cairo', sans-serif;
display: flex;
justify-content: space-around;
align-items: center;
text-decoration: none;
}

.lms-button:hover {
background-color: #f0f7ff;
transform: translateY(-2px);
}

.lms-dots {
position: absolute;
top: 0;
right: 0;
width: 100%;
height: 100%;
background-image: url("https://academy.tharwah.net/wp-content/uploads/2025/07/Clip-path-group-1.svg");
   background-repeat: no-repeat;
pointer-events: none;
background-position-x: -59%;
background-position-y: 145%;
}
.lms-dots-2 {
position: absolute;
top: 0;
right: 0;
width: 100%;
height: 100%;
background-image: url("https://academy.tharwah.net/wp-content/uploads/2025/07/Clip-path-group-1.svg");
background-repeat: no-repeat;
pointer-events: none;
background-position-x: 146%;
background-position-y: -37%;
}

/* RTL Support */
html[dir="rtl"] .lms-logo {
left: auto;
right: 30px;
}

/* Mobile Styles */
@media (max-width: 992px) {
.lms-banner-card {
    flex-direction: column;
}

.lms-banner-left,
.lms-banner-right {
    width: 100%;
}

.lms-heading {
    font-size: 28px;
}

.lms-devices {
    padding: 30px 0 0;
    max-width: 400px;
}
}

@media (max-width: 768px) {
body.woocommerce.single-product .single-product-sec .container{
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.lms-banner-card {
    flex-direction: column;
    width: 100%;
    height: 662px;
    border-radius: 16px;
    margin: 0 auto;
    overflow: hidden;
}

.lms-dots {
    background-position-x: -101%;
    background-position-y: 185%;
}
.lms-dots-2 {
    background-position-x: 199%;
    background-position-y: -37%;
}

.lms-banner-left {
    width: 100%;
    min-height: 337px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.lms-devices-img {
    width: 403px;
    height: 337px;
    object-fit: cover;
    object-position: center;
}

.lms-banner-right {
    flex: 1;
    padding: 24px;
    text-align: left;
}

.lms-title {
    font-size: 18px;
    margin-bottom: 8px;
}

.lms-heading {
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 24px;
}

.lms-button {
    width: 100%;
    text-align: center;
    padding: 16px;
    border-radius: 30px;
    font-size: 16px;
}
}

/* Single Product Enroll Section */
.single-product-Enroll-section{

    position: relative;
    z-index: 999;
}
.single-product-Enroll-container{
    height: auto;
    border: 1px solid #94A4BA;
    background: #FFFFFF;
    padding: 30px;
    border-radius: 16px;
    position: relative; /* Changed from absolute */
    width: 100%; /* Changed from min-width */
    max-width: 522px; /* Added max-width instead of min-width */
    transition: all 0.3s ease;
    top: -200px;
}

/* New sticky styles */
.single-product-Enroll-container.sticky-enroll {
    position: fixed;
    top: 20px; /* Distance from top when sticky */
    z-index: 1050; /* Higher z-index to appear above other elements */
    width: 100%; /* Take full width when sticky */
    max-width: 522px; /* But limit max width */
}

.enroll-placeholder {
    display: none;
    height: 0;
    width: 100%;
    max-width: 522px;
}

/* Keep the placeholder visible when the container is sticky */
.enroll-placeholder.active {
    display: block;
}

.single-product-Enroll-container h2{
    font-weight: 700;
    font-style: Bold;
    font-size: 30px;
    leading-trim: NONE;
    line-height: 121%;
    letter-spacing: 0.5%;
    color: #2E3948;
    margin-bottom: 8px;
}
.single-product-Enroll-container > h3{
    padding: 15px;
    font-weight: 700;
    font-style: Bold;
    font-size: 24px;
    leading-trim: NONE;
    line-height: 121%;
    letter-spacing: 0.5%;
    color: #2E3948;
    border: 0.5px solid #0076BE;
    background-color: #F0F8FC66;
    border-radius: 10px;
    display: flex;
    margin-bottom: 8px;
}
.single-product-Enroll-container h3 span{
font-weight: 400;
font-style: Regular;
font-size: 24px;
leading-trim: NONE;
line-height: 121%;
letter-spacing: 0.5%;
    color: #2E3948;
    margin: 0 5px;
}
.single-product-Enroll-container p{
font-weight: 400;
font-style: Regular;
font-size: 20px;
leading-trim: NONE;
line-height: 142%;
letter-spacing: -0.25%;
    color: #2E3948BF;
    margin-bottom: 8px;
}
.single-product-Enroll-alert{
    font-weight: 500;
    font-style: Medium;
    font-size: 16px;
    leading-trim: NONE;
    line-height: 142%;
    letter-spacing: -0.25%;
    text-decoration: underline;
    text-decoration-style: solid;
    text-decoration-offset: 0%;
    text-decoration-thickness: 0%;
    color: #187FD3;
    display: flex;
    gap: 6px;
   margin: 18px 0;
}

@media (max-width: 1650px) {
    .single-product-Enroll-container{
        transition: none;
width: 434px;
height: 827px;

    }
}
@media (max-width:1360px) {
    .single-product-Enroll-container{
        transition: none;
width: 360px;
height: 860px;

    }
}

/* Date input styles to match WooCommerce design */
.single-product-Enroll-date {
    margin-top: 20px;
}

.date-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 56px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 0 16px;
    cursor: pointer;
    transition: border-color 0.2s ease;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    z-index: 1;
    will-change: border-color;
}

.date-input-wrapper.open,
#custom-dropdown.open {
    z-index: 10000;
}

.date-input-wrapper:hover {
    border-color: #187FD3;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.date-input-wrapper:focus-within {
    border-color: #187FD3;
    box-shadow: 0 0 0 4px rgba(24, 127, 211, 0.15), 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.date-input-wrapper .calendar-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    flex-shrink: 0;
    border-radius: 0 !important;
}


/* Custom dropdown display */
.custom-select-display {
    flex: 1;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #111827;
    cursor: pointer;
}

.selected-value {
    color: #111827;
}



/* Custom options wrapper */
.custom-options-wrapper {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 4px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    display: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.15s ease, visibility 0.15s ease, transform 0.15s ease;
    z-index: 10001;
    max-height: 280px;
    overflow: hidden;
    will-change: opacity, transform;
}

.date-input-wrapper.open .custom-options-wrapper,
#custom-dropdown.open .custom-options-wrapper {
    display: block !important;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    z-index: 10001 !important;
}

.custom-options , .options {
    max-height: 280px;
    overflow-y: auto;
    padding: 8px;
}

/* Beautiful custom option styling */
.custom-option ,.option {
    padding: 12px 16px;
    margin: 4px 0;
    font-size: 15px;
    line-height: 22px;
    color: #374151;
    background: #FFFFFF;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    position: relative;
    overflow: hidden;
}

.custom-option:hover ,.option:hover{
    background: linear-gradient(to right, #EBF8FF 0%, #DBEAFE 100%);
    color: #187FD3;
    font-weight: 500;
}

.custom-option.selected ,.option.selected {
    background: linear-gradient(to right, #187FD3 0%, #1E6BB8 100%);
    color: #FFFFFF;
    font-weight: 600;
    padding-left: 40px;
}

.custom-option.selected::before ,.option.selected::before{
    content: '✓';
    position: absolute;
    left: 16px;
    color: #FFFFFF;
    font-weight: bold;
    font-size: 16px;
}

.custom-option.disabled {
    color: #9CA3AF;
    background: #F9FAFB;
    font-style: italic;
    cursor: not-allowed;
    opacity: 0.7;
}

.custom-option.disabled:hover {
    background: #F9FAFB;
    transform: none;
    color: #9CA3AF;
    font-weight: 400;
}

/* Custom scrollbar */
.custom-options::-webkit-scrollbar {
    width: 6px;
}

.custom-options::-webkit-scrollbar-track {
    background: #F3F4F6;
    border-radius: 3px;
}

.custom-options::-webkit-scrollbar-thumb {
    background: #D1D5DB;
    border-radius: 3px;
}

.custom-options::-webkit-scrollbar-thumb:hover {
    background: #9CA3AF;
}


.dropdown-arrow {
    width: 20px;
    height: 20px;
    margin-left: 12px;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.dropdown-arrow path {
    stroke: #6B7280;
    transition: stroke 0.3s ease;
}

.date-input-wrapper:hover .dropdown-arrow path {
    stroke: #187FD3;
}

.date-input-wrapper:focus-within .dropdown-arrow path {
    stroke: #187FD3;
}

.date-input-wrapper.open .dropdown-arrow {
    transform: rotate(180deg);
}
.single-product-Enroll-button{
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 38px;
    margin-bottom: 38px;
}

.single-product-Enroll-button button.button-enroll{

    border-radius: 15000px;
    width: 100%;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    font-style: SemiBold;
    font-size: 16px;
    leading-trim: NONE;
    line-height: 120%;
    letter-spacing: 0%;
    text-transform: uppercase;
    color: #111827;
    border: 1px solid #187FD3;
}
body:has(.show-burgermenu) .single-product-Enroll-container,body:has(.show-burgermenu) .hero-links-sec ,body:has(.show-burgermenu) .mobile-sticky-enroll{
    display: none;
}
.button-BROCHURE{
    border-radius: 15000px;
    width: 100%;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #187FD3;
    gap: 6px;
    font-weight: 400;
    font-style: SemiBold;
    font-size: 16px;
    leading-trim: NONE; 
    line-height: 120%;
    letter-spacing: 0%;
    text-transform: uppercase;
    color: #111827 !important;
}
.single-product-Enroll-accreditations{
    padding: 15px;
    border: 0.5px solid #0076BE;
    background-color: #F0F8FC66;
    border-radius: 16px;
}

/* Location Select Styles - Matching Date Select */
.single-product-Enroll-location {
    margin-top: 20px;
}

.location-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 56px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 0 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.location-input-wrapper:hover {
    border-color: #187FD3;
}

.location-input-wrapper.open {
    border-color: #187FD3;
    box-shadow: 0 0 0 3px rgba(24, 127, 211, 0.1);
}

.location-input-wrapper.has-value {
    border-color: #187FD3;
    background-color: #F0F8FC33;
}

.location-input-wrapper .location-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    flex-shrink: 0;
}

.location-input-wrapper .custom-select-display {
    flex: 1;
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #6B7280;
    user-select: none;
}

.location-input-wrapper.has-value .custom-select-display .selected-value {
    color: #2E3948;
}

.location-input-wrapper .dropdown-arrow {
    margin-left: 12px;
    transition: transform 0.3s ease;
}

.location-input-wrapper.open .dropdown-arrow {
    transform: rotate(180deg);
}

.location-input-wrapper .options-wrapper {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    opacity: 0;
    transform: translateY(-10px) scaleY(0.95);
    transform-origin: top;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    overflow: hidden;
}

.location-input-wrapper.open .options-wrapper {
    opacity: 1;
    transform: translateY(0) scaleY(1);
    visibility: visible;
}

.location-input-wrapper .options {

    overflow-x: hidden;
}




.location-input-wrapper .option.no-options {
    color: #9CA3AF;
    cursor: default;
    font-style: italic;
}

.location-input-wrapper .option.no-options:hover {
    background-color: transparent;
    color: #9CA3AF;
}

/* Ensure dropdowns in enrollment container appear above everything */
.single-product-Enroll-container .custom-options-wrapper,
.single-product-Enroll-container .options-wrapper {
    z-index: 10005 !important;
}

.single-product-Enroll-accreditations h3{
    font-weight: 700;
    font-style: Bold;
    font-size: 22px;
    leading-trim: NONE;
    line-height: 121%;
    letter-spacing: 0.5%;
    color: #2E3948;
    margin-bottom: 20px;
}
.single-product-Enroll-accreditations-logo{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.single-product-Enroll-accreditations-logo img{
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);

}
.date-input-wrapper.has-value {
    border-color: #187FD3;
    background-color: #F0F8FC33;
}

.date-input-wrapper.has-value .date-input {
    color: #187FD3;
    font-weight: 500;
}

/* Ensure smooth transitions when container moves */
.single-product-Enroll-container.is-sticky {
    z-index: 998; /* Slightly lower z-index when sticky to prevent overlap issues */
}

/* Media query for mobile responsiveness */
   @media (max-width: 1200px) {
.explore-key-topics-video {
        order: -1;
        margin-bottom: -3.5px;
    }
    .explore-key-topics-video video {
    border-radius: 16px 16px 0 0 !important;
}
.explore-key-topics-content {
    border-radius: 0 0 16px 16px !important;
}
    .single-product-Enroll-section {
        position: relative;
        min-width: 100%;
    }
    .single-product-Enroll-container{
      
        width: auto;
        max-width: 100%;
        height: auto;
    }
    .single-product-Enroll-container.sticky-enroll {
        position: relative !important;
    }
    .enroll-placeholder {
        display: none !important;
    }
    .single-product-sec > .container {
        flex-direction: column-reverse;
        gap: 30px;
    }
    .custom_hero{
        padding-bottom: 200px;
    }
}

/* Mobile Sticky Enrollment Bar Styles */
.mobile-sticky-enroll {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1100;
    /* border-top: 1px solid #e5e5e5; */
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                border-radius 0.4s ease;
    overflow-x: hidden;
    overflow-y: visible;
}
.mobile-sticky-enroll  .single-product-Enroll-alert{
    font-size: 13px;
}
html[lang="ar"] .mobile-enroll-close{
    right: auto;
    left: 10px;
}
.mobile-sticky-enroll .single-product-Enroll-accreditations  {
    display: none;
}
.mobile-sticky-enroll .single-product-Enroll-container p{
    font-size: 14px;
}
.mobile-sticky-enroll .single-product-Enroll-button{
    gap: 10px;
}
.mobile-sticky-enroll  .single-product-Enroll-container h2{
    font-size: 20px;
}
.mobile-sticky-enroll .single-product-Enroll-container > h3{
    font-size: 20px;
}
.mobile-sticky-enroll .single-product-Enroll-button button.button-enroll,.mobile-sticky-enroll .button-BROCHURE{
    height: 54px;
    font-size: 14px;
}
.mobile-sticky-enroll.collapsed {
    padding: 15px;
    text-align: center;
    max-height: 80px;
}
    .mobile-sticky-enroll.expanded .mobile-sticky-content{
        display:none;
    }

.mobile-sticky-enroll.expanded {
    max-height: 80vh;
    overflow-y: auto;
    overflow-x: visible;
    border-radius: 15px 15px 0 0;
    padding-bottom: 0;
    animation: slideUp 0.5s ease-out;
}

/* Allow dropdowns to overflow when open */
.mobile-sticky-enroll.expanded:has(#custom-dropdown.open),
.mobile-sticky-enroll.expanded:has(#location-dropdown.open),
.mobile-sticky-enroll.expanded:has(#training-method-dropdown.open) {
    overflow: visible !important;
}

.mobile-enroll-expanded:has(#custom-dropdown.open),
.mobile-enroll-expanded:has(#location-dropdown.open),
.mobile-enroll-expanded:has(#training-method-dropdown.open) {
    overflow: visible !important;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0.8;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.mobile-sticky-enroll .mobile-enroll-btn {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: block;
    background: linear-gradient(90deg, #0C264A 0%, #83AABF 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 16px 24px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-sticky-enroll.expanded .mobile-enroll-btn {
    display: none;
}

.mobile-sticky-enroll .mobile-enroll-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(12, 38, 74, 0.3);
}

/* Mobile Enrollment Expanded Content */
.mobile-enroll-expanded {
    display: none;
    padding: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    overflow: visible !important;
}

.mobile-sticky-enroll.expanded .mobile-enroll-expanded {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.4s ease-out 0.1s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-enroll-expanded .single-product-Enroll-container {
    position: static !important;
    top: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    background: transparent !important;
}

/* Ensure location dropdown works in mobile expanded view */
.mobile-enroll-expanded .location-input-wrapper {
    position: relative;
    z-index: 1;
}

.mobile-enroll-expanded .location-input-wrapper .options-wrapper {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1102;
}

.mobile-enroll-expanded #location-dropdown.open .options-wrapper {
    display: block;
}

/* Date dropdown in mobile expanded view */
.mobile-enroll-expanded .date-input-wrapper,
.mobile-enroll-expanded #custom-dropdown {
    position: relative;
    z-index: 100;
    overflow: visible !important;
}

.mobile-enroll-expanded .date-input-wrapper.open,
.mobile-enroll-expanded #custom-dropdown.open {
    z-index: 10010 !important;
}

.mobile-enroll-expanded .date-input-wrapper .custom-options-wrapper,
.mobile-enroll-expanded #custom-dropdown .custom-options-wrapper {
    position: absolute !important;
    top: 100% !important;
    bottom: auto !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 10020 !important;
    max-height: 200px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.mobile-enroll-expanded #custom-dropdown.open .custom-options-wrapper {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* Training method dropdown in mobile expanded view */
.mobile-enroll-expanded .training-method-wrapper,
.mobile-enroll-expanded #training-method-dropdown {
    position: relative;
    z-index: 101;
}

.mobile-enroll-expanded #training-method-dropdown .custom-options-wrapper {
    position: absolute !important;
    top: 100% !important;
    bottom: auto !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 10003 !important;
    max-height: 200px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.mobile-enroll-expanded #training-method-dropdown.open .custom-options-wrapper {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* Location dropdown in mobile expanded view - higher z-index */
.mobile-enroll-expanded .location-input-wrapper,
.mobile-enroll-expanded #location-dropdown {
    position: relative;
    z-index: 99;
}

.mobile-enroll-expanded .location-input-wrapper .options-wrapper,
.mobile-enroll-expanded #location-dropdown .options-wrapper {
    position: absolute !important;
    top: 100% !important;
    bottom: auto !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 10001 !important;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Close button for expanded view */
.mobile-enroll-close {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1101;
}



.mobile-enroll-container {
    display: flex;
    gap: 10px;
    align-items: center;
    max-width: 100%;
}

.mobile-enroll-date {
    flex: 1;
}
.mobile-enroll-date img{
    border-radius: 0 !important;
}

.mobile-date-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #F0F8FC;
    border: 1px solid #187FD3;
    border-radius: 8px;
    padding: 10px 12px;
    cursor: pointer;
    gap: 8px;
}

.mobile-date-wrapper.open {
    border-radius: 8px 8px 0 0;
}

.mobile-calendar-icon {
    width: 20px;
    height: 20px;
}

.mobile-selected-value {
    flex: 1;
    font-size: 14px;
    color: #2E3948;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-dropdown-arrow {
    transition: transform 0.3s ease;
}

.mobile-date-wrapper.open .mobile-dropdown-arrow {
    transform: rotate(180deg);
}

.mobile-options-wrapper {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #187FD3;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1101;
}

.mobile-date-wrapper.open .mobile-options-wrapper {
    display: block;
}

.mobile-option {
    padding: 10px 12px;
    font-size: 14px;
    color: #2E3948;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.mobile-option:hover {
    background-color: #F0F8FC;
}

.mobile-option.selected {
    background-color: #187FD3;
    color: #fff;
}

.mobile-option.disabled {
    color: #999;
    cursor: not-allowed;
    font-style: italic;
}

.mobile-enroll-btn {
    background: linear-gradient(90deg, #0C264A 0%, #83AABF 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.mobile-enroll-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(12, 38, 74, 0.3);
}

/* Mobile Location Styles */
.mobile-enroll-location {
    flex: 1;
    margin-right: 10px;
}

.mobile-location-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #F0F8FC;
    border: 1px solid #187FD3;
    border-radius: 8px;
    padding: 10px 12px;
    cursor: pointer;
    gap: 8px;
}

.mobile-location-wrapper.open {
    border-radius: 8px 8px 0 0;
}

.mobile-location-icon {
    width: 20px;
    height: 20px;
}

.mobile-location-value {
    flex: 1;
    font-size: 14px;
    color: #2E3948;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-location-arrow {
    transition: transform 0.3s ease;
}

.mobile-location-wrapper.open .mobile-location-arrow {
    transform: rotate(180deg);
}

.mobile-location-options-wrapper {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #187FD3;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1101;
}

.mobile-location-wrapper.open .mobile-location-options-wrapper {
    display: block;
}

.mobile-location-option {
    padding: 10px 12px;
    font-size: 14px;
    color: #2E3948;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.mobile-location-option:hover {
    background-color: #F0F8FC;
}

.mobile-location-option.selected {
    background-color: #187FD3;
    color: #fff;
}

.mobile-location-option.disabled {
    color: #999;
    cursor: not-allowed;
    font-style: italic;
}

/* Show mobile sticky enrollment only on mobile */
@media (max-width: 768px) {
    .mobile-sticky-enroll {
        display: block;
    }
    
    /* Hide desktop enrollment section on mobile */
    .single-product-Enroll-section {
        display: none;
    }
    
    /* Adjust content padding to account for sticky bar */
    body {
        padding-bottom: 80px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .mobile-enroll-container {
        flex-wrap: wrap;
    }
    
    .mobile-enroll-date {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .mobile-enroll-location {
        width: 100%;
        margin-bottom: 10px;
        margin-right: 0;
    }
    
    .mobile-enroll-btn {
        width: 100%;
        padding: 14px;
    }
    
    .mobile-sticky-enroll {
        padding: 15px;
    }
    
    body {
        padding-bottom: 120px;
    }
}

/* HRDF Popup Styles */
.hrdf-popup-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.7);
z-index: 9999;
display: flex;
align-items: center;
justify-content: center;
padding: 20px;
}

.hrdf-popup-container {
background: #FFFFFF;
border-radius: 20px;
max-width: 900px;
width: 100%;
max-height: 90vh;
overflow-y: auto;
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
from {
    transform: translateY(-30px);
    opacity: 0;
}
to {
    transform: translateY(0);
    opacity: 1;
}
}

.hrdf-popup-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 30px;
border-bottom: 1px solid #E5E7EB;
}

.hrdf-popup-header h2 {
font-weight: 700;
font-size: 28px;
line-height: 121%;
letter-spacing: 0.5%;
color: #2E3948;
margin: 0;
}

.hrdf-popup-close {
font-size: 36px;
font-weight: 300;
color: #6B7280;
cursor: pointer;
transition: color 0.2s ease;
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 8px;
}

.hrdf-popup-close:hover {
color: #187FD3;
background-color: #F0F8FC;
}

.hrdf-popup-content {
padding: 30px;
}

.hrdf-video-container {
position: relative;
padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
height: 0;
overflow: hidden;
border-radius: 12px;
margin-bottom: 30px;
background: #F3F4F6;
}

.hrdf-video-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border-radius: 12px;
}

.hrdf-description h3 {
font-weight: 600;
font-size: 24px;
line-height: 121%;
color: #2E3948;
margin-bottom: 16px;
}

.hrdf-description h4 {
font-weight: 600;
font-size: 20px;
line-height: 121%;
color: #2E3948;
margin-top: 24px;
margin-bottom: 12px;
}

.hrdf-description p {
font-weight: 400;
font-size: 18px;
line-height: 142%;
letter-spacing: -0.25%;
color: #2E3948BF;
margin-bottom: 16px;
}

.hrdf-description ul {
list-style: none;
padding: 0;
margin: 0 0 24px 0;
}

.hrdf-description ul li {
font-weight: 400;
font-size: 18px;
line-height: 142%;
color: #2E3948BF;
margin-bottom: 12px;
padding-left: 30px;
position: relative;
}

.hrdf-description ul li:before {
content: "✓";
position: absolute;
left: 0;
color: #187FD3;
font-weight: 600;
font-size: 20px;
}

/* Responsive Styles */
@media (max-width: 768px) {
.hrdf-popup-container {
    max-height: 100vh;
    border-radius: 0;
}

.hrdf-popup-header {
    padding: 20px;
}

.hrdf-popup-header h2 {
    font-size: 22px;
}

.hrdf-popup-content {
    padding: 20px;
}

.hrdf-description h3 {
    font-size: 20px;
}

.hrdf-description h4 {
    font-size: 18px;
}

.hrdf-description p,
.hrdf-description ul li {
    font-size: 16px;
}
}

/* RTL Support */
html[dir="rtl"] .hrdf-description ul li {
padding-left: 0;
padding-right: 30px;
}

html[dir="rtl"] .hrdf-description ul li:before {
left: auto;
right: 0;
}
/* ==========================================================================
   Related Products Noon-Style CSS - Moved from single-product.php
   ========================================================================== */

/* Mobile Sticky Enrollment Bar - Collapsed State */
.mobile-sticky-enroll {
    display: none;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: linear-gradient(135deg, #ffffff 0%, #fafbff 100%);
    border-top: 1px solid rgba(24, 127, 211, 0.15);
    box-shadow: 0 -10px 25px -5px rgba(0, 0, 0, 0.08), 0 -4px 10px -2px rgba(0, 0, 0, 0.05);
    z-index: 9999 !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.mobile-sticky-enroll::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #187FD3 0%, #1668A8 50%, #187FD3 100%);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 200% 0; }
    50% { background-position: -200% 0; }
}

.mobile-sticky-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    gap: 14px;
}

.mobile-sticky-price-info {
    flex: 1;
    min-width: 0;
}

.mobile-sticky-prices {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.mobile-sticky-original-price {
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 15px;
    font-weight: 500;
    opacity: 0.8;
}

.mobile-sticky-sale-price {
    background: linear-gradient(135deg, #187FD3 0%, #1668A8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 24px;
    letter-spacing: -0.02em;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.mobile-sticky-sale-price .currency-icon {
    width: auto;
    height: 16px;
    vertical-align: middle;
}

.mobile-sticky-discount {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
}

.mobile-sticky-subtitle {
    font-size: 11px;
    color: #64748b;
    margin: 4px 0 0 0;
    font-weight: 500;
    text-align: start;
}

.mobile-sticky-enroll-btn {
    background: linear-gradient(135deg, #187FD3 0%, #1668A8 100%);
    color: white;
    font-weight: 600;
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 20px -5px rgba(24, 127, 211, 0.35), 0 4px 8px -2px rgba(24, 127, 211, 0.25);
}

.mobile-sticky-enroll-btn:hover,
.mobile-sticky-enroll-btn:active {
    background: linear-gradient(135deg, #1668A8 0%, #0d5a94 100%);
    transform: translateY(-2px);
}

/* RTL Support */
html[lang="ar"] .mobile-sticky-content {
    direction: rtl;
}

/* Show on mobile only */
@media (max-width: 1024px) {
    .mobile-sticky-enroll {
        display: block !important;
    }
}

@media (max-width: 768px) {
    .mobile-sticky-content {
        padding: 14px 16px;
    }

    .mobile-sticky-sale-price {
        font-size: 22px;
    }

    .mobile-sticky-enroll-btn {
        padding: 14px 28px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .mobile-sticky-content {
        padding: 12px 14px;
        gap: 10px;
    }

    .mobile-sticky-sale-price {
        font-size: 20px;
    }

    .mobile-sticky-original-price {
        font-size: 13px;
    }

    .mobile-sticky-discount {
        font-size: 11px;
        padding: 4px 8px;
    }

    .mobile-sticky-enroll-btn {
        padding: 13px 24px;
        font-size: 14px;
    }
}