:root {
    --primary: #BFA35A;
    --light: #F8F8F8;
    --dark: #252525;
}

h1,
h2,
.h1,
.h2,
.fw-bold {
    font-weight: 600 !important;
    font-family: "IBM Plex Sans Arabic", sans-serif;
}

/* Primary Color Overrides */
.text-primary {
    color: var(--primary) !important;
}

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

.btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.btn-primary:hover {
    background-color: #9f884a !important;
    border-color: #9f884a !important;
}

.btn-outline-primary {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

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

h3,
h4,
.h3,
.h4,
.fw-medium {
    font-weight: 500 !important;
    font-family: "IBM Plex Sans Arabic", sans-serif;
}

h5,
h6,
.h5,
.h6,
.fw-normal {
    font-weight: 400 !important;
    font-family: "IBM Plex Sans Arabic", sans-serif;
}

body,
p,
.p {
    font-family: "IBM Plex Sans Arabic", sans-serif;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


.float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 100px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: #fff;
    animation: none;
}

.my-float {
    margin: 0;
}

.float1 {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    left: 40px;
    background-color: var(--primary);
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.float1:hover {
    background-color: #9f884a;
    transform: scale(1.1);
    color: #fff;
}

.mobilee i {
    background-color: #e9e9f0;
    margin: 12px;
}

.eee b {
    color: black;
    font-size: 12px;
}

/* Advanced Mobile Navigation */
.mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    height: 70px;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    padding-bottom: 10px;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.08);
    z-index: 2000;
}

.mobile-nav-item {
    text-align: center;
    flex: 1;
    text-decoration: none !important;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mobile-nav-item i {
    font-size: 20px;
    color: #8e9aaf;
    margin-bottom: 2px;
}

.mobile-nav-item span {
    font-size: 11px;
    color: #8e9aaf;
    font-weight: 600;
}

/* Elevated Center Button */
.mobile-nav-item.center-item {
    position: relative;
    top: -25px;
    background: #fff;
    border-radius: 50%;
    width: 75px;
    height: 75px;
    padding: 5px;
    flex: none;
}

.center-btn-inner {
    background: linear-gradient(135deg, #BFA35A 0%, #a68b42 100%);
    width: 65px;
    height: 65px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 15px rgba(191, 163, 90, 0.4);
    border: 3px solid #fff;
}

.center-btn-inner i {
    color: #fff;
    font-size: 28px;
    margin-bottom: 0;
}

.center-label {
    position: absolute;
    bottom: -20px;
    font-size: 11px !important;
    color: #444 !important;
    width: 100%;
}

.mobile-nav-item.active i,
.mobile-nav-item.active span {
    color: #BFA35A;
}

@media(min-width: 992px) {
    .mobile-nav {
        display: none !important;
    }
}


/*** Spinner ***/
#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;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn-outline-body {
    color: var(--primary);
    border-color: #777777;
}

.btn-outline-body:hover {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
}


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

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 30px 0;
    color: var(--dark);
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

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

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

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

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


/*** Header ***/
.owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .5);
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
    }
}

.header-carousel .owl-dots {
    position: absolute;
    width: 60px;
    height: 100%;
    top: 0;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dots .owl-dot {
    position: relative;
    width: 45px;
    height: 45px;
    margin: 5px 0;
    background: var(--dark);
    transition: .5s;
}

.header-carousel .owl-dots .owl-dot.active {
    width: 60px;
    height: 60px;
}

.header-carousel .owl-dots .owl-dot img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 2px;
    transition: .5s;
    opacity: .3;
}

.header-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


/*** Hero Header ***/
.hero-header {
    background: linear-gradient(135deg, #F8F8F8 0%, #E8E8E8 100%);
    position: relative;
    overflow: hidden;
}

.hero-image-wrap {
    position: relative;
    padding: 20px;
}

.hero-image-wrap img {
    transition: transform 0.5s ease;
}

.hero-image-wrap:hover img {
    transform: scale(1.02);
}

.hero-experience {
    position: absolute;
    bottom: -10px;
    left: -10px;
    z-index: 1;
    text-align: center;
    min-width: 140px;
}

@media (max-width: 991.98px) {
    .hero-header {
        text-align: center;
    }

    .hero-experience {
        left: 20px;
        bottom: 20px;
    }
}


/*** Routes Section ***/
.route-item {
    min-height: 250px;
    background: #fff;
    transition: .5s;
}

.route-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s;
}

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

.route-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8));
    text-align: right;
    transition: .5s;
}

.route-item:hover .route-overlay {
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.9));
}

/*** Swiper Styling ***/
.routes-swiper {
    padding-bottom: 50px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.routes-swiper .swiper-pagination-bullet-active {
    background: var(--primary) !important;
}

/*** Modern Route Card ***/
.route-card-modern {
    height: 380px;
    border-radius: 30px;
    background: #f0f0f0;
    transition: transform 0.3s ease;
}

.route-card-modern:hover {
    transform: translateY(-5px);
}

.object-fit-cover {
    object-fit: cover !important;
    object-position: center !important;
}

.route-overlay-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 60%, transparent 100%);
}


