body {
    font-family: 'Poppins', sans-serif;
    background-color: #1C1C1C;
    margin: 0;
}
.services-section .service-header p {
    padding-top: 2rem;
    font-size: 2rem;
    color: white;
    font-weight:600;
}
.subtitle {
    font-size: 18px;
    color: white;
    cursor: pointer;
    text-decoration: underline;
}

.services-section{
    height: fit-content;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.services-section::before{
    inset: 0;
    top: -0.3rem;
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    background-image: url(/assets/services_bg_image1.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    z-index: -1;
    filter: blur(11px);
}

.services-section h2{
    text-align: center;
    color:#f6c26c;
    text-transform: uppercase;
}
.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding: 40px;
    max-width: 900px;
    margin: auto;
}
.service {
    background-color: #333;
    /* background-color: rgb(233, 236, 239); */
    width: 10rem;
    height: 10rem;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem;
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
}
.service:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px white;
}
.service i {
    font-size: 25px;
    color: #FFD700;
    margin-bottom: 10px;
}
.service h3 {
    font-size: 14px;
    margin: 0;
    color: white;
    /* color: black; */
}
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(3px);
    background-color: rgba(0, 0, 0, 0.4);;
}

.modal-bg {
    position: absolute;
    inset: 0;
    background-image: url('../assets/service-background.jpg');
    /* background-color: rgb(47, 46, 46); */
    background-size: cover;
    background-position: center;
    filter: blur(1px);
    border-radius: 1rem;
    z-index: -1;
  }


  
  
.modal-content {
    position: absolute;
    color: white;
    border-radius: 1em; 
    max-width: 80vw;
    height: fit-content;
    max-height: 90vh;
    text-align: left;
    font-size: 16px;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 20px 0;
}

.modal-scrollable{
    max-height: 50vh;
    overflow:auto;
    scrollbar-color: #FFD700 lightblue;
}

.modal-content #modal-text{
    padding: 0 2rem;
}
.modal-content span,h2{
    position: sticky;
    top: 0;
    left: 0;
}


.close {
    color: #FFD700;
    float: right;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    padding-right: 20px;
    z-index: 1;
}
.close:hover {
    color: #fff;
}

@media screen and (max-width:600px) {
    .modal-content{
        width: 80%;
    }
    .modal-bg{
        background-image: url('../assets/service-bg-mobile.jpg');
    }
    .service{
        height: 1rem;
        width: 1rem;
    }
    .service i {
    font-size: 16px;
    color: #FFD700;
    margin-bottom: 5px;
    }
    .service h3 {
        font-size: 10px;
        margin: 0;
        color: white;
    }
    .services-container{
        gap: 20px;
        padding: 20px;
    }
    /* .services-section::before{
        background-image: url(/assets/services_bg_mobile.jpg);;
    } */
}
