* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Titillium Web', sans-serif;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*__________FEMALE CADETS BANNER_________*/
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

.banner-female {
    animation: fadeInUp 1.5s ease-in-out;
}

.banner {
    background: linear-gradient(rgba(18, 35, 72, 0.8), rgba(18, 35, 72, 0.8)),
        url('../../res/img/female/female1.jpg') no-repeat center center/cover;
    min-height: 120vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 0;
    text-align: center;
    background-attachment: fixed;
    margin-top: -100px;
}

.banner-female {
    padding-top: 250px;
    color: white;
    width: 55%;
    margin-left: -100px;
}

.banner-flex {
    display: flex;
    justify-content: center;
}

.banner-flex img {
    margin-top: 80px;
    margin-right: 90px;
    width: auto;
    height: auto;
    max-height: 575px;
    object-fit: contain;
    animation: fadeInUp 1.5s ease-in-out;
}

.banner-female h2 {
    font-family: "Bree Serif", serif;
    font-size: 4rem;
    line-height: 1;
    letter-spacing: 3px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.banner-female hr {
    background-color: #cda757;
    opacity: 100%;
    border: none;
    height: 5px;
    width: 100%;
    margin-top: 20px;
}

.banner-female p {
    font-family: 'Titillium Web', sans-serif;
    text-align: center;
    margin-top: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
    margin-bottom: 30px;
}

#btn {
    font-family: 'Titillium Web', sans-serif;
    background: transparent;
    color: white;
    font-size: 1rem;
    padding: 12px 40px;
    border: 2px solid white;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none;
}

#btn:hover {
    background-color: transparent;
    color: #cda757;
    border: 2px solid #cda757;
    transform: scale(1.05);
}

#female-info-content {
    scroll-margin-top: 200px;
}

@media screen and (min-width: 1650px) {

    /*__________FEMALE CADETS BANNER_________*/

    .banner-flex img {
        max-height: 750px;
    }

    .banner-female h2 {
        font-size: 5.5rem;
    }

    .banner-female p {
        margin-bottom: 0px;
        padding: 10px;
        font-size: 1.5rem;
    }

    #btn {
        font-size: 1.5rem;
        padding: 5px 40px;
    }
}

@media screen and (max-width: 1200px) {

    /*__________FEMALE CADETS BANNER_________*/
    .banner-female {
        padding-top: 200px;
        margin-left: -170px;
    }
}

@media screen and (max-width: 1024px) {

    /*__________FEMALE CADETS BANNER_________*/
    .banner-female {
        margin-left: -40px;
    }

    .banner-flex img {
        margin-top: 80px;
        max-height: 450px;
        margin-right: 0;
        margin-left: -100px;
    }

    .banner-female h2 {
        font-size: 2.7rem;
    }

    .banner-female p {
        margin-bottom: 0px;
        padding: 10px;
    }

    #btn {
        font-size: 1rem;
        padding: 5px 40px;
    }
}

@media screen and (max-width: 768px) {

    /*__________FEMALE CADETS BANNER_________*/
    .banner-female {
        position: absolute;
        padding-top: 100px;
        right: 2%;
        background-color: rgba(0, 0, 0, 0.4);
    }

    .banner-flex img {
        max-height: 500px;
    }

    .banner-female h2 {
        font-size: 2rem;
    }

    #btn {
        font-size: 0.7rem;
    }
}

/*__________FEMALE INFO_________*/
.female-info h1 {
    font-family: "Bree Serif", serif;
    font-size: 2rem;
    font-weight: bold;
    margin-top: 70px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
}

.female-info-content {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
}

.female-info-content .left {
    background-color: rgba(255, 255, 255, 0.7);
    padding: 20px;
    height: 350px;
    width: 350px;
    z-index: 50;
    border-radius: 3%;
    transition: transform 0.3s ease-in-out;
    animation: fadeInUp 1.5s ease-in-out;
}

.left:hover {
    transform: translateY(-7px);
    box-shadow: 0px 10px 20px rgba(205, 168, 87, 0.8);
    cursor: pointer;
}

.female-info-content .middle {
    background-color: rgba(255, 255, 255, 0.7);
    padding: 20px;
    height: 350px;
    width: 350px;
    z-index: 50;
    border-radius: 3%;
    transition: transform 0.3s ease-in-out;
    animation: fadeInUp 1.5s ease-in-out;
}

