/* =========================================================
   YEW — FEEDBACK PAGE
   feedback.css
========================================================= */


/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}


/* =========================================================
   BODY
========================================================= */

.feedback-body {
    margin: 0;

    min-height: 100vh;

    position: relative;

    overflow-x: hidden;

    background:
        radial-gradient(
            circle at 8% 9%,
            rgba(221, 211, 255, 0.50),
            transparent 24%
        ),
        radial-gradient(
            circle at 92% 12%,
            rgba(210, 238, 248, 0.48),
            transparent 26%
        ),
        radial-gradient(
            circle at 10% 76%,
            rgba(218, 242, 215, 0.38),
            transparent 25%
        ),
        radial-gradient(
            circle at 92% 78%,
            rgba(255, 224, 211, 0.35),
            transparent 27%
        ),
        linear-gradient(
            180deg,
            #fbf9ff 0%,
            #fffefd 47%,
            #faf8ff 100%
        );

    color: #2f3142;

    font-family:
        "Manrope",
        sans-serif;
}


/* =========================================================
   BACKGROUND
========================================================= */

.feedback-background {
    position: fixed;

    inset: 0;

    overflow: hidden;

    pointer-events: none;

    z-index: 0;
}


/* =========================================================
   BACKGROUND BLOBS
========================================================= */

.feedback-blob {
    position: absolute;

    border-radius: 50%;

    filter: blur(1px);
}


.feedback-blob.blob-one {
    width: 410px;
    height: 410px;

    left: -230px;
    top: 340px;

    background:
        rgba(196, 231, 221, 0.18);
}


.feedback-blob.blob-two {
    width: 430px;
    height: 430px;

    right: -240px;
    top: 650px;

    background:
        rgba(213, 198, 250, 0.18);
}


.feedback-blob.blob-three {
    width: 360px;
    height: 360px;

    left: 37%;
    bottom: -250px;

    background:
        rgba(255, 221, 175, 0.14);
}


/* =========================================================
   BACKGROUND STARS
========================================================= */

.feedback-star {
    position: absolute;

    color: rgba(154, 130, 224, 0.20);

    font-size: 28px;

    animation:
        feedbackFloat
        5s
        ease-in-out
        infinite;
}


.feedback-star.star-one {
    left: 5%;
    top: 210px;
}


.feedback-star.star-two {
    right: 7%;
    top: 300px;

    color: rgba(237, 181, 70, 0.32);

    animation-delay: 1s;
}


.feedback-star.star-three {
    left: 4%;
    top: 65%;

    animation-delay: 2s;
}


.feedback-star.star-four {
    right: 5%;
    top: 73%;

    color: rgba(237, 181, 70, 0.28);

    animation-delay: 0.6s;
}


/* =========================================================
   FLOATING WORDS
========================================================= */

.feedback-word {
    position: absolute;

    color: rgba(112, 91, 192, 0.045);

    font-family:
        "Fredoka",
        sans-serif;

    font-weight: 700;

    letter-spacing: 5px;

    user-select: none;
}


.feedback-word.word-one {
    left: 1%;
    top: 35%;

    font-size: 50px;

    transform: rotate(-9deg);
}


.feedback-word.word-two {
    right: 0;
    top: 49%;

    font-size: 45px;

    transform: rotate(8deg);
}


.feedback-word.word-three {
    left: 4%;
    bottom: 7%;

    font-size: 42px;

    transform: rotate(-6deg);
}


/* =========================================================
   HEADER
========================================================= */

.feedback-body header {
    padding:
        22px
        24px
        0;

    position: relative;

    z-index: 20;

    background: transparent;

    border: none;

    box-shadow: none;
}


/* =========================================================
   NAV
========================================================= */

.feedback-body nav {
    width: 100%;

    max-width: 1180px;

    margin: 0 auto;

    padding:
        14px
        18px
        14px
        26px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;

    background:
        rgba(255, 255, 255, 0.88);

    border:
        1px solid
        rgba(143, 123, 214, 0.13);

    border-radius: 24px;

    box-shadow:
        0 12px 32px
        rgba(72, 58, 130, 0.09);

    backdrop-filter: blur(14px);

    -webkit-backdrop-filter: blur(14px);
}


/* =========================================================
   LOGO
========================================================= */

