@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700&display=swap");
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Outfit:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    -webkit-tap-highlight-color: transparent;
    -webkit-focus-ring-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter"; /* font-family is inherited */
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* start of banner ------------------------------------------------------------------------------------ */
.banner {
    box-sizing: border-box;
    position: relative;
    width: 100%;
    color: white;
    background-color: rgba(11, 64, 8, 0.90);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.banner-container {
    box-sizing: border-box;
    position: relative;
    width: 100%;
    max-width: 1920px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.banner-texts {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 41%;
}

.top-headline {
    font-family: 'Outfit';
    font-size: 22.5px;
    font-weight: 400;
    letter-spacing: -3%;
    line-height: 1;
    padding: 2.5em 0.89em 2.5em 0.89em;
    margin-bottom: 0;
    text-align: center;
}

.headline {
    box-sizing: border-box;
    position: relative;
    display: flex;
    flex-direction: column;
    font-family: 'Outfit';
    align-items: flex-start;
}

.headline > .let-gpi, .the-facts {
    font-family: 'Outfit';
    font-size: 64px;
    font-weight: bold;
    line-height: 1;
    margin: 0;
}

.headline > .unearth {
    font-family: 'Outfit';
    font-size: 125px;
    font-weight: bold;
    line-height: 1;
    margin: 0;
}

.headline > .the-facts {
    align-self: flex-end;
}

.years-in-service {
    box-sizing: border-box;
    width: 100%;
    border-top: 1px solid white;
    border-bottom: 1px solid white;
    margin-top: 75px;
    padding: 11px 0;
    position: relative;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.years-in-service > .fifty-nine {
    box-sizing: border-box;
    font-family: 'Outfit';
    font-size: 96px;
    font-weight: 700;
    line-height: 1;
    margin: 0;
}

.years-in-service > .y-i-s {
    box-sizing: border-box;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 300;
    font-size: 24px;
    letter-spacing: -3%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slider-container {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
    position: relative;
    width: 59%;
    aspect-ratio: 5664 / 3395;
    overflow: hidden;
    background-color: #fff;
}

.slider-wrapper {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 2.5s ease-in-out; /* Smooth transition for sliding */
}

.slider-image {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
    min-width: 100%; /* Each image takes full width of the wrapper */
    height: 100%;
    object-fit: cover; /* Cover the area, crop if necessary */
}

@media (max-width: 1900px) {
    .years-in-service {
        margin-top: 50px;
    }
}

@media (max-width: 1700px) {
    .top-headline {
        font-size: 20px;
        padding: 1em 0.89em 1em 0.89em;
    }
    .years-in-service {
        margin-top: 30px;
    }
    .banner-texts {
        justify-content: space-around;
    }
    .headline > .let-gpi, .the-facts {
        font-size: 52px;
    }
    .headline > .unearth {
        font-size: 113px;
    }
}

@media (max-width: 1410px) {
    .banner-texts {
        justify-content: space-around;
    }
    .top-headline {
        font-size: 18px;
        padding: 1em 0.89em 1em 0.89em;
    }
    .headline > .let-gpi, .the-facts {
        font-size: 45px;
    }
    .headline > .unearth {
        font-size: 102px;
    }
    .years-in-service {
        margin-top: 20px;
        padding: 6px 0;
    }
    .years-in-service > .fifty-nine {
        font-size: 76px;
        font-weight: 600;
    }
    .years-in-service > .y-i-s {
        font-weight: 300;
        font-size: 18px;
    }
}

@media (max-width: 1336px) {
    .top-headline {
        font-size: 16px;
        padding: 0.6em 0.69em 0.6em 0.69em;
    }
    .headline > .let-gpi, .the-facts {
        font-size: 35px;
    }
    .headline > .unearth {
        font-size: 89px;
    }
    .years-in-service {
        margin-top: 10px;
        padding: 6px 0;
    }
    .years-in-service > .fifty-nine {
        font-size: 70px;
        font-weight: 600;
    }
    .years-in-service > .y-i-s {
        font-weight: 300;
        font-size: 16px;
    }
}

@media (max-width: 1128px) {
    .top-headline {
        line-height: 1.5em;
    }
    .banner-container {
        max-width: 1128px;
        flex-direction: column;
        row-gap: 10px;
    }
    .banner-texts {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 15px;
    }
    .headline > .let-gpi, .the-facts {
        font-size: 26px;
    }
    .headline > .unearth {
        font-size: 86px;
    }
    .years-in-service {
        margin-bottom: 8px;
    }
    .slider-container {
        width: 95%;
        align-self: center;
        border-radius: 10px;
        margin-bottom: 15px;
    }
    .years-in-service > .fifty-nine {
        font-size: 50px;
        font-weight: 500;
    }
    .years-in-service > .y-i-s {
        font-weight: 200;
        font-size: 12px;
    }
}

@media (max-width: 429px) {
    .headline > .let-gpi, .the-facts {
        font-size: 24px;
    }
    .headline > .unearth {
        font-size: 80px;
    }
}

@media (max-width: 400px) {
    .headline > .let-gpi, .the-facts {
        font-size: 22px;
    }
    .headline > .unearth {
        font-size: 68px;
    }
}

@media (max-width: 342px) {
    .headline > .unearth {
        font-size: 60px;
    }
}
/* end of banner -------------------------------------------------------------------------------------- */

/* start of services ---------------------------------------------------------------------------------- */
.business-offers {
    box-sizing: border-box;
    width: 100%;
    max-width: 1920px;
    display: flex;
    position: relative;
    justify-content: center;
    margin: 50px auto 80px;
}

.business-container {
    box-sizing: border-box;
    width: 90%;
    max-width: 1440px;
    font-family: 'Inter';
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 30px;
}

.business-container-heading {
    box-sizing: border-box;
    display: block;
    text-align: center;
    font-size: 35px;
    font-weight: 500;
    line-height: 1.5em;
}

.services-container {
    box-sizing: border-box;
    margin: 0;
    /* margin-top: 30px; */
    width: 95%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    column-gap: 30px;
    row-gap: 90px;
}

.service-link {
    box-sizing: border-box;
    width: 31%;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.services-img {
    box-sizing: border-box;
    width: 100%;
    aspect-ratio: 81/46;
    object-fit: cover;
}

.service-details {
    box-sizing: border-box;
    color: black;
}

.service-name {
    text-align: center;
    font-size: 25px;
    font-weight: 500;
    margin-bottom: 0;
    line-height: 1.50em;
}

.service-description {
    margin-top: 15px;
    box-sizing: border-box;
    display: block;
    padding: 0 10px 0 0;
    /* text-align: justify; */
    font-size: 20px;
    font-weight: 300;
    line-height: 1.50em;
}

.see-more-btn {
    box-sizing: border-box;
    margin: 50px 0 0;
    padding: 20px 50px;
    background-color: rgba(6, 75, 130, 1);
    color: white;
    font-size: 22px;
    font-weight: 500;
}

@media (max-width: 1202px) {
    /* .business-container {
        max-width: 1081.8px;
    } */
    .service-link {
        width: 46%; /* convert to 2 box per rows */
    }
    .services-container {
        row-gap: 65px;
        justify-content: space-evenly;
    }
    .see-more-btn {
        padding: 15px 40px;
        font-size: 18px;
    }
}

@media (max-width: 1128px) {
    .business-offers {
        margin: 10px auto;
    }
    .business-container {
        width: 95%;
        max-width: 1071.6px;
    }
    .business-container-heading {
        padding-left: 15px;
        padding-right: 15px;
        font-size: 28px;
    }
    .services-container {
        width: 100%;
    }
    .services-img {
        border-radius: 10px;
    }
    .service-name {
        font-size: 20px;
    }
    .service-description {
        font-size: 16px;
    }
    .see-more-btn {
        margin-top: 30px;
        border-radius: 10px;
        font-size: 16px;
    }
}

@media (max-width: 890px) {
    .service-link {
        width: 95%;
    }
}

@media (max-width: 452px) {
    .business-offers {
        margin: 40px auto;
    }
}
/* end of services ------------------------------------------------------------------------------------ */

/* start of history ----------------------------------------------------------------------------------- */
.history-container {
    box-sizing: border-box;
    width: 90%;
    max-width: 1440px;
    margin: 160px auto 200px;
    background-color: rgba(37, 114, 33, 0.9);
    color: white;
    padding: 40px 100px;
}

.our-history {
    box-sizing: border-box;
    margin: 0;
    font-size: 48px;
    font-weight: 400;
    text-align: center;
}

.history {
    box-sizing: border-box;
    display: block;
    margin-top: 35px;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 300;
    line-height: 1.8em;
    text-align: justify;
}

@media (max-width: 1335px) {
    .history-container {
        margin: 140px auto 180px;
    }
    .our-history {
        font-size: 40px;
    }
    .history {
        font-size: 20px;
    }
}

@media (max-width: 1128px) {
    .history-container {
        width: 100%;
        max-width: 1128px;
        margin: 120px auto 0;
        padding: 30px 25px;
    }
    .our-history {
        font-size: 30px;
        text-align: left;
    }
    .history {
        margin-top: 15px;
        font-size: 16px;
        text-align: left;
        line-height: 1.5em;
    }
}
/* end of history ----------------------------------------------------------------------------------- */

/* start of download profile button ----------------------------------------------------------------------------------- */
.get-profile {
    box-sizing: border-box;
    margin: 75px auto 0;
    padding: 0;
    display: none;
}

.get-profile-btn {
    box-sizing: border-box;
    margin: 0 auto;
    padding: 20px 10px;
    width: 250px;
    background-color: rgba(37, 114, 33, 0.9);
    border: none;
    border-radius: 10px;
    color: white;
    font-family: "Inter";
    font-size: 16px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

@media (max-width: 1128px) {
    .get-profile {
        display: block;
    }
}
/* end of download profile button ----------------------------------------------------------------------------------- */

/* start of accreditations ----------------------------------------------------------------------------------- */
.accreditations {
    box-sizing: border-box;
    margin: 15px auto 0;
    padding: 0;
    width: 90%;
    max-width: 1440px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.org-logos-container {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    width: 100%;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px 1.5%;
}

.org-logo {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    width: 10%;
    min-width: 100px;
}

.org-logo > img {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    width: 100%;
    object-fit: cover;
}

.pns-iso > img {
    /* aspect-ratio: 1001/745; */
    aspect-ratio: 910 / 353;
}

.pdca > img {
    aspect-ratio: 600 / 247;
}

.cecophil > img {
    aspect-ratio: 515 / 195;
}

.nwrb > img {
    aspect-ratio: 1129 / 576;
}

.sec-ph > img {
    aspect-ratio: 640 / 411;
}

.pcab > img {
    aspect-ratio: 1440 / 576;
}

.pca > img {
    aspect-ratio: 800 / 600;
}

.dpwh-brs {
    aspect-ratio: 1440 / 576;
}

@media (min-width: 1129px) {
    .org-logo > img {
        transition: transform 0.3s ease;
    }
    .org-logo > img:hover {
        transform: scale(1.2);
    }
}

@media (max-width: 1128px) {
    .org-logos-container {
        gap: 10px 1.5%;
    }
}

/* end of accreditations ----------------------------------------------------------------------------------- */

/* start of search engine/bar ----------------------------------------------------------------------------------- */
.search-function {
    box-sizing: border-box;
    margin: 130px auto;
    padding: 0;
    position: relative;
    width: 90%;
    max-width: 1440px;
    display: flex;
    flex-direction: column;
    row-gap: 25px;
    align-items: center;
    justify-content: stretch;
}

.search-lbl {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Inter";
    font-size: 25px;
    font-weight: 400;
    line-height: 1.25em;
    text-align: center;
}

.search-engine-outer {
    box-sizing: border-box;
    margin: 0 auto;
    padding: 0;
    width: 80%;
    display: flex;
    flex-direction: column;
    row-gap: 15px;
}

.search-engine-inner {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    position: relative;
    width: 100%;
}

.search-bar {
    box-sizing: border-box;
    padding: 15px 20px 15px 50px;
    width: 100%;
    display: block;
    margin: 0 auto;
    font-family: "Inter";
    font-size: 18px;
    border-radius: 50px;
    border: 1px solid rgba(128, 128, 128, 0.5);
}

.search-bar:focus {
    outline: none;
    border-color: 1px solid rgba(128, 128, 128, 0.5);
}

.search-engine-inner i {
    box-sizing: border-box;
    margin: auto 0;
    padding: 0 0 0 20px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(128, 128, 128, 1);
}

.search-suggestions {
    box-sizing: border-box;
    margin: 0;
    padding: 15px 0 15px;
    background-color: white;
    width: 80%;
    max-height: 400px;
    overflow-x: auto;
    position: absolute;
    top: 110%;
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* shadow */
    z-index: 101;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}

.search-suggestions.active {
    opacity: 1;
    visibility: visible;
}

.search-result {
    box-sizing: border-box;
    margin: 0;
    padding: 2px 50px;
    font-family: "Inter";
    font-size: 16px;
    line-height: 1.5em;
    color: black;
}

.search-result:hover {
    background-color: rgba(11, 64, 8, 0.50);
    color: white;
}

@media (max-width: 1128px) {
    .search-function {
        margin: 60px auto;
        row-gap: 20px;
    }
    .search-engine-outer {
        width: 100%;
    }
    .search-lbl {
        font-size: 20px;
    }
    .search-bar {
        padding: 10px 15px 10px 40px;
        font-size: 16px;
    }
    .search-engine-inner i {
        padding: 0 0 0 15px;
    }
    .search-suggestions {
        width: 100%;
        max-height: 265px;
        top: 105%;
    }
    .search-result {
        padding: 2px 40px;
    }
}
/* end of search engine/bar ----------------------------------------------------------------------------------- */
