:root {
    --primary: #174478;
    --secondary: #fec524;
    /* --light: #F7F7F7; */
    --light: #d7d1d1;
    --grey: grey;
    --hint: #989898;
    --grey300: #E0E0E0;
    --greyShade1: #8E8E93;
    --greyShade2: #AEAEB2;
    --greyShade3: #C7C7CC;
    --greyShade4: #D1D1D6;
    --greyShade5: #E5E5EA;
    --greyShade6: #F2F2F7;
    --text-theme-colored: #174478;
    --text-theme-colored2: #0081a1;
    --border-theme-colored: #bdebef;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Cairo', sans-serif;
    font-family: 'Noto Kufi Arabic', sans-serif;
    font-size: 14px;
}

body {
    background-color: #f5f7fa;
}

.color-primary {
    color: var(--primary);
}

.color-secondary {
    color: var(--secondary);
}

.color-hint {
    color: var(--hint);
}

.text-color-grey {
    color: var(--grey);
}

.bg-secondary-color {
    background-color: var(--secondary) !important;
}

.bg-primary-color {
    background-color: var(--primary);
}

.bg-light-color {
    /* background-color: var(--light); */
    background: color-mix(in srgb, var(--primary), transparent 97%);
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-bold {
    font-weight: 600 !important;
}

.hover-icon-header:hover {
    color: white;
}

.text-justify {
    text-align: justify;
}

.crop-text-4 {
    -webkit-line-clamp: 4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.hover-icon-header:hover {
    color: white;
}

/* Inverted icon for rtl direction */
[dir="rtl"] .rtl-icon {
    transform: scaleX(-1);
}

.breadcrumb-item+.breadcrumb-item::before {
    color: white !important;
}

/*** Topbar Start ***/
.topbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
    color: var(--bs-primary);
}

.topbar .dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.topbar .dropdown .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    padding-top: 11px;
    border: 0;
    transition: .5s;
    opacity: 1;
}

.topbar .hover-icon-header:hover {
    color: var(--primary);
}

/*** Topbar End ***/


/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-right: 25px;
    padding: 35px 0;
    color: var(--bs-white);
    /* font-size: 17px; */
    font-weight: 500;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link,
.sticky-top.navbar-light .navbar-nav .nav-item .nav-link {
    padding: 20px 0;
    color: var(--bs-dark);
}

