/********** CSS **********/
:root {
    --primary: rgba(255, 94, 20, 0.5);
    --secondary: #5F656F;
    --light: #F5F5F5;
    --dark: #02245B;
}

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

h1,
h2,
.h1,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
h4,
.h3,
.h4,
.fw-medium {
    font-weight: 600 !important;
}

h5,
h6,
.h5,
.h6,
.fw-semi-bold {
    font-weight: 500 !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 {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    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;
}


.topbar-right {
    position: relative;
    background: var(--primary);
}

.topbar-right::before {
    position: absolute;
    content: "";
    width: 30px;
    height: 100%;
    top: 0;
    left: -15px;
    transform: skewX(-30deg);
    background-color: var(--primary);
}


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

.navbar .navbar-brand {
    position: relative;
    padding-right: 50px;
    height: 75px;
    display: flex;
    align-items: center;
    background: var(--primary);
}

.navbar .navbar-brand::after {
    position: absolute;
    content: "";
    width: 50px;
    height: 100%;
    top: 0;
    right: -25px;
    transform: skewX(-30deg);
    background-color: var(--primary);
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 20px 0;
    color: var(--dark);
    font-size: 18px;
    font-weight: 500;
    outline: none;
}

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

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

@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;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


html[dir="rtl"] .topbar-right::before {
    left: auto;
    right: -15px;
    transform: skewX(30deg);
}
html[dir="rtl"] .navbar .navbar-brand {
    padding-right: 0;
    padding-left: 50px;
}

html[dir="rtl"] .navbar .navbar-brand::after {
    right: auto;
    left: -25px;
    transform: skewX(30deg);
}
html[dir="rtl"] .navbar .navbar-nav .nav-link {
    margin-right: 0;
    margin-left: 35px;
}
html[dir="rtl"] .navbar .dropdown-toggle::after {
    margin-left: 0;
    margin-right: 8px;
    direction: rtl;
    text-align: right;
}
/* RTL Navbar Mobile Fix */
@media (max-width: 991.98px) {

    html[dir="rtl"] .navbar .container,
    html[dir="rtl"] .navbar .container-fluid {
        flex-direction: row-reverse;
        justify-content: space-between;
        align-items: center;
    }

    html[dir="rtl"] .navbar-toggler {
        margin-left: 15px;
        margin-right: 0;
    }

    html[dir="rtl"] .navbar-brand {
        margin-right: 15px;
    }

}
html[dir="rtl"] .navbar {
    padding-right: 0 !important;
}
/* ================= RTL Navbar Fix ================= */

html[dir="rtl"] .navbar .navbar-nav {
    margin-right: auto !important;
    margin-left: 0 !important;
}

html[dir="rtl"] .navbar .navbar-nav .nav-link {
    margin-left: 35px;
    margin-right: 0;
}

html[dir="rtl"] .navbar .btn {
    margin-left: 25px !important;
    margin-right: 0;
}

html[dir="rtl"] .navbar .navbar-brand {
    margin-left: 0 !important;
    margin-right: auto !important;
}
html[dir="rtl"] .navbar-nav {
    text-align: right;
}

html[dir="rtl"] .dropdown-menu {
    direction: rtl;
    text-align: right;
    right: 0;
    left: auto;
}

html[dir="rtl"] .dropdown-item {
    text-align: right;
}
@media (max-width: 991.98px) {

    html[dir="rtl"] .navbar .navbar-brand {
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

}
html[dir="rtl"] .navbar .navbar-brand {
    padding-right: 40px;
    padding-left: 0;
}
.about-list p {
    position: relative;
    padding-left: 25px;
}

.about-list p::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: rgba(255, 94, 20, 0.5);;
}
html[dir="rtl"] .about-list p {
    padding-left: 0;
    padding-right: 25px;
}


html[dir="rtl"] .about-list p::before {
    left: auto;
    right: 0;
}
.lang-switch .active-lang {
    background-color: #ff5e14;
    border-color: #ff5e14;
    color: #fff;
}
/* ===== RTL TOPBAR FIX ===== */

html[dir="rtl"] .topbar-right {
    justify-content: flex-start !important;
}

html[dir="rtl"] .col-lg-6.ps-5 {
    text-align: right !important;
    padding-right: 3rem !important;
    padding-left: 0 !important;
}

html[dir="rtl"] .col-lg-6.text-end {
    text-align: left !important;
}

html[dir="rtl"] .topbar-right {
    flex-direction: row-reverse;
}

/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(to right, rgba(2, 36, 91, 1) 0%, rgba(2, 36, 91, 0) 100%);
    z-index: 1;
}

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

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--primary);
    border: 15px solid var(--primary);
    border-radius: 3.5rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* ===== RTL Header Fix ===== */