/*** Facts ***/
.fact-item .fact-icon {
    width: 120px;
    height: 120px;
    margin-top: -60px;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 120px;
    transition: .5s;
}

.fact-item:hover .fact-icon {
    background: var(--dark);
}

.fact-item .fact-icon i {
    color: var(--primary);
    transition: .5;
}

.fact-item:hover .fact-icon i {
    color: #FFFFFF;
}


/*** About & Feature ***/
.about-img,
.feature-img {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.about-img img,
.feature-img img {
    position: absolute;
    width: 60%;
    height: 80%;
    object-fit: cover;
}

.about-img img:last-child,
.feature-img img:last-child {
    margin: 20% 0 0 40%;
}

.about-img::before,
.feature-img::before {
    position: absolute;
    content: "";
    width: 60%;
    height: 80%;
    top: 10%;
    left: 20%;
    border: 5px solid var(--primary);
    z-index: -1;
}


/*** Service ***/
.service-item .bg-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.service-item .service-text {
    background: var(--light);
    transition: .5s;
}

.service-item:hover .service-text {
    background: rgba(0, 0, 0, .7);
}

.service-item * {
    transition: .5;
}

.service-item:hover * {
    color: #FFFFFF;
}

.service-item .btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    transition: .5s;
}

.service-item:hover .btn {
    width: 140px;
}


/*** Project ***/
.project .nav .nav-link {
    background: var(--light);
    transition: .5s;
}

.project .nav .nav-link.active {
    background: var(--primary);
}

.project .nav .nav-link.active h3 {
    color: #FFFFFF !important;
}


/*** Team ***/
.team-items {
    margin: -.75rem;
}

.team-item {
    padding: .75rem;
}

.team-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s;
    z-index: -1;
}

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

.team-item .team-social {
    position: absolute;
    width: 100%;
    bottom: -20px;
    left: 0;
}

.team-item .team-social .btn {
    display: inline-flex;
    margin: 0 2px;
    color: var(--primary);
    background: var(--light);
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Appointment ***/
.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}


/*** Testimonial ***/
.testimonial-carousel {
    display: flex !important;
    flex-direction: column-reverse;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.testimonial-carousel .owl-dots .owl-dot {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 5px;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot::after {
    position: absolute;
    width: 40px;
    height: 40px;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px;
    transition: .5s;
    opacity: 0;
}

.testimonial-carousel .owl-dots .owl-dot.active::after {
    opacity: 1;
}

.testimonial-carousel .owl-dots .owl-dot img {
    opacity: .4;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 5px;
    padding: 0;
    text-align: right;
    color: var(--light);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    display: none;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 0;
    padding-right: 10px;
}

/*** Footer Redesign ***/
.footer {
    background: #111111 !important;
    color: #999999;
}

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

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

.footer .btn.btn-link {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 10px;
    padding: 0;
    text-align: right;
    color: #999999;
    font-size: 15px;
    transition: .3s;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    padding-right: 10px;
}

.footer .btn.btn-link::before {
    content: "\f104";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 10px;
    font-size: 12px;
}

.bg-secondary {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

.footer .copyright {
    background: #000000 !important;
    border-top: 1px solid rgba(256, 256, 256, .05);
}

.text-small {
    font-size: 13px !important;
}


/* Ticker Animation Styling */
.testimonial-ticker-container {
    overflow: hidden !important;
    width: 100% !important;
    padding: 20px 0;
    position: relative;
    background: transparent;
}

.testimonial-ticker {
    display: flex !important;
    flex-direction: row !important;
    width: max-content !important;
    animation: marquee-rtl 60s linear infinite !important;
}

.testimonial-ticker:hover {
    animation-play-state: paused !important;
}

.testimonial-card-premium-wrap {
    flex: 0 0 400px !important;
    width: 400px !important;
    padding: 10px;
}

.testimonial-card-premium {
    height: 100%;
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

@keyframes marquee-rtl {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(50%);
    }
}

/* Premium Styles from Image */
.bg-warning-light {
    background-color: #FFF9E6;
}

.bg-dark-green {
    background-color: #1A4D43;
}

.user-initial {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
    font-weight: bold;
}

.quote-text {
    line-height: 1.6;
    font-size: 0.95rem;
    color: #4A4A4A !important;
}

.text-muted-light {
    color: #A0A0A0 !important;
    font-size: 0.85rem;
}

/* Contact Section Premium Styles */
.bg-primary.rounded.p-5 {
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(191, 163, 90, 0.2);
}

.btn-lg-square i {
    transition: 0.3s;
}

.d-flex:hover .btn-lg-square i {
    transform: scale(1.2);
}

.form-floating>label {
    right: 0;
    left: auto;
    padding: 1rem 0.75rem;
}

.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label,
.form-floating>.form-select~label {
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
    right: 0.5rem;
}

.form-control:focus,
.form-select:focus {
    background-color: #fff !important;
    box-shadow: 0 0 0 0.25rem rgba(191, 163, 90, 0.1);
}

.form-control::placeholder {
    color: transparent;
}