/* =========================================================
   Hossain Soft — Elegant polish over original theme
   Keep first-design look, elevate professionalism
   ========================================================= */

:root {
    --hs-accent: #e0562e;
    --hs-soft: #98abee;
    --hs-primary: #787A91;
    --btn-primary-bg: #e0562e;
}

html { scroll-behavior: smooth; }

/* Buttons — brand accent, keep original skew style */
.site-button {
    background-color: var(--hs-accent) !important;
    box-shadow: 3px 0 0 var(--hs-soft) !important;
}
.site-button:hover {
    background-color: #c94722 !important;
    box-shadow: 2px 2px 0 var(--hs-soft) !important;
}
.site-button.dark-bg {
    background-color: #111 !important;
}
.kv-need-consult-bg,
.site-bg-primary {
    background: linear-gradient(135deg, #787A91 0%, #5c5e73 100%) !important;
}

/* Titles */
.section-head .kv-sm-title,
.kv-sm-title {
    color: var(--hs-accent) !important;
    letter-spacing: 0.1em;
    font-weight: 700;
}

/* Hero readability */
.kv-bnr-2-wrap { position: relative; }
.kv-bnr-2-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.25) 60%, rgba(0,0,0,.15) 100%);
    pointer-events: none;
    z-index: 0;
}
.kv-bnr-2-wrap .container { position: relative; z-index: 1; }
.kv-bnr-2-large-title {
    text-shadow: 0 8px 30px rgba(0,0,0,.45);
}

