.dropdown-menu,
.dropdown-menu a:hover,
.navbar {
    background-color: #0a192f
}

*,
.services .card {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body,
body div.main {
    overflow-x: hidden
}

.row {
    margin: 0
}

.col-12,
.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.parent-carousel {
    padding: 0
}

.navbar-brand img {
    height: 50px;
    width: 50px;
    border-radius: 50%
}

.navbar-nav a {
    color: #fff;
    font-weight: 700;
    transition: .2s ease-in-out;
    text-align: right !important;
    padding: 5px 10px !important
}

.navbar-nav ul,
.services .card {
    padding: 0 !important
}

.navbar-nav a:hover {
    color: #7895b2
}

.dropdown-menu {
    border: none;
    border-radius: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .1)
}

.dropdown-menu a {
    color: #fff;
    font-weight: 700
}

.navbar-toggler {
    border: none;
    outline: 0;
    background-color: transparent
}

.navbar-toggler-icon {
    background-color: #0a192f;
    border-radius: 2px;
    font-size: 25px
}

.navbar-toggler:hover .navbar-toggler-icon {
    background-color: #0a192fa3
}

@media (max-width:767px) {
    .navbar-nav {
        background-color: #0a192f
    }

    .navbar-nav .nav-item {
        margin-bottom: 1rem
    }

    .navbar-nav .dropdown-menu {
        background-color: #0a192f;
        box-shadow: none
    }

    .navbar-nav .dropdown-menu a {
        color: #fff;
        font-weight: 700;
        transition: .2s ease-in-out
    }

    .navbar-nav .dropdown-menu a:hover {
        background-color: #7895b2
    }

    .navbar .collapse.navbar-collapse#navbarNav {
        width: 700px !important
    }
}

.btn-dropdown {
    cursor: pointer
}

.parent-dropdown,
.service-drop-one {
    position: relative;
    text-align: center
}

.parent-dropdown:hover .listdown-service,
.service-drop-one:hover .listdown-service-one {
    display: block;
    z-index: 2
}

.parent-dropdown .listdown-service,
.service-drop-one .listdown-service-one {
    position: absolute;
    background-color: #0a192f;
    color: #fff;
    min-width: 150px;
    display: none
}

.parent-dropdown li {
    margin: 10px 0;
    padding: 3px 10px;
    transition: .3s linear
}

.parent-dropdown li:last-child {
    margin: 10px 0 0;
    padding: 3px 10px 5px
}

.parent-dropdown li:hover {
    background-color: #7895b2;
    color: #fff;
    cursor: pointer
}

.listdown-service-one {
    right: 100%;
    top: -10px
}

.listdown-service-one ul li a {
    font-size: 15px !important;
    color: #fff !important;
    text-decoration: none;
    font-weight: 400;
    padding: 2px
}

div.banner-main-page {
    min-height: 100vh;
    width: 100%;
    background-image: url("/assets/images/banner.jpg");
    background-size: 100% 100%;
    padding-top: 70px;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center
}

div.banner-main-page::after {
    content: " ";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
    z-index: 1;
    top: 0
}

div.banner-main-page div.banner-child-top {
    padding: 20px;
    margin: 20px 0;
    text-align: center;
    height: fit-content;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    z-index: 2
}

div.banner-main-page div.banner-child-top h1 {
    font-weight: 900;
    line-height: 1.5;
    font-size: 60px;
    position: relative;
    z-index: 2;
    color: #fff;
    font-family: 'IBM Plex Sans Arabic', sans-serif
}

div.banner-main-page div.banner-child-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    z-index: 2;
    color: #000
}

div.banner-main-page div.banner-child-bottom div {
    background-color: #98989884;
    min-height: 150px;
    border-radius: 16px;
    margin: 20px 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff
}

div.banner-main-page div.banner-child-bottom div p {
    font-size: 16px;
    text-align: center;
    line-height: 2;
    font-weight: 550
}

.service-section {
    min-height: 60vh;
    margin: 50px 0
}

div.title {
    text-align: center;
    margin: 30px 0
}

div.title h1 {
    font-weight: 900
}

.services .card {
    border-radius: 6px;
    box-shadow: 0 0 6px rgba(0, 0, 0, .3);
    overflow: hidden;
    background-color: #fff;
    width: 300px;
    text-align: center !important;
    margin: 30px 10px
}

.services .card-image {
    overflow: hidden;
    position: relative;
    height: 250px
}

.services .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease-in-out
}

.services .card-image:hover img {
    transform: rotate(3deg) scale(1.2);
    transition: .3s linear
}

.services .card-content {
    padding: 20px;
    background-color: #f8f8f8;
    border-top: 1px solid #eee
}

.services .card-content h2 {
    line-height: 1.3;
    font-size: 22px;
    font-weight: 500;
    height: 100px
}

.services .card-content p {
    margin: 10px 0 20px;
    font-size: 1.2rem;
    color: #666
}

.banner-main-page a,
.services .card-content a.btn-link {
    display: inline-block;
    padding: 10px;
    background-color: #7895b2;
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color .3s ease-in-out
}

.banner-main-page a:hover,
.services .card-content a.btn-link:hover {
    background-color: #666
}

.blog .blog-right ul li {
    text-align: start
}

.main-footer {
    padding: 50px 0
}

.main-footer .container {
    max-width: 1200px
}

.main-footer .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between
}

