/* ─────────────────────────────────────────
   Global tweaks
───────────────────────────────────────── */
body::after { opacity: 0.5; }

#smooth-wrapper { position: relative; z-index: 0; }


/* ═══════════════════════════════════════
   HERO — split (solid left | clear image right)
═══════════════════════════════════════ */
.hero-root {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ── Background photo ── */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 65% center;
    display: block;
}

/* Left-to-right: solid dark on left (under text), clears toward right where image shows */
.hero-bg__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        #030303 0%,
        #030303 38%,
        rgba(3,3,3,0.88) 50%,
        rgba(3,3,3,0.35) 65%,
        rgba(3,3,3,0.05) 80%,
        transparent 90%
    );
}

/* Right-side feathered shadow so the image edge is defined, not raw */
.hero-bg__shadow-right {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to left,
        rgba(0,0,0,0.45) 0%,
        rgba(0,0,0,0.18) 15%,
        transparent 35%
    );
    pointer-events: none;
}

/* ── Split layout wrapper ── */
.hero-root__content {
    position: relative;
    z-index: 1;
    flex: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
    padding-inline: clamp(1.5rem, 5vw, 4rem);
    padding-top: clamp(5rem, 10vw, 7rem);
    padding-bottom: clamp(2rem, 5vw, 3rem);
    gap: 2rem;
}

@media (max-width: 900px) {
    .hero-root__content {
        grid-template-columns: 1fr;
    }
    .hero-right-pane { display: none; }
}

.hero-right-pane {
    /* purely visual spacer — image shows through background here */
    min-height: 1px;
}

/* ── Copy block — sits on solid dark from overlay ── */
.hero-copy {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ── Eyebrow — solid colour badge ── */
.hero-copy__eyebrow {
    margin: 0;
}

.hero-copy__eyebrow-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.38rem 1rem;
    border-radius: 999px;
    background: rgba(30,89,131,0.18);
    border: 1px solid rgba(30,89,131,0.45);
    color: #1e5983;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.hero-copy__headline {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin: 0;
    font-size: unset;
    line-height: 1;
}

.hero-copy__hl-accent {
    display: block;
    font-size: clamp(2.2rem, 6vw, 4.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.4;
}

.hero-copy__hl-body {
    display: block;
    font-size: clamp(1.1rem, 2.6vw, 1.8rem);
    font-weight: 500;
    line-height: 1.38;
    color: rgba(255,255,255,0.88);
}

.hero-copy__lead {
    font-size: clamp(0.88rem, 1.3vw, 1rem);
    line-height: 1.72;
    color: rgba(255,255,255,0.62);
    max-width: 560px;
    margin: 0;
}

.hero-copy__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
}

/* ── Service bar — slim compact strip at hero bottom ── */
.hero-bar {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: stretch;
    border-top: 1px solid rgba(255,255,255,0.1);
    background: rgba(3,3,3,0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

@media (max-width: 700px) {
    .hero-bar {
        flex-direction: column;
    }
}

.hero-bar__item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1.1rem 1.4rem;
    text-decoration: none;
    color: inherit;
    transition: background 0.22s ease;
}

.hero-bar__item:hover,
.hero-bar__item:focus-visible {
    background: rgba(30,89,131,0.08);
    outline: none;
}

.hero-bar__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 10px;
    background: rgba(30,89,131,0.16);
    border: 1px solid rgba(30,89,131,0.35);
    color: #1e5983;
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: background 0.22s ease, border-color 0.22s ease;
}

.hero-bar__item:hover .hero-bar__icon {
    background: rgba(30,89,131,0.28);
    border-color: rgba(30,89,131,0.65);
}

.hero-bar__text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    flex: 1;
    min-width: 0;
}

.hero-bar__text strong {
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}

.hero-bar__text span {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.48);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-bar__arrow {
    font-size: 0.65rem;
    color: rgba(30,89,131,0.5);
    flex-shrink: 0;
    transform: translateX(0);
    transition: transform 0.22s ease, color 0.22s ease;
}

.hero-bar__item:hover .hero-bar__arrow {
    transform: translateX(4px);
    color: #1e5983;
}

.hero-bar__divider {
    width: 1px;
    background: rgba(255,255,255,0.08);
    flex-shrink: 0;
    align-self: stretch;
}

@media (max-width: 700px) {
    .hero-bar__divider {
        width: auto;
        height: 1px;
        align-self: auto;
    }
    .hero-bar__item {
        padding: 0.85rem 1.1rem;
    }
}


/* ═══════════════════════════════════════
   Portfolio / project cards
═══════════════════════════════════════ */
.portfolio-card {
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    text-decoration: none;
    color: inherit;
    height: 100%;
    transition:
        border-color 0.28s ease,
        transform 0.28s ease,
        box-shadow 0.28s ease;
}

