.ulinks p:hover {
    color: rgb(83, 81, 81);
    font-weight: bold;
}
.s i:hover {
    font-size: larger;
    transform: translateY(-5px); /* Moves the icon 5px upwards */
    transition: transform 0.2s ease; /* Smooth transition effect */
}
.fo i {
    color: black;
}
.fos {
    color: black;
}

.navbar {
    background: rgb(230, 230, 230) !important;
    top: 0;
    left: 0;
    width: 100%;
    position: fixed;
    z-index: 1030;
    margin-top: -20px;
}

.mm {
    margin-right: 1px;
}

.na {
    margin-right: 5px;
    font-size: 20px;
    text-align: center;
    justify-items: center;
}
.nav-link {
    color: black !important;
}

.adjusted-scrolling {
    padding-top: 150px !important;
    margin-top: -100px !important;
}

.navbar-brand {
    width: 120px !important;
    height: 90px !important;
    margin-left: 125px !important;
}
/* Reset default browser styles */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Basic body styling */
body {
    font-family: "Lora";
    font-optical-sizing: auto;
    font-size: medium;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Link styles */
a {
    color: #3490dc;
    text-decoration: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Helvetica Neue", sans-serif;
    font-weight: bold;
    color: #222;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* paragraphs of sections */
.ppp {
    text-align: justify;
    line-height: 1.6;
    margin: 10px 0;
}

/* Container for general layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Flexbox utility classes */
.flex {
    display: flex;
}

.flex-row {
    flex-direction: row;
}

.flex-column {
    flex-direction: column;
}

.align-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

/* Grid System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col {
    padding: 0 15px;
    flex: 1;
    box-sizing: border-box;
}

/* Basic buttons */
button,
input[type="submit"],
a.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background-color: #3490dc;
    color: #202020;
    text-decoration: none;
}

button:hover,
input[type="submit"]:hover,
a.btn:hover {
    background-color: #1d72b8;
}

/* Form input styles */
input,
textarea,
select {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

/* Utility classes */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.mt-1 {
    margin-top: 1rem;
}

.mb-1 {
    margin-bottom: 1rem;
}

.pt-1 {
    padding-top: 1rem;
}

.pb-1 {
    padding-bottom: 1rem;
}

.hidden {
    display: none;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    padding: 58px 0 0; /* Height of navbar */
    box-shadow: 0 2px 5px 0 rgb(0 0 0 / 5%), 0 2px 10px 0 rgb(0 0 0 / 5%);
    width: 240px;
    z-index: 600;
}

@media (max-width: 991.98px) {
    .sidebar {
        width: 100%;
    }
    .navbar-nav {
        justify-content: center !important;
        align-items: center !important;
    }
}
@media (max-width: 991.98px) {
    .main {
        padding-left: 240px;
    }
    .navbar-nav {
        justify-content: center !important;
        align-items: center !important;
    }
    .container {
        padding: 0 10px;
    }

    .row {
        flex-direction: column;
    }

    .col {
        padding: 0 10px;
    }
}
.sidebar .active {
    border-radius: 5px;
    box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
}

.sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 48px);
    padding-top: 0.5rem;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

.nav-link.active {
    pointer-events: none !important;
    font-weight: bold !important;
    background: #e67e22;
    color: white !important;
    border-radius: 45px;
}
.nav-link:hover {
    color: white !important;
    background: #e67e22;
    border-radius: 45px !important;
}
span {
    color: rgb(36, 36, 36);
}
.dropdown-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid #e67e22;
    border-radius: 5px;
    background-color: white;
}

.dropdown-menu .nav-item {
    padding: 10px;
}

.dropdown-menu .nav-link {
    text-decoration: none;
}

.dropdown-menu .nav-link:hover {
    background-color: #dcdcdc;
    text-decoration: none;
    width: 100%;
}

.btn {
    border-radius: 45px;
    margin-left: 30px;
    color: white;
    background-color: #e67e22;
    box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
}
.btn:hover {
    background: #d09f74;
}
/* Contact */
/* Default styles */
.contact-container {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
    justify-content: center;
}

.left-div {
    width: 25%; /* Adjusted for better scaling */
    margin-left: 20px;
    margin-top: 30px;
}

.right-div {
    width: 70%; /* Reduced width to fit smaller screens */
    margin-left: 10px;
}

.action-btn {
    width: 100%; /* Automatically adjust width */
    max-width: 300px;
    margin: 20px auto; /* Centered for responsiveness */
    border: solid 2px #e67e22;
    background-color: white;
    color: #e67e22;
    border-radius: 30px;
    font-size: 20px; /* Scaled down for smaller screens */
    padding: 15px;
    height: auto; /* Allow flexible height */
}

