/* =========================================================
   E-ADHYAYAN PORTFOLIO
========================================================= */


/* HERO */

.pf-hero {
    padding: 170px 0 110px;

    overflow: hidden;

    background:
        radial-gradient(circle at 90% 12%,
        rgba(37,210,199,.14),
        transparent 29%),

        radial-gradient(circle at 3% 88%,
        rgba(23,101,232,.08),
        transparent 28%),

        linear-gradient(
            180deg,
            #fbfdff,
            #f3f8ff
        );
}


.pf-hero-grid {
    display: grid;

    grid-template-columns:
        .9fr 1.1fr;

    gap: 80px;

    align-items: center;
}


.pf-hero-content h1 {
    font-family: "Manrope", sans-serif;

    color: var(--navy);

    font-size: clamp(
        48px,
        5vw,
        70px
    );

    line-height: 1.04;

    letter-spacing: -.05em;
}


.pf-hero-content h1 span {
    color: var(--blue);
}


.pf-hero-content > p {
    margin-top: 25px;

    max-width: 640px;

    color: var(--text);

    font-size: 17px;

    line-height: 1.85;
}



/* HERO VISUAL */

.pf-showcase-window {
    overflow: hidden;

    border: 1px solid var(--line);

    border-radius: 25px;

    background: white;

    box-shadow:
        0 35px 85px rgba(7,26,56,.14);
}


.pf-window-top {
    min-height: 58px;

    padding: 0 18px;

    display: flex;

    align-items: center;

    border-bottom:
        1px solid var(--line);
}


.pf-window-top > div {
    display: flex;

    gap: 6px;
}


.pf-window-top i {
    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: #ff745f;
}


.pf-window-top i:nth-child(2) {
    background: #ffc04f;
}


.pf-window-top i:nth-child(3) {
    background: #32c884;
}


.pf-window-top > span {
    margin-left: auto;
    margin-right: auto;

    color: var(--navy);

    font-size: 9px;

    font-weight: 700;
}


.pf-window-body {
    min-height: 410px;

    padding: 25px;

    display: grid;

    grid-template-columns:
        1.25fr .75fr;

    gap: 15px;

    background: #f8faff;
}


.pf-feature-panel {
    padding: 26px;

    border-radius: 18px;

    background: white;
}


.pf-feature-panel small {
    color: var(--teal);

    font-size: 8px;

    font-weight: 800;
}


.pf-feature-panel strong {
    display: block;

    margin-top: 10px;

    color: var(--navy);

    font-size: 18px;
}


.pf-feature-image {
    height: 225px;

    margin-top: 24px;

    border-radius: 15px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #dfeeff,
            #dff9f5
        );
}


.pf-feature-image span {
    width: 52px;
    height: 52px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    color: white;

    background:
        linear-gradient(
            135deg,
            var(--blue),
            var(--teal)
        );
}


.pf-mini-grid {
    display: grid;

    grid-template-columns: 1fr;

    gap: 10px;
}


.pf-mini-grid div {
    padding: 18px;

    border-radius: 14px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    background: white;
}


.pf-mini-grid span {
    color: var(--teal);

    font-size: 7px;

    font-weight: 800;
}


.pf-mini-grid strong {
    margin-top: 5px;

    color: var(--navy);

    font-size: 11px;
}



/* CATEGORIES */

.pf-categories {
    background: white;
}


.pf-category-grid {
    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    gap: 17px;
}


.pf-category-card {
    min-height: 285px;

    padding: 28px;

    position: relative;

    border: 1px solid var(--line);

    border-radius: 20px;

    background: white;

    transition: .25s;
}


.pf-category-card:hover {
    transform: translateY(-5px);

    box-shadow: var(--shadow-soft);
}


.pf-no {
    position: absolute;

    top: 26px;
    right: 27px;

    color: #aab4c3;

    font-size: 9px;

    font-weight: 800;
}


.pf-category-icon {
    width: 48px;
    height: 48px;

    border-radius: 14px;

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

    color: var(--blue);

    background: #eef4ff;
}


.pf-category-card h3 {
    margin-top: 35px;

    color: var(--navy);

    font-size: 18px;
}


.pf-category-card p {
    margin-top: 10px;

    color: var(--text);

    font-size: 12px;

    line-height: 1.75;
}



/* PROJECTS */

.pf-project-section {
    background: #f7faff;
}


.pf-project-alt {
    background: white;
}


.pf-project {
    padding: 30px;

    display: grid;

    grid-template-columns:
        .85fr 1.15fr;

    gap: 55px;

    align-items: center;

    border: 1px solid var(--line);

    border-radius: 28px;

    background: white;

    box-shadow:
        0 15px 45px rgba(7,26,56,.045);
}


