@font-face {
    font-family: "Amsterdam Two";
    src: url("/fonts/amsterdam-two/amsterdam-two.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

.amsterdam-two {
    font-family: "Amsterdam Two", sans-serif !important;
}

.ym-bg-grey {
    background-color: #f6f6f6;
}

.company-profile-cards,
.company-profile-img {
    transition: transform 0.5s ease;
}

/* Animates cards to popup */
.company-profile-cards:hover {
    transform: scale(1.1);
    z-index: 1;
}

/* Animates cards images to zoom */
.company-profile-cards:hover .company-profile-img {
    transform: scale(1.4);
}

.card-img-top img {
    object-fit: inherit;
    /* object-position: 50% 130%; */
    max-width: 100%;
    max-height: 250px !important;
}

.core-values-div :hover .value-icon {
    transform: scale(1.3);
}

/* Animations for list of branches START */
.branch-items {
    background: linear-gradient(to left, #f6f6f6 50%, #000495 50%) right;
    background-size: 200%;
    transition: 0.5s ease-out;
}

.branch-items:hover {
    background-position: left;
    color: #fff;
}

.branch-name,
.branch-links,
.branch-links i {
    -webkit-transition: all ease 0.8s;
    -moz-transition: all ease 0.8s;
    transition: all ease 0.8s;
}

.branch-items:hover .branch-name {
    color: #fff;
}

.branch-items:hover .branch-links {
    color: #fff !important;
    /* border: 1px solid #fff !important; */
    border-color: #fff !important;
}

.branch-items:hover .branch-links i,
branch-items:hover .branch-links a {
    color: #fff !important;
}
/* Animations for list of branches END */

.branch-links-btn {
    /* border: 1px solid #0000a9;
    background-color: transparent;
    color: #0000a9;
    font-weight: 500;
    padding: 0px 0px 0 20px;
    width: 135px;
    height: 40px;
    font-size: 0.9em; */
    right: 2% !important;
    bottom: -15px !important;
    text-decoration: none;
    color: #020277 !important;
    border-color: #020277 !important;
    border-width: 0.2rem !important;
    padding-left: 2.5rem !important;
    padding-right: 2.5rem !important;
    border: 1px solid;

    width: 187px;
    height: 40px;
}

.branch-links-btn:hover {
    text-decoration: none;
    color: #0000a9;
}

.branch-links-btn:focus {
    box-shadow: none !important;
}

div.branch-images {
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center !important;
}

#branch-tabs .nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    border-top: #ffffff;
    border-right: #ffffff;
    border-left: #ffffff;
    border-bottom: 4px solid #000495;
}

#branch-tabs .nav-link {
    text-transform: uppercase;
    color: #0000a9;
    font-weight: bold;
    font-size: 1.3em;
}

#branch-tabs .nav-link:hover {
    border-top: none;
    border-left: none;
    border-right: none;
}

#slight-bold {
    font-weight: 500;
}

.div-line {
    width: 100%;
    height: 2px !important;
    /* border: 1px solid #020277; */
    background-color: #000495;
}

.line {
    /* width: 25%; */
    width: 120px;
    height: 2px !important;

    /* background-color: #020277; */
}

.blue {
    color: #000495;
}

#blue-bold {
    font-weight: bold;
    color: #000495;
}
/* intro-section */
.intro-section {
    padding: 5rem 5rem 7rem;
}

.peza-icon {
    height: 150px;
    width: 150px;
}

.team-pic {
    width: 500px;
    height: 380px;
}

@media only screen and (max-width: 1000px) {
    .intro-section {
        padding: 3rem;
    }
}

@media only screen and (max-width: 400px) {
    .intro-section {
        padding: 1.5rem;
    }
}
/* intro-section */

/* mission-vision */
.mission-vision {
    background-color: #000495;
    color: #ffffff;
    position: relative;
}

.mission-img {
    position: absolute;
    width: 650px;
    height: 350px;
    /* top: -80px; */
    top: -21%;
    object-fit: cover;
}