.feedback-body .logo {
    padding:
        12px
        20px;

    background:
        linear-gradient(
            135deg,
            #8f7bd6,
            #b29cf7
        );

    border-radius: 16px;

    color: white;

    font-family:
        "Fredoka",
        sans-serif;

    font-size: 24px;

    font-weight: 700;

    letter-spacing: 2px;

    text-decoration: none;

    box-shadow:
        0 8px 20px
        rgba(143, 123, 214, 0.25);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.feedback-body .logo:hover {
    color: white;

    transform:
        translateY(-2px)
        rotate(-2deg);

    box-shadow:
        0 11px 25px
        rgba(143, 123, 214, 0.32);
}


/* =========================================================
   NAV LINKS
========================================================= */

.feedback-body .nav-links {
    margin: 0;

    padding: 0;

    display: flex;

    align-items: center;

    gap: 7px;

    list-style: none;
}


.feedback-body .nav-links a {
    display: block;

    padding:
        11px
        18px;

    border-radius: 14px;

    color: #4c4960;

    font-size: 14px;

    font-weight: 700;

    text-decoration: none;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}


.feedback-body .nav-links a:hover {
    background: #f1edff;

    color: #725fc2;

    transform: translateY(-2px);
}

/* =========================================================
   ACTIVE NAV LINK
========================================================= */

/* =========================================================
   ACTIVE NAV LINK
========================================================= */

.feedback-body .nav-links a.active {
    background:
        linear-gradient(
            135deg,
            #8f7bd6,
            #a994ed
        );

    color: #ffffff;

    box-shadow:
        0 6px 15px
        rgba(115, 94, 190, 0.22);

    transform: none;
}


.feedback-body .nav-links a.active:hover {
    background:
        linear-gradient(
            135deg,
            #8f7bd6,
            #a994ed
        );

    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 9px 20px
        rgba(115, 94, 190, 0.28);
}


.feedback-body .nav-links a.active:hover {
    background:
        linear-gradient(
            135deg,
            #8f7bd6,
            #a994ed
        );

    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 9px 20px
        rgba(115, 94, 190, 0.28);
}


/* ACTIVE PAGE */

.feedback-body .nav-links a.active {
    background: #f1edff;

    color: #725fc2;
}


.feedback-body .nav-links a.active::after {
    display: none;
}


/* =========================================================
   MAIN CONTAINER
========================================================= */

.feedback-container {
    width:
        min(1040px, 90%);

    margin: 0 auto;

    padding:
        75px
        0
        100px;

    position: relative;

    z-index: 2;
}


/* =========================================================
   INTRO
========================================================= */

.feedback-intro {
    max-width: 790px;

    margin:
        15px
        auto
        70px;

    text-align: center;
}


/* =========================================================
   INTRO ICON
========================================================= */

.feedback-intro-icon {
    width: 76px;
    height: 76px;

    margin:
        0
        auto
        20px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        linear-gradient(
            145deg,
            #f3eeff,
            #e4d8ff
        );

    border:
        1px solid
        rgba(135, 111, 211, 0.12);

    border-radius: 25px;

    font-size: 34px;

    box-shadow:
        0 11px 28px
        rgba(111, 89, 180, 0.12);

    transform: rotate(-4deg);
}


/* =========================================================
   INTRO LABEL
========================================================= */

.feedback-label {
    margin:
        0
        0
        12px;

    color: #8f7bd6;

    font-size: 13px;

    font-weight: 900;

    letter-spacing: 3px;
}


/* =========================================================
   INTRO TITLE
========================================================= */

.feedback-intro h1 {
    margin:
        0
        0
        21px;

    color: #302b59;

    font-family:
        "Fredoka",
        sans-serif;

    font-size:
        clamp(
            43px,
            6vw,
            68px
        );

    font-weight: 650;

    line-height: 1.06;

    letter-spacing: -1px;
}


.feedback-intro h1 span {
    color: #8b73db;
}


/* =========================================================
   INTRO TEXT
========================================================= */

.feedback-description {
    max-width: 680px;

    margin:
        0
        auto
        10px;

    color: #4e4b5a;

    font-size: 17px;

    font-weight: 550;

    line-height: 1.8;
}


/* =========================================================
   FEEDBACK SECTION
========================================================= */

.feedback-section {
    padding:
        42px;

    position: relative;

    overflow: hidden;

    background:
        rgba(255, 255, 255, 0.78);

    border:
        1px solid
        rgba(139, 118, 210, 0.11);

    border-radius: 35px;

    box-shadow:
        0 20px 55px
        rgba(69, 61, 104, 0.09);
}


.feedback-section::before {
    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    right: -130px;
    top: -140px;

    border-radius: 50%;

    background:
        rgba(224, 213, 255, 0.28);

    pointer-events: none;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.feedback-section-heading {
    max-width: 680px;

    margin:
        0
        auto
        38px;

    position: relative;

    z-index: 2;

    text-align: center;
}


.feedback-section-heading > span {
    display: block;

    margin-bottom: 8px;

    color: #8a74d5;

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 2px;
}


.feedback-section-heading h2 {
    margin:
        0
        0
        12px;

    color: #34304d;

    font-family:
        "Fredoka",
        sans-serif;

    font-size: 40px;

    font-weight: 600;
}


.feedback-section-heading p {
    margin: 0;

    color: #4e4b5a;

    font-size: 17px;

    font-weight: 550;

    line-height: 1.7;
}


/* =========================================================
   OPTIONS GRID
========================================================= */

.feedback-options {
    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(
                0,
                1fr
            )
        );

    gap: 22px;
}


/* =========================================================
   OPTION CARD
========================================================= */

.feedback-option {
    min-height: 260px;

    padding: 29px;

    position: relative;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    border-radius: 30px;

    box-shadow:
        0 12px 30px
        rgba(58, 56, 72, 0.07);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.feedback-option::before {
    content: "";

    position: absolute;

    width: 170px;
    height: 170px;

    right: -75px;
    top: -80px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.30);
}


.feedback-option:hover {
    transform: translateY(-6px);

    box-shadow:
        0 18px 39px
        rgba(58, 56, 72, 0.11);
}


/* =========================================================
   CARD COLORS
========================================================= */

.idea-option {
    background:
        linear-gradient(
            145deg,
            #fff3dc,
            #ffe7bd
        );
}


.lesson-option {
    background:
        linear-gradient(
            145deg,
            #e9f8f5,
            #d5eee7
        );
}


.improve-option {
    background:
        linear-gradient(
            145deg,
            #f1edff,
            #e4dbff
        );
}


.problem-option {
    background:
        linear-gradient(
            145deg,
            #fff0f3,
            #ffe0e8
        );
}


/* =========================================================
   OPTION ICON
========================================================= */

.feedback-option-icon {
    width: 72px;
    height: 72px;

    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        rgba(255, 255, 255, 0.73);

    border-radius: 22px;

    font-size: 34px;

    box-shadow:
        0 8px 20px
        rgba(50, 50, 60, 0.07);
}


/* =========================================================
   OPTION TITLE
========================================================= */

.feedback-option h3 {
    margin:
        24px
        0
        10px;

    position: relative;

    z-index: 2;

    color: #292637;

    font-family:
        "Fredoka",
        sans-serif;

    font-size: 27px;

    font-weight: 650;
}


/* =========================================================
   OPTION TEXT
========================================================= */

.feedback-option p {
    margin: 0;

    position: relative;

    z-index: 2;

    color: #454351;

    font-size: 16px;

    font-weight: 550;

    line-height: 1.75;
}


/* =========================================================
   CONTACT SECTION
========================================================= */

.feedback-contact {
    max-width: 900px;

    margin:
        75px
        auto
        0;

    padding:
        48px
        45px;

    position: relative;

    overflow: hidden;

    text-align: center;

    background:
        linear-gradient(
            145deg,
            #f5f2ff,
            #ebe5ff
        );

    border:
        1px solid
        rgba(135, 111, 211, 0.10);

    border-radius: 35px;

    box-shadow:
        0 18px 45px
        rgba(80, 64, 130, 0.10);
}


.feedback-contact::before {
    content: "";

    position: absolute;

    width: 270px;
    height: 270px;

    right: -130px;
    top: -140px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.35);

    pointer-events: none;
}