.navbar-light .navbar-nav .nav-item .nav-link {
    color: var(--bs-white);
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-item .nav-link:hover,
.navbar-light .navbar-nav .nav-item .nav-link.active {
    color: var(--secondary);
}

.navbar-light .navbar-brand img {
    max-height: 70px;
    transition: .5s;
    width: 100%;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 45px;
    width: 100%;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item:focus {
    background-color: var(--primary);
    color: #fff;
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    transition: .5s;
    opacity: 1;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: relative;
        background: var(--bs-white);
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 10px 20px;
        border: 1px solid var(--primary);
        color: var(--primary);
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--bs-dark);
    }

    .navbar-light .navbar-nav .nav-item .nav-link {
        color: var(--bs-dark);
    }

    .navbar-light .navbar-brand img {
        max-height: 60px;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: .5s;
        opacity: 0;
    }

    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
        z-index: 999;
    }

    .sticky-top.navbar-light {
        position: fixed;
        background: var(--bs-light);
    }

    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--secondary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: calc(100% - 2px);
        left: 1px;
    }

    .navbar-light .navbar-nav .nav-link::after {
        position: absolute;
        content: "";
        width: 0;
        height: 0;
        bottom: -1px;
        left: 50%;
        background: var(--secondary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::after,
    .navbar-light .navbar-nav .nav-link.active::after {
        width: 2px;
        height: 12px;
    }
}

.custom-link-border-primary {
    padding: 6px 10px;
    border-radius: 5px;
    color: var(--primary);
    text-decoration: none;
    background: transparent;
    border: 1px solid var(--primary) !important;
}

.custom-link-border-primary:hover {
    background: var(--primary);
    color: white;
}

.link-border-outline {
    padding: 5px 5px;
    border-radius: 5px;
    color: white;
    text-decoration: none;
    background: var(--primary);
    border-color: transparent !important;

}

.link-border-outline:hover {
    background: var(--secondary);
    color: white;
    border-radius: 5px;
}

.link-border-outline-secondary {
    padding: 5px 8px;
    border-radius: 5px;
    color: white;
    text-decoration: none;
    background: var(--secondary);

}

.link-border-outline-secondary:hover {
    background: var(--primary);
    color: white;
    border-radius: 5px;
}

/* -------------------- main-content ---------------------------- */
.main-content {
    background-color: #fff;
}

/* -------------------- section-title ---------------------------- */
.section-title {
    text-align: center;
}

.section-title h2 {
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
    color: var(--primary);
}

.section-title h2::before {
    content: "";
    position: absolute;
    display: block;
    width: 120px;
    height: 1px;
    background: #ddd;
    bottom: 1px;
    left: calc(50% - 60px);
}

.section-title h2::after {
    content: "";
    position: absolute;
    display: block;
    width: 40px;
    height: 3px;
    background: var(--text-theme-colored2);
    bottom: 0;
    left: calc(50% - 20px);
}

.section-title p {
    margin-bottom: 0;
}

/* --------------- hero carousel ------------- */
.hero {
    padding: 0;
}

.hero .carousel {
    width: 100%;
    min-height: 60vh;
    padding: 0;
    margin: 0;
    background-color: var(--background-color);
    position: relative;
}

.hero img.logo {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: center;

}

.hero .carousel-item {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero .carousel-item:before {
    content: "";
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    inset: 0;
    z-index: 2;
}

.hero .carousel-container {
    position: absolute;
    inset: 90px 64px 64px 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 3;
}

.hero .btn-get-started {
    color: var(--contrast-color);
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 8px 32px;
    border-radius: 10px;
    transition: 0.5s;
    margin: 10px 5px;
    animation: fadeInUp 1s both 0.4s;
    border: 2px solid var(--accent-color);
}

.hero .btn-get-started:hover {
    background: var(--accent-color);
}

@media (max-width: 768px) {
    .hero .carousel {
        min-height: 50vh;
    }

    .hero .btn-get-started {
        padding: 4px 16px;
        font-size: 12px;
    }

}

.hero .carousel-control-prev,
.hero .carousel-control-next {
    width: 10%;
    transition: 0.3s;
    opacity: 0.5;
    text-decoration: none;
}

.hero .carousel-control-prev:focus,
.hero .carousel-control-next:focus {
    opacity: 0.5;
}

.hero .carousel-control-prev:hover,
.hero .carousel-control-next:hover {
    opacity: 0.9;
}

@media (min-width: 1024px) {

    .hero .carousel-control-prev,
    .hero .carousel-control-next {
        width: 5%;
    }
}

.hero .carousel-control-next-icon,
.hero .carousel-control-prev-icon {
    background: none;
    font-size: 32px;
    line-height: 1;
}

.hero .carousel-indicators {
    list-style: none;
}

.hero .carousel-indicators li {
    cursor: pointer;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 100%, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -100%, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    margin-bottom: 1.5rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* ----custom-animation-image-zoom ----*/
.custom-animation-image-zoom {
    animation-name: image-zoom;
    animation-duration: 10s;
    animation-delay: 1s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    transition: 1s;
}

@keyframes image-zoom {
    0% {
        height: 100%;
        opacity: 0.8;
    }

    50% {
        height: 115%;
        opacity: 1;
    }

    100% {
        height: 100%;
        opacity: 0.8;
    }
}

/* ----------- about section -------------- */

.about .content h2 {
    color: var(--primary);
    font-size: 24px;
    font-weight: 700;
}

.about .content p {
    color: #000;
}

.about .content ul span {
    color: #000;
}

.about .content ul {
    list-style: none;
    padding: 0;
}

.about .content ul li {
    padding: 5px 0 0 0;
    display: flex;
}

.about .content ul i {
    color: var(--primary);
    margin-right: 0.5rem;
    line-height: 1.2;
}

.about .content p:last-child {
    margin-bottom: 0;
}

.about .pulsating-play-btn {
    position: absolute;
    left: calc(50% - 47px);
    top: calc(50% - 47px);
}

.about .btn-get-about {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 1px;
    display: inline-block;
    padding: 8px 32px;
    border-radius: 50px;
    transition: 0.5s;
    margin: 5px 5px;
    animation: fadeInUp 1s both 0.4s;
    background: color-mix(in srgb, var(--primary), transparent 92%);
    text-decoration: none;
}

.about .btn-get-about:hover {
    background: color-mix(in srgb, var(--primary), transparent 70%);
}

@media (max-width: 768px) {
    .about .content h2 {
        font-size: 14px;
    }

    .about .btn-get-about-parent {
        text-align: center;
    }

    .about .btn-get-about {
        font-size: 12px;
    }

    .about .content p {
        font-size: 13px;
    }

    .about .content ul span {
        font-size: 13px;
    }

    .about .img-free-training {
        height: 300px;
    }
}

/* --------------- licenses ------------- */
.licenses .license-card {
    width: 100%;
    background: white;
    padding: 10px 20px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: solid 1px var(--border-theme-colored);
}

.licenses .license-card .license-body {
    height: 100px;
}

.licenses .license-card a {
    width: 100%;
    margin: 10px 0;
    margin-top: 15px;
    padding: 5px 5px;
    border-radius: 8px;
    color: var(--primary);
    text-decoration: none;
    background: transparent;
    border: 1px solid var(--primary) !important;
    font-size: 14px;
    font-weight: 400;
}

.licenses .license-card a:hover {
    background: var(--primary);
    color: white;
    border-radius: 5px;
}

.licenses .license-card a i {
    transition: transform 0.3s ease;
    transform: rotate(45deg);
}

.licenses .license-card a:hover i {
    transform: rotate(0deg);
}

.accreditations-section .accreditations-card {
    width: 100%;
    background: white;
    padding: 10px 20px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: solid 1px var(--border-theme-colored);
}

.accreditations-section .accreditations-card .acc-name {
    border-right: 3px solid #0081a1;
    margin-top: 10px;
    margin-bottom: 20px;
}

.accreditations-section .accreditations-card .acc-name h5 {
    color: var(--primary);
}

/* --------------- owl-carousel ------------- */
.owl-carousel-control-nav {
    margin-top: 15px;
    margin-bottom: 15px;
}

.wl-carousel-control-icon {
    display: inline-block;
    width: 36px;
    height: 36px;
    box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    text-align: center;
    cursor: pointer;
    margin-right: 16px;
    background-color: var(--primary)
}

.wl-carousel-control-icon:last-child {
    margin-right: 0px
}

.wl-carousel-control-icon i {
    line-height: 36px;
    color: #fff;
    font-size: 18px;
    -webkit-transition: all 200ms ease;
    -moz-transition: all 200ms ease;
    -ms-transition: all 200ms ease;
    -o-transition: all 200ms ease;
    transition: all 200ms ease
}

.wl-carousel-control-icon:hover i {
    color: var(--secondary)
}

/* -------------course-item -------------------*/
.course-item {
    background: #ffffff;
}

.course-item:hover {
    background: #f7feff;
}

.course-item:hover .register-now {
    background-color: var(--secondary);
}

.course-image-height {
    width: 100%;
    height: 400px;
    object-fit: fill;
}

@media (max-width: 768px) {
    .course-image-height {
        height: 300px;
    }
}

.card-side-details-course {
    box-shadow: 0px 2px 15px rgba(44, 73, 100, 0.08);
    border-radius: 10px;
    border: solid 1px #bdebef;
}

/* -------------teachers-------------------*/

.teachers.testimonial .testimonial-item {
    position: relative;
}

.teachers.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;
}

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

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

.teachers.testimonial .owl-nav .owl-next:hover {
    background: var(--secondary);
    color: var(--bs-white);
}

/* RTL support for nav arrows */
[dir="rtl"] .teachers.testimonial .owl-nav .owl-prev {
    left: auto;
    right: 0;
}

[dir="rtl"] .teachers.testimonial .owl-nav .owl-next {
    right: auto;
    left: 0;
}



.teachers .teacher-item {
    position: relative;
    padding: 0 25px 25px 25px;
    border-radius: 10px;
    transition: 0.5s;
    width: 100%;
}

.teachers .teacher-item::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    background: color-mix(in srgb, var(--primary), transparent 92%);
    border-radius: 10px;
    transition: 0.5s;
    z-index: -1;
}

.teachers .teacher-item:hover::before {
    height: 0;
}

.teachers .teacher-item::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    border-radius: 10px;
    transition: 0.5s;
    z-index: -1;
}