.vision-img {
    position: absolute;
    width: 650px;
    height: 350px;
    /* bottom: -120px; */
    bottom: -39%;
    right: 12px;
    object-fit: cover;
}

#vision-txt {
    color: #f8513c !important;
}

/* Small Laptop */
@media only screen and (max-width: 1200px) {
    .mission-vision {
        padding-top: 3rem;
        padding-left: 3rem;
        padding-right: 3rem;
    }
    .mission-img,
    .vision-img {
        position: static;
    }
}

/* Mobile View */
@media only screen and (max-width: 425px) {
    /* .card-title, */
    .card-text {
        font-size: 1em !important;
    }
}

/* @media only screen and (max-width: 400px) {
    .mission-img,
    .vision-img {
        display: none;
    }
} */

/* mission-vision */

/* history-section */

.history-section {
    padding: 2rem 6rem 3rem 3rem;
    background-color: #f6f6f6;
}

.history-txt {
    /* letter-spacing: 0.1em; */
    text-align: center;
    /* font-weight: 500; */
    /* font-style: italic; */
    /* transform: skew(-2deg); */
}

.history-btn {
    font-weight: 400;
    border-radius: 30px;
    padding: 8px 50px 8px 50px;
    background-color: #ef4b4c;
    /* color: white; */
}

.history-img {
    height: 300px;
    width: 600px;
    object-fit: cover;
}

.text-box {
    padding: 0px 10px;
    text-align: center;
    width: 500px;
    font-weight: 600;
    background-color: #3d619b;
    border-radius: 30px;
    color: white;
}

.service-icons {
    width: 60px;
    height: 60px;
}

.father-img {
    width: 25rem;
    height: 33rem;
}

@media only screen and (max-width: 1000px) {
    .history-section {
        padding: 2rem 3rem;
    }

    .mission-img,
    .vision-img {
        width: 100%;
        height: auto;
    }
}
/* history */

/* our-team */
.team-section {
    padding-top: 3rem;
    color: #000495;
}

.corpo-img {
    height: 650px;
}

.president-img {
    height: auto;
    width: 350px;
    position: relative;
}

/* .pres-info {
    position: relative;
    right: 0;
    top: 25%;
} */

/* .president-info {
    position: absolute;
    top: 150px;
    right: 25px;
} */

.president-section {
    background-color: #f6f6f6;
}

.card-img {
    width: 9rem;
    height: 9rem;
}

/* .card {
    border: 1px solid #20325a;
}
.card-body {
    color: #ffffff;
    font-size: 12px;
    background-color: #20325a;
} */

.member-container {
    /* display: none; */
    border-bottom: none;
    animation: fade-bottom 0.5s ease-in;
}

.member-container:not(:last-child):not(:nth-last-child(2)) {
    border-bottom: 1px solid #c3c3c3;
}

.member-container:nth-child(odd) {
    border-right: 1px solid #c3c3c3;
}

.box-divider {
    width: 1px;
    height: 100%;
    background-color: black;
}

.show {
    display: block;
}

.v-divider {
    border-left: 1px solid black;
    height: 100%;
    margin-left: -1px;
}

@media only screen and (max-width: 700px) {
    .team-section {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .president-img {
        height: 450px;
        width: 350px;
    }

    .father-img {
        width: 25rem;
        height: 30rem;
    }

    .card-img {
        width: 12rem;
        height: 12rem;
    }
}

@media only screen and (max-width: 500px) {
    .team-section h5 {
        font-size: 0.9rem;
    }

    .team-section p {
        font-size: 0.7rem;
    }

    .president-img {
        height: 300px;
        width: 200px;
    }

    .father-img {
        width: 17rem;
        height: 23rem;
    }

    .card-img {
        width: 6rem;
        height: 6rem;
    }

    /* .text-justify {
        text-align: justify !important;
        text-justify: distribute;
        hyphens: auto;
        word-spacing: -0.05em;
    } */
    .text-justify {
        /* font-size: 4.3vw; */
        /* text-align-last: left;
        word-spacing: -0.05em; */
        text-align: justify;
        hyphens: auto;
        -webkit-hyphens: auto;
        word-spacing: -0.05em;
    }

    /* .text-justify::after {
        content: "";
        display: inline-block;
        width: 100%;
    } */
}

/* our-team */
#carouselExampleIndicators {
    width: 100%;
    /* margin-left: 50px;
    margin-right: 50px; */
}