.feedback-contact::after {
    content: "";

    position: absolute;

    width: 190px;
    height: 190px;

    left: -100px;
    bottom: -110px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.25);

    pointer-events: none;
}


/* =========================================================
   CONTACT ICON
========================================================= */

.contact-icon {
    width: 78px;
    height: 78px;

    margin:
        0
        auto
        20px;

    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        rgba(255, 255, 255, 0.70);

    border-radius: 24px;

    font-size: 36px;

    box-shadow:
        0 10px 25px
        rgba(95, 75, 155, 0.10);
}


/* =========================================================
   CONTACT LABEL
========================================================= */

.contact-label {
    margin-bottom: 8px;

    position: relative;

    z-index: 2;

    display: block;

    color: #8068cc;

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 2px;
}


/* =========================================================
   CONTACT TITLE
========================================================= */

.feedback-contact h2 {
    margin:
        0
        0
        13px;

    position: relative;

    z-index: 2;

    color: #34304d;

    font-family:
        "Fredoka",
        sans-serif;

    font-size: 39px;

    font-weight: 600;
}


/* =========================================================
   CONTACT TEXT
========================================================= */

.feedback-contact > p:not(.email-note) {
    max-width: 650px;

    margin:
        0
        auto
        30px;

    position: relative;

    z-index: 2;

    color: #4e4b5a;

    font-size: 16px;

    font-weight: 550;

    line-height: 1.75;
}


