* {
    box-sizing: border-box; 
}

html, body {
    overflow-x: hidden; 
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: 'Segoe UI', Tahoma, sans-serif !important;
	
}


.navbar-brand img {
    height: 75px; 
    width: 170px; 
    max-width: 100%; 
}


/* Logo Loading Animation */
#loading-logo {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 50vw;                
    max-width: 500px;          
    height: auto;
    opacity: 0;
    z-index: 9999;
    animation: logoFadeIn 0.8s ease-out forwards;
    pointer-events: none;
    display: block;
}

/* Logo Fade In */
@keyframes logoFadeIn {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Optional Fade Out (already injected via JS) */
@keyframes logoFadeOut {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Hide content while loading */
body.loading > *:not(#loading-logo) {
    opacity: 0;
}

body.loaded > * {
    opacity: 1;
    transition: opacity 0.5s ease;
}

/* Extra small screen tweak */
@media (max-width: 400px) {
    #loading-logo {
        width: 60vw;
    }
}

/*** Spinner Start ***/
/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .10s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-xl-square {
    width: 66px;
    height: 66px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50%;
}

.btn.btn-primary {
    background: var(--bs-primary) !important;
    color: var(--bs-white) !important;
    font-family: 'Roboto', sans-serif;
    border: none;
    font-weight: 400;
    transition: 0.5s;
}

.btn.btn-primary:hover {
    background: var(--bs-dark) !important;
    color: var(--bs-light) !important;
}

.btn.btn-dark {
    background: var(--bs-dark) !important;
    color: var(--bs-white) !important;
    font-family: 'Roboto', sans-serif;
    border: none;
    font-weight: 400;
    transition: 0.5s;
}

.btn.btn-dark:hover {
    background: var(--bs-white) !important;
    color: var(--bs-dark) !important;
}

.btn.btn-light {
    background: var(--bs-primary) !important;
    color: var(--bs-white) !important;
    font-family: 'Roboto', sans-serif;
    border: none;
    font-weight: 400;
    transition: 0.5s;
}

.btn.btn-light:hover {
    background: var(--bs-white) !important;
    color: var(--bs-dark) !important;
}


/*** Navbar ***/
.sticky-top,
.sticky-top .container {
    transition: none !important;
}

.navbar-logo {
    height: 70px;
    width: 180px;
}

.navbar {
    background-color: rgba(255, 255, 255, 0.25) !important;
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    position: fixed !important;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.navbar .navbar-nav .nav-link {
    color: var(--bs-light) !important;
}

.navbar .navbar-nav .nav-item {
    position: relative;
    margin: 5px !important;
}

.navbar .navbar-nav .nav-item::before,
.navbar .navbar-nav .nav-item::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border: 0px solid var(--bs-primary);
    transition: 0.5s;
}

.navbar .navbar-nav .nav-item::before {
    top: 0;
    left: 0;
}

.navbar .navbar-nav .nav-item::after {
    bottom: 0;
    right: 0;
}

.navbar .navbar-nav .nav-item:hover::after,
.navbar .navbar-nav .nav-item:hover::before,
.navbar .navbar-nav .nav-item.active::after,
.navbar .navbar-nav .nav-item.active::before {
    width: 100%;
    border-width: 1px;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary) !important;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107" !important;
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        margin-top: 20px !important;
        transition: 0.5s;
        opacity: 0;
        z-index: 9;
    }
}

@media (max-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        margin-top: 15px !important;
        transition: 0.5s;
    }
}

