body {
    background-color: #f4eab5;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

html[dir="rtl"] .navbar-nav {
    padding-right: 0;
    padding-left: 1rem;
}

html[dir="ltr"] .navbar-nav {
    padding-left: 0;
    padding-right: 1rem;
}

html[dir="rtl"] .container {
    padding-right: 0;
    padding-left: 1rem;
}

html[dir="ltr"] .container {
    padding-left: 0;
    padding-right: 1rem;
}

.bg-light, .navbar.navbar-bg-light {
    background-color: #f4eab5 !important;
}

.text-arex {
    color: #f4eab5;
}

/* General Arabic Styling */
:lang(ar) {
    font-family: "Baloo Bhaijaan 2", serif;
    font-optical-sizing: auto;
    font-weight: 400; /* Adjust to default weight for body text */
    font-style: normal;
    direction: rtl;
}

/* Specific Element Overrides for Arabic */
:lang(ar) h1,
:lang(ar) h2,
:lang(ar) h3,
:lang(ar) h4,
:lang(ar) h5,
:lang(ar) h6 {
    font-weight: 600; /* Adjust weight for headings */
}

:lang(ar) p,
:lang(ar) span,
:lang(ar) div {
    font-weight: 400; /* Adjust weight for regular text */
    text-align: right;
}

:lang(ar) ul>li>a{
    font-weight: 600; /* Adjust weight for headings */
    text-align: right;
}

:lang(en) {
    font-family: "Roboto Condensed", serif;
    font-optical-sizing: auto;
    font-weight: 400; /* Adjust to default weight for body text */
    font-style: normal;
    direction: ltr;
}

:lang(en) h1,
:lang(en) h2,
:lang(en) h3,
:lang(en) h4,
:lang(en) h5,
:lang(en) h6 {
    font-weight: 600; /* Adjust weight for headings */
}

:lang(en) p,
:lang(en) span,
:lang(en) div {
    font-weight: 400; /* Adjust weight for regulen text */
    text-align: left;
}

:lang(en) ul>li>a{
    font-weight: 600; /* Adjust weight for headings */
    text-align: left;
}

.bg-orange-arex {
    background-color: #fb8e0d;
    color: #fff; /* For better text contrast */
    padding: 20px;
}

.bg-gradient-orange-arex {
    background: linear-gradient(135deg, #fb8e0d, #ffad33);
    color: #fff;
    padding: 20px;
}

/* Text Color Class */
.text-orange-arex {
    color: #fb8e0d;
    font-weight: bold; /* Optional: makes the text stand out */
}

/* Gradient Text (Optional Enhancement) */
.text-gradient-orange-arex {
    background: linear-gradient(135deg, #fb8e0d, #ffad33);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold; /* Optional: makes the text stand out */
}

/* Background Color Class */
.bg-blue-arex {
    background-color: #02aeee;
    color: #ffffff; /* Ensures text is visible on the blue background */
}

/* Gradient Background (Optional Enhancement) */
.bg-gradient-blue-arex {
    background: linear-gradient(135deg, #02aeee, #33ccff);
    color: #ffffff; /* Ensures text is visible on the gradient */
}

/* Hover Effect (Optional) */
.bg-blue-arex-hover:hover {
    background-color: #33ccff;
    color: #ffffff; /* Text stays visible on hover */
    transition: background-color 0.3s ease;
}

/* Hover Effect (Optional) */
.text-orange-arex-hover:hover {
    color: #ffad33;
    text-decoration: underline; /* Optional: adds underline on hover */
}

/* Text Color Class */
.text-blue-arex {
    color: #02aeee;
    font-weight: bold; /* Optional: makes the text stand out */
}

/* Gradient Text (Optional Enhancement) */
.text-gradient-blue-arex {
    background: linear-gradient(135deg, #02aeee, #33ccff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold; /* Optional: makes the text stand out */
}

/* Hover Effect (Optional) */
.text-blue-arex-hover:hover {
    color: #33ccff;
    text-decoration: underline; /* Optional: adds underline on hover */
}

/* Base Button Styling */
.btn-orange,
.btn-blue {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.375rem;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
    cursor: pointer;
}

/* Orange Button */
.btn-orange {
    background-color: #fb8e0d;
    color: #fff;
    border-color: #fb8e0d;
}

.btn-orange:hover,
.btn-orange:focus {
    background-color: #e67e0c; /* Slightly darker orange */
    border-color: #e67e0c;
    color: #fff;
    text-decoration: none;
}

.btn-orange:disabled {
    background-color: #fbc38a; /* Lighter disabled orange */
    border-color: #fbc38a;
    color: #fff;
    cursor: not-allowed;
}

/* Blue Button */
.btn-blue {
    background-color: #02aeee;
    color: #fff;
    border-color: #02aeee;
}

.btn-blue:hover,
.btn-blue:focus {
    background-color: #019dd3; /* Slightly darker blue */
    border-color: #019dd3;
    color: #fff;
    text-decoration: none;
}

.btn-blue:disabled {
    background-color: #8bdcf8; /* Lighter disabled blue */
    border-color: #8bdcf8;
    color: #fff;
    cursor: not-allowed;
}

/* About us sections */

/* Base Styling */
.about-section {
    position: relative;
    overflow: hidden;
    background-color: #f8f9fa;
}

.about-content h2 {
    color: #fb8e0d;
    font-weight: bold;
}

.about-content h3 {
    color: #02aeee;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-in-out;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    animation: fadeInUp 1.5s ease-in-out;
}

/* Images */
.about-image-wrapper {
    text-align: center;
    position: relative;
    animation: float 5s infinite ease-in-out;
}

.about-image {
    border-radius: 15px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Background Shapes */
.background-shapes .shape {
    position: absolute;
    z-index: -1;
    opacity: 0.2;
    animation: float 6s infinite ease-in-out;
}

.background-shapes .shape-circle.orange {
    width: 150px;
    height: 150px;
    background: #fb8e0d;
    top: 10%;
    left: 15%;
    border-radius: 50%;
}

.background-shapes .shape-circle.blue {
    width: 120px;
    height: 120px;
    background: #02aeee;
    top: 60%;
    left: 70%;
    border-radius: 50%;
}

.background-shapes .shape-wave.orange {
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, #fb8e0d, #e67e0c);
    clip-path: polygon(0 0, 100% 0, 100% 50%, 0 100%);
    bottom: 20%;
    left: 10%;
}

.background-shapes .shape-wave.blue {
    width: 350px;
    height: 350px;
    background: linear-gradient(45deg, #02aeee, #019dd3);
    clip-path: polygon(0 0, 100% 0, 100% 50%, 0 100%);
    top: 20%;
    right: 5%;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Why Us Section */

.why-us-section {
    position: relative;
    background: linear-gradient(135deg, #fb8e0d, #02aeee);
    color: white;
    padding: 60px 20px;
    overflow: hidden;
}

.why-us-section .container {
    position: relative;
    z-index: 10;
}

.why-us-section h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.why-us-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.why-us-section .background-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.why-us-section .background-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.2;
}

.why-us-section .background-shapes .shape-1 {
    width: 300px;
    height: 300px;
    background: #fff;
    top: -50px;
    left: -50px;
}

.why-us-section .background-shapes .shape-2 {
    width: 200px;
    height: 200px;
    background: #333;
    bottom: -50px;
    right: -50px;
}

.why-us-section .background-shapes .shape-3 {
    width: 150px;
    height: 150px;
    background: #fff;
    top: 20%;
    left: 60%;
}

.modal-backdrop {
    --bs-backdrop-zindex: 1050;
    --bs-backdrop-bg: rgba(30, 34, 40, 0.9);
    --bs-backdrop-opacity: 1;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 0 !important;
    width: 100vw;
    height: 100vh;
    background-color: var(--bs-backdrop-bg);
}

.logo-shadow-enhanced {
    position: relative;
    display: inline-block;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8)) /* White glow */
            drop-shadow(2px 2px 6px rgba(0, 0, 0, 0.5)); /* Darker shadow */
}

.logo-box {
    display: inline-block;
    padding: 10px;
    background: #f4eab5; /* Semi-transparent background */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 174, 239, 255); /* Soft shadow around the box */
}

.shape {
    position: absolute;
    opacity: 0.15;
    border-radius: 50%;
}

.shape-circle {
    border-radius: 50%;
}

.shape-wave {
    background: repeating-linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.2),
        rgba(255, 255, 255, 0.2) 10px,
        transparent 10px,
        transparent 20px
    );
}

/* Values Section Styles */
.values-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
  }

  .value-card {
    width: 250px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
  }

  .value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  }

  .icon-circle {
    width: 70px;
    height: 70px;
    background: #33ccff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .icon-circle i {
    font-size: 50px;
    color: #fff;
  }

  .value-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    text-align: center;
  }

  .value-card p {
    font-size: 16px;
  }

  /* Responsive Design */
  @media (max-width: 768px) {
    .value-card {
      width: 90%;
    }
  }

  .client-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    height: 300px;
    border-radius: 8px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.client-card img.client-logo {
    max-height: 120px;
    width: 100%;
    object-fit: contain;
    margin-bottom: 15px;
}

.client-card h4 {
    margin-top: auto;
    font-size: 18px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .client-card {
        height: 250px;
    }

    img.client-logo {
        max-height: 90px;
    }
}

.text-shadow {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 1);
  }

  .text-shadow-light {
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.6);
  }

  .text-shadow-none {
    text-shadow: none;
  }

.card-arex-bg {
    background-color: #f4eab5;
}

.card-arex-bg-1 {
    background-color: #ebda88;
}

.card-arex-blue {
    background-color: #33ccff;
}

.progress-wrap svg.progress-circle path {
    stroke: #02aeee;
}

#whatsapp-button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #25d366;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    z-index: 9999;
}

#whatsapp-button img {
    width: 20px;
    vertical-align: middle;
    margin-right: 5px;
}

/* Limit the particles to the specific section */
#particles-section {
    position: relative;
    height: 80vh;
    overflow: hidden;
    background-color: #f4eab5;
}

/* Restrict the canvas size */
#particles-section canvas {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

/* Center the text content */
.content {
    z-index: 1;
    color: #333;
}

.section-end {
    height: 2px;
    background-image: linear-gradient(to right, #fb8e0d, #02aeee);
    border: none;
}

.card-gradient-blue-arex {
    background: linear-gradient(135deg, #02aeee, #33ccff);
}

.card-gradient-orange-arex {
    background: linear-gradient(135deg, #fb8e0d, #ffad33);
}