﻿/* =========================================================
   KY INFOTECH SERVICES
   PORTFOLIO PAGE ONLY
========================================================= */

.ky-portfolio-hero {
    position: relative;
    overflow: hidden;
    background: #0f172a;
}

    .ky-portfolio-hero .carousel {
        position: relative;
    }

.ky-portfolio-hero-img {
    width: 100%;
    height: 720px;
    object-fit: cover;
    display: block;
}

.ky-portfolio-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 15, 30, .88) 0%, rgba(5, 15, 30, .58) 42%, rgba(5, 15, 30, .18) 100%), linear-gradient(0deg, rgba(0, 0, 0, .35), transparent 50%);
}

.ky-portfolio-hero-content {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    max-width: 720px;
    color: #fff;
    z-index: 3;
}

.ky-portfolio-kicker {
    display: inline-block;
    padding: 9px 18px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50px;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(10px);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 22px;
}

.ky-portfolio-hero-content h1,
.ky-portfolio-hero-content h2 {
    margin: 0 0 20px;
    font-size: clamp(42px, 5vw, 76px);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: -2px;
}

    .ky-portfolio-hero-content h1 span,
    .ky-portfolio-hero-content h2 span {
        display: block;
        color: #22c55e;
    }

.ky-portfolio-hero-content p {
    max-width: 620px;
    font-size: 18px;
    line-height: 1.75;
    color: rgba(255,255,255,.84);
    margin-bottom: 30px;
}

.ky-portfolio-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 50px;
    background: #2563eb;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 700;
    transition: .3s ease;
}

    .ky-portfolio-btn:hover {
        transform: translateY(-3px);
        background: #1d4ed8;
        box-shadow: 0 15px 35px rgba(37,99,235,.28);
    }

.ky-portfolio-hero .carousel-control-prev,
.ky-portfolio-hero .carousel-control-next {
    width: 70px;
    z-index: 5;
}

.ky-portfolio-hero .carousel-indicators {
    z-index: 6;
}

    .ky-portfolio-hero .carousel-indicators button {
        width: 28px;
        height: 4px;
        border: 0;
        border-radius: 10px;
    }



/* =========================================================
   INTRO
========================================================= */

.ky-portfolio-intro {
    padding: 105px 0 70px;
    background: #fff;
}

.ky-portfolio-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: end;
}

.ky-portfolio-section-label,
.ky-portfolio-heading > span {
    display: inline-block;
    margin-bottom: 14px;
    color: #2563eb;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2.5px;
}

.ky-portfolio-intro h2 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(36px, 4vw, 58px);
    line-height: 1.1;
    letter-spacing: -2px;
}

    .ky-portfolio-intro h2 span {
        color: #2563eb;
    }

.ky-portfolio-intro p {
    margin: 0;
    color: #64748b;
    font-size: 17px;
    line-height: 1.9;
}



/* =========================================================
   FILTER
========================================================= */

.ky-portfolio-filter-section {
    padding: 15px 0 60px;
    background: #fff;
}

.ky-portfolio-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

    .ky-portfolio-filter button {
        border: 1px solid #e2e8f0;
        background: #fff;
        color: #64748b;
        padding: 11px 20px;
        border-radius: 50px;
        font-weight: 600;
        cursor: pointer;
        transition: .3s ease;
    }

        .ky-portfolio-filter button:hover,
        .ky-portfolio-filter button.active {
            background: #0f172a;
            border-color: #0f172a;
            color: #fff;
        }



/* =========================================================
   PROJECTS
========================================================= */

.ky-portfolio-projects {
    padding: 60px 0 120px;
    background: #f7f9fc;
}

.ky-portfolio-heading {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 55px;
}

    .ky-portfolio-heading h2 {
        margin: 0 0 15px;
        color: #0f172a;
        font-size: clamp(36px, 4vw, 54px);
        line-height: 1.1;
        letter-spacing: -1.5px;
    }

        .ky-portfolio-heading h2 strong {
            color: #2563eb;
        }

    .ky-portfolio-heading p {
        margin: 0;
        color: #64748b;
        font-size: 16px;
        line-height: 1.8;
    }

.ky-portfolio-project {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: 24px;
    background: #0f172a;
}

.ky-project-image {
    position: relative;
    height: 100%;
    min-height: 390px;
    overflow: hidden;
}

.ky-project-large .ky-project-image,
.ky-project-wide .ky-project-image {
    min-height: 500px;
}

.ky-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .7s ease;
}

.ky-portfolio-project:hover img {
    transform: scale(1.06);
}