@media (max-width: 991px) {
    .navbar .navbar-nav {
        display: flex;
        flex-direction: column-reverse;
    }

    .navbar .navbar-nav .nav-item.nav-link {
        margin: 15px 0 !important;
    }
    .navbar-collapse {
        position: absolute;
        top: 100%; 
        left: 0;
        width: 100%;
        max-height: 80vh; 
        height: 100vh;
        overflow-y: auto;  
        background-color: rgba(255, 255, 255, 0.95);
        z-index: 999;
        transition: all 0.3s ease-in-out;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .navbar-collapse.collapsing,
    .navbar-collapse.show {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        padding: 10px 20px;
    }

    .navbar-nav {
        width: 100%;
        align-items: center;
    }

    .navbar-nav .nav-item {
        width: 100%;
        text-align: center;
    }

    .navbar-nav .nav-link {
        width: 100%;
        padding: 10px 0;
        text-align: right;
        font-size: 1rem;
    }

    .navbar-toggler {
        z-index: 1000;
    }
}


.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary) !important;
    color: var(--bs-white);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    margin-top: 20px !important;
    transition: 0.5s;
    opacity: 1;
}

.navbar .navbar-toggler {
    padding: 8px 15px;
    color: var(--bs-dark);
    background: var(--bs-primary);
}

#searchModal .modal-content {
    background: rgba(250, 250, 250, 0.6);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 2px 5px rgba(0, 85, 60, 0.8) !important;
}

.navbar.scrolled .nav-link,
.navbar.scrolled .navbar-brand {
    color: black !important;
}

.product-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: 'Noto Naskh Arabic', 'Amiri', serif;
}

@media (max-width: 991px) {
    .navbar-collapse {
        direction: rtl !important;
        
    }

    .navbar-nav {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        text-align: right; 
        width: 100%;
    }

    .nav-item {
        width: 100%;
        text-align: right;
    }

    .nav-link {
        text-align: right !important;
        padding: 15px 20px;
    }

    .navbar-toggler {
        margin-left: auto;
        margin-right: 0;
    }
}

.navbar.transparent {
    background-color: rgba(255, 255, 255, 0.25) !important;
}

.navbar.dropdown-open {
    background-color: rgba(255, 255, 255, 1) !important;
}

.navbar.dropdown-open .nav-link {
    color: black !important;
}

.navbar.dropdown-open .nav-link:hover {
    color: #00553c !important;
}
/*** Navbar End ***/




.fade-up-animate {
    animation: fadeUp 1s ease forwards;
    opacity: 0;
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Fade-up animation for captions
.fade-up-animate {
    animation: fadeUp 1.8s ease forwards;
    opacity: 0;
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}*/

/*** Cinematic Carousel Styles ***/

.header-carousel .header-carousel-item {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.header-carousel .header-carousel-item img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    background-color: #f0f0f0;
}



.header-carousel {
    width: 100vw; /* Full width */
    height: 100vh; /* Full height */
}

.news-ticker-blur {
    background: rgba(255, 255, 255, 0.8); /* Background for visibility */
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 20;
}

/* Optional decorative animations (still cinematic) */

.header-carousel .header-carousel-item::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 2 !important;
}

/* Captions Styling 
.header-carousel .header-carousel-item .carousel-caption {
    position: absolute;
    width: 80%;
    top: 140px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 9;
}

/* Hide nav arrows if not needed */
.header-carousel .owl-nav {
    display: none !important;
}

/* Responsive styles */
@media (max-width: 992px) {
    .header-carousel .header-carousel-item .carousel-caption {
        width: 100% !important;
        padding: 0 10px;
    }
    .header-carousel .header-carousel-item img {
        height: 700px;
        object-fit: cover;
    }
}

@media (max-width: 768px) {
    .header-carousel .header-carousel-item .carousel-caption {
        width: 100% !important;
        text-align: center;
        top: 50%;
        transform: translate(-50%, -50%);
        left: 50%;
        padding: 20px;
    }

    .carousel-caption-inner {
        padding: 10px;
    }

    .carousel-caption h1 {
        font-size: 28px;
    }

    .carousel-caption p {
        font-size: 16px;
    }

    .carousel-caption .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}


/*** Header Carousel End ***/

/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background:  url(../img/pos-credit-card-settlement-instead-cash-settlement-shopping.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 60px 0px 150px 0px;
    
}