html[dir="rtl"] .carousel-caption {
    text-align: right;
    background: linear-gradient(to left, rgba(2, 36, 91, 1) 0%, rgba(2, 36, 91, 0) 100%);
}
/* ===== RTL Carousel Fix ===== */

html[dir="rtl"] #header-carousel .row {
    justify-content: flex-end !important;
}

html[dir="rtl"] #header-carousel .text-start {
    text-align: right !important;
}
/* ===== RTL About List Fix ===== */

html[dir="rtl"] .about-list p {
    display: flex;
    text-align: right;
}

html[dir="rtl"] .about-list p i {
    margin-right: 0 !important;
    margin-left: 12px; 
}

html[dir="rtl"] .about-list {
    padding-right: 15px;
}
/* ===== RTL Contact Box Fix ===== */

html[dir="rtl"] .contact-box {
    text-align: right;
}

html[dir="rtl"] .contact-text {
    padding-right: 15px;
    margin-left: 0 !important;
}

.page-header {
    background: linear-gradient(to right, rgba(2, 36, 91, 1) 0%, rgba(2, 36, 91, 0) 100%), url(../img/carousel-2.jpg) center center no-repeat;
    background-size: cover;
}

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

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
}

/* ===== RTL Fix For Arabic ===== */

html[dir="rtl"] .page-header {
    background: linear-gradient(to left, rgba(2, 36, 91, 1) 0%, rgba(2, 36, 91, 0) 100%), 
                url(../img/carousel-2.jpg) center center no-repeat;
    background-size: cover;
}

html[dir="rtl"] .page-header .breadcrumb {
    direction: rtl;
}

html[dir="rtl"] .page-header .breadcrumb-item+.breadcrumb-item::before {
    float: right;
}

html[dir="rtl"] .page-header .breadcrumb-item {
    text-align: right;
}


/*** Facts ***/
.facts {
    position: relative;
    margin: 6rem 0;
    background: var(--dark);
}

.facts .border {
    border-color: rgba(255, 255, 255, .1) !important;
}


/*** Features ***/
.btn-play {
    position: absolute;
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
    display: block;
    box-sizing: content-box;
    width: 16px;
    height: 26px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: var(--primary);
}

@media (max-width: 992px) {
    .btn-play {
        left: 50%;
        right: auto;
        transform: translate(-50%, -50%);
    }
    html[dir="rtl"] .btn-play {
        left: 50%;
        right: auto;
        transform: translate(-50%, -50%);
    }
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 100%;
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: -1px;
    border-left: 16px solid #FFFFFF;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

.modal-video .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

.modal-video .modal-body {
    position: relative;
    padding: 0px;
}

.modal-video .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}


/*** Service ***/
.service-item {
    position: relative;
    margin: 65px 0 25px 0;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.service-item .service-img {
    position: absolute;
    padding: 12px;
    width: 130px;
    height: 130px;
    top: -65px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .09);
    z-index: 2;
}

.service-item .service-detail {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}

.service-item .service-title {
    position: absolute;
    padding: 65px 30px 25px 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #FFFFFF;
    transition: .5s;
}

.service-item:hover .service-title {
    top: -100%;
}

.service-item .service-text {
    position: absolute;
    overflow: hidden;
    padding: 65px 30px 25px 30px;
    width: 100%;
    height: 100%;
    top: 100%;
    left: 0;
    display: flex;
    align-items: center;
    text-align: center;
    background: rgba(2, 36, 91, .7);
    transition: .5s;
}

.service-item:hover .service-text {
    top: 0;
}

.service-item .service-text::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100px;
    top: -100%;
    left: 0;
    transform: skewY(-12deg);
    background: #FFFFFF;
    transition: .5s;
}

.service-item:hover .service-text::before {
    top: -55px;
}

.service-item .btn {
    position: absolute;
    width: 130px;
    height: 50px;
    left: 50%;
    bottom: -25px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    background: #FFFFFF;
    border: none;
    box-shadow: 0 0 45px rgba(0, 0, 0, .09);
    z-index: 2;
}

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


/*** Project ***/
.project-carousel {
    position: relative;
    background: var(--dark);
}

.project-item {
    position: relative;
    display: block;
}

.project-item img {
    transition: .5s;
    transform: translateY(0);
}

.project-item:hover img,
.project-carousel .owl-item.center img {
    transform: translateY(-60px);
}

.project-item .project-title {
    position: absolute;
    padding: 0 15px;
    width: 100%;
    height: 80px;
    bottom: -110px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--dark);
    transition: .5s;
}

