/* =========================================================
   PORTFOLIO PAGE
========================================================= */

.portfolio-page {
    font-family: 'Inter', sans-serif;
}

.portfolio-page h1,
.portfolio-page h2,
.portfolio-page h3,
.portfolio-page h4 {
    font-family: 'Poppins', sans-serif;
}


/* =========================================================
   HERO
========================================================= */

.portfolio-hero {
    min-height: 760px;
    padding-top: 170px;
    padding-bottom: 100px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: white;

    background:
            radial-gradient(circle at 10% 20%, rgba(99,102,241,.25), transparent 35%),
            radial-gradient(circle at 90% 80%, rgba(124,58,237,.25), transparent 35%),
            linear-gradient(135deg,#111827,#1e1b4b 55%,#312e81);
}


.portfolio-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(3px);
    pointer-events: none;
}

.portfolio-orb-one {
    width: 280px;
    height: 280px;
    background: rgba(99,102,241,.20);
    top: 8%;
    left: -100px;
    animation: portfolioFloatOne 8s ease-in-out infinite;
}

.portfolio-orb-two {
    width: 360px;
    height: 360px;
    background: rgba(139,92,246,.15);
    right: -150px;
    bottom: 5%;
    animation: portfolioFloatTwo 10s ease-in-out infinite;
}

@keyframes portfolioFloatOne {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-30px);
    }
}

@keyframes portfolioFloatTwo {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(25px);
    }
}


.portfolio-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 9px 17px;

    border: 1px solid rgba(255,255,255,.15);
    border-radius: 999px;

    background: rgba(255,255,255,.07);
    backdrop-filter: blur(12px);

    color: #c7d2fe;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
}

.portfolio-eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #818cf8;

    box-shadow: 0 0 15px rgba(129,140,248,.8);
}


.portfolio-hero-title {
    margin-top: 28px;

    font-size: clamp(42px, 6vw, 76px);
    line-height: 1.05;
    letter-spacing: -0.04em;
    font-weight: 900;
}

.portfolio-hero-title span {
    display: block;

    background: linear-gradient(
            90deg,
            #a5b4fc,
            #c4b5fd,
            #f0abfc
    );

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}


.portfolio-hero-description {
    max-width: 760px;
    margin: 28px auto 0;

    color: rgba(224,231,255,.78);

    font-size: 18px;
    line-height: 1.8;
}


.portfolio-hero-actions {
    margin-top: 38px;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;

    flex-wrap: wrap;
}


.portfolio-primary-btn,
.portfolio-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 15px 25px;

    border-radius: 999px;

    font-weight: 800;

    transition: all .3s ease;
}


.portfolio-primary-btn {
    background: white;
    color: #3730a3;

    box-shadow: 0 15px 40px rgba(0,0,0,.2);
}

.portfolio-primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 45px rgba(0,0,0,.3);
}


.portfolio-secondary-btn {
    color: white;
    border: 1px solid rgba(255,255,255,.22);
    background: rgba(255,255,255,.07);
    backdrop-filter: blur(10px);
}

.portfolio-secondary-btn:hover {
    background: rgba(255,255,255,.13);
    transform: translateY(-3px);
}


.portfolio-stats {
    max-width: 760px;
    margin: 65px auto 0;

    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;

    align-items: center;

    padding: 22px;

    border: 1px solid rgba(255,255,255,.12);
    border-radius: 24px;

    background: rgba(255,255,255,.055);
    backdrop-filter: blur(15px);
}


.portfolio-stat {
    text-align: center;
}

.portfolio-stat strong {
    display: block;
    color: white;
    font-size: 17px;
    font-weight: 800;
}

.portfolio-stat span {
    display: block;
    margin-top: 4px;

    color: rgba(224,231,255,.62);
    font-size: 12px;
}


.portfolio-stat-divider {
    width: 1px;
    height: 42px;
    background: rgba(255,255,255,.15);
}



/* =========================================================
   SECTION HEADINGS
========================================================= */

.portfolio-section-label {
    display: inline-block;

    color: #4f46e5;

    font-size: 12px;
    font-weight: 900;
    letter-spacing: .15em;
}


