/*** Noktech Projects customisations (layered on the Weldork template) ***/
.visually-hidden-focusable:focus { z-index: 10000; top: 0; left: 0; }
.brand-wordmark { letter-spacing: .5px; line-height: 1; }
.brand-sub { font-size: .5em; font-weight: 700; letter-spacing: 4px; vertical-align: middle; }

/* Hero */
.hero-lead { max-width: 640px; }
@media (max-width: 768px) {
    .carousel .carousel-caption { padding-left: 6.5rem; padding-right: 1.25rem; }
    .carousel .carousel-item .display-1 { font-size: 2.4rem; }
    .hero-lead { font-size: 1rem !important; }
}
@media (min-width: 1200px) {
    .carousel .carousel-item .display-1 { font-size: 5.5rem; }
}

/* Images */
.service-img { aspect-ratio: 4 / 3; object-fit: cover; }
.tile-img, .footer-thumb { aspect-ratio: 1 / 1; object-fit: cover; }
.about-img img { aspect-ratio: 4 / 5; object-fit: cover; }

/* Labels & lists */
.badge-dev { display: inline-block; margin-left: .5em; padding: .3em .7em; font-family: 'Poppins', sans-serif;
    font-size: .45em; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; vertical-align: middle;
    color: #fff; background: var(--bs-dark); }
.check-list li { display: flex; margin-bottom: .6rem; }
.check-list li i { margin-top: .3rem; }
.equipment-table th { font-weight: 600; color: var(--bs-dark); }

/* Industries tiles */
.industry-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%;
    padding: 2rem 1rem; text-align: center; color: var(--bs-dark); background: #fff; box-shadow: 0 0 45px rgba(0, 0, 0, .07); transition: .4s; }
.industry-tile:hover, .industry-tile:focus { color: #fff; background: var(--bs-primary); }
.industry-tile:hover i, .industry-tile:focus i { color: #fff !important; }

/* Process steps */
.steps .step { border-top: 5px solid var(--bs-primary); box-shadow: 0 0 45px rgba(0, 0, 0, .05); }
.step-no { font-family: 'Roboto', sans-serif; font-weight: 800; font-size: 2rem; color: var(--bs-primary); }

/* Leadership / industry cards reuse .team-item */
.team-item ul li { margin-bottom: .35rem; }

/* WhatsApp */
.btn-whatsapp { color: #fff; background: #0E7C66; border-color: #0E7C66; }
.btn-whatsapp:hover, .btn-whatsapp:focus { color: #fff; background: #0A5E4D; border-color: #0A5E4D; }
.whatsapp-float { position: fixed; right: 30px; bottom: 30px; z-index: 100; width: 56px; height: 56px; display: flex;
    align-items: center; justify-content: center; border-radius: 50%; font-size: 30px; color: #fff; background: #25D366;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .25); transition: .3s; }
.whatsapp-float:hover { color: #fff; transform: scale(1.08); }
.back-to-top { bottom: 100px; }

/* Footer */
.text-secondary-light, .footer p { color: #B8C2CA; }
.text-secondary-light:hover { color: var(--bs-primary); }

/* Gallery */
.gallery-link { display: block; overflow: hidden; }
.gallery-link img { transition: transform .4s; }
.gallery-link:hover img, .gallery-link:focus img { transform: scale(1.05); }
#lightbox { max-width: 94vw; max-height: 94vh; padding: 0; border: 0; background: #111; }
#lightbox::backdrop { background: rgba(0, 0, 0, .85); }
#lightbox img { display: block; width: auto; height: auto; max-width: 94vw; max-height: 82vh; }
.lightbox-caption { padding: .75rem 1rem; color: #fff; }
.lightbox-close { position: absolute; top: 0; right: 0; }
.footer .btn.btn-link { color: #B8C2CA; }

/* Logo */
.brand-badge { display: inline-flex; align-items: center; justify-content: center; padding: 4px 8px; background: #fff; }
.brand-logo { width: auto; height: 44px; }
.brand-logo-sm { height: 38px; }
@media (max-width: 400px) { .navbar-brand .brand-wordmark { font-size: 1.5rem; } .brand-logo-sm { height: 32px; } }

/*** Logo-based theme: brand blue accents, deep blue actions, ink structure ***/
:root { --nk-blue: #27A8D2; --nk-deep: #17799B; --nk-deep-hover: #12617C; --nk-ink: #1B1D1F; --nk-mist: #F2F7FA; }
a { color: var(--nk-deep); }
a:hover { color: var(--nk-deep-hover); }
.text-brand-blue { color: var(--nk-blue); }

/* Top bar in ink, brand-blue icons */
.topbar { background: var(--nk-ink); }
.topbar .fa, .topbar .fas { color: var(--nk-blue); }
.topbar a.text-white:hover { color: var(--nk-blue) !important; }

/* Buttons: deep blue with white text (WCAG AA) */
.btn-primary { color: #fff; background-color: var(--nk-deep); border-color: var(--nk-deep); }
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active {
    color: #fff !important; background-color: var(--nk-deep-hover) !important; border-color: var(--nk-deep-hover) !important; }
.btn-primary:focus { box-shadow: 0 0 0 .25rem rgba(39, 168, 210, .4); }

/* Text-weight blue uses the deep shade; brand blue stays for icons, borders and accents */
.navbar .navbar-nav .nav-link:hover, .navbar .navbar-nav .nav-link.active { color: var(--nk-deep); }
.dropdown-item.active, .dropdown-item:active { color: #fff; background-color: var(--nk-deep); }
.dropdown-item:hover { color: var(--nk-deep); }
.step-no { color: var(--nk-deep); }
.service .service-inner::before { background: var(--nk-deep); }
.industry-tile:hover, .industry-tile:focus { background: var(--nk-deep); }
.back-to-top { color: #fff; }
.copyright a:hover, .footer .btn.btn-link:hover { color: var(--nk-blue); }
.copyright, .copyright.text-body { color: #B8C2CA !important; }
main p a:not(.btn), main td a, main li a:not(.btn), .footer p a { text-decoration: underline; text-underline-offset: 2px; }
.copyright a { text-decoration: underline; text-underline-offset: 2px; }

/* FAQ accordion */
.accordion-button { font-weight: 600; color: var(--nk-ink); }
.accordion-button:not(.collapsed) { color: var(--nk-deep); background-color: var(--nk-mist); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .08); }
.accordion-button:focus { border-color: var(--nk-blue); box-shadow: 0 0 0 .25rem rgba(39, 168, 210, .3); }
.navbar-brand .brand-logo-sm { height: 44px; }

/* Mobile hero: hide slide thumbnails, let text and buttons use the full width */
@media (max-width: 991.98px) {
    .carousel .carousel-indicators { display: none; }
    .carousel .carousel-caption { padding-left: 1.25rem; padding-right: 1.25rem; }
}
@media (max-width: 575.98px) {
    .carousel .carousel-caption > div:last-child { display: flex; flex-wrap: wrap; gap: .5rem; }
    .carousel .carousel-caption > div:last-child .btn { margin: 0 !important; padding: .85rem 1rem !important; font-size: .9rem; }
}