.project-item:hover .project-title,
.project-carousel .owl-item.center .project-title  {
    bottom: -60px;
}

.project-item .project-title::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 30px;
    top: -15px;
    left: 0;
    transform: skewY(-5deg);
    background: var(--dark);
    transition: .5s;
}

.project-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 45px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    transition: .5s;
    opacity: 0;
    z-index: 1;
}

.project-carousel:hover .owl-nav {
    opacity: 1;
}

.project-carousel .owl-nav .owl-prev,
.project-carousel .owl-nav .owl-next {
    margin: 0 30px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}
.project-carousel,
.testimonial-carousel {
    direction: ltr !important;
}

.project-carousel .owl-stage,
.testimonial-carousel .owl-stage {
    direction: ltr !important;
}

/*** Team ***/
.team-item .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    display: flex;
    align-items: center;
    background: var(--primary);
    transition: .5s;
}

.team-item:hover .team-social {
    left: 0;
}


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: var(--primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.testimonial-carousel .testimonial-img img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .testimonial-img .btn-square {
    position: absolute;
    bottom: -19px;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-carousel .owl-item .testimonial-text {
    margin-bottom: 30px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transform: scale(.8);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    transform: scale(1);
}


/*** Footer ***/
.footer {
    color: #B0B9AE;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #B0B9AE;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

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

.copyright {
    color: #B0B9AE;
    border-top: 1px solid rgba(255, 255, 255, .1);
}


.logo {
    width: 70px;
    height: 70px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px red);
    }
    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 25px red);
    }
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px red);
    }
}
/*** Project Grid With Animation ***/

.project-item {
    position: relative;
    overflow: hidden;
}

.project-item img {
    transition: .5s;
}

.project-item:hover img {
    margin-top: -60px;
}

.project-item .project-title {
    position: absolute;
    padding: 0 15px;
    width: 100%;
    height: 80px;
    bottom: -110px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--dark);
    transition: .5s;
}

.project-item:hover .project-title {
    bottom: -60px;
}

.project-item .project-title::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 30px;
    top: -15px;
    left: 0;
    transform: skewY(-5deg);
    background: var(--dark);
}

.project-description {
    background: #f8f9fa;
    font-size: 14px;
}
.project-item {
    position: relative;
    overflow: hidden;
}

.project-item img {
    width: 100%;
    transition: .5s;
    display: block;
}

.project-item .project-title {
    position: absolute;
    left: 0;
    width: 100%;
    height: 80px;
    bottom: -80px;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.project-item:hover img {
    transform: translateY(-40px);
}

.project-item:hover .project-title {
    bottom: 0;
}
/*** Blog Cards Modern Design ***/

.blog-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: 0.4s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.blog-img {
    position: relative;
    overflow: hidden;
}

.blog-img img {
    transition: 0.5s ease;
    width: 100%;
}

.blog-card:hover .blog-img img {
    transform: scale(1.1);
}

.blog-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    opacity: 0;
    transition: 0.4s;
}

.blog-card:hover .blog-overlay {
    opacity: 1;
}

.blog-content {
    padding: 25px;
}

.blog-date {
    font-size: 14px;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 600;
}

.blog-content h4 {
    font-weight: 600;
    margin-bottom: 15px;
}

.blog-content p {
    font-size: 14px;
    color: #6c757d;
}

.blog-btn {
    display: inline-block;
    margin-top: 10px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: 0.3s;
}

.blog-btn:hover {
    letter-spacing: 1px;
}
.project-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.project-item {
    overflow: hidden;
    position: relative;
    transition: 0.4s ease;
}

.project-item img {
    transition: 0.4s ease;
}

.project-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.6);
}

.project-title h5 {
    transition: 0.3s ease;
}

.project-description {
    background: #fff;
    transition: 0.3s ease;
}

.project-card:hover .project-item img {
    transform: scale(1.07);
}

.project-card:hover .project-title h5 {
    color: #ffffff !important;
}

.project-card:hover {
    transform: translateY(-5px);
}
@media (min-width: 992px) {
    .col-lg-4:first-child {
        position: sticky;
        top: 120px;
    }
}
/* ===== Project Gallery Animation ===== */

.gallery-item {
    display: block;
    text-decoration: none;
}

.gallery-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.gallery-img img {
    transition: transform .5s ease;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: .4s ease;
    text-align: center;
}

.gallery-overlay h5 {
    color: #fff;
    transform: translateY(20px);
    transition: .4s ease;
}

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

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay h5 {
    transform: translateY(0);
}
/* ===== Project Details Upgrade ===== */