.portfolio-section-title {
    margin-top: 15px;

    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.1;

    font-weight: 900;
    letter-spacing: -.035em;

    color: #111827;
}

.portfolio-section-title span {
    color: #4f46e5;
    display: block;
}


.portfolio-section-description {
    margin-top: 20px;

    color: #6b7280;

    font-size: 17px;
    line-height: 1.8;
}



/* =========================================================
   CATEGORY BAR
========================================================= */

.portfolio-category-bar {
    margin: 45px auto 0;

    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;

    padding: 10px;

    max-width: 900px;

    background: #f8fafc;

    border: 1px solid #e5e7eb;
    border-radius: 22px;
}


.portfolio-category {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 12px 17px;

    border-radius: 14px;

    color: #6b7280;

    font-size: 13px;
    font-weight: 800;

    transition: all .3s ease;
}

.portfolio-category:hover,
.portfolio-category.active {
    background: white;
    color: #4f46e5;

    box-shadow:
            0 8px 25px rgba(15,23,42,.07);
}


.portfolio-category-icon {
    display: flex;
}



/* =========================================================
   SERVICE SECTION
========================================================= */

.portfolio-service-section {
    margin-top: 75px;
}


.portfolio-service-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;

    margin-bottom: 28px;

    padding-bottom: 25px;

    border-bottom: 1px solid #e5e7eb;
}


.portfolio-mini-label {
    color: #6366f1;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: .13em;
}


.portfolio-service-heading h3 {
    margin-top: 8px;

    color: #111827;

    font-size: 30px;
    font-weight: 900;
}


.portfolio-service-heading p {
    max-width: 650px;

    margin-top: 8px;

    color: #6b7280;

    line-height: 1.7;
}


.portfolio-service-icon {
    flex-shrink: 0;

    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 18px;

    color: #4f46e5;

    background: #eef2ff;

    border: 1px solid #e0e7ff;
}



/* =========================================================
   CARDS
========================================================= */

.portfolio-card-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0,1fr));

    gap: 22px;
}


.portfolio-card {
    overflow: hidden;

    background: white;

    border: 1px solid #e5e7eb;

    border-radius: 26px;

    box-shadow: 0 10px 30px rgba(15,23,42,.05);

    transition:
            transform .4s ease,
            box-shadow .4s ease,
            border-color .4s ease;
}


.portfolio-card:hover {
    transform: translateY(-7px);

    border-color: #c7d2fe;

    box-shadow:
            0 25px 55px rgba(15,23,42,.12);
}


.portfolio-card-visual {
    min-height: 270px;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}


.portfolio-card-visual > span {
    position: absolute;

    right: 22px;
    top: 20px;

    font-size: 10px;
    font-weight: 900;
    letter-spacing: .16em;

    color: rgba(255,255,255,.6);
}


.portfolio-audio-card .portfolio-card-visual {
    background:
            radial-gradient(circle at 50% 50%, rgba(129,140,248,.3), transparent 35%),
            linear-gradient(135deg,#111827,#312e81);
}


.portfolio-visual-icon {
    width: 100px;
    height: 100px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 30px;

    color: #c7d2fe;

    background: rgba(255,255,255,.08);

    border: 1px solid rgba(255,255,255,.12);

    box-shadow: 0 20px 50px rgba(0,0,0,.25);
}


.portfolio-card-content {
    padding: 27px;
}


.portfolio-card-tag {
    display: inline-block;

    padding: 6px 10px;

    border-radius: 8px;

    background: #eef2ff;

    color: #4f46e5;

    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}


.portfolio-card-content h4 {
    margin-top: 13px;

    color: #111827;

    font-size: 22px;
    line-height: 1.25;

    font-weight: 900;
}


.portfolio-card-content p {
    margin-top: 11px;

    color: #6b7280;

    font-size: 14px;
    line-height: 1.75;
}


.portfolio-card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    margin-top: 19px;
}


.portfolio-card-features span {
    padding: 7px 10px;

    border-radius: 9px;

    background: #f9fafb;

    border: 1px solid #eef0f3;

    color: #4b5563;

    font-size: 11px;
    font-weight: 700;
}