/* =========================================================
   EMAIL BUTTON
========================================================= */

.feedback-email {
    width: 100%;

    max-width: 700px;

    min-height: 105px;

    margin:
        0
        auto;

    padding:
        20px
        25px;

    position: relative;

    z-index: 3;

    overflow: hidden;

    display: flex;

    align-items: center;

    gap: 20px;

    background:
        linear-gradient(
            135deg,
            #7f68cc 0%,
            #9b7ce5 55%,
            #b98adf 100%
        );

    border:
        2px solid
        rgba(255, 255, 255, 0.45);

    border-radius: 24px;

    color: white;

    text-align: left;

    text-decoration: none;

    box-shadow:
        0 15px 32px
        rgba(111, 81, 196, 0.32);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.feedback-email::before {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    top: -110px;
    right: 30px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.10);
}


.feedback-email:hover {
    transform:
        translateY(-5px)
        scale(1.015);

    box-shadow:
        0 21px 42px
        rgba(111, 81, 196, 0.42);
}


/* =========================================================
   EMAIL ICON
========================================================= */

.email-icon {
    width: 58px;
    height: 58px;

    flex:
        0 0
        58px;

    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        rgba(255, 255, 255, 0.17);

    border:
        1px solid
        rgba(255, 255, 255, 0.20);

    border-radius: 18px;

    color: white;

    font-size: 28px;
}


/* =========================================================
   EMAIL CONTENT
========================================================= */

.email-content {
    min-width: 0;

    position: relative;

    z-index: 2;

    flex: 1;

    display: flex;

    flex-direction: column;

    gap: 4px;
}


.email-content small {
    color:
        rgba(255, 255, 255, 0.80);

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 2px;
}


.email-content strong {
    color: white;

    font-family:
        "Fredoka",
        sans-serif;

    font-size:
        clamp(
            21px,
            3vw,
            29px
        );

    font-weight: 700;

    line-height: 1.2;

    overflow-wrap: anywhere;
}


/* =========================================================
   EMAIL ARROW
========================================================= */

.email-arrow {
    width: 48px;
    height: 48px;

    flex:
        0 0
        48px;

    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        rgba(255, 255, 255, 0.16);

    border-radius: 50%;

    color: white;

    font-size: 25px;

    font-weight: 700;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}


.feedback-email:hover .email-arrow {
    background:
        rgba(255, 255, 255, 0.24);

    transform:
        translateX(5px);
}


/* =========================================================
   EMAIL NOTE
========================================================= */

.feedback-contact .email-note {
    margin:
        18px
        0
        0;

    position: relative;

    z-index: 2;

    color: #5d576d;

    font-size: 13px;

    font-weight: 600;
}


/* =========================================================
   ENDING
========================================================= */

.feedback-ending {
    max-width: 650px;

    margin:
        65px
        auto
        0;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 14px;

    text-align: center;
}


.feedback-ending span {
    color: #e6ad42;

    font-size: 18px;
}


.feedback-ending p {
    margin: 0;

    color: #4b4857;

    font-size: 15px;

    font-weight: 600;
}


/* =========================================================
   ANIMATION
========================================================= */

@keyframes feedbackFloat {

    0%,
    100% {
        transform:
            translateY(0)
            rotate(0deg);
    }

    50% {
        transform:
            translateY(-9px)
            rotate(7deg);
    }

}


/* =========================================================
   FOCUS
========================================================= */