.teachers .teacher-item:hover::after {
    height: 100%;
    background: var(--bs-primary);
}

.teachers .teacher-item .teacher-img {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 100%;
    top: -50px;
    left: calc(55% - 75px);
    display: flex;
    justify-content: center;
    border: 4px solid var(--bs-primary);
    border-style: dotted;
    padding: 4px;
    margin-top: 7px;
    background: var(--bs-white);
    transition: 0.5s;
}

.teachers .teacher-item:hover .teacher-img {
    border: 4px solid var(--bs-white);
    border-style: dotted;
    background: 0;
}

.teachers .teacher-item .teacher-img img {
    width: 100%;
    height: 100%;
    border-radius: 100%;
    transition: 0.5s;
}

.teachers .teacher-item .teacher-title {
    /* padding: 25px 0 25px 0; */
    padding-top: 90px;
    text-align: center;
}

.teachers .teacher-item .teacher-title h4 {
    color: var(--primary);
}

.teachers .teacher-item .teacher-title h4,
.teachers .teacher-item .teacher-title p {
    transition: 0.5s;
}

.teachers .teacher-item:hover .teacher-title h4,
.teachers .teacher-item:hover .teacher-title p {
    color: var(--bs-white);
}

/* -------------how-we-work -------------------*/
.how-we-work {
    height: 215px;
    display: flex;
    flex-direction: column;
    text-align: center;
    border-radius: 10px;
    border: solid 1px var(--border-theme-colored);
    transition: box-shadow .3s;
    width: 100%;
    /* background: #f7feff; */
    background: #f0f9fa;
}