.portfolio-card-link {
    margin-top: 22px;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #4f46e5;

    font-size: 14px;
    font-weight: 800;
}

.portfolio-card-link:hover {
    gap: 12px;
}



/* =========================================================
   WEBSITE MOCKUPS
========================================================= */

.website-preview {
    background:
            linear-gradient(135deg,#eef2ff,#e0e7ff);
}


.website-browser {
    width: 72%;
    min-height: 185px;

    overflow: hidden;

    border-radius: 14px;

    background: white;

    box-shadow: 0 25px 50px rgba(30,41,59,.2);
}


.browser-top {
    height: 26px;

    display: flex;
    align-items: center;

    gap: 5px;

    padding-left: 10px;

    background: #f1f5f9;
}


.browser-top span {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #94a3b8;
}


.browser-content {
    padding: 20px;
}


.browser-logo {
    font-size: 8px;
    font-weight: 900;
    color: #4f46e5;
}


.browser-heading {
    margin-top: 20px;

    font-size: 20px;
    font-weight: 900;
    color: #111827;
}


.browser-lines {
    width: 55%;
    height: 7px;

    margin-top: 9px;

    border-radius: 10px;

    background: #e5e7eb;
}


.browser-button {
    width: 75px;

    margin-top: 18px;

    padding: 7px;

    text-align: center;

    border-radius: 6px;

    background: #4f46e5;

    color: white;

    font-size: 7px;
    font-weight: 800;
}


.institution-preview {
    background:
            radial-gradient(circle at center, #c7d2fe, transparent 40%),
            linear-gradient(135deg,#eef2ff,#e0e7ff);
}


.institution-preview-inner {
    text-align: center;

    color: #3730a3;
}


.institution-icon {
    width: 82px;
    height: 82px;

    margin: auto;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 24px;

    background: white;

    box-shadow: 0 20px 45px rgba(79,70,229,.15);
}


.institution-preview-inner strong {
    display: block;

    margin-top: 18px;

    font-size: 15px;
    font-weight: 900;
}


.institution-preview-inner span {
    position: static;

    display: block;

    margin-top: 5px;

    color: #64748b;

    font-size: 10px;
}



/* =========================================================
   VIDEO
========================================================= */

.video-preview {
    background:
            radial-gradient(circle at center, rgba(236,72,153,.25), transparent 35%),
            linear-gradient(135deg,#312e81,#4c1d95);
}


.video-play {
    width: 78px;
    height: 78px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding-left: 4px;

    border-radius: 50%;

    color: white;

    background: rgba(255,255,255,.12);

    border: 1px solid rgba(255,255,255,.2);

    backdrop-filter: blur(10px);

    box-shadow: 0 20px 50px rgba(0,0,0,.25);
}


.social-preview {
    background:
            radial-gradient(circle at center, rgba(129,140,248,.3), transparent 40%),
            linear-gradient(135deg,#172554,#3730a3);
}


.social-preview-icon {
    width: 95px;
    height: 95px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 28px;

    color: white;

    background: rgba(255,255,255,.08);

    border: 1px solid rgba(255,255,255,.12);
}



/* =========================================================
   DIGITAL SOLUTIONS
========================================================= */

.dashboard-preview {
    background:
            linear-gradient(135deg,#0f172a,#312e81);
}


.dashboard-window {
    width: 75%;
    min-height: 180px;

    display: flex;

    overflow: hidden;

    border-radius: 14px;

    background: #f8fafc;

    box-shadow: 0 25px 50px rgba(0,0,0,.25);
}


.dashboard-sidebar {
    width: 25%;

    padding: 22px 10px;

    background: #1e1b4b;
}


.dashboard-sidebar span {
    display: block;

    width: 70%;
    height: 6px;

    margin: 0 auto 16px;

    border-radius: 5px;

    background: rgba(255,255,255,.2);
}


.dashboard-main {
    flex: 1;

    padding: 20px;
}


.dashboard-title {
    width: 35%;
    height: 10px;

    border-radius: 5px;

    background: #c7d2fe;
}


.dashboard-boxes {
    display: flex;
    gap: 8px;

    margin-top: 18px;
}


.dashboard-boxes span {
    flex: 1;

    height: 35px;

    border-radius: 8px;

    background: #e0e7ff;
}


.dashboard-chart {
    height: 55px;

    margin-top: 15px;

    border-radius: 10px;

    background:
            linear-gradient(
                    135deg,
                    #e0e7ff,
                    #eef2ff
            );
}


.solution-preview {
    background:
            radial-gradient(circle at center, rgba(99,102,241,.3), transparent 40%),
            linear-gradient(135deg,#111827,#1e1b4b);
}


.solution-icon {
    width: 95px;
    height: 95px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 28px;

    color: #c7d2fe;

    background: rgba(255,255,255,.08);

    border: 1px solid rgba(255,255,255,.12);
}



/* =========================================================
   WHY SECTION
========================================================= */

.portfolio-why-section {
    position: relative;

    overflow: hidden;

    padding: 100px 0;

    color: white;

    background:
            radial-gradient(circle at 20% 20%, rgba(99,102,241,.2), transparent 35%),
            linear-gradient(135deg,#111827,#1e1b4b);
}


.portfolio-light-label {
    color: #a5b4fc;
}


.portfolio-light-title {
    color: white;
}


.portfolio-light-title span {
    color: #a5b4fc;
}


.portfolio-light-description {
    color: rgba(224,231,255,.68);
}


.portfolio-why-grid {
    margin-top: 55px;

    display: grid;

    grid-template-columns: repeat(4,minmax(0,1fr));

    gap: 18px;
}


.portfolio-why-card {
    padding: 28px;

    border-radius: 22px;

    border: 1px solid rgba(255,255,255,.1);

    background: rgba(255,255,255,.05);

    backdrop-filter: blur(10px);

    transition: all .35s ease;
}


.portfolio-why-card:hover {
    transform: translateY(-6px);

    background: rgba(255,255,255,.08);
}


.portfolio-why-number {
    color: #818cf8;

    font-size: 12px;
    font-weight: 900;
}


.portfolio-why-card h3 {
    margin-top: 22px;

    color: white;

    font-size: 19px;
    font-weight: 800;
}


.portfolio-why-card p {
    margin-top: 10px;

    color: rgba(224,231,255,.6);

    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   FINAL CTA
========================================================= */

.portfolio-final-cta {
    position: relative;
    overflow: hidden;

    padding: 110px 0;

    color: white;

    background:
            radial-gradient(
                    circle at 50% 0%,
                    rgba(99, 102, 241, 0.25),
                    transparent 45%
            ),
            linear-gradient(
                    135deg,
                    #111827 0%,
                    #1e1b4b 55%,
                    #111827 100%
            );
}


/* =========================================================
   BACKGROUND GLOWS
========================================================= */

.portfolio-cta-glow {
    position: absolute;

    width: 320px;
    height: 320px;

    border-radius: 50%;

    filter: blur(90px);

    pointer-events: none;

    opacity: .7;
}


.portfolio-cta-glow-one {
    top: -180px;
    left: -120px;

    background: rgba(99, 102, 241, .22);
}


.portfolio-cta-glow-two {
    right: -120px;
    bottom: -180px;

    background: rgba(139, 92, 246, .22);
}


/* =========================================================
   SMALL LABEL
========================================================= */

.portfolio-cta-label {
    display: inline-flex;
    align-items: center;

    color: #a5b4fc;

    font-size: 11px;
    font-weight: 900;

    letter-spacing: .16em;
    text-transform: uppercase;
}


/* =========================================================
   HEADING
========================================================= */

.portfolio-final-cta h2 {
    margin-top: 18px;

    color: #ffffff;

    font-size: clamp(
            36px,
            5vw,
            58px
    );

    line-height: 1.08;

    font-weight: 900;

    letter-spacing: -0.035em;
}


.portfolio-final-cta h2 span {
    display: block;

    margin-top: 4px;

    color: #a5b4fc;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.portfolio-final-cta p {
    max-width: 680px;

    margin: 22px auto 0;

    color: rgba(224, 231, 255, .70);

    font-size: 17px;

    line-height: 1.8;
}


/* =========================================================
   CTA BUTTONS
========================================================= */

.portfolio-cta-primary,
.portfolio-cta-secondary {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    min-height: 54px;

    padding: 15px 26px;

    border-radius: 999px;

    font-size: 15px;
    font-weight: 800;

    text-decoration: none;

    transition:
            transform .3s ease,
            background .3s ease,
            box-shadow .3s ease,
            border-color .3s ease;
}


/* =========================================================
   PRIMARY BUTTON
========================================================= */

.portfolio-cta-primary {
    color: #3730a3;

    background: #ffffff;

    box-shadow:
            0 12px 30px rgba(0, 0, 0, .18);
}


.portfolio-cta-primary:hover {
    color: #312e81;

    background: #eef2ff;

    transform: translateY(-3px);

    box-shadow:
            0 16px 38px rgba(0, 0, 0, .28);
}


.portfolio-cta-primary svg {
    transition:
            transform .3s ease;
}


.portfolio-cta-primary:hover svg {
    transform: translateX(4px);
}


/* =========================================================
   SECONDARY BUTTON
========================================================= */

.portfolio-cta-secondary {
    color: #ffffff;

    border:
            1px solid rgba(255, 255, 255, .18);

    background:
            rgba(255, 255, 255, .06);

    backdrop-filter: blur(10px);
}


.portfolio-cta-secondary:hover {
    color: #ffffff;

    background:
            rgba(255, 255, 255, .12);

    border-color:
            rgba(255, 255, 255, .28);

    transform: translateY(-3px);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .portfolio-final-cta {
        padding: 85px 0;
    }


    .portfolio-final-cta h2 {
        font-size: 40px;

        line-height: 1.1;
    }


    .portfolio-final-cta p {
        margin-top: 18px;

        font-size: 15px;

        line-height: 1.7;
    }


    .portfolio-cta-primary,
    .portfolio-cta-secondary {
        width: 100%;
        max-width: 320px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .portfolio-final-cta {
        padding: 75px 0;
    }


    .portfolio-final-cta h2 {
        font-size: 35px;
    }


    .portfolio-cta-label {
        font-size: 10px;

        letter-spacing: .13em;
    }


    .portfolio-cta-primary,
    .portfolio-cta-secondary {
        min-height: 52px;

        padding: 14px 22px;
    }

}



/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1024px) {

    .portfolio-why-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

}


@media (max-width: 768px) {

    .portfolio-hero {
        min-height: auto;

        padding-top: 145px;
        padding-bottom: 80px;
    }


    .portfolio-hero-description {
        font-size: 16px;
    }


    .portfolio-stats {
        grid-template-columns: 1fr;

        gap: 18px;
    }


    .portfolio-stat-divider {
        width: 60px;
        height: 1px;

        margin: auto;
    }


    .portfolio-card-grid {
        grid-template-columns: 1fr;
    }


    .portfolio-service-heading {
        flex-direction: column;
    }


    .portfolio-service-icon {
        width: 52px;
        height: 52px;
    }


    .portfolio-category-bar {
        justify-content: flex-start;

        overflow-x: auto;

        flex-wrap: nowrap;

        scrollbar-width: none;
    }


    .portfolio-category-bar::-webkit-scrollbar {
        display: none;
    }


    .portfolio-category {
        flex-shrink: 0;
    }


    .portfolio-why-grid {
        grid-template-columns: 1fr;
    }


    .portfolio-section-title {
        font-size: 35px;
    }

}


@media (max-width: 480px) {

    .portfolio-hero-title {
        font-size: 42px;
    }


    .portfolio-hero-actions {
        flex-direction: column;
        width: 100%;
    }


    .portfolio-primary-btn,
    .portfolio-secondary-btn {
        width: 100%;
    }


    .portfolio-card-content {
        padding: 22px;
    }


    .portfolio-card-visual {
        min-height: 230px;
    }


    .website-browser,
    .dashboard-window {
        width: 85%;
    }

}