.project-info-box {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

/* Image Styling */
.project-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.project-image-wrapper img {
    transition: transform 0.6s ease;
}

/* Shine effect */
.project-image-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0.3),
        rgba(255,255,255,0)
    );
    transform: skewX(-25deg);
    transition: 0.75s;
    z-index: 2;
}

.project-image-wrapper:hover::before {
    left: 125%;
}

.project-image-wrapper:hover img {
    transform: scale(1.08);
}

/* Overlay Title */
.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Sidebar */
.project-sidebar {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* List Styling */
.project-list li {
    margin-bottom: 10px;
    color: #555;
}

.project-list i {
    color: #0d6efd;
    margin-right: 8px;
}
/* ===== Blog Details Premium Design ===== */

.blog-details {
    position: relative;
}

/* Image Styling */
.blog-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.blog-image-wrapper img {
    transition: transform 0.6s ease;
    height: 100%;
    object-fit: cover;
}

/* Zoom on Hover */
.blog-image-wrapper:hover img {
    transform: scale(1.08);
}

/* Shine Effect */
.blog-image-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0.4),
        rgba(255,255,255,0)
    );
    transform: skewX(-25deg);
    transition: 0.8s;
    z-index: 2;
}

.blog-image-wrapper:hover::before {
    left: 130%;
}

/* Content Animation Feel */
.blog-content p,
.blog-content h4 {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards;
}

.blog-content p:nth-child(1) { animation-delay: 0.2s; }
.blog-content p:nth-child(2) { animation-delay: 0.4s; }
.blog-content h4:nth-of-type(1) { animation-delay: 0.5s; }
.blog-content h4:nth-of-type(2) { animation-delay: 0.6s; }
.blog-content h4:nth-of-type(3) { animation-delay: 0.7s; }

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

/* Meta */
.blog-meta {
    color: #777;
    font-size: 14px;
}

