/* =========================================================
   PORTFOLIO HERO
========================================================= */

.portfolio-page-hero {
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        #eff6ff,
        #f5f3ff 55%,
        #ffffff
    );
}

.portfolio-hero-grid {
    position: absolute;
    inset: 0;
    opacity: 0.45;
    background-image:
        linear-gradient(
            rgba(37, 99, 235, 0.05) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(37, 99, 235, 0.05) 1px,
            transparent 1px
        );
    background-size: 50px 50px;
}

.portfolio-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(5px);
}

.portfolio-glow-one {
    width: 360px;
    height: 360px;
    top: -190px;
    right: 5%;
    background: rgba(79, 70, 229, 0.12);
}

.portfolio-glow-two {
    width: 320px;
    height: 320px;
    bottom: -180px;
    left: 5%;
    background: rgba(37, 99, 235, 0.1);
}

.portfolio-page-hero .container {
    position: relative;
    z-index: 2;
    padding: 90px 0;
}

.portfolio-page-hero h1 {
    margin: 20px 0;
    color: #111827;
    font-size: 55px;
    font-weight: 900;
    line-height: 1.12;
}

.portfolio-page-hero h1 span {
    display: block;
    background: linear-gradient(
        90deg,
        #2563eb,
        #4f46e5,
        #7c3aed
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.portfolio-page-hero p {
    max-width: 700px;
    margin: 0 auto;
    color: #64748b;
    font-size: 16px;
    line-height: 1.8;
}

.portfolio-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
    font-size: 13px;
}

.portfolio-breadcrumb a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.portfolio-breadcrumb i {
    color: #94a3b8;
}

.portfolio-breadcrumb span {
    color: #64748b;
}


/* =========================================================
   PORTFOLIO SECTION
========================================================= */

.portfolio-page-section {
    padding: 100px 0;
    background: #ffffff;
}

.portfolio-page-section .section-heading {
    max-width: 760px;
    margin: 0 auto 40px;
}

.portfolio-page-section .section-heading h2 {
    margin: 18px 0 12px;
    color: #111827;
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
}

.portfolio-page-section .section-heading h2 span {
    display: block;
    background: linear-gradient(
        90deg,
        #2563eb,
        #7c3aed
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.portfolio-page-section .section-heading p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   FILTERS
========================================================= */

.portfolio-filters {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 45px;
}

.portfolio-filter-btn {
    padding: 10px 18px;
    border: 1px solid #e5e7eb;
    border-radius: 50px;
    background: #ffffff;
    color: #64748b;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.portfolio-filter-btn:hover {
    color: #2563eb;
    border-color: #bfdbfe;
}

.portfolio-filter-btn.active {
    border-color: transparent;
    background: linear-gradient(
        135deg,
        #2563eb,
        #4f46e5
    );
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}


/* =========================================================
   PROJECT CARD
========================================================= */

.portfolio-project-item {
    transition: all 0.3s ease;
}

.portfolio-project-item.portfolio-hidden {
    display: none;
}

@keyframes portfolioProjectShow {

    from {
        opacity: 0;
        transform: translateY(15px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}

.portfolio-project-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.05);
    transition: all 0.35s ease;
}

.portfolio-project-card:hover {
    transform: translateY(-7px);
    border-color: #bfdbfe;
    box-shadow: 0 25px 55px rgba(37, 99, 235, 0.11);
}


/* =========================================================
   BROWSER PREVIEW
========================================================= */

.portfolio-preview {
    position: relative;
    overflow: hidden;
    height: 330px;
    background: #f1f5f9;
}

.browser-bar {
    height: 34px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 13px;
    background: #e2e8f0;
    border-bottom: 1px solid #cbd5e1;
}

.browser-bar > span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #94a3b8;
}

.browser-address {
    flex: 1;
    margin-left: 8px;
    padding: 4px 10px;
    border-radius: 5px;
    background: #f8fafc;
    color: #94a3b8;
    font-size: 8px;
    text-align: center;
}


/* =========================================================
   BUSINESS PREVIEW
========================================================= */

.preview-business {
    height: calc(100% - 34px);
    padding: 22px;
    background: linear-gradient(
        135deg,
        #eff6ff,
        #ffffff
    );
}

.preview-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #334155;
    font-size: 8px;
}

.preview-nav strong {
    color: #2563eb;
    font-size: 12px;
}

.preview-business-content {
    height: calc(100% - 30px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.preview-business-content small {
    color: #2563eb;
    font-size: 7px;
    font-weight: 800;
}

.preview-business-content h4 {
    max-width: 250px;
    margin: 7px 0;
    color: #0f172a;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.05;
}

.preview-business-content p {
    margin-bottom: 10px;
    color: #64748b;
    font-size: 9px;
}

.preview-business-content button,
.preview-landing button,
.preview-store button {
    padding: 7px 12px;
    border: 0;
    border-radius: 5px;
    background: #2563eb;
    color: #ffffff;
    font-size: 8px;
    font-weight: 700;
}

.preview-business-shape {
    width: 130px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 35px;
    transform: rotate(8deg);
    background: linear-gradient(
        135deg,
        #2563eb,
        #7c3aed
    );
    color: #ffffff;
    font-size: 40px;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.25);
}


/* =========================================================
   CORPORATE PREVIEW
========================================================= */

.preview-corporate {
    height: calc(100% - 34px);
    display: flex;
    background: #f8fafc;
}

.corporate-sidebar {
    width: 65px;
    padding: 18px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    background: #111827;
    color: #94a3b8;
}

.corporate-sidebar strong {
    color: #60a5fa;
    font-size: 20px;
}

.corporate-sidebar i {
    font-size: 13px;
}

.corporate-main {
    flex: 1;
    padding: 28px;
}

.corporate-main > small {
    color: #64748b;
    font-size: 7px;
    font-weight: 700;
}

.corporate-main h4 {
    margin: 6px 0 20px;
    color: #111827;
    font-size: 23px;
    font-weight: 900;
}

.corporate-stats {
    display: flex;
    gap: 10px;
}

.corporate-stats div {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.corporate-stats strong {
    display: block;
    color: #2563eb;
    font-size: 16px;
}

.corporate-stats span {
    color: #94a3b8;
    font-size: 7px;
}

.corporate-chart {
    height: 75px;
    margin-top: 15px;
    display: flex;
    align-items: end;
    gap: 8px;
    padding: 12px;
    border-radius: 8px;
    background: #ffffff;
}

.corporate-chart span {
    flex: 1;
    border-radius: 4px 4px 0 0;
    background: #60a5fa;
}

.corporate-chart span:nth-child(1) {
    height: 30%;
}

.corporate-chart span:nth-child(2) {
    height: 48%;
}

.corporate-chart span:nth-child(3) {
    height: 40%;
}

.corporate-chart span:nth-child(4) {
    height: 65%;
}

.corporate-chart span:nth-child(5) {
    height: 58%;
}

.corporate-chart span:nth-child(6) {
    height: 85%;
}


/* =========================================================
   STORE PREVIEW
========================================================= */

.preview-store {
    height: calc(100% - 34px);
    padding: 20px;
    background: #ffffff;
}

.store-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #64748b;
    font-size: 8px;
}

.store-nav strong {
    margin-right: auto;
    color: #111827;
    font-size: 13px;
}

.store-nav i {
    color: #111827;
}

.store-content {
    height: calc(100% - 30px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
}

.store-product-image {
    width: 150px;
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(
        145deg,
        #e0e7ff,
        #dbeafe
    );
    color: #4f46e5;
    font-size: 55px;
}

.store-content small {
    color: #7c3aed;
    font-size: 7px;
    font-weight: 800;
}

.store-content h4 {
    max-width: 200px;
    margin: 8px 0;
    color: #111827;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.05;
}

.store-content p {
    color: #64748b;
    font-size: 9px;
}


/* =========================================================
   LANDING PREVIEW
========================================================= */

.preview-landing {
    height: calc(100% - 34px);
    padding: 22px;
    background: linear-gradient(
        135deg,
        #111827,
        #312e81
    );
}

.landing-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.landing-nav strong {
    color: #ffffff;
    font-size: 12px;
}

.landing-nav button {
    background: rgba(255, 255, 255, 0.12) !important;
}

.landing-content {
    max-width: 580px;
    margin: 55px auto 0;
    text-align: center;
}

.landing-content small {
    color: #93c5fd;
    font-size: 7px;
    font-weight: 800;
}

.landing-content h4 {
    margin: 8px 0;
    color: #ffffff;
    font-size: 31px;
    font-weight: 900;
}

.landing-content h4 span {
    color: #60a5fa;
}

.landing-content p {
    color: #cbd5e1;
    font-size: 9px;
}

.landing-buttons {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}

.landing-buttons button:last-child {
    background: rgba(255, 255, 255, 0.1);
}


/* =========================================================
   SERVICE PREVIEW
========================================================= */

.preview-service {
    height: calc(100% - 34px);
    background: #ffffff;
}

.service-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid #e5e7eb;
    color: #64748b;
    font-size: 8px;
}

.service-preview-header strong {
    color: #2563eb;
    font-size: 12px;
}

.service-preview-body {
    padding: 38px 35px;
}

.service-preview-body small {
    color: #2563eb;
    font-size: 7px;
    font-weight: 800;
}

.service-preview-body h4 {
    margin: 8px 0;
    color: #111827;
    font-size: 29px;
    font-weight: 900;
}

.service-preview-body p {
    color: #64748b;
    font-size: 9px;
}

.service-preview-cards {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.service-preview-cards span {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 16px;
}


/* =========================================================
   TECHNOLOGY PREVIEW
========================================================= */

.preview-tech {
    height: calc(100% - 34px);
    padding: 20px;
    background: #f8fafc;
}

.tech-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #64748b;
    font-size: 8px;
}

.tech-nav strong {
    color: #111827;
    font-size: 14px;
}

.tech-nav strong span {
    color: #2563eb;
}

.tech-body {
    height: calc(100% - 30px);
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 30px;
}

.tech-body small {
    color: #2563eb;
    font-size: 7px;
    font-weight: 800;
}

.tech-body h4 {
    max-width: 300px;
    margin: 8px 0;
    color: #111827;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.05;
}

.tech-body h4 span {
    color: #4f46e5;
}

.tech-body p {
    color: #64748b;
    font-size: 9px;
}

.tech-circle {
    width: 125px;
    height: 125px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        #2563eb,
        #7c3aed
    );
    color: #ffffff;
    font-size: 42px;
    box-shadow: 0 20px 45px rgba(79, 70, 229, 0.22);
}


/* =========================================================
   FASHION PREVIEW
========================================================= */

.preview-fashion {
    height: calc(100% - 34px);
    background: #fafafa;
}

.fashion-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    padding: 20px 25px;
    color: #64748b;
    font-size: 12px;
}

