

/* =========================================
   SHRI BALAJI POWER SOLUTION
   TURNKEY PROJECT PAGE
========================================= */

.tk-page {
    --tk-ink: #14243a;
    --tk-muted: #667386;
    --tk-gold: #373687;
    --tk-gold-dark: #03257c;
    --tk-border: #e6e9ee;
    --tk-soft: #f7f8fa;
    background: #ffffff;
    color: var(--tk-ink);
    font-family: "Inter", sans-serif;
    overflow: hidden;
}

.tk-page *,
.tk-lightbox * {
    box-sizing: border-box;
}

.tk-container {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

.tk-page a {
    text-decoration: none;
}

.tk-page button {
    font: inherit;
}

.tk-page img {
    display: block;
    max-width: 100%;
}

/* ---------- HERO ---------- */

.tk-hero {
    position: relative;
    padding: 86px 0 90px;
    background:
        radial-gradient(circle at 80% 40%, rgba(200, 155, 69, .10), transparent 32%),
        linear-gradient(120deg, #fff 45%, #f7f8fa 100%);
}

.tk-hero > .tk-container {
    display: grid;
    grid-template-columns: 1.04fr .96fr;
    align-items: center;
    gap: 65px;
}

.tk-hero-content {
    position: relative;
    z-index: 2;
}

.tk-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--tk-gold-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1.6;
}

.tk-eyebrow-line {
    width: 30px;
    height: 2px;
    background: var(--tk-gold);
    display: inline-block;
}

.tk-hero h1 {
    max-width: 650px;
    margin: 23px 0;
    color: var(--tk-ink);
    font-family: "Montserrat", sans-serif;
    font-size: clamp(38px, 5vw, 63px);
    font-weight: 800;
    letter-spacing: -2.4px;
    line-height: 1.12;
}

.tk-hero h1 span,
.tk-section-heading h2 span {
    color: var(--tk-gold-dark);
}

.tk-hero-content > p {
    max-width: 570px;
    margin: 0;
    color: var(--tk-muted);
    font-size: 15px;
    line-height: 1.95;
}

.tk-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.tk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 49px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: background .25s ease, color .25s ease,
                border-color .25s ease, transform .25s ease;
}

.tk-btn:hover {
    transform: translateY(-2px);
}

.tk-btn-primary {
    background: var(--tk-ink);
    color: #fff !important;
}

.tk-btn-primary:hover {
    background: var(--tk-gold-dark);
}

.tk-btn-outline {
    border-color: #d9dee5;
    background: #fff;
    color: var(--tk-ink) !important;
}

.tk-btn-outline:hover {
    border-color: var(--tk-gold);
    color: var(--tk-gold-dark) !important;
}

.tk-hero-note {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 28px;
    color: #687588;
    font-size: 11px;
    font-weight: 600;
}

.tk-hero-note i {
    color: var(--tk-gold-dark);
}

/* ---------- HERO 3D VISUAL ---------- */

.tk-hero-visual {
    min-width: 0;
    min-height: 410px;
    position: relative;
    display: grid;
    place-items: center;
    perspective: 1100px;
}

.tk-visual-glow {
    position: absolute;
    width: 330px;
    height: 330px;
    border: 1px solid rgba(200, 155, 69, .22);
    border-radius: 50%;
    box-shadow:
        0 0 0 32px rgba(200, 155, 69, .035),
        0 0 0 64px rgba(200, 155, 69, .025);
}

.tk-visual-card {
    position: absolute;
    width: min(78%, 400px);
    height: 285px;
    overflow: hidden;
    border: 7px solid #fff;
    border-radius: 7px;
    background: #edf0f3;
    box-shadow: 0 24px 60px rgba(20, 36, 58, .16);
}

.tk-visual-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tk-visual-card-back {
    transform: translate(24px, -23px) rotate(8deg);
    opacity: .78;
}

.tk-visual-card-front {
    transform: translate(-10px, 15px) rotate(-4deg);
}

.tk-visual-label {
    position: absolute;
    right: 12px;
    bottom: 12px;
    left: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 13px;
    background: rgba(20, 36, 58, .94);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.tk-status-dot,
.tk-hint-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: var(--tk-gold);
}

.tk-visual-number {
    position: absolute;
    right: 3%;
    bottom: 0;
    color: rgba(20, 36, 58, .08);
    font-family: "Montserrat", sans-serif;
    font-size: 100px;
    font-weight: 800;
    line-height: 1;
}

/* ---------- SERVICES STRIP ---------- */