/* Headings Hover */
.blog-content h4 {
    margin-top: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.blog-content h4::after {
    content: "";
    width: 0;
    height: 2px;
    background: #0d6efd;
    position: absolute;
    left: 0;
    bottom: -5px;
    transition: 0.3s;
}

.blog-content h4:hover::after {
    width: 60px;
}

/* Blockquote */
.blog-content blockquote {
    background: #f8f9fa;
    padding: 25px;
    border-left: 5px solid #0d6efd;
    border-radius: 10px;
    font-style: italic;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transform: scale(0.95);
    opacity: 0;
    animation: zoomInQuote 0.8s ease forwards;
    animation-delay: 0.9s;
}

@keyframes zoomInQuote {
    to {
        transform: scale(1);
        opacity: 1;
    }
}
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-toggler {
    margin-left: auto;
}

@media (max-width: 991px) {

    .navbar .navbar-brand {
        padding-right: 15px;  
        height: 60px;         
    }

    .navbar .navbar-brand::after {
        display: none;        
    }

    .navbar-brand h1 {
        font-size: 18px;    
    }

    .navbar-brand .logo {
        height: 35px;          
    }

    .navbar-toggler {
        margin-right: 15px;
    }
}
.navbar-brand .logo {
    width: 55px;          
    height: 55px;       
    object-fit: cover;    
    border-radius: 50%; 
    margin-right: 10px;
}
html[dir="rtl"] .footer {
    direction: rtl;
    text-align: right;
}
html[dir="rtl"] .footer .btn-link {
    text-align: right;
    padding-right: 0;
}

html[dir="rtl"] .footer .btn-link::before {
    float: right;
    margin-left: 8px;
    margin-right: 0;
}
html[dir="rtl"] .footer .btn-link::before {
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 8px;
}
/* ===== About Images Animation ===== */

.about-img {
    border-radius: 15px;
    transition: all 0.5s ease;
    transform: scale(1);
    opacity: 0;
    animation: fadeSlide 1.2s ease forwards;
}

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.img-animate-1 {
    animation-delay: 0.3s;
}

.img-animate-2 {
    animation-delay: 0.6s;
}

.about-img:hover {
    transform: scale(1.08) rotate(1deg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.img-animate-1 {
    animation: fadeSlide 1.2s ease forwards, float1 4s ease-in-out infinite 2s;
}

.img-animate-2 {
    animation: fadeSlide 1.2s ease forwards, float2 5s ease-in-out infinite 2s;
}

@keyframes float1 {
    0%,100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes float2 {
    0%,100% { transform: translateY(0px); }
    50% { transform: translateY(12px); }
}
/* ============================= */
/* RTL Icon Spacing Fix */
/* ============================= */

html[dir="rtl"] .feature-item {
    text-align: right;
}

html[dir="rtl"] .feature-text {
    padding-right: 10px;
}
html[dir="ltr"] .feature-text {
    padding-left: 10px;
}
/* ============================= */
/* Blur Reveal Animation */
/* ============================= */

.feature-img-wrapper img {
    filter: blur(15px);
    transform: scale(1.1);
    opacity: 0.6;
    transition: 
        filter 1.2s ease,
        transform 1.2s ease,
        opacity 1.2s ease;
}

.feature-img-wrapper.animate img {
    filter: blur(0);
    transform: scale(1);
    opacity: 1;
}

.feature-img-wrapper:hover img {
    transform: scale(1.05);
}
html[dir="rtl"] .btn-play {
    left: -30px;
    right: auto;
}
/* ============================= */
/* Fix White Circle Position RTL */
/* ============================= */

html[dir="rtl"] .feature-img-wrapper span {
    right: 100% !important;
    left: auto !important;
    transform: translate(50%, -50%) !important;
}
/* ============================= */
/* Professional Blur Animation */
/* ============================= */

.feature-img-wrapper {
    position: relative;
    border-radius: 25px;    
}

.feature-img-wrapper img {
    width: 100%;
    border-radius: 25px;
    filter: blur(15px);
    transform: scale(1.15);
    opacity: 0.6;
    transition: 
        filter 1.2s cubic-bezier(.17,.67,.83,.67),
        transform 1.2s cubic-bezier(.17,.67,.83,.67),
        opacity 1.2s ease;
}

.feature-img-wrapper.animate img {
    filter: blur(0);
    transform: scale(1);
    opacity: 1;
}

.feature-img-wrapper:hover img {
    filter: blur(4px);
    transform: scale(1.08);
}
.feature-img-wrapper:hover img {
    filter: blur(4px) brightness(1.1);
    transform: scale(1.08);
}


.feature-img-inner {
    overflow: hidden;
    border-radius: 25px;
}

.feature-img-inner img {
    width: 100%;
    filter: blur(15px);
    transform: scale(1.15);
    opacity: 0.6;
    transition: 
        filter 1.2s cubic-bezier(.17,.67,.83,.67),
        transform 1.2s cubic-bezier(.17,.67,.83,.67),
        opacity 1.2s ease;
}
html[dir="rtl"] .team-item .position-relative {
    padding-left: 0 !important;
    padding-right: 1.5rem !important;
    text-align: right;
}
@media (max-width: 768px) {

    .topbar-left span {
        display: none;
    }

    .topbar-right {
        padding: 5px 0 !important;
        gap: 8px;
    }

    .topbar-right span {
        font-size: 13px;
    }

    .topbar-right i {
        font-size: 13px;
    }

    .lang-switch button {
        font-size: 12px;
        padding: 2px 6px;
    }
}
/* ===============================
   PREMIUM MOBILE TOPBAR DESIGN
================================ */

@media (max-width: 768px) {

    .container-fluid.bg-dark {
        background: linear-gradient(90deg, #0d1b2a, #1b263b);
        padding: 6px 0;
    }

    .topbar-left span {
        display: none;
    }

    .topbar-left a {
        font-size: 14px;
        margin: 0 4px;
        opacity: 0.85;
        transition: 0.3s;
    }

    .topbar-left a:hover {
        opacity: 1;
        transform: scale(1.1);
    }

    .topbar-right {
        padding: 4px 10px !important;
        gap: 8px;
    }

    .phone-number {
        font-size: 13px;
        text-decoration: none;
        color: #fff;
        background: rgba(255,255,255,0.08);
        padding: 4px 10px;
        border-radius: 20px;
        transition: 0.3s;
    }

    .phone-number:hover {
        background: #ff6b00;
        color: #fff;
    }

    .lang-switch {
        background: rgba(255,255,255,0.1);
        border-radius: 20px;
        padding: 2px;
        display: flex;
    }

    .lang-switch button {
        border: none;
        font-size: 12px;
        padding: 4px 10px;
        border-radius: 20px;
        background: transparent;
        color: #fff;
        transition: 0.3s;
    }

    .lang-switch button.active {
        background: #ff6b00;
        color: #fff;
    }

}
/* Fix Desktop RTL Layout */

html[dir="rtl"] .topbar-left {
    justify-content: flex-end !important;
    text-align: right !important;
}

html[dir="rtl"] .topbar-right {
    justify-content: flex-start !important;
    text-align: left !important;
}

html[dir="rtl"] .topbar-right .me-2,
html[dir="rtl"] .topbar-right .me-3,
html[dir="rtl"] .topbar-left .me-2 {
    margin-right: 0 !important;
    margin-left: 0.5rem !important;
}

html[dir="rtl"] .topbar-right .fa-phone-alt {
    margin-right: 0 !important;
    margin-left: 8px !important;
}
html[dir="rtl"] .topbar-right span:nth-child(1) {
    order: 2;
}

html[dir="rtl"] .topbar-right span:nth-child(2) {
    order: 1;
}

html[dir="rtl"] .topbar-right .lang-switch {
    margin-left: 0;
    padding-right: 15px !important;
}
.modal-header-custom {
    display: flex;
    align-items: center;
}

html[dir="ltr"] .modal-header-custom {
    justify-content: space-between;
    text-align: left;
}

html[dir="rtl"] .modal-header-custom {
    flex-direction: row-reverse;
    justify-content: space-between;
    text-align: right;
}

.custom-modal-header {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
}

html[dir="rtl"] .custom-modal-header {
    direction: rtl;
}

html[dir="ltr"] .custom-modal-header {
    direction: ltr;
}
.custom-modal-header {
    display: flex;
    align-items: center;
}

html[dir="ltr"] .custom-modal-header {
    justify-content: space-between;
}

html[dir="rtl"] .custom-modal-header {
    justify-content: flex-start;
}

html[dir="rtl"] .custom-modal-header .close-btn {
    margin-right: auto;
}

html[dir="rtl"] .custom-modal-header .modal-title {
    text-align: right;
}
html[dir="rtl"] .custom-modal-header {
    display: flex;
    align-items: center;
    padding-left: 0 !important;
    padding-right: 1rem;         
}

html[dir="rtl"] .custom-modal-header .close-btn {
    margin-right: auto;
}

html[dir="rtl"] .custom-modal-header .modal-title {
    text-align: right;
}
html[dir="rtl"] .custom-modal-header .close-btn {
    margin-right: auto;
    margin-left: 0.5rem; 
}

html[dir="rtl"] .btn-play span {
    border-left: none;
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    right: -1px;
    top: 10px;
    border-right: 16px solid #FFFFFF;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
}
@media (max-width: 992px) {
    .btn-play {
        left: 50%;
        right: auto;
        transform: translate(-50%, -50%);
    }
    html[dir="rtl"] .btn-play {
        right: 35%;
        left: auto;
        transform: translate(-50%, -50%);
    }
}

/* Blockquote */
html[dir="rtl"] .blog-content blockquote {
    border-right: 5px solid #0d6efd;
    border-left: none !important;

}
/* ===============================
   PREMIUM PORTFOLIO ANIMATION
================================= */

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    transition: 
        transform 0.5s cubic-bezier(.2,.8,.2,1),
        box-shadow 0.5s cubic-bezier(.2,.8,.2,1);
}

/* Image Styling */
.portfolio-item img {
    transition: 
        transform 0.8s cubic-bezier(.2,.8,.2,1),
        filter 0.6s ease;
    will-change: transform;
}

/* Smooth Lift + Soft Shadow */
.portfolio-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 25px 60px rgba(0,0,0,0.15),
        0 10px 25px rgba(0,0,0,0.08);
}

/* Cinematic Zoom */
.portfolio-item:hover img {
    transform: scale(1.12);
    filter: brightness(0.85);
}

/* Elegant Overlay */
.portfolio-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.65) 0%,
        rgba(0,0,0,0.3) 40%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.6s ease;
}

.portfolio-item:hover::after {
    opacity: 1;
}

/* Text Reveal Animation */
.portfolio-item .p-4 {
    position: relative;
    z-index: 2;
    transition: 
        transform 0.5s ease,
        opacity 0.5s ease;
}

.portfolio-item:hover .p-4 {
    transform: translateY(-8px);
}

/* Accent Line Animation */
.portfolio-item::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 0%;
    background: linear-gradient(90deg, #ff6600, #ff8533);
    transition: width 0.5s ease;
    z-index: 3;
}

.portfolio-item:hover::before {
    width: 100%;
}
/* ===============================
   FIX EQUAL HEIGHT CARDS
================================= */

.portfolio-item {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.portfolio-item img {
    height: 220px;
    object-fit: cover;
}

.portfolio-item .p-4 {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.portfolio-item .p-4 p {
    flex-grow: 1;
}
.portfolio-item h5,
.portfolio-item p {
    position: relative;
    z-index: 2;
}

.portfolio-item::after {
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.55) 0%,
        rgba(0,0,0,0.2) 50%,
        transparent 100%
    );
}

.portfolio-item:hover img {
    transform: scale(1.08);
    filter: none;
}
/* ===============================
   LIGHT TEXT ON HOVER
================================= */

.portfolio-item h5,
.portfolio-item p {
    transition: color 0.4s ease, text-shadow 0.4s ease;
}

.portfolio-item:hover h5,
.portfolio-item:hover p {
    color: #ffffff !important;
    text-shadow: 
        0 2px 8px rgba(0,0,0,0.4),
        0 1px 2px rgba(0,0,0,0.3);
}
/* ===============================
   GRADIENT BACKGROUND ON TEXT WRAPPER
================================= */

.portfolio-item .p-4 {
    position: relative;
    z-index: 2;
    transition: all 0.5s ease;
}

.portfolio-item:hover .p-4 {
    background: linear-gradient(
        to right,
        rgba(2,36,91,0.95) 0%,
        rgba(2,36,91,0.75) 100%
    );
    backdrop-filter: blur(6px);
}

.portfolio-item:hover h5,
.portfolio-item:hover p {
    color: #ffffff !important;
}
/* ===============================
   STRONG VISIBLE GRADIENT
================================= */

.portfolio-item .p-4 {
    position: relative;
    z-index: 2;
    transition: all 0.5s ease;
}

.portfolio-item:hover .p-4 {
    background: linear-gradient(
        to top,
        rgba(2,36,91,1) 0%,
        rgba(2,36,91,0.85) 40%,
        rgba(2,36,91,0.55) 70%,
        rgba(2,36,91,0.2) 100%
    );
}

.portfolio-item:hover h5,
.portfolio-item:hover p {
    color: #ffffff !important;
}
/* ===============================
   EQUAL HEIGHT TEAM CARDS
================================= */

.row.g-4 > [class*='col-'] {
    display: flex;
}

.team-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.team-item img {
    height: 320px; 
    object-fit: cover;
    width: 100%;
}

.team-item .d-flex {
    flex: 1;
}
/* ===============================
   EQUAL HEIGHT PROJECT CAROUSEL
================================= */

.project-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.project-item img {
    height: 260px; 
    width: 100%;
    object-fit: cover;
}

.project-title {
    min-height: 90px; 
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #fff;
    text-align: center;
}

.project-title h5 {
    width: 100%;
}

.project-card {
    display: block;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: .3s;
}

.project-card:hover {
    transform: translateY(-5px);
}
.row.g-4 > [class*='col-'] {
    display: flex;
}
.project-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
}
.project-item {
    position: relative;
    height: 250px;
    overflow: hidden;
}
.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s ease;
}
.project-description {
    flex-grow: 1;
}
.gallery-img {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 12px;
}
.gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transition: 0.4s ease;
}
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 15px;
    color: #fff;
    opacity: 0;
    transition: 0.4s ease;
}
.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}
.row.g-4 > [class*='col-'] {
    display: flex;
}