.how-we-work img {
    width: 80px;
    height: 80px;
}

.how-we-work:hover {
    box-shadow: 0 0 11px rgba(33, 33, 33, .2);
    background: #ffffff;
}

.how-we-work h5 {
    color: var(--primary);
    padding: 8px 0 0 0px;
    text-align: center;
}

.how-we-work p {
    font-size: 13px;
}


/* ----------- border radius ---------------- */

.border-radius-5px {
    border-radius: 5px;
}

.border-radius-8px {
    border-radius: 8px;
}

.border-radius-10px {
    border-radius: 10px;
}

/*-------------------------- Frequently Asked Questions ------------------------------*/

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

.faq .faq-list li+li {
    margin-top: 15px;
}

.faq .faq-list li {
    padding: 15px 30px;
    background: white;
    border-radius: 7px;
    position: relative;
    box-shadow: 0px 2px 15px rgba(44, 73, 100, 0.08);
    border: solid 1px #efefef;
}

.faq .faq-list a {
    display: block;
    position: relative;
    font-size: 14px;
    line-height: 24px;
    font-weight: 500;
    padding: 0 30px;
    outline: none;
    cursor: pointer;
    color: #95e2ff;
}

.faq .faq-list a.icon-help {
    position: absolute;
    right: 0;
    left: 20px;
    color: #fff;
}

.faq .faq-list .icon-help {
    font-size: 20px;
    position: absolute;
    right: 20px;
    left: 20px;
    color: var(--primary);
}