.pf-project.reverse {
    grid-template-columns:
        1.15fr .85fr;
}


.pf-project.reverse
.pf-project-info {
    order: 2;
}


.pf-project.reverse
.pf-project-visual {
    order: 1;
}


.pf-project-label {
    display: block;

    margin-bottom: 17px;

    color: var(--teal);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.3px;
}


.pf-project-info h2 {
    color: var(--navy);

    font-size: 38px;

    line-height: 1.16;
}


.pf-project-info > p {
    margin-top: 18px;

    color: var(--text);

    font-size: 14px;

    line-height: 1.8;
}


.pf-tags {
    margin-top: 24px;

    display: flex;

    flex-wrap: wrap;

    gap: 7px;
}


.pf-tags span {
    padding: 8px 11px;

    border: 1px solid var(--line);

    border-radius: 50px;

    color: var(--text);

    background: #fafcff;

    font-size: 9px;

    font-weight: 600;
}


.pf-link {
    display: inline-block;

    margin-top: 25px;

    color: var(--blue);

    font-size: 12px;

    font-weight: 700;
}


.pf-project-visual {
    min-height: 370px;

    padding: 35px;

    border-radius: 22px;

    display: flex;

    align-items: center;

    justify-content: center;
}


.pf-blue {
    background:
        linear-gradient(
            135deg,
            #e7f0ff,
            #e0f6ff
        );
}


.pf-orange {
    background:
        linear-gradient(
            135deg,
            #fff0e8,
            #fff8f3
        );
}


.pf-teal {
    background:
        linear-gradient(
            135deg,
            #e8fbf8,
            #e1f5fb
        );
}



/* COURSE DEMO */

.pf-course-demo {
    width: 90%;

    padding: 28px;

    border-radius: 20px;

    background: white;

    box-shadow:
        0 20px 45px rgba(7,26,56,.09);
}


.pf-course-head {
    display: flex;

    justify-content: space-between;
}


.pf-course-head span {
    color: var(--teal);

    font-size: 8px;

    font-weight: 800;
}


.pf-course-head small {
    color: var(--muted);

    font-size: 8px;
}


.pf-course-demo h3 {
    margin: 12px 0 19px;

    color: var(--navy);

    font-size: 20px;
}


.pf-demo-image {
    height: 150px;

    border-radius: 14px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #e3efff,
            #dff8f5
        );
}


.pf-demo-image span {
    width: 45px;
    height: 45px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    color: white;

    background:
        linear-gradient(
            135deg,
            var(--blue),
            var(--teal)
        );
}


.pf-demo-steps {
    margin-top: 17px;

    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    gap: 7px;
}


.pf-demo-steps div {
    padding: 9px;

    border: 1px solid var(--line);

    border-radius: 8px;

    color: var(--text);

    font-size: 7px;
}


.pf-demo-steps span {
    color: var(--blue);

    font-weight: 800;
}



/* VIDEO DEMO */

.pf-video-demo {
    width: 90%;
}


.pf-video-screen {
    height: 240px;

    border-radius: 18px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        radial-gradient(
            circle at 30% 20%,
            rgba(255,255,255,.32),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #ffb18c,
            #ff7049
        );

    box-shadow:
        0 18px 40px rgba(255,112,73,.20);
}


.pf-video-screen button {
    width: 58px;
    height: 58px;

    border: 0;

    border-radius: 50%;

    color: var(--orange);

    background: white;

    font-size: 17px;
}


.pf-video-meta {
    margin-top: 17px;

    display: flex;

    justify-content: space-between;

    align-items: center;
}


.pf-video-meta strong {
    display: block;

    color: var(--navy);

    font-size: 13px;
}


.pf-video-meta span,
.pf-video-meta small {
    color: var(--muted);

    font-size: 8px;
}



/* LMS */

.pf-lms-demo {
    width: 90%;
}


.pf-lms-stats {
    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    gap: 8px;
}


.pf-lms-stats div {
    padding: 17px;

    border-radius: 13px;

    background: white;

    box-shadow:
        0 10px 25px rgba(7,26,56,.05);
}


.pf-lms-stats strong {
    display: block;

    color: var(--navy);

    font-size: 19px;
}


.pf-lms-stats span {
    color: var(--muted);

    font-size: 8px;
}


.pf-chart {
    height: 155px;

    margin-top: 10px;

    padding: 20px;

    border-radius: 15px;

    display: flex;

    align-items: flex-end;

    gap: 12px;

    background: white;
}


