:root {
    --navheader: #006c35;
    --overlay-shadow: rgba(0, 0, 0, 0.5);
    --primary-color-first: #2c3e50;
    /* كحلي */
    /* 002147 */
    --primary-color: #002147;
    /* كحلي */
    --secondary-color: #006c35;
    /* أخضر رسمي */
    --text-color: #333333;
    --bg-color: #e1e1e1;
    --highlight-color: #ffcc00;
    /* ذهبي */
}

*,pre {
    font-family: 'Tajawal', sans-serif;
}

a {
    text-decoration: none;
    color: #fff;
}

.btn-dark {
    background-color: var(--primary-color);
}

.required::after {
    content: " *";
    color: red;
}

.navbar .nav-link {
    font-weight: 500;
    margin-right: 10px;
}

.navbar .nav-link:hover {
    color: var(--navheader);
}

.navbar .navbar-brand {
    color: var(--navheader);
}

.navbar .btn-outline-primary {
    color: var(--navheader);

    border-color: var(--navheader);
}

.navbar .btn-outline-primary:hover {
    background-color: var(--navheader);
    color: #fff;
}

.navbar .btn-primary {

    background-color: var(--navheader);
    border-color: var(--navheader);
}

.navbar .btn-primary:hover {
    color: var(--navheader);

    background-color: #fff;

}

.navbar .form-select {
    min-width: 120px;
}

.navbar-custom {
    min-height: 120px;
}


.hero-section {

    position: relative;
    box-shadow: inset 0 0 200px rgba(0, 0, 0, 0.6);
    /* Adding shadow to the background image */

}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay-shadow);
    /* Dark overlay with 50% opacity */
}

.hero-section .hero-content {
    z-index: 1;
}

@media (min-width: 768px) {
    .w-lg-auto {
        width: auto !important;
        /* For larger screens */
    }
}

.featured-services__title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.featured-services__text {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #7f8c8d;
}

.services__cta-btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.featured-services .card-img-top {
    max-height: 200px;
    object-fit: cover;
}

.featured-services .card:hover {
    transform: translateY(-10px);
}

.featured-services .card {
    transition: transform 0.3s ease;
}

.card-body__heading a,
.featured-services .card-body a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-color);
    text-decoration: none;
}



.numbers-section {
    /* background-color: var(--bg-color); */
    overflow-x: hidden;
}

.numbers-section .numbers-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
}

.numbers-section .numbers-description {
    color: var(--primary-color);
    font-size: 1rem;
    margin-top: 10px;
}