.faq .faq-list .icon-show,
.faq .faq-list .icon-close {
    position: absolute;
    left: 0;
    top: 0;
}

.faq .faq-list p {
    margin-bottom: 0;
    padding: 10px 0 0 0;
    color: var(--primary);
}

.faq .faq-list .icon-show {
    display: none;
}

.faq .faq-list a.collapsed {
    color: var(--primary);
}

.faq .faq-list a.collapsed:hover {
    color: #95e2ff;
}

.faq .faq-list a.collapsed .icon-show {
    display: inline-block;
}

.faq .faq-list a.collapsed .icon-close {
    display: none;
}

@media (max-width: 1200px) {
    .faq .faq-list {
        padding: 0;
    }
}

/* -------------------------counter area--------------------------- */
.counters .counter-card {
    background: white;
    border-radius: 10px;
    padding: 10px 10px;
    text-align: center;
    border: solid 1px var(--border-theme-colored);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.counters .icon-circle-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-top: 5px;
    margin-bottom: 5px;
}

.counters .icon-blue {
    background-color: rgba(52, 152, 219, 0.1);
    color: #3498db;
}

.counters .icon-orange {
    background-color: rgba(243, 156, 18, 0.1);
    color: #f39c12;
}

.counters .icon-green {
    background-color: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
}

.counters .icon-red {
    background-color: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}

.counters .counter-number {
    font-size: 2rem;
    font-weight: 600;
    color: #174478;
    margin-bottom: 8px;
    line-height: 1;
}

.counters .counter-label {
    font-size: 1rem;
    color: #7f8c8d;
    font-weight: 400;
}

/*-------------------- top banner section -----------------------*/
.top-banner-section .banner {
    background-position: bottom center;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url(../images/header-top-img1.webp);
    min-height: 300px;
    width: 100%;
    background-color: white;
}

.top-banner-section .banner .overlay {
    background-color: rgba(0, 0, 0, 0.4);
    width: 100%;
    height: 100%;
}

.top-banner-section .banner h3 {
    margin-top: 100px;
}

.contact-us-section .banner .overlay p {
    font-size: 17px;
}

.support-header {
    /* background: linear-gradient(135deg, var(--primary), #1a2530); */
    background-color: rgba(0, 0, 0, 0.61);
    padding: 80px 0 80px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.support-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/header-top-img.webp') no-repeat center center/cover;
    opacity: 0.2;
}

@media (max-width: 768px) {
    .top-banner-section .banner h3 {
        margin-top: 0;
    }
}

/* --------------- clients previews ------------- */
.testimonial .testimonial-item {
    position: relative;
    margin-bottom: 60px;
    padding: 0 25px 25px 25px;
}

.testimonial .testimonial-item::before {
    content: "";
    position: absolute;
    width: 100%;
    height: calc(100% - 50px);
    bottom: 0;
    left: 0;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: -1;
}

.testimonial .testimonial-item .testimonial-img {
    display: flex;
    justify-content: center;
}

.testimonial .testimonial-item .testimonial-img img {
    margin-top: 8px;
    width: 80px;
    height: 80px;
    border-radius: 100px;
    border: 5px solid var(--bs-light);
    border-style: double;
    background: #ffffff;
}

.testimonial .testimonial-item .testimonial-text {
    padding: 25px 0;
    text-align: center;
}

.testimonial .testimonial-item .testimonial-title {
    display: flex;
    justify-content: space-between;
}