.gallery-item {
    width: 100%;
    display: block;
}
.gallery-img img {
    display: block;
}
.gallery-img img {
    object-position: center center;
}

/* ===============================
   PROJECT CAROUSEL PREMIUM
================================ */

.project-carousel .owl-stage {
    display: flex;
    align-items: stretch;
}

.project-carousel .owl-item {
    display: flex;
    transition: 0.6s ease;
    transform: scale(0.85);
    opacity: 0.5;
}

.project-carousel .owl-item.center {
    transform: scale(1);
    opacity: 1;
    z-index: 2;
}

.project-card {
    position: relative;
    display: block;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: #111;
    transition: 0.5s ease;
}

.project-carousel .owl-item.center .project-card {
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}

/* IMAGE */

.card-image {
    position: relative;
    height: 340px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.8s ease;
}

/* Overlay Gradient */

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.85) 10%,
        rgba(0,0,0,0.5) 40%,
        rgba(0,0,0,0.1) 70%,
        transparent 100%
    );
}

/* Content */

.card-content {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    z-index: 2;
}

.card-content h5 {
    color: #fff;
    font-weight: 600;
    font-size: 18px;
    margin: 0;
    line-height: 1.4;
    transition: 0.4s ease;
}

/* Hover Effect */

.project-card:hover img {
    transform: scale(1.1);
}