.action-btn p {
    margin: 8px 0;
    color: black;
    font-size: 16px;
}

.contact-form {
    margin: 0 auto; /* Center the form */
    width: 50%; /* Adjust width for better responsiveness */
}

.form-field {
    margin-top: 15px;
}
.pagination-links {
    text-align: center; /* Centers the pagination container */
}

.pagination-links .pagination {
    display: inline-flex; /* Makes the pagination links inline for better centering */
    list-style: none; /* Removes default bullet points */
    padding: 0;
}

.pagination-links .pagination li a,
.pagination-links .pagination li span {
    color: #e67e22; /* Sets the text color to green */
    text-decoration: none; /* Removes underline from links */
    padding: 0.5rem 1rem; /* Adds padding for better spacing */
    border: 1px solid#e67e22; /* Optional: Adds a border around the links */
    border-radius: 5px; /* Optional: Rounds the edges */
    margin: 0 0.25rem; /* Adds spacing between pagination links */
}
.pagination-links .pagination li a:hover {
    background-color: #e67e22; /* Changes background on hover */
    color: white; /* Sets text color to white on hover */
}
.pagination-links .pagination li.active span {
    background-color: #e67e22 !important; /* Sets the active background to red */
    color: white !important; /* Ensures the text is white for visibility */
    border-color: #e67e22 !important; /* Matches the border color to the background */
}

label {
    font-size: 18px; /* Adjusted for smaller screens */
    color: #333;
}

input,
textarea {
    width: 100%;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

textarea {
    height: 150px;
    resize: vertical;
}
.contact-fieldset {
    border: 1px solid #e67e22 !important;
}
.bbt {
    display: block; /* Ensure block level for centering */
    width: 30%; /* Full width on smaller devices */
    max-width: 300px; /* Limit the button size */
    padding: 12px;
    background-color: #e67e22;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    margin: 20px auto; /* Center the button */
    text-align: center;
}

button:hover {
    background-color: #d09f74;
}

/* Media Queries */

/* For screens 768px and smaller (tablets and mobile) */
@media (max-width: 900px) {
    .left-div,
    .right-div {
        width: 100%;
        margin: 0;
    }

    .contact-form {
        width: 100%; /* Reduce width for smaller screens */
        padding: 15px;
    }

    .action-btn {
        width: 80%;
        font-size: 16px; /* Smaller font size */
        height: auto;
    }

    label {
        font-size: 16px;
    }

    .bbt {
        width: 80%;
        margin: 20px auto;
    }
}

/* For screens 480px and smaller (mobile) */
@media (max-width: 480px) {
    .action-btn {
        width: 90%; /* Full width for smaller screens */
        font-size: 14px; /* Smaller text size */
        height: auto; /* Flexible height */
    }

    .contact-form {
        width: 100%; /* Full width on small devices */
        padding: 10px;
    }

    label {
        font-size: 14px;
    }

    .bbt {
        width: 90%;
        font-size: 14px; /* Adjust font size */
        margin: 10px auto;
    }
}

/*Section Projects*/

#modaldiscriptionpro {
    word-wrap: break-word;
    white-space: normal;
    overflow-wrap: break-word;
    margin: 0 auto;
    text-align: justify;
}
#projects .cards .project-card {
    width: 23%;
    text-align: center;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

#projects .cards .project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

#projects .cards .project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

#projects .cards .project-card:hover img {
    transform: scale(1.1);
}

#projects .cards .project-card h5 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin: 15px 0;
    transition: color 0.3s ease;
}

#projects .cards .project-card:hover h5 {
    color: white;
}

#projects .cards .project-card p {
    font-size: 1rem;
    color: #ffffff;
    margin: 0 15px 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

#projects .cards .project-card:hover p {
    opacity: 1;
    transform: translateY(0);
}

#projects .cards .project-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #e67e22;
    transform: scale(0);
    transition: transform 0.4s ease;
    z-index: 0;
}

#projects .cards .project-card:hover::before {
    transform: scale(1);
}

#projects .cards .project-card-body {
    position: relative;
    z-index: 1;
}

@media (min-width: 1200px) {
    /* Extra large screens */
    #projects .cards .project-card {
        width: 20%;
    }
}

@media (max-width: 1024px) {
    /* Laptops */
    #projects .cards .project-card {
        width: 30%;
        transform: translateY(-10px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
        background-color: #e67e22;
    }

    #projects .cards .project-card img {
        transform: scale(1.1);
    }

    #projects .cards .project-card h5 {
        color: white;
    }

    #projects .cards .project-card p {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    /* Tablets */
    #projects .cards .project-card {
        width: 48%;
    }
}