.testimonial .testimonial-item .testimonial-quote-left {
    position: absolute;
    width: 60px;
    height: 60px;
    top: 20px;
    left: 25px;
    border-radius: 60px;
    color: var(--bs-primary);
    background: var(--bs-white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial .testimonial-item .testimonial-quote-right {
    position: absolute;
    width: 60px;
    height: 60px;
    bottom: -30px;
    right: 25px;
    margin-top: -5px;
    border-radius: 60px;
    color: var(--bs-primary);
    background: var(--bs-white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

/*
RTL support  */
[dir="rtl"] .testimonial .testimonial-item .testimonial-quote-left {
    left: auto;
    right: 25px;
}

[dir="rtl"] .testimonial .testimonial-item .testimonial-quote-right {
    right: auto;
    left: 25px;
}

.testimonial .testimonial-item .testimonial-quote-left i,
.testimonial .testimonial-item .testimonial-quote-right i {
    font-size: 24px;
    color: var(--primary);
}

.testimonial .testimonial-item .star-review i {
    color: var(--primary);
}

.testimonial-carousel .owl-stage-outer {
    margin-top: 58px;
    margin-right: -1px;
}

.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-secondary);
    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-secondary);
    color: var(--bs-white);
}

/* RTL support for nav arrows */
[dir="rtl"] .testimonial .owl-nav .owl-prev {
    left: auto;
    right: 0;
}

[dir="rtl"] .testimonial .owl-nav .owl-next {
    right: auto;
    left: 0;
}

/*-------------------- لاblogs -----------------------*/
.blogs-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.blogs-card:hover {
    transform: translateY(-5px);
    box-shadow: 1px 10px 20px rgba(0, 0, 0, 0.1);
}

.blogs-card img {
    height: 250px;
    object-fit: cover;
}

.blogs-card h5 {
    color: var(--primary);
    font-weight: 600;
}

.blogs-card .card-body {
    padding: 15px;
}

.blogs-card .card-body a {
    border: 1px solid var(--primary);
    color: var(--primary);
}

.blogs-card .card-body a:hover {
    border: 1px solid var(--primary);
    color: white;
    background-color: var(--primary);
}

.details-blog .card-details {
    background: white;
    padding: 10px;
    box-shadow: 0px 2px 15px rgba(44, 73, 100, 0.08);
    border-radius: 10px;
    border: solid 1px #bdebef;
}

.details-blog .card-details .img-blog {
    width: 100%;
    height: 30%;
    object-fit: cover;
    border-radius: 10px;
}

.details-blog .trending-news {
    background: white;
    padding: 10px;
    box-shadow: 0px 2px 15px rgba(44, 73, 100, 0.08);
    border-radius: 10px;
    border: solid 1px #bdebef;
}

.details-blog .trending-news .trending-item {
    padding: 10px 0;
    border-bottom: 1px solid #dee2e6;
}

.details-blog .trending-news .trending-item .trending-title {
    font-size: 13px;
    text-decoration: none;
    color: var(--primary);
}

.details-blog .trending-news .trending-item:last-child {
    border-bottom: none;
}

.details-blog .trending-news .trending-number {
    background-color: var(--primary);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-left: 10px;
}

.details-blog .trending-news .trending-item .trending-title:hover {
    color: var(--secondary);

}

.details-blog .trending-news .trending-item:has(.trending-title:hover) .trending-number {
    background-color: var(--secondary);
    color: #fff;
}

/*-------------------- our-partners -----------------------*/
.our-partners .partner-logo {
    max-width: 100%;
    height: 80px;
    object-fit: contain;
    filter: grayscale(20%);
    transition: transform .25s ease, filter .25s ease;
}

.our-partners .item {
    display: flex;
    align-items: center;
    justify-content: center;

}

.our-partners .item:hover .partner-logo {
    transform: scale(1.05);
    filter: grayscale(0%);
}

/* أسهم التنقل */
.our-partners .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5) !important;
    color: #fff !important;
    border-radius: 50% !important;
    width: 40px;
    height: 40px;
    font-size: 1.5rem !important;
    line-height: 1 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.our-partners .owl-nav .owl-prev {
    right: -20px;
}

.our-partners .owl-nav .owl-next {
    left: -20px;
}

.custom-btn-more {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 1px;
    display: inline-block;
    padding: 8px 32px;
    border-radius: 10px;
    transition: 0.5s;
    margin: 5px 5px;
    animation: fadeInUp 1s both 0.4s;
    background: color-mix(in srgb, var(--primary), transparent 90%);
    text-decoration: none;
}

