@import url('https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&display=swap');
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-card: #ffffff;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --border-color: #e5e7eb;
    --accent-blue: #2563eb;
    --accent-blue-hover: #1d4ed8;
    --primary-blue: #2c3e50;
    --accent-gold: #c29d5b;
    --light-gray-bg: #f8f9fa;
    --text-dark: #333;
    --text-muted: #6c757d;
    --shadow-color: rgba(99, 102, 241, 0.08);
    --shadow-color-hover: rgba(99, 102, 241, 0.15);
}
html {
    height:100%;
    direction: rtl;
  }
body{
    overflow-x: hidden;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: 0;
    list-style: none;
    font-style: normal!important;
    text-decoration: none !important;
}
  
body, html {
    height: 100%;
    min-height: 100%;
    font-size: 16px;
    color: #050608;
    direction: rtl;
    font-family: 'Almarai', sans-serif;
    /* background: #f4f4f4; */
    text-align: right;
}
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    font-family: 'Almarai', sans-serif;

}

 
  
.container {
    width: 100%;
    max-width: 1200px !important;
    padding: 0 !important;
}
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 99;
}


/*** FAQs Start ***/
.faq-section .accordion .accordion-item .accordion-header .accordion-button {
    color: var(--bs-white);
    background: rgba(1, 95, 201, .8);
    font-size: 18px;
}

.faq-section .accordion .accordion-item .accordion-header .accordion-button.collapsed {
    color: var(--bs-primary);
    background: var(--bs-light);
}
/*** FAQs End ***/


/*** Blog Start ***/
.blog .blog-item {
    border-radius: 10px;
    transition: 0.5s;
}

.blog .blog-item:hover {
    box-shadow: 0 0 45px rgba(0, 0, 0, .1);
}

.blog .blog-item:hover .blog-content {
    background: var(--bs-white);
}

.blog .blog-item .blog-img {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    position: relative;
    overflow: hidden;
    height: 250px;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
    height: 100%;
    object-fit: cover;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.2);
}

.blog .blog-item .blog-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: rgba(1, 95, 201, .2);
    transition: 0.5s;
    z-index: 1;
}

.blog .blog-item:hover .blog-img::after {
    height: 100%;
}

.blog .blog-item .blog-img .blog-categiry {
    position: absolute;
    bottom: 0;
    right: 0;
    border-top-left-radius: 10px;
    display: inline-flex;
    color: var(--bs-white);
    background: var(--bs-primary);
    z-index: 9;
}

.blog .blog-item .blog-content {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-light);
}

.blog .blog-item .blog-content a.btn {
    color: var(--bs-dark);
}

.blog .blog-item:hover .blog-content a.btn:hover {
    color: var(--bs-primary);
}
/*** Blog End ***/


/*** Team Start ***/
.team .team-item .team-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
} 

.team .team-item .team-img img {
    transition: 0.5s;
}

.team .team-item:hover .team-img img {
    transform: scale(1.1);
}

.team .team-item .team-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: 0.5s;
}

.team .team-item:hover .team-img::after {
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
}

.team .team-item .team-img .team-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    margin-bottom: -100%;
    transition: 0.5s;
    z-index: 9;
}

.team .team-item:hover .team-img .team-icon {
    margin-bottom: 0;
}

.team .team-item .team-title {
    color: var(--bs-white);
    background: var(--bs-primary);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    transition: 0.5s;
}

.team .team-item .team-title h4 {
    color: var(--bs-white);
}

.team .team-item:hover .team-title {
    background: var(--bs-dark);
}
/*** Team End ***/


/*** Testimonial Start ***/
.testimonial-carousel .owl-stage-outer {
    margin-top: 12px;
    margin-right: 0px;
}

