﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
/*    background-image: url('../Images/Assests/aboutus/shape.png');*/
    font-family: Arial, sans-serif;
    overflow-x: hidden;
    color: #333;
}

.about-container {
    max-width: 1400px;
    margin: 80px auto 40px;
    padding: 0 20px;
}

.master-profile-wrapper {
    background: #fff;
    border-radius: 16px;
    max-width: 689px;
    margin: auto;
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: visible;
    z-index: 10;
}

.overlap-row {
    margin-left: -60px;
    margin-right: -60px;
}

@media (max-width: 991.98px) {
    .master-profile-wrapper {
        width: 100%;
        padding: 20px 15px;
    }

    .overlap-row {
        margin-left: 0;
        margin-right: 0;
    }
}


.overlap-row {
    position: relative;
}


@media (min-width: 992px) {
    .circle-bg {
        width: 500px;
        height: 500px;
        border-radius: 50%;
        position: absolute;
        left: -135px;
        top: -90px;
        overflow: hidden;
    }


    .text-section {
        padding-left: 120px !important;
    }
}


@media (max-width: 991.98px) {
    .circle-bg {
        width: 100%;
        max-width: 350px;
        aspect-ratio: 1 / 1;
        border-radius: 50%;
        overflow: hidden;
        position: relative;
        left: 0;
        top: 0;
        margin: 0 auto 30px auto;
    }

    .text-section {
        padding-left: 15px !important;
        text-align: center;
    }
}


.circle-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-position: 50% 10%;
}


.text-section h1 {
    box-sizing: border-box;
    color: rgb(14, 71, 107);
    display: block;
    font-family: "Nunito Sans", sans-serif;
    font-weight: 600;
    letter-spacing: 0.2px;
    line-height: 54px;
    margin-top: 0px;
    margin-left: -20px;
    margin-bottom: 8px;
    padding-top: 0px;
    padding-bottom: 10px;
    padding-left: 0px;
    padding-right: 0px;
    text-align: start;
    text-size-adjust: 100%;
    unicode-bidi: isolate;
    white-space: nowrap;
}

@media (min-width: 992px) {
    .text-section h1 {
        font-size: 45px;
        width: 436.389px;
        height: 63.9931px;
        margin-left: -70px;
        position: relative;
        z-index: 5;
        color: #0e476b
    }
}

@media (max-width: 991.98px) {
    .text-section h1 {
        font-size: calc(1.5rem + 1.5vw);
        width: 100%;
        height: auto;
        margin-left: 0;
        text-align: center;
        white-space: normal;
    }
}


.text-section p {
    box-sizing: border-box;
    color: rgb(33, 37, 41);
    display: block;
    font-family: "Nunito Sans", sans-serif;
    font-size: 16px;
    /* font-weight: 300; */
    letter-spacing: 0.2px;
    line-height: 24px;
    margin-top: 0px;
    margin-bottom: 0px;
    padding-top: 2px;
    padding-bottom: 2px;
    text-align: start;
    text-size-adjust: 100%;
    unicode-bidi: isolate;
}

@media (min-width: 992px) {
    .text-section p {
        width: 436.389px;
        margin-left: -70px;
    }
}

@media (max-width: 991.98px) {
    .text-section p {
        width: 100%;
        height: auto;
        margin-left: 0;
        text-align: center;
    }
}


.highlight {
    color: #D81B60;
    font-weight: bold;
}

.features-grid {
    display: flex;
    gap: 25px;
    margin-top: 50px;
    margin-left: -180px;
    margin-right: -180px;
}

.feature-card {
    background-attachment: scroll;
    background-clip: border-box;
    background-color: rgb(241, 248, 231);
    background-image: none;
    background-origin: padding-box;
    background-position-x: 0%;
    background-position-y: 0%;
    background-repeat: repeat;
    background-size: auto;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    box-shadow: rgba(14, 71, 107, 0.2) 5px 5px 20px 0px;
    box-sizing: border-box;
    color: rgb(33, 37, 41);
    display: block;
    font-family: "Nunito Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.2px;
    line-height: 24px;
    padding-bottom: 20px;
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 20px;
    text-align: start;
    text-size-adjust: 100%;
    unicode-bidi: isolate;
    flex: 1;
}

    .feature-card h3 {
        color: #003666;
        margin-bottom: 10px;
        font-size: 22px;
        font-weight: bold;
    }

    .feature-card hr {
        border-top: 0.1px solid #5b5f52;
        opacity: 1;
        margin: 12px 0 18px;
    }

    .feature-card p {
        font-size: 14px;
        line-height: 1.7;
        color: #555;
    }