.project-card:hover .card-content h5 {
    transform: translateY(-5px);
}

/* Owl Navigation */

.project-carousel .owl-nav {
    margin-top: 40px;
    text-align: center;
}

.project-carousel .owl-nav button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #0d6efd !important;
    color: #fff !important;
    margin: 0 10px;
    font-size: 20px !important;
    transition: 0.3s ease;
}

.project-carousel .owl-nav button:hover {
    background: #084298 !important;
}
html, body {
    overflow-x: hidden !important;
}
/* ===== Full Creative Sidebar ===== */

.ultra-menu {
    width: 295px;
    padding: 0;
    border: none;
    overflow: hidden;
    transition: transform .45s cubic-bezier(.77,0,.18,1),
                opacity .35s ease;
}
.offcanvas.show {
    transform: translateX(0);
    opacity: 1;
}

.offcanvas:not(.show) {
    opacity: 0.6;
}
.ultra-menu {
    transform: translateX(100%) scale(.98);
}

.offcanvas.show.ultra-menu {
    transform: translateX(0) scale(1);
}
html[dir="rtl"] .ultra-menu {
    transform: translateX(100%) scale(.98);
}

html[dir="ltr"] .ultra-menu {
    transform: translateX(-100%) scale(.98);
}

/* Background like page-header */
.menu-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(2,36,91,1) 0%, rgba(2,36,91,0.8) 60%),
                url(../img/carousel-2.jpg) center center no-repeat;
    background-size: cover;
    z-index: 1;
}

