/********** Falcons CSS **********/

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed !important;
    bottom: 100px !important;
    left: 25px !important;
    z-index: 1000 !important;
    width: 90px !important;
    height: 90px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #FF6B35, #e56030) !important;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4), 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    animation: whatsappPulse 3s infinite, whatsappFloat 2s ease-in-out infinite !important;
    border: 3px solid rgba(255, 255, 255, 0.2) !important;
}

.floating-whatsapp:hover {
    transform: scale(1.15) translateY(-5px) !important;
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.6), 0 8px 25px rgba(0, 0, 0, 0.3) !important;
    background: linear-gradient(135deg, #e56030, #FF6B35) !important;
}

.floating-whatsapp i {
    font-size: 36px !important;
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.3s ease !important;
}

.floating-whatsapp:hover i {
    transform: scale(1.1) !important;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4), 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(255, 107, 53, 0.7);
    }

    50% {
        box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4), 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 0 25px rgba(255, 107, 53, 0.1);
    }

    100% {
        box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4), 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(255, 107, 53, 0);
    }
}

@keyframes whatsappFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-3px);
    }
}

/* Large screens adjustments */
@media (min-width: 1200px) {
    .floating-whatsapp {
        width: 80px !important;
        height: 80px !important;

        bottom: 110px !important;
        left: 30px !important;
    }

    .floating-whatsapp i {
        font-size: 40px !important;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 90px !important;
        left: 33px !important;
        width: 70px !important;
        height: 70px !important;
        animation: whatsappPulse 3s infinite, whatsappFloat 2s ease-in-out infinite !important;
    }

    .floating-whatsapp i {
        font-size: 28px !important;
    }

    .floating-whatsapp:hover {
        transform: scale(1.1) translateY(-3px) !important;
    }
}

/* RTL Support */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .navbar-nav {
    text-align: right;
}

[dir="rtl"] .navbar-nav .nav-link {
    text-align: right;
}

[dir="rtl"] .carousel-caption {
    text-align: center;
}

[dir="rtl"] .title-left {
    text-align: right;
}

[dir="rtl"] .title-center {
    text-align: center;
}

[dir="rtl"] .service-text {
    text-align: right;
}

[dir="rtl"] .service-text.text-md-end {
    text-align: right;
}

[dir="rtl"] .list-group-item {
    text-align: right;
}

[dir="rtl"] .testimonial-item {
    text-align: center;
}

[dir="rtl"] .team-name {
    text-align: center;
}

[dir="rtl"] .portfolio-name {
    text-align: center;
}

[dir="rtl"] .btn {
    text-align: center;
}

/* Fix for RTL navigation alignment */
[dir="rtl"] .navbar-nav .nav-item {
    text-align: right;
}

[dir="rtl"] .dropdown-menu {
    text-align: right;
}

[dir="rtl"] .dropdown-item {
    text-align: right;
}

/* RTL form elements */
[dir="rtl"] .form-control {
    text-align: right;
}

[dir="rtl"] input[type="text"] {
    text-align: right;
}

/* RTL button alignment */
[dir="rtl"] .d-flex.gap-3 {
    flex-direction: row-reverse;
}

/* RTL social media buttons */
[dir="rtl"] .d-none.d-lg-flex {
    flex-direction: row-reverse;
}

/* RTL footer alignment */
[dir="rtl"] .footer {
    text-align: center;
}

/* RTL carousel controls */
[dir="rtl"] .carousel-control-prev {
    right: 0;
    left: auto;
}

[dir="rtl"] .carousel-control-next {
    left: 0;
    right: auto;
}

/* RTL carousel control icons - reflect the arrow icons */
[dir="rtl"] .carousel-control-prev-icon {
    transform: scaleX(-1);
}

[dir="rtl"] .carousel-control-next-icon {
    transform: scaleX(-1);
}

/* RTL service items */
[dir="rtl"] .service-item-left .row {
    flex-direction: row-reverse;
}

[dir="rtl"] .service-item-right .row {
    flex-direction: row;
}

/* RTL portfolio items */
[dir="rtl"] .portfolio-item {
    text-align: center;
}