#slider {
    margin-bottom: 40px;
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.carousel-indicators li {
    width: 15px;
    height: 15px;
    border-radius: 100%;
    bottom: -50px;
    background-color: #d9d9d9;
}

.carousel-indicators .active {
    background-color: #969494;
}

#slide-img {
    height: 300px;
    object-fit: cover;
}

.carousel-control-prev {
    margin-left: -120px;
}

.carousel-control-next {
    margin-right: -120px;
}

@media only screen and (max-width: 1000px) {
    #slide-img {
        height: 250px;
        width: auto;
    }

    .carousel-control-prev {
        margin-left: -60px;
    }

    .carousel-control-next {
        margin-right: -60px;
    }

    .carousel-controls {
        width: 30px;
        height: 30px;
    }

    .corpo-img {
        height: 350px;
    }
}

.members {
    font-size: 20px;
    color: #020277;
    /* font-weight: 600; */
}

.load-more {
    font-weight: 400;
    border-radius: 0;
    padding: 10px 50px 10px 50px;
    background-color: #55b1ff;
    color: #020277;
    font-weight: bold;
}

.member-img {
    width: 170px;
    height: 170px;
    border: 2px solid #55b1ff;
    border-radius: 20px;
}

/* our-team */

/* values */
.values-section {
    padding-left: 6rem;
    padding-right: 6rem;
}