.ky-project-overlay {
    position: absolute;
    inset: 0;
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient( 180deg, transparent 20%, rgba(4,12,24,.18) 42%, rgba(4,12,24,.94) 100% );
    color: #fff;
}

    .ky-project-overlay span {
        width: fit-content;
        padding: 7px 13px;
        margin-bottom: 12px;
        border-radius: 50px;
        background: rgba(37,99,235,.9);
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

    .ky-project-overlay h3 {
        margin: 0 0 8px;
        font-size: 29px;
        font-weight: 800;
    }

    .ky-project-overlay p {
        max-width: 520px;
        margin: 0 0 20px;
        color: rgba(255,255,255,.8);
        line-height: 1.6;
    }

    .ky-project-overlay a {
        width: fit-content;
        display: inline-flex;
        align-items: center;
        gap: 9px;
        color: #fff;
        text-decoration: none;
        font-weight: 700;
    }

        .ky-project-overlay a:hover {
            color: #22c55e;
        }



/* =========================================================
   LIVE WEBSITE
========================================================= */

.ky-portfolio-live {
    padding: 120px 0;
    background: radial-gradient(circle at 15% 20%, rgba(37,99,235,.25), transparent 30%), radial-gradient(circle at 85% 80%, rgba(22,163,74,.18), transparent 28%), #0b1220;
}

.ky-heading-light > span {
    color: #60a5fa;
}

.ky-heading-light h2 {
    color: #fff;
}

.ky-heading-light p {
    color: #94a3b8;
}

.ky-live-showcase {
    max-width: 1150px;
    margin: 0 auto;
}

.ky-live-browser {
    overflow: hidden;
    border-radius: 22px;
    background: #111827;
    box-shadow: 0 40px 90px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.08);
}

.ky-browser-bar {
    height: 58px;
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 0 22px;
    background: #172033;
}

.ky-browser-dots {
    display: flex;
    gap: 7px;
}

    .ky-browser-dots span {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #64748b;
    }

.ky-browser-url {
    flex: 1;
    max-width: 550px;
    padding: 9px 18px;
    border-radius: 30px;
    background: #0f172a;
    color: #94a3b8;
    font-size: 13px;
}

.ky-live-frame {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: #fff;
}

    .ky-live-frame iframe {
        width: 100%;
        height: 100%;
        border: 0;
        background: #fff;
    }

.ky-live-frame-overlay {
    position: absolute;
    right: 25px;
    bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 12px 10px 18px;
    border-radius: 50px;
    background: rgba(15,23,42,.9);
    backdrop-filter: blur(12px);
}

    .ky-live-frame-overlay span {
        color: #fff;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 1px;
    }

    .ky-live-frame-overlay a {
        padding: 10px 17px;
        border-radius: 50px;
        background: #2563eb;
        color: #fff;
        text-decoration: none;
        font-size: 12px;
        font-weight: 700;
    }



/* =========================================================
   RESPONSIVE SHOWCASE
========================================================= */

.ky-portfolio-responsive {
    padding: 120px 0;
    background: #fff;
}

.ky-responsive-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 70px;
    align-items: center;
}

.ky-responsive-content h2 {
    margin: 0 0 20px;
    color: #0f172a;
    font-size: clamp(38px, 4vw, 58px);
    line-height: 1.1;
}

    .ky-responsive-content h2 span {
        display: block;
        color: #2563eb;
    }

.ky-responsive-content p {
    color: #64748b;
    font-size: 17px;
    line-height: 1.8;
}

.ky-responsive-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 30px;
}

    .ky-responsive-points div {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 15px;
        border: 1px solid #e2e8f0;
        border-radius: 14px;
        color: #334155;
        font-weight: 700;
    }

    .ky-responsive-points i {
        color: #2563eb;
        font-size: 22px;
    }

.ky-responsive-visual {
    position: relative;
}

    .ky-responsive-visual img {
        width: 100%;
        border-radius: 28px;
        display: block;
        box-shadow: 0 30px 70px rgba(15,23,42,.15);
    }

.ky-responsive-badge {
    position: absolute;
    left: -30px;
    bottom: 35px;
    display: flex;
    flex-direction: column;
    padding: 20px 25px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(15,23,42,.15);
}

    .ky-responsive-badge strong {
        color: #16a34a;
        font-size: 34px;
    }

    .ky-responsive-badge span {
        color: #64748b;
        font-size: 12px;
    }



/* =========================================================
   INDUSTRIES
========================================================= */

.ky-portfolio-industries {
    padding: 120px 0;
    background: #f7f9fc;
}

