#services-banner {
    position: relative;
    background-image: url(/static/images/consulting_back.jpg);
    background-size: cover;
    background-position: center;
    height: 400px;
    color: white;
    text-align: center;
}

#services-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

#services-content {
    width: 55%;
    position: relative;
    z-index: 1;
    top: 50%;
    transform: translateY(-50%);
    justify-content: center;
    align-items: center;
    padding-left: 150px;
    padding-top: 50px;
    text-align: start;
}

#services-content h1 {
    font-size: 60px;
    margin: 0;
    font-weight: 700;
}

#services-home1 {
    font-size: 17px;
    line-height: 2;
    font-weight: 500;
    letter-spacing: 2px;
}

.container {
    max-width: 1200px;
}
.home a{
    color: white;
}
#form{
    padding-top: 100px;
    background-color: #151b2c;
}

#form-container {
    display: flex;
    height: 100vh;
}

#form-left-side {
    color: #fff;
    padding: 50px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#form-left-side h1 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}

#form-left-side h2 {
    font-size: 45px;
    font-weight: 800;
    margin-bottom: 20px;
}

#form-left-side p {
    font-size: 20px;
    font-weight: 600;
    color: #ccc;
    margin-bottom: 120px;
}

#form-left-side ul {
    list-style: none;
    padding: 0;
}

#form-left-side ul li {
    font-size: 18px;
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

#form-left-side ul li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: #00bfff;
}

#form-right-side {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
}

form {
    width: 100%;
    max-width: 500px;
}
form textarea{
    resize: none;
    max-height: 200px;
}
form input,
form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 10px;
    border: 1px ;
    border-radius: 5px;
    background-color: #6767672a;
}

form input :hover,
form textarea :hover {
    width: 100%;
    padding: 15px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f5f3f32a;
}

form input[type="text"],
form input[type="email"] {
    flex: 1;
    display: flex;
}

.form-row {
    display: flex;
    gap: 10px;
}

form textarea {
    height: 300px;
}

form label {
    margin-bottom: 5px;
    color: #747070;
    font-size: 15px;
    font-weight: 700;
}

form button {
    width: 30%;
    padding: 15px;
    border: none;
    background-color: #00bfff;
    color: #fff;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
}

form button:hover {
    background-color: #009fcc;
}

.service-content{
    padding-top: 50px;
}
#service-center-text p{
    font-size: 12px;
    font-weight: 700;
}

#service-center-text h3{
    font-size: 40px;
    font-weight: 700;

}
#service-card{
    display: flex;
    padding: 50px 250px 0px 250px;
    justify-content: center;
}

#service-card {
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
    justify-content: space-evenly;
}

#service-card-card {
    flex: 1 1 100px;
    max-width: 300px;
    margin: 10px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#service-card-card:hover{
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0px 5px 5px 5px rgba(0,0,0,0.1);
    transform: translateY(-10px);
}

#service-card-card h2{
    font-size: 25px;
    font-weight: 700;
}
#card-text{
    font-size: 18px;

}
#service-card-card-icon{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px;
    color: #31679f;
    font-size: 60px;
}
.service-card a{
    color: #31679f;
    text-decoration: none;
    border: 1px solid black;
    padding: 7px;
    border-radius: 20px;
    font-weight: bold;
}
#service-card-card-text h3 {
    font-size: 45px;
    font-weight: 700;
    margin-bottom: 10px;
}
#service-card-card-text p{
    font-size: 20px;
    padding-bottom: 25px;

}
#service-card-card-text{
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
}
.service-text-center{
    width: 70%;
}
@media (max-width: 768px) {
    #services-banner {
        height: 500px;
    }

    #services-content {
        width: 80%;
        padding-left: 20px;

    }

    #services-content h1 {
        font-size: 40px;
    }

    #services-home1 {
        font-size:17px;
        font-weight: 600;
        line-height: 1.6;
    }

    #services-home {
        font-size: 14px;
    }

    #form-container{
        display: inline;
        width: 100%;
        height: 500px;
        justify-content: center;
        align-items: center;
    }

    #form-right-side{
        width: 95%;
        justify-content: center;
        align-items: center;
        padding: 0;
        margin: auto;
    }

    form textarea {
        height: 100px;
    }

    form button {
        width: 30%;
        padding: 15px;
        border: none;
        background-color: #00bfff;
        color: #fff;
        font-size: 14px;
        border-radius: 5px;
        cursor: pointer;
    }
    .form-row{
        justify-content: center;
        align-items: center;

    }

    form{
        padding-left: 20px;
    }

}