:root {
    --main-color: #D477F7;
    --text-color: rgb(33 42 65 / 75%);
    --second-color: #5DB996;
}
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: sans-serif;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: sans-serif;
}
.contain {
    width: 1200px;
    max-width: 100%;
    padding: 40px 10px;
    margin: 0 auto;
}
@media (max-width: 767px) {
    .contain {
        text-align: center;
        padding: 25px 15px;
    }
}

.hideEle {
    display: inline-block;
}


/* Our Services Style*/
.our_services .header {
    background-color: #fafafa;
    box-shadow: 1px 1px 10px #eee;
}
.our_services nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}
@media (max-width: 767px) {
    .our_services nav {
        padding: 10px;
    }
}
.our_services nav img {
    width: 70px;
    height: 70px;
}

.our_services nav ul li a {
    text-decoration: none;
    margin: 0 15px;
    color: var(--main-color);
    font-size: 18px;
    position: relative;
}

.our_services nav:not(.sidebar) ul li a::after {
    content: '';
    position: absolute;
    transition: .5s;
    bottom: -5px;
    left: 0;
    height: 2px;
    background-color: var(--main-color);
    width: 0%;
}

.our_services nav ul li a:hover::after,
.our_services nav ul li a.active::after {
    width: 80%;
}
.our_services nav i{
    font-size: 26px;
    cursor: pointer;
}

.our_services .sidebar {
    position: fixed;
    right: 0;
    top: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.387);
    min-height: 100%;
    z-index: 99999;
    width: 50%;
}

@media (max-width: 550px) {
    .our_services .sidebar {
        width: 100%;
    }
}

.our_services .sidebar ul {
    width: 100%;
    list-style: none;
}
.our_services .sidebar ul li {
    width: 100%;
}
.our_services .sidebar ul li a  {
    margin: 0 0 20px 0;
    display: inline-block;
    color: var(--text-color);
    width: 100%;
    padding: 10px;
    transition: .5s;
}
.our_services .sidebar ul li a:hover,
.our_services .sidebar ul li a.active {
    background-color: var(--main-color);
}

.our_services .sidebar i {
    font-size: 40px;
    color: var(--text-color);
    padding: 10px;
    transition: .5s;
}

.our_services .sidebar i:hover {
    transform: rotate(120deg);
}


@media (max-width: 780px) {
    .our_services nav .hideEle {
        display: none;
    }
}

@media (min-width: 780px) {
    .our_services nav:not(.sidebar)  i {
        display: none;
    }
    .our_services .sidebar {
        display: none !important;
    }
}
/* End Our Services Style*/
/* Services Style */
.services {
    padding: 80px 0;
}
.services .title {
    text-align: center;
    margin-bottom: 80px;
}

.services .title h3 {
    text-transform: capitalize;
    font-size: 50px;
    margin-bottom: 10px;
}

@media (max-width: 600px) { 
    .services .title h3 {
        font-size: 30px;
    }
}


.services .title p {
    margin-bottom: 20px;
    color: var(--text-color);

}
.services .content h3 {
    font-size: 25px;
    margin-bottom: 15px;
    color: var(--second-color);
    text-align: right;
    position: relative;
}

.services .content h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    height: 4px;
    width: 20%;
    background-color: var(--second-color);
}

.services .content h3:not(:first-of-type) {
    margin: 25px 0;
}

@media (max-width: 600px) {
    .services .content h3 {
        text-align: center;
        font-size: 20px;
    }
    .services .content h3::after {
        left: 50%;
        transform: translateX(-50%);
        height: 3px;
    }
}

.services .content .boxes  {
    text-align: center;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content:space-between;
    padding: 40px 0 0;
    direction: rtl;
}
.services .content .boxes .box i {
    width: 80px;
    height: 80px;
    font-size: 40px;
    background-color:#5db99698;
    border-radius: 50%;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 1px 1px 10px #eee;
}

@media (max-width: 600px) {
    .services .content .boxes .box i {
        font-size: 30px;
        width: 60px;
        height: 60px;
        padding: 15px;
    }
}

.services .content .boxes .box p {
    line-height: 1.5;
    margin-bottom: 10px;
    color: var(--text-color);
}

  
@media (max-width: 768px) {
    .services .content .boxes {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .services .content .boxes {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
/* End Services Style */

/* Footer Style  */
.footer {
    margin-top: 80px;
    padding: 20px;
    background-color: #7B5BDF;
    display: flex;
    justify-content: space-evenly;
    align-items: flex-end;
}
@media(max-width: 600px) {
    .footer {
        align-items: center;
    }
}
.footer .sec2 h3 {
    margin: 10px 0;
}
.footer .sec2 ul {
    list-style: none;
}

.footer .sec2 ul li a {
    padding-bottom: 10px;
    color: var(--text-color);
    display: inline-block;
    transition: .5s;
}

.footer .sec2 ul li a:hover {
    transform: translateX(10px);
    color: #000;
}

.footer .sec1 img {
    width: 70px;
    height: 70px;
}
.footer .sec1 p {
    color: var(--text-color);
    width: 400px;
    margin-bottom: 15px;
    line-height: 1.5;
}

@media(max-width: 600px) {
    .footer .sec1 p, 
    .footer .sec1 img {
        display: none;
    }
}

.footer .sec1 i {
    font-size: 25px;
    margin: 10px;
    cursor: pointer;
    transition: .5s;
    color: #000;
}
.footer .sec1 i:hover {
    transform: scale(1.2);
}
/* End Footer Style  */