.numbers-section .card {
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.numbers-section .card:hover {
    transform: translateY(-10px);
}

.numbers-section .card-title {
    font-weight: bold;
}

.numbers-section .card-text {
    font-size: 1rem;
    color: #555;
}

.numbers-section .swiper-pagination {
    position: static !important;
    margin-top: 20px;
    text-align: center;
}

.numbers-section .swiper-pagination-bullet {
    background-color: #000;
    width: 10px;
    height: 10px;
    margin: 0 5px;
}

.numbers-section .swiper-pagination-bullet-active {
    background-color: var(--primary-color);
}


.numbers-section span {
    /* font-size: 50px; */
    color: var(--primary-color);

}

.numbers-section .card-title {
    min-height: 50px;
    font-size: 2rem;
    color: var(--primary-color);

}

.numbers-section .card {

    background-color: var(--bg-color);

}

.all-service-section .hover-shadow:hover {
    transform: translateY(-5px);
    transition: 0.3s ease-in-out;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.all-service-section {
    background-color: var(--bg-color);
}


.all-service-section .title {
    color: var(--primary-color);
}

.all-service-section .card-body {
    color: var(--primary-color);
}


.project-posts-section {
    background-color: #ffffff;
}

.project-posts-section .title {
    color: var(--primary-color);
}

.project-post-slide {
    padding: 2rem;
}


.project-post-slide h3 {
    color: var(--primary-color);
}

.project-post-slide .btn-post {
    background-color: var(--primary-color);
    color: #fff;
}

.project-post-slide .btn-post:hover {
    background-color: #465564;
}


.project-posts-section .swiper-pagination2 {
    position: static !important;
    margin-top: 20px;
    text-align: center;
}

.project-posts-section .swiper-pagination-bullet {
    background-color: #000;
    width: 10px;
    height: 10px;
    margin: 0 5px;
}

.project-posts-section .swiper-pagination-bullet-active {
    background-color: var(--primary-color);
}


footer .top_footer {
    background-color: var(--primary-color);
    /* height: 300px; */

}

footer .project-footer__logo {
    width: 120px;
    /* height: 120px; */
}


.inner-header__content {

    background-size: cover;
    background-position: center;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 10px var(--overlay-shadow);
}

.inner-header__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
}

.inner-header__breadcrumb {
    font-size: 1rem;
    font-weight: 500;
}

.inner-header__separator {
    color: #fff;
}

.inner-header__link {
    color: #fff;
    font-weight: 600;
}

.inner-header__breadcrumb .bi {
    margin: 0 5px;
}


/* Project Login Styles */

.project-login .title {
    color: var(--primary-color);
}

.project-login .card {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.project-login .card-body {
    padding: 2rem;
}

.project-login .btn-light {
    background-color: #ffffff;
    color: var(--primary-color);
    border: 2px solid #b5c8d8;
    padding: 10px 20px;
    font-weight: 600;
    border-radius: 30px;
    transition: 0.3s ease;
}

.project-login .btn-light:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

.project-login .form-label {
    font-weight: 500;
    color: #ffffff;
}

.project-login .form-control {
    border-radius: 10px;
    border: 1px solid #ccc;
    padding: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.project-login .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(72, 146, 226, 0.5);
}

.project-login .text-muted {
    font-size: 0.9rem;
    color: #888;
}

/* Divider Styles */
.project-login hr.border-white {
    border-top: 1px solid white;
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    .project-login .col-md-6 {
        margin-bottom: 20px;
    }
}

/* Project Login Styles end */


.btn-custom-primary {
    background-color: #e0e0e0;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    padding: 10px 20px;
    font-weight: 600;
    border-radius: 30px;
    transition: 0.3s ease;
}

.btn-custom-danger {
    background-color: #fff;
    color: #dc3545;
    border: 2px solid #dc3545;
    padding: 10px 20px;
    font-weight: 600;
    border-radius: 30px;
    transition: 0.3s ease;
}

.btn-custom-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #ffffff;
}

.btn-custom-danger:hover {
    background-color: #dc3545;
    border-color: #dc3545;
    color: #ffffff;
}


.btn-custom-secondery {
    background-color: var(--secondary-color);
    color: #fff;
    border: 2px solid #fff;
    padding: 10px 20px;
    font-weight: 600;
    border-radius: 30px;
    transition: 0.3s ease;
}

.btn-custom-secondery:hover {
    background-color: #fff;
    border-color: #fff;
    color: var(--secondary-color);
}

.btn-outline-primary-custom {
    color: var(--navheader);
    border-color: var(--navheader);
}

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

.text-primary-custom {
    color: var(--navheader);

}



/* add offer */

.add-offer .project-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.add-offer .offer-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 25px;
}

.add-offer .card-label {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 5px;
}

.add-offer .card-value {
    font-size: 18px;
    font-weight: 600;
    color: #212529;
}

.add-offer .form-label {
    font-weight: 500;
    margin-bottom: 8px;
}

.add-offer .input-icon {
    position: absolute;
    left: 10px;
    top: 10px;
    color: #6c757d;
}

.add-offer .icon-input {
    padding-left: 35px;
}


.add-offer .project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* end add offer */



/* subscription */

.pricing-table .rounded-lg {
    border-radius: 1rem !important;
}

.pricing-table .text-small {
    font-size: 0.9rem !important;
}