.pf-chart span {
    flex: 1;

    border-radius:
        6px 6px 2px 2px;

    background:
        linear-gradient(
            180deg,
            var(--blue),
            var(--teal)
        );
}



/* LEARNING PROGRAMS */

.pf-learning-types {
    color: white;

    background:
        linear-gradient(
            135deg,
            #071a38,
            #0c305c
        );
}


.pf-learning-types h2 {
    color: white;
}


.pf-learning-types h2 span {
    color: var(--cyan);
}


.pf-type-grid {
    display: grid;

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

    gap: 15px;
}


.pf-type-grid article {
    min-height: 220px;

    padding: 27px;

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

    border-radius: 18px;

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


.pf-type-grid article > span {
    color: var(--cyan);

    font-size: 9px;

    font-weight: 800;
}


.pf-type-grid h3 {
    margin-top: 38px;

    color: white;

    font-size: 17px;
}


.pf-type-grid p {
    margin-top: 9px;

    color: rgba(255,255,255,.58);

    font-size: 11px;

    line-height: 1.7;
}



/* COURSE STUDIO */

.pf-studio {
    background: #f7faff;
}


.pf-studio-grid {
    display: grid;

    grid-template-columns:
        .8fr 1.2fr;

    gap: 75px;

    align-items: center;
}


.pf-studio-content h2 {
    font-size: 45px;
}


.pf-studio-content p {
    margin: 20px 0 28px;

    color: var(--text);

    font-size: 14px;

    line-height: 1.8;
}


.pf-studio-demo {
    overflow: hidden;

    border: 1px solid var(--line);

    border-radius: 21px;

    background: white;

    box-shadow: var(--shadow-soft);
}


.pf-studio-top {
    min-height: 48px;

    padding: 0 14px;

    display: flex;

    align-items: center;

    gap: 6px;

    border-bottom:
        1px solid var(--line);
}


.pf-studio-top i {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #ff745f;
}


.pf-studio-top i:nth-child(2) {
    background: #ffc04f;
}


.pf-studio-top i:nth-child(3) {
    background: #32c884;
}


.pf-studio-top span {
    margin-left: auto;

    color: var(--navy);

    font-size: 8px;

    font-weight: 700;
}


.pf-studio-body {
    min-height: 330px;

    display: grid;

    grid-template-columns:
        120px 1fr;
}


.pf-studio-body aside {
    padding: 22px 12px;

    border-right:
        1px solid var(--line);

    display: flex;

    flex-direction: column;

    gap: 9px;

    background: #f8faff;
}


.pf-studio-body aside small {
    color: var(--muted);

    font-size: 7px;

    font-weight: 800;
}


.pf-studio-body aside span {
    padding: 8px;

    border-radius: 8px;

    color: var(--text);

    font-size: 7px;
}


.pf-studio-body aside span.active {
    color: var(--blue);

    background: #eaf2ff;
}


.pf-studio-body main {
    padding: 30px;
}


.pf-studio-body main small {
    color: var(--teal);

    font-size: 7px;

    font-weight: 800;
}


.pf-studio-body main strong {
    display: block;

    margin-top: 9px;

    color: var(--navy);

    font-size: 17px;
}


.pf-studio-media {
    height: 135px;

    margin-top: 19px;

    border-radius: 13px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #e4efff,
            #dff8f5
        );
}


.pf-studio-media span {
    width: 42px;
    height: 42px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    color: white;

    background:
        linear-gradient(
            135deg,
            var(--blue),
            var(--teal)
        );
}


.pf-studio-body main p {
    height: 6px;

    margin-top: 9px;

    border-radius: 10px;

    background: #edf1f6;
}


.pf-studio-body main p:last-child {
    width: 75%;
}



/* CASE STUDIES */

.pf-case-section {
    background: white;
}


.pf-case-box {
    padding: 48px 52px;

    border: 1px solid var(--line);

    border-radius: 27px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 50px;

    background:
        linear-gradient(
            135deg,
            #f9fcff,
            #eef6ff
        );
}


.pf-case-box > div {
    max-width: 680px;
}


.pf-case-box h2 {
    font-size: 35px;
}


.pf-case-box p {
    margin-top: 13px;

    color: var(--text);

    font-size: 13px;

    line-height: 1.8;
}



/* FINAL */

.pf-final {
    background: #f8faff;
}


.pf-final-box {
    padding: 55px;

    border: 1px solid var(--line);

    border-radius: 30px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 45px;

    background: white;

    box-shadow: var(--shadow-soft);
}


.pf-final-box > div:first-child {
    max-width: 640px;
}