/* RTL team items */
[dir="rtl"] .team-item {
    text-align: center;
}

/* RTL testimonial items */
[dir="rtl"] .testimonial-item {
    text-align: center;
    direction: rtl;
    unicode-bidi: bidi-override;
}

/* RTL back to top button */
[dir="rtl"] .back-to-top {
    left: 45px;
    right: auto;
}

/* RTL text flow improvements */
[dir="rtl"] p,
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] h5,
[dir="rtl"] h6 {
    text-align: right;
}

[dir="rtl"] .carousel-caption p {
    text-align: center;
}

[dir="rtl"] .carousel-caption h1,
[dir="rtl"] .carousel-caption h5 {
    text-align: center;
}

/* RTL margin and padding adjustments */
[dir="rtl"] .me-1 {
    margin-left: 0.25rem !important;
    margin-right: 0 !important;
}

[dir="rtl"] .me-2 {
    margin-left: 0.5rem !important;
    margin-right: 0 !important;
}

[dir="rtl"] .ms-1 {
    margin-right: 0.25rem !important;
    margin-left: 0 !important;
}

[dir="rtl"] .ms-2 {
    margin-right: 0.5rem !important;
    margin-left: 0 !important;
}

/* RTL navbar brand alignment */
[dir="rtl"] .navbar-brand {
    text-align: right;
}

/* RTL footer social buttons */
[dir="rtl"] .d-flex.justify-content-center {
    flex-direction: row-reverse;
}

/* RTL service item animations */
[dir="rtl"] .service-item-left .wow.fadeInRight {
    animation-name: fadeInLeft;
}

[dir="rtl"] .service-item-left .wow.fadeInLeft {
    animation-name: fadeInRight;
}

/* RTL button text alignment */
[dir="rtl"] .btn {
    text-align: center;
    direction: rtl;
}

/* RTL list items */
[dir="rtl"] .list-group-item {
    text-align: right;
    direction: rtl;
}

/* RTL dropdown positioning */
[dir="rtl"] .dropdown-menu {
    right: 0;
    left: auto;
    text-align: right;
}

/* RTL carousel indicators */
[dir="rtl"] .carousel-indicators {
    right: 0;
    left: auto;
}

/* RTL portfolio overlay text */
[dir="rtl"] .portfolio-name h5 {
    text-align: center;
}

/* RTL team item text */
[dir="rtl"] .team-name h5 {
    text-align: center;
}

/* RTL testimonial text */
[dir="rtl"] .testimonial-item p {
    text-align: center;
    direction: rtl;
    unicode-bidi: bidi-override;
}

[dir="rtl"] .testimonial-item h5 {
    text-align: center;
    direction: rtl;
    unicode-bidi: bidi-override;
}

[dir="rtl"] .testimonial-item span {
    text-align: center;
    direction: rtl;
    unicode-bidi: bidi-override;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    display: block;
    right: 45px;
    bottom: 100px;
    z-index: 99;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25D366;
    border: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.floating-whatsapp:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.floating-whatsapp i {
    font-size: 24px;
    color: white;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* RTL Floating WhatsApp Button */
[dir="rtl"] .floating-whatsapp {
    left: 45px;
    right: auto;
}


/*** 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;
}

.loading-favicon {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.loading-favicon img {
    animation: logoFloat 2s ease-in-out infinite, logoGlow 2s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.5));
    transition: all 0.3s ease;
}

.loading-favicon::before {
    content: '';
    position: absolute;
    width: 8rem;
    height: 8rem;
    border: 2px solid #FF6B35;
    border-radius: 50%;
    animation: rotate 3s linear infinite;
}

.loading-favicon::after {
    content: '';
    position: absolute;
    width: 10rem;
    height: 10rem;
    border: 1px solid #FF6B35;
    border-radius: 50%;
    animation: rotate 4s linear infinite reverse;
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0px) scale(1);
    }

    50% {
        transform: translateY(-10px) scale(1.05);
    }
}

@keyframes logoGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.5));
    }

    50% {
        filter: drop-shadow(0 0 30px rgba(255, 107, 53, 0.8));
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Loading text animation */
.loading-text {
    position: absolute;
    bottom: -5rem;
    left: 50%;
    transform: translateX(-50%);
    color: #FF6B35;
    font-size: 1.2rem;
    font-weight: 600;
    animation: textFade 2s ease-in-out infinite;
    z-index: 10;
    white-space: nowrap;
}

@keyframes textFade {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}


/*** Button ***/
.btn {
    font-weight: 600;
    transition: .5s;
    border-radius: 50px;
}

.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: inherit;
}

.btn-primary {
    color: var(--bs-white);
}


/*** Navbar ***/
.navbar {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 9;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-right: 25px;
    padding: 40px 0;
    color: var(--bs-white);
    font-size: 17px;
    text-transform: uppercase;
    outline: none;
    transition: .5s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #FF6B35;
}

@media (max-width: 991.98px) {

    .navbar .navbar-nav .nav-link,
    .navbar.bg-dark .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 8px;
        border-top: 1px solid var(--bs-light);
    }
}