.fashion-nav strong {
    margin-right: auto;
    color: #111827;
    font-size: 13px;
}

.fashion-body {
    height: calc(100% - 55px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
}

.fashion-image {
    width: 150px;
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 80px 80px 12px 12px;
    background: #e2e8f0;
    color: #64748b;
    font-size: 60px;
}

.fashion-body small {
    color: #7c3aed;
    font-size: 7px;
    font-weight: 800;
}

.fashion-body h4 {
    margin: 8px 0 15px;
    color: #111827;
    font-size: 29px;
    font-weight: 900;
}

.fashion-body h4 span {
    color: #7c3aed;
}


/* =========================================================
   STARTUP PREVIEW
========================================================= */

.preview-startup {
    height: calc(100% - 34px);
    padding: 20px;
    background: linear-gradient(
        135deg,
        #eff6ff,
        #f5f3ff
    );
}

.startup-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.startup-nav strong {
    color: #111827;
    font-size: 13px;
}

.startup-nav button {
    padding: 6px 10px;
    border: 0;
    border-radius: 5px;
    background: #111827;
    color: #ffffff;
    font-size: 8px;
}

.startup-body {
    height: calc(100% - 30px);
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 30px;
}

.startup-body small {
    color: #2563eb;
    font-size: 7px;
    font-weight: 800;
}

.startup-body h4 {
    margin: 8px 0;
    color: #111827;
    font-size: 31px;
    font-weight: 900;
    line-height: 1.05;
}

.startup-body h4 span {
    color: #4f46e5;
}

.startup-body p {
    color: #64748b;
    font-size: 9px;
}

.startup-body button {
    margin-top: 8px;
    padding: 7px 12px;
    border: 0;
    border-radius: 5px;
    background: #4f46e5;
    color: #ffffff;
    font-size: 8px;
    font-weight: 700;
}

.startup-visual {
    position: relative;
    width: 150px;
    height: 150px;
}

.startup-visual div {
    position: absolute;
    border-radius: 50%;
}

.startup-visual div:nth-child(1) {
    width: 130px;
    height: 130px;
    top: 10px;
    left: 10px;
    background: #dbeafe;
}

.startup-visual div:nth-child(2) {
    width: 90px;
    height: 90px;
    top: 30px;
    left: 30px;
    background: #c7d2fe;
}

.startup-visual div:nth-child(3) {
    width: 50px;
    height: 50px;
    top: 50px;
    left: 50px;
    background: #6366f1;
}


/* =========================================================
   PROJECT CONTENT
========================================================= */

.portfolio-project-content {
    min-height: 170px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.portfolio-project-content > div:first-child > span {
    color: #2563eb;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.8px;
}

.portfolio-project-content h3 {
    margin: 7px 0;
    color: #111827;
    font-size: 19px;
    font-weight: 800;
}

.portfolio-project-content p {
    margin: 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.7;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 20px;
}

.project-tags span {
    padding: 5px 8px;
    border-radius: 5px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 9px;
    font-weight: 600;
}


/* =========================================================
   CTA
========================================================= */

.portfolio-cta-section {
    padding: 40px 0 90px;
    background: #ffffff;
}

.portfolio-cta-box {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 45px;
    border-radius: 23px;
    background: linear-gradient(
        135deg,
        #111827,
        #1e1b4b
    );
}

.portfolio-cta-box::before {
    content: "";
    position: absolute;
    width: 330px;
    height: 330px;
    top: -200px;
    right: 20%;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.2);
}

.portfolio-cta-box > * {
    position: relative;
    z-index: 2;
}

.portfolio-cta-icon {
    width: 62px;
    height: 62px;
    min-width: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    color: #60a5fa;
    font-size: 25px;
}

.portfolio-cta-box > div:nth-child(2) {
    flex: 1;
}

.portfolio-cta-box > div:nth-child(2) > span {
    color: #93c5fd;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.portfolio-cta-box h2 {
    margin: 8px 0;
    color: #ffffff;
    font-size: 27px;
    font-weight: 800;
}

.portfolio-cta-box h2 strong {
    color: #60a5fa;
}

.portfolio-cta-box p {
    margin: 0;
    color: #cbd5e1;
    font-size: 12px;
    line-height: 1.7;
}

.portfolio-cta-button {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 14px 21px;
    border-radius: 11px;
    background: #ffffff;
    color: #1e3a8a;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    transition: all 0.3s ease;
}

.portfolio-cta-button:hover {
    color: #1d4ed8;
    background: #eff6ff;
    transform: translateY(-3px);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .portfolio-page-hero h1 {
        font-size: 46px;
    }

    .portfolio-page-section {
        padding: 80px 0;
    }

    .portfolio-preview {
        height: 300px;
    }

    .portfolio-cta-box {
        padding: 40px;
    }

}


@media (max-width: 767px) {

    .portfolio-page-hero {
        min-height: 400px;
    }

    .portfolio-page-hero .container {
        padding: 70px 20px;
    }

    .portfolio-page-hero h1 {
        font-size: 36px;
    }

    .portfolio-page-hero p {
        font-size: 14px;
    }

    .portfolio-page-section {
        padding: 70px 0;
    }

    .portfolio-page-section .section-heading h2 {
        font-size: 33px;
    }

    .portfolio-preview {
        height: 280px;
    }

    .portfolio-cta-box {
        padding: 30px 25px;
        flex-direction: column;
        align-items: flex-start;
    }

    .portfolio-cta-button {
        width: 100%;
        justify-content: center;
    }

}


@media (max-width: 575px) {

    .portfolio-page-hero h1 {
        font-size: 31px;
    }

    .portfolio-page-section .section-heading h2 {
        font-size: 29px;
    }

    .portfolio-preview {
        height: 250px;
    }

    .portfolio-project-content {
        padding: 22px;
    }

    .preview-business-content h4,
    .store-content h4,
    .tech-body h4,
    .startup-body h4 {
        font-size: 23px;
    }

    .preview-business-shape,
    .tech-circle {
        width: 95px;
        height: 95px;
        font-size: 30px;
    }

    .store-product-image,
    .fashion-image {
        width: 110px;
        height: 130px;
        font-size: 40px;
    }

}
