.bg-primary {
    background-color: #3874a1 !important;
}

.bg-secondary {
    background-color: #3874a1 !important;
}

.active {
    /* background-color: #ff5722 !important; */
    color: #fff !important;
/* height: 300px; */
}
.carousel-inner{
    /* background-color: #ff5722 !important; */
}


.slick-prev:before,
.slick-next:before {
    color: #3874a1;
    font-size: 30px;
    margin: -10px;
}

.section_tittle h2:after {
    width: 100%;
    height: 2px;
}

.ar-font {
    font-family: Arial, Helvetica, sans-serif !important;
}


.main_menu .main-menu-item ul li .nav-link {
    font-size: 15px !important;

}

.card .card-header {
    background: #3c3c3c;
}


.main_menu_iner {
    background: #3874a1;
    color : black;
    /* width: 150% !important; */

  }

  /* Style for the search form container */
.search-form {
    top: 50%; /* Position vertically relative to the logo */
    left: 80%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Center the search form */
    z-index: 1;
    width: 80%; /* Restrict the width of the form */
    max-width: 300px; /* Maximum width for the search bar */
}

/* Input group styles for rounded appearance */
.rounded-search {
    border: 2px solid #ddd; /* Light border around the search bar */
    border-radius: 30px; /* Fully rounded corners */
    overflow: hidden;
    display: flex;
    align-items: center;
    background-color: #fff; /* Background color for the search bar */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional shadow for better visibility */
}

/* Input field inside the search bar */
.rounded-input {
    border: none; /* Remove default border */
    border-radius: 0; /* No extra rounding (already covered by parent) */
    padding: 8px 12px; /* Adjust padding */
    flex: 1; /* Allow the input to expand */
    outline: none; /* Remove focus outline */
    font-size: 14px; /* Adjust text size */
}

/* Center and style the search button */
.rounded-btn {
    border: none; /* Remove default border */
    border-radius: 0; /* No extra rounding */
    padding: 12px 12px; /* Adjust padding for better appearance */
    background-color: #5494d4; /* Blue button background */
    color: #fff; /* White icon color */
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex; /* Center icon inside the button */
    align-items: center; /* Align icon vertically */
    justify-content: center; /* Align icon horizontally */
}

.rounded-btn:hover {
    background-color: #3874a1; /* Darker blue on hover */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .search-form {
        width: 50%; /* Full width for smaller devices */
        max-width: 100%; /* Remove max-width constraint */
        left: 70%;
    }
    .rounded-input {
        font-size: 12px; /* Smaller text for input */
    }

}
.icons{
    margin-right:24px;
    padding-top: 7px;
}
/* RTL adjustments */
.rtl .search-form {
    right: auto;
    left: 105px; /* Position to the left for RTL */
}

.rtl .input-group {
    flex-direction: row; /* Normal direction for RTL */
}

.rtl .rounded-btn {
    border-radius: 25px 0 0 25px; /* Rounded end on the left */
}
.rtl .main_menu .main-menu-item ul li .nav-link {
    padding-left: 9px;
    /* padding-right: 9px; */
    /* font-size: 15px !important; */
    width: 103%;
    /* border-left : 1px solid white ; */
}

.rtl .main_menu .main-menu-item ul li .nav-link:hover {
    background-color: white;
    color:#3874a1;
}
.rtl .dropdown .dropdown-menu a:hover {
    color: #3874a1;
}
.main_menu .main-menu-item ul li .nav-link {
    padding-left: 9px;
    /* padding-right: 9px; */
    /* font-size: 20px !important; */
    width: 103%;
    /* border-left : 1px solid white ; */
}

.main_menu .main-menu-item ul li .nav-link:hover {
    background-color: white;
    color:#3874a1;
}
.dropdown .dropdown-menu a:hover {
    color: #3874a1;
}
.dropdown-item:active {
    color: #fff !important;
    background-color: #3874a1;
}
.dropdown-toggle::after {
    margin-right: 4px;
}

.flip-card-back {
    background-color: #3874a1;
}

.section_tittle h2:after {
    background-color: #3874a1;
    font-weight: bolder;
}

.genric-btn.primary {
    color: #fff;
    background: #3874a1;
    border: 1px solid transparent;
}
.genric-btn.primary:hover {
    color: #3874a1;
    border:  1px solid #3874a1;
}

.units .unit-item .content {
    background-color: #263441;
}

.units .unit-item .footer {
    background-color: #3874a1;
}

.units .unit-item .footer p {
    color:#fff;
    font-size: 18px !important;
}

.service_part .single_service_part:hover {
    background-color: #3874a1 !important;
}

.service_part .single_service_part:hover .flaticon-human-resources , .service_part .single_service_part:hover .flaticon-chemistry , .service_part .single_service_part:hover .flaticon-manufacture  {
    background-color: white !important;
    color:#3874a1 !important;

}