.bg-breadcrumb .breadcrumb-item a {
    color: var(--bs-white) !important;
}


/*** Single Page Hero Header End ***/


/*** About Start ***/
.about .text {
    position: relative;
}

.about .text::after {
    content: "";
    width: 4px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: var(--bs-primary);
}
/*** About End ***/

/*** Service Start ***/
.service .service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.3);
}

.service .service-item .service-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.service .service-item .service-img img {
    transition: 0.5s;
}

.service .service-item:hover .service-img img {
    transform: scale(1.2);
}

.service .service-item .service-img::after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    top: 0;
    right: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: rgba(68, 210, 246, 0.4);
    transition: 0.5s;
}

.service .service-item:hover .service-img::after {
    width: 100% !important;
    height: 100% !important;
}

.service .service-item .service-content {
    position: relative;
}

.service .service-item .service-content::after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-dark);
    transition: 0.5s;
    z-index: 1;
}

.service .service-item:hover .service-content::after {
    width: 100% !important;
    height: 100% !important;
}

.service .service-item .service-content .service-content-inner {
    transition: 0.5s;
}

.service .service-item:hover .service-content .service-content-inner {
    position: relative;
    color: var(--bs-white) !important;
    transition: 0.5s;
    z-index: 2;
}

.service .service-item:hover .service-content .service-content-inner a.h4 {
    color: var(--bs-white) !important;
    transition: 0.5s;
}

.service .service-item:hover .service-content .service-content-inner a.h4:hover {
    color: var(--bs-primary) !important;
}
/*** Service End ***/

/*** Project Start ***/

.project-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.project-content {
    flex-grow: 1;
}
.project .project-carousel.owl-carousel {
    height: 100%;
}

.project .project-carousel .project-item {
    position: relative;
    overflow: hidden;
}

.project .project-carousel .project-item .project-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.project .project-carousel .project-item .project-img::after {
    content: "";
    width: 100%;
    height: 0;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 10px;
    background: rgba(199,231,220, 0.3);
    transition: 0.5s;
}

.project .project-carousel .project-item:hover .project-img::after {
    height: 100%;
}

.project .project-carousel .project-item .project-img img {
    transition: 0.5s;
}

.project .project-carousel .project-item:hover .project-img img {
    transform: scale(1.2);
}

.project .project-carousel .project-item .project-content {
    position: relative;
    width: 75%;
    height: 100%;
    bottom: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%);
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
}

.project .project-carousel .project-item .project-content::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    border-radius: 10px !important;
    background: var(--bs-dark);
    transition: 0.5s;
}

.project .project-carousel .project-item .project-content .project-content-inner {
    position: relative;
    z-index: 2;
}

.project .project-carousel .project-item:hover .project-content .project-content-inner p,
.project .project-carousel .project-item:hover .project-content .project-content-inner a.h4,
.project .project-carousel .project-item:hover .project-content .project-content-inner .project-icon i {
    color: var(--bs-white) !important;
    transition: 0.5s;
}

.project .project-carousel .project-item:hover .project-content .project-content-inner a.h4:hover {
    color: var(--bs-primary) !important;
}

.project .project-carousel .project-item:hover .project-content::after {
    height: 100%;
}

.header-carousel .owl-dots {
    position: absolute;
    left: 20px;
    top: 50%;
    
    display: flex;
    flex-direction: column; 
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: auto;
    height: auto; 
    bottom: auto; 
    z-index: 10; 
    
}

.header-carousel .owl-dots .owl-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin: 0;
    background: rgba(255, 255, 255, 0.5); 
    transition: 0.3s;

}

.header-carousel .owl-dots .owl-dot.active {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid #00553c; 
    background: white;
}

/*** for the news ticker***/
.news-ticker-blur {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.7);
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 20 !important;
}

.ticker-bar {

    height: 60px;
    position: relative;
}

.ticker-icon {
    height: 28px;
    animation: spinIcon 5s linear infinite;
}

