@import url('base.css');

/*--------------------------------------
  HERO
--------------------------------------*/
.hero {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 1)),
        url("/assets/images/contact_hero.jpg");
}

.hero .hero-card {
    width: 100%;
    padding-right: 30%;
}

/*.hero-card h1.display-5 {*/
/*    font-size: 60px;*/
/*}*/

.hero-btn {
    margin-top: 1rem;
    padding: 1rem;
    font-size: 1.25rem;
}

/*--------------------------------------
  TEAM SECTION
--------------------------------------*/
#team h1 {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    margin: 0 0 2rem;
    font-size: 10rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--light-dark-grey);
    pointer-events: none;
}

.team-heading {
    font-size: 4rem;
    font-weight: 550;
}

.name-title {
    font-weight: 600;
    font-size: 23px;
    letter-spacing: 0.21em;
    text-transform: uppercase;
    color: #405544;
    max-width: 498px;
    margin: 0 0 24px;
}

.name-position {
    font-size: 40px;
    font-weight: 700;
    padding-bottom: 2rem !important;
}

.img-div {
    position: relative;
    overflow: hidden;
    height: 650px;
}

.scaled-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(0.95);
    object-position: center top;
}

.row.align-items-center {
    align-items: stretch !important;
}

.photo-text-container .row>.col-md-6.text-start {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
}

.photo-text-container .text-section {
    display: block;
    clear: both;
    width: 100%;
    padding-left: 5%;
    padding-right: 5%;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.8;
    text-align: justify;
    color: #000;
    background: none;
    padding: 0;
}

/* --------------------------
   NEW: grey “bleed” wrapper
   ------------------------ */
.team-content-gray {
    background: #e8eef2;
    padding: 2rem 5%;
    margin-bottom: 2rem;
}

/* --------------------------
   NEW: signature styling
   ------------------------ */
.signature {
    font-size: 24px;
    line-height: 150%;
    letter-spacing: 0.21em;
    text-transform: uppercase;
    color: #405544;
    margin: 18px 0 0;
}

/*--------------------------------------
  MOBILE FONT SIZING (≤576px)
--------------------------------------*/
@media (max-width: 576px) {

    .hero {
        padding: 0px;
        height: 90vh;
    }

    .hero-card {
        padding: 1rem !important;
    }

    .hero .hero-card>h1.display-5 {
        font-size: 2rem;
    }

    .hero .hero-card p {
        font-size: 1.25rem;
    }

    #team .team-heading {
        font-size: 2.5rem;
    }

    .name-title {
        font-size: 1rem;
    }

    .name-position {
        font-size: 1.5rem;
        padding-bottom: 2rem !important;
    }

    .text-section {
        font-size: 0.875rem;
        line-height: 1.6;
        padding: 1rem;
    }

    .signature {
        font-size: 1rem;
    }

    .team-content-gray {
        padding: 1rem !important;
        margin: 0 !important;
    }

    .photo-text-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    #team .row.align-items-stretch {
        display: flex;
        flex-direction: column;
    }

    #team .row.align-items-stretch .col-md-6:first-child {
        order: 2;
    }

    #team .row.align-items-stretch .col-md-6:nth-child(2) {
        order: 1;
    }

    #team .ratio {
        width: 80%;
        margin: 0 auto 1rem;
    }

    .cta-title: {
        font-size: 2rem;
    }


    .services-section {
        background:
            linear-gradient(to right,
                rgba(0, 0, 0, 1.0) 50%,
                rgba(0, 0, 0, 0.2) 100%),
            url("/assets/images/corp_meeting.jpg") center/cover no-repeat;

        background-color: #0d1b2a;

        /* layout */
        color: #fff;
        min-height: 600px;
        display: flex;
        align-items: center;
        position: relative;
        overflow: hidden;
    }

    .services-card {
        background: rgba(0, 34, 58, 0.75);
        border: 1px solid rgba(0, 173, 239, 0.4);
        border-radius: 0.5rem;
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
    }

    .services-card ul li {
        line-height: 1.5;
    }

    @media (max-width: 767.98px) {
        .services-section {
            padding: 3rem 1rem;
            min-height: auto;
        }

        .services-card {
            margin-top: 2rem;
        }
    }

    .services-section h2 {
        font-size: 65px;
        font-weight: 900 !important;
        line-height: 1.1;
    }

    .services-card>p {
        font-size: 2rem;
    }

    .services-card ul li i {
        font-size: 1rem;
    }

    .services-card ul li span {
        font-size: 20px;
        letter-spacing: 0.5px;
    }

    @media (max-width: 767.98px) {
        .services-section h2 {
            font-size: 2.5rem;
        }

        .services-card>p {
            font-size: 1.1rem;
        }

        .services-card ul li i {
            font-size: 1.75rem;
        }

        .services-card ul li span {
            font-size: 1rem;
        }
    }

    .services-section h2.display-5 {
        position: relative;
        z-index: 2;
        padding-top: 6rem !important;
    }

    .services-section h2.display-5::before {
        content: "OUR CORE VALUES";
        position: absolute;
        top: -20px;
        left: 0;
        font-size: 120px;
        font-weight: 900;
        color: #fff;
        opacity: 0.1;
        white-space: nowrap;
        pointer-events: none;
        z-index: 1;
        text-transform: uppercase;
    }

    @media (max-width: 767.98px) {
        .services-section h2.display-5::before {
            font-size: 3rem;
            top: -0.5rem;
        }
    }

    /* ---------- CTA Section ---------- */
    .cta-section {
        background:
            linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
            url("/assets/images/construction.jpg") center/cover no-repeat;
    }

    .cta-title {
        font-weight: 900 !important;
        font-size: 35px !important;
        line-height: 109% !important;
        text-align: center !important;
        text-transform: uppercase !important;
    }

    .cta-title-h2 {
        font-weight: 900 !important;
        font-size: 30px !important;
        line-height: 109% !important;
        text-align: center !important;
    }

    .cta-text {
        font-size: 23px;
        font-weight: 500;
        max-width: 1200px;
        margin: 0 auto;
    }

    .cta-btn {
        background-color: var(--primary-color);
        border-color: var(--primary-color);
        color: #fff;
        padding: 0.75rem 1.5rem;
        transition: background-color .3s;
    }

    .cta-btn:hover {
        background-color: #03213a;
    }