.custom-btn-more:hover {
    background: color-mix(in srgb, var(--primary), transparent 70%);
}

/*-------------------- footer area -----------------------*/
.footer {
    background-color: var(--primary);
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
    color: var(--secondary);
}

.footer .btn.btn-social:hover {
    color: var(--secondary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: start;
    color: #ffffff;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
    text-decoration: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.section-title-footer::after {
    display: inline-block;
    content: "";
    width: 60px;
    height: 2px;
    top: 50%;
    left: -70px;
    margin-top: -1px;
    margin: 0 5px;
    background: var(--secondary);
}

.footer .timings-list {
    list-style: none;
    padding: 0;
}

.footer .timings-list li {
    padding: 10px 0;
    border-bottom: 1px dotted #6c757d;
}

.footer .closed-badge {
    border: solid 1px red;
    color: red;
    padding: 5px 10px;
    border-radius: 5px;
}

/* ----------- custom bottom buttom contact ---------------- */
.custom-bottom-btn-whatsapp,
.custom-bottom-btn-support {
    position: fixed;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: white;
    font-size: 20px;
    z-index: 1000;
}

.custom-bottom-btn-whatsapp {
    left: 10px;
    bottom: 70px;
    background: #25D366;
}

.custom-bottom-btn-support {
    left: 10px;
    bottom: 20px;
    background: var(--primary);
}

.custom-bottom-btn-whatsapp:hover,
.custom-bottom-btn-support:hover {
    background: var(--secondary);
    color: white;
    text-decoration: none;
}

/* ----------- chatbot-container ---------------- */
.chatbot-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
}

.chatbot-container .chatbot-toggle {
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.4);
    transition: all 0.3s ease;
    border: none;
}

/* .chatbot-container .chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(44, 90, 160, 0.6);
} */

.chatbot-container .chatbot-window {
    width: 350px;
    height: 500px;
    background-color: white;
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
    margin-bottom: 15px;
    border: 1px solid #dee2e6;
}