@media (min-width: 992px) {
    .navbar.bg-dark .navbar-nav .nav-link {
        padding: 20px 0;
    }

    .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;
    }
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding-top: 100px;
    background: rgba(0, 0, 0, .7);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 550px;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    padding-top: 200px;
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-1.jpg) top center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--bs-white);
}


/*** Title ***/
.title {
    margin-bottom: 2rem;
}

.title .title-left,
.title .title-center,
.title .title-right {
    display: inline-block;
    text-transform: uppercase;
    overflow: hidden;
}

.title .title-center {
    text-align: center;
}

.title .title-right {
    text-align: right;
}

.title .title-left h5,
.title .title-center h5,
.title .title-right h5 {
    position: relative;
    display: inline-block;
    font-size: 18px;
    font-weight: 300;
}

.title .title-left h5::after,
.title .title-center h5::before,
.title .title-center h5::after,
.title .title-right h5::before {
    position: absolute;
    content: "";
    width: 500%;
    height: 0;
    top: 9px;
    border-bottom: 1px solid var(--bs-white);
}

.title .title-left h5::after,
.title .title-center h5::after {
    left: calc(100% + 15px);
}

.title .title-right h5::before,
.title .title-center h5::before {
    right: calc(100% + 15px);
}

.title .title-left h1,
.title .title-center h1,
.title .title-right h1 {
    border-bottom: 1px solid var(--bs-white);
}


/*** Service ***/
.service-item {
    position: relative;
    margin-top: 2.5rem;
    overflow: hidden;
}

.service-item .service-img {
    position: relative;
    display: inline-block;
}

.service-item .service-img::before {
    position: absolute;
    content: "";
    width: calc(100% - 6rem);
    height: calc(100% - 6rem);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 3rem solid rgba(0, 0, 0, .5);
    border-radius: 300px;
    z-index: 1;
}

.service-item.service-item-left {
    border-radius: 500px 0 0 500px;
    background: linear-gradient(to right, var(--bs-secondary), var(--bs-dark));
}

.service-item.service-item-right {
    border-radius: 0 500px 500px 0;
    background: linear-gradient(to left, var(--bs-secondary), var(--bs-dark));
}

@media (max-width: 767.98px) {

    .service-item.service-item-left,
    .service-item.service-item-right {
        border-radius: 500px 500px 0 0;
        background: linear-gradient(to bottom, var(--bs-secondary), var(--bs-dark));
        text-align: center;
    }
}


/*** Portfolio ***/
.portfolio-item {
    position: relative;
    overflow: hidden;
}

.portfolio-item::before,
.portfolio-item::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .7);
    transition: .5s;
}

.portfolio-item::after {
    left: auto;
    right: 0;
}

.portfolio-item:hover::before,
.portfolio-item:hover::after {
    width: 50%;
}

.portfolio-item .portfolio-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.portfolio-item:hover .portfolio-overlay {
    transition-delay: .5s;
    opacity: 1;
}

.portfolio-item .portfolio-overlay .portfolio-btn {
    display: flex;
    margin: 5px;
    margin-bottom: 60px;
}

.portfolio-item .portfolio-overlay .portfolio-name {
    position: absolute;
    width: 100%;
    height: 60px;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-primary);
}


