body {
    font-family: 'Poppins', sans-serif;
    direction: rtl;
    text-align: right;
    color: #333;
    background-color: #f8f9fa;
}

* {
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: #000;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #007bff;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 4px;
    background-color: #007bff;
    border-radius: 2px;
}

.navbar {
    transition: background-color 0.3s ease-in-out, padding 0.3s ease-in-out;
    padding-top: 15px;
    padding-bottom: 15px;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1030;
}

.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.9);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    padding-top: 10px;
    padding-bottom: 10px;
}

.navbar-brand .logo-img {
    height: 40px;
    width: auto;
    transition: height 0.3s ease-in-out;
}

.navbar.scrolled .navbar-brand .logo-img {
    height: 30px;
}

.navbar-brand .site-name {
    color: #fff;
    font-weight: 700;
    font-size: 1.5rem;
    transition: font-size 0.3s ease-in-out;
    white-space: nowrap;
}

.navbar.scrolled .navbar-brand .site-name {
    font-size: 1.2rem;
}

.navbar-nav .nav-link {
    color: #fff;
    font-weight: 600;
    margin: 0 15px;
    transition: color 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover {
    color: #007bff;
}

.navbar-toggler {
    border: none;
    color: #fff;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.offcanvas-header {
    background-color: #000;
    color: #fff;
}

.offcanvas-body {
    background-color: #000;
}

.offcanvas .nav-link {
    color: #fff;
    padding: 10px 15px;
    display: block;
    text-align: right;
}

.offcanvas .nav-link:hover {
    background-color: #007bff;
    color: #fff;
}

.hero-section {
    min-height: 80vh;
    background-image: url('photos/media/ai-cityscape-background.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    padding-top: 100px;
    padding-bottom: 100px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
}

.hero-section p {
    font-size: 1.5rem;
    color: #eee;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    color: #fff;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-secondary:hover {
    background-color: #5a6268;
    border-color: #5a6268;
}

.about-section .values-checklist {
    background-color: #fff;
    border: 1px solid #eee;
}

.about-section .values-checklist i {
    color: #007bff;
    font-size: 1.2rem;
}

.about-section .tagline-box {
    background-color: #e9f7ff;
    border-left: 5px solid #007bff;
    padding: 20px;
}

.services-section .card {
    border: none;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
}

.services-section .card-title {
    color: #007bff;
    font-weight: 600;
}

.features-section .feature-card {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.features-section .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.features-section .feature-icon-wrapper {
    width: 80px;
    height: 80px;
    border: 2px solid #ffc107;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.features-section .feature-icon {
    color: #ffc107;
    font-size: 2.5rem;
}

.team-section .team-member {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-section .team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.team-section .team-member-highlighted {
    background-color: #e9f7ff;
    border: 2px solid #007bff;
    box-shadow: 0 15px 30px rgba(0, 123, 255, 0.2) !important;
}

.team-section .avatar-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 3px solid #007bff;
}

.team-section .team-member-highlighted .avatar-img {
    border-color: #0056b3;
}

.stats-section {
    background-image: url('photos/media/stats-abstract-bg_2.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    padding-top: 80px;
    padding-bottom: 80px;
}

.stats-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.stats-section .stat-item {
    background-color: rgba(0, 123, 255, 0.8);
    border-radius: 10px;
    color: #fff;
    height: 100%;
}

.how-it-works-section .process-step {
    position: relative;
    z-index: 1;
}

.how-it-works-section .icon-circle {
    width: 100px;
    height: 100px;
    background-color: #007bff;
    border-radius: 50%;
    color: #fff;
    font-size: 3rem;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.how-it-works-section .dotted-line {
    position: absolute;
    top: 100px;
    right: 25%;
    left: 25%;
    height: 2px;
    border-top: 2px dotted #ccc;
    z-index: 0;
}

.faq-section .accordion-button {
    background-color: #f8f9fa;
    color: #333;
    font-weight: 600;
    text-align: right;
}

.faq-section .accordion-button:not(.collapsed) {
    color: #007bff;
    background-color: #e9f7ff;
    box-shadow: none;
}

.faq-section .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.faq-section .accordion-icon {
    transition: transform 0.2s ease;
}

.faq-section .accordion-button:not(.collapsed) .accordion-icon {
    transform: rotate(45deg);
}

.faq-section .accordion-body {
    text-align: right;
}

.contact-form form {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
}

.contact-form .form-label {
    font-weight: 600;
}

.footer {
    background-color: #1a1a1a !important;
    color: #f8f9fa;
    text-align: right;
}

.footer .logo-img {
    height: 35px;
}

.footer .site-name {
    color: #fff;
    font-weight: 700;
    font-size: 1.3rem;
}

.footer a {
    color: #adb5bd;
    text-decoration: none;
}

.footer a:hover {
    color: #007bff;
}

.footer .email-break-all {
    word-break: break-all;
}

.footer .footer-links a {
    white-space: nowrap;
}

/* Cookie Consent Modal */
.modal-content {
    border-radius: 10px;
    overflow: hidden;
}

.modal-header {
    background-color: #007bff;
    color: #fff;
    border-bottom: none;
}

.modal-title {
    font-weight: 600;
}

.modal-footer {
    border-top: none;
}

.modal-body img {
    max-height: 400px;
    object-fit: cover;
}

/* Service Modals */
.modal-body ul {
    padding-right: 20px;
}

.modal-body ul li {
    margin-bottom: 8px;
}

.modal-body h6 {
    color: #007bff;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Responsive Typography */
@media (min-width: 1024px) {
    .hero-section h1 {
        font-size: 3.8rem;
    }
    .hero-section p {
        font-size: 1.6rem;
    }
    .section-title {
        font-size: 2.5rem;
    }
    .navbar-brand .site-name {
        font-size: 1.6rem;
    }
    .navbar.scrolled .navbar-brand .site-name {
        font-size: 1.3rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hero-section h1 {
        font-size: 3rem;
    }
    .hero-section p {
        font-size: 1.3rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .navbar-brand .site-name {
        font-size: 1.4rem;
    }
    .navbar.scrolled .navbar-brand .site-name {
        font-size: 1.1rem;
    }
    .how-it-works-section .dotted-line {
        right: 15%;
        left: 15%;
    }
}

@media (max-width: 1100px) {
    .navbar-nav {
        flex-direction: column;
        align-items: flex-end;
    }
    .navbar-nav .nav-link {
        margin: 5px 0;
    }
}

@media (max-width: 767px) {
    .hero-section {
        min-height: 70vh;
        padding-top: 80px;
        padding-bottom: 80px;
    }
    .hero-section h1 {
        font-size: 2rem;
    }
    .hero-section p {
        font-size: 1rem;
    }
    .btn-primary {
        padding: 10px 20px;
        font-size: 1rem;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .navbar-brand .site-name {
        font-size: 0.8rem;
    }
    .navbar.scrolled .navbar-brand .site-name {
        font-size: 0.8rem !important;
    }
    .navbar-brand .logo-img {
        height: 20px;
        width: 20px;
        object-fit: contain;
    }
    .navbar.scrolled .navbar-brand .logo-img {
        height: 25px;
    }
    .about-section .row, .services-section .row, .features-section .row, .team-section .row, .stats-section .row, .how-it-works-section .row {
        text-align: center;
    }
    .about-section .tagline-box {
        margin-top: 20px;
    }
    .team-section .team-member-highlighted {
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .how-it-works-section .dotted-line {
        display: none !important;
    }
    .footer .text-lg-end {
        text-align: center !important;
    }
    .footer .navbar-brand {
        justify-content: center !important;
    }
    .footer .footer-links a {
        display: block;
        margin-bottom: 5px;
    }
}
/*
 * Legal Fold Box Styles
 * These styles are specifically for content within the .legalFoldBox container.
 * They provide sensible defaults for typography and spacing without being overly large.
 */

.legalFoldBox {
    padding-top: 24px; /* Top padding for the content box */
    padding-left: 20px; /* Left padding for the content box */
    padding-right: 20px; /* Right padding for the content box */
    /* Consider adding padding-bottom if needed, e.g., padding-bottom: 24px; */
}

/* Heading styles */
.legalFoldBox h1 {
    font-size: 1.75rem; /* Moderate font size for H1 */
    line-height: 1.2; /* Improved readability */
    margin-top: 1.5rem; /* Spacing above heading */
    margin-bottom: 0.75rem; /* Spacing below heading */
    font-weight: 700; /* Bold font weight */
}

.legalFoldBox h2 {
    font-size: 1.5rem; /* Moderate font size for H2 */
    line-height: 1.3;
    margin-top: 1.25rem;
    margin-bottom: 0.6rem;
    font-weight: 700;
}

.legalFoldBox h3 {
    font-size: 1.25rem; /* Moderate font size for H3 */
    line-height: 1.4;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.legalFoldBox h4 {
    font-size: 1.125rem; /* Moderate font size for H4 */
    line-height: 1.5;
    margin-top: 0.8rem;
    margin-bottom: 0.4rem;
    font-weight: 600; /* Slightly less bold than h1-h3 */
}

.legalFoldBox h5 {
    font-size: 1rem; /* Moderate font size for H5 (similar to base text) */
    line-height: 1.5;
    margin-top: 0.7rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

/* Paragraph styles */
.legalFoldBox p {
    font-size: 1rem; /* Base font size for paragraphs */
    line-height: 1.6; /* Good for readability */
    margin-bottom: 1rem; /* Spacing between paragraphs */
}

/* Unordered list styles */
.legalFoldBox ul {
    list-style-type: disc; /* Default bullet style */
    padding-left: 1.5rem; /* Indentation for bullet points */
    margin-top: 0.5rem; /* Spacing before the list */
    margin-bottom: 1rem; /* Spacing after the list */
}

/* List item styles */
.legalFoldBox li {
    font-size: 1rem; /* Inherit or explicitly set for consistency */
    line-height: 1.6; /* Match paragraph line height */
    margin-bottom: 0.5rem; /* Spacing between list items */
}

/* Utility to remove extra bottom margin for the last element in the box */
.legalFoldBox p:last-child,
.legalFoldBox ul:last-child,
.legalFoldBox ol:last-child, /* Added for completeness if ordered lists are used */
.legalFoldBox li:last-child {
    margin-bottom: 0;
}

/* Utility to remove extra top margin for the first heading in the box */
.legalFoldBox h1:first-child,
.legalFoldBox h2:first-child,
.legalFoldBox h3:first-child,
.legalFoldBox h4:first-child,
.legalFoldBox h5:first-child {
    margin-top: 0;
}


.wr{
    display: flex;
    flex-direction: column;
    min-height: 100vh;

    main{
        flex: 1;
    }
}

.navbar-toggler{
    padding: 4px;
}

.navbar-brand{
    margin: 0 !important;
}

.offcanvas-header .btn-close{
        filter: invert(1);
        margin-left: 0 !important;
        margin-right: auto;
}
.offcanvas-title{
    filter: invert(1);
}

section{
    overflow-x: hidden;
}

body{
    padding-right: 0 !important;
}

@media (max-width: 575px){
    .footer-links a{
        margin-right: 0 !important;
    }
}

footer .list-unstyled{
    padding-right: 0 !important;
}