.portfolio-card:hover,
.portfolio-card:focus-visible {
    outline: none;
    transform: translateY(-4px);
    border-color: rgba(30,89,131,0.5);
    box-shadow:
        0 0 0 1px rgba(30,89,131,0.35),
        0 16px 48px rgba(0,0,0,0.45),
        0 0 40px rgba(30,89,131,0.12);
}

.portfolio-card__fig {
    position: relative;
    margin: 0;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    flex-shrink: 0;
}

.portfolio-card__fig img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-card__fig img,
.portfolio-card:focus-visible .portfolio-card__fig img {
    transform: scale(1.06);
}

.portfolio-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1rem 1.1rem 1.2rem;
    flex: 1;
}

.portfolio-card__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #1e5983;
}

.portfolio-card__tag i {
    font-size: 0.68rem;
}

.portfolio-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.3;
}

.portfolio-card__desc {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.52);
    margin: 0;
    line-height: 1.5;
}

/* ═══════════════════════════════════════
   Concept image — Mix & Match section
═══════════════════════════════════════ */
.concept-img-wrap {
    position: relative;
    display: block;
}

.concept-img-frame {
    display: block;
    width: 100%;
    border-radius: 20px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center 35%;
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow:
        0 0 0 1px rgba(30, 89, 131, 0.18),
        0 24px 64px rgba(0, 0, 0, 0.55),
        0 0 48px rgba(30, 89, 131, 0.12);
    transition: box-shadow 0.4s ease;
}

.concept-img-frame:hover {
    box-shadow:
        0 0 0 2px rgba(52, 118, 162, 0.45),
        0 28px 72px rgba(0, 0, 0, 0.5),
        0 0 72px rgba(30, 89, 131, 0.22);
}

/* Amber glow underneath — stage footlight wash */
.concept-img-glow {
    position: absolute;
    bottom: -24px;
    left: 8%;
    right: 8%;
    height: 48px;
    pointer-events: none;
    border-radius: 50%;
    background: radial-gradient(
        ellipse 80% 100% at 50% 0%,
        rgba(30, 89, 131, 0.28) 0%,
        rgba(30, 89, 131, 0.06) 55%,
        transparent 100%
    );
    filter: blur(8px);
    z-index: -1;
}

/* ═══════════════════════════════════════
   Why Hotspot section
═══════════════════════════════════════ */
.why-hotspot__eyebrow {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #1e5983;
    margin: 0 0 0.5rem;
}

.why-hotspot__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    width: 100%;
}

@media (max-width: 900px) {
    .why-hotspot__grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-inline: auto;
    }
}

/* ── Individual card ── */
.why-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 2rem 1.6rem 1.8rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.09);
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.why-card:hover {
    border-color: rgba(30, 89, 131, 0.4);
    transform: translateY(-4px);
}

/* Centre card — highlighted / "lit" */
.why-card--accent {
    background: rgba(30, 89, 131, 0.07);
    border-color: rgba(30, 89, 131, 0.28);
}

.why-card--accent:hover {
    border-color: rgba(52, 118, 162, 0.6);
}

/* Spotlight cone effect inside card */
.why-card__spotlight {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 160px;
    pointer-events: none;
    background: radial-gradient(
        ellipse 70% 100% at 50% 0%,
        rgba(30, 89, 131, 0.14) 0%,
        rgba(30, 89, 131, 0.04) 55%,
        transparent 78%
    );
    animation: why-spot 6s ease-in-out infinite alternate;
}

.why-card__spotlight--bright {
    background: radial-gradient(
        ellipse 70% 100% at 50% 0%,
        rgba(74, 138, 184, 0.32) 0%,
        rgba(30, 89, 131, 0.10) 50%,
        transparent 72%
    );
}

@keyframes why-spot {
    0%   { opacity: 0.6; transform: translateX(-50%) scaleX(0.92); }
    100% { opacity: 1;   transform: translateX(-50%) scaleX(1.08); }
}

/* Icon */
.why-card__icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 12px;
    background: rgba(30, 89, 131, 0.14);
    border: 1px solid rgba(30, 89, 131, 0.35);
    flex-shrink: 0;
}

.why-card--accent .why-card__icon-wrap {
    background: rgba(30, 89, 131, 0.22);
    border-color: rgba(30, 89, 131, 0.55);
}

.why-card__icon {
    font-size: 1.05rem;
    color: #1e5983;
}

/* Number badge */
.why-card__num {
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(30, 89, 131, 0.6);
    margin-top: 0.25rem;
}