.ky-industry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.ky-industry-card {
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    border: 1px solid #e2e8f0;
    transition: .35s ease;
}

    .ky-industry-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 25px 55px rgba(15,23,42,.12);
    }

.ky-industry-image {
    height: 220px;
    overflow: hidden;
}

    .ky-industry-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: .6s ease;
    }

.ky-industry-card:hover .ky-industry-image img {
    transform: scale(1.08);
}

.ky-industry-content {
    padding: 25px;
}

    .ky-industry-content i {
        color: #2563eb;
        font-size: 27px;
    }

    .ky-industry-content h3 {
        margin: 15px 0 8px;
        color: #0f172a;
        font-size: 22px;
    }

    .ky-industry-content p {
        margin: 0;
        color: #64748b;
        line-height: 1.7;
        font-size: 14px;
    }



/* =========================================================
   CTA
========================================================= */

.ky-portfolio-cta {
    position: relative;
    overflow: hidden;
    padding: 140px 0;
    color: #fff;
    background: #0f172a;
}

.ky-portfolio-cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15,23,42,.95), rgba(15,23,42,.72)), url("../Images/Portfolio/portfolio-cta.jpg") center / cover no-repeat;
}

.ky-portfolio-cta-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

    .ky-portfolio-cta-content > span {
        color: #60a5fa;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 2px;
    }

    .ky-portfolio-cta-content h2 {
        margin: 18px 0;
        font-size: clamp(40px, 5vw, 68px);
        line-height: 1.05;
    }

        .ky-portfolio-cta-content h2 strong {
            color: #22c55e;
        }

    .ky-portfolio-cta-content p {
        max-width: 600px;
        color: #cbd5e1;
        font-size: 17px;
        line-height: 1.8;
    }

.ky-portfolio-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.ky-btn-white {
    background: #fff;
    color: #0f172a !important;
}

    .ky-btn-white:hover {
        background: #f1f5f9;
        color: #0f172a !important;
    }

.ky-btn-whatsapp {
    background: #16a34a;
}

    .ky-btn-whatsapp:hover {
        background: #15803d;
    }



/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .ky-portfolio-hero-img {
        height: 620px;
    }

    .ky-portfolio-hero-content {
        left: 6%;
        right: 6%;
    }

    .ky-portfolio-intro-grid,
    .ky-responsive-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .ky-industry-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ky-live-frame {
        height: 500px;
    }
}


@media (max-width: 767px) {

    .ky-portfolio-hero-img {
        height: 650px;
    }

    .ky-portfolio-hero-content {
        top: 52%;
        left: 22px;
        right: 22px;
    }

        .ky-portfolio-hero-content h1,
        .ky-portfolio-hero-content h2 {
            font-size: 40px;
            letter-spacing: -1px;
        }

        .ky-portfolio-hero-content p {
            font-size: 15px;
            line-height: 1.65;
        }

    .ky-portfolio-intro,
    .ky-portfolio-responsive,
    .ky-portfolio-industries,
    .ky-portfolio-live {
        padding: 75px 0;
    }

        .ky-portfolio-intro h2,
        .ky-responsive-content h2 {
            font-size: 38px;
        }

    .ky-portfolio-projects {
        padding: 50px 0 75px;
    }

    .ky-project-image,
    .ky-project-large .ky-project-image,
    .ky-project-wide .ky-project-image {
        min-height: 360px;
    }

    .ky-project-overlay {
        padding: 25px;
    }

        .ky-project-overlay h3 {
            font-size: 25px;
        }

    .ky-industry-grid {
        grid-template-columns: 1fr;
    }

    .ky-responsive-points {
        grid-template-columns: 1fr;
    }

    .ky-responsive-badge {
        left: 15px;
        bottom: 15px;
    }

    .ky-browser-url {
        font-size: 11px;
    }

    .ky-live-frame {
        height: 430px;
    }

    .ky-live-frame-overlay {
        right: 12px;
        bottom: 12px;
    }

        .ky-live-frame-overlay span {
            display: none;
        }

    .ky-portfolio-cta {
        padding: 90px 0;
    }
}


@media (max-width: 480px) {

    .ky-portfolio-hero-img {
        height: 680px;
    }

    .ky-portfolio-hero-content h1,
    .ky-portfolio-hero-content h2 {
        font-size: 34px;
    }

    .ky-portfolio-filter {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
    }

        .ky-portfolio-filter button {
            flex: 0 0 auto;
        }

    .ky-project-image,
    .ky-project-large .ky-project-image,
    .ky-project-wide .ky-project-image {
        min-height: 330px;
    }

    .ky-live-frame {
        height: 360px;
    }
}