/* Service / training cards — compact professional equal cards */
.hs-svc-grid > [class*="col-"] {
    display: flex;
}
.hs-service-block {
    background: #141820;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 14px;
    overflow: hidden;
    width: 100%;
    height: 100%;
    min-height: 308px;
    display: flex;
    flex-direction: column;
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.hs-service-block:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0,0,0,.36);
    border-color: rgba(224,86,46,.4);
}
.hs-service-block .kv-team-media {
    margin: 0 !important;
    overflow: hidden;
    width: 100%;
    height: 158px !important;
    min-height: 158px !important;
    max-height: 158px !important;
    aspect-ratio: auto !important;
    order: 1;
    flex: 0 0 158px;
    position: relative;
    background: #0b0f16;
}
.hs-service-block .kv-team-media a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
}
.hs-service-block .kv-team-media::after {
    pointer-events: none;
}
.hs-service-block .kv-team-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    transition: transform .4s ease;
    display: block;
}
.hs-service-block:hover .kv-team-media img {
    transform: scale(1.05);
}
.hs-service-block .kv-team-info,
.hs-service-block .hs-service-info {
    order: 2;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: 13px 14px 14px !important;
    text-align: left !important;
    position: relative !important;
    background: #141820;
    min-height: 0;
}
.hs-service-block .kv-title,
.hs-service-block .hs-service-title {
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 15px !important;
    margin: 0 0 6px !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    min-height: 2.7em;
    letter-spacing: -.01em;
}
.hs-service-block .hs-service-title a {
    color: #ffffff !important;
    text-decoration: none;
}
.hs-service-block .hs-service-title a:hover {
    color: var(--hs-accent, #e0562e) !important;
}
.hs-service-block .kv-l-title:hover .kv-title {
    color: var(--hs-accent) !important;
}
.hs-svc-text {
    color: #8f98a8;
    font-size: 12.5px;
    line-height: 1.55;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: 2.5em;
    flex: 1 1 auto;
}
.hs-svc-footer {
    margin-top: auto;
    padding-top: 2px;
}
.hs-svc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

/* Owl carousel cards same height */
.hs-svc-carousel .owl-stage {
    display: flex;
}
.hs-svc-carousel .owl-item {
    display: flex;
    height: auto;
}
.hs-svc-carousel .owl-item .item {
    display: flex;
    width: 100%;
}
.hs-svc-carousel .hs-service-block {
    min-height: 290px;
}

.hs-lead {
    color: #9aa3b2;
    max-width: 560px;
    font-size: 15.5px;
    line-height: 1.7;
}
.opacity-75 { opacity: .75; }

/* Trade carousel cards */
.kv-lt-blog {
    border-radius: 10px;
    overflow: hidden;
}
.kv-lt-blog .wt-post-media img {
    transition: transform .45s ease;
}
.kv-lt-blog:hover .wt-post-media img {
    transform: scale(1.05);
}
.kv-lt-blog .post-title a:hover {
    color: var(--hs-accent) !important;
}

/* Project cards */
.hs-project-card {
    background: #121212;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform .35s ease, box-shadow .35s ease;
}
.hs-project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 48px rgba(0,0,0,.42);
}
.hs-project-card__media {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}
.hs-project-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.hs-project-card:hover .hs-project-card__media img { transform: scale(1.08); }
.hs-project-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.78));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: opacity .3s ease;
    padding: 16px;
}
.hs-project-card:hover .hs-project-card__overlay { opacity: 1; }
.hs-project-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 150px;
    padding: 11px 16px;
    border-radius: 6px;
    background: rgba(255,255,255,.14);
    color: #fff !important;
    font-size: 13px;
    font-weight: 650;
    border: 1px solid rgba(255,255,255,.2);
}
.hs-project-card__btn--live {
    background: var(--hs-accent);
    border-color: transparent;
}
.hs-project-card__btn--live:hover { background: #c94722; }
.hs-project-card__body {
    padding: 20px 18px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.hs-project-card__tech {
    color: var(--hs-accent);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 8px;
}
.hs-project-card__body h3 {
    font-size: 17px;
    margin: 0 0 8px;
    line-height: 1.35;
}
.hs-project-card__body h3 a { color: #fff; }
.hs-project-card__body h3 a:hover { color: var(--hs-accent); }
.hs-project-card__body p {
    color: #9aa3b2;
    font-size: 14px;
    line-height: 1.65;
    margin: 0 0 14px;
    flex: 1;
}
.hs-project-card__actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,.06);
}
.hs-text-link { color: #c7ccd6; font-size: 13px; font-weight: 600; }
.hs-text-link--accent { color: var(--hs-accent); }
.hs-text-link:hover { color: #fff; }

.hs-btn-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 6px;
    background: var(--hs-accent);
    color: #fff !important;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 12px 28px rgba(224,86,46,.3);
}
.hs-btn-live:hover { background: #c94722; color: #fff !important; }
.hs-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,.15);
    color: #fff !important;
    font-weight: 600;
    font-size: 14px;
}
.hs-live-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.hs-side-box {
    background: #121212;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 10px;
    padding: 26px;
}
.hs-side-box h3 { color: #fff; font-size: 18px; margin: 0 0 14px; }
.hs-content { color: #c7ccd6; line-height: 1.85; font-size: 15px; }
.hs-info-list { list-style: none; padding: 0; margin: 0; color: #c7ccd6; }
.hs-info-list li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.hs-info-list a { color: var(--hs-accent); font-weight: 600; }

/* Testimonials */
.hs-testimonial {
    background: #121212;
    border-radius: 10px;
    padding: 28px;
    border: 1px solid rgba(255,255,255,.06);
    margin: 0 8px;
    min-height: 200px;
}
.hs-testimonial-stars { color: #f5a623; margin-bottom: 12px; }
.hs-testimonial p { color: #c7ccd6; font-size: 15px; line-height: 1.75; margin-bottom: 18px; }
.hs-testimonial-author { display: flex; align-items: center; gap: 12px; }
.hs-testimonial-author img {
    width: 46px; height: 46px; border-radius: 50%; object-fit: cover;
    border: 2px solid rgba(224,86,46,.4);
}
.hs-testimonial-author h4 { color: #fff; font-size: 15px; margin: 0 0 2px; }
.hs-testimonial-author span { color: #8b93a3; font-size: 12px; }

/* Inner banners */
.hs-banner {
    position: relative;
    background-size: cover !important;
    background-position: center !important;
    min-height: 280px;
    display: flex;
    align-items: center;
}
.hs-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(0,0,0,.72), rgba(120,122,145,.25));
    z-index: 1;
}
.hs-banner-overlay { display: none !important; }
.hs-banner .container { position: relative; z-index: 2; }
.hs-banner .wt-title { color: #fff; margin: 0; font-weight: 700; }
.hs-banner .wt-breadcrumb { margin-top: 12px; }
.hs-banner .wt-breadcrumb a { color: rgba(255,255,255,.85); }
.hs-banner .wt-breadcrumb li { color: var(--hs-accent); }

.hs-empty {
    text-align: center;
    padding: 48px 20px;
    color: #9aa3b2;
    border: 1px dashed rgba(255,255,255,.12);
    border-radius: 10px;
}

.client-logo-media {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 8px;
    padding: 12px;
    width: 180px;
    height: 100px;
    min-height: 100px;
    max-width: 180px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-sizing: border-box;
}
.client-logo-media a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.client-logo-media img {
    width: 140px !important;
    height: 64px !important;
    max-width: 140px !important;
    max-height: 64px !important;
    object-fit: contain !important;
    object-position: center center !important;
    display: block;
}

.home-client-carousel3 .owl-stage {
    display: flex;
    align-items: stretch;
}
.home-client-carousel3 .owl-item {
    display: flex;
    align-items: stretch;
}
.home-client-carousel3 .item {
    width: 100%;
    display: flex;
    justify-content: center;
}
.home-client-carousel3 .ow-client-logo {
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 100px;
}
.home-client-carousel3 .client-logo.client-logo-media {
    width: 180px !important;
    height: 100px !important;
    min-height: 100px !important;
    max-width: 180px !important;
}
.home-client-carousel3 .client-logo.client-logo-media a {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.home-client-carousel3 .client-logo.client-logo-media a img {
    width: 140px !important;
    height: 64px !important;
    max-width: 140px !important;
    max-height: 64px !important;
    object-fit: contain !important;
    object-position: center center !important;
    filter: none;
}
.home-client-carousel3 .client-logo.client-logo-media a:hover img {
    filter: grayscale(100%);
    opacity: .85;
}

/* Forms */
.hs-contact-form-card .form-control,
.hs-side-box .form-control {
    background: #0f0f0f !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    color: #fff !important;
    border-radius: 8px !important;
    min-height: 48px;
}
.hs-contact-form-card .form-control:focus,
.hs-side-box .form-control:focus {
    border-color: var(--hs-accent) !important;
    box-shadow: 0 0 0 3px rgba(224,86,46,.18) !important;
}

.accordion-item {
    background: #121212 !important;
    border: 1px solid rgba(255,255,255,.07) !important;
    border-radius: 8px !important;
    overflow: hidden;
    margin-bottom: 10px;
}
.accordion-button {
    background: #121212 !important;
    color: #fff !important;
    box-shadow: none !important;
}
.accordion-button:not(.collapsed) {
    background: var(--hs-accent) !important;
    color: #fff !important;
}
.accordion-body { color: #c7ccd6; background: #0f0f0f; }

.hs-svc-more {
    display: inline-block;
    margin-top: 0;
    color: var(--hs-accent, #e0562e);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .02em;
}
.hs-svc-more:hover { color: #ff7a55; }

/* Category sticky chips on services page already inline */
.text-lg-end { text-align: right; }
@media (max-width: 991px) {
    .text-lg-end { text-align: left !important; }
}
@media (max-width: 767px) {
    .client-logo-media {
        width: 150px;
        height: 88px;
        min-height: 88px;
        max-width: 150px;
        padding: 10px;
    }
    .client-logo-media img,
    .home-client-carousel3 .client-logo.client-logo-media a img {
        width: 120px !important;
        height: 54px !important;
        max-width: 120px !important;
        max-height: 54px !important;
    }
    .home-client-carousel3 .client-logo.client-logo-media {
        width: 150px !important;
        height: 88px !important;
        min-height: 88px !important;
        max-width: 150px !important;
    }
    .home-client-carousel3 .ow-client-logo {
        min-height: 88px;
    }
    .home-client-carousel3 {
        padding: 50px 0 40px !important;
    }
}
