/* =====================================================
   Goodwill — Site customisation overrides
   Loaded after style.css / responsive.css so anything
   in here wins the cascade. Edit freely.
   ===================================================== */

/* ---------------------------------------------------------
   Homepage feature boxes (style-three)
   The default theme paints the blue hover background via a
   :before with z-index: -1, which can render white-on-white
   in some browser stacking-context cases. Force a real
   background and white text on hover for reliability.
   --------------------------------------------------------- */
.feature-area.style-three .single-feature-box {
    transition: background-color .35s ease, border-color .35s ease, transform .35s ease;
}

.feature-area.style-three .single-feature-box:hover {
    background-color: #0c5adb !important;
    border-color: #0c5adb !important;
}

.feature-area.style-three .single-feature-box:hover .feature-content h4,
.feature-area.style-three .single-feature-box:hover .feature-content p,
.feature-area.style-three .single-feature-box:hover .feature-content a {
    color: #ffffff !important;
}

/* Also turn the icon white on hover (in case the filter trick isn't covering it) */
.feature-area.style-three .single-feature-box:hover .feature-icon img {
    filter: brightness(0) invert(1) !important;
}

/* ---------------------------------------------------------
   Homepage counter strip (style-three)
   The default theme uses opacity: 0.8 on the sub-text which,
   combined with the busy globe-pattern blue background,
   makes the labels ("IT Solutions Experts", etc.) almost
   illegible. Force full opacity, a touch more weight, and a
   subtle shadow so it always reads cleanly.
   --------------------------------------------------------- */
.counter-area.style-three .counter-content p {
    color: #ffffff !important;
    opacity: 1 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    letter-spacing: .02em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
    margin-top: 6px !important;
}

.counter-area.style-three .counter-content h4,
.counter-area.style-three .counter-content span {
    color: #ffffff !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}

/* ---------------------------------------------------------
   Footer readability (style-one / home-three)
   The default theme drops opacity on several text elements
   which, on the dark navy footer, makes them look washed-out
   grey. Force fully readable values everywhere.
   --------------------------------------------------------- */

/* About-us description paragraph */
.footer-area.style-one .footer-widget-desc p {
    color: rgba(255, 255, 255, .85) !important;
    opacity: 1 !important;
    width: 100% !important;
    line-height: 1.7;
}

/* Company links — two columns on wide footers */
.footer-area.style-one .footer-widget-menu.footer-company-menu-columns ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1.25rem;
    row-gap: 0.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.footer-area.style-one .footer-widget-menu.footer-company-menu-columns ul li {
    margin: 0;
    padding: 0;
    break-inside: avoid;
}

@media (max-width: 575.98px) {
    .footer-area.style-one .footer-widget-menu.footer-company-menu-columns ul {
        grid-template-columns: 1fr;
    }
}

/* Copyright bar */
.footer-area.style-one .footer-bottom-content p {
    color: rgba(255, 255, 255, .8) !important;
    opacity: 1 !important;
    font-weight: 400;
}

/* Contact list items — phone / email / address (white icons + text) */
.footer-area.style-one .footer-widget-content ul li,
.footer-area.style-one .footer-widget-content ul li i {
    color: rgba(255, 255, 255, .9) !important;
}
.footer-area.style-one .footer-widget-content ul li a {
    color: rgba(255, 255, 255, .9) !important;
}
.footer-area.style-one .footer-widget-content ul li a:hover {
    color: #ffffff !important;
}

/* ---------------------------------------------------------
   "Don't Forget to Contact Us" side panel (style-three)
   - Labels (Call Us / Send E-Mail / Office Hours) render too
     faded against the blue background.
   - Long emails overflow the card because <h4> doesn't break.
   --------------------------------------------------------- */
.contact-area.style-three .single-contact-info-box {
    overflow: hidden;
}

.contact-area.style-three .contact-info-content {
    min-width: 0;
    flex: 1 1 auto;
}

/* Labels — solid, readable white */
.contact-area.style-three .contact-info-content p {
    color: rgba(255, 255, 255, .85) !important;
    opacity: 1 !important;
    font-size: 14px !important;
    margin-bottom: 4px !important;
}

/* Values (phone, email, hours) — break long strings (e.g. emails) */
.contact-area.style-three .contact-info-content h4 {
    color: #ffffff !important;
    font-size: 17px !important;
    line-height: 1.4 !important;
    word-break: break-word;
    overflow-wrap: anywhere;
}