@keyframes spinIcon {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.ticker-wrapper {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.ticker-track {
    display: inline-flex;
    white-space: nowrap;
    will-change: transform;
    gap: 1rem;
    animation: tickerScroll linear infinite;
}

@keyframes tickerScroll {
    0% {
        transform: translateX(-100%); /* Starts off-screen to the left */
    }
    100% {
        transform: translateX(100%); /* Moves all the way to the right */
    }
}

.ticker-item {
    font-size: 1rem;
    color: #000;
    text-decoration: none;
    transition: transform 0.3s ease;
    font-family: 'Cairo', sans-serif;
}

.ticker-item:hover {
    transform: scale(1.05);
    color: #333;
    text-decoration: none;
}


/*** product start ***/
.faq-img img {
    width: 100%;
    height: auto;
}
.container-fluid {
    padding-left: 15px;
    padding-right: 15px;
}

.faq-text-section {
    padding: 20px;
}
@media (max-width: 768px) {
    .faq-img {
        display: block;
        margin: 0 auto;
    }
    .faq-text-section {
        padding: 10px;
    }
    .carousel-caption-inner {
        text-align: center !important;
    }
   
    h1.display-3 {
        font-size: 1.5rem;
    }
    .fs-3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .faq-img {
        display: block;
        margin: 0 auto;
    }

    .faq-text-section {
        padding: 10px;
    }

    .carousel-caption-inner {
        text-align: center !important;
    }

    h1.display-3 {
        font-size: 1.5rem;
    }

    .fs-3 {
        font-size: 1.25rem;
    }

    /* Ensure image column appears first on small screens */
    .faq .col-lg-5 {
        order: -1;
    }
}

.faq-details ul {
    padding-right: 0.5rem !important;
    margin-right: 0 !important;
    list-style-position: inside !important;
    direction: rtl;
    text-align: right;
}

.faq-details ul li {
    padding-right: 0 !important;
    margin-right: 0 !important;
}

.faq-details * {
    margin-right: 0 !important;
    padding-right: 0.5rem !important;
    direction: rtl;
    text-align: right;
}

@media (max-width: 768px) {
    .faq-details, .faq-details ul, .faq-details li, .faq-details p, .faq-details h5 {
        font-size: 1rem !important;
        padding-right: 0.5rem !important;
    }

    .faq-details h1, .faq-details .display-6 {
        font-size: 1.5rem !important;
    }
}
/*** product end ***/
/*** Blog Start ***/
.blog .blog-item .project-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: 0.5s;
}

.blog .blog-item .project-img .blog-plus-icon {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(68, 210, 246, 0.2);
    transition: 0.5s;
    opacity: 0;
}

.blog .blog-item:hover .project-img .blog-plus-icon {
    opacity: 1;
}

.blog .blog-item .project-img img {
    transition: 0.5s;
}

.blog .blog-item:hover .project-img img {
    transform: scale(1.3);
}

/*** Blog End ***/

/*** Team Start ***/
.team .team-item {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--bs-dark);
    transition: 0.5s;
}

.team .team-item:hover {
    border: none !important;
}

.team .team-item::after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 10px;
    border: 1px solid;
    border-color: var(--bs-primary) transparent transparent var(--bs-primary) !important;
    z-index: 5;
    transition: 1s;
    opacity: 0;
}

.team .team-item::before {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    bottom: 0;
    right: 0;
    border-radius: 10px;
    border: 1px solid;
    border-color: transparent var(--bs-primary) var(--bs-primary) transparent !important;
    z-index: 5;
    transition: 1s;
    opacity: 0;
}

.team .team-item:hover:after,
.team .team-item:hover::before {
    width: 100% !important;
    height: 100% !important;
    opacity: 1;
}

.team .team-item .team-img {
    position: relative;
    overflow: hidden;
}

.team .team-item .team-img::after {
    content: "";
    width: 100%;
    height: 0;
    position: absolute;
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: rgba(68, 210, 246, 0.2);
    transition: 0.5s;
}

