body{
    margin: 0px;
    padding: 0px;
}
.service-tiles {
    position: relative;
}

.service-icon {
    color: #6711BD;
    background-color: #8102FF4A;
    border-radius: 10px;
    padding: 1rem 0.8rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
i {
    overflow: hidden;
}
.service-head .service-icon {
    height: 50px;
    width: 50px;
    margin-right: 1rem;
}
.service-head .service-icon i {
    font-size: 25px;
}
.service-tiles .service-head {
    font-size: 1.4rem;
    color: #8102FF;
    margin-top: 2rem;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
}

.service-tiles .service-subhead {
    font-size: 2rem;
    color: #fff;
    margin: 1rem 0;
}

.service-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0px;
}
.service-box {
    background-color: #181E2C;
    border-radius: 10px;
    padding: 20px;
    width: 24%;
    margin: 1rem 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}
.service-box:hover {
    transform: translateY(-10px);
}.service-box:hover .service-icon{
    color: white;
}
.service-box .service-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
}
.service-box i {
    font-size: 40px;
}
.service-box h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #fff;
}
.service-box p {
    font-size: 13px;
    margin-bottom: 1.5rem;
    color: #aeaeae;
}
.service-box button {
    background-color: #6711BD;
    border: none;
    padding: 0.5rem 2rem;
    color: #ffffff;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px ;
}
.service-box button:hover {
    background-color: #8102FF;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1; 
    left: 0;
    top: 0;
    overflow: auto; 
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.4); 
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.modal ::-webkit-scrollbar {
    visibility: hidden;
}

.modal-container {
    width: 100%;
    height: 100%;
    max-width: 1000px;
    margin: 10px auto;
}

.modal-content {
    background-color: #fefefe;
    margin: 10px auto; 
    padding: 20px;
    border: 1px solid #888;
    width: 100%; 
    max-width: 100%;
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 0.6rem;
    top: 0;
}

.close-btn:hover,
.close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-details {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0;
}

.modal-details .modal-left {
    max-width: 55%;
}
.modal-left h2{
    font-size: 2rem;
    font-weight: 700;
}
.modal-left p {
    text-align: justify;
    font-size: 13px;
    line-height: 1.6;
    color: #636363;
}
.modal-details .modal-img {
    position: relative;
    max-width: 40%;
    width: 40%;
    top: 0;
}
.modal-details .modal-img .m-img{
    position: sticky;
    top:20px;
}
.modal-details .modal-img img {
   
    width: 100%;
    border-radius: 8px;
    transition: transform 0.3s ease;
}


/* services key factor */
.ser-key h1{
    font-size: 1.5rem;
    margin: 20px 0px;
    font-weight: 600;
}


.ser-key-inner{
    padding: 10px;
    margin: 5px 2px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
}

.key-img i{
    font-size: 30px ;
    color: #03103D;
}

.ser-key-inner h4{
    font-size: 1rem;
    font-weight: 700;
    margin: 0px 0px 10px 0px;
}

.ser-key-inner p{
    font-size: 14px;
    color: #636363;
    margin: 10px 0px;
}

/* services benefits */
.ser-key-benefits{
    margin-top: 50px;
}
.ser-key-benefits h1{
    font-size: 1.5rem;
    margin: 20px 0px;
    font-weight: 600;
}
.ser-k-b{
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items:start ;
    margin: 10px 0px 20px 0px;
}
.ser-k-b i{
    font-size: 20px;
    margin-right: 1rem;
    margin-top: 2px;
}
.ser-k-b p{
    margin: 0px;
    color: #636363;
}

@media (max-width: 1028px) {
    .service-box {
        width: 48%;
    }
    .modal-container{
        margin: 20px;
    }
}

@media (max-width: 768px) {
    .service-box {
        width: 100%;
    }
    .modal-details {
        flex-direction: column;
    }
    .modal-details .modal-left{
        width: 100%;
        max-width: 100%;
    }
    .modal-details .modal-img img{
        display: none;
    }
}