/* Title */
.why-card__title {
    font-size: 1.08rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
}

/* Description */
.why-card__desc {
    font-size: 0.88rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.58);
    margin: 0;
    flex: 1;
}

/* CTA link */
.why-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(30, 89, 131, 0.75);
    text-decoration: none;
    margin-top: auto;
    transition: color 0.2s ease, gap 0.2s ease;
}

.why-card__link:hover {
    color: #1e5983;
    gap: 0.65rem;
}

.why-card__link i {
    font-size: 0.68rem;
    transition: transform 0.2s ease;
}

.why-card__link:hover i {
    transform: translateX(3px);
}

/* ═══════════════════════════════════════
   Page sections below hero
═══════════════════════════════════════ */
.card-item figure {
    min-height: 220px;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(
        160deg,
        rgba(30, 89, 131, 0.12) 0%,
        rgba(20, 20, 24, 0.9) 45%,
        #0a0a0a 100%
    );
}

.card-item figure img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
}

.card-feature.animated-gradient {
    background-color: rgba(18, 18, 22, 0.92) !important;
    background-image:
        radial-gradient(ellipse 120% 80% at 100% 100%, rgba(30, 89, 131, 0.22) 0%, transparent 55%),
        radial-gradient(ellipse 100% 70% at 0% 0%, rgba(255, 255, 255, 0.06) 0%, transparent 50%) !important;
    border: 1px solid rgba(255, 255, 255, 0.09);
    animation: lighting-shift 14s ease-in-out infinite alternate !important;
}

.home-deep-cta {
    max-width: 680px;
    padding: 2.5rem 2rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 24px 64px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(30, 89, 131, 0.08);
    background: rgba(8, 8, 10, 0.82);
    background-image: linear-gradient(180deg, rgba(30, 89, 131, 0.1) 0%, transparent 42%);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

/* ── Quick CTA form ── */
.cta-quick-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 0.75rem;
    align-items: start;
}

@media (max-width: 680px) {
    .cta-quick-form__row {
        grid-template-columns: 1fr;
    }
    .home-deep-cta {
        padding: 1.75rem 1.25rem;
    }
}

.cta-quick-form__field {
    display: flex;
    flex-direction: column;
}

.cta-quick-form__input {
    width: 100%;
    padding: 0.72rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 0.88rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.cta-quick-form__input::placeholder {
    color: rgba(255, 255, 255, 0.38);
}

.cta-quick-form__input:focus {
    border-color: rgba(30, 89, 131, 0.6);
    box-shadow: 0 0 0 3px rgba(30, 89, 131, 0.12);
    background: rgba(255, 255, 255, 0.09);
}

/* Bootstrap validation states */
.was-validated .cta-quick-form__input:valid {
    border-color: rgba(100, 220, 150, 0.5);
}

.was-validated .cta-quick-form__input:invalid {
    border-color: rgba(255, 80, 80, 0.6);
}

.cta-quick-form__input.is-invalid {
    border-color: rgba(255, 80, 80, 0.6) !important;
}

.invalid-feedback {
    font-size: 0.72rem;
    color: rgba(255, 120, 120, 0.88);
    margin-top: 0.3rem;
    padding-left: 0.25rem;
}

.cta-quick-form__btn {
    white-space: nowrap;
    align-self: start;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.cta-quick-form__note {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 0;
}

.cta-quick-form__about-link {
    color: rgba(30, 89, 131, 0.85);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.cta-quick-form__about-link:hover {
    color: #1e5983;
}

.home-stat-card {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px;
}

.home-stat-card .text-secondary {
    color: rgba(255, 255, 255, 0.55) !important;
}

.home-highlight-panel {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    background:
        linear-gradient(160deg, rgba(30, 89, 131, 0.14) 0%, rgba(8, 8, 10, 0.92) 45%, #050506 100%),
        url("../image/img17.jpg") center / cover no-repeat;
}

.home-highlight-panel__inner {
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, rgba(3, 3, 3, 0.25) 0%, rgba(3, 3, 3, 0.88) 100%);
}

.home-highlight-panel .badge.bg-accent-primary {
    background: rgba(30, 89, 131, 0.18) !important;
    color: #ff9a5c !important;
    border: 1px solid rgba(30, 89, 131, 0.4);
}

.home-service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    height: 100%;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.home-service-card:hover {
    border-color: rgba(30, 89, 131, 0.35);
    transform: translateY(-3px);
}

.home-service-card i {
    font-size: 2rem;
    color: #1e5983;
}

.home-testimonial {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
}

.home-testimonial__quote {
    font-size: 1.05rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
}

.home-testimonial cite {
    font-style: normal;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}