.tk-services {
    border-top: 1px solid var(--tk-border);
    border-bottom: 1px solid var(--tk-border);
    background: #fff;
}

.tk-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.tk-service {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 29px 24px;
    border-right: 1px solid var(--tk-border);
}

.tk-service:first-child {
    padding-left: 0;
}

.tk-service:last-child {
    padding-right: 0;
    border-right: 0;
}

.tk-service-icon {
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    display: grid;
    place-items: center;
    border: 1px solid #eadcc1;
    border-radius: 5px;
    background: #fbf7ef;
    color: var(--tk-gold-dark);
}

.tk-service h3 {
    margin: 1px 0 7px;
    font-size: 13px;
    font-weight: 800;
}

.tk-service p {
    margin: 0;
    color: var(--tk-muted);
    font-size: 11px;
    line-height: 1.8;
}

/* ---------- GALLERY SECTION ---------- */

.tk-gallery-section {
    padding: 100px 0 95px;
    scroll-margin-top: 35px;
    background: #fff;
}

.tk-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 25px;
}

.tk-section-heading h2 {
    margin: 15px 0 12px;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(28px, 3.7vw, 43px);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.2;
}

.tk-section-heading p {
    max-width: 640px;
    margin: 0;
    color: var(--tk-muted);
    font-size: 13px;
    line-height: 1.9;
}

.tk-gallery-counter {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    padding: 12px 16px;
    border: 1px solid var(--tk-border);
    border-radius: 5px;
}

.tk-gallery-counter strong {
    color: var(--tk-gold-dark);
    font-family: "Montserrat", sans-serif;
    font-size: 31px;
    line-height: 1;
}

.tk-gallery-counter span {
    color: var(--tk-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1.6;
}

/* The overlapping stack stays visible while scrolling. */

.tk-gallery-stage {
    position: relative;
    display: grid;
    place-items: center;
    height: 430px;
    margin-top: 30px;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid #edf0f3;
    border-radius: 8px;
    background:
        radial-gradient(ellipse at 50% 46%, rgba(200, 155, 69, .09), transparent 48%),
        linear-gradient(135deg, #fafbfc, #f2f4f7);
    perspective: 1200px;
}

.tk-stack-glow {
    position: absolute;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(200, 155, 69, .25);
    border-radius: 50%;
    box-shadow: 0 0 0 35px rgba(200, 155, 69, .035);
}

.tk-stack-image {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(44%, 390px);
    height: 265px;
    padding: 0;
    overflow: hidden;
    border: 6px solid #fff;
    border-radius: 6px;
    background: #e9edf1;
    box-shadow: 0 20px 45px rgba(20, 36, 58, .19);
    cursor: pointer;
    transition:
        transform .8s cubic-bezier(.2, .8, .2, 1),
        opacity .6s ease,
        box-shadow .3s ease;
}

.tk-stack-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tk-stack-image-4 {
    z-index: 1;
    transform: translate(-40%, -52%) rotate(-13deg) scale(.88);
    opacity: .65;
}

.tk-stack-image-3 {
    z-index: 2;
    transform: translate(-58%, -48%) rotate(-7deg) scale(.93);
    opacity: .82;
}

.tk-stack-image-2 {
    z-index: 3;
    transform: translate(-39%, -48%) rotate(7deg) scale(.96);
}

.tk-stack-image-1 {
    z-index: 4;
    transform: translate(-50%, -50%) rotate(-1deg);
}

.tk-stack-image:hover {
    box-shadow: 0 26px 55px rgba(20, 36, 58, .26);
}

.tk-stack-tag {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 13px;
    background: rgba(20, 36, 58, .95);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

.tk-stack-tag i {
    color: var(--tk-gold);
}

.tk-stack-caption {
    position: absolute;
    z-index: 5;
    right: 25px;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: right;
}

.tk-stack-caption > span {
    color: var(--tk-gold-dark);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.tk-stack-caption strong {
    font-size: 15px;
}

.tk-stack-caption small {
    color: var(--tk-muted);
    font-size: 10px;
}

/* Stack fans out when button is clicked. */
.tk-gallery-stage.is-unfolded .tk-stack-image-1 {
    transform: translate(-50%, -50%) rotate(0) scale(.7);
    opacity: 0;
    pointer-events: none;
}

.tk-gallery-stage.is-unfolded .tk-stack-image-2 {
    transform: translate(70%, -100%) rotate(15deg) scale(.6);
    opacity: 0;
    pointer-events: none;
}

.tk-gallery-stage.is-unfolded .tk-stack-image-3 {
    transform: translate(-140%, 20%) rotate(-15deg) scale(.6);
    opacity: 0;
    pointer-events: none;
}

.tk-gallery-stage.is-unfolded .tk-stack-image-4 {
    transform: translate(70%, 20%) rotate(12deg) scale(.6);
    opacity: 0;
    pointer-events: none;
}

.tk-gallery-stage.is-unfolded .tk-stack-caption {
    opacity: 0;
    transition: opacity .25s ease;
}

/* ---------- GALLERY CONTROLS ---------- */

.tk-gallery-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 0 28px;
    border-bottom: 1px solid var(--tk-border);
}

.tk-gallery-controls > p {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: var(--tk-muted);
    font-size: 11px;
}

.tk-gallery-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tk-gallery-buttons .tk-btn {
    min-height: 44px;
}

.tk-gallery-buttons .tk-btn i {
    font-size: 11px;
}

/* ---------- UNFOLDED IMAGE GRID ---------- */

.tk-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    padding-top: 30px;
}

#galleryGrid:not(.is-visible) {
    display: none;
}

.tk-gallery-item {
    position: relative;
    min-width: 0;
    aspect-ratio: 4 / 3;
    padding: 0;
    overflow: hidden;
    border: 1px solid #e5e8ed;
    border-radius: 5px;
    background: #eef1f4;
    text-align: left;
    cursor: pointer;
    opacity: 0;
    transform: perspective(1000px) translateY(30px) rotateX(-10deg) scale(.94);
    transition:
        opacity .65s ease,
        transform .7s cubic-bezier(.2, .75, .25, 1),
        box-shadow .3s ease;
    transition-delay: calc(var(--item-index, 0) * 65ms);
}

#galleryGrid.is-visible .tk-gallery-item {
    opacity: 1;
    transform: perspective(1000px) translateY(0) rotateX(0) scale(1);
}

