body {
    background-color: #ecf0f3;
}
.custom_flex {
    /*margin:0;
    padding:0;
    display:flex;
    flex-direction:column;*/
}

.custom_flex2 {
    /*display:flex;*/
    /*height:46rem;*/
}
.bodywrapper {
    padding: 0px 0px;
}
.custom_height {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5px;
}

.about_company {
    /*background: rgba( 255, 255, 255, 0.2 );*/
    background: url(../images/BG.jpg);
    background: url(../images/new.jpg);
    /*background: url("../images/footer_background.jpg");*/
    /*

    box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
    backdrop-filter: blur( 11px );
    -webkit-backdrop-filter: blur( 11px );
    border-radius: 10px;
    border: 1px solid rgba( 255, 255, 255, 0.18 );*/
    height: 28rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

.fixed-background {
    position: relative; /* Contain the background within this section */
    background-image: url(../images/BG.jpg); /* Replace with your image URL */
    background-image: url(../images/new.jpg);
    /*background: url("../images/footer_background.jpg");*/
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    z-index: 1;
    overflow: hidden; /* To handle content overflow if any */
}

    .fixed-background .content {
        position: relative; /* Ensure content is above the background */
        z-index: 2; /* Stack above the background */
        /*color: white;*/ /* Contrast text color */
        /*background: rgba(0, 0, 0, 0.5);*/ /* Optional: semi-transparent background for readability */
        padding: 20px;
    }

.about_card {
    /*position:relative;
    top:1rem;*/
    display: flex;
    backdrop-filter: blur(1px) saturate(180%);
    -webkit-backdrop-filter: blur(1px) saturate(180%);
    background-color: rgba(255, 255, 255, 0.75);
    border-radius: 5px;
    border: 1px solid rgba(209, 213, 219, 0.3);
    box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
    width: 80%;
    padding: 20px;
    text-align: justify;
    height: 90%;
}

.about_img {
    /*height:30%;*/
    box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
}


.about_card_flex {
    display: flex;
    flex-direction: column;
    padding: 20px;
    text-shadow: 1px 1px 10px #000;
    line-height: 1.7;
}
.text-color-white{
    color:white;
}


.card-body {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    height: 80%;
    width: 100%;
    background-color: #ecf0f3;
}
/* Neumorphic card styling */
.card {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
    background: #ecf0f3;
    border-radius: 20px;
    box-shadow: 7px 7px 14px #bebebe, -7px -7px 14px #ffffff;
    overflow: hidden;
    width: 1155px;
    /*width:80%;*/
    transition: transform 0.3s ease-in-out;
    justify-content: space-between;
    max-width: 90%; /* Ensure it doesn't overflow on smaller screens */
}

    .card img {
        width: 300px;
        height: auto;
        /*border-top-left-radius: 20px;
        border-bottom-left-radius: 20px;*/
        transition: transform 0.3s ease-in-out;
    }

.card-content {
    padding: 5px 40px;
}

    .card-content h2 {
        margin: 0 0 10px 0;
        font-size: 24px;
        color: #333;
    }

    .card-content p {
        margin: 0;
        font-size: 16px;
        color: #666;
        text-align:justify;
    }

/* Animation effect on hover */
.card:hover {
    transform: scale(1.05);
    box-shadow: inset 6px 6px 12px #b8b9be,-6px -6px 12px #fff !important
}

    .card:hover img {
        transform: scale(1.05);
    }


.progressive-effects.skilled-progress {
    margin-bottom: 2px;
}
.about-us-img-container{
    display:flex;
    justify-content:center;
    align-items:center;
    width:100%;
    margin-top:1rem;

}
.about-us-img {
    width: 100%;
    height: auto;
    /*border-radius: 20px;*/
    box-shadow: 6px 6px 12px #b8b9be,-6px -6px 12px #fff !important
}
.new-cont{
    width:80%;
}
.about-us-heading {
    font-weight: 800;
    font-family: 'Footlight MT';
    margin-bottom: 10px;
}

.card-content ul li {
    text-align: justify;
    font-family: 'Helvetica, sans-serif';
    font-size:1.75rem;
}
.card-content table th, .card-content table td {
    padding: 0 1rem;
    border: 1px solid black;
    
}

.portfolio-card {
    background: #e0e5ec;
    border-radius: 20px;
    box-shadow: 7px 7px 15px #a3b1c6, -7px -7px 15px #ffffff;
    padding: 20px;
    width: calc(33.33% - 30px);
    text-align: center;
    transition: transform 0.3s ease;
    margin: 15px;
}

    .portfolio-card:hover {
        transform: scale(1.05);
        box-shadow: inset 6px 6px 12px #b8b9be,-6px -6px 12px #fff !important
    }

.project-image {
    width: 100%;
    border-radius: 15px;
    box-shadow: 5px 5px 10px #a3b1c6, -5px -5px 10px #ffffff;
    padding: 16px;
    height: auto;
}

.portfolio-card-content {
    margin-top: 20px;
}

.project-name {
    font-size: 1.5em;
    margin-bottom: 20px;
}

.nature-of-work,
.duration,
.client-name,
.project-value {
    margin: 5px 0;
    color: #555;
}

@media (max-width: 600px) {
    .portfolio-card {
        padding: 15px;
    }

    .project-name {
        font-size: 1.2em;
    }
}
.about-us-container {
    width: 100vw;
    /*height: 400px;*/
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /*margin-top:4rem;*/
}

    .about-us-container img {
        width: 100%;
        height: auto;
        max-height: 100%;
        object-fit: cover;
    }

.card-body-grid {
    display: flex;
    flex-wrap: wrap;
    width: 80%;
    margin: 0px auto;
}
    .card-body-grid.card-bottomspace {
        padding-bottom: 10px;
    }
.Strength-Table td:nth-child(even), .Strength-Table th:nth-child(even) {
    text-align: center;
    color: #0b2f51;
}
.Strength-Table td:nth-child(odd), .Strength-Table th:nth-child(odd) {
    color: #870505;
}
.Logo-Color-Red {
    color: #870505;
}
.Logo-Color-Blue {
    color: #0b2f51;
}
.text-3D {
    transform: translate(50%,-50%);
    text-transform: uppercase;
    font-family: verdana;
    font-size: 1em;
    font-weight: 700;
    /*color: #f5f5f5;
    color: #333333;*/
    text-shadow: 1px 1px 1px #919191, 1px 2px 1px #919191, 1px 3px 1px #919191, 1px 4px 1px #919191, 1px 5px 1px #919191, 1px 6px 1px #919191, 1px 7px 1px #919191, 1px 8px 1px #919191, 1px 9px 1px #919191, 1px 10px 1px #919191, 1px 18px 6px rgba(16,16,16,0.4), 1px 22px 10px rgba(16,16,16,0.2), 1px 25px 35px rgba(16,16,16,0.2), 1px 30px 60px rgba(16,16,16,0.4);
}
/* Responsive design */
@media (max-width: 768px) {
    .card {
        flex-direction: column;
    }

    .card-body-grid {
        grid-template-columns: 1fr 1fr;
    }

    .card img {
        width: 100%;
        /*border-radius: 20px 20px 0 0;*/
    }

    .card-content {
        padding: 20px;
    }

        .card-content h2 {
            font-size: 20px;
        }

        .card-content p {
            font-size: 14px;
        }
        .card-content ul li {
           font-size: 1.1rem;
        }
}

@media (max-width: 480px) {
    .card-body-grid {
        grid-template-columns: 1fr;
    }

    .card-content h2 {
        font-size: 18px;
    }

    .card-content p {
        font-size: 12px;
    }
}
@media(min-width:768px) and (max-width:1100px){
    .card-content ul li, table.Strength-Table {
        font-size: 1.1rem;
    }
}
@media(min-width:350px) and (max-width:768px) {
    .card-body {
        width: 90%;
        margin: auto;
    }

    table.Strength-Table {
        font-size: 1rem;
    }
}

input:invalid {
    border: 1px solid red;
    animation: breathing 3s infinite;
}

.disclaimer {
    color: #FC427B;
    animation: breathingDisclaimer 1s infinite;
}
.form-heading {
    color: #c30208;
    background-color: #54b8fb;
    /*color: #fff;*/
    /*opacity: 0.8;*/
    /*text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);*/
    /*background: rgba(255, 255, 255, 0.1);*/
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5), -1px -1px 2px rgba(255, 255, 255, 0.5);
    margin: 5px 0;
}