.team .team-item:hover .team-img::after {
    height: 100%;
}

.team .team-item .team-img .team-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 8;
    transition: 0.5s;
}

.team .team-item .team-img .team-icon .team-icon-share {
    position: relative;
    margin-top: -200px;
    transition: 0.5s;
    z-index: 9;
}

.team .team-item:hover .team-img .team-icon .team-icon-share {
    margin-top: 0 !important;
}

.team .team-item .team-content {
    position: relative;
}

.team .team-item .team-content::after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    top: 0;
    left: 0;
    background: var(--bs-primary) !important;
    transition: 0.5s;
}

.team .team-item .team-content::before {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    bottom: 0;
    right: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-primary) !important;
    transition: 0.5s;
}

.team .team-item:hover .team-content::after,
.team .team-item:hover .team-content::before {
    width: 100% !important;
    height: 50% !important;
}

.team .team-item:hover .team-content .team-content-inner {
    position: relative;
    color: var(--bs-white);
    z-index: 2;
}

.team .team-item .team-content .team-content-inner h4,
.team .team-item .team-content .team-content-inner p {
    transition: 0.5s;
}

.team .team-item:hover .team-content .team-content-inner p {
    color: var(--bs-white) !important;
}

.team .team-item:hover .team-content .team-content-inner h4 {
    color: var(--bs-dark) !important;
}
/*** Team End ***/

/*** Testimonial Start ***/

.testimonial-carousel .testimonial-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
    align-items: center;
    height: 100%; 
    min-height: 250px; 
    padding: 20px;
    border-radius: 15px; 
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); 
    transition: box-shadow 0.3s;
    margin: 10px; 
}

.testimonial-carousel .testimonial-item:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2); 
}
.testimonial-carousel .testimonial-item .mt-4 {
    flex-grow: 1;
    display: flex; 
    align-items: center; 
    justify-content: center;
    text-align: center;
}

.testimonial .testimonial-carousel {
    position: relative;
}

.testimonial .testimonial-carousel .owl-dots {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial .testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: var(--bs-light);
    border: 1px solid var(--bs-primary);
    border-radius: 10px;
    transition: 0.5s;
}

.testimonial .testimonial-carousel .owl-dot.active {
    width: 40px;
    background: var(--bs-primary);
}
/*** Testimonial End ***/

/*** FAQ'S Start ***/
.faq {
    position: relative;
    overflow: hidden;
}

.faq::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    background-image: url(../img/bg.png);
    object-fit: cover;
    z-index: -1;
}

.faq .faq-img {
    position: relative;
}

.faq .faq-img .faq-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
}
.accordion-button {
    font-family: 'Tajawal', sans-serif !important;
    font-size: 18px !important; 
    font-style: bold !important;
 
}
/*** FAQ'S End ***/
/*** table ***/
.table-striped tbody tr:nth-of-type(odd) {
    background-color: #ffffff; 
}

.table-striped tbody tr:nth-of-type(even) {
    background-color: #f9f9f9; 
}


.table-hover tbody tr:hover {
    background-color: #e0f7f1 !important; 
    transition: background-color 0.3s ease;
}


.table thead {
    background-color: #00553c; 
    color: #ffffff;
}

.table th {
    font-weight: bold;
    font-size: 1.1rem;
    text-align: center;
    font-family: 'Cairo', sans-serif !important;
}

.table td {
    font-family: 'Cairo', sans-serif !important;
    color: #333333;
    vertical-align: middle;
    text-align: center;
    padding: 12px;
}


.table {
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}


@media (max-width: 768px) {
    .table th, .table td {
        font-size: 0.9rem;
        padding: 8px;
    }
}
/*** end table ***/
/*** Footer Start ***/

