html {
    scroll-behavior: smooth;
}

a,
button,
.service-card,
.step-card,
.testimonial-card,
.stat-box,
.why-item {
    transition: .3s;
}

body {
    font-family: 'Cairo', sans-serif;
    direction: rtl;
    padding-top: 90px;
    background-color: #f8f9fa;
}

:root {
    --primary-blue: #0D2C6C;
    --gold: #D4A63F;
}



section {
    scroll-margin-top: 90px;
}

.navbar .container {
    direction: ltr;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    order: 1;
}

.navbar-toggler {
    order: 2;
}

.navbar-collapse {
    order: 3;
    direction: rtl;
}

.navbar-nav {
    direction: rtl;
    gap: 15px;
}

.nav-link {
    color: var(--primary-blue) !important;
    font-size: 18px;
    font-weight: 600;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold) !important;

}



.hero {
    padding: 80px 0;
    background: linear-gradient(to left, #ffffff, #f5f9ff);
}

.hero-badge {
    display: inline-block;
    background: #eef4ff;
    color: #0D2C6C;
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-text h1 {
    color: #0D2C6C;
    font-size: 60px;
    font-weight: 800;
    line-height: 1.3;
}

.hero-text h1 span {
    color: #D4A63F;
}

.hero-text p {
    font-size: 22px;
    line-height: 1.8;
    color: #444;
    margin: 25px 0;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}



.btn-whatsapp {
    background: #25D366;
    color: #fff;
    padding: 14px 35px;
    border-radius: 10px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-whatsapp:hover {
    background: #1ebe5d;
    color: #fff !important;
    transform: translateY(-2px);
}

.btn-whatsapp:focus,
.btn-whatsapp:active {
    color: #fff !important;
}

.btn-call {
    background: #0D2C6C;
    color: #fff;
    padding: 14px 35px;
    border-radius: 10px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-call:hover {
    background: #0a2254;
    color: #fff !important;
    transform: translateY(-2px);
}



.hero-features {
    display: flex;
    gap: 30px;
    margin-top: 35px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #0D2C6C;
    font-weight: 600;
    font-size: 17px;
}

.feature i {
    color: #D4A63F;
    font-size: 22px;
}

.hero-img {
    display: flex;
    justify-content: center;
}

.hero-img img {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 20px;
}

.services {
    padding: 80px 0;
    background: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    color: #0D2C6C;
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 10px;
}

.section-title p {
    color: #555;
    font-size: 18px;
}

.service-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    transition: .3s;
    height: 100%;
    cursor: pointer;

}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, .12);
}

.service-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.service-content {
    padding: 25px 20px;
    text-align: center;
    position: relative;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: #D4A63F;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: -55px auto 20px;
    border: 5px solid #fff;
}

.service-content h3 {
    color: #0D2C6C;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-content p {
    color: #555;
    font-size: 16px;
    line-height: 1.8;
}



.service-modal {
    border-radius: 22px;
    overflow: hidden;
    border: none;
}

.service-modal .modal-header {
    background: #0D2C6C;
    color: #fff;
}

.modal-body {
    padding: 30px;
}

.service-modal .btn-close {
    filter: invert(1);
}

.modal-img {
    width: 100%;
    max-height: 450px;
    object-fit: contain;
    margin-bottom: 25px;
}

.service-modal p {
    color: #555;
    line-height: 1.9;
    font-size: 17px;
}

.modal-list {
    margin: 20px 0;
    padding-right: 20px;
}

.modal-list li {
    margin-bottom: 12px;
    color: #0D2C6C;
    font-weight: 600;
}

.modal-list li::marker {
    color: #D4A63F;
}


.modal-content {
    border: none;
    border-radius: 24px;
}

.btn-call {
    background: #0D2C6C;
    color: #fff !important;
    padding: 14px 35px;
    border-radius: 10px;
    font-weight: 600;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-call:hover {
    background: #0a2254;
    color: #fff !important;
    transform: none;
}

.btn-call i {
    line-height: 1;
}

.btn-whatsapp:hover {
    background: #1ebe5d;
    color: #fff !important;
    transform: none;
}




.why-us {
    padding: 90px 0;
    background: #f8fafc;
}

.why-item {
    padding: 20px;
    transition: .3s;
}

.why-item i {
    font-size: 55px;
    color: #D4A63F;
    margin-bottom: 20px;
    display: block;
}

.why-item h5 {
    color: #0D2C6C;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 22px;
}

.why-item p {
    color: #666;
    font-size: 15px;
}

.why-item:hover {
    transform: translateY(-5px);
}

.why-item:hover i {
    color: #0D2C6C;
}


.steps {
    padding: 90px 0;
    background: #fff;
}

.step-link {
    text-decoration: none !important;
    color: inherit;
    display: block;
}

.step-link:hover {
    text-decoration: none !important;
    color: inherit;
}

.step-card {
    background: #f8fafc;
    padding: 35px 25px;
    border-radius: 22px;
    text-align: center;
    height: 100%;
    position: relative;
    transition: .3s;
    border: 1px solid #eef2f7;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .10);
    background: #fff;
}

.step-number {
    position: absolute;
    top: 18px;
    left: 22px;
    font-size: 34px;
    font-weight: 800;
    color: rgba(13, 44, 108, .10);
}

.step-card i {
    font-size: 48px;
    color: #D4A63F;
    margin-bottom: 20px;
    display: block;
}

.step-card h4 {
    color: #0D2C6C;
    font-size: 23px;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-card p {
    color: #666;
    line-height: 1.8;
    margin: 0;
}

.testimonials {
    padding: 90px 0;
    background: #f8fafc;
}

.testimonial-card {
    background: #fff;
    padding: 35px;
    border-radius: 20px;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .06);
    transition: .3s;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .12);
}

.stars {
    color: #D4A63F;
    font-size: 24px;
    margin-bottom: 20px;
}

.testimonial-card p {
    color: #555;
    line-height: 2;
    min-height: 120px;
}

.client {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.client h5 {
    color: #0D2C6C;
    font-weight: 700;
    margin-bottom: 5px;
}

.client span {
    color: #888;
    font-size: 14px;
}

.stats {
    padding: 70px 0;
    background: #0D2C6C;
}

.stat-box {
    background: rgba(255, 255, 255, .08);
    padding: 35px 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, .15);
    transition: .3s;
}

.stat-box:hover {
    transform: translateY(-7px);
    background: rgba(255, 255, 255, .12);
}

.stat-box h3 {
    color: #D4A63F;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 10px;
}

.stat-box p {
    color: #fff;
    font-size: 18px;
    margin: 0;
}




.footer {
    position: relative;
    margin-top: 90px;
}

.footer-cta {
    background: #fff;
    position: relative;
    z-index: 2;
}

.footer-cta-box {
    background: linear-gradient(135deg, #0D2C6C, #1747a8);
    color: #fff;
    border-radius: 30px;
    padding: 50px 30px;
    text-align: center;
    transform: translateY(70px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .18);
}

.footer-cta-box::before {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    background: #D4A63F;
    border-radius: 50%;
    top: -70px;
    right: -70px;
    opacity: .95;
}

.footer-cta-box::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    background: #D4A63F;
    border-radius: 50%;
    bottom: -55px;
    left: -55px;
    opacity: .35;
}

.footer-cta-box h2,
.footer-cta-box p,
.footer-cta-buttons {
    position: relative;
    z-index: 2;
}

.footer-cta-box h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
}