.middle:hover {
    transform: translateY(-7px);
    box-shadow: 0px 10px 20px rgba(205, 168, 87, 0.8);
    cursor: pointer;
}

.female-info-content .right {
    background-color: rgba(255, 255, 255, 0.7);
    padding: 20px;
    height: 350px;
    width: 350px;
    z-index: 50;
    border-radius: 3%;
    transition: transform 0.3s ease-in-out;
    animation: fadeInUp 1.5s ease-in-out;
}

.right:hover {
    transform: translateY(-7px);
    box-shadow: 0px 10px 20px rgba(205, 168, 87, 0.8);
    cursor: pointer;
}

.female-info-content .icon-percent {
    margin-top: 10px;
    margin-bottom: 10px;
    width: auto;
    height: auto;
    max-width: 120px;
    max-height: 140px;
    object-fit: contain;
    z-index: 50;
}

.female-info-content .icon-height {
    margin-top: 15px;
    margin-bottom: 20px;
    width: auto;
    height: auto;
    max-width: 120px;
    max-height: 190px;
    object-fit: contain;
    z-index: 50;
}

.female-info-content .icon-bulb {
    margin-top: 7px;
    margin-bottom: 15px;
    width: auto;
    height: auto;
    max-width: 120px;
    max-height: 110px;
    object-fit: contain;
    z-index: 50;
}

.female-info-content h2 {
    font-family: "Bree Serif", serif;
    font-size: 1.8rem;
    z-index: 50;
    color: #122348;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.female-info-content p {
    font-family: 'Titillium Web', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #ffffff;
    z-index: 50;
    color: #122348;
    text-align: justify;
    padding-left: 25px;
    padding-right: 25px;
}

.bottom {
    margin-top: 20px;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 20px;
    height: auto;
    width: 100%;
    z-index: 50;
    animation: fadeInUp 1.5s ease-in-out;
}

.bottom p {
    color: #122348;
}

#female3-section p {
    color: white;
}

#female4_1 p {
    color: white;
}

@media screen and (min-width: 1650px) {
    .female-info {
        height: auto;
        padding: 30px 10px;
    }

    .female-info {
        height: auto;
        margin-top: -100px;
        padding: 60px 15px;
        text-align: center;
    }

    .female-info h1 {
        font-size: 1.5rem;
        margin-top: 100px;
    }

    .female-info-content .left,
    .female-info-content .middle,
    .female-info-content .right {
        width: 100%;
        max-width: 450px;
        height: 400px;
        background-size: cover;
        padding: 15px;
    }


    .female-info-content h2 {
        font-size: 1.5rem;
    }

    .female-info-content p {
        font-size: 1.5rem;
        padding: 10px;
        text-align: center;
    }
}

@media screen and (max-width: 1200px) {
    .female-info {
        height: auto;
        padding: 30px 10px;
    }

    .female-info {
        height: auto;
        margin-top: -100px;
        padding: 60px 15px;
        text-align: center;
    }

    .female-info h1 {
        font-size: 1.5rem;
        margin-top: 100px;
    }

    .female-info-content .left,
    .female-info-content .middle,
    .female-info-content .right {
        width: 100%;
        max-width: 300px;
        height: 350px;
        background-size: cover;
        padding: 15px;
    }

    .female-info-content h2 {
        font-size: 1.5rem;
    }

    .female-info-content p {
        font-size: 1rem;
        padding: 10px;
        text-align: center;
    }

    .modal_p {
        gap: 0px !important;
    }

    .modal_p p {
        padding-right: 0px !important;
        margin-right: 0px !important;
    }

    .modal_p img {
        width: 200px !important;
        height: auto;
    }

}