@media only screen and (max-width: 1000px) {
    .values-section {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

.pres-desc {
    hyphens: auto;
    font-weight: 500;
    font-size: 15px;
    text-align: justify;
}

.value-icon {
    height: 75px;
    width: 75px;
    transition: transform 0.5s ease;
}

.values-box {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
    width: 400px;
    border-radius: 30px;
    background-color: #b2d5ed;
    text-align: center;
}

.values-container {
    padding: 1rem 2rem;
    max-width: 600px;
    background-color: #ef4b4c;
    border-radius: 20px;
    /* width: 800px; */
}

.faqs-container {
    padding: 3rem 7rem 3rem 3rem;
    background-image: linear-gradient(90deg, #2c7fed, #020277);
    border-radius: 20px;
    color: white;
}

.join-btn {
    font-weight: 400;
    border-radius: 30px;
    padding: 10px 50px 10px 50px;
    background-color: #3d619b;
    color: #ffffff;
    font-weight: bold;
}

#why-choose {
    color: white;
    font-weight: bold;
}

/* values */
.value-title {
    color: #fefdfd;
    font-weight: bold;
}
.value-txt {
    color: #fefdfd;
    text-align: justify;
    font-size: 18px;
}

.one-point-five-em {
    font-size: 1.5em;
}

.one-em {
    font-size: 1em;
}

/* clients */
.clients-img {
    height: 550px;
    width: 90%;
}

@media only screen and (max-width: 1000px) {
    .clients-img {
        height: 350px;
    }
}

/* clients */

/* partners */
.partners-section {
    background-color: #000495;
}

/* partners */

/* faqs */
.faqs-section {
    /* background-image: url("../../../images/about-us/faqs-bg.png"); */

    background-repeat: no-repeat;
}

.title-line {
    border-bottom: 2px solid #000495;
    width: 70%;
}

.thin-line {
    border-bottom: 1px solid #000495;
    width: 80%;
}

.circle {
    height: 80px;
    width: 80px;
    border-radius: 50%;
    background-color: yellow;
}

.contact-box {
    background-color: #000aaa;
    width: 350px;
    height: 200px;
    border-radius: 30px;
    padding: 20px;
}

.contact-btn {
    font-weight: 700;
    border-radius: 30px;
    padding: 10px 25px 10px 25px;
    background-color: #ef4b4c;
    color: #ffffff;
}

.group-img {
    height: 130px;
}

.faqs-img {
    width: 220px;
    height: 170px;
}

@media only screen and (max-width: 1000px) {
    .group-img {
        height: 70px;
    }
}

.wrapper {
    width: 100%;
}

.panel {
    background-color: #3d619b;
    border-radius: 30px;
    margin-bottom: 1rem;
}
@media (max-width: 992px) {
    .wrapper {
        width: 100%;
    }
}
.panel-heading {
    padding: 0;
    border: 0;
}

.panel-title {
    padding: 0.5rem;
    border-radius: 30px;
    margin-bottom: 0px;
}

.panel-body {
    background-color: #eef3fa;
    border-radius: 30px;
    padding: 0.5rem 1.5rem 1.5rem;
}
.panel-title > a,
.panel-title > a:active {
    display: block;
    padding: 15px;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    word-spacing: 3px;
    text-decoration: none;
}
#plus {
    float: right;
    color: white;
    margin-top: 17px;
    margin-right: 30px;
    font-size: 35px;
    cursor: pointer;
}

.panel-heading.active a:before {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    transform: rotate(180deg);
}

/* faqs */

/* test slider */
.slider {
    position: relative;
}

.item {
    position: relative;
}

.item .description {
    position: absolute;
    color: #fff;
    z-index: 10;
    bottom: -99em;
    transition: all 0.6s;
    width: 100%;
    min-height: 100px;
    margin: 0;
    padding: 10px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-shadow: 0px -100px 75px -75px rgba(0, 0, 0, 0.7) inset;
    text-align: right;
}

.item .description a {
    color: #fff;
    text-decoration: none;
}

.item:hover .description {
    bottom: 0;
}

.slick-prev:before,
.slick-next:before {
    font-family: "slick";
    font-size: 30px;
    line-height: 1;
    opacity: 0.75;
    -moz-osx-font-smoothing: grayscale;
    color: #000495;
}
.slick-prev {
    left: -25px;
}

/* .slick-next {
    right: 0;
} */

.slick-prev,
.slick-next {
    position: absolute;
    display: block;
    height: 245px;
    width: 20px;
    line-height: 0;
    font-size: 0px;
    cursor: pointer;
    background: none repeat scroll 0% 0% transparent;
    color: transparent;
    padding: 5px;
    border: medium none;
    outline: medium none;
    border-radius: none;
}

.variable-width .slick-slide {
    height: 300px;
}

.slick-dots {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 1rem 0;
    list-style-type: none;
}

.slick-dots li {
    margin: 0 0.25rem;
}

.slick-dots li button {
    display: block;
    width: 1rem;
    height: 1rem;
    padding: 0;
    border: none;
    border-radius: 100%;
    background-color: #d9d9d9;
    text-indent: -9999px;
}

/* .slick-dots li.slick-active button {
    background-color: #000495;
} */

/* branches */
.branches-section {
    /* padding-left: 3rem; */
}
.branch-head {
    font-size: 14px;
    font-weight: bold;
    /* transform: skew(-5deg); */
    margin-bottom: 0;
    color: #000495;
}

.branch-txt {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 0;
}

.branch-link {
    color: #000000;
    text-decoration: none;
}

.branch-link:hover {
    text-decoration: none;
    color: #f8513c;
}

.image-map {
    /* height: 90%;
    width: 59%; */
    height: 100%;
    width: 100%;
    display: block;
}

.card-text {
    /* font-size: 13px; */
    font-size: clamp(1em, 2vw, 1.3em) !important;
    font-weight: bold;
}

.card-title {
    font-size: clamp(1em, 2vw, 1.7em) !important;
}

.card-title {
    font-weight: bolder;
    color: #000495;
    transform: skew(-5deg);
}

.popup-card {
    width: 16rem;
    height: 270px;
    box-shadow: 0px 6px 5px 0px rgba(0, 0, 0, 0.75);
}

.popup-img {
    width: 100%;
    /* height: 70px; */
    height: 100%;
    object-fit: contain;
}

/* popups */
.popup {
    display: none;
    position: absolute;
    /* top: 50%;
    left: 50%; */
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
}

/* Large devices (desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    .branch-map-div {
        height: 90% !important;
        width: 100% !important;
    }

    .image-map {
        height: auto;
    }

    /* Cebu */
    #popup1 {
        left: 69%;
        bottom: 36%;
    }

    /* Manila */
    #popup2 {
        left: 44%;
        top: 32%;
    }

    /* Cagayan */
    #popup3 {
        right: 8%;
        bottom: 28%;
    }

    /* Bacolod */
    #popup4 {
        right: 23%;
        top: 57%;
    }

    /* Davao */
    #popup5 {
        right: 3%;
        bottom: 21%;
    }

    /* Gensan */
    #popup6 {
        right: 8%;
        bottom: 19%;
    }

    #popup7 {
        left: 58%;
        top: 55%;
    }

    /* Zamboanga */
    #popup8 {
        left: 61%;
        bottom: 25%;
    }

    /* Tagbilaran */
    #popup9 {
        right: 13%;
        bottom: 33%;
    }
}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .branch-map-div {
        height: 90% !important;
        width: 59% !important;
    }

    .image-map {
        height: 100%;
    }

    /* Cebu */
    #popup1 {
        left: 69%;
        bottom: 30%;
    }

    /* Manila */
    #popup2 {
        left: 44%;
        top: 34%;
    }

    /* Cagayan */
    #popup3 {
        right: 8%;
        bottom: 19%;
    }

    /* Bacolod */
    #popup4 {
        right: 23%;
        top: 57%;
    }

    /* Davao */
    #popup5 {
        right: 3%;
        bottom: 10%;
    }

    /* Gensan */
    #popup6 {
        right: 8%;
        bottom: 4%;
    }

    #popup7 {
        left: 58%;
        top: 56%;
    }

    /* Zamboanga */
    #popup8 {
        left: 61%;
        bottom: 13%;
    }

    /* Tagbilaran */
    #popup9 {
        right: 13%;
        bottom: 26%;
    }
}