/* Content Layer */
.menu-content {
    position: relative;
    z-index: 2;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 40px 30px;
    color: #fff;
}

/* Header */
.ultra-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 18px;
}

.logo-box img {
    height: 45px;
}

/* Animated X */
.ultra-close {
    width: 20px;
    height: 20px;
    background: none;
    border: none;
    position: relative;
}

.ultra-close span {
    position: absolute;
    width: 100%;
    height: 2px;
    background: #fff;
    top: 50%;
    left: 0;
    transition: .3s;
}

.ultra-close span:first-child {
    transform: rotate(45deg);
}

.ultra-close span:last-child {
    transform: rotate(-45deg);
}

.ultra-close:hover span {
    background: #e4332d;
}

/* Scroll Area */
.ultra-links {
    flex: 1;
    overflow-y: auto;
    padding-right: 5px;
    scrollbar-width: thin;
}

.ultra-links::-webkit-scrollbar {
    width: 4px;
}

.ultra-links::-webkit-scrollbar-thumb {
    background: #e4332d;
}

/* Links */
.ultra-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: .4s;
    transform: translateX(20px);
    opacity: 0;
    animation: slideIn .5s forwards;
}

.ultra-link:nth-child(1){animation-delay:.1s}
.ultra-link:nth-child(2){animation-delay:.2s}
.ultra-link:nth-child(3){animation-delay:.3s}
.ultra-link:nth-child(4){animation-delay:.4s}
.ultra-link:nth-child(5){animation-delay:.5s}
.ultra-link:nth-child(6){animation-delay:.6s}
.ultra-link:nth-child(7){animation-delay:.7s}
.ultra-link:nth-child(8){animation-delay:.8s}
.ultra-link:nth-child(9){animation-delay:.9s}

@keyframes slideIn {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.ultra-link:hover {
    color: #e4332d;
    transform: translateX(10px);
}

/* Footer fixed bottom */
.ultra-footer {
    margin-top: auto;
    text-align: center;
}

.menu-phone {
    margin-bottom: 15px;
    font-weight: 600;
}

/* Social */
.ultra-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.ultra-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: .3s;
}

.ultra-social a:hover {
    background: #e4332d;
}
html[dir="rtl"] .ultra-menu {
    right: 0;
    left: auto;
}

html[dir="ltr"] .ultra-menu {
    left: 0;
    right: auto;
}

.ultra-link.active i {
    color: #fff;
}

.ultra-link.active::after {
    display: none;
}
/* Base Transition */
.ultra-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all .3s ease;
}

/* ================= ACTIVE ================= */
.ultra-link.active {
    background: linear-gradient(
        to right,
        rgba(2,36,91,1) 0%,
        rgba(2,36,91,0.75) 100%
    );
    color: #fff !important;
    box-shadow: 0 6px 16px rgba(0,0,0,.35);
}

/* RTL direction */
html[dir="rtl"] .ultra-link.active {
    background: linear-gradient(
        to left,
        rgba(2,36,91,1) 0%,
        rgba(2,36,91,0.75) 100%
    );
}

/* Icon White */
.ultra-link.active i {
    color: #fff;
}

/* ================= HOVER ================= */
.ultra-link:hover {
    background: linear-gradient(
        to right,
        rgba(2,36,91,0.85) 0%,
        rgba(2,36,91,0.6) 100%
    );
    color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
}

/* RTL Hover */
html[dir="rtl"] .ultra-link:hover {
    background: linear-gradient(
        to left,
        rgba(2,36,91,0.85) 0%,
        rgba(2,36,91,0.6) 100%
    );
}