.footer .container {
    padding: 2px !important;
}
.footer-item a {
    display: block;
    white-space: nowrap;
    color: rgba(32, 32, 32, 0.7) !important;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.5s ease, letter-spacing 0.5s ease;
}
.footer {
    background: var(--bs-dark);
}
.footer .footer-item a {
   
    line-height: 35px;
    color: var(--bs-body);
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 35px;
}

.footer .footer-item a:hover {
    letter-spacing: 1px;
    color: var(--bs-primary) !important; 
}

.footer .footer-item-post a {
    transition: 0.5s;
}

.footer .footer-item-post a:hover {
    color: var(--bs-primary) !important;
}

.footer .footer-item-post .footer-btn a {
    transition: 0.5s;
}

.footer .footer-item-post .footer-btn a:hover {
    color: var(--bs-dark);
}

@media (max-width: 768px) {
    .row {
   display: flex;
   flex-direction: column-reverse; 
   }

   .col-lg-6.col-xl-7 {
    order: 2; 
   }

   .col-lg-6.col-xl-5 {
    order: 1; 
   }
  }
/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bs-dark) !important;
}
/*** copyright end ***/

/** jobs styling **/


.full-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); 
}


.form-bg {
    background: rgba(255, 255, 255, 0.1); 
    color: white; 
    padding: 30px;
    border-radius: 10px;
    position: relative; 
    z-index: 2; 
    backdrop-filter: blur(10px); 
    border: 1px solid rgba(255, 255, 255, 0.4);
}


.form-control {
    background: rgba(255, 255, 255, 0.9); 
    color: black;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/*** jobs ***/

.job-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    padding: 10px 15px; 
    display: flex;
    align-items: center; 
    justify-content: space-between;
    flex-direction: row;
    margin: auto;
    margin-bottom: 10px; 
    max-width: 900px;
    height: auto; 
    min-height: 50px;
    overflow: hidden; 
	direction: rtl;
    text-align: right;
}

    .job-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 15px rgba(73, 187, 92, 0.7);
    }

    .job-details {
        text-align: right;
        flex: 1;
    }

    .card-title a {
        color: #00553c;
        font-size: 1.3rem;
        font-weight: bold;
        text-decoration: none;
        text-align: right;
    }

    .card-title a:hover {
        color: #7ba342;
        text-decoration: underline;
    }

    .card-text {
        font-size: 1rem;
        color: rgba(49, 45, 45, 0.8);
    }

    .job-info {
        font-size: 0.9rem;
        color: rgba(49, 45, 45, 0.8);
    }
    .btn-view-details {
    background-color: #7ba342;
    color: white;
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
    white-space: nowrap;
    margin-left: auto; 
}

.btn-view-details:hover {
    background-color: #00553c;
    transform: scale(1.05);
}
    .job-info {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    flex-direction: row-reverse; 
    gap: 10px; 
}

.job-info p {
    margin: 0;
    flex-grow: 1; 
    text-align: right; 
}


    .pagination {
        justify-content: center;
        margin-top: 20px;
        margin-bottom: 50px;
    }



    /*  news  */

        
    h2 {
        color: #00553c;
        text-align: center;
        margin-bottom: 40px;
        font-size: 2rem;
        font-weight: bold;
        margin-top: 60px;
    }
    h2, h3, .text-primary {
    color: #00553c !important;
    }
    
   

.responsive-title {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }

  
  @media (min-width: 768px) {
    .responsive-title {
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }
    

/*  cards */
.uniform-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    direction: rtl; 
    position: relative;
    height: 160px; 
    overflow: hidden;
}


.card-title a {
    font-size: 1.4rem;
    font-weight: bold;
    color: #00553c;
    text-decoration: none;
}

.card-text {
    color: #212529;
}

.btn-view-details {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: #00553c;
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-family: Cairo;
    transition: background-color 0.3s ease;
}

.btn-view-details:hover {
    background-color: #003f2c;
}


@media (max-width: 768px) {
    .uniform-card {
        height: auto;
        padding-bottom: 40px; 
    }

    .btn-view-details {
        left: 20px;
    }
}