/* popups */

/* Hover actions  */

.relative {
    /* background-image: url("../../../images/about-us/map-bg.png"); */
    background-size: cover;
    background-position: center center;
    /* height: 100%; */
    height: 43rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.mobile-branch {
    display: none;
}

.mobile-card {
    border-radius: 0;
    /* width: 5.5rem; */
    width: 100%;
    height: 7.5rem;
    background-color: #020277;
}

.mobile-img {
    width: 100%;
    height: 6.5rem;
    object-fit: cover;
}

.ym-branch {
    width: 7rem;
    height: 7.5rem;
    object-fit: cover;
}

.mobile-txt {
    color: white;
    font-size: 8px;
    font-weight: bold;
    padding-left: 0.5rem;
}

@media only screen and (max-width: 1000px) {
    .relative {
        display: none;
        background-image: none !important;
    }

    .desktop-branch {
        display: none;
        background-image: none !important;
    }

    .mobile-branch {
        display: block;
    }
}

/* @media only screen and (min-width: 992px) {
    .desktop-branch {
        display: none;
        background-image: none !important;
    }

    .mobile-branch {
        display: block;
    }
} */

@media only screen and (max-width: 480px) {
    .branches-section {
        /* padding-left: 1rem;
        padding-right: 1rem; */
    }

    /* .image-map {
        display: none;
        height: 480px;
        width: 16rem;
    } */

    .branch-head {
        font-size: 10px;
    }

    .branch-txt {
        font-size: 8px;
    }
}
/* branches */

/* partners */
.img-front {
    /* height: 250px;
    width: 200px; */
}

.img-back {
    height: 100px;
}
.backside p {
    color: #000000;
    text-align: justify;
    /* font-weight: 500; */
}
/* partners */

/* affiliated clients */

.frontside {
    position: relative;
}
.affiliated-img {
    height: 180px;
    width: 180px;
}

.more-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

@media only screen and (max-width: 430px) {
    .frontside,
    .backside {
        height: 350px;
        width: 300px;
    }
}

@media screen and (max-width: 350px) {
    .company-profile-img {
        max-width: 100%;
    }
}