.chatbot-container .chatbot-header {
    background: linear-gradient(135deg, var(--primary), #1a3a6e);
    color: white;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chatbot-container .chatbot-title {
    display: flex;
    align-items: center;
    font-weight: 600;
}

.chatbot-container .chatbot-title i {
    margin-left: 10px;
    font-size: 20px;
}

.chatbot-container .chatbot-close {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
}

.chatbot-container .chatbot-clear {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
}

.chatbot-container .chatbot-messages {
    /* flex: 1; */
    padding: 15px;
    height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
    /* background-color: #f8f9fa; */
}

.chatbot-container .message {
    max-width: 95%;
    padding: 10px 15px;
    margin-bottom: 15px;
    border-radius: 18px;
    position: relative;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chatbot-container .bot-message {
    align-self: flex-start;
    background-color: #e9ecef;
    border-bottom-right-radius: 5px;
    color: var(--text-color);
    line-height: 1.8;
    white-space: pre-line;
}

.chatbot-container .user-message {
    align-self: flex-start;
    background-color: var(--primary);
    color: white;
    border-bottom-left-radius: 5px;

    display: inline-block;
    max-width: 90%;
    word-wrap: break-word;
}

.chatbot-container .chatbot-input {
    display: flex;
    padding: 15px;
    background-color: white;
    /* border-top: 1px solid #dee2e6; */
    flex-shrink: 0;
    min-height: 70px;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.chatbot-container .chatbot-input input {
    flex: 1;
    border: 2px solid #dee2e6;
    border-radius: 25px;
    padding: 10px 15px;
    outline: none;
    transition: border-color 0.3s;
    min-width: 0;
    /* السماح بالانكماش بشكل صحيح */
}

.chatbot-container .chatbot-input input:focus {
    border-color: var(--primary);
}

.chatbot-container .chatbot-send {
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
    flex-shrink: 0;
    /* منع انكماش الزر */
}

.chatbot-container .chatbot-send:hover {
    background-color: var(--primary);
}

.chatbot-container .quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.chatbot-container .typing-indicator {
    display: flex;
    align-items: center;
    color: var(--primary);
    font-size: 14px;
    margin-top: 5px;
    margin-bottom: 20px;
}

.chatbot-container .typing-dots {
    display: flex;
    margin-right: 5px;
}

.chatbot-container .typing-dots span {
    height: 6px;
    width: 6px;
    background-color: var(--primary);
    border-radius: 50%;
    display: block;
    margin: 0 1px;
    animation: typing 1.4s infinite ease-in-out;
}

.chatbot-container .typing-dots span:nth-child(1) {
    animation-delay: 0s;
}

.chatbot-container .typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.chatbot-container .typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {

    0%,
    60%,
    100% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-5px);
    }
}


.chatbot-container .chatbot-login {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chatbot-container .chatbot-login h5 {
    text-align: center;
    margin-bottom: 10px;
    color: var(--primary);
}

.chatbot-container .chatbot-login button {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.chatbot-container .chatbot-login button:hover {
    background-color: #1a3a6e;
}

.chatbot-container .user-info {
    font-size: 12px;
    color: var(--light-text);
    text-align: center;
    padding: 5px;
    border-top: 1px solid #dee2e6;
    color: var(--primary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .chatbot-container {
        left: 10px;
        bottom: 10px;
        margin-right: 10px;
    }

    .chatbot-container .chatbot-window {
        width: 90%;
        height: 80%;
    }

    .chatbot-container .chatbot-input {
        margin-left: 10%;
        width: 90%;
    }

    .chatbot-container .chatbot-title {
        font-size: 11px;
        font-weight: 500;
    }

    .chatbot-container .chatbot-title i {
        font-size: 16px;
    }
}

/* ----------- card ---------------- */
.card-primary {
    --lte-card-variant-bg: var(--primary);
    --lte-card-variant-bg-rgb: 13, 110, 253;
    --lte-card-variant-color: #fff;
    --lte-card-variant-color-rgb: 255, 255, 255;
}

.card[class*=card-]:not(.card-outline)>.card-header,
.card[class*=text-bg-]:not(.card-outline)>.card-header {
    color: var(--lte-card-variant-color);
    background-color: var(--lte-card-variant-bg);
}

.card[class*=card-]:not(.card-outline)>.card-header .btn-tool,
.card[class*=text-bg-]:not(.card-outline)>.card-header .btn-tool {
    --bs-btn-color: rgba(var(--lte-card-variant-color-rgb), .8);
    --bs-btn-hover-color: var(--lte-card-variant-color);
}

.card.card-outline {
    border-top: 3px solid var(--primary);
}

/* ----------- alert ---------------*/
#top-message {
    position: fixed;
    top: 10px;
    left: 5%;
    width: 100%;
    z-index: 9999;
}

/* ----------- other ---------------- */
.border-left-right {
    border-left: 1px;
    border-right: 1px;
    border-left-color: var(--grey);
    border-right-color: var(--grey);
    border-left-style: solid;
    border-right-style: solid;
}

.link-custom-hover:hover {
    color: white;
    background-color: var(--secondary);
}

.text-decoration {
    text-decoration: none !important;
}

*:focus {
    box-shadow: none !important;
}

.form-label {
    color: grey;
}

span.error {
    color: red;
    font-size: 0.875em;
}


/* ----------- btn-custom-outline-primary---------------*/
.btn-custom-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
    margin-top: 10px;
}

.btn-custom-outline-primary:hover {
    border-color: var(--secondary);
    color: white;
    background-color: var(--secondary);
}

.btn-custom-outline-primary i {
    color: var(--primary);
    margin-left: 10px;
}

.btn-custom-outline-primary:hover i {
    color: white;
}

/* ----------- button download ---------------*/
.accordion .accordion-item .accordion-header .accordion-button {
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
}

.accordion .accordion-item .accordion-header .accordion-button.collapsed {
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
}