.footer-cta-box p {
    font-size: 18px;
    margin-bottom: 28px;
    color: #eef4ff;
}

.footer-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-call,
.footer-whatsapp {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 35px;
    border-radius: 12px;
    font-weight: 700;
    transition: .3s;
}

.footer-call {
    background: #D4A63F;
    color: #0D2C6C;
}

.footer-call:hover {
    background: #c59631;
    color: #fff !important;
    transform: translateY(-2px);
}

.footer-whatsapp {
    background: #25D366;
    color: #fff;
}

.footer-whatsapp:hover {
    background: #1ebe5d;
    color: #fff !important;
    transform: translateY(-2px);
}

.footer-main {
    padding: 150px 0 25px;
    color: #fff;
    background:

        url("imagess/footer-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.footer-main::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #D4A63F, #f4d27a, #D4A63F);
}

.footer-logo {
    height: 80px;
    width: auto;
    background: #fff;
    padding: 8px;
    border-radius: 15px;
    margin-bottom: 20px;
}

#contact {
    scroll-margin-top: 120px;
}

.footer-about p,
.footer-contact p,
.footer-links ul li {
    color: #fff;
    opacity: .9;
    line-height: 1.9;
}

.footer-main h5 {
    color: #D4A63F;
    font-weight: 800;
    margin-bottom: 22px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a,
.footer-contact a {
    color: #fff;
    text-decoration: none;
    transition: .3s;
}

.footer-links ul li a:hover,
.footer-contact a:hover {
    color: #D4A63F;
    padding-right: 5px;
}

.footer-contact i {
    color: #D4A63F;
    margin-left: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .18);
    margin-top: 45px;
    padding-top: 22px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: #dbe5ff;
}