/*** Team ***/
.team-item {
    position: relative;
}

.team-item .team-name {
    position: absolute;
    width: 100%;
    height: 60px;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .7);
}

.team-item .team-body {
    position: relative;
    overflow: hidden;
}

.team-item .team-body .team-before,
.team-item .team-body .team-after {
    position: absolute;
    content: "";
    width: 0;
    height: calc(100% - 60px);
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: .5s;
}

.team-item .team-body .team-after {
    left: auto;
    right: 0;
}

.team-item .team-body .team-before {
    text-align: right;
}

.team-item:hover .team-body .team-before,
.team-item:hover .team-body .team-after {
    width: 50%;
}

.team-item .team-body .team-before span,
.team-item .team-body .team-after span {
    margin: 5px;
    color: var(--bs-white);
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-body .team-before span,
.team-item:hover .team-body .team-after span {
    opacity: 1;
    transition-delay: .2s;
}


/*** Testimonial ***/
.testimonial-carousel {
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .owl-stage-outer {
    direction: ltr !important;
}

.testimonial-carousel .owl-stage {
    direction: ltr !important;
}

.testimonial-carousel .owl-item {
    direction: ltr !important;
}

/* Force testimonial content to be visible */
.testimonial-item {
    direction: rtl !important;
    text-align: center !important;
    min-height: 200px !important;
    padding: 20px !important;
    font-family: 'Noto Sans Arabic', Arial, sans-serif !important;
}

.testimonial-item p {
    direction: rtl !important;
    text-align: center !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 18px !important;
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
    color: #ffffff !important;
    font-family: 'Noto Sans Arabic', Arial, sans-serif !important;
}

.testimonial-item h5 {
    direction: rtl !important;
    text-align: center !important;
    display: block !important;
    visibility: visible !important;
    font-size: 20px !important;
    font-weight: bold !important;
    margin-bottom: 10px !important;
    color: #ffffff !important;
    font-family: 'Noto Sans Arabic', Arial, sans-serif !important;
}

.testimonial-item span {
    direction: rtl !important;
    text-align: center !important;
    display: block !important;
    visibility: visible !important;
    font-size: 16px !important;
    color: #FF6B35 !important;
    font-family: 'Noto Sans Arabic', Arial, sans-serif !important;
}

.testimonial-carousel .owl-dots {
    margin-top: 35px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dots .owl-dot {
    width: 60px;
    height: 60px;
    margin: 0 5px;
    padding: 10px;
    background: var(--bs-dark);
    border-radius: 100px;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot img {
    opacity: .1;
    transition: .5s;
    border-radius: 100px;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}

/* Additional RTL fixes for testimonial content */
[dir="rtl"] .testimonial-carousel .testimonial-item {
    direction: rtl !important;
    text-align: center !important;
    unicode-bidi: bidi-override !important;
}

[dir="rtl"] .testimonial-carousel .testimonial-item p {
    direction: rtl !important;
    text-align: center !important;
    font-size: 1.25rem !important;
    line-height: 1.6 !important;
    unicode-bidi: bidi-override !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

[dir="rtl"] .testimonial-carousel .testimonial-item h5 {
    direction: rtl !important;
    text-align: center !important;
    font-weight: 600 !important;
    margin-top: 1rem !important;
    unicode-bidi: bidi-override !important;
    display: block !important;
    visibility: visible !important;
}

[dir="rtl"] .testimonial-carousel .testimonial-item span {
    direction: rtl !important;
    text-align: center !important;
    font-size: 0.9rem !important;
    unicode-bidi: bidi-override !important;
    display: block !important;
    visibility: visible !important;
}


/*** Footer ***/
@keyframes footerAnimatedBg {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: -1000px 0;
    }
}

/* Mobile-friendly footer animation */
@keyframes footerAnimatedBgMobile {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: -500px 0;
    }
}

.footer {
    background-image: url(../img/footer-bg.png);
    background-position: 0px 0px;
    background-repeat: repeat-x;
    animation: footerAnimatedBg 50s linear infinite;
}

/* Force primary color override */
.text-primary {
    color: #FF6B35 !important;
}

.btn-primary {
    background-color: #FF6B35 !important;
    border-color: #FF6B35 !important;
}

.btn-primary:hover {
    background-color: #e56030 !important;
    border-color: #e56030 !important;
}

.btn-outline-primary {
    color: #FF6B35 !important;
    border-color: #FF6B35 !important;
    background: black;
}

.btn-outline-primary:hover {
    background-color: #ffffff !important;
    border-color: #FF6B35 !important;
}

.bg-primary {
    background-color: #FF6B35 !important;
}

.border-primary {
    border-color: #FF6B35 !important;
}

/* Remove focus borders from all clickable elements */
*:focus,
*:active,
*:focus-visible,
.btn:focus,
.btn:active,
.btn:focus-visible,
.nav-link:focus,
.nav-link:active,
.nav-link:focus-visible,
a:focus,
a:active,
a:focus-visible,
button:focus,
button:active,
button:focus-visible,
[role="button"]:focus,
[role="button"]:active,
[role="button"]:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

/* WOW Animation Fixes */
.wow {
    visibility: hidden;
}

.wow.animated {
    visibility: visible;
}

/* Ensure fadeInUp animation works properly */
.wow.fadeInUp {
    animation-name: fadeInUp;
    animation-duration: 1s;
    animation-fill-mode: both;
}

/* Force animation to work on mobile */
@media (max-width: 768px) {
    .wow {
        visibility: visible;
        /* animation: none !important; */
    }

    /* Ensure footer animation still works on mobile */
    .footer {
        animation: footerAnimatedBgMobile 30s linear infinite !important;
    }
}

/* Additional animation support */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translate3d(0, 100%, 0);
    }

    100% {
        opacity: 1;
        transform: none;
    }
}

/* Ensure proper animation timing */
.wow.fadeInUp[data-wow-delay] {
    animation-delay: var(--wow-delay, 0.5s);
}

/* Force visibility for debugging */
.wow.fadeInUp {
    opacity: 0;
    transform: translate3d(0, 50px, 0);
    transition: all 0.6s ease-out;
}

.wow.fadeInUp.animated {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Service Detail Page Styles */
.service-icon {
    margin-bottom: 1rem;
}

.process-icon {
    position: relative;
    display: inline-block;
}

.process-number {
    width: 60px;
    height: 60px;
    background: var(--bs-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto;
}

/* Page Header Styles */
.page-header {
    padding-top: 265px !important;
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/banner\ \(1\).png) top center no-repeat;
    background-size: cover;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.page-header .title-center h1 {
    color: white;
    font-size: 3rem;
    font-weight: 700;
}

.page-header .title-center h5 {
    color: #FF6B35;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

/* Service Detail Content */
.service-detail-content {
    padding: 4rem 0;
}

.service-detail-content .title-left h1 {
    color: var(--bs-dark);
    font-size: 2.5rem;
    font-weight: 700;
}

.service-detail-content .title-left h5 {
    color: var(--bs-primary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* Features Section */
.features-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.features-section .service-item {
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.features-section .service-item:hover {
    transform: translateY(-5px);
}

.features-section .service-item h4 {
    color: var(--bs-dark);
    margin-bottom: 1rem;
}

.features-section .service-item p {
    color: #666;
    line-height: 1.6;
}

/* Process Section */
.process-section {
    padding: 4rem 0;
}

.process-section .process-icon {
    margin-bottom: 2rem;
}

.process-section h4 {
    color: var(--bs-dark);
    margin-bottom: 1rem;
}

.process-section p {
    color: #666;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--bs-secondary), var(--bs-dark));
}

.cta-section .title-center h1 {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
}

.cta-section .title-center h5 {
    color: #FF6B35;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header {
        padding-top: 150px;
        min-height: 300px;
    }

    .page-header .title-center h1 {
        font-size: 2rem;
    }

    .service-detail-content .title-left h1 {
        font-size: 2rem;
    }

    .cta-section .title-center h1 {
        font-size: 2rem;
    }

    /* Footer mobile fixes */
    .footer {
        background-image: url(../img/footer-bg.png);
        background-position: 0px 0px;
        background-repeat: repeat-x;
        background-size: auto 100%;
        animation: footerAnimatedBgMobile 30s linear infinite !important;
        min-height: 200px;
    }
}

/* Additional mobile footer fixes for smaller screens */
@media (max-width: 425px) {
    .footer {
        background-image: url(../img/footer-bg.png);
        background-position: 0px 0px;
        background-repeat: repeat-x;
        background-size: auto 100%;
        animation: footerAnimatedBgMobile 30s linear infinite !important;
        min-height: 180px;
    }
}

/* Extra small mobile devices */
@media (max-width: 320px) {
    .footer {
        background-image: url(../img/footer-bg.png);
        background-position: 0px 0px;
        background-repeat: repeat-x;
        background-size: auto 100%;
        animation: footerAnimatedBgMobile 30s linear infinite !important;
        min-height: 160px;
    }
}

@media (max-width: 425px) {
    .carousel-caption h1 {
        /* text-align: center; */
        font-size: 1.2rem;
    }
}

@media (max-width: 1024px) {
    .carousel-caption h1 {
        /* text-align: center; */
        font-size: 1.2rem;
    }
}

@media (max-width: 320px) {
    .carousel-caption h1 {
        /* text-align: center; */
        font-size: 1.1rem;
    }
}

@media (max-width: 320px) {
    .carousel-caption p {
        /* text-align: center; */
        font-size: .9rem !important;
    }
}

@media (max-width: 475px) {
    .carousel-caption p {
        /* text-align: center; */
        font-size: .9rem !important;
    }
}


@media (max-width: 768px) {
    .d-flex.justify-content-center {
        flex-direction: column !important;
    }
}

/* Social media icons - keep horizontal layout */


.social-icons .btn {
    flex-shrink: 0 !important;
    min-width: 50px !important;
    min-height: 50px !important;
}

/* Override the general d-flex rule for social media icons specifically */


/* Alternative selector for social media containers */
.footer .d-flex.justify-content-center {
    flex-direction: row !important;
    flex-wrap: wrap !important;
}

/* Mobile responsive adjustments for social icons */
@media (max-width: 768px) {
    .social-icons {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
    }

    .social-icons .btn {
        min-width: 45px !important;
        min-height: 45px !important;
        font-size: 1.2rem !important;
    }

    /* Force horizontal layout for social media in footer */
    .footer .d-flex.justify-content-center {
        flex-direction: row !important;
        flex-wrap: wrap !important;
    }

    /* Override the general rule for social media buttons */
    .d-flex.justify-content-center:has(.btn-outline-primary) {
        flex-direction: row !important;
        flex-wrap: wrap !important;

    }
}

@media (max-width: 480px) {
    .social-icons .btn {
        min-width: 40px !important;
        min-height: 40px !important;
        font-size: 1rem !important;
    }

    .footer .d-flex.justify-content-center .btn {
        min-width: 40px !important;
        min-height: 40px !important;
        font-size: 1rem !important;
    }
}

@media (max-width: 768px) {

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        margin-top: 123px !important;
    }
}


@media (max-width: 425px) {

    [dir="rtl"] p,
    [dir="rtl"] h1,
    [dir="rtl"] h2,
    [dir="rtl"] h3,
    [dir="rtl"] h4,
    [dir="rtl"] h5,
    [dir="rtl"] h6 {
        font-size: 1.1rem !important;
    }
}

@media (max-width: 425px) {
    .service-item .service-img::before {

        width: calc(100% - 0rem);
        height: calc(100% - 0rem);

    }
}

/* Accordion Button Styles */
.accordion-button:not(.collapsed) {
    color: rgb(255, 255, 255);
    background-color: rgb(26, 26, 26);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .125);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='rgb%28255, 255, 255%29'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}

.accordion-button.collapsed::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='rgb%28255, 255, 255%29'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}

/* Override any other arrow styles */
.accordion-button::before,
.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='rgb%28255, 255, 255%29'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}

.text-light {
    color: #ffffff !important;

}

.text-center {
    text-align: center !important;
    backdrop-filter: blur(4px);
}