/* =========================================================
   E-ADHYAYAN RESOURCES
========================================================= */

.res-hero {
    padding: 170px 0 110px;
    overflow: hidden;

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

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

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


.res-hero-grid {
    display: grid;

    grid-template-columns:
        .95fr 1.05fr;

    gap: 85px;

    align-items: center;
}


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

    color: var(--navy);

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

    line-height: 1.04;

    letter-spacing: -.05em;
}


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


.res-hero-content > p {
    max-width: 650px;

    margin-top: 25px;

    color: var(--text);

    font-size: 17px;

    line-height: 1.85;
}


/* LIBRARY */

.res-library-card {
    padding: 38px;

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

    border-radius: 27px;

    background: white;

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


.res-library-label {
    color: var(--teal);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.3px;
}


.res-library-card h3 {
    margin-top: 15px;

    color: var(--navy);

    font-size: 26px;
}


.res-library-grid {
    margin-top: 28px;

    display: grid;

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

    gap: 9px;
}


.res-library-grid div {
    padding: 15px;

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

    border-radius: 11px;

    color: var(--text);

    background: #fafcff;

    font-size: 10px;
}


.res-library-grid span {
    margin-right: 7px;

    color: var(--blue);

    font-size: 8px;

    font-weight: 800;
}


/* FEATURED */

.res-featured {
    background: #f7faff;
}


.res-feature-grid {
    display: grid;

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

    gap: 17px;
}


.res-feature-card {
    min-height: 300px;

    padding: 29px;

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

    border-radius: 21px;

    display: flex;

    flex-direction: column;

    background: white;

    transition: .25s;
}


.res-feature-card:hover {
    transform: translateY(-4px);

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


.res-feature-card.large {
    color: white;

    background:
        linear-gradient(
            140deg,
            var(--navy),
            var(--navy-2)
        );
}


.res-card-tag {
    color: var(--teal);

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 1.2px;
}


.res-feature-card.large
.res-card-tag {
    color: var(--cyan);
}


.res-feature-card h3 {
    margin-top: 38px;

    color: var(--navy);

    font-size: 22px;

    line-height: 1.3;
}


.res-feature-card.large h3 {
    color: white;

    font-size: 29px;
}


.res-feature-card p {
    margin-top: 12px;

    color: var(--text);

    font-size: 12px;

    line-height: 1.75;
}


.res-feature-card.large p {
    color: rgba(255,255,255,.65);
}


.res-feature-card a {
    margin-top: auto;

    padding-top: 25px;

    color: var(--blue);

    font-size: 11px;

    font-weight: 700;
}


.res-feature-card.large a {
    color: var(--cyan);
}


/* TOPICS */

.res-topic-grid {
    display: grid;

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

    gap: 17px;
}


.res-topic {
    min-height: 300px;

    padding: 28px;

    position: relative;

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

    border-radius: 20px;

    background: white;

    transition: .25s;
}


.res-topic:hover {
    transform: translateY(-4px);

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


.res-topic > span {
    position: absolute;

    top: 26px;

    right: 26px;

    color: #aab4c3;

    font-size: 9px;

    font-weight: 800;
}


.res-topic-icon {
    width: 47px;
    height: 47px;

    border-radius: 14px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--blue);

    background: #eef4ff;
}


.res-topic h3 {
    margin-top: 32px;

    color: var(--navy);

    font-size: 18px;
}


.res-topic p {
    margin-top: 10px;

    color: var(--text);

    font-size: 12px;

    line-height: 1.75;
}


.res-topic a {
    display: inline-block;

    margin-top: 22px;

    color: var(--blue);

    font-size: 10px;

    font-weight: 700;
}


/* QUICK GUIDES */

.res-guides {
    color: white;

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

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


.res-guides h2 {
    color: white;
}


.res-guides h2 span {
    color: var(--cyan);
}


.res-guide-grid {
    display: grid;

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

    gap: 14px;
}


.res-guide-grid article {
    min-height: 230px;

    padding: 26px;

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

    border-radius: 18px;

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


.res-guide-grid article > span {
    color: var(--cyan);

    font-size: 9px;

    font-weight: 800;
}


.res-guide-grid h3 {
    margin-top: 33px;

    color: white;

    font-size: 17px;
}


.res-guide-grid p {
    margin-top: 9px;

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

    font-size: 11px;

    line-height: 1.75;
}


/* STUDIO */

.res-studio {
    background: #f7faff;
}


.res-studio-grid {
    display: grid;

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

    gap: 80px;

    align-items: center;
}


.res-studio-content h2 {
    font-size: 44px;
}


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

    color: var(--text);

    font-size: 14px;

    line-height: 1.8;
}


.res-studio-card {
    padding: 30px;

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

    border-radius: 22px;

    background: white;

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


.res-studio-top {
    display: flex;

    justify-content: space-between;

    align-items: center;
}


.res-studio-top span {
    color: var(--teal);

    font-size: 8px;

    font-weight: 800;
}


.res-studio-top strong {
    color: var(--navy);

    font-size: 13px;
}


.res-studio-flow {
    margin-top: 30px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 8px;
}


.res-studio-flow div {
    flex: 1;

    min-height: 82px;

    padding: 13px;

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

    border-radius: 12px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    color: var(--navy);

    background: #fafcff;

    font-size: 9px;

    font-weight: 700;
}


.res-studio-flow div span {
    margin-bottom: 6px;

    color: var(--blue);

    font-size: 8px;
}


.res-studio-flow i {
    color: var(--muted);

    font-style: normal;
}


/* COMING */

.res-coming {
    background: white;
}


.res-coming-box {
    padding: 48px 52px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 50px;

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

    border-radius: 27px;

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


.res-coming-box > div {
    max-width: 680px;
}


.res-coming-box h2 {
    font-size: 35px;
}


.res-coming-box p {
    margin-top: 13px;

    color: var(--text);

    font-size: 13px;

    line-height: 1.8;
}


/* FINAL */

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


.res-final-box {
    max-width: 850px;

    margin: auto;

    text-align: center;
}


.res-final-box h2 {
    color: white;

    font-size: 48px;
}


.res-final-box h2 span {
    color: var(--cyan);
}


.res-final-box p {
    max-width: 600px;

    margin: 18px auto 30px;

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

    font-size: 13px;
}


/* RESPONSIVE */

@media (max-width: 1000px) {

    .res-hero-grid,
    .res-studio-grid {

        grid-template-columns: 1fr;

    }


    .res-feature-grid {

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

    }


    .res-feature-card.large {

        grid-column: 1/-1;

    }


    .res-topic-grid,
    .res-guide-grid {

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

    }

}


@media (max-width: 700px) {

    .res-coming-box {

        flex-direction: column;

        align-items: flex-start;

    }


    .res-studio-flow {

        display: grid;

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

    }


    .res-studio-flow i {

        display: none;

    }

}


@media (max-width: 650px) {

    .res-hero {

        padding: 125px 0 75px;

    }


    .res-hero-content h1 {

        font-size: 42px;

    }


    .res-library-grid,
    .res-feature-grid,
    .res-topic-grid,
    .res-guide-grid {

        grid-template-columns: 1fr;

    }


    .res-feature-card.large {

        grid-column: auto;

    }


    .res-studio-flow {

        grid-template-columns: 1fr;

    }


    .res-coming-box {

        padding: 34px 25px;

    }


    .res-final-box h2 {

        font-size: 35px;

    }

}