/* breadcrum-hero */

.hero-slide {
    position: relative;
    width: 100%;
    height: 50vh;
    overflow: hidden;
}

.hero-slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.5), transparent 50%);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 3rem;
    color: #fff;
}

.hero-caption {
    max-width: 600px;
}

.hero-caption h2 {
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.hero-caption p {
    font-size: 1.1rem;
    color: #ddd;
}

/* تحسين المحاذاة للغتين */
.text-end {
    text-align: right !important;
}

.text-start {
    text-align: left !important;
}

.pe-4 {
    padding-right: 1.5rem !important;
}

.ps-4 {
    padding-left: 1.5rem !important;
}





.fw-bold {
    text-align: center;
}

/* hero section */



/* Hero Slide */
.hero-slidel {
    height: 560px;
    overflow: hidden;
}

.hero-slidel img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.overlayl {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    padding-right: 2rem;
}

.hero-captionl {
    max-width: 600px;
    margin-right: auto;

    /* لدفع النص إلى اليمين */
}

.hero-captionl h2 {
    font-size: 2.5rem;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
}

.hero-captionl p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-captionl .btn-primary {
    font-size: 1rem;
    padding: 0.5rem 1.5rem;
    border-radius: 0.4rem;
}





/* register form */

#signupPopupForm .modal-dialog {
    max-width: 720px;
}

#signupPopupForm .modal-content {
    max-height: 74vh;
}

#signupPopupForm .modal-body {
    overflow-y: auto;
    padding-block: .6rem;
}

#signupPopupForm .modal-header,
#signupPopupForm .modal-footer {
    padding: .6rem .9rem;
}


#signupPopupForm .field {
    position: relative;
}

#signupPopupForm .form-icon {
    position: absolute;
    inset-inline-start: .75rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.05rem;
    opacity: .75;
    pointer-events: none;
}

#signupPopupForm .form-control,
#signupPopupForm select.form-control,
#signupPopupForm textarea.form-control {
    padding-inline-start: 2.25rem;
    height: 44px;
}

#signupPopupForm textarea.form-control {
    height: auto;
    min-height: 44px;
}

#signupPopupForm .input-box {
    margin-bottom: .6rem;
}

#signupPopupForm .label-text {
    font-size: .9rem;
    margin-bottom: .3rem;
}

#signupPopupForm .theme-btn {
    padding: .6rem .75rem;
}

#signupPopupForm select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}




/* header */

.logo-img {
    width: 100px;
}

.menu-toggler i {
    font-size: 26px;
    z-index: 10000;
}

.menu-toggler {
    position: relative;
    z-index: 10000;
}

.menu-toggler i.la-times {
    display: none;
}

.menu-toggler.active i.la-bars {
    display: none;
}

.menu-toggler.active i.la-times {
    display: block;
}








:root {
    /* --main-color: #27aae2; */
    --main-color: #1399d2;
}


.btn-primary,
.btn-outline-primary,
.theme-btn {
    background-color: transparent !important;
    border: 1px solid var(--main-color) !important;
    color: var(--main-color) !important;
    transition: all 0.3s ease;
}


.btn-primary:hover,
.btn-outline-primary:hover,
.theme-btn:hover {
    background-color: var(--main-color) !important;
    border-color: var(--main-color) !important;
    color: #fff !important;
}

.btn-primary:hover *,
.btn-outline-primary:hover *,
.theme-btn:hover * {
    color: #fff !important;
}


.bg-primary {
    background-color: var(--main-color) !important;
    border-color: var(--main-color) !important;
    color: #fff !important;
}

.bg-primary *,
.bg-primary a {
    color: #fff !important;
}

.social-profile a:hover {
    background-color: var(--main-color) !important;
    border-color: var(--main-color) !important;
    color: #fff !important;
}
.social-profile a:hover * {
    color: #fff !important;
}

.form-group i {
    color: var(--main-color) !important;
}

a:hover {
    color: var(--main-color) !important;
}

.title,
.sec__title {
    color: var(--main-color) !important;
}

.about-book-btn {
    background-color: var(--main-color) !important;
    color: #fff !important;
}

.about-book-btn a,
.about-book-btn a:hover,
.about-book-btn a:link,
.about-book-btn a:visited,
.about-book-btn a:focus {
    color: #fff !important;
    text-decoration: none !important;
    display: inline-block;
}


.custom-badge {
    background-color: var(--main-color) !important;
    color: #fff !important;
    border: none !important;
}


.owl-next:hover,
.owl-prev:hover {
    color: var(--main-color) !important;
}

.owl-next:hover i,
.owl-prev:hover i,
.owl-next:hover span,
.owl-prev:hover span {
    color: var(--main-color) !important;
}

.owl-carousel .owl-nav .owl-next,
.owl-carousel .owl-nav .owl-prev {
    background-color: transparent !important;
    border: none !important;
    outline: none !important;
}

.owl-carousel .owl-nav .owl-next:hover,
.owl-carousel .owl-nav .owl-prev:hover {
    background-color: transparent !important;
}



.post-share .icon-element {
    color: var(--main-color) !important;
}


.post-share ul li .icon-element:hover {
    background-color: #1399d2 !important;
    color: #fff !important;
}


.owl-prev:hover,
.owl-prev:hover i,
.owl-prev:hover span {
    color: #1399d2 !important;
}


.counter-item {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.counter-item:hover {
    border-color: #1399d2 !important;
    background-color: #f8fafc !important;
}

.counter-item:hover .counter-icon i {
    color: #1399d2 !important;
}


.counter-item:hover .counter-icon i {
    color: #1399d2 !important;
}

.counter-item:hover .counter-icon i::before,
.counter-item:hover .counter-icon i::after {
    color: #1399d2 !important;
}


.counter-item:hover .counter-icon span,
.counter-item:hover .counter-icon div {
    color: #1399d2 !important;
}


.counter-icon i {
    color: #1399d2 !important;
}


.counter-item {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.counter-item:hover {
    border-color: #1399d2 !important;
    background-color: #f8fafc !important;
}

.counter-icon i {
    color: #1399d2 !important;
    transition: none;
}

.counter-item:hover .counter-icon i,
.counter-item:active .counter-icon i,
.counter-item:focus .counter-icon i {
    color: #1399d2 !important;
}

.counter-icon i::before {
    color: #1399d2 !important;
}

.counter-item:hover .counter-icon i::before {
    color: #1399d2 !important;
}

.funfact-area .counter-item:hover {
    border-color: #1399d2 !important;
    background-color: #f8fafc !important;
}


.funfact-area .counter-item:hover .counter-icon {
    background-color: #1399d2 !important;
    color: #fff !important;
}

.funfact-area .counter-item:hover .counter-icon i::before {
    color: #fff !important;
}



.sidebar-widget .title.stroke-shape::before,
.sidebar-widget .title.stroke-shape::after {
    background-color: #1399d2 !important;
}



.post-categories a.badge.bg-primary,
.post-categories a.badge.bg-primary:hover {
    background-color: #1399d2 !important;
    color: #fff !important;
    text-decoration: none !important;
}



.sidebar-about-img {
    background: #2fade1;
}