@media (max-width: 576px) {
    /* Mobile devices */
    #projects .cards .project-card {
        width: 100%;
    }
}

/* OUR TEAM */
#our-team .cards .card {
    width: 50%;
    text-align: center;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease,
        background-color 0.3s ease;
    position: relative;
}

#our-team .cards .card:hover {
    transform: translateY(-12px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    background-color: #ffefeb;
    cursor: pointer;
}

#our-team .cards .card img {
    width: 100%;
    height: 230px;
    object-fit: contain;
    border-bottom: 5px solid #e67e22;
    transition: transform 0.4s ease;
}

#our-team .cards .card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin: 10px 0;
    position: relative;
    z-index: 2;
    opacity: 1;
}

#our-team .cards .card:hover h3 {
    opacity: 0;
}

#our-team .cards .card h3::after {
    content: "";
    display: block;
    width: 40px;
    height: 4px;
    background: #e67e22;
    margin: 5px auto;
}

#our-team .cards .card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: rgba(255, 255, 255, 0.81);
    z-index: 1;
    transition: height 0.3s ease;
}

#our-team .cards .card:hover::before {
    height: 100%;
}

#our-team .cards .card .qr-code {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background-color: #fff;
    border: 1px solid #e67e22;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 3;
    opacity: 0;
    transition: all 0.6s ease;
}

@media (min-width: 1200px) {
    /* Extra large screens */
    #our-team .cards .card {
        width: 20%;
    }
    #our-team .cards .card:hover .qr-code {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@media (max-width: 1024px) {
    /* Laptops */
    #our-team .cards .card {
        width: 30%;
    }
    #our-team .cards .card .qr-code {
        position: static;
        transform: none;
        opacity: 1;
        margin: 10px auto;
        width: 80px;
        height: 80px;
        border: 1px solid #e67e22;
    }
}

@media (max-width: 768px) {
    /* Tablets */
    #our-team .cards .card {
        width: 48%;
    }
    #our-team .cards .card .qr-code {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 576px) {
    /* Mobile devices */
    #our-team .cards .card {
        width: 100%;
    }
    #our-team .cards .card .qr-code {
        width: 100px;
        height: 100px;
    }
}
/* Our Team End */

/* cliets*/
#clients .swiper swiper-container {
    width: 100%;
    height: 100%;
}

#clients swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

#clients swiper-slide img {
    display: block;
    width: 220px;
    height: 220px;
    object-fit: cover;
    margin-bottom: 11px;
}

#clients swiper-container {
    width: 100%;
    height: 300px;
    margin: 20px auto;
}

/* ws btn*/

.sendm:hover {
    background-color: #d09f74 !important;
    width: 130px;
    overflow: hidden;
    transform: rotate(360deg);
}

.sendm:hover .fa {
    transform: rotate(360deg);
}

.sendm:active {
    background: #e67e22 !important;
}
.sendm {
    background: #e67e22 !important;
    color: white !important;
    font-size: 14px;
    position: fixed;
    bottom: 20%;
    right: 6px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2) !important;
    cursor: pointer;
    transition: width 0.5s, background-color 0.5s;
    overflow: hidden;
    white-space: nowrap;
    width: 59px;
    margin-right: -14px;
}

.sendm .fa {
    margin-right: 5px;
    font-size: 30px;
    transition: transform 0.5s;
}

/* aup btn*/

.arrowup:hover {
    background-color: #e7c2a1 !important;
    overflow: hidden;
    color: #252525;
}
.arrowup:active {
    background: #e67e22 !important;
}
.arrowup {
    border: solid 1px #e67e22 !important;
    background-color: white !important;
    position: fixed;
    bottom: 5%;
    right: 3%;
    border-radius: 35px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2) !important;
    cursor: pointer;
    transition: background-color 0.3s;
    overflow: hidden;
    white-space: nowrap;
    margin-right: -14px;
}
.arrowup span {
    border: #e67e22;
    color: #e67e22;
    font-size: 25px;
}

/* RTL Specific Styles */
[dir="rtl"] {
    /* Text alignment */
    text-align: right;

    /* Right to left text flow */
    direction: rtl;

    /* Adjust margins/paddings if necessary */
    /* Example: */
    .navbar,
    .footer {
        text-align: right;
    }
}

/* LTR Specific Styles */
[dir="ltr"] {
    /* LTR Text Alignment */
    text-align: left;

    /* Left to right text flow */
    direction: ltr;
}

/* Youssef Edit @ at Date 12/7/2024 */
/* map */
.footer-map {
    margin-top: 20px;
    border: 2px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
}

/* End */