.main-footer .col-md-4 {
    margin-bottom: 30px
}

.main-footer .col-md-4 h3 {
    font-size: 1.5rem;
    margin-bottom: 20px
}

.main-footer .col-md-4 p {
    font-size: 1.2rem;
    line-height: 1.5
}

.main-footer .col-md-4 ul {
    list-style: none;
    margin: 0;
    padding: 0
}

.main-footer .col-md-4 ul li {
    margin-bottom: 10px
}

.main-footer .col-md-4 ul li a {
    color: #fff;
    text-decoration: none
}

.main-footer .col-md-4 ul li a:hover {
    color: #f77c6c
}

.main-footer .col-md-4 ul li i {
    margin-right: 10px
}

@media screen and (max-width:767px) {
    .main-footer .col-sm-12 {
        flex: 100%;
        margin: 0
    }
}

footer {
    width: 100%;
    position: fixed;
    bottom: 25px;
    left: 0;
    z-index: 9999;
    padding: 10px 25px;
    display: flex;
    justify-content: space-between;
    height: 60px;
    flex-direction: row-reverse
}

footer a {
    text-decoration: none !important;
    height: 60px;
    width: 60px;
    background-color: #25d366;
    font-size: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    padding: 5px;
    box-shadow: 2px 2px 3px #999
}

footer a i {
    color: #fff;
    font-size: 30px
}

footer a i.fa-whatsapp {
    font-size: 40px
}

@media only screen and (max-width:600px) {
    div.title h1 {
        font-size: 25px
    }

    .service-section .service-item a {
        height: 200px
    }
}

/*code for services page*/
/* ============== */
.blog,
.main-service div img {
    width: 100%
}

.blog .blog-left,
.blog .blog-right,
.blog .blog-top {
    background-color: #fff;
    box-shadow: 0 0 3px 0 #000
}

div.banner-main-page {
    background-image: url('../images/أفضل-شركة-فك-وتركيب-مكيفات-وصيانة-وتمديد-نحاس-المكيفات-في-السعودية.jpg') !important;
    background-size: cover
}

.main-service {
    padding: 20px 0 50px;
    min-height: 70vh;
    text-align: center;
    box-sizing: border-box;
    flex-wrap: wrap
}

.main-service div {
    min-height: 40vh;
    max-height: 50vh;
    padding: 20px
}

.main-service div p {
    margin: 10px 0 20px;
    font-size: 1.2rem;
    color: #666
}

.blog .blog-right .blog-text-phone a,
.main-service div a {
    display: inline-block;
    padding: 10px;
    background-color: #7895b2;
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color .3s ease-in-out
}

.blog .blog-right .blog-text-phone a:hover,
.main-service div a:hover {
    background-color: #666
}

@media only screen and (max-width:600px) {
    .main-service div {
        min-height: 400px !important;
        padding: 20px
    }
}

.blog {
    min-height: 100vh;
    padding: 50px 10px;
    background-color: #b5b5b5b5
}

.blog .blog-top {
    padding: 50px 20px;
    margin: 10px auto;
    text-align: center
}

.blog .blog-top p {
    margin: 5px;
    font-size: 20px
}

.blog .blog-top p span {
    color: red;
    font-weight: 900
}

.blog .blog-left {
    padding-top: 40px;
    height: fit-content;
    margin: 0 auto !important
}

.blog .blog-left h2 {
    font-size: 25px;
    font-weight: 900;
    text-align: center
}

.blog .blog-left .blog-box {
    padding: 10px 5px;
    min-width: 400px;
    direction: rtl;
    display: flex;
    flex-direction: column-reverse !important;
    align-items: center;
    text-align: center;
}

.blog .blog-left .blog-box img {
    height: 100px;
    width: 100px;
}
.blog .blog-left .blog-box h3{
    padding: 20px 0px 0px;
}
.blog .blog-left .blog-box h3 a {
    font-size: 20px;
    color: #000 !important;
    text-decoration: none;
}

.blog .blog-left .blog-box h3 a,
.blog .blog-right ul li,
.row>* {
    width: fit-content
}

.blog .blog-right {
    padding-top: 80px;
    height: fit-content;
    margin: 15px
}

.blog .blog-right .blog-text {
    text-align: end
}

.blog .blog-right .blog-text h2 {
    padding: 40px 0
}

.blog .blog-right .blog-text p {
    font-weight: 700;
    margin-left: auto;
    padding: 5px 0 5px 20px;
    margin-bottom: 0
}

.blog .blog-right .blog-text-phone {
    width: 400px;
    height: 200px;
    margin: 30px auto;
    text-align: center
}

.blog .blog-right .blog-text-phone h3 {
    font-size: 25px;
    margin: 10px 0
}

.blog .blog-right .blog-text-phone p {
    margin: 10px 0;
    font-size: 25px;
    color: #00f
}

.blog .blog-right .blog-text-phone p span {
    color: red
}

@media only screen and (max-width:450px) {
    .blog .blog-right {
        margin: 10px 0
    }

    .blog .blog-right .blog-text-phone {
        width: 100%
    }
}

/* ======================= */
/* Our Website */
/* ======================= */
.our-websites p {
    font-size: 30px;
    text-align: center;
    font-weight: 800;
    padding: 20px;
}
.our-websites li{
    padding: 10px;
    font-weight: 900;
    font-size: 20px;
    text-align: center;
    list-style-type: disc;
}