.tk-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.tk-gallery-item:hover img {
    transform: scale(1.06);
}

.tk-gallery-item:hover {
    box-shadow: 0 14px 35px rgba(20, 36, 58, .13);
}

.tk-image-caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 35px 15px 15px;
    background: linear-gradient(transparent, rgba(12, 25, 42, .92));
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.tk-image-open {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 50%;
    background: rgba(20, 36, 58, .75);
    color: #fff;
    opacity: 0;
    transform: translateY(5px);
    transition: opacity .25s ease, transform .25s ease;
}

.tk-gallery-item:hover .tk-image-open,
.tk-gallery-item:focus-visible .tk-image-open {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- WORK PROCESS ---------- */

.tk-process-section {
    padding: 85px 0 90px;
    background: var(--tk-soft);
    border-top: 1px solid var(--tk-border);
    border-bottom: 1px solid var(--tk-border);
}

.tk-process-heading {
    align-items: center;
    margin-bottom: 35px;
}

.tk-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 17px;
}

.tk-process-card {
    position: relative;
    min-height: 215px;
    padding: 25px 21px;
    border: 1px solid #e5e8ed;
    border-radius: 5px;
    background: #fff;
    transition: transform .25s ease, box-shadow .25s ease;
}

.tk-process-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(20, 36, 58, .07);
}

.tk-process-card > span {
    position: absolute;
    top: 17px;
    right: 17px;
    color: #d7dce3;
    font-family: "Montserrat", sans-serif;
    font-size: 22px;
    font-weight: 800;
}

.tk-process-card > i {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    margin-bottom: 24px;
    border-radius: 5px;
    background: #fbf6ec;
    color: var(--tk-gold-dark);
    font-size: 17px;
}

.tk-process-card h3 {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 800;
}

.tk-process-card p {
    margin: 0;
    color: var(--tk-muted);
    font-size: 11px;
    line-height: 1.8;
}

/* ---------- CONTACT CTA ---------- */

.tk-contact-cta {
    padding: 64px 0;
    background: var(--tk-ink);
    color: #fff;
}

.tk-contact-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.tk-contact-inner .tk-eyebrow {
    color: #e2bc72;
}

.tk-contact-inner h2 {
    max-width: 700px;
    margin: 13px 0 9px;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(24px, 3vw, 35px);
    line-height: 1.3;
}

.tk-contact-inner p {
    margin: 0;
    color: #c5ced9;
    font-size: 13px;
    line-height: 1.8;
}

.tk-btn-light {
    flex: 0 0 auto;
    background: var(--tk-gold);
    color: #14243a !important;
}

.tk-btn-light:hover {
    background: #fff;
}

/* ---------- FULLSCREEN LIGHTBOX ---------- */