.testimonial .owl-nav .owl-prev {
    position: absolute;
    top: -58px;
    left: 0;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 5px 30px;
    border-radius: 30px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-prev:hover {
    background: var(--bs-dark);
    color: var(--bs-white);
}

.testimonial .owl-nav .owl-next {
    position: absolute;
    top: -58px;
    right: 0;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 5px 30px;
    border-radius: 30px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-next:hover {
    background: var(--bs-dark);
    color: var(--bs-white);
}
/*** Testimonial End ***/


/*** Contact Start ***/
.contact .contact-img {
    position: relative;
}

.contact .contact-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: rgba(255, 255, 255, 0.9);
    z-index: 1;
    animation-name: image-efects;
    animation-duration: 10s;
    animation-delay: 1s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    transition: 0.5s
}

@keyframes image-efects {
    0%  {border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;}

    25% {border-radius: 35% 65% 27% 73% / 71% 25% 75% 29%;}

    50% {border-radius: 41% 59% 45% 55% / 32% 21% 79% 68%;}

    75% {border-radius: 69% 31% 39% 61% / 70% 83% 17% 30%;}

    100% {border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;}
}

.contact .contact-img .contact-img-inner {
    position: relative;
    z-index: 9;
}
/*** Contact End ***/

a.navbar-brand.p-0 {
    margin-right: 0;
    margin-left: 0px;
}

.row {
    margin-right: 0;
    margin-left: 0;
}

.accordion-button::after {
    margin-right: auto;
    margin-left: 0;
}

.faq-section.bg-light.py-5 h1 {
    font-size: 40px;
}

.blog .blog-item .blog-content a.h4 {
    font-size: 18px;
    font-family: 'Almarai', sans-serif;
}

.blog .blog-item .blog-content p {
    font-size: 14px;
    line-height: 21px;
}


  @keyframes scroll {
    0% {
      transform: translateX(100%);
    }
    100% {
      transform: translateX(-100%);
    }
  }

breadcrumb li.breadcrumb-item.active.text-primary {
    color: #fff !important;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #fff;
    float: right;
    padding-left: .5rem;
}

.breadcrumb-item.active {
    color: #ffffff !important;
}
.hero .sub-title {
    color: #6e6d7a;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
  }
  .hero .hero-title {
    color: #212121;
    font-family: "'Almarai', sans-serif";
    font-size: 26px;
    margin-bottom: 34px;
}
.portlet {
    position: relative;
    display: block;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    background-color: #ffffff;
    margin-bottom: 20px;
    border-radius: 30px;
    box-shadow: 0px 10px 30px #5a5b881a;
    padding: 25px;
}
.portlet .form-group label {
    margin-bottom: 9px;
    color: #212121;
    font-size: 14px;
    padding-right: 20px;
}
.portlet .form-control {
    background-color: #1976d20d;
    border: 1px solid #ddeaf6;
    height: 33px;
    border-radius: 19px;
    height: 48px;
    padding: 10px 20px;
    color: #212121;
}
.field-icon {
    position: absolute;
    top: 68%;
    transform: translateY(-50%);
    left: 20px;
    z-index: 2;
}

.portlet .form-group {
    position: relative;
    display: block;
    margin-bottom: 22px;
}

.portlet select {
    background-color: #1976d20d;
    border: 1px solid #ddeaf6;
    height: 33px;
    border-radius: 19px;
    height: 48px;
    font-size: 14px;
}

.services-style2-grids .grid {
    background: -webkit-linear-gradient(left, #193775, #00abc9);
    background: -moz-linear-gradient(left, #193775, #00abc9);
    background: -o-linear-gradient(left, #193775, #00abc9);
    background: -ms-linear-gradient(left, #193775, #00abc9);
    background: linear-gradient(left, #193775, #00abc9);
    padding: 35px 13px;
    position: relative;
    margin-bottom: 21px;
}
.services-style2-grids .grid:before {
    content: "";
    background-color: #fff;
    width: 99%;
    height: 99%;
    position: absolute;
    left: 2px;
    top: 2px;
}

.services-style2-grids .grid a {
    position: relative;
    text-align: center;
    display: block;
    width: 100%;
}

.services-style2-grids .grid a span.icon {
    width: 50px;
    height: 50px;
    display: block;
    text-align: center;
    margin:  0 auto;
    margin-bottom: 11px;
}

.services-style2-grids .grid a h3.titleox {
    font-size: 20px;
    color: #000;
}

.services-style2-grids .grid a p.counter {
    font-size: 25px;
    /* margin-bottom: 0; */
    color: #d1973b;
    font-weight: 800;
}

.services-style2-grids .grid a h6.btn.btn-light.rounded-pill {
    font-size: 12px;
    background: #2f596e;
    color: #fff;
    border-radius: 9px !important;
    margin: 0;
    margin-left: 0 !important;
}

#eventTabs {
    border: none;
    display: flex;
    justify-content: center;
}
#eventTabs .nav-link {
    background-color: #d1973b;
    color: #fff;
    border: none;
    font-weight: bold;
    padding: 15px 20px;
    margin: 5px;
    border-radius: 0;
}
#eventTabs .nav-link.active {
    background-color: #264757;
    color: #fff;
    position: relative;
}
#eventTabs .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: -9px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #264757;
}

.event-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 4px 4px 11px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.event-card h5 {
    font-weight: bold;
    color: #333;
    font-size: 18px;
}

.event-card p {
    font-size: 15px;
    font-weight: normal;
    line-height: 28px;
    color: #666666;
    margin-bottom: 22px;
}

.speaker {
    display: flex;
    align-items: center;
    margin-top: 15px;
}

.speaker img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-left: 10px;
}
.event-tab-meta {
    margin-top: 12px;
    margin-bottom: 16px;
}
.event-tab-meta span {
	color: #666666;
	font-size: 14px;
	text-transform: uppercase;
	font-weight: 400;
	margin-left: 25px;
}
.event-tab-meta span:last-child{margin-left: 0;}
.event-tab-meta span i {
	color: #f7b205;
	font-size: 14px;
	margin-left: 8px;
}


.page-faqs{
	padding: 100px 0;
}

.faq-sidebar{
    position: sticky;
    top: 30px;
    /* margin-left: 30px; */
}

.faq-catagery-list{
	border: 1px solid #5561711c;
	padding: 30px;
	margin-bottom: 40px;
}

.faq-catagery-list ul{
    list-style: none;
    margin: 0;
	padding: 0;
}

.faq-catagery-list ul li{
    margin-bottom: 20px;
}

.faq-catagery-list ul li:last-child{
    margin: 0;
}

.faq-catagery-list ul li a{
    position: relative;
    display: block;
    font-weight: 400;
    text-transform: capitalize;
    color: #5b6778;
    padding-left: 25px;
    transition: all 0.3s ease-in-out;
}

.faq-catagery-list ul li:hover a{
    color: #002768;
}

.faq-catagery-list ul li a::before{
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    background-image: url('../img/arrow-text.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    transition: all 0.3s ease-in-out;
}

.faq-catagery-list ul li:hover a::before{
	transform: translateY(-50%);
    filter: brightness(0) invert(0);
}

.page-faq-accordion{
	margin-bottom: 60px;
}

.page-faq-accordion:last-child{
	margin-bottom: 0;
}

.faq-accordion.page-faq-accordion .section-title{
	margin-bottom: 30px;
}
.sidebar-cta-box{
    background-color: #264757;
    padding: 30px;
}

.sidebar-cta-content{
	margin-bottom: 15px;
}

.sidebar-cta-content h3{
	font-size: 24px;
	font-weight: 700;
	color: #fff;
	margin-bottom: 10px;
}

.sidebar-cta-content p{
	color: #fff;
	margin-bottom: 0;
}

.sidebar-cta-contact-item{
	display: flex;
	align-items: center;
	margin-bottom: 20px;
}

.sidebar-cta-contact-item:last-child{
	margin-bottom: 0;
}

.sidebar-cta-contact-item .icon-box{
	position: relative;
	height: 60px;
	width: 60px;
	background-color: #fff;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-left: 20px;
	transition: all 0.4s ease-in-out;
}

.sidebar-cta-contact-item:hover .icon-box{
	background-color: transparent;
}

.sidebar-cta-contact-item .icon-box::before{
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-color);
    border-radius: 50%;
    height: 100%;
    width: 100%;
    transform: scale(0);
    transition: all 0.3s ease-in-out;
}

.sidebar-cta-contact-item:hover .icon-box::before{
    transform: scale(1);
}

.sidebar-cta-contact-item .icon-box img{
	position: relative;
	max-width: 24px;
	transition: all 0.3s ease-in-out;
	z-index: 1;
}

.sidebar-cta-contact-item:hover .icon-box img{
	filter: brightness(0) invert(1);
}

.cta-contact-item-content{
	width: calc(100% - 80px);
}

.cta-contact-item-content p{
    font-size: 20px;
    color: #fff;
    margin: 0;
}
.our-faqs{
	padding: 100px 0;
}

.our-faqs-content{
	position: sticky;
	top: 20px;
}

.our-faqs-content .section-title{
	margin-bottom: 20px;
}

.faq-accordion .accordion-item{
    border-bottom: 1px solid #edededf2;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-right: 0;
    border-left: 0;
}

.faq-accordion .accordion-item:last-child{
    margin-bottom: 0;
	padding-bottom: 0;
    border-bottom: none;
}

.faq-accordion .accordion-header .accordion-button{
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2em;
    color: #022b6f;
    padding-right: 30px;
    transition: all 0.3s ease-in-out;
}

.faq-accordion .accordion-button:not(.collapsed){
    margin-bottom: 10px;
}

.faq-accordion .accordion-item .accordion-button::after, 
.faq-accordion .accordion-item .accordion-button.collapsed::after{
    /* content: '\2b'; */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 28px;
    top: 50%;
    font-size: 20px;
    color: #01296c;
    transform: translateY(-50%);
    transition: all 0.3s ease-in-out;
}



.accordion-item .accordion-body p{
    margin-bottom: 15px;
    font-size: 14px;
}

.accordion-item .accordion-body p:last-child{
    margin-bottom: 0;
}


.section-title h2 {
    margin-bottom: 19px;
    font-size: 23px;
    color: #d1973b;
}
#companyTabs {
    border-bottom: none;
    display: flex;
    justify-content: center;
    background-color: #e9ecef;
    border-radius: 30px;
    width: fit-content;
    margin: auto;
}
#companyTabs .nav-link {
    border-radius: 25px;
    padding: 10px 30px;
    font-size: 16px;
    font-weight: bold;
    color: #6c757d;
    background-color: transparent;
    transition: 0.3s;
    border: none;
    margin: 0;
}
#companyTabs .nav-link.active {
    background-color: #264757;
    color: white;
}
.company-card {
    border: 1px solid #ddd;
    padding: 20px;
    text-align: center;
    background: #fff;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}
.company-card img {
    max-width: 100px;
    margin-bottom: 10px;
}

.company-card h5 {
    font-size: 14px;
    font-weight: 600;
}
.casestudy-slider-item {
    background-color: #f0eeee;
    display: flex;
    padding: 7px;
    -webkit-box-align: center;
    align-items: center;
    border-radius: 9px;
    flex-wrap: wrap;
    box-shadow: 0px 10px 15px #0000000D;
    margin-bottom: 29px;
}
.casestudy-slider-item .caseimg {
    float: right;
    width: 170px;
    border: 3px solid #ffffff1f;
    height: 220px;
    position: relative;
    z-index: 9;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 10px #000000a6;
}
.slick-slide img {
    display: block;
    max-width: 100%;
}
.casestudy-slider-item .casecontent {
    width: calc(100% - 170px);
    text-align: right;
}

.casecontent {
    padding: 13px 13px 19px;
    padding-left: 0;
}
.case-number {
    font-size: 24px;
    color: #2E1E52;
    border-bottom: 2px solid #b98057;
}
.casecontent .title {
    margin-top: 18px;
    color: #1b0f0f;
    font-family: 'Almarai', sans-serif;
    line-height: 1.2;
    font-weight: 700;
    font-size: 14px;
    overflow: hidden;
}
.casecontent .para {
    color: #8a8383;
    margin-bottom: 12px;
    font-size: 12px;
    line-height: 25px;
    font-family: 'Almarai', sans-serif;
}
.read-more-btn {
    color: #ffffff;
    font-weight: 700;
    font-family: changa;
    margin-top: 25px;
    display: block;
    text-decoration: none;
}

.caseimg img {
    width: 100%;
    min-height: 100%;
    height: auto;
    max-width: 100%;
}
.read-more-btn  {color: #fff;margin: 0 auto;background-color: #264757;z-index: 1;height: 50px;width: 115px;transition: 0.35s all ease-in-out;display: block;font-size: 14px;font-weight: 700;line-height: 49px;position: relative;text-align: center;font-family: 'Almarai', sans-serif;}
.read-more-btn:before {
    top: 10px;
    left: 10px;
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    transition: 0.35s all ease-in-out;
    border: 2px solid #264757;
}
 .read-more-btn:hover:before {
        top: -10px;
        left: -10px;
        border: 2px solid #264757;
        transition: 0.55s all ease-in-out;
}
 .read-more-btn:hover{
    background: #d1973b;
    color:#000;
}
.section-content-white {
    text-align: center;
    display: block;
    margin-bottom: 27px;
}

.section-content-white .section-title {
    color: #000;
    font-family: 'Almarai', sans-serif;
    margin-bottom: 23px;
    font-weight: 700;
    font-size: 26px;
}
.section-content-white .section-para  {
    color: #7d7c7c;
    margin-bottom: 0;
    font-size: 19px;
    text-align: center;
    line-height: 25px;
    font-family: 'Almarai', sans-serif;
}
.side-menu-main {
    position: sticky;
    top: 30px;
}
.portfolio-girl-menu-main {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: -120px;
}
.portfolio-girl-menu-main img {
    border-radius: 50%;
    width: 195px;
    height: 195px;
}
.list-menu {
    background: #000000;
    padding: 20px;
    border-radius: 30px;
    margin-bottom: 20px;
}
.side-menu-arya {
    color: #FFF;
    text-align: center;
    font-size: 19px;
    font-weight: 700;
    line-height: 48px;
    padding-top: 90px;
    margin-bottom: 0;
}
.web-arya {
    color: #838485;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    padding-top: 10px;
    padding-bottom: 0;
}
.media-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.media-icons {
    display: flex;
    align-items: center;
    color: #fff;
    justify-content: center;
    transition: all 0.3s ease-in-out;
}
.media-icons:hover {
    border-radius: 10px;
    background: #FFF;
    color:#000;
    transition: all 0.3s ease-in-out;
    width: 53px;
}
.media-icons:hover i {
    filter: brightness(0) saturate(100%) invert(11%) sepia(1%) saturate(1367%) hue-rotate(161deg) brightness(98%) contrast(97%);
}
.phone-text {
    color: #838485;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    margin-bottom: 9px;
}
.phone-num {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
    border-bottom: 1px solid #fcfcfc42;
    padding-bottom: 5px;
}
.Hire-Me-side-menu {
    width: 100%;
    margin-top: 40px;
}
.Hire-Me-side-menu a {
    justify-content: center;
    color: #FFF;
    border-top: 2px solid #FFF;
    border-right: 4px solid #FFF;
    border-bottom: 4px solid #FFF;
    border-left: 2px solid #FFF;
}
.aryaBtn {
    color: #000000;
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    border-radius: 20px;
    border-top: 2px solid #000000;
    border-right: 4px solid #000000;
    border-bottom: 4px solid #000000;
    border-left: 2px solid #000000;
    padding: 12px 24px;
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: center;
    gap: 10px;
}
.hireMe-svg-side {
    filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(5%) hue-rotate(269deg) brightness(101%) contrast(104%) !important;
}
.aryaBtn:hover {
    background: #000000;
    color: #ffffff;
    border-radius: 0;
}

ul.star-ratings-rating-background {
    margin: 0;
    padding: 0;
    display: block;
    text-align: center;
}

ul.star-ratings-rating-background i {
    color: #e5b730;
}

.media-icons i {
    padding-left: 7px;
}

.phone-num p {
    margin-bottom: 0;
}
.section-two,
.section-three,
.section-four,
.section-five,
.section-six,
.section-Seven,
.section-eight,
.section-nine {
    background: #f5f5f5;
    padding: 10px;
    border-radius: 30px;
    margin-bottom: 30px;
    padding-top: 20px;
    padding-bottom: 0px;
}
.about-col {
    border-left: 2px solid #93939329;
    padding: 0;
}
.arya-stack-about {
    color: #000000;
    font-size: 25px;
    font-weight: 700;
}
.arya-stack-about span {
    color: #000000;
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
}
.WebExperts {
    color: #838485;
    font-size: 15px;
    font-weight: 500;
    line-height: 24px;
    padding-top: 5px;
}
.yer-exp-box-main {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 20px;
    margin-top: 33px;
}
.yer-exp-box {
    padding: 7px 13px;
    border-radius: 30px;
    border: 2px dashed #b5bbc2;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 240px;
}
.yer-exp-box:hover {
    border: 2px dashed #000000;
    border-radius: 0;
}
.yer-exp-box .degit {
    color: #000000;
    font-size: 40px;
    font-weight: 700;
    line-height: 40px;
}
.yer-exp-box div p {
    color: #000000;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}
.self-taught-col {
    padding-right: 60px;
}
.self-taught {
    color: #838485;
    font-size: 14px;
    font-weight: 400;
    padding-bottom: 2px;
    line-height: 24px;
    margin: 0;
}
.self-taught span {
    color: #000000;
    font-weight: 500;
    font-size: 15px;
}
.visionary {
    color: #838485;
    font-size: 15px;
    font-weight: 400;
    line-height: 28px;
}
.about-deatils-head {
    margin-top: 20px;
}
.about-detail-main {
    display: flex;
    align-items: center;
    padding-bottom: 12px;
    width: 100%;
}
.about-detail {
    color: #838485;
    font-size: 13px;
    font-weight: 700;
    line-height: 24px;
    max-width: 160px;
    width: 100%;
    margin-bottom: 0;
}
.about-detail-info {
    color: #000000;
    font-size: 11px;
    font-weight: 700;
    line-height: 24px;
    margin-bottom: 0;
}
.about-detail-info::before {
    content: ":";
    color: #838485;
    margin-right: 30px;
}
.creative {
    color: #000000;
    font-size: 20px;
    font-weight: 700;
    line-height: 62px;
    padding-bottom: 20px;
}
.education {
    display: flex;
    position: relative;
    z-index: 1;
    margin-bottom: 38px;
}
.education::before {
    content: "";
    border-left: 2px solid #000000;
    position: absolute;
    top: 0;
    right: 11px;
    bottom: 0;
    z-index: -1;
}
.small_yellow_border {
    border: 2px solid #000000;
    border-radius: 100%;
    padding: 5px;
    background-color: #ffffff;
}
.small_yellow_circle {
    width: 10px;
    height: 10px;
    border-radius: 100%;
    background-color: #000000;
}
.small_yellow_border_main {
    padding-right: 20px;
}
.bachelor {
    color: #000000;
    font-size: 16px;
    line-height: 28px;
    font-weight: 500;
    margin: 0;
    padding-bottom: 10px;
    transition: all 0.3s;
}
.cursus {
    color: #838485;
    font-size: 14px;
    line-height: 24px;
    font-weight: 400;
    transition: all 0.3s;
    margin-bottom: 0;
}
.university {
    padding-bottom: 12px;
    font-size: 16px !important;
    margin-bottom: 0;
    color: #d1973b;
}
.box-outer {
    background-color: #1e1e1f;
    border: 1px solid #383838;
    border-radius: 20px;
    box-shadow: -4px 8px 24px rgba(0, 0, 0, 0.25);
    padding: 1.875rem;
    position: relative;
}
.sticky-column {
    margin-top: 0;
    transition: all .3s ease-in-out;
}
.sidebar .avatar-box {
    background: linear-gradient(137.84deg, #3F3F40 2.69%, #303030 93.75%);
    border-radius: 32px;
    margin: 1.875rem 1.875rem 1.25rem;
    overflow: hidden;
    height: calc(100% - 3.75rem);
    width: calc(100% - 3.75rem);
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
.sidebar .avatar-box img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    max-width: 100%;
}
.sidebar__name {
    font-size: 1.625rem;
    font-weight: 500;
    margin-bottom: 1rem;
    position: relative;
    color: #fff;
    line-height: 1.3;
}
.badge {
    background: #2f596e;
    font-size: 0.75rem;
    font-weight: 300;
    border-radius: 8px;
    padding: 0.5rem 1rem;
}
.badge {
    display: inline-block;
    line-height: 1;
    color: #fff;
    text-align: center;
}
.separation {
    background: #383838;
    margin: 2rem 0;
    height: 1px;
    width: 100%;
}
.details-info {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0.5rem;
}
.details-info__item {
    color: #fff;
    font-size: 0.875rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 1.75rem;
    text-overflow: ellipsis;
    white-space: nowrap;
    position: relative;
}
.icon-box {
    font-size: 1.125rem;
    line-height: 44px;
    margin-left: 1rem;
    text-align: center;
    height: 43px;
    width: 44px;
    position: relative;
    border-radius: 6px;
    z-index: 999;
    color: #e0a64b;
    background: linear-gradient(135deg, rgba(255, 218, 109, 0.25) 0%, rgba(255, 189, 94, 0) 59.86%), #202021;
}

.contacts-block__info {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}
.overhead {
    color: #d6d6d6;
    font-size: 0.75rem;
    font-weight: 400;
    display: block;
    opacity: .7;
}
.details-info__item a {
    color: #fcfcfc;
    -webkit-text-fill-color: inherit;
    text-decoration: none;
}
.separation {
    background: #383838;
    margin: 2rem 0;
    height: 1px;
    width: 100%;
}
.social {
    text-align: center;
}
.social__link {
    font-size: 1.125rem;
    color: #fcfcfc;
    -webkit-text-fill-color: inherit;
    opacity: .6;
    margin: 0 0.375rem;
}
.contact-form {
    position: relative;
    margin-bottom: 20px;
}

.contact-form form .form-group {
    position: relative;
    margin-bottom: 24px;
}

.contact-form form .form-group input, .contact-form form .form-group select {
    padding-right: 82px;
}

.contact-form form .form-group .field-label {
    position: absolute;
    right: 0px;
    top: 0;
    width: 58px;
    height: 53px;
    border-left: 1px solid #eeedf2;
    line-height: 25px;
    padding: 15px 0;
    text-align: center;
    z-index: 1;
}
form .row .form-group {
    margin-bottom: 30px;
}
form .form-group {
    position: relative;
    margin-bottom: 20px;
}
.contact-form form .form-group input {
    position: relative;
    display: block;
    width: 100%;
    color: #101010;
    line-height: 46px;
    padding: 13px 24px;
    height: 53px;
    font-size: 12px;
    font-weight: 400;
    background: #ffffff;
    margin: 0px;
    border-radius: 7px;
    border: 1px solid #eeedf2;
    -webkit-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    transition: all 300ms ease;
    padding-right: 68px;
}
.title__separate {
    margin-bottom: 2.3125rem;
    position: relative;
    color: #fff;
    font-size: 15px;
}
.title__separate::before {
    content: '';
    background: #d1973b;
    border-radius: 0.5rem;
    height: 0.3125rem;
    position: absolute;
    bottom: -1.0625rem;
    right: 0;
    width: 2.5rem;
    z-index: 1;
}
.services-style2-grids .grid {
    margin-bottom: 24px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 1px solid #000;
}
.faq-catagerylistpictuuy {
    position: relative;
    display: block;
}

.eidtsidebar {
    position: sticky;
    top: 30px;
}

.eidtsidebar figure.avatar-box {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: -120px;
}

.eidtsidebar .listpictuuy {
    background: #e9e3e32e;
    padding: 20px;
    border-radius: 30px;
    margin-bottom: 20px;
    border: 1px solid #c8c1c1;
    text-align: center;
}

.eidtsidebar figure.avatar-box img {
    border-radius: 50%;
    width: 195px;
    height: 195px;
}

.eidtsidebar .listpictuuy h3.title {
    color: #060303;
    font-size: 19px;
    font-weight: 700;
    line-height: 48px;
    padding-top: 95px;
    margin-bottom: 0;
}

ul.toxiopser {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: right;
    margin-top: 24px;
}


ul.toxiopser li {
    margin-bottom: 20px;
}

ul.toxiopser li a {
    position: relative;
    display: block;
    font-weight: 400;
    text-transform: capitalize;
    color: #5b6778;
    padding-left: 25px;
    transition: all 0.3s ease-in-out;
}

ul.toxiopser li a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    background-image: url('../img/arrow-text.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    transition: all 0.3s ease-in-out;
}

.panel-body {
    border: 1px solid #ddd;
    background-color: #f5f5f5;
    border-radius: 15px;
    background-color: #fff;
    overflow: hidden;
}

.account-info-wrapper {
    background-color: #f5f5f5;
    border-color: #ddd;
    padding: 15px 15px;
    position: relative;
    display: block;
    overflow: hidden;
}

.account-info-wrapper h4 {
    font-size: 14px;
    margin: 0;
    color: #2f596e;
    font-weight: 600;
    display: inline-block;
    font-family: 'Almarai';
}

.account-info-wrapper h5 {
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    color: #d1973b;
    font-family: 'Almarai';
    float: left;
}

.panel-body form {
    padding: 15px;
}

.panel-body label.form-label {
    color: #474747;
    font-size: 14px;
    font-family: 'Almarai';
    margin-bottom: 10px;
}

.panel-body .form-control, .panel-body select {
    height: 50px;
    border-radius: 5px;
    border: 1px solid #c2bfbf;
    font-size: 13px;
}
.billing-back-btn {
    display: flex;
    justify-content: space-between;
    margin-top: 26px;
    align-items: center;
}
 .billing-back-btn .billing-back a {
    color: #212121;
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Almarai';
}
.billing-back-btn .billing-back a i {
    font-size: 15px;
    color: #ff7004;
}
.billing-back-btn .billing-btn button, .billing-btn.back a {
    background-color: #1b1912;
    border: medium none;
    color: #ffffff;
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Almarai';
    line-height: 1;
    padding: 16px 35px 17px;
    cursor: pointer;
    transition: all .3s ease 0s;
    outline: 0;
    border-radius: 7px;
}

.panel-body form.off_form {
    padding: 3px;
}

.panel-body form.off_form .billing-back-btn {
    padding: 7px;
}
.common-card ,.large-12.columns {
    width: 100%;
    padding: 30px 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    background: #f7f7f7;
}
.card-header {
    padding: 0px;
    padding-bottom: 18px;
    margin-bottom: 25px;
    position: relative;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e8e8e8;
}
.card-header:first-child {
    border-radius: calc(.25rem - 1px) calc(.25rem - 1px) 0 0;
}
.card-header::before {
    position: absolute;
    content: "";
    bottom: -2px;
    right: 0px;
    width: 50px;
    height: 2px;
    background: #264757;
}
 .card-header .card-title {
    font-weight: 600;
    margin-bottom: 0px;
    font-size: 18px;
    line-height: 26px;
}
.ad-details-author {
    text-align: center;
  }
  .ad-details-author .author-img {
    border-radius: 50%;
    border: 3px solid #0044bb;
    margin-bottom: 10px;
    position: relative;
    width: 105px;
    display: block;
    margin: 0 auto;
  }
  
  .ad-details-author .author-img img {
    width: 100px;
    border-radius: 50%;
    border: 3px solid #ffffff;
  }
  
  .ad-details-author .author-img::before {
    position: absolute;
    content: "";
    bottom: 0px;
    right: 15px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #aaaaaa;
    border: 2px solid var(--white);
  }
  
  .ad-details-author .author-img.active::before {
    background: #11b76b;
  }
  
  .ad-details-author .author-meta {
    margin-bottom: 20px;
    margin-top: 13px;
  }
  
  .ad-details-author .author-meta h4 a {
    color: #232d3b;
    text-transform: capitalize;
    transition: all linear .3s;
    -webkit-transition: all linear .3s;
    -moz-transition: all linear .3s;
    -ms-transition: all linear .3s;
    -o-transition: all linear .3s;
    font-size: 18px;
  }
  .ad-details-author .author-meta h4 a:hover {
    color: #999;
  }
  
.ad-details-author .author-meta h5 {
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: #777777;
    margin-bottom: 10px;
}
  
.ad-details-author .author-meta p {
    font-size: 15px;
    line-height: 22px;
}
  
.ad-details-author .author-widget {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}
  
.ad-details-author .author-widget a,
.ad-details-author .author-widget button {
    width: 38px;
    height: 38px;
    padding: 8px;
    font-size: 14px;
    line-height: 22px;
    text-align: center;
    margin: 0px 10px;
    color: #777777;
    background: #f5f5f5;
    border-radius: 50%;
    border: 1px solid #e8e8e8;
    transition: all linear .3s;
    -webkit-transition: all linear .3s;
    -moz-transition: all linear .3s;
    -ms-transition: all linear .3s;
    -o-transition: all linear .3s;
}
.ad-details-author .author-widget a:hover,
.ad-details-author .author-widget button:hover {
    color: #ffffff;
    background: #0044bb;
    border-color: #0044bb;
    box-shadow: 2px 3px 8px rgba(0, 0, 0, 0.1);
}
.ad-details-author .author-list li {
    padding: 8px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-content: space-between;
    border-top: 1px solid #e8e8e8;
}
.ad-details-author .author-list li:last-child {
    border-bottom: 1px solid #e8e8e8;
}
.ad-details-author .author-list li h6,
.ad-details-author .author-list li p {
  font-size: 15px;
  font-weight: 500;
  text-transform: capitalize;
}

  

ul.author-list {
    padding: 0;
}

.addpast {
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    height: auto;
}

.addpast img {
    display: block;
    overflow: hidden;
    width: 100%;
    border-radius: 6px;
}
.ad-details-breadcrumb {
    margin-bottom: 18px;
}
.breadcrumb {
    align-items: center;
    background: none;
    padding: 0px;
    margin: 0px;
}
.breadcrumb li {
    text-transform: capitalize;
}
.ad-details-breadcrumb .flat-badge {
    font-size: 14px;
    padding: 3px 10px;
    margin-left: 12px;
}
.flat-badge {
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 13px;
    line-height: 18px;
    letter-spacing: 0.3px;
    text-transform: capitalize;
}
.sale {
    background: #dc3545;
}
.ad-details-breadcrumb .breadcrumb-item a {
    color: #555555;
    text-shadow: 2px 3px 8px rgba(0, 0, 0, 0.1);

}
.ad-details-breadcrumb .breadcrumb-item {
    color: #555555 !important;
}
.ad-details-breadcrumb .breadcrumb-item+.breadcrumb-item::before{
    color: #555555 !important;
}
.ad-details-breadcrumb {
    margin-bottom: 18px;
}
.ad-details-address {
    font-weight: 500;
    margin-bottom: 8px;
    color: #555555;
    position: relative;
    font-size: 18px;
    line-height: 26px;
}
.ad-details-title {
    font-size: 28px;
    line-height: 36px;
    margin-bottom: 30px;
    font-weight: 700;
    color: #232d3b;
}
.ad-details-meta {
    margin-bottom: 30px;
    display: grid
;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    grid-template-rows: auto;
    grid-column-gap: 15px;
    grid-row-gap: 15px;
}
.ad-details-meta a {
    display: flex;
    align-items: center;
    justify-content: center;
}
.ad-details-meta a i {
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    text-align: center;
    font-size: 14px;
    margin-left: 8px;
    color: #ffffff;
}
.ad-details-meta .view i {
    background: #8edb04;
}
.ad-details-meta a span {
    color: #555555;
}
.ad-details-meta .click i {
    background: #01cbd5;
}
.ad-details-meta .rating i {
    background: #e8ce00;
}

.ad-details-slider-group {
    width: 100%;
    position: relative;
    display: block;
    overflow: hidden;
    height: 335px;
    margin-bottom: 26px;
}

.ad-details-slider-group img {
    width: 100%;
    border-radius: 10px;
    display: block;
    overflow: hidden;
    height: 100%;
}

.ad-thumb-slider {
    display: block;
    overflow: hidden;
    width: 100%;
    position: relative;
}

.imgmuyyy {
    display: block;
    position: relative;
    overflow: hidden;
    width: 100%;
    border-radius: 10px;
    height: 200px;
}

.imgmuyyy img {
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ad-details-action {
    position: relative;
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
}

.ad-details-action p {
    font-size: 14px;
    line-height: 26px;
    font-family: 'Almarai', sans-serif;
}
.ad-details-action ul li {
    margin-bottom: 17px;
    padding-right: 25px;
    position: relative;
    display: inline-block;
    margin-left: 61px;
  }
  
  .ad-details-action ul li::before {
    position: absolute;
    content: "\f192";
    top: 0px;
    right: 0px;
    font-size: 15px;
    font-weight: 900;
    font-family: 'Font Awesome 5 Free';
    color: #0044bb;
  }

ul {
    padding: 0;
}
.card .card-body {
    padding: 20px;
    background: #ebdede42;
}
.profile-name img {
    margin-left: 20px;
    border-radius: 100px;
    max-width: 60px;
    display: block;
  }
  .profile-name p {
    margin-bottom: 0px;
    font-size: 14px;
  }
  .profile-reg {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 20px 0px;
    text-align: center;
    position: relative;
    border-bottom: 1px solid rgb(158 158 170 / 78%);
  }
  .profile-reg p {
    margin: 0px;
    color: #AEAED5;
    font-size: 14px;
  }
  .profile-reg .registered {
    width: 50%;
  }
  .profile-reg .rank {
    width: 50%;
  }
  .profile-reg .reg_divider {
    position: absolute;
    width: 2px;
    height: 50px;
    background: #d1d1dd;
    left: 0;
    right: 0;
    text-align: center;
    margin: 0 auto;
  }
  .profile-wallet-nav {
    padding: 15px 0px;
  }
  .profile-wallet-nav ul {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    border-bottom: 0px;
  }
  .profile-wallet-nav ul li a {
    display: block;
    padding: 15px 0px;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    color: #3983a7;
  }
  .profile-wallet-nav ul li a .icons {
    height: 40px;
    width: 40px;
    border-radius: 100px;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: #fff;
    margin-left: 5px;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background: #d1973b;
    position: relative;
    top: 5px;
  }
  .profile-wallet-nav ul li a .icons i {
    line-height: 0;
  }
  .profile-wallet-nav ul li a .fa-angle-left {
    position: absolute;
    left: 0;
    font-weight: bold;
    color: #264757;
    top: 25px;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
  }
  .profile-wallet-nav ul li a:hover, .profile-wallet-nav ul li a:focus, .profile-wallet-nav ul li a.active {
    color: #000000;
  }
  .profile-wallet-nav ul li a:hover .fa-angle-left, .profile-wallet-nav ul li a:focus .fa-angle-left, .profile-wallet-nav ul li a.active .fa-angle-left {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    color: #d1973b;
  }    

.profile-name {
    position: relative;
    display: block;
}

.profile-name h4 {
    font-size: 16px;
}

.profile-reg h5 {
    font-size: 16px;
}

.panel-body .choices__inner input {
    height: auto;
    border: 0;
}

.panel-body textarea {
    border-radius: 5px;
    font-size: 13px;
}

.panel-body .form-check-input {float: right;}

.panel-body 
 label.form-check-label {
    font-size: 13px;
}

.billing-back label.form-check-label {
    margin-right: 22px;
    color: #333;
    font-weight: 800;
}

.billing-back input#flexCheckDefault {
    border-width: 2px;
}
.tc-services-st4 {
    position: relative;
    padding: 80px 0;
    background-image: url(../img/ser_bg.png);
    background-size: cover;
    background-position: center;
  }

.tc-services-st4 h2 {
    text-align: center;
    margin-bottom: 29px;
    font-size: 27px;
}
.tc-services-st4 .service-card {
  position: relative;
  padding: 40px 30px;
  border-radius: 10px;
  margin-top: 30px;
  background-color: #FF986F;
  -webkit-box-shadow: 0px 44px 44px 0px rgba(0, 0, 0, 0.05);
  box-shadow: 0px 44px 44px 0px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}
.tc-services-st4 .service-card .cont {
  position: relative;
  z-index: 20;
}
.tc-services-st4 .service-card .icon {
  height: 75px;
  margin-bottom: 26px;
}
.tc-services-st4 .service-card .wh-cir {
  position: absolute;
  left: -230px;
  top: -300px;
  width: calc(100% + 400px);
  height: calc(100% + 270px);
  border-radius: 50%;
  background-color: #fff;
}
.tc-services-st4 .service-card .float-cir {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  bottom: 30px;
  right: 50px;
  background-image: linear-gradient(124deg, #FF5F6D 22.75%, #FFC371 72.61%);
}
.tc-services-st4 .row .col-lg-3:nth-of-type(2) .service-card {
  background-color: #99D232;
}
.tc-services-st4 .row .col-lg-3:nth-of-type(2) .service-card .float-cir {
  background-image: linear-gradient(126deg, #08B259 22.58%, #F3E51A 73.54%);
}
.tc-services-st4 .row .col-lg-3:nth-of-type(3) .service-card {
  background-color: #8ACAFE;
}
.tc-services-st4 .row .col-lg-3:nth-of-type(3) .service-card .float-cir {
  background-image: linear-gradient(125deg, #7E8FFF 22.32%, #92EFFD 72.69%);
}
.tc-services-st4 .row .col-lg-3:nth-of-type(4) .service-card {
  background-color: #865DBB;
}
.tc-services-st4 .row .col-lg-3:nth-of-type(4) .service-card .float-cir {
  background-image: linear-gradient(124deg, #392D69 22.75%, #B57BEE 72.61%);
}
.tc-services-st4 .line {
    position: absolute;
    bottom: -22px;
    left: 0;
    width: 100%;
    z-index: -1;
}

.tc-services-st4 .service-card .cont h6 {
    margin-bottom: 43px;
}

.tc-services-st4 .service-card .cont h6 a {
    color: #000;
}

.panel-body 
 textarea.form-control.podrr {
    height: 160px;
}
.error{
    color: red;
}

.iconpoot {
    position: absolute;
    font-size: 21px;
    margin-top: 13px;
    right: 27px;
    background: #000;
    border-radius: 20px;
    width: 40px;
    height: 40px;
    text-align: center;
    color: #fff;
    line-height: 40px;
}
.intl-tel-input {
    width: 100%;
}
.form-label {
    margin-bottom: 10px;
}

.billing-btn.back a i {
    margin-left: 14px;
}

p.display-4.mb-4.connnnsk {
    font-size: 19px;
}

.form-floating>label {
    left: auto;
}

.plootext {
    padding: 15px;
    border-radius: 8px;
    border: 1px solid transparent;
    box-shadow: 0 15px 30px -3px rgba(0, 0, 0, 0.5);
    -webkit-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}
 .plootext .pano td {
    padding: 13px 9px;
    vertical-align: top;
    border-bottom: 1px solid rgba(41, 47, 57, 0.05);
    font-size: 14px;
}

.plootext .pano td i {
    padding-left: 9px;
    color: #d1973b;
}

.plootext .pano td span {
    color: #8d8a8c;
}

.tabletext {
    position: relative;
    display: block;
    overflow: hidden;
    padding: 10px;
}

.tabletext h4 {
    font-size: 19px;
    font-weight: 600;
    margin-top: 11px;
    margin-bottom: 11px;
}

.tabletext p {
    font-size: 13px;
}

.tabletext thead.thead-dark {
    background: #000;
}

.tabletext thead.thead-dark tr {
    color: #fff;
    font-size: 13px;
}

.tabletext tr  {
    font-size: 12px;
}

.tabletext tr a button {
    font-size: 12px;
    color: antiquewhite;
}
.tabletext tr:last-child th ,.tabletext tr:last-child td {
    border-bottom: none;
}

.madeoper {
    text-align: center;
    margin-bottom: 17px;
}

section.requests.clear-div table th {
    font-size: 13px;
}

a.btn.btn-primary.nav-link.py-2.px-4.me-2.flex-shrink-0 {
    padding-left: 5px !important;
    padding-right: 10px !important;
}

.herassw .btn {
    font-size: 14px;
    padding: 10px 6px !important;
    margin-left: 5px;
    margin-right: 0 !important;
}

.herassw a.btn.btn-outline-dark.opstre {
    margin-left: 0;
}
ul#videotabs {
    margin: 0;
    list-style: none;
    width: 100%;
    border: 0;
    margin-bottom: 0 !important;
}

ul#videotabs li {
    border: 1px solid #c0b8b8;
    border-radius: 4px;
    margin-bottom: 10px;
    width: 100%;
    text-align: right;
}

ul#videotabs li a.active , ul#videotabs li a.show {
    border-radius: 0;
    background: 0;
    border: 0;
}

ul#videotabs li a {
    width: 100%;
    color: #6c6c6c;
    font-size: 13px;
    cursor: pointer;
}

ul#videotabs li a i {
    width: 40px;
    height: 40px;
    border-left: 1px solid #c0b8b8;
    font-size: 16px;
    line-height: 40px;
    margin-left: 15px;
}


.card-header .card-title i {
    margin-left: 10px;
    color: #d1973b;
    font-size: 21px;
}
.large-12.columns .description p {
    font-size: 13px;
    margin-bottom: 30px;
    color: #6c6c6c;
}
.large-12.columns .description .profile-margin {
    margin-bottom: 10px;
 }
.large-12.columns .description .profile-margin:last-of-type {
    margin-bottom: 50px; 
}
.large-12.columns .description button {
    padding: 0 10px;
    height: 30px;
    border: 1px solid #ececec;
    border-radius: 4px;
    font-size: 14px;
    color: #fff;
    background: #264757;
    width: 138px;
    text-align: right;
}
.large-12.columns .description button i {
    display: inline-block;
    margin-left: 10px;
}
.large-12.columns .description .inner-btn {
    background: #f6f6f6;
    font-size: 13px;
    color: #6c6c6c;
    padding: 0 10px;
    height: 30px;
    text-transform: capitalize;
    display: inline-block;
    line-height: 30px;
    border-radius: 4px; 
}
.large-12.columns .description .inner-btn:hover {
    background: #e96969;
    color: #fff; 
}
.video-img {
    width: 160px;
    height: 140px;
    padding: 10px;
    border-left: 1px solid #c2baba;
    overflow: hidden;
    float: right;
}

.profile-video {position: relative;display: block;overflow: hidden;border: 1px solid #c2baba;margin-bottom: 20px;}

.video-img a img {
    width: 100%;
    height: 100%;
    display: block;
    overflow: hidden;
}

.video-img a {
    position: relative;
}

.video-img a span.viedicon {
    position: absolute;
    display: block;
    top: 42px;
    right: 52px;
    left: 25px;
    text-align: center;
    color: #fff;
    font-size: 14px;
    width: 50px;
    line-height: 50px;
    height: 50px;
    background: #000;
    border-radius: 50%;
}

.media-object-section.media-video-content {
    float: left;
    width: calc(100% - 166px);
}
.video-content {
    width: 100%;
    border-bottom: 1px solid #ececec;
    padding-right: 11px;
}
 .video-content h5 {
    margin: 15px 0;
    line-height: 16px;
    font-size: 15px;
}
.video-content p {
    font-size: 13px;
    margin-bottom: 14px;
    color: #6c6c6c !important;
}
.video-detail {
    padding-top: 3px;
}
 .video-detail .video-stats {padding-top: 10px;}
.video-detail .video-stats span {
    font-size: 14px;
    color: #aaaaaa;
    display: inline-block;
    margin-left: 15px;
}
 .video-detail .video-stats span i {
    font-size: 14px;
    display: inline-block;
    color: #6c6c6c;
    margin-left: 5px; 
}
.video-detail .video-stats span:first-of-type i {
    color: #61ca37;
}
.video-btns {
    text-align: left;
    padding-top: 10px;
}
 .video-btns a.video-btn {
    display: inline-block;
    border: 1px solid #ececec;
    background: #f6f6f6;
    color: #6c6c6c;
    height: 30px;
    line-height: 27px;
    font-size: 13px;
    padding: 0 10px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    border-radius: 4px;
    margin-left: 10px; 
}
.video-btns a.video-btn i {
    display: inline-block;
    margin-left: 8px;
    font-size: inherit;
    color: #e96969;
    
}
.video-btns a.video-btn:hover {
    background: #e96969;
    border-color: #e96969;
    color: #fff; 
}
.video-btns a.video-btn:hover i {
    color: #fff; 
}
.video-btns button[type="submit"] {
    height: 30px;
    border: 1px solid #ececec;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    border-radius: 4px;
    background: #f6f6f6;
    color: #6c6c6c;
    font-size: 13px;
    text-transform: capitalize;
    line-height: 30px;
    padding: 0 10px; 
}
.video-btns button[type="submit"] i {
    display: inline-block;
    margin-left: 9px;
    color: inherit;
    font-size: inherit;
}
.video-btns button[type="submit"]:hover {
    background: #e96969;
    border-color: #e96969;
    color: #fff; 
}
.video-btns button[type="submit"]:hover i {
    color: #fff; 
}

ul#videotabs .nav-link.active, ul#videotabs .nav-item.show .nav-link {
    background: #264757;
    color: #fff;
}
.follower {
  margin-bottom: 20px;
  }
.follower .follower-img {
    height: 100px;
    display: block;
}
.follower .follower-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px 10px 0px 0px;
}
.follower span {
    display: block;
    border: 1px solid #ececec;
    text-align: center;
    height: 30px;
    line-height: 29px;
    color: #6c6c6c;
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 13px; 
}
.follower button {
    height: 30px;
    border: 1px solid #ececec;
    font-weight: 600;
    color: #fff;
    background: #d1973b;
    text-transform: capitalize;
    text-align: center;
    line-height: 30px;
    width: 100%;
    font-size: 12px;
    border-radius: 4px;
}
.follower button:hover {
    background: #e96969;
    color: #fff;
}
.comment-form p input , .comment-form p textarea {
	border: none;
	height: 50px;
	font-size: 14px;
	text-transform: uppercase;
	font-weight: 700;
	background-color: #e8f1f3;
	border-radius: 3px;
	border: none;
	border-bottom: 1px solid rgba(61, 104, 137, 0.2);
	color: #3d6889;
	padding-left: 20px;
	padding-right: 20px;
	padding-top: 15px;
	padding-bottom: 15px;
}
 .comment-form p textarea {
        height: auto;
 }
 .comment-respond button {
	font-size: 14px;
	font-weight: 400;
	padding: 17px 20px;
	margin-bottom: 4px;
	line-height: 1;
	display: inline-block;
	min-width: 8.5em;
	text-align: center;
	text-transform: uppercase;
	font-weight: 700;
	color: #ffffff;
	border: 1px solid #292a2e;
	background-color: #292a2e;
	border-radius: 3px;
	position: relative;
	-webkit-transition: all 0.4s linear 0s;
	transition: all 0.4s linear 0s;
}
.comments-area li {
	list-style: none;
	padding-top: 7px;
}

.comments-area .media {
	position: relative;
}

.comments-area .media-left {
	padding-right: 0;
}

.comments-area .media-left img {
	max-width: 70px;
	border-radius: 50%;
}

.comments-area .media-object {
	max-width: 70px;
}

.comments-area .media-body {
	padding: 15px 0 26px 20px;
}

.comment-list {
	margin: 0;
	padding: 0;
	position: relative;
}

.comment-list ol {
	padding-left: 15px;
}
.comment-body.media .media-body, .comment-body.media .media-left, .comment-body.media .media-right {
    display: table-cell;
    vertical-align: top;
}
.media .media-object {
	max-width: 100px;
	display: block;
}
.reply a.theme_button {
	position: absolute;
	left: 0;
	top: 5px;
	padding: 12px 7px;
	color: #264757;
	font-size: 0;
	text-align: center;
	opacity: 0.4;
	background-color: transparent;
	border: 1px solid #88adb9;
}

.reply a.theme_button:hover {
	opacity: 1;
}

.reply a.theme_button i {
	top: 0;
	font-size: 24px;
	line-height: 1;
}
.comment-meta {
	line-height: 1;
	margin-bottom: 0;
	padding-bottom: 32px;
	padding-right: 31px;
}

.comment-meta .comment-metadata {
	display: block;
	margin: 7px 0 10px;
}

.comment-meta .comment-date {
	display: block;
	margin-top: 2px;
	margin-bottom: 19px;
}

.comment-meta .author_url {
	font-family: 'Almarai';
	font-weight: 700;
	font-size: 20px;
	color: #264757;
}
.small-text {
	font-size: 12px;
	line-height: 1.3em;
	font-weight: 700;
	color: #85939e;
	font-weight: 500;
}
.comment-list ol {
    padding-left: 90px;
}


.comment-meta p {
    font-size: 15px;
    line-height: 21px;
}
.dz-team.style-1 {
    box-shadow: 0px 15px 50px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding-top: 22px;
    margin-bottom: 22px;
    overflow: hidden;
}
.dz-team.style-1 .dz-media {
    -webkit-transition: all 0.5s;
    -ms-transition: all 0.5s;
    transition: all 0.5s;
    width: 180px;
    height: 180px;
    margin-bottom: 0px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 70%;
}
.dz-media, .dz-post-media {
    position: relative;
    overflow: hidden;
}
.dz-team.style-1 .dz-media img {
    object-fit: cover;
    border-radius: 70%;
    padding: 13px;
}
.dz-team .dz-media img {
    width: 100%;
}
.dz-media img, .dz-post-media img {
    width: 100%;
    height: 100%;
}
.dz-team.style-1 .dz-media:after {
    content: "";
    height: 100%;
    width: 100%;
    border: 2px dashed #1379b7;
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 50%;
}
.dz-team.style-1:hover .dz-media:after {
    animation: dzTeam1 1s linear infinite;
}
.dz-team .dz-content {
    transition: all 0.5s;
    position: relative;
    text-align: center;
    padding: 19px;
    padding-top: 10px;
}
.dz-team.style-1 .dz-content .dz-name {
    margin-bottom: 5px;
    position: relative;
    display: block;
}
.dz-team .dz-name a {
    transition: all 0.5s;
    color: #222222;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 600;
}
.dz-team.style-1 .dz-content .dz-position {
    margin-bottom: 18px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.5s;
    color: #1379b7;
    display: block;
}
.dz-social-icon.icon-gap-5 ul {
    margin-left: -5px;
    margin-right: -5px;
}
.dz-social-icon.icon-gap-5 ul li {
    padding-left: 5px;
    padding-right: 5px;
    display: inline-block;
}
.btn-social {
  font-size: 18px;
  color: #fff;
  height: 40px;
  width: 40px;
  min-width: 40px;
  line-height: 40px;
  font-size: 16px;
  text-align: center;
  border-radius: 4px;
  transition: all 0.5s;
  display: block;
  padding: 0;
  border-color: #264757;
  background-color: #264757;
}

.dz-team.style-1 .Hire-Me-side-menu {
    margin-top: 10px;
}

.dz-team.style-1 .Hire-Me-side-menu a {
    background: #000000;
    color: #ffffff;
}
 .pagination.style-1.text-center {
    justify-content: center; }
 .pagination.style-1 li {
    margin: 0 8px; }
.pagination.style-1 li .page-numbers,
.pagination.style-1 li .page-link {
      height: 40px;
      min-width: 40px;
      line-height: 40px;
      border-radius: 8px;
      color: #222222;
      text-align: center;
      border: 0;
      padding: 0;
      transition: all 0.5s;
      font-size: 18px;
      padding: 0 10px;
      display: block;
      background-color: #fff;
      box-shadow: 0px 5px 25px rgba(0, 0, 0, 0.1);
}
.pagination.style-1 li .page-numbers span,
.pagination.style-1 li .page-link span {
    display: inline-block; 
}
.pagination.style-1 li .page-numbers.current, .pagination.style-1 li .page-numbers.active, .pagination.style-1 li .page-numbers:hover, .pagination.style-1 li .page-link.current, .pagination.style-1 li .page-link.active, .pagination.style-1 li .page-link:hover {
    background-color: #2563eb;
    border-color: #2563eb;
    box-shadow: 0px 5px 12px rgb(38 71 87 / 28%);
    color: #fff;
}
.pagination.style-1 li .page-numbers:last-child, .pagination.style-1 li .page-link:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}
.pagination.style-1 li .page-numbers:first-child, .pagination.style-1 li .page-link:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.flitersearch {
    position: relative;
    display: block;
    overflow: hidden;
    background: #fff;
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.textflexpo {
    justify-content: space-between;
    display: flex;
    font-size: 14px;
    line-height: 20px;
    color: #4b5563;
    margin-top: 5px;
}
h3.lunghtext {
    font-size: 20px;
    line-height: 28px;
    font-weight: 700;
    color: #111827;
}

.relative.inputsearch {
    position: relative;
    display: block;
}

.relative.inputsearch input {
    padding: 8px 40px 8px 16px;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Almarai', sans-serif;
}

.relative.inputsearch i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
}

.flitersearch.category {
    margin-top: 24px;
}

.flitersearch.category .form-check {
    padding-left: 0;
    cursor: pointer;
    margin-bottom: 12px;
}

.flitersearch.category .form-check input.inputform {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.flitersearch.category .form-check label {
    color: #4b5563;
    font-size: 16px;
    margin-right: 7px;
    position: relative;
    top: -5px;
}

.flitersearch.category .form-check  span.texyellow {
    color: rgb(245 200 25);
}

.flitersearch.category .form-check span {
    font-size: 16px;
    position: relative;
    margin-right: 7px;
    top: -5px;
    color: #4b5563;
}

.flitersearch.category .form-check  span.texyellow span.texgray {
    top: 0;
    color: rgb(154 161 172);
}

.flitersearch.category .form-check:last-child {
    margin-bottom: 0;
}

.course-card {
    position: relative;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 19px;
}

.course-card img {
    height: 189px;
    max-width: 100%;
    width: 100%;
    object-fit: cover;
    overflow: hidden;
    display: block;
}

.conevtext {
    padding: 15px;
    position: relative;
    display: block;
}

h4.titleblog {
    font-size: 19px;
    line-height: 28px;
    color: #111827;
    min-height: 56px;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

p.psecngb {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 16px;
    color: #4b5563;
}

.contentsmall {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 16px;
    color: #4b5563;
}

.contentsmall span.texyellow {
    color: rgb(245 200 25);
    margin-left: 4px;
}

.contentsmall i {
    margin-left: 4px;
}

.flexyoung {
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
    justify-content: space-between;
    display: flex;
    color: #4b5563;
    margin-bottom: 16px;
}

.flexyoung p {
    color: #2563eb;
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 0;
    font-weight: 700;
}

span.semiboldbg {
    font-size: 12px;
    line-height: 19px;
    padding: 4px 12px;
    background-color: rgb(197 218 246);
    border-radius: 999px;
    display: block;
    overflow: hidden;
    color: rgb(29 64 176);
}

.titlecall {
    margin-bottom: 48px;
}

.titlecall h1 {
    color: #000;
    font-size: 48px;
    font-weight: 900;
    border-bottom: 0px !important;
    margin: 0px !important;
}

.text-center.titlecall p {
    color: #4b5563;
    max-width: 672px;
    margin-top: 16px;
    margin-left: auto;
    margin-right: auto;
}

.sectionpattern {position: relative;display: block;margin-top: 88px;text-align: center;margin-bottom: 88px;background: #fff;background-image: radial-gradient(circle at 1px 1px, #d1d5db 1px, transparent 1px);background-size: 2rem 2rem;border-radius: 16px;border: 1px solid #e5e7eb;padding: 49px;overflow: hidden;}

.sectionpattern h2.textpri {
    font-size: 30px;
    line-height: 36px;
    font-weight: 900;
    color: #111827;
}

.sectionpattern p.textuto {
    max-width: 576px;
    margin-top: 16px;
    margin-left: auto;
    margin-right: auto;
    color: #4b5563;
    font-size: 16px;
}

.sectionpattern a.shadowcontentg {
    background-color: #2563eb;
    border-radius: 9999px;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 32px;
    padding-right: 32px;
    font-size: 18px;
    line-height: 28px;
    margin-top: 32px;
    display: inline-block;
    color: #fff;
    font-weight: 900;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 
            0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

a.shadowcontentg:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
    background-color: #1d4ed8;
}

.sectionpattern a.shadowcontentg i {
    margin-left: 8px;
}

.footer {background-color: rgba(31, 41, 55, 1);padding-bottom: 0 !important;}

.footer-item {
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
}

.footer-item img {
    height: 48px;
    margin-bottom: 16px;
    max-width: 100%;
}

.footer-item p {
    font-size: 14px;
    line-height: 20px;
    color: rgba(156, 163, 175, 1);
}

.footer-item a.verpouu {
    display: block;
    position: relative;
    width: 100%;
    color: rgba(156, 163, 175, 1);
    margin-top: 12px;
}
:root {
    --accent-primary: #2563eb;        
    --accent-primary-hover: #1e40af;  
}
.subscribe-container {
    display: flex;
}

.subscribe-container input[type="email"] {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #4b5563; 
    background-color: #374151; 
    color: white;
    border-radius: 0 6px 6px 0;
    outline: none;
}

.subscribe-container input[type="email"]:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 2px var(--accent-primary);
}

.subscribe-container button {
    background-color: var(--accent-primary);
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    border-radius: 6px 0 0 6px;
    transition: background-color 0.3s ease;
}

.subscribe-container button:hover {
    background-color: var(--accent-primary-hover);
}

.footer-btn {
    position: relative;
    display: block;
    width: 120px;
    margin-top: 16px;
}

.footer-btn a.socialmedica {
    color: rgba(156, 163, 175, 1);
    font-size: 22px;
    margin-right: 13px;
    margin-bottom: 14px;
    display: inline-block;
}

.copyright {
    position: relative;
    display: block;
    width: 100%;
    padding-top: 47px !important;
}

.copyright a.border-top {
    position: relative;
    display: block;
    width: 100%;
    border-top: 1px solid #e8e8e847 !important;
    padding-top: 22px;
}

.freverse {
    position: relative;
    display: block;
    overflow: hidden;
}
  @keyframes scroll-left-to-right {
    from { transform: translateX(100%); }
    to { transform: translateX(-100%); }
}

.freverse a {
    font-size: 14px;
    line-height: 20px;
    margin-left: 16px;
    color: rgba(107, 114, 128, 1);
}

.freverse a:last-child {
    margin-left: 0;
}

span.spantext {
    font-size: 14px;
    color: #787878 !important;
}

.news-banner {
    background-color: #284d68;
    padding: 0.25rem 0;
    overflow: hidden;
    align-items: center;
}

.news-label {
    background-color: #c79944;
    padding: 0.4rem 1rem;
    font-weight: 700;
    font-size: 0.8rem;
    white-space: nowrap;
    z-index: 2;
    position: relative;
    color: #fff;
}

.news-ticker {
    overflow: hidden;
    width: -webkit-fill-available;
}
.news-content {
    display: flex;
    white-space: nowrap;
    animation: scroll-left-to-right 15s linear infinite;
}
.news-content span {
    padding: 0 2rem;
    font-size: 0.85rem;
    color: #fff;
}

a.navbar-brand img {
    height: 76px;
}

.headernav.mx-lg-auto {
    position: relative;
    display: block;
    overflow: hidden;
    line-height: 84px;
}

.headernav a {
    color: #111827;
    font-weight: 700;
    margin: 0px 21px 0px 0px;
}

.headernav a.hnav.active {
    color: #2563eb;
}

.container.maintoo.mb-5 {
    margin-top: 159px;
}

.headernav a:first-child {
    margin: 0;
}

.spacereverse {
    position: relative;
    display: block;
    overflow: hidden;
    line-height: 81px;
    float: left;
	
}

a.open-signin-modal ,a.open-signup-modal {
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 16px;
    padding-right: 16px;
    color: #1a202c;
    font-weight: 700;
    font-size: 16px;
}

a.open-signup-modal {
    background-color: #284d68;
    border-radius: 9999px;
    color: #fff;
}

button.cartshoping {
    border: 0;
    background: 0;
    margin-right: 9px;
    font-size: 18px;
    line-height: 40px;
    position: relative;
    background-color: #f9fafb;
    border-radius: 9999px;
    width: 40px;
    height: 40px;
    text-align: center;
    color: #1a202c;
    display: inline-block;
}

button.cartshoping span.tobshop {
    font-size: 12px;
    line-height: 16px;
    color: #fff;
    background-color: rgb(239 68 68);
    border-radius: 9999px;
    width: 16px;
    height: 16px;
    right: -4px;
    top: -4px;
    position: absolute;
}

a.open-signin-modal {
    margin-right: 0;
    padding-right: 0;
}

.mainheader {
    position: relative;
    display: block;
    padding-bottom: 3px;
}
.sticky-header {
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #fff;
    box-shadow: 0 1px 3px 0 var(--shadow-color);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
 .section-pattern {
    background-image: radial-gradient(circle at 1px 1px, #e2e8f0 1px, transparent 0);
    background-size: 2rem 2rem;
}
.course-card {
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-color-hover);
    border-color: var(--accent-blue);
}

.headercarousel {
    position: relative;
    display: block;
    overflow: hidden;
    background-color: rgb(17 24 39);
 }

h1.mdtexto {
    font-size: 63px;
    line-height: 1.375;
    color: #fff;
    font-weight: 900;
}

span.spanyy {
    background: linear-gradient(90deg, #c79944, #284d68);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contenttexr p {
    font-size: 1.25rem;
    line-height: 1.75rem;
    color: rgb(229 231 235);
    margin-bottom: 2rem;
    text-align: right;
}

.buttonunder {
    position: relative;
}

.buttonunder a {
    background-color: #284d68;
    border-radius: 9999px;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    font-size: 1.125rem;
    line-height: 1.75rem;
    color: rgb(255 255 255);
    font-weight: 900;
}

section#services, section#about, section#experts, section#testimonials,section#partnerships {
    padding-top: 6rem;
    padding-bottom: 6rem;
    background-color: #f9fafb;
}

.textcebnll.text-center {
    margin-bottom: 4rem;
    position: relative;
}

.textcebnll.text-center h2 {
    font-size: 2.25rem;
    line-height: 2.5rem;
    color: #1a202c;
    font-weight: 900;
}
.gradient-text {
    background: linear-gradient(90deg, #c79944, #284d68);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.textcebnll.text-center p {
    max-width: 42rem;
    margin-top: 1rem;
    color: #4a5568;
    margin-left: auto;
    margin-right: auto;
}

.mnnnseheh20 {
    margin-bottom: 5rem;
}

h3.textxl.mb-10 ,h3.extrimary.mb-10 {
    font-size: 1.875rem;
    line-height: 2.25rem;
    color: #1a202c;
    text-align: center;
    margin-bottom: 2.5rem;
    font-weight: 700;
}

.acceprimar.mb-4, .bg-card ,.couopp {
    background-color: #ffffff;
    border-radius: 1rem;
    padding: 32px;
    text-align: center;
    box-shadow: 0 0 0 0 #0000, 0 0 0 #0000, 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.iconcebnt {
    color: #284d68;
    margin-bottom: 1rem;
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.acceprimar.mb-4 h4, .bg-card h3,.couopp h4 {
    font-size: 18px;
    line-height: 1.75rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: #1a202c;
}

.acceprimar.mb-4 p, .bg-card p,.couopp p {
    color: #4a5568;
    font-size: 14px;
    line-height: 1.25rem;
    text-align: center;
}

.twosex {
    position: relative;
}

.bg-card:hover ,.couopp:hover {
    box-shadow: 0 0 #0000, 0 0 #0000, 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

.iconbyss {
    color: #284d68;
    font-size: 2.25rem;
    background-color: rgb(219 234 254);
    border-radius: 0.75rem;
    width: 4rem;
    height: 4rem;
    line-height: 4rem;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 1.5rem;
}

section#courses {
    padding-top: 6rem;
    padding-bottom: 6rem;
    background: #fff;
}

section#courses .buttonunder {
    margin-top: 3rem;
    text-align: center;
}

section#courses .buttonunder a i {
    margin-right: 0.5rem;
}

section#about ,section#testimonials {
    background-color: #fff;
}

img.rouauto.object-cover {
    object-fit: cover;
    border-radius: 1rem 16px;
    width: 100%;
}

.oterre {
    position: relative;
    display: block;
}

.oterre h3 {
    color: #c79944;
    font-weight: 700;
    font-size: 16px;
}

.oterre h2 {
    font-size: 2.25rem;
    line-height: 2.5rem;
    color: #1a202c;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    font-weight: 900;
}

.oterre p {
    font-size: 1.125rem;
    line-height: 1.75rem;
    color: #4a5568;
    margin-bottom: 1.5rem;
}

ul.spacey4.mb-8 {
    margin-bottom: 2rem;
}

ul.spacey4.mb-8 li {
    position: relative;
    display: block;
    margin-top: calc(1rem * calc(1 - 0));
    margin-bottom: calc(1rem * 0);
}

ul.spacey4.mb-8 li i {
    color: #c79944;
    font-weight: 700;
    margin-left: 0.75rem;
    font-size: 1.25rem;
    line-height: 1.75rem;
}

ul.spacey4.mb-8 li span {
    color: #1a202c;
    font-weight: 700;
}

a.bgbbbb {
    font-size: 1.125rem;
    line-height: 1.75rem;
    color: #4a5568;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 0 #0000, 0 0 0 #0000, 0 10px 15px -3px rgb(245 158 11 / 20%), 0 4px 6px -4px rgb(245 158 11 / 20%);
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    background-color: #c79944;
    border-radius: 9999px;
    color: #fff;
}

.iconsection {
    border-radius: 9999px;
    width: 5rem;
    height: 5rem;
    background-color: rgb(204 251 241);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
    line-height: 5rem;
    font-size: 2.25rem;
    color: rgb(13 148 136);
}

.ustifcenter {
    position: relative;
}

.ustifcenter span {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    font-size: 0.75rem;
    line-height: 1rem;
    border-radius: 9999px;
    font-weight: 700;
}

.ustifcenter span.roundfull {
    background-color: rgb(243 232 255);
    color: rgb(107 33 168);
}

.ustifcenter span.undedfull {
    color: rgb(154 52 18);
    background-color: rgb(255 237 213);
    margin-right: 8px;
}

.buttonunder.text-center.mk {
    margin-top: 73px;
}

.text-center.textsecond {
    border-radius: 1rem;
    border: 1px dashed #e2e8f0;
    padding: 2rem;
    background-color: #ffffff;
    color: #4a5568;
}

.text-center.textsecond i {
    margin-bottom: 1rem;
    font-size: 3em;
}

p.telg {
    font-size: 1.125rem;
    line-height: 1.75rem;
    margin-bottom: 0;
}

p.texsm {
    font-size: 0.875rem;
    line-height: 1.25rem;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.testimonial-item.text-center {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 4px 15px rgb(40 77 104 / 10%);
    height: 140px;
    background-color: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    transition: transform 0.4s ease, opacity 0.4s ease;
}


.testimonial-item.text-center img {
    max-width: 90%;
    max-height: 80%;
    object-fit: contain;
    width: 107px;
}

.imgsucess {
    padding-top: 6rem;
}

/* --- Professional Styling for Service and Specialization Cards --- */

/* Base Card Styling */
.section-pattern .acceprimar {
    background-color: #ffffff;
    border-radius: 1rem;
    padding: 32px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover effect for the entire card */
.section-pattern .acceprimar:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.18);
}

/* Icon Container Styling */
.section-pattern .acceprimar .iconcebnt,
.section-pattern .bg-card .iconbyss {
    background-color: rgba(44, 62, 80, 0.1);
    color: #2c3e50;
    border-radius: 50%;
    width: 80px;  /* Reduced size */
    height: 80px; /* Reduced size */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.1rem; /* Adjusted icon font size */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Icon Container Hover State */
.section-pattern .acceprimar:hover .iconcebnt {
    background-color: #2c3e50;
    color: #c29d5b;
    animation: rotateIconBg 0.5s forwards;
}

/* Icon Styling inside the container */
.section-pattern .acceprimar .iconcebnt i {
    color: #2c3e50;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Icon Hover State */
.section-pattern .acceprimar:hover .iconcebnt i {
    color: #c29d5b;
    transform: scale(1.1);
}

/* Title Styling */
.section-pattern .acceprimar h5 {
    font-weight: 700;
    color: #2c3e50;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Title Hover State */
.section-pattern .acceprimar:hover h5 {
    color: #c29d5b;
}

/* Description Styling */
.section-pattern .acceprimar p {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.6;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* New Keyframe Animation for the hover effect */
@keyframes rotateIconBg {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Styling for the Partners and Accreditations Logos */
.testimonial-item {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 1rem;
    height: 140px; /* Base height for desktop */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease-in-out;
    text-align: center;
    overflow: hidden;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Ensure the logo image itself is responsive and fits the container */
.testimonial-item img {
    max-width: 95%;
    max-height: 95%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease-in-out;
    display: block;
    margin: auto;
}

/* --- Media query for mobile optimization --- */
@media (max-width: 768px) {
    .testimonial-item {
        height: 100px; /* Reduced height for better fit on small screens */
        padding: 0.75rem;
    }
    .testimonial-item img {
        max-width: 100%; /* Allows images to take full width of container */
        max-height: 100%; /* Allows images to take full height of container */
    }
}

/* Styling for all sign in buttons in the header */
.dropdown button.dropdown-toggle,
.professional-link-btn {
    /* Common styles for both buttons */
    border: none;
    padding: 10px 20px;
    border-radius: 9999px; /* Pill shape */
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease-in-out;
}

/* Base style for the dropdown button */
.dropdown button.dropdown-toggle {
    background-color: #2c3e50;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hover style for the dropdown button */
.dropdown button.dropdown-toggle:hover {
    background-color: #c29d5b;
    color: #2c3e50;
}

/* Base style for the "تسجيل الدخول" button */
.professional-link-btn {
    background-color: #2c3e50;
    color: #ffffff;
}

/* Hover style for the "تسجيل الدخول" button */
.professional-link-btn:hover {
    background-color: #c29d5b;
    color: #2c3e50;
}

/* Style for the dropdown arrow */
.dropdown button.dropdown-toggle::after {
    margin-right: 8px; /* Adds space between text and arrow */
    vertical-align: middle;
    border: none;
    font-family: "Font Awesome 5 Free";
    content: "\f0d7"; /* Font Awesome icon for down arrow */
    font-weight: 900;
    color: #ffffff;
}

/* Hover style for the dropdown arrow */
.dropdown button.dropdown-toggle:hover::after {
    color: #2c3e50;
}

/* Styling for the main contact page content */
.page-contact .titlecall h1 {
    font-weight: 700;
}

.page-contact .card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    border-radius: 8px;
}

/* Form styling */
.professional-contact-form .form-control {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1rem;
    height: auto;
    font-size: 1rem;
    background-color: #f8f9fa;
    transition: all 0.3s ease-in-out;
}

.professional-contact-form .form-control:focus {
    border-color: #2c3e50;
    box-shadow: 0 0 0 0.25rem rgba(44, 62, 80, 0.25);
    background-color: #fff;
}

.professional-contact-form .form-floating label {
    right: 1rem;
    left: auto;
    color: #6c757d;
}

.professional-contact-form .form-floating>.form-control:focus~label,
.professional-contact-form .form-floating>.form-control:not(:placeholder-shown)~label,
.professional-contact-form .form-floating>.form-select~label {
    transform-origin: right center;
    transform: scale(.85) translateY(-0.5rem) translateX(0.5rem);
}

/* Submit button styling */
.professional-submit-btn {
    background-color: #2c3e50;
    border: none;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease-in-out;
}

.professional-submit-btn:hover {
    background-color: #c29d5b;
    color: #2c3e50;
}

/* Contact us info cards styling */
.contact-info-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    height: 250px; /* Set a fixed height for a uniform size */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.contact-info-card .icon-container {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(44, 62, 80, 0.1);
    color: #2c3e50;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    transition: all 0.3s ease-in-out;
}

.contact-info-card:hover .icon-container {
    background-color: #2c3e50;
    color: #fff;
}

.contact-info-card h4 {
    font-weight: 700;
    color: #2c3e50;
    margin-top: 1rem;
}

.contact-info-card p {
    color: #6c757d;
}

/* Styling for the submit button */
.professional-contact-form button[type="submit"] {
    background-color: #2c3e50;
    border: none;
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease-in-out;
    width: 100%;
    text-align: center;
}

.professional-contact-form button[type="submit"]:hover {
    background-color: #c29d5b;
    color: #2c3e50;
}

/* Custom CSS for the Khabeer website */
:root {
    --primary-blue: #2c3e50;
    --accent-gold: #c29d5b;
    --text-dark: #333;
    --text-muted: #6c757d;
}

/* Apply a clean, modern Arabic font */
body, h1, h2, h3, h4, h5, h6, .acceprimar h4, .acceprimar p {
    font-family: 'Tajawal', sans-serif;
}

/* FAQ PAGE STYLES */
.faqs-page {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.faqs-page .titlecall h1 {
    font-weight: 700;
}

.gradient-text {
    background: linear-gradient(to right, #2c3e50, #c29d5b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.faq-sidebar {
    position: sticky;
    top: 30px;
}

.faq-catagery-list {
    background-color: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.faq-catagery-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.faq-catagery-list ul li {
    margin-bottom: 1rem;
}

.faq-catagery-list ul li a {
    font-size: 1rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    font-weight: 700;
}
    
.faq-catagery-list ul li a:hover, .faq-catagery-list ul li a.active {
    color: var(--accent-gold);
}

.sidebar-cta-box {
    background-color: var(--primary-blue);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: #fff;
    text-align: center;
}

.sidebar-cta-box h3 {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
    
.sidebar-cta-contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    gap: 1rem;
}

.sidebar-cta-contact-item .icon-box {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: #fff;
}

.sidebar-cta-contact-item p {
    margin: 0;
    font-size: 1.1rem;
    direction: ltr;
}
    
.page-faqs-catagery .faq-accordion {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-accordion .accordion-button {
    background-color: var(--primary-blue);
    color: #fff;
    font-weight: 700;
    border-radius: 0;
}

.faq-accordion .accordion-button:not(.collapsed) {
    color: #fff;
    background-color: var(--primary-blue);
}

.faq-accordion .accordion-button::after {
    filter: brightness(0) invert(1);
    color: #fff;
}

.faq-accordion .accordion-body {
    padding: 1.5rem;
    color: var(--text-muted);
}

.faqs-page .faq-accordion .accordion-button {
    background-color: var(--primary-blue);
    color: #fff; /* Changed to white for better contrast */
    font-weight: 700;
    border-radius: 0;
}

.faqs-page .faq-accordion .accordion-button:not(.collapsed) {
    color: #fff;
    background-color: var(--primary-blue);
}

.faqs-page .faq-accordion .accordion-button::after {
    filter: brightness(0) invert(1);
    color: #fff; /* Ensures the arrow is also white */
}

/* Terms and Conditions page */
.terms-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.terms-card .hero-title {
    color: var(--primary-blue);
    font-size: 2rem;
    font-weight: 700;
}

.terms-card p {
    color: var(--text-dark);
    line-height: 1.8;
}

.terms-list {
    margin-top: 1rem;
    padding-right: 0;
}

.terms-list li {
    position: relative;
    padding-right: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    list-style: none;
    line-height: 1.8;
}

.terms-list li i {
    position: absolute;
    top: 0.3rem;
    right: 0;
    font-size: 0.8rem;
    color: var(--accent-gold);
}

.terms-heading {
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-weight: 700;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 0.5rem;
}

.terms-card .professional-back-btn {
    background-color: #2c3e50;
    border: none;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease-in-out;
}

.terms-card .professional-back-btn:hover {
    background-color: #c29d5b;
    color: #2c3e50;
}

.flitersearch.category .btn-info {
    background-color: #2c3e50; /* Dark blue from your palette */
    border-color: #2c3e50;
    color: #fff;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 9999px; /* Pill shape */
    transition: all 0.3s ease-in-out;
}

.flitersearch.category .btn-info:hover {
    background-color: #c29d5b; /* Gold on hover */
    border-color: #c29d5b;
    color: #2c3e50; /* Dark blue text on hover */
}

/* --- START: FINAL 'من نحن' SECTION STYLES (RTL FIXED) --- */

.about-section-revised {
    padding: 6rem 0;
    background-color: #ffffff;
    overflow: hidden;
}

.about-section-revised .about-content {
    text-align: right !important;
}

.about-section-revised .about-sub-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.about-section-revised .about-sub-heading .gradient-text-alt {
    background: linear-gradient(to left, #c29d5b, #e0c69d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-section-revised .section-title h2 {
    color: #2c3e50;
    font-weight: 800;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    text-align: right;
}

.about-section-revised .btn-primary-custom {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    background-color: #2c3e50;
    color: #fff;
    text-decoration: none;
}
.about-section-revised .btn-primary-custom:hover {
    background-color: #c29d5b;
    color: #2c3e50;
}

.about-section-revised .feature-blocks-container {
    border-top: 1px solid #e9ecef;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}
.about-section-revised .feature-block {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    transition: all 0.3s ease-in-out;
}
.about-section-revised .feature-block:hover {
    transform: scale(1.03);
    border-color: #c29d5b;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.about-section-revised .feature-icon {
    background-color: #c29d5b;
    color: #ffffff;
    font-size: 1.5rem;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    min-width: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1rem;
}

.about-section-revised .feature-text {
    text-align: right;
}

.about-section-revised .feature-text h4 {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.about-section-revised .feature-text p {
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 0;
}

.about-section-revised .about-image-container {
    position: relative;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-section-revised .about-image-container img {
    position: relative;
    z-index: 2;
    box-shadow: 0 15px 30px rgba(44, 62, 80, 0.2);
    max-height: 100%;
    width: auto;
    object-fit: cover;
    border-radius: 12px;
}

.about-section-revised .about-image-container .image-accent-bg {
    position: absolute;
    top: 20px;
    right: 20px;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    background-color: rgba(44, 62, 80, 0.05);
    border-radius: 12px;
    z-index: 1;
    transition: all 0.3s ease;
}

.about-section-revised .about-image-container:hover .image-accent-bg {
    transform: rotate(3deg);
}

/* --- END: FINAL 'من نحن' SECTION STYLES --- */

/* --- Professional Styling for the 'About Us' Page --- */

.about-us-page {
    background-color: #f8f9fa; /* A light, clean background */
}

/* Introduction Text Styling */
.about-us-page .about-intro {
    font-size: 1.2rem;
    color: #6c757d;
    line-height: 1.9;
    max-width: 850px; /* Constrains width for readability */
}

/* Main Service Card Styling */
.about-us-page .service-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease-in-out;
    width: 100%;
    display: flex;
    flex-direction: column; /* Ensures content flows top-to-bottom */
}

.about-us-page .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(44, 62, 80, 0.1);
    border-color: #c29d5b; /* Accent Gold on hover */
}

/* Header within each card (Icon + Title) */
.about-us-page .service-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 1.5rem;
}

.about-us-page .service-icon {
    background-color: rgba(44, 62, 80, 0.1); /* Light Primary Blue */
    color: #2c3e50; /* Primary Blue */
    font-size: 1.75rem;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1rem; /* Space between icon and text in RTL */
    transition: all 0.3s ease;
}

.about-us-page .service-card:hover .service-icon {
    background-color: #2c3e50;
    color: #fff;
}

.about-us-page .service-card-header h3 {
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0;
}

/* List of services within each card */
.about-us-page .service-list {
    list-style: none;
    padding-right: 0;
    margin: 0;
    flex-grow: 1; /* Allows list to fill space for equal height cards */
}

.about-us-page .service-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.8;
}

.about-us-page .service-list li i {
    color: #c29d5b; /* Accent Gold */
    font-size: 0.9rem;
    margin-left: 10px; /* Space between checkmark and text */
    margin-top: 8px; /* Vertically aligns icon with text */
}

/* --- Professional Profile Dashboard Styling --- */
/* --- Professional Profile Dashboard Styling --- */
/* --- Professional Profile Dashboard Styling --- */
.profile-dashboard-page {
    padding: 6rem 0;
    background-color: var(--light-gray-bg);
    font-family: 'Tajawal', sans-serif;
}

.profile-dashboard-page .page-title {
    margin-bottom: 4rem;
}

.profile-dashboard-page .page-title h1 {
    font-weight: 800;
    font-size: 2.75rem;
    margin-bottom: 0.5rem;
}

.profile-dashboard-page .page-title p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.profile-dashboard-page .gradient-text {
    background: linear-gradient(to right, #2c3e50, #c29d5b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Base Card Style */
.profile-card {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease-in-out;
}
.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-blue);
}

.profile-card-icon {
    background-color: rgba(44, 62, 80, 0.1);
    color: var(--primary-blue);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    transition: all 0.3s ease;
}
.profile-card:hover .profile-card-icon {
    background-color: var(--primary-blue);
    color: #fff;
}

.profile-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.profile-card-text {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1; /* Pushes button to the bottom */
}

/* Highlighted "Join as Expert" Card */
.profile-card--highlight {
    background-color: var(--primary-blue);
    color: #ffffff;
}
.profile-card--highlight:hover {
    border-color: var(--accent-gold);
}
.profile-card--highlight .profile-card-title {
    color: #ffffff;
}
.profile-card--highlight .profile-card-text {
    color: rgba(255, 255, 255, 0.8);
}
.profile-card-icon--expert {
    background-color: rgba(194, 157, 91, 0.2);
    color: var(--accent-gold);
}
.profile-card--highlight:hover .profile-card-icon--expert {
    background-color: var(--accent-gold);
    color: var(--primary-blue);
}


/* Button Styles */
.professional-btn, .golden-btn {
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: inline-block;
    border: none;
}

.professional-btn {
    background-color: var(--primary-blue);
    color: #ffffff;
}
.professional-btn:hover {
    background-color: #34495e; /* Slightly lighter blue */
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    color: #ffffff;
}

.golden-btn {
    background-color: var(--accent-gold);
    color: var(--primary-blue);
}
.golden-btn:hover {
    background-color: #d1b17a; /* Slightly darker gold */
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* --- Professional Profile Page Styling --- */
/* --- Professional Profile Page Styling --- */
/* --- Professional Profile Page Styling --- */
/* --- Professional Profile Page Styling --- */

.profile-page-container {
    padding: 6rem 0;
    background-color: var(--light-gray-bg);
    font-family: 'Tajawal', sans-serif;
    direction: rtl; /* Ensure RTL for Arabic text */
    text-align: right; /* Ensure text alignment for Arabic */
}

.profile-page-container .page-title {
    margin-bottom: 4rem;
}

.profile-page-container .page-title h1 {
    font-weight: 800;
    font-size: 2.75rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark); /* Ensure title text color is dark */
}

.profile-page-container .page-title p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.profile-page-container .gradient-text {
    background: linear-gradient(to right, var(--primary-blue), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Sidebar Styling */
.profile-sidebar {
    background-color: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center items in sidebar */
}

.profile-avatar-section {
    text-align: center;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    width: 100%; /* Ensure it takes full width of sidebar */
}

.avatar-box {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}
.avatar-box img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 0 0 2px var(--primary-blue);
    object-fit: cover;
}
.upload-icon {
    position: absolute;
    bottom: 5px;
    left: 5px; /* Adjusted for RTL */
    background-color: var(--primary-blue);
    color: #fff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid #fff;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.upload-icon:hover {
    background-color: var(--accent-gold);
    transform: scale(1.05);
}

.user-name {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.user-email {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Navigation Pills (Tabs) */
.profile-nav {
    width: 100%; /* Ensure nav takes full width */
}
.profile-nav .nav-link {
    color: var(--text-muted);
    font-weight: 700;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    justify-content: flex-end; /* Align text to the right for RTL */
}
.profile-nav .nav-link i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    order: 2; /* Move icon to the left for RTL */
}
.profile-nav .nav-link span {
    order: 1; /* Move text to the right for RTL */
}
.profile-nav .nav-link.active,
.profile-nav .nav-link:hover {
    background-color: rgba(44, 62, 80, 0.1);
    color: var(--primary-blue);
}
.profile-nav .nav-link.active {
    font-weight: 700;
}

/* Content Panel Styling */
.profile-content-panel {
    background-color: #fff;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.profile-content-panel h4 {
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    display: block; /* Ensure labels take full width */
}

.form-control, .form-select {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    background-color: #fcfcfc; /* Slightly off-white for inputs */
    color: var(--text-dark); /* Ensure input text is readable */
}
.form-control:focus, .form-select:focus {
    background-color: #fff;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.15);
}

/* Custom Button Styles (Corrected Colors) */
.btn-primary-blue {
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    background-color: var(--primary-blue);
    color: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.btn-primary-blue:hover {
    background-color: #34495e; /* Slightly lighter shade for hover */
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.btn-accent-gold {
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    background-color: var(--accent-gold);
    color: var(--primary-blue); /* Text color contrasting with gold */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.btn-accent-gold:hover {
    background-color: #d1b17a; /* Slightly darker gold for hover */
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .profile-sidebar {
        margin-bottom: 2rem;
    }
    .profile-nav {
        flex-direction: row !important; /* Make tabs horizontal on smaller screens */
        justify-content: center;
        flex-wrap: wrap;
    }
    .profile-nav li {
        width: auto;
        margin: 0.25rem;
    }
    .profile-nav .nav-link {
        justify-content: center;
        padding: 0.75rem 1.25rem;
    }
    .profile-nav .nav-link i {
        order: 1; /* Reset icon order for horizontal */
    }
    .profile-nav .nav-link span {
        display: none; /* Hide text on small screens for compact tabs */
    }
    .profile-nav .nav-link.active span {
        display: inline-block; /* Show text for active tab */
    }
    .profile-sidebar .profile-avatar-section {
        border-bottom: none; /* Remove border on smaller screens if tabs are horizontal */
        padding-bottom: 0;
        margin-bottom: 1rem;
    }
}

@media (max-width: 575.98px) {
    .profile-page-container .page-title h1 {
        font-size: 2rem;
    }
    .profile-page-container .page-title p {
        font-size: 1rem;
    }
    .profile-content-panel {
        padding: 1.5rem;
    }
    .profile-content-panel h4 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }
    .profile-nav .nav-link {
        font-size: 0.85rem;
        padding: 0.6rem 0.8rem;
    }
}

/* --- Professional Header Button & Active Link Styling --- */

/* 1. Styling for the "Join as an Expert" button */
.btn-join-expert {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem; /* Space between text and star */
    padding: 10px 20px;
    background-color: #2c3e50; /* Primary Dark Blue */
    color: #ffffff !important;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px; /* Pill shape */
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    line-height: 1.5;
}

.btn-join-expert:hover {
    background-color: #c29d5b; /* Accent Gold on hover */
    color: #2c3e50;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}


/* 2. Change the active navigation link color to gold */
.headernav a.hnav.active {
    color: #c29d5b; /* Accent Gold */
    position: relative;
}

/* Change the active navigation link color to gold WITH a proper underline */
.headernav a.hnav.active {
    color: #c29d5b !important; /* Accent Gold */
    border-bottom: 3px solid #c29d5b; /* Creates a clean underline */
}

/* --- Professional Login Page Styling --- */

.login-page-wrapper {
    min-height: 100vh;
    width: 100%;
    background-color: #f8f9fa;
    font-family: 'Tajawal', sans-serif;
}

/* Branding Panel (Left Side) */
.login-branding-panel {
    background-color: #2c3e50; /* Primary Blue */
    color: #fff;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    text-align: center;
}
.login-branding-panel img {
    max-width: 80%;
    margin-bottom: 2rem;
}
.login-branding-panel h3 {
    font-weight: 700;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}
.login-branding-panel p {
    font-size: 1rem;
    max-width: 400px;
    line-height: 1.8;
    opacity: 0.8;
}

/* Form Panel (Right Side) */
.login-form-panel {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.form-container {
    width: 100%;
    max-width: 450px;
}
.form-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50; /* Primary Blue */
    margin-bottom: 0.5rem;
}
.form-subtitle {
    color: #6c757d; /* Muted Text */
    margin-bottom: 2rem;
}
.form-subtitle a {
    color: #c29d5b; /* Accent Gold */
    font-weight: 700;
    text-decoration: none;
}
.form-subtitle a:hover {
    text-decoration: underline;
}

/* Form Elements & Floating Labels */
.form-floating > .form-control {
    height: calc(3.5rem + 2px);
    padding: 1rem;
}
.form-floating > label {
    padding: 1rem;
    right: 0; /* RTL support */
}
.form-control {
    border-radius: 8px;
    border: 1px solid #ddd;
    background-color: #f8f9fa;
}
.form-control:focus {
    background-color: #fff;
    border-color: #2c3e50;
    box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.15);
}

.password-wrapper {
    position: relative;
}
.toggle-password-icon {
    position: absolute;
    top: 50%;
    left: 1rem; /* RTL support */
    transform: translateY(-50%);
    color: #6c757d;
    cursor: pointer;
}
.toggle-password-icon:hover {
    color: #2c3e50;
}

.forgot-password-link {
    font-size: 0.9rem;
    color: #6c757d;
    text-decoration: none;
}
.forgot-password-link:hover {
    color: #c29d5b;
}

/* Custom Button on Login Page */
.btn-primary-custom {
    padding: 0.85rem 1rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    background-color: #2c3e50; /* Primary Blue */
    color: #fff;
}

.btn-primary-custom:hover {
    background-color: #c29d5b; /* Accent Gold */
    color: #2c3e50;
    transform: translateY(-2px);
}

/* --- FORCED STYLING for Login Button --- */

.login-page-wrapper .btn-primary-custom {
    padding: 0.85rem 1rem !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    border: none !important;
    background-color: #2c3e50 !important; /* Primary Blue */
    color: #fff !important;
    width: 100% !important; /* Ensures it's full-width */
    display: block !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
}

.login-page-wrapper .btn-primary-custom:hover {
    background-color: #c29d5b !important; /* Accent Gold */
    color: #2c3e50 !important;
    transform: translateY(-2px) !important;
}

/* --- Professional Login/Register Page Styling --- */

.login-page-wrapper {
    min-height: 100vh;
    width: 100%;
    background-color: #f8f9fa;
    font-family: 'Tajawal', sans-serif;
}

/* Branding Panel (Left Side) */
.login-branding-panel {
    background-color: #2c3e50; /* Primary Blue */
    color: #fff;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    text-align: center;
}
.login-branding-panel img {
    max-width: 80%;
    margin-bottom: 2rem;
}
.login-branding-panel h3 {
    font-weight: 700;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}
.login-branding-panel p {
    font-size: 1rem;
    max-width: 400px;
    line-height: 1.8;
    opacity: 0.8;
}

/* Form Panel (Right Side) */
.login-form-panel {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.form-container {
    width: 100%;
    max-width: 550px; /* Slightly wider for register form */
}
.form-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}
.form-subtitle {
    color: #6c757d;
    margin-bottom: 2rem;
}
.form-subtitle a {
    color: #c29d5b; /* Accent Gold */
    font-weight: 700;
    text-decoration: none;
}
.form-subtitle a:hover {
    text-decoration: underline;
}

/* Form Elements & Floating Labels */
.form-floating > .form-control {
    height: calc(3.5rem + 2px);
    padding: 1rem;
}
.form-floating > label {
    padding: 1rem;
    right: 0;
}
.form-control, .form-select {
    border-radius: 8px;
    border: 1px solid #ddd;
    background-color: #f8f9fa;
    height: calc(3.5rem + 2px);
    padding: 1rem;
}
.form-control:focus, .form-select:focus {
    background-color: #fff;
    border-color: #2c3e50;
    box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.15);
}

.password-wrapper {
    position: relative;
}
.toggle-password-icon {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    color: #6c757d;
    cursor: pointer;
}
.toggle-password-icon:hover {
    color: #2c3e50;
}

.forgot-password-link {
    font-size: 0.9rem;
    color: #6c757d;
    text-decoration: none;
}
.forgot-password-link:hover {
    color: #c29d5b;
}

/* Specific styles for Register Page */
.form-label-custom {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    display: block;
}
.iti.iti--allow-dropdown {
    width: 100%;
}
.form-check {
    display: flex;
    align-items: center;
}
.form-check-input {
    width: 1.25em;
    height: 1.25em;
    margin-top: 0;
    margin-left: 0.75rem; /* RTL support */
}
.form-check-label a {
    color: #c29d5b;
    font-weight: 700;
    text-decoration: none;
}
.form-check-label a:hover {
    text-decoration: underline;
}

/* Custom Button */
.btn-primary-custom {
    padding: 0.85rem 1rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    background-color: #2c3e50;
    color: #fff;
}
.btn-primary-custom:hover {
    background-color: #c29d5b;
    color: #2c3e50;
    transform: translateY(-2px);
}
.btn-primary-custom:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
}

/* --- Professional Register Expert Page Styling --- */

/* Reusing login page wrapper styles */
.login-page-wrapper {
    min-height: 100vh;
    width: 100%;
    background-color: #f8f9fa;
    font-family: 'Tajawal', sans-serif;
}
.login-branding-panel {
    background-color: #2c3e50;
    color: #fff;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    text-align: center;
}
.login-form-panel {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem; /* More vertical padding */
}
.form-container {
    width: 100%;
    max-width: 650px; /* Wider for expert form */
}
.form-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}
.form-subtitle {
    color: #6c757d;
    margin-bottom: 2rem;
}
.form-subtitle a {
    color: #c29d5b;
    font-weight: 700;
}

/* --- NEW: Multi-Step Form Wizard Styles --- */
.step-indicator-wrapper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
    border-bottom: 2px solid #e9ecef;
}
.step-indicator {
    padding: 1rem 0;
    font-weight: 600;
    color: #6c757d;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
}
.step-indicator.active {
    color: #2c3e50;
    border-bottom-color: #2c3e50;
}
.form-step {
    display: none; /* Hide all steps by default */
}
.form-step.active {
    display: block; /* Show only the active step */
}
.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}
.form-navigation {
    border-top: 1px solid #e9ecef;
    padding-top: 1.5rem;
    margin-top: 1rem;
}
.btn-secondary-custom {
    background-color: #6c757d;
    color: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    border: none;
    transition: background-color 0.3s ease;
}
.btn-secondary-custom:hover {
    background-color: #5a6268;
}

/* --- Standard Form Element Styles (Reused & Enhanced) --- */
.form-floating > label { right: 0; }
.form-control, .form-select {
    border-radius: 8px;
    border: 1px solid #ddd;
    background-color: #f8f9fa;
    height: calc(3.5rem + 2px);
    padding: 1rem;
}
.form-control:focus, .form-select:focus {
    background-color: #fff;
    border-color: #2c3e50;
    box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.15);
}
.form-label-custom {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    display: block;
}
.password-wrapper { position: relative; }
.toggle-password-icon {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    color: #6c757d;
    cursor: pointer;
}
.form-check { display: flex; align-items: center; }
.form-check-input {
    width: 1.25em;
    height: 1.25em;
    margin-top: 0;
    margin-left: 0.75rem;
}
.form-check-label a { color: #c29d5b; font-weight: 700; }

.btn-primary-custom {
    padding: 0.85rem 1rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    background-color: #2c3e50;
    color: #fff;
}
.btn-primary-custom:hover {
    background-color: #c29d5b;
    color: #2c3e50;
}
.btn-primary-custom:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
}

/* --- Professional Login/Register/Membership Page Styling --- */

.login-page-wrapper {
    min-height: 100vh;
    width: 100%;
    background-color: #f8f9fa;
    font-family: 'Tajawal', sans-serif;
}

/* Branding Panel (Left Side) */
.login-branding-panel {
    background-color: #2c3e50; /* Primary Blue */
    color: #fff;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    text-align: center;
}
.login-branding-panel img {
    max-width: 80%;
    margin-bottom: 2rem;
}
.login-branding-panel h3 {
    font-weight: 700;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}
.login-branding-panel p {
    font-size: 1rem;
    max-width: 400px;
    line-height: 1.8;
    opacity: 0.8;
}

/* Form Panel (Right Side) */
.login-form-panel {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.form-container {
    width: 100%;
    max-width: 550px;
}
.form-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}
.form-subtitle {
    color: #6c757d;
    margin-bottom: 2rem;
}
.form-subtitle i { /* For the price */
    font-style: normal;
    font-weight: 700;
}
.form-subtitle a {
    color: #c29d5b; /* Accent Gold */
    font-weight: 700;
}

/* Styles for the Logged-In view on Membership page */
.logged-in-view {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}
.welcome-message {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
}
.info-message {
    color: #6c757d;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
}

/* Form Elements */
.form-floating > label { right: 0; }
.form-control, .form-select {
    border-radius: 8px;
    border: 1px solid #ddd;
    background-color: #f8f9fa;
    height: calc(3.5rem + 2px);
    padding: 1rem;
}
.form-control:focus, .form-select:focus {
    background-color: #fff;
    border-color: #2c3e50;
    box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.15);
}
.form-label-custom {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    display: block;
}
.iti.iti--allow-dropdown {
    width: 100%;
}
/* --- FINAL Checkbox Styling --- */

/* 1. The main container */
.login-form-panel .form-check {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important; /* Aligns group to the right in RTL */
    padding-right: 0 !important;
    margin-bottom: 1.5rem !important;
}

/* 2. The checkbox input */
.login-form-panel .form-check .form-check-input {
    width: 1.25em !important;
    height: 1.25em !important;
    margin-top: 0 !important;
    margin-left: 0.75rem !important; /* Space between box and text */
    float: none !important;
}

/* 3. The label containing the text */
.login-form-panel .form-check .form-check-label {
    width: auto !important; /* Prevents it from taking the full line */
    color: #6c757d;
}

/* 4. The link inside the label */
.login-form-panel .form-check .form-check-label a {
    color: #c29d5b; /* Accent Gold */
    font-weight: 700;
    text-decoration: none;
}

.login-form-panel .form-check .form-check-label a:hover {
    text-decoration: underline !important;
}

/* Custom Button */
.btn-primary-custom {
    padding: 0.85rem 1rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    background-color: #2c3e50;
    color: #fff;
}
.btn-primary-custom:hover {
    background-color: #c29d5b;
    color: #2c3e50;
}
.btn-primary-custom:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
}

/* --- Professional Announcement/Marquee Details Page Styling --- */

.announcement-page-container {
    background-color: #f8f9fa;
    padding-bottom: 6rem;
}

/* Header Section */
.announcement-header {
    background-color: #2c3e50; /* Primary Blue */
    color: #fff;
    padding: 4rem 1rem;
    text-align: center;
}
.announcement-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}
.announcement-meta {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}
.announcement-meta i {
    color: #c29d5b; /* Accent Gold */
}

/* Main Content Card */
.content-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-top: -50px; /* Overlaps the header for a modern look */
    position: relative;
    overflow: hidden; /* For rounded corners on image */
}

/* --- Fix: Image Not Cropped --- */
.announcement-image {
    width: 100%;
    /* max-height: 450px; -- REMOVE or adjust based on your desired maximum visual height, but allow auto for aspect ratio */
    overflow: hidden; 
    display: flex; /* Use flexbox to center the image */
    justify-content: center;
    align-items: center;
    background-color: #f0f2f5; /* Optional: a background color for the space if the image doesn't fill */
    padding: 1rem; /* Add some padding around the image if it doesn't fill the container */
    max-height: 500px; /* Adjust this value as needed, it sets a limit not a fixed height */
}
.announcement-image img {
    width: 100%;
    height: auto; /* Allow height to adjust based on image's aspect ratio */
    object-fit: contain; /* --- KEY CHANGE: Ensures the entire image is visible --- */
    max-height: 100%; /* Ensure image doesn't exceed its container's height */
    display: block; /* Removes extra space below the image */
}

/* Styling for the content that comes from your Rich Text Editor */
.announcement-content {
    padding: 3rem;
    line-height: 1.9;
    color: #333;
}
.announcement-content h1,
.announcement-content h2,
.announcement-content h3 {
    font-weight: 700;
    color: #2c3e50;
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.announcement-content p {
    margin-bottom: 1.5rem;
}
.announcement-content ul {
    list-style: none;
    padding-right: 0;
    margin-bottom: 1.5rem;
}
.announcement-content ul li {
    padding-right: 1.5rem;
    position: relative;
    margin-bottom: 0.75rem;
}
.announcement-content ul li::before {
    content: '\f058'; /* Font Awesome check-circle icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #c29d5b; /* Accent Gold */
    position: absolute;
    right: 0;
    top: 5px;
}

/* Social Sharing Section */
.announcement-share {
    padding: 2rem 3rem;
    border-top: 1px solid #e9ecef;
    text-align: center;
}
.announcement-share h4 {
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}
.share-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}
.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}
.share-btn:hover {
    transform: translateY(-3px);
    color: #fff;
}
.share-btn.facebook { background-color: #3b5998; }
.share-btn.twitter { background-color: #00acee; }
.share-btn.linkedin { background-color: #0e76a8; }
.share-btn.whatsapp { background-color: #25D366; }


/* --- Professional News Ticker Redesign --- */

.news-banner {
    display: flex;
    align-items: center;
    background-color: #2c3e50; /* Primary Dark Blue */
    color: #fff;
    overflow: hidden;
    height: 45px; /* Consistent height */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.news-label {
    background-color: #c29d5b; /* Accent Gold */
    padding: 0 1.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.news-ticker {
    flex: 1;
    overflow: hidden;
}

.news-content {
    display: flex;
    white-space: nowrap;
    /* This new animation is for the seamless loop */
    animation: scroll-left-to-right 40s linear infinite;
}

/* Pause animation on hover for better UX */
.news-ticker:hover .news-content {
    animation-play-state: paused;
}

.news-item {
    display: inline-flex;
    align-items: center;
}

.news-item a {
    color: #ffffff;
    padding: 0 2rem;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.news-item a:hover {
    color: #c29d5b; /* Accent Gold on hover */
    text-decoration: underline !important;
}

.news-item .separator {
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.2rem;
}

@keyframes scroll-left-to-right {
    from { transform: translateX(100%); }
    to { transform: translateX(-100%); }
}


/* --- Responsive Header Fixes --- */

/* Hide the desktop menu on smaller screens */
@media (max-width: 991.98px) {
    .desktop-menu {
        display: none !important;
    }
}

/* Show the mobile menu icon (hamburger) on smaller screens */
@media (max-width: 991.98px) {
    .kb-menu-icon {
        display: block !important;
    }
}
/* Hide it on larger screens */
@media (min-width: 992px) {
    .kb-menu-icon {
        display: none !important;
    }
}

/* --- Sticky Header Fix --- */

body {
    /* Pushes all content down to make space for the fixed header */
    padding-top: 135px; /* Adjust this value to match your header's exact height */
}


/* --- Professional Mobile Footer Styling (IMPROVED) --- */

@media (max-width: 767.98px) {
    .professional-footer {
        /* Center all text content and reduce vertical padding */
        text-align: center;
        padding-top: 3rem;
        padding-bottom: 2rem;
    }

    .professional-footer .footer-logo-container {
        /* This rule specifically centers the logo image */
        text-align: center;
    }

    .professional-footer .social-icons-container {
        /* Center the social media icons */
        justify-content: center;
    }
    
    .professional-footer .footer-section-title {
        /* Reduce title size and spacing for a more compact look */
        font-size: 1.1rem;
        margin-top: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .professional-footer .col-lg-6 .footer-section-title {
        /* Remove extra space from the "Follow Us" title */
        margin-top: 1.5rem;
    }

    /* Stack the "Quick Links" and "Policies" columns on mobile */
    .professional-footer .row > .col-md-6 {
        width: 100%;
    }
}

/* --- Professional Mobile Navigation Styling --- */

/* Hide mobile nav container on desktop */
@media (min-width: 992px) {
    .kb-mobile-nav {
        display: none !important;
    }
}

/* Hamburger menu icon */
.kb-menu-icon {
    font-size: 28px;
    cursor: pointer;
    user-select: none;
    padding: 8px 12px;
}

/* The hidden checkbox that controls the menu state */
.kb-toggle {
    display: none;
}

/* The semi-transparent background overlay */
.kb-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 9998;
}

/* The slide-out menu panel */
.kb-menu {
    position: fixed;
    top: 0;
    right: 0; /* Start position for RTL */
    width: 300px; /* Wider for a better look */
    height: 100vh;
    background: #fff;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 0.5rem; /* Tighter spacing for links */
    padding: 1.5rem;
    text-align: right;
    /* Use transform for smoother animation */
    transform: translateX(100%); /* Hidden off-screen to the right */
    transition: transform 0.3s ease;
    z-index: 9999;
}

.kb-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}
.kb-menu-logo img { max-width: 120px; }
.kb-close {
    font-size: 24px;
    color: #6c757d;
    cursor: pointer;
}

.kb-menu a.hnav {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.kb-menu a.hnav:hover {
    background: #f8f9fa;
    color: #2c3e50;
}
.kb-menu a.hnav.active {
    background-color: rgba(44, 62, 80, 0.1);
    color: #2c3e50;
}

/* --- The Magic: Show the menu when the checkbox is checked --- */
.kb-toggle:checked ~ .kb-menu-overlay {
    opacity: 1;
    visibility: visible;
}
.kb-toggle:checked ~ .kb-menu {
    transform: translateX(0); /* Slide into view */
}

/* Styling for mobile menu subtitles and dividers */
.kb-menu .kb-menu-divider {
    margin: 1rem 0;
    border: none;
    border-top: 1px solid #e9ecef;
}

.kb-menu .kb-menu-subtitle {
    padding: 0 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
}

/* "Empty State" message for when no content is found */
.empty-state-container {
    padding: 4rem 2rem;
    margin-top: 2rem;
    text-align: center;
    background-color: #fff;
    border-radius: 12px;
    border: 2px dashed #e9ecef;
}
.empty-state-icon {
    font-size: 3.5rem;
    color: #c29d5b; /* Accent Gold */
    margin-bottom: 1.5rem;
}
.empty-state-container h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2c3e50;
}
.empty-state-container p {
    color: #6c757d;
    font-size: 1rem;
    margin: 0;
}

/* --- Professional Styling for Terms and Conditions Page --- */

.terms-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
}

.terms-card .hero-title {
    color: var(--primary-blue);
    font-size: 2rem;
    font-weight: 700;
}

.terms-card p {
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1rem;
}

.terms-list {
    padding-right: 0;
    list-style-type: none;
}

.terms-list > li {
    margin-bottom: 2rem;
}

.terms-heading {
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-weight: 700;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.terms-list--nested {
    list-style: none;
    padding-right: 1.5rem;
    margin-top: 1rem;
}

.terms-list--nested li {
    position: relative;
    padding-right: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.terms-list--nested li::before {
    content: '\f058'; /* Font Awesome check-circle solid icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: 5px;
    right: 0;
    font-size: 1rem;
    color: var(--accent-gold);
}

.professional-back-btn {
    background-color: #2c3e50;
    border: none;
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 9999px; /* Pill shape */
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.professional-back-btn:hover {
    background-color: var(--accent-gold);
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* --- Professional Spacing for Filter Checkboxes & Radios --- */
.accordion .form-check .form-check-label {
    margin-right: 8px; /* Adds space between the checkbox/radio and the text */
}

/* --- FINAL FIX: Use a smoother font-weight for the user menu button --- */
.user-menu-btn {
    font-weight: 600 !important; /* Use a weight that renders cleanly */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Mobile Optimization for Service & Specialization Cards --- */
@media (max-width: 767.98px) {
    /* Adjust padding for a more compact card on small screens */
    .section-pattern .acceprimar {
        padding: 24px 16px; /* Reduced vertical and horizontal padding */
    }

    /* Reduce the size of the icon container and the icon itself */
    .section-pattern .acceprimar .iconcebnt {
        width: 40px;
        height: 40px;
        font-size: 1.3rem; 
        margin-bottom: 0.75rem;
    }

    /* Optimize font sizes within the card for readability and alignment */
    .section-pattern .acceprimar h5 {
        font-size: 1rem; /* Slightly smaller title */
        line-height: 1.4;
        min-height: 45px; /* Ensures titles of 1 or 2 lines align correctly */
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 0.5rem;
    }

    .section-pattern .acceprimar p.small.text-muted {
        font-size: 0.875rem; /* Smaller paragraph text */
        line-height: 1.5;
    }
    
    /* Ensure consistent bottom margin for all card columns on mobile */
    .row > [class*="col-"].mb-4 {
        margin-bottom: 1.5rem !important;
    }
}

/* --- Dynamic Service Card Accordion --- */

/* Style the clickable header area */
.service-card-header-clickable {
    cursor: pointer;
    position: relative;
    padding-bottom: 1rem; /* Add space for the toggle icon */
}

/* Initially hide the description content */
.service-card-description {
    display: none;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
    margin-top: 1rem;
}

/* Style the dropdown icon (chevron) */
.card-toggle-icon {
    position: absolute;
    bottom: -5px; /* Position it nicely below the title */
    left: 50%;
    transform: translateX(-50%);
    color: #cccccc;
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Style for the icon when the card is open/active */
.acceprimar.is-open .card-toggle-icon {
    transform: translateX(-50%) rotate(180deg);
    color: var(--accent-gold); /* Use a brand color */
}

/* --- Mobile Course Limit --- */
@media (max-width: 767.98px) {
    /* Hides any course cards after the 4th one on mobile */
    .course-item-column:nth-child(n+5) {
        display: none;
    }
}

/* --- Course Card Alignment Fix --- */

/* Make the card a flex container, arranged vertically */
.course-card {
    display: flex;
    flex-direction: column;
}

/* This makes the main content area (conevtext) grow to fill any empty space */
.course-card .conevtext {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* This removes the old fixed height, allowing the title to wrap naturally */
.course-card h4.titleblog {
    min-height: auto; 
}

/* This pushes the price/tag section (flexyoung) to the very bottom of the card */
.course-card .flexyoung {
    margin-top: auto;
}

/* --- Professional Mobile Course Card Compacting --- */
@media (max-width: 767.98px) {
    
    /* Reduce the overall padding inside the card's text area */
    .course-card .conevtext {
        padding: 12px;
    }

    /* Make the course title smaller and reduce its line height */
    .course-card h4.titleblog {
        font-size: 1rem; /* From 19px down to 16px */
        line-height: 1.4;
        margin-bottom: 0.25rem;
    }

    /* Reduce font size for the instructor name */
    .course-card p.psecngb {
        font-size: 0.75rem; /* Approx 12px */
        margin-bottom: 8px;
    }

    /* Compact the ratings and user count section */
    .course-card .contentsmall {
        font-size: 0.75rem; /* Approx 12px */
        margin-bottom: 12px;
    }

    /* Adjust the bottom section with price and category */
    .course-card .flexyoung {
        padding-top: 12px;
        margin-bottom: 0; /* Remove bottom margin as padding is sufficient */
    }

    /* Reduce the price font size significantly */
    .course-card .flexyoung p {
        font-size: 1.125rem; /* From 20px down to 18px */
    }

    /* Make the category tag smaller */
    .course-card .flexyoung .semiboldbg {
        padding: 3px 10px;
        font-size: 0.7rem; /* Approx 11px */
    }
}

/* =================================================================== */
/* START: Final "About Us" Feature Block Accordion Fix               */
/* =================================================================== */

/* This container for the text part of the feature block allows vertical stacking inside it. */
.feature-text-accordion {
    flex-grow: 1; 
    width: 100%;
}

/* The new clickable header for the accordion */
.feature-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    width: 100%;
}
.feature-accordion-header h4 {
    margin-bottom: 0; 
}

/* The new description that slides down from BELOW the header */
.feature-accordion-description {
    display: none; /* Hidden by default */
    padding-top: 1rem;
    color: #6c757d;
    font-size: 0.95rem;
    border-top: 1px solid #e9ecef;
    margin-top: 1rem;
}

/* Style for the toggle icon inside the new header */
.feature-accordion-header .feature-toggle-icon {
    color: #cccccc;
    transition: transform 0.3s ease;
}

/* Open state for the icon rotation */
.feature-block.is-open .feature-toggle-icon {
    transform: rotate(180deg);
    color: var(--accent-gold);
}

/* This rule to hide the main image on mobile remains correct */
@media (max-width: 991.98px) {
    .about-image-column {
        display: none;
    }
}

/* --- Mobile Optimization for Hero Section (Final Corrected Version) --- */
@media (max-width: 767.98px) {
    
    /* This is the KEY FIX: Ensure the hero container's height adjusts to its content
       and add padding at the bottom to give the button space. */
    .headercarousel {
        height: auto;
        padding-top: 2rem;
        padding-bottom: 3rem; 
    }

    /* Add space between the image above and the text block */
    .headercarousel .contenttexr {
        text-align: center;
        margin-top: 2rem; 
    }

    /* Reduce the main title font size */
    h1.mdtexto {
        font-size: 2.5rem; 
        line-height: 1.3;
    }

    /* Reduce the paragraph font size */
    .contenttexr p {
        font-size: 1rem;
    }

    /* Style the button */
    .buttonunder {
        margin-top: 1.5rem;
    }
    .buttonunder a {
        font-size: 1rem; 
        padding: 0.75rem 1.5rem;
    }
}

/* --- Professional Section Separator Styling --- */

/* Add spacing and prepare the title container for the decorative line */
.textcebnll {
    position: relative;
    padding-bottom: 1.5rem; /* Space for the line below */
}

/* The main decorative line */
.textcebnll::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: #e5e7eb; /* Light gray line */
    border-radius: 2px;
}

/* The small accent element on top of the line */
.textcebnll::before {
    content: '';
    position: absolute;
    bottom: -3px; /* Sits centered on the line */
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background-color: var(--accent-gold, #c29d5b); /* Your brand's gold color */
    border-radius: 2px;
    z-index: 1;
}

/* On mobile, make the title and separator slightly smaller */
@media (max-width: 767.98px) {
    .textcebnll {
        padding-bottom: 1rem;
        margin-bottom: 2rem;
    }
    .textcebnll h2 {
        font-size: 2rem; /* Slightly smaller title on mobile */
    }
}

/* --- Hide Owl Carousel Default Navigation Text --- */
.owl-carousel .owl-nav,
.owl-carousel-2 .owl-nav {
    display: none !important;
}

/* --- Professional Logo Carousel Dots Styling --- */

/* Container for the dots */
.owl-carousel .owl-dots {
    margin-top: 25px;
    text-align: center;
}

/* Individual dot style */
.owl-carousel .owl-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #e5e7eb !important; /* Light gray for inactive dots */
    margin: 0 5px;
    transition: background-color 0.3s ease;
}

/* Active dot style */
.owl-carousel .owl-dot.active {
    background-color: var(--accent-gold, #c29d5b) !important; /* Gold for the active dot */
}

/* --- Compact Logo Carousel Sections on Mobile --- */
@media (max-width: 767.98px) {
    
    /* Reduce the top and bottom padding of the entire section */
    section#partnerships {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    /* Reduce the space below the section titles */
    section#partnerships .textcebnll, 
    section#partnerships .imgsucess h3 {
        margin-bottom: 1.5rem;
        padding-bottom: 0; /* Remove extra padding from the title divider */
    }

    /* Hide the decorative line under the title in this specific section to save space */
    section#partnerships .textcebnll::after,
    section#partnerships .textcebnll::before {
        display: none;
    }
}

/* --- Final Carousel Centering Fix (Forced) --- */

.testimonial-carousel .owl-stage,
.owl-carousel-2 .owl-stage {
    display: flex !important;
    justify-content: center !important;
}

/* --- Professional Register Form Styling & Checkbox Fix --- */

/* Ensures the checkbox is positioned to the right for RTL */
.portlet .form-check .form-check-input {
    float: right;
    margin-left: 0.5rem; /* Adds a little space if text wraps */
}

/* KEY FIX: Adds space between the checkbox and the label text */
.portlet .form-check .form-check-label {
    margin-right: 1.75rem; /* Pushes text to the left of the checkbox */
    color: #333; /* Darker text for better readability */
}

/* Styles the link within the label */
.portlet .form-check .form-check-label a {
    color: var(--accent-gold, #c29d5b);
    font-weight: 700;
    text-decoration: none;
}

.portlet .form-check .form-check-label a:hover {
    text-decoration: underline;
}

/* Style for the disabled registration button */
#register-btn:disabled {
    background-color: #6c757d;
    border-color: #6c757d;
    cursor: not-allowed;
    opacity: 0.65;
}

/* Professional button style when enabled */
#register-btn {
    background-color: var(--primary-blue, #2c3e50);
    border-color: var(--primary-blue, #2c3e50);
    transition: all 0.3s ease-in-out;
}

#register-btn:hover:not(:disabled) {
    background-color: var(--accent-gold, #c29d5b);
    border-color: var(--accent-gold, #c29d5b);
    color: var(--primary-blue, #2c3e50);
}

/* --- CSS Fix for Text Alignment in Form Fields --- */

/* * This group of rules corrects the vertical alignment for all input fields, 
 * select dropdowns, and the custom university selector. It resets the height 
 * and uses balanced padding to ensure text is centered and fully visible.
*/
.portlet .form-control,
.portlet .form-select,
.portlet .form-multi-select .multi-select-selection {
    height: 50px; /* Ensures a consistent, sufficient height */
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
    line-height: 2; /* Adjusts the line height to center the text vertically */
    background-position: left 0.75rem center; /* Corrects background icon position for RTL */
}

/* * Specific fix for the placeholder text in the CoreUI multi-select search bar,
 * which can also be misaligned.
*/
.portlet .multi-select-search {
    height: auto;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* Fix for button text color */
#register-btn {
    color: #ffffff; /* Sets the text color to white */
}

/* ============================================= */
/* == Professional Course Card Redesign       == */
/* ============================================= */

/* The grid container for the cards */
.course-grid .col {
    display: flex; /* Allows cards to stretch to full column height */
    align-items: stretch;
}

.course-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%; /* Ensures the link takes up the full space */
}

/* Main card styling */
.course-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    display: flex;
    flex-direction: column; /* Stacks items vertically */
    height: 100%;          /* KEY: Makes the card fill the column's height */
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(44, 62, 80, 0.15);
    border-color: var(--primary-blue, #2c3e50);
}

/* Image section */
.course-card__image-container {
    height: 180px;
    overflow: hidden;
}

.course-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.course-card:hover .course-card__image {
    transform: scale(1.05);
}

/* Main content area */
.course-card__content {
    padding: 1rem 1.25rem;
    flex-grow: 1; /* KEY: Makes this section expand to fill empty space */
    display: flex;
    flex-direction: column;
}

.course-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark, #333);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    min-height: 46px; /* KEY: Consistent height for 1 or 2 lines of text */
}

.course-card__instructor {
    font-size: 0.875rem;
    color: var(--text-muted, #6c757d);
    margin-bottom: 1rem;
}

.course-card__meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-muted, #6c757d);
    margin-bottom: 1rem;
}

.course-card__rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.course-card__rating .star-icon {
    color: #ffc107; /* Yellow for stars */
}

/* Footer of the card */
.course-card__footer {
    margin-top: auto; /* KEY: Pushes the footer to the bottom */
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-card__price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-blue, #2c3e50);
    display: flex;
    align-items: center;
}

.course-card__price img {
    width: 18px;
    height: 18px;
    margin-right: 5px;
}

.course-card__category {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    background-color: rgba(44, 62, 80, 0.1);
    color: var(--primary-blue, #2c3e50);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 767.98px) {
    .course-grid {
        /* Use 2 columns on small screens for a better look than 1 full-width column */
        --bs-gutter-x: 1rem;
    }
}

/* =================================================================== */
/* == FINAL FIX v2: Filter Checkbox & Radio Alignment (RTL)         == */
/* =================================================================== */

.accordion-body .form-check {
    position: relative;         /* Establishes a positioning context */
    padding-right: 1.75rem;     /* Creates space on the right for the checkbox */
    margin-bottom: 0.75rem;     /* Adds vertical space between items */
    text-align: right;          /* Ensures label text is right-aligned */
}

/* Change it to this */
.accordion-body .form-check .form-check-input {
    position: absolute;
    top: 0.3rem;
    right: 1.0rem; /* This adds the space */
}

/* ============================================= */
/* == Professional Expert Profile Page Styles == */
/* ============================================= */

.profile-page-container {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.page-title h1 {
    font-weight: 800;
    font-size: 2.75rem;
}

/* --- Sidebar Styling --- */
.profile-sidebar {
    background-color: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    text-align: center;
    position: sticky;
    top: 100px; /* Adjust based on your header height */
}

.profile-sidebar .avatar-box {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.profile-sidebar .avatar-box img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 0 0 3px var(--primary-blue, #2c3e50);
    object-fit: cover;
}

.profile-sidebar .upload-icon {
    position: absolute;
    bottom: 5px;
    left: 5px; /* Adjust if needed for RTL alignment */
    background-color: var(--primary-blue, #2c3e50);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    border: 3px solid #fff;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.profile-sidebar .upload-icon:hover {
    background-color: var(--accent-gold, #c29d5b);
    transform: scale(1.05);
}

.profile-sidebar .user-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark, #333);
    margin-bottom: 0.25rem;
}

.profile-sidebar .user-specialization {
    font-size: 1rem;
    font-weight: 500;
    color: var(--accent-gold, #c29d5b);
    margin-bottom: 0.5rem;
}

.profile-sidebar .user-membership {
    font-size: 0.9rem;
    color: var(--text-muted, #6c757d);
    margin-bottom: 1.5rem;
}

.profile-sidebar .profile-nav {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    width: 100%;
    border-top: 1px solid #e9ecef;
    padding-top: 1.5rem;
}

.profile-sidebar .profile-nav li a {
    display: block;
    padding: 0.75rem 1rem;
    color: #495057;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.profile-sidebar .profile-nav li a:hover,
.profile-sidebar .profile-nav li a.active {
    background-color: rgba(44, 62, 80, 0.05);
    color: var(--primary-blue, #2c3e50);
}


/* --- Main Content Panel Styling --- */
.profile-content-panel {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    margin-bottom: 2rem;
}

.profile-content-panel__header {
    padding: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.profile-content-panel__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue, #2c3e50);
    margin: 0;
}

.profile-content-panel__body {
    padding: 1.5rem;
}

.profile-content-panel .form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.profile-content-panel .form-control,
.profile-content-panel .form-select {
    border-radius: 8px;
    background-color: #f8f9fa;
}

.profile-content-panel .form-control:focus,
.profile-content-panel .form-select:focus {
    background-color: #fff;
    border-color: var(--primary-blue, #2c3e50);
    box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.15);
}

.profile-content-panel .form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid #e9ecef;
    background-color: #f8f9fa;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.btn-save-changes {
    background-color: var(--primary-blue, #2c3e50);
    color: #fff;
    font-weight: 700;
    padding: 10px 25px;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
}
.btn-save-changes:hover {
    background-color: var(--accent-gold, #c29d5b);
    color: var(--primary-blue, #2c3e50);
}

/* ============================================= */
/* == Expert Profile Page - Tab Navigation    == */
/* ============================================= */

.profile-sidebar .profile-nav li a.active {
    background-color: var(--primary-blue, #2c3e50);
    color: #fff;
    font-weight: 700;
}

.profile-sidebar .profile-nav li a.active:hover {
    color: #fff; /* Keep text white on hover for active link */
}

/* This will make the tab transitions smoother */
.tab-pane.fade {
    transition: opacity .15s linear;
}

/* ============================================= */
/* == Professional Expert Dashboard Styles    == */
/* ============================================= */

.expert-dashboard-page {
    padding: 4rem 0;
    background-color: #f8f9fa; /* Light gray background */
}

/* Page Title */
.page-title h1 {
    font-weight: 800;
    font-size: 2.75rem;
    margin-bottom: 0.5rem;
}
.page-title p {
    font-size: 1.15rem;
    color: var(--text-muted, #6c757d);
    max-width: 600px;
    margin: 0 auto;
}
.gradient-text {
    background: linear-gradient(to right, var(--primary-blue, #2c3e50), var(--accent-gold, #c29d5b));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Dashboard Card Styling */
.dashboard-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    padding: 2rem;
    text-align: center;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease-in-out;
}

.dashboard-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(44, 62, 80, 0.15);
    border-color: var(--primary-blue, #2c3e50);
}

.dashboard-card__icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(44, 62, 80, 0.1);
    color: var(--primary-blue, #2c3e50);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.dashboard-card:hover .dashboard-card__icon {
    background-color: var(--primary-blue, #2c3e50);
    color: #fff;
}

.dashboard-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark, #333);
    margin-bottom: 0.75rem;
}

.dashboard-card__description {
    color: var(--text-muted, #6c757d);
    line-height: 1.7;
    flex-grow: 1; /* Pushes the 'View More' text to the bottom */
    margin-bottom: 1.5rem;
}

.dashboard-card__link {
    font-weight: 700;
    color: var(--primary-blue, #2c3e50);
    text-decoration: none;
    transition: color 0.3s ease;
}

.dashboard-card:hover .dashboard-card__link {
    color: var(--accent-gold, #c29d5b);
}

.dashboard-card__link i {
    margin-right: 5px;
    transition: transform 0.3s ease;
}

.dashboard-card:hover .dashboard-card__link i {
    transform: translateX(-4px);
}

/* ============================================= */
/* == Professional Expert Profile Page Styles == */
/* ============================================= */

.profile-page-container {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.page-title h1 {
    font-weight: 800;
    font-size: 2.75rem;
}

/* --- Sidebar Styling --- */
.profile-sidebar {
    background-color: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    text-align: center;
    position: sticky;
    top: 120px; /* Adjust based on your sticky header height */
}

.profile-sidebar .avatar-box {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.profile-sidebar .avatar-box img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 0 0 3px var(--primary-blue, #2c3e50);
    object-fit: cover;
}

.profile-sidebar .upload-icon {
    position: absolute;
    bottom: 5px;
    left: 5px; /* Adjust if needed for RTL alignment */
    background-color: var(--primary-blue, #2c3e50);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    border: 3px solid #fff;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.profile-sidebar .upload-icon:hover {
    background-color: var(--accent-gold, #c29d5b);
    transform: scale(1.05);
}

.profile-sidebar .user-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark, #333);
    margin-bottom: 0.25rem;
}

.profile-sidebar .user-specialization {
    font-size: 1rem;
    font-weight: 500;
    color: var(--accent-gold, #c29d5b);
    margin-bottom: 0.5rem;
}

.profile-sidebar .user-membership {
    font-size: 0.9rem;
    color: var(--text-muted, #6c757d);
    margin-bottom: 1rem;
}

.profile-sidebar .badge {
    padding: 0.5em 0.9em;
    font-size: 0.8rem;
    font-weight: 700;
}

.profile-sidebar .profile-nav {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    width: 100%;
    border-top: 1px solid #e9ecef;
    padding-top: 1.5rem;
    text-align: right;
}

.profile-sidebar .profile-nav li a {
    display: block;
    padding: 0.75rem 1rem;
    color: #495057;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-bottom: 0.25rem;
}

.profile-sidebar .profile-nav li a:hover {
    background-color: rgba(44, 62, 80, 0.05);
    color: var(--primary-blue, #2c3e50);
}

.profile-sidebar .profile-nav li a.active {
    background-color: var(--primary-blue, #2c3e50);
    color: #fff;
    font-weight: 700;
}
.profile-sidebar .profile-nav li a.active:hover {
    color: #fff;
}


/* --- Main Content Panel Styling --- */
.profile-content-panel {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    margin-bottom: 2rem;
}

.profile-content-panel__header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e9ecef;
}

.profile-content-panel__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue, #2c3e50);
    margin: 0;
}

.profile-content-panel__body {
    padding: 2rem;
}

.profile-content-panel .form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.profile-content-panel .form-control,
.profile-content-panel .form-select {
    border-radius: 8px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    padding: .75rem 1rem;
    height: auto;
}

.profile-content-panel .form-control:focus,
.profile-content-panel .form-select:focus {
    background-color: #fff;
    border-color: var(--primary-blue, #2c3e50);
    box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.15);
}

.profile-content-panel__actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1.5rem 2rem;
    border-top: 1px solid #e9ecef;
    background-color: #fdfdfd;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.btn-save-changes {
    background-color: var(--primary-blue, #2c3e50);
    color: #fff;
    font-weight: 700;
    padding: 10px 25px;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
}
.btn-save-changes:hover {
    background-color: var(--accent-gold, #c29d5b);
    color: var(--primary-blue, #2c3e50);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Tab transitions */
.tab-pane.fade {
    transition: opacity .15s linear;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .profile-sidebar {
        position: static;
        top: auto;
    }
}

/* ============================================= */
/* == Professional Expert Card Redesign v2    == */
/* ============================================= */

.expert-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.expert-card {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.07);
    text-align: center;
    transition: all 0.3s ease-in-out;
    position: relative;
    padding-top: 70px; /* Creates space for the overlapping part of the image */
    border: 1px solid #e5e7eb;
}

.expert-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(44, 62, 80, 0.12);
    border-color: var(--primary-blue, #2c3e50);
}

.expert-card__image-wrapper {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%); /* Pulls the image up by half its height */
    width: 120px;
    height: 120px;
}

.expert-card__image-wrapper img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 0 0 1px #e5e7eb, 0 5px 15px rgba(0,0,0,0.1);
    object-fit: cover;
    display: block;
}

.expert-card__content {
    padding: 1.5rem 1rem;
}

.expert-card__status {
    background-color: var(--primary-blue, #2c3e50);
    color: #fff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1rem;
}

.expert-card__name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark, #333);
    margin-bottom: 0.5rem;
}

.expert-card__specialization {
    font-size: 1rem;
    color: var(--accent-gold, #c29d5b);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.expert-card__qualification {
    font-size: 0.9rem;
    color: var(--text-muted, #6c757d);
    margin-bottom: 0;
}

/* ============================================= */
/* == Professional Expert Details Page Styles == */
/* ============================================= */

.expert-profile-page .section-pattern {
    background-color: #f8f9fa;
}

/* --- Sidebar Card --- */
.profile-sidebar-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    text-align: center;
    position: sticky;
    top: 120px; /* Adjust based on your header height */
}

.profile-sidebar-card .avatar-wrapper {
    margin-bottom: 1rem;
}

.profile-sidebar-card .avatar-wrapper img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 0 0 2px var(--primary-blue, #2c3e50);
    object-fit: cover;
}

.profile-sidebar-card .expert-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-dark, #333);
    margin-bottom: 0.25rem;
}

.profile-sidebar-card .expert-specialization {
    font-size: 1rem;
    font-weight: 500;
    color: var(--accent-gold, #c29d5b);
    margin-bottom: 1rem;
}

.profile-sidebar-card .badge {
    padding: 0.5em 1em;
    font-size: 0.85rem;
}

.profile-sidebar-card .contact-info {
    text-align: right;
    margin: 1.5rem 0;
}

.profile-sidebar-card .contact-info .info-title {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.profile-sidebar-card .contact-info .info-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.profile-sidebar-card .contact-info .info-item i {
    color: var(--accent-gold, #c29d5b);
    font-size: 1rem;
    width: 25px;
}

.profile-sidebar-card .contact-info .info-item a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.profile-sidebar-card .contact-info .info-item a:hover {
    color: var(--primary-blue);
}

.btn-book-consultation {
    background-color: var(--primary-blue, #2c3e50);
    color: #fff;
    font-weight: 700;
    padding: 12px 25px;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
}
.btn-book-consultation:hover {
    background-color: var(--accent-gold, #c29d5b);
    color: var(--primary-blue, #2c3e50);
    transform: translateY(-2px);
}

/* --- Main Content Card & Tabs --- */
.profile-content-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    padding: 1rem;
}

.expert-content-tabs .nav-link {
    color: var(--text-muted);
    font-weight: 700;
    border: none;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    padding: 0.75rem 1rem;
}

.expert-content-tabs .nav-link.active {
    color: var(--primary-blue);
    background-color: transparent;
    border-bottom-color: var(--primary-blue);
}

.tab-content {
    padding: 1.5rem;
}

.tab-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue, #2c3e50);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e9ecef;
}

.bio-text {
    color: var(--text-muted);
    line-height: 1.8;
}

.stat-box {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
}

.stat-box .stat-icon {
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-left: 1rem;
}

.stat-box .stat-text {
    line-height: 1.2;
}

.stat-box .stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.stat-box .stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.info-list {
    list-style: none;
    padding: 0;
}
.info-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f2f5;
}
.info-list li:last-child {
    border-bottom: none;
}
.info-list li strong {
    color: var(--text-dark);
    margin-left: 10px;
}
.info-list li span {
    color: var(--text-muted);
}

/* --- Timeline for Education & Experience --- */
.timeline {
    list-style: none;
    padding: 0;
    position: relative;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 5px;
    bottom: 5px;
    right: 15px;
    width: 2px;
    background-color: #e9ecef;
}
.timeline li {
    margin-bottom: 1.5rem;
    position: relative;
    padding-right: 40px;
}
.timeline .timeline-icon {
    position: absolute;
    right: 0;
    top: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--primary-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
    box-shadow: 0 0 0 1px #e9ecef;
}
.timeline .timeline-content h6 {
    font-weight: 700;
    color: var(--text-dark);
}

/* ============================================= */
/* == Mobile Optimizations                     == */
/* ============================================= */

/* --- General (Tablets & Phones) --- */
@media (max-width: 991.98px) {
    .profile-page-container {
        padding: 2rem 0;
    }
    
    .page-title h1 {
        font-size: 2rem;
    }

    .profile-sidebar-card {
        position: static;
        top: auto;
        margin-bottom: 2rem;
    }
}

/* --- Specific (Phones) --- */
@media (max-width: 767.98px) {

    /* == Expert Details Page == */

    /* Make the sidebar more compact */
    .profile-sidebar-card {
        padding: 1.5rem;
    }
    .profile-sidebar-card .avatar-wrapper img {
        width: 120px;
        height: 120px;
    }
    .profile-sidebar-card .expert-name {
        font-size: 1.4rem;
    }

    /* Make tabs scroll horizontally instead of wrapping awkwardly */
    .expert-content-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;  /* Firefox */
    }
    .expert-content-tabs::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    .expert-content-tabs .nav-item {
        flex-shrink: 0;
    }

    /* Reduce padding and font sizes in the main content */
    .profile-content-card {
        padding: 0.5rem;
    }
    .tab-content {
        padding: 1rem;
    }
    .tab-section-title {
        font-size: 1.1rem;
    }
    .stat-box {
        padding: 0.75rem;
    }
    .stat-box .stat-number {
        font-size: 1.25rem;
    }
    .stat-box .stat-label {
        font-size: 0.8rem;
    }

    /* == Expert Card Component (Homepage/Listing) == */
    
    /* Make the overlapping image smaller */
    .expert-card {
        padding-top: 60px;
    }
    .expert-card__image-wrapper {
        width: 100px;
        height: 100px;
    }

    /* Adjust typography for smaller cards */
    .expert-card__content {
        padding: 1rem 0.75rem;
    }
    .expert-card__name {
        font-size: 1.15rem;
    }
    .expert-card__specialization {
        font-size: 0.9rem;
    }
    .expert-card__qualification {
        font-size: 0.8rem;
    }
}

/* ============================================= */
/* == Expert Listing Page & Cards             == */
/* ============================================= */

.expert-listing-page {
    background-color: #f8f9fa;
}

.expert-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.expert-card {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.07);
    text-align: center;
    transition: all 0.3s ease-in-out;
    position: relative;
    padding-top: 70px;
    border: 1px solid #e5e7eb;
}

.expert-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(44, 62, 80, 0.12);
    border-color: var(--primary-blue, #2c3e50);
}

.expert-card__image-wrapper {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
}

.expert-card__image-wrapper img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 0 0 1px #e5e7eb, 0 5px 15px rgba(0,0,0,0.1);
    object-fit: cover;
    display: block;
}

.expert-card__content {
    padding: 1.5rem 1rem;
}

.expert-card__status {
    background-color: var(--primary-blue, #2c3e50);
    color: #fff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1rem;
}

.expert-card__name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark, #333);
    margin-bottom: 0.5rem;
}

.expert-card__specialization {
    font-size: 1rem;
    color: var(--accent-gold, #c29d5b);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.expert-card__qualification {
    font-size: 0.9rem;
    color: var(--text-muted, #6c757d);
    margin-bottom: 0;
}

/* --- Empty State --- */
.empty-state-container {
    padding: 4rem 2rem;
    text-align: center;
    background-color: #fff;
    border-radius: 12px;
    border: 2px dashed #e9ecef;
}
.empty-state-icon {
    font-size: 3.5rem;
    color: var(--accent-gold, #c29d5b);
    margin-bottom: 1.5rem;
}
.empty-state-container h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-blue, #2c3e50);
}
.empty-state-container p {
    color: var(--text-muted, #6c757d);
    font-size: 1rem;
    margin: 0;
}


/* --- Pagination Styling --- */
.pagination {
    --bs-pagination-active-bg: var(--primary-blue, #2c3e50);
    --bs-pagination-active-border-color: var(--primary-blue, #2c3e50);
    --bs-pagination-color: var(--primary-blue, #2c3e50);
    --bs-pagination-hover-color: var(--accent-gold, #c29d5b);
    --bs-pagination-focus-box-shadow: 0 0 0 0.25rem rgba(44, 62, 80, 0.25);
    gap: 0.5rem;
}
.page-item .page-link {
    border-radius: 8px !important;
    border: 1px solid #dee2e6;
}
.page-item.active .page-link {
    font-weight: 700;
}

/* ============================================= */
/* == Mobile Optimizations for Expert Listing == */
/* ============================================= */

@media (max-width: 767.98px) {
    
    /* Adjust page title for mobile */
    .expert-listing-page .titlecall h1 {
        font-size: 2rem;
    }
    .expert-listing-page .titlecall p {
        font-size: 0.9rem;
    }

    /* Make the expert card more compact for the 2-column layout */
    .expert-card {
        padding-top: 55px; /* Adjust for smaller image */
        border-radius: 12px;
    }

    .expert-card__image-wrapper {
        width: 90px;
        height: 90px;
    }
    
    .expert-card__image-wrapper img {
        border-width: 4px;
    }

    .expert-card__content {
        padding: 1rem 0.5rem;
    }

    .expert-card__status {
        font-size: 0.65rem;
        padding: 4px 10px;
        margin-bottom: 0.75rem;
    }

    .expert-card__name {
        font-size: 0.9rem; /* Smaller name */
        font-weight: 700;
        line-height: 1.4;
        min-height: 40px; /* Helps align cards with 1 or 2-line names */
    }

    .expert-card__specialization {
        font-size: 0.8rem;
    }

    .expert-card__qualification {
        font-size: 0.75rem;
    }
}

/* Styling for the expert profile sidebar */

.membership-badge-gold {
    background: linear-gradient(135deg, #FFD700, #DAA520); /* Gold gradient */
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    margin-top: 15px; /* Space from the membership ID */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-size: 0.95em;
}

.membership-badge-gold i {
    margin-left: 8px; /* Space between icon and text */
    font-size: 1.1em;
}

.user-membership-expiry {
    /* Font size has been made smaller */
    font-size: 0.85em;
    color: #6c757d;
    margin-top: 10px;
}

/* Styling for the user profile sidebar badges */

/* Base style for all membership badges */
.membership-badge-base {
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px; /* Space from the content above */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-size: 0.95em;
    color: #fff; /* Default text color for badges */
}

/* Icon styling for RTL layout */
.membership-badge-base i {
    margin-right: 8px; /* Space between text and icon */
    font-size: 1.1em;
}

/* Specific style for Expert Membership (Gold) */
.membership-badge-expert {
    background: linear-gradient(135deg, #FFD700, #DAA520);
}

/* Specific style for General Membership (Silver) */
.membership-badge-general {
    background: linear-gradient(135deg, #A8A8A8, #7F7F7F);
}

/* Specific style for Client Membership (Blue/Grey) */
.membership-badge-client {
    background: linear-gradient(135deg, #8696a7, #58697a);
}

/* Specific style for Pending Application (NEW - Orange) */
.membership-badge-pending {
    background: linear-gradient(135deg, #fd7e14, #ffc107);
}

/* Styling for the expiry date text */
.user-membership-expiry {
    font-size: 0.85em;
    color: #6c757d;
    margin-top: 10px;
}