.feedback-body a:focus-visible {
    outline:
        3px solid
        rgba(112, 82, 193, 0.30);

    outline-offset: 4px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 800px) {

    .feedback-container {
        width:
            calc(100% - 36px);
    }


    .feedback-options {
        grid-template-columns: 1fr;
    }


    .feedback-option {
        min-height: 240px;
    }


    .feedback-section {
        padding:
            38px
            28px;
    }


    .feedback-contact {
        padding:
            43px
            30px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .feedback-body header {
        width: 100%;

        padding: 12px;
    }


    .feedback-body nav {
        width: 100%;

        max-width: none;

        padding: 16px;

        flex-direction: column;

        align-items: center;

        gap: 14px;

        border-radius: 20px;
    }


    .feedback-body .logo {
        padding:
            10px
            18px;

        font-size: 22px;
    }


    .feedback-body .nav-links {
        width: 100%;

        justify-content: center;

        flex-wrap: wrap;

        gap: 7px;
    }


    .feedback-body .nav-links a {
        padding:
            8px
            13px;

        font-size: 13px;
    }


    .feedback-container {
        width:
            calc(100% - 24px);

        padding:
            55px
            0
            65px;
    }


    .feedback-intro {
        margin:
            10px
            auto
            50px;
    }


    .feedback-intro-icon {
        width: 68px;
        height: 68px;

        border-radius: 22px;

        font-size: 30px;
    }


    .feedback-label {
        font-size: 11px;

        letter-spacing: 2px;
    }


    .feedback-intro h1 {
        font-size: 42px;
    }


    .feedback-description {
        font-size: 16px;
    }


    .feedback-section {
        padding:
            30px
            18px;

        border-radius: 28px;
    }


    .feedback-section-heading {
        margin-bottom: 30px;
    }


    .feedback-section-heading h2 {
        font-size: 32px;
    }


    .feedback-section-heading p {
        font-size: 15px;
    }


    .feedback-options {
        gap: 17px;
    }


    .feedback-option {
        min-height: auto;

        padding: 24px;

        border-radius: 27px;
    }


    .feedback-option-icon {
        width: 62px;
        height: 62px;

        border-radius: 20px;

        font-size: 29px;
    }


    .feedback-option h3 {
        margin-top: 20px;

        font-size: 24px;
    }


    .feedback-option p {
        font-size: 15px;
    }


    .feedback-contact {
        margin-top: 55px;

        padding:
            35px
            18px;

        border-radius: 28px;
    }


    .contact-icon {
        width: 68px;
        height: 68px;

        border-radius: 22px;

        font-size: 31px;
    }


    .feedback-contact h2 {
        font-size: 32px;
    }


    .feedback-contact > p:not(.email-note) {
        font-size: 15px;
    }


    .feedback-email {
        min-height: 92px;

        padding:
            16px
            16px;

        gap: 13px;

        border-radius: 20px;
    }


    .email-icon {
        width: 48px;
        height: 48px;

        flex-basis: 48px;

        border-radius: 15px;

        font-size: 23px;
    }


    .email-content small {
        font-size: 8px;

        letter-spacing: 1.3px;
    }


    .email-content strong {
        font-size: 18px;
    }


    .email-arrow {
        width: 39px;
        height: 39px;

        flex-basis: 39px;

        font-size: 21px;
    }


    .feedback-ending {
        margin-top: 50px;

        gap: 10px;
    }


    .feedback-ending p {
        font-size: 13px;
    }


    .feedback-word {
        display: none;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 430px) {

    .feedback-body .nav-links {
        gap: 5px;
    }


    .feedback-body .nav-links a {
        padding:
            7px
            10px;

        font-size: 12px;
    }


    .feedback-intro h1 {
        font-size: 37px;
    }


    .feedback-section-heading h2 {
        font-size: 29px;
    }


    .feedback-option h3 {
        font-size: 22px;
    }


    .feedback-contact h2 {
        font-size: 29px;
    }


    .feedback-email {
        padding:
            15px
            13px;
    }


    .email-icon {
        display: none;
    }


    .email-content strong {
        font-size: 16px;
    }


    .email-arrow {
        width: 36px;
        height: 36px;

        flex-basis: 36px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .feedback-star {
        animation: none;
    }


    .feedback-option,
    .feedback-email,
    .feedback-body .logo,
    .feedback-body .nav-links a,
    .email-arrow {
        transition: none;
    }

}

/* =========================================
   FORCE FEEDBACK ACTIVE BUTTON
========================================= */

.feedback-body .nav-links a[href="feedback.html"],
.feedback-body .nav-links a[href="./feedback.html"] {
    background: linear-gradient(
        135deg,
        #8f7bd6 0%,
        #a994ed 100%
    ) !important;

    color: #ffffff !important;

    box-shadow:
        0 6px 15px
        rgba(115, 94, 190, 0.30) !important;
}

.feedback-body .nav-links a[href="feedback.html"]:hover,
.feedback-body .nav-links a[href="./feedback.html"]:hover {
    background: linear-gradient(
        135deg,
        #8f7bd6 0%,
        #a994ed 100%
    ) !important;

    color: #ffffff !important;

    transform: translateY(-2px);

    box-shadow:
        0 9px 20px
        rgba(115, 94, 190, 0.36) !important;
}