.pricing-table .custom-separator {
    width: 5rem;
    height: 6px;
    border-radius: 1rem;
    transition: 1s;
    background-color: var(--navheader)
}

.pricing-table:hover .custom-separator {
    width: 100%;
}

/* end subscription */


/* register */
.steps-progress-bar {
    /* width: 1000px; */
    margin: 0 auto;
    display: block;
    height: 100px;
    padding: 10px;
}

.steps-progress-bar ul {
    counter-reset: step;
}

.steps-progress-bar ul li {
    list-style-type: none;
    float: right;
    color: #757575;
    width: 50%;
    position: relative;
    text-align: center;
    font-weight: 400;
}

.steps-progress-bar ul li:before {
    content: counter(step);
    counter-increment: step;
    width: 50px;
    height: 50px;
    border: 2px solid #757575;
    padding: 8px;
    border-radius: 50%;
    display: block;
    text-align: center;
    line-height: 30px;
    margin: 0 auto 10px auto;
    z-index: 9;
    background-color: white;
    font-weight: 600;
}

.steps-progress-bar ul li:after {
    content: "";
    width: 100%;
    position: absolute;
    height: 2px;
    background-color: #757575;
    top: 24px;
    right: 50%;
    z-index: -1;
}

.steps-progress-bar ul li:last-child:after {
    content: none;
}

.steps-progress-bar ul li.active {
    color: var(--navheader);
}

.steps-progress-bar ul li.active:before {
    border-color: var(--navheader);
}

.steps-progress-bar ul li.active:after {
    background-color: var(--navheader);
}

.steps-progress-bar ul li.progressing {
    color: var(--navheader) !important;
}

.steps-progress-bar ul li.progressing:after {
    animation: moving 1.5s steps(1, end) 0s infinite;
}

.steps-progress-bar ul li.progressing:before {
    border-color: var(--navheader) !important;
}

/* end register */



/* alert box */
.alert-box {

    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 20px;
    max-width: 400px;
    width: 100%;
}

.alert-box.success {
    background-color: #fff;
    color: #155724;
}

.alert-box .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin-right: 20px;
}

.alert-box .message {
    font-size: 16px;
}

.alert-box.success .icon {
    color: #28a745;
}

.alert-box .icon i {
    font-size: 2rem;
}

.alert-box.failure {
    background-color: #fff;
    color: #721c24;
}

.alert-box.failure .icon {
    color: #dc3545;
}

/* end alert box */
/* tabs in consultation, projects, profile */
.nav-tabs .nav-link.active {
    background-color: var(--navheader) !important;
    color: #fff !important;
}

.project-card,
.offer-card,
.publisher-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}


.offer-header {
    background-color: var(--navheader);
    color: white;
    padding: 15px 20px;
}

.offer-header-danger {
    background-color: #dc3545;
    color: white;
    padding: 15px 20px;
}

.offer-content {
    padding: 25px;
}