::selection {
    background: #D4A63F;
    color: #fff;
}

.floating-buttons {
    position: fixed;
    bottom: 25px;
    left: 25px;

    display: flex;
    flex-direction: column;
    gap: 12px;

    z-index: 9999;
}

.floating-buttons a {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    text-decoration: none;

    color: #fff;

    box-shadow: 0 8px 25px rgba(0, 0, 0, .15);

    transition: .3s;
}

.floating-whatsapp {
    background: #25D366;
}

.floating-call {
    background: #0D2C6C;
}

.floating-buttons a:hover {
    transform: translateY(-3px);
    color: #fff;
}

.floating-buttons i {
    font-size: 24px;
}


@media (max-width: 991px) {

    body {
        padding-top: 80px;
    }

    .navbar .container {
        direction: rtl;
    }

    @media (max-width: 991px) {

        .navbar-collapse {
            width: 100%;
            background: #fff;
            margin-top: 15px;
            padding: 20px;
            border-radius: 15px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
        }

        .navbar-nav {
            flex-direction: column !important;
            align-items: flex-start;
            gap: 10px;
        }

        .nav-link {
            width: 100%;
            text-align: right;
        }
    }

    .hero {
        padding: 60px 0;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 42px;
    }

    .hero-text p {
        font-size: 18px;
    }

    .hero-buttons,
    .hero-features {
        justify-content: center;
    }

    .hero-img {
        margin-top: 40px;
    }

    .section-title h2 {
        font-size: 32px;
    }
}

@media (max-width: 576px) {

    body {
        padding-top: 75px;
    }

    .navbar-brand img {
        height: 50px;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-call,
    .btn-whatsapp {
        width: 100%;
        justify-content: center;
    }

    .hero-img img {
        max-width: 450px;
    }

    .footer-cta-box h2 {
        font-size: 26px;
    }

    .footer-cta-buttons {
        flex-direction: column;
    }

    .footer-call,
    .footer-whatsapp {
        justify-content: center;
    }

    @media (max-width: 576px) {

        .services .row,
        .steps .row,
        .stats .row {
            --bs-gutter-x: 12px;
            --bs-gutter-y: 12px;
        }

        .service-card img {
            height: 140px;
        }

        .service-content {
            padding: 20px 10px;
        }

        .service-icon {
            width: 48px;
            height: 48px;
            font-size: 20px;
            margin: -45px auto 15px;
        }

        .service-content h3 {
            font-size: 17px;
        }

        .service-content p {
            font-size: 13px;
            line-height: 1.6;
        }

        .step-card {
            padding: 28px 12px;
        }

        .step-number {
            font-size: 24px;
            top: 12px;
            left: 14px;
        }

        .step-card i {
            font-size: 34px;
        }

        .step-card h4 {
            font-size: 17px;
        }

        .step-card p {
            font-size: 13px;
        }

        .stat-box {
            padding: 25px 10px;
        }

        .stat-box h3 {
            font-size: 30px;
        }

        .stat-box p {
            font-size: 14px;
        }
    }
}


@media (max-width: 576px) {

    .service-modal .modal-buttons {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }

    .service-modal .modal-buttons a {
        width: 100% !important;
        max-width: 100% !important;
        padding: 10px 12px !important;
        font-size: 14px !important;
        border-radius: 8px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;

        margin: 0 !important;
        transform: none !important;
    }

    .service-modal .modal-buttons a:hover {
        transform: none !important;
    }

    .service-modal .modal-buttons i {
        font-size: 15px !important;
        line-height: 1 !important;
    }
}

@media (max-width: 576px) {

    .floating-buttons {
        left: 15px;
        bottom: 15px;
        gap: 10px;
    }

    .floating-buttons a {
        width: 60px;
        height: 60px;
    }

    .floating-buttons i {
        font-size: 24px;
    }

}