.tk-lightbox {
    position: fixed;
    z-index: 99999;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    padding: 70px 75px;
    background: rgba(7, 14, 25, .96);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease, visibility .25s ease;
}

.tk-lightbox.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.tk-lightbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: min(100%, 1050px);
    max-height: 100%;
}

.tk-lightbox-content img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 160px);
    object-fit: contain;
    border-radius: 3px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, .3);
}

.tk-lightbox-caption {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    padding-top: 17px;
    color: #fff;
}

.tk-lightbox-caption span {
    color: #e2bc72;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.tk-lightbox-caption strong {
    font-size: 12px;
    text-align: right;
}

.tk-lightbox-close,
.tk-lightbox-nav {
    position: absolute;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.tk-lightbox-close:hover,
.tk-lightbox-nav:hover {
    background: var(--tk-gold);
    color: #14243a;
}

.tk-lightbox-close {
    top: 22px;
    right: 25px;
    font-size: 20px;
}

.tk-lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
}

.tk-lightbox-prev {
    left: 20px;
}

.tk-lightbox-next {
    right: 20px;
}

body.tk-lightbox-open {
    overflow: hidden;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 950px) {
    .tk-hero > .tk-container {
        gap: 25px;
    }

    .tk-hero-visual {
        min-height: 350px;
    }

    .tk-visual-card {
        height: 235px;
    }

    .tk-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tk-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tk-service {
        padding-inline: 14px;
    }
}

@media (max-width: 650px) {
    .tk-container {
        width: calc(100% - 32px);
    }

    .tk-hero {
        padding: 55px 0 45px;
    }

    .tk-hero > .tk-container {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .tk-hero h1 {
        font-size: clamp(35px, 10vw, 48px);
        letter-spacing: -1.5px;
    }

    .tk-hero-content > p {
        font-size: 13px;
    }

    .tk-hero-visual {
        min-height: 315px;
    }

    .tk-visual-card {
        width: 75%;
        height: 220px;
    }

    .tk-visual-glow {
        width: 220px;
        height: 220px;
    }

    .tk-visual-number {
        font-size: 70px;
    }

    .tk-services-grid {
        grid-template-columns: 1fr;
    }

    .tk-service,
    .tk-service:first-child,
    .tk-service:last-child {
        padding: 20px 0;
        border-right: 0;
        border-bottom: 1px solid var(--tk-border);
    }

    .tk-service:last-child {
        border-bottom: 0;
    }

    .tk-gallery-section {
        padding: 65px 0;
    }

    .tk-section-heading {
        align-items: flex-start;
        gap: 15px;
    }

    .tk-section-heading h2 {
        font-size: 29px;
        letter-spacing: -.8px;
    }

    .tk-gallery-counter {
        gap: 8px;
        padding: 9px;
    }

    .tk-gallery-counter strong {
        font-size: 23px;
    }

    .tk-gallery-counter span {
        font-size: 8px;
    }

    .tk-gallery-stage {
        height: 340px;
    }

    .tk-stack-image {
        width: 73%;
        height: 205px;
    }

    .tk-stack-glow {
        width: 200px;
        height: 200px;
    }

    .tk-stack-caption {
        right: 13px;
        bottom: 12px;
    }

    .tk-stack-caption strong {
        font-size: 12px;
    }

    .tk-stack-caption small {
        font-size: 9px;
    }

    .tk-gallery-controls {
        align-items: flex-start;
        flex-direction: column;
    }

    .tk-gallery-buttons {
        width: 100%;
    }

    .tk-gallery-buttons .tk-btn {
        flex: 1;
        padding-inline: 12px;
        font-size: 10px;
    }

    .tk-gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .tk-image-open {
        opacity: 1;
        transform: none;
    }

    .tk-process-section {
        padding: 60px 0;
    }

    .tk-process-grid {
        grid-template-columns: 1fr;
    }

    .tk-process-card {
        min-height: 175px;
    }

    .tk-contact-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .tk-contact-cta {
        padding: 48px 0;
    }

    .tk-lightbox {
        gap: 0;
        padding: 65px 15px;
    }

    .tk-lightbox-content img {
        max-height: calc(100vh - 170px);
    }

    .tk-lightbox-nav {
        top: auto;
        bottom: 15px;
        transform: none;
    }

    .tk-lightbox-prev {
        left: calc(50% - 58px);
    }

    .tk-lightbox-next {
        right: calc(50% - 58px);
    }

    .tk-lightbox-caption {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .tk-lightbox-caption strong {
        text-align: center;
    }

    .tk-lightbox-close {
        top: 12px;
        right: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tk-page *,
    .tk-lightbox * {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}