@media (min-width: 992px) {
    .feature-card {
        width: 340px;
        height: 240px;
    }
}

@media (max-width: 991px) {
    .features-grid {
        flex-direction: column;
        margin-left: 0;
        margin-right: 0;
    }

    .feature-card {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 576px) {
    .feature-card {
        padding: 20px 15px;
    }

        .feature-card h3 {
            font-size: 18px;
        }

        .feature-card p {
            font-size: 13px;
            line-height: 1.6;
        }
}


/* --- Mission Section Stylings --- */
.mission-row {
    margin-top: 0px;
    background-color: #003666;
    color: #fff;
}

.target-img-wrapper {
    max-width: 320px;
    margin: 0 auto;
}

    .target-img-wrapper img {
        width: 100%;
        height: auto;
    }

.mission-vision-content h3 {
    font-size: 35px;
    font-weight: 700;
    color: #D81B60;
    margin-top: 20px;
    margin-bottom: 30px;
}

.mission-vision-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #fff;
    margin-bottom: 40px;
}

/* --- Organizational Training Section --- */
.training-row,
.training-row-right {
    min-height: 420px;
    display: flex;
    align-items: center;
    padding: 60px 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center top;
}

.training-row {
    background-color: #fff;
    background-image: linear-gradient( to bottom, rgba(10, 37, 64, 0.85) 0%, rgba(10, 37, 64, 0.85) 100% );
}

.training-row-right {
    color: #fff;
    background-image: linear-gradient( to bottom, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.85) 100% );
}

.training-heading {
    font-size: 32px;
    display: inline-block;
    font-weight: bold;
    color: #f8f8f7 !important;
    background-color: #D81B60!important;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.training-badge {
    background-color: #D81B60;
    color: #fff;
    display: inline-block;
    padding: 8px 20px;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
}

.training-text,
.training-text1 {
    color: #e2e8f0 !important;
    font-size: 18px;
    line-height: 1.7;
}

.training-text-container h4 {
    color: #ffffff;
    font-size: 30px;
    margin-bottom: 5px;
    font-weight: normal;
}

.training-img-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* --- Desktop Layout Enhancements (992px and up) --- */
@media (min-width: 992px) {
    .target-img-wrapper img {
        width: 350px;
        height: 380px;
        margin-left: -150px;
    }

    .mission-vision-content h3 {
        margin-bottom: 80px;
    }

    .mission-vision-content p {
        margin-top: -70px;
    }

    .training-row,
    .training-row-right {
        padding: 100px 0;
        background-attachment: fixed;
    }

    .training-row {
        background-image: linear-gradient( to right, rgba(10, 37, 64, 0.80) 0%, rgba(10, 37, 64, 0.80) 50%, rgba(10, 37, 64, 0.0) 50% ), url('../Images/Assests/images/background.jpg');
    }

    .training-row-right {
        background-image: linear-gradient( to right, rgba(0, 0, 0, 0.0) 0%, rgba(0, 0, 0, 0.0) 50%, rgba(0, 0, 0, 0.80) 50%, rgba(0, 0, 0, 0.80) 100% ), url('../Images/Assests/images/background1.jpg');
    }

    .training-text1 {
        margin-left: -60px;
    }
}

/* --- Responsive Media Queries  --- */
@media (max-width: 991px) {
    .master-profile-wrapper {
        padding: 30px 20px;
    }

    .overlap-row {
        margin-left: 0;
        margin-right: 0;
    }

    .circle-bg {
        width: 260px;
        height: 260px;
        margin: 0 auto 25px;
        left: 0;
        top: 0;
    }

    .text-section h1,
    .text-section p {
        margin-left: 0;
        text-align: center;
    }

    .features-grid {
        flex-direction: column;
    }

    .training-row,
    .training-row-right {
        flex-direction: column;
        text-align: center;
    }
}


.ImageContainer {
    max-width: 1700px;
    background-image: url('../Images/Assests/aboutus/shape.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 10px 0;
}