/* .flaticon-human-resources{
    background-color: #3874a1 !important;
    color:#fff !important;
    width: 50px !important;
    height:50px !important;
    border-radius: 50% !important;
} */

.service_part .single_service_part {
    background-color: #E6E6E6 !important;
}


.service_part .single_service_part i {
    background-color: #3874a1 !important;
    color:#fff !important;
    border-radius: 50% !important;
    padding: 0% 6%;
    text-align: center;
}


.service_part .single_service_part .line:after {
    background-color: #3874a1 !important;
    margin-left: 18px;
}


.footer-links-slick .item {
    border: solid 2px #3874a1;
}

.footer-area .copyright_part_text {
    background-color: #3874a1;
}

.footer-area .copyright_part_text  p , .footer-area .copyright_part_text  a{
    color:white !important;
}

.footer-area {
    background-color: #263441;
}

footer p.visitors {
    font-size: 16px;
}

.our_industries .single_industries h3:after {
    background-color: #3874a1;
}
.our_industries .single_industries h3 a:hover {
    color: #3874a1;
}

.fields div:first-child .flip-card-front {
    background-color: #263441;
}

.fields div:nth-child(4) .flip-card-front {
    background-color: #3c4c5c;
}

.fields div:nth-child(5) .flip-card-front {
    background-color: #3c4c5c;
}

.fields div:nth-child(6) .flip-card-front {
    background-color: #3c4c5c;
}

.fields div:nth-child(7) .flip-card-front {
    background-color: #677077;
}

.fields div:nth-child(8) .flip-card-front {
    background-color: #677077;
}

.fields div:nth-child(9) .flip-card-front {
    background-color: #677077;
}

.sidebar h3 {
    border-right: 5px solid #3874a1;
}

.unit-nav {
    border-bottom: 1px solid #3874a1 !important;
}

.unit-nav .nav-link {
    border-left: 1px solid #3874a1 !important;
    border-right: 1px solid #3874a1 !important;
}

.unit-nav .nav-link:hover {
    background-color: #3874a1 !important;
    border-left: 1px solid #3874a1 !important;
}

.products_part .product:hover {
    border-color: #3874a1 !important;
}

.products_part .product .title:hover {
    border-color: #3874a1 !important;
}

.products_part .product .title:hover {
    border-color: #3874a1 !important;
    background: red;

}
a:hover {
    color: #3874a1;
}

.breadcrumb {
    background-color: #97cdff !important;
}


b, sup, sub, u, del {
    color: #3874a1;
}


.list-group-item:first-child {
    background-color: #3874a1;
}

.list-group-item:first-child h3{
    color:#fff;
}

.list-group-item-dark {
    /* color: #1b1e21; */
    background-color: #E6E6E6;
}

.products_part .product:hover .title {
    background-color: #3874a1 !important;
}

.home-slider .slide {
    position: relative;
    width: 100%;
}

.home-slider img {
    height: 600px;
    width: 100%;
}

.home-slider h3 {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    font-size: 46px;
}

.home-slider p {
    position: absolute;
    top: 60%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    font-size: 30px;
}

.flip-card-back .desc {
    top: 25%;
  }

.navbar-nav .dropdown-menu {
    z-index: 2000 !important;
}

/*****/


        /* Header styling for individual images */
        .thumbnail-header1 {
            text-align: center;
            font-size: 18px;
            font-weight: bold;
            margin-top: 10px;
            margin-bottom: 20px;
            color: #333;
        }

        /* Container for the full layout */
        .container1 {
            display: flex;
            justify-content: space-between;
            margin-top: 20px;
        }

        /* Left side (thumbnail slider) */
        .left-side {
            padding: 10px;
            width: 300px;
            height: 550px;
            overflow-y: auto;
            margin-right: 20px;
        }

        .thumbnail1 {
            width: 100%;
            margin-bottom: 10px;
            cursor: pointer;
        }

        .thumbnail1 img {
            width: 100%;
            height: 148px;
            border: 2px solid transparent;
            transition: border 0.3s;
        }

        .thumbnail1 img:hover {
            border: 2px solid #333;
        }

        /* Right side (full view image and header) */
        .right-side {
            height: 550px;
            width: 1000px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            background-color: #ffffff;
            padding: 20px;
        }

        .right-side img {
            max-height: 80%;
            width: 100%;
            object-fit: fill;
        }

        .image-header1 {
            font-size: 24px;
            font-weight: bold;
            color: #333;
            margin-bottom: 20px;
        }

        /* Media Query for small screens */
        @media (max-width: 768px) {
            .container1 {
                flex-direction: column;
            }
            .right-side{
                order:1;
                height: 300px;
                width: 100%;
                background: none;
            }
            .left-side{
                height: 300px;
                order:2;
                margin-top: 50px;


            }



        }



