/* ==========================================================================
   Polish layer — additions on top of the original WordPress theme stylesheet.
   Loaded after style.css so these rules win where they overlap.
   ========================================================================== */

/* --- Page banner: dark gradient overlay so the page title reads clean ---- */

.page-banner {
    position: relative;
}
.page-banner .item {
    position: relative;
    overflow: hidden;
}
.page-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.15) 0%,
        rgba(0, 0, 0, 0.45) 60%,
        rgba(0, 0, 0, 0.65) 100%
    );
    pointer-events: none;
    z-index: 1;
}
.page-banner .page-banner-content {
    z-index: 2;
}

/* Reposition page-title inside banner — original CSS pins it bottom-right
   which can collide with text. Center it vertically and align left for a
   cleaner hero look on inner pages. */
.page-banner .page-banner-content {
    bottom: auto;
    top: 50%;
    right: auto;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
}
.page-banner .banner-contents {
    max-width: 720px;
}
.page-banner .banner-contents h3 {
    font-size: 52px;
    line-height: 1.05;
    letter-spacing: 0.5px;
}
.page-banner .banner-contents p {
    font-size: 20px;
    line-height: 1.4;
    text-transform: none;
    margin-top: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    max-width: 560px;
}

@media (max-width: 767px) {
    .page-banner .banner-contents h3 { font-size: 32px; }
    .page-banner .banner-contents p  { font-size: 16px; }
}

/* --- Brochure button at top of page-contents ----------------------------- */

.page-brochure {
    margin: 0 0 20px 0;
}
.brochure-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #2ca6e2;
    border: 1.5px solid #2ca6e2;
    padding: 8px 18px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}
.brochure-btn:hover,
.brochure-btn:focus {
    background: #2ca6e2;
    color: #fff;
    text-decoration: none;
}
.brochure-btn .fa { margin-right: 6px; }

/* --- CTA strip at bottom of inner pages ---------------------------------- */

.cta-strip {
    background: linear-gradient(135deg, #1a3a5c 0%, #2ca6e2 100%);
    color: #fff;
    padding: 50px 0;
    margin-top: 40px;
}
.cta-strip-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.cta-strip-text {
    flex: 1 1 420px;
}
.cta-strip-text h3 {
    color: #fff;
    font-family: "Lato", sans-serif;
    font-size: 28px;
    font-weight: 900;
    margin: 0 0 8px 0;
    text-transform: capitalize;
}
.cta-strip-text p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 16px;
    margin: 0;
    max-width: 640px;
}
.cta-strip-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.cta-btn,
.cta-btn:link,
.cta-btn:visited {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #1a3a5c;
    padding: 12px 26px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    border: 2px solid #fff;
    text-decoration: none;
    transition: all 0.2s ease;
}
.cta-btn:hover,
.cta-btn:focus {
    background: #2ca6e2;
    color: #fff;
    border-color: #fff;
    text-decoration: none;
}
.cta-btn-secondary,
.cta-btn-secondary:link,
.cta-btn-secondary:visited {
    background: transparent;
    color: #fff;
    border-color: #fff;
}
.cta-btn-secondary:hover,
.cta-btn-secondary:focus {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

@media (max-width: 767px) {
    .cta-strip { padding: 36px 0; }
    .cta-strip-text h3 { font-size: 22px; }
    .cta-strip-inner { flex-direction: column; align-items: flex-start; }
}

/* --- Intro paragraph above a card grid ----------------------------------- */

.services-intro {
    font-size: 18px;
    line-height: 1.6;
    color: #4a5862;
    max-width: 820px;
    margin: 0 auto 36px auto !important;
    text-align: center;
}

/* --- Service card grid (well-services-technologies) ---------------------- */

.service-grid {
    margin-top: 12px;
}
.service-grid > [class^="col-"] {
    margin-bottom: 30px;
    display: flex;
}
.service-card {
    background: #fff;
    border: 1px solid #e6ebef;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.service-card:hover,
.service-card:focus {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(26, 58, 92, 0.16);
    border-color: #2ca6e2;
    text-decoration: none;
    color: inherit;
}
.service-card-img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f4f7fa;
    display: flex;
    align-items: center;
    justify-content: center;
}
.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.service-card:hover .service-card-img img {
    transform: scale(1.04);
}
.service-card-body {
    padding: 22px 24px 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.service-card-body h3 {
    font-family: "Lato", sans-serif;
    font-size: 22px;
    font-weight: 900;
    color: #1c1f1c;
    margin: 0 0 4px 0;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.service-card-body h3 small {
    display: block;
    font-size: 13px;
    color: #2ca6e2;
    font-weight: 700;
    letter-spacing: 0.6px;
    margin-top: 2px;
}
.service-card-body p {
    color: #5a6770;
    font-size: 15px;
    line-height: 1.55;
    margin: 8px 0 16px 0;
    flex: 1;
}
.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #2ca6e2;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- Team grid (our-team) ------------------------------------------------ */

.team-grid {
    margin-top: 12px;
    justify-content: center;
}
.team-grid > [class^="col-"] {
    margin-bottom: 30px;
    display: flex;
}
.team-card {
    background: #fff;
    border: 1px solid #e6ebef;
    border-radius: 6px;
    padding: 32px 24px 28px;
    text-align: center;
    width: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.team-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(26, 58, 92, 0.12);
    border-color: #2ca6e2;
}
.team-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: var(--avatar-bg, #2ca6e2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-family: "Lato", sans-serif;
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 1px;
}
.team-card h3 {
    font-family: "Lato", sans-serif;
    font-size: 20px;
    font-weight: 900;
    color: #1c1f1c;
    margin: 0 0 4px 0;
    text-transform: uppercase;
}
.team-card .team-role {
    color: #2ca6e2;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

/* --- Feature highlights band (our-company) ------------------------------ */

.feature-band {
    background: #f4f7fa;
    padding: 36px 28px;
    border-radius: 8px;
    margin: 36px 0;
}
.feature-band-title {
    font-family: "Lato", sans-serif;
    font-size: 14px;
    font-weight: 900;
    color: #2ca6e2;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    text-align: center;
    margin: 0 0 24px 0;
}
.feature-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
}
.feature-item {
    text-align: center;
    padding: 8px 4px;
}
.feature-item .feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    background: #2ca6e2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
}
.feature-item h4 {
    font-family: "Lato", sans-serif;
    font-size: 16px;
    font-weight: 900;
    color: #1c1f1c;
    margin: 0 0 4px 0;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.feature-item p {
    color: #5a6770;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* --- Pull quote (our-company) ------------------------------------------- */

.pull-quote {
    border-left: 4px solid #2ca6e2;
    padding: 8px 0 8px 22px;
    margin: 28px 0;
    color: #1a3a5c;
    font-size: 19px;
    line-height: 1.5;
    font-weight: 600;
    font-style: italic;
}