@keyframes breathing {
    0% {
        border: 1px solid #FC427B;
    }

    50% {
        border: 1px solid #ccc;
    }

    100% {
        border: 1px solid #FC427B;
    }
}

@keyframes breathingDisclaimer {
    0% {
        color: #FC427B;
    }

    50% {
        color: black;
    }

    100% {
        color: #FC427B;
    }
}

.success-message {
    color: #00d757;
    font-size: 1rem;
    font-weight: bold;
}

.error-message {
    color: #ff4757;
    font-size: 1rem;
    font-weight: bold;
}
.form-group label {
    font-weight: normal;
}
.form-group textarea, input#ctl00_SubmitButton {
    width: 100%
}
.phone span {
    color: white;
}
.form-group textarea {
    background-color: #333333;
    color: white;
}
.grid figcaption h3 {
    font-size: 14px;
}
.list-style-none{
    list-style:none;
}
.testimonial-client-logo{
    padding:20px;
}
.esiContainer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px auto;
    max-width: 400px;
    flex-wrap: wrap;
    padding: 0px 16px;
}
.esiContainerTime {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin: 10px auto;
    max-width: 400px;
    flex-direction: column;
    padding: 0px 16px;
}
.esiInnerContainer {
    margin-top: 10px;
    display: flex;
    width: 100%;
    justify-content: space-between;
}
    .esiInnerContainer select {
        width: 55%;
    }
.button-wrpper {
    text-align: right;
    width: 100%;
    padding-top: 10px;
}
.loginBtn {
    font-weight: bold;
    color: #e74c3c;
    background-color:white;

}
.image-container {
    position: relative;
    width: calc(100vw - 20px);
    /*max-width: 200px;*/
    height: auto; /* or any other height you want */
    z-index:2;
}


.responsive-image {
    position: absolute;
    left: 20px;
    top: 20px;
    width: calc(100% - 20px); /* subtract 40px from the width to account for the left and top margins */
    height: auto;
    max-width: 200px;
    object-fit: cover;
}


.image-border {
    border: 1px solid #999090;
}

@media(max-width:1200px) {
    .responsive-image {
        max-width: 130px;
    }
}

@media(max-width: 900px) {
    .portfolio-card {
        width: calc(50% - 30px);
    }
}


@media (max-width: 580px) {
    .responsive-image {
        max-width: 92px;
    }
}

@media(max-width: 500px) {
    .portfolio-card {
        width: calc(100% - 0px);
    }

    .card-body-grid {
        width: 96%;
    }

}
@media(max-width: 430px) {
    .login-button-wrpper {
        width: 100%;
        text-align: right;
        padding-top: 10px;
    }
    .loginmain > input {
        width: 50%;
    }
    .card-content table th, .card-content table td {
        padding: 0 .5rem;
    }
}