.offer-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.stat-item {
    background-color: #F3F4F6;
    padding: 10px 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.stat-value {
    font-weight: 600;
    color: var(--navheader);
}

.offer-details {
    color: #4B5563;
    line-height: 1.6;
}

.offer-date {
    color: #6B7280;
    font-size: 0.875rem;
    margin-top: 15px;
}

.publisher-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.publisher-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.publisher-name {
    font-size: 1.125rem;
    font-weight: 600;
}

.publisher-role {
    color: #6B7280;
    font-size: 0.875rem;
}

.publisher-box img {
    object-fit: cover;
    border: 2px solid #e5e7eb;
}

/* end tabs in consultation, projects, profile */


pre{
    white-space: pre-wrap;
    overflow: visible;
}

.show-on-dropdown-navbar-only{
    display: none;
}
.me-2-only-undropdown{
    margin-right: 0.5rem !important;
    margin-left: 0.5rem !important;
}


@media (max-width: 991px) {
    .show-on-dropdown-navbar-only {
        display: inline !important;
    }
    .w-100-on-dropdown-navbar-only{
        width: 100% !important;
    }
    .me-2-only-undropdown{
        margin-right: 0rem !important;
        margin-left: 0rem !important;
    }
  
}


    /* .the-invoice {
        background-color: #f0f2f5;
            font-family: 'Cairo', sans-serif;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            padding: 1rem;    
    } */
    /* The main container for the invoice  */
    .the-invoice .invoice-container {
        max-width: 850px;
        width: 100%;
        margin: 0 auto;
        padding: 2.5rem;
        background-color: #fff;
        box-shadow: 0 0 25px rgba(0, 0, 0, 0.07);
        position: relative;
        overflow: hidden; /* Ensures the pseudo-elements don't overflow the container's bounds */
        border-radius: 15px;
    }
    
    /* Decorative circles in the background */
    .the-invoice .invoice-container::before, .invoice-container::after {
        content: '';
        position: absolute;
        background-color: #f8f9fa; /* A light grey color */
        border-radius: 50%;
        z-index: 1; /* Places the circles behind the content */
    }

    /* Styling for the top-left circle */
    .the-invoice .invoice-container::before {
        width: 200px;
        height: 200px;
        top: -50px;
        left: -60px;
    }

    /* Styling for the top-right circle */
    .the-invoice .invoice-container::after {
        width: 180px;
        height: 180px;
        top: -40px;
        right: -50px;
    }

    /* Ensures all content is above the decorative circles */
    .the-invoice .invoice-header, .invoice-body, .invoice-footer {
        position: relative;
        z-index: 2;
    }
    
    /* Logo styling */
    .the-invoice .invoice-header .logo {
        /* width: 80px; */
    }
    
    /* Main title styling */
    .the-invoice .invoice-title {
        font-size: 2.5rem;
        font-weight: 700;
    }

    /* "PAID" stamp styling */
    .the-invoice .paid-stamp {
        position: absolute;
        left: 50%;
        top: 35px; /* Adjusted position */
        transform: translateX(-50%) rotate(-15deg);
        border: 5px dashed #28a745; /* Green color */
        padding: 10px 30px;
        color: #28a745;
        font-size: 3rem;
        font-weight: 700;
        z-index: 10; /* Ensures stamp is on top of everything */
        opacity: 0.5;
        line-height: 1;
        text-align: center;
        border-radius: 10px;
    }

    /* Section for company and invoice info */
    .the-invoice .info-section {
        padding: 1.5rem 0;
    }
    
    .the-invoice .info-section h5 {
        font-weight: 700;
    }
    
    .the-invoice .info-section p {
        font-size: 0.95rem;
    }

    /* "Total Due" section styling */
    .the-invoice .total-due {
        text-align: end;
        margin-top: -3rem;
        margin-bottom: 2rem;
    }

    .the-invoice .total-due p {
        margin-bottom: 0;
        font-size: 0.9rem;
    }
    .the-invoice .total-due h3 {
        font-weight: 700;
        color: #000;
    }

    /* Table header styling */
    .the-invoice .table thead {
        background-color: #f8f9fa;
        font-weight: 700;
    }
    
    .the-invoice .table-bordered th, .table-bordered td {
        border: 1px solid #dee2e6;
        vertical-align: middle;
    }
    
    /* QR code image styling */
    .the-invoice .qr-code {
        max-width: 120px;
        height: auto;
    }
    
    /* Footer note styling */
    .the-invoice .footer-note {
        font-size: 0.75rem;
        color: #6c757d;
    }
    
    /* Styling for the final totals table */
    .the-invoice .totals-table td:first-child {
        text-align: right;
    }
    .the-invoice .totals-table td:last-child {
        text-align: left;
        font-weight: 500;
    }
    .the-invoice .totals-table .total {
        font-weight: 700;
        font-size: 1.2rem;
        color: #000;
    }