@media screen and (max-width: 1024px) {
    .female-info-content {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .female-info-content .left,
    .female-info-content .middle,
    .female-info-content .right {
        max-width: 400px;
    }

    /* Modal */
    .modal {
        display: none;
        position: fixed;
        z-index: 1000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(18, 35, 72, 0.8);
    }

    .modal-content {
        display: block !important;
    }

    .modal-header img {
        width: 60px;
        height: auto;
        object-fit: contain;
    }

    .modal-header h2 {
        margin: 0;
        font-size: 30px;
    }

    .modal-content h2 {
        color: #122348;
    }

    .modal_p {
        padding-top: 0px;
        display: block !important;
        align-items: center;
        padding: 0px !important;
        gap: 20px;
    }

    .modal_p img {
        padding-top: 20px;
    }

    .modal_p p {
        padding-top: 5px;
        flex: 1;
        text-align: justify;
        font-size: 1rem !important;
        width: 100%;
    }
}

@media screen and (max-width: 768px) {

    .female-info-content .left,
    .female-info-content .middle,
    .female-info-content .right {
        max-width: 280px;
    }

    .female-info-content p {
        font-size: 0.9rem;
    }

    /* Modal */
    .modal_p img {
        width: 150px !important;
    }
}

@media screen and (max-width: 480px) {
    .female-info-content h2 {
        font-size: 1.5rem;
    }

    .female-info-content p {
        font-size: 0.9rem;
    }

    /* Modal */

    .modal_p img {
        width: 130px !important;
    }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(18, 35, 72, 0.8);
}

.modal-content {
    width: 70%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 500px;
    background-color: #fff;
    color: #122348;
    padding: 20px;
    border-radius: 8px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 10px;
    position: absolute;
    top: 5%;
}

.modal-header img {
    width: 60px;
    height: auto;
    object-fit: contain;
}

.modal-header h2 {
    margin: 0;
    font-size: 30px;
}

.modal-content h2 {
    color: #122348;
}

.modal_p {
    padding-top: 50px;
    display: grid;
    grid-template-columns: 50% 50%;
    align-items: center;
    padding: 50px;
    gap: 20px;
}

.modal_p img {
    width: 300px;
    height: auto;
}

.modal_p p {
    padding-right: 20px;
    margin-right: 20px;
    flex: 1;
    text-align: justify;
    font-size: 1.4rem;
}

.modal-content p {
    color: #122348;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #122348;
    font-weight: bold;
}

/* Female 3 */
#female3-section,
#female4-section,
#female5-section,
#female6-section {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: justify;
    padding: 30px;
    width: 100%;
    gap: 20px;
    animation: fadeInUp 1.5s ease-in-out;
}

#female3,
#female4 {
    width: 450px;
    flex-shrink: 0;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.4);
}

#female6 {
    width: 550px;
    flex-shrink: 0;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.4);
}

#female2 {
    width: 250px;
    flex-shrink: 0;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.4);
}

#female3_1,
#female4_1,
#female5_1 {
    flex: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    padding: 20px;
    font-size: 20px;
}

#female6-section {
    color: #122348;
    background-color: rgba(255, 255, 255, 0.7);
    margin: 0;
    padding: 0;
    font-size: 20px;
    margin-bottom: 50px;
}

#female6_1 p {
    padding-right: 40px;
    padding-left: 20px;
}

#female5_1 p {
    color: #122348;
    margin-top: 20px;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 20px;
    height: auto;
    width: 100%;
    z-index: 50;
    border-radius: 5px;
    text-shadow: none;
    border-bottom: 5px solid #cda757;
}

#female5_1 p:hover {
    transform: translateY(-7px);
    box-shadow: 0px 10px 20px rgba(205, 168, 87, 0.8);
}

#female5 {
    width: 300px;
    height: auto;
    flex-shrink: 0;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.4);
}

@media screen and (min-width: 1650px) {

    #female3-section p,
    #female4-section p,
    #female5-section p,
    #female6-section p {
        font-size: 1.5rem;
    }

    .bottom {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 1200px) {

    /* Female 3 */
    #female3-section,
    #female4-section,
    #female5-section,
    #female6-section {
        align-items: center;
        justify-content: center;
        padding: 10px;
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media screen and (max-width: 1024px) {

    /* Female 3 */
    #female3-section,
    #female4-section,
    #female5-section,
    #female6-section {
        display: block;
        text-align: center;
    }

    #female3-section p,
    #female4-section p,
    #female5-section p,
    #female6-section p {
        text-align: justify;
    }

    #female3,
    #female4 {
        width: 50%;
        flex-shrink: 0;
        box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.4);
    }

    #female6 {
        width: 50%;
    }

    #female2 {
        width: 50%;
    }

    #female5 {
        width: 50%;
    }
}

@media screen and (max-width: 768px) {

    #female3,
    #female4 {
        width: 60%;
    }

    #female6 {
        width: 60%;
    }

    #female2 {
        width: 60%;
    }

    #female5 {
        width: 60%;
    }
}