/* ============================================
   CIVIL CONSTRUCTION — PREMIUM PAGE CSS
============================================ */

/* --------------------------------------------
   PARALLAX BANNER
-------------------------------------------- */
.parallax-banner {
    position: relative;
    height: 45vh;
    min-height: 360px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-overlay {
    background: rgba(0, 27, 82, 0.65);
    width: 100%;
    height: 100%;
    display:flex;
    align-items:center;
    justify-content:center;
}

.parallax-overlay h2 {
    color: #fff;
    font-size: 42px;
    font-weight: 800;
    text-shadow: 0 8px 20px rgba(0,0,0,0.45);
}


/* --------------------------------------------
   EXPERTISE PHOTO GRID
-------------------------------------------- */
.expertise-grid {
    padding: 90px 0;
}

.expert-item {
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
    transition: 0.35s ease;
}

.expert-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 42px rgba(0,0,0,0.18);
}

/* Image Block */
.expert-img {
    height: 260px;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Content */
.expert-content {
    padding: 22px;
}

.expert-content h4 {
    font-size: 20px;
    font-weight: 700;
    color: #003c99;
    margin-bottom: 10px;
}

.expert-content p {
    font-size: 15px;
    color: #444;
    line-height: 1.7;
}


/* --------------------------------------------
   RESPONSIVE
-------------------------------------------- */
@media(max-width: 575px) {
    .parallax-overlay h2 {
        font-size: 28px;
    }
    .expert-img {
        height: 200px;
    }
}
.parallax-banner {
    background-attachment: scroll;
}
@supports (-webkit-touch-callout: none) {
    .parallax-banner {
        background-attachment: scroll !important;
    }
}
/* FIX PARALLAX TEXT NOT CENTERING ON MOBILE */
@media (max-width: 575px) {
    .parallax-banner {
        display: flex;
        align-items: center !important;
        justify-content: center !important;
        padding: 0;
    }

    .parallax-overlay {
        display: flex;
        align-items: center !important;
        justify-content: center !important;
        text-align: center;
        padding: 0 20px;
    }

    .parallax-overlay h2 {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        line-height: 1.3;
    }
}
