/* multi-services.css */

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
    direction: rtl;
    /* Right-to-left layout */
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #17a2b8;
    color: white;
    padding: 10px 20px;
    flex-direction: row-reverse;
    /* Reverse the order of elements */
}

/* Header Styles */

.menu-icon {
    display: none;
    background: none;
    border: none;
    font-size: 2.0em;
    color: white;
    cursor: pointer;
}

header .logo {
    display: flex;
    align-items: center;
}

header .logo img {
    max-height: 50px;
    margin-right: 10px;
}

header .logo span {
    font-size: 1.2em;
    font-weight: bold;
}

nav {
    position: relative;
}


.nav-links {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 15px;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    transition: background-color 0.3s ease;
    font-size: 18px;
}

.nav-links li a:hover {
    background-color: #0d3c73;
    border-radius: 5px;
}

/* Sidebar styles */
.sidebar {
    position: fixed;
    top: 0;
    right: -250px;
    /* Initially hidden off-screen to the right */
    width: 250px;
    height: 100%;
    background-color: #17a2b8;
    z-index: 1000;
    transition: right 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    padding-top: 20px;
}

/* When the "show" class is added, the sidebar becomes visible */
#sidebar.show {
    right: 0;
    /* Slide the sidebar into view */
}



.sidebar .close-icon {
    align-self: flex-end;
    margin-right: 200px;
    font-size: 2em;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    transition: color 0.3s ease;
}

.sidebar .close-icon:hover {
    color: #0d3c73;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    width: 100%;
}

.sidebar ul li {
    margin: 0;
    padding: 10px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.sidebar ul li a {
    color: white;
    font-size: 1.2em;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 10px 0;
    display: block;
    text-align: right;
}

.sidebar ul li a:hover {
    background-color: #0d3c73;
    color: white;
    border-radius: 2px;
}


/* Initial state of the sidebar: hidden */
#sidebar {
    display: none;
    /* Other styling properties */
}

/* When the "show" class is added, the sidebar becomes visible */
#sidebar.show {
    display: block;
    /* Adjust as necessary for your layout, e.g., display: flex; */
}


.our_work_section {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.our_work_title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #17a2b8;
    padding-top: 20px;
    /* Add space from the top */
    padding-bottom: 20px;
    /* Add space from the bottom */
}

.our_work_gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.our_work_item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    width: 300px;
}

.our_work_item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.our_work_image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.our_work_description {
    padding: 15px;
    font-size: 1.1em;
    color: #666;
    background-color: #fff;
    text-align: center;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    display: inline;
    margin: 0 10px;
}

footer ul li a {
    color: white;
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s ease;
}

footer ul li a:hover {
    color: #0d3c73;
}

/* main-image1*/
.banner-image {
    width: 100%;
    height: auto;
    max-width: 700px;
    max-height: 500px;
}

.social-icons {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 20px;
    /* Add space between icons */
}

.social-icons a {
    color: white;
    text-decoration: none;
    font-size: 1.5em;
}

.social-icons a:hover {
    color: #ddd;
}

.social-icons a[title="Facebook"]:hover {
    color: #3b5998;
    /* Facebook blue */
}

.social-icons a[title="Instagram"]:hover {
    color: #E1306C;
    /* Instagram color */
}

/* Responsive Design */
@media (max-width: 950px) {
    .our_work_gallery {
        flex-direction: column;
        align-items: center;
    }

    .our_work_item {
        width: 90%;
    }

    .nav-links {
        display: none;
        /* Hide nav links on mobile */
    }

    .menu-icon {
        display: block;
        /* Show menu icon */
    }

    .sidebar ul {
        flex-direction: column;
        align-items: flex-start;
        /* Align sidebar items */
    }

    header {
        padding: 10px;
        /* Increased padding for header */
    }
}