.pf-final-box p {
    margin-top: 13px;

    color: var(--text);

    font-size: 14px;
}


.pf-final-actions {
    min-width: 220px;

    display: flex;

    flex-direction: column;

    gap: 10px;
}



/* RESPONSIVE */

@media (max-width: 1000px) {

    .pf-hero-grid,
    .pf-studio-grid {

        grid-template-columns: 1fr;

    }


    .pf-hero-content {

        max-width: 760px;

    }


    .pf-category-grid {

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

    }


    .pf-project,
    .pf-project.reverse {

        grid-template-columns: 1fr;

    }


    .pf-project.reverse
    .pf-project-info,

    .pf-project.reverse
    .pf-project-visual {

        order: initial;

    }


    .pf-type-grid {

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

    }

}


@media (max-width: 750px) {

    .pf-window-body {

        grid-template-columns: 1fr;

    }


    .pf-mini-grid {

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

    }


    .pf-case-box,
    .pf-final-box {

        flex-direction: column;

        align-items: flex-start;

    }

}


@media (max-width: 650px) {

    .pf-hero {

        padding: 125px 0 75px;

    }


    .pf-hero-content h1 {

        font-size: 42px;

    }


    .pf-category-grid,
    .pf-type-grid {

        grid-template-columns: 1fr;

    }


    .pf-project {

        padding: 22px;

        gap: 30px;

    }


    .pf-project-info h2 {

        font-size: 30px;

    }


    .pf-project-visual {

        min-height: 300px;

        padding: 20px;

    }


    .pf-course-demo,
    .pf-video-demo,
    .pf-lms-demo {

        width: 100%;

    }


    .pf-lms-stats {

        grid-template-columns: 1fr;

    }


    .pf-studio-body {

        grid-template-columns:
            80px 1fr;

    }


    .pf-studio-body main {

        padding: 20px 13px;

    }


    .pf-case-box,
    .pf-final-box {

        padding: 34px 25px;

    }

}
/* Real HTML preview inside the existing browser-style hero window. */
.pf-hero-visual {
    min-width: 0;
}

.pf-window-body.pf-window-body--embedded {
    display: block;
    min-height: 410px;
    padding: 0;
}

.pf-preview-frame {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 520px;
    border: 0;
    background: #f8faff;
}

@media (max-width: 650px) {
    .pf-preview-frame {
        height: 520px;
    }
}


/* Photography for the six portfolio category cards only. */
.pf-category-card--photo {
    overflow: hidden;
    padding: 0 24px 28px;
    min-width: 0;
}
.pf-category-photo {
    display: block;
    width: calc(100% + 48px);
    max-width: none;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    margin: 0 -24px 24px;
}
.pf-category-card--photo .pf-no {
    top: 16px;
    right: 16px;
    padding: 6px 9px;
    border-radius: 20px;
    color: #071a38;
    background: rgba(255,255,255,.94);
}
.pf-category-card--photo .pf-category-icon { display: none; }
.pf-category-card--photo h3 { margin-top: 0; }
.pf-category-card--photo p { margin-bottom: 0; }


/* Photo-led featured showcases and learning programs. */
.pf-showcase-photo {
    position: relative;
    overflow: hidden;
    height: auto;
    aspect-ratio: 16 / 10;
    isolation: isolate;
}
.pf-showcase-photo .pf-showcase-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pf-showcase-photo::after {
    content: "";
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(transparent, rgba(7,26,56,.8));
    pointer-events: none;
}
.pf-showcase-photo .pf-photo-caption {
    position: absolute;
    bottom: 18px;
    left: 18px;
    right: 18px;
    z-index: 1;
    display: block;
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    color: white;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
}
.pf-type-grid .pf-program-photo-card {
    position: relative;
    overflow: hidden;
    min-width: 0;
    padding: 0 22px 26px;
    background: rgba(255,255,255,.065);
}
.pf-program-photo {
    display: block;
    width: calc(100% + 44px);
    max-width: none;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    margin: 0 -22px 24px;
}
.pf-program-photo-card > span {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 9px;
    border-radius: 20px;
    color: white;
    background: #071a38;
}
.pf-program-photo-card h3 { margin-top: 0; line-height: 1.4; }
.pf-program-photo-card p { color: #c4d7e9; margin-bottom: 0; }
.pf-project-info, .pf-project-visual { min-width: 0; }
@media(max-width:650px) {
    .pf-program-photo { aspect-ratio: 16 / 9; }
    .pf-showcase-photo .pf-photo-caption { font-size: 12px; bottom: 12px; left: 12px; right: 12px; }
}
