/* =========================================
   TORA TRAILS
   REVIEW PAGE
========================================= */


/* =========================================
   PAGE
========================================= */

.review-page {
    min-height: 100vh;
    padding-top: 110px;
}


/* =========================================
   HERO
========================================= */

.review-hero {
    padding: 80px 20px 55px;
    text-align: center;
}


.review-hero-content {
    width: min(850px, 92%);
    margin: auto;
}


.review-eyebrow {
    display: inline-block;

    margin-bottom: 20px;

    color: #4F8DFF;

    font-family: 'Space Grotesk', sans-serif;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 2px;
}


.review-hero h1 {

    margin: 0;

    color: #202124;

    font-family: 'Space Grotesk', sans-serif;

    font-size: clamp(48px, 7vw, 82px);

    line-height: 1.05;

    font-weight: 700;
}


.review-hero h1 span {

    background:
        linear-gradient(
            135deg,
            #4F8DFF,
            #8B5CF6
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}


.review-hero p {

    max-width: 650px;

    margin: 25px auto 0;

    color: #6B7280;

    font-size: 17px;

    line-height: 1.8;
}


/* =========================================
   FORM SECTION
========================================= */

.review-form-section {

    width: min(760px, 92%);

    margin: 0 auto 110px;
}


/* =========================================
   GLASS CARD
========================================= */

.review-card {

    position: relative;

    padding: 50px;

    border-radius: 32px;

    background:
        rgba(255,255,255,.62);

    border:
        1px solid
        rgba(255,255,255,.85);

    backdrop-filter: blur(25px);

    -webkit-backdrop-filter: blur(25px);

    box-shadow:
        0 25px 70px
        rgba(70,90,130,.13);

    animation:
        reviewFadeUp .8s ease both;
}


/* =========================================
   CARD HEADING
========================================= */

.review-card-heading {

    margin-bottom: 35px;
}


.review-card-heading span {

    color: #4F8DFF;

    font-family: 'Space Grotesk', sans-serif;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1.8px;
}


.review-card-heading h2 {

    margin:
        10px 0 8px;

    color: #202124;

    font-family: 'Space Grotesk', sans-serif;

    font-size: 34px;
}


.review-card-heading p {

    margin: 0;

    color: #6B7280;

    font-size: 15px;

    line-height: 1.7;
}


/* =========================================
   FORM
========================================= */

#reviewForm {

    display: grid;

    gap: 23px;
}


.form-group {

    display: grid;

    gap: 9px;
}


.form-group label {

    color: #334155;

    font-family: 'Space Grotesk', sans-serif;

    font-size: 14px;

    font-weight: 600;
}


/* =========================================
   INPUTS
========================================= */

.form-group input,
.form-group select,
.form-group textarea {

    width: 100%;

    box-sizing: border-box;

    padding: 15px 16px;

    border:
        1px solid
        rgba(148,163,184,.28);

    border-radius: 15px;

    outline: none;

    background:
        rgba(255,255,255,.78);

    color: #202124;

    font-family: 'Outfit', sans-serif;

    font-size: 15px;

    transition:
        border-color .25s ease,
        box-shadow .25s ease,
        transform .25s ease;
}


.form-group textarea {

    min-height: 150px;

    resize: vertical;

    line-height: 1.7;
}


.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {

    border-color:
        rgba(79,141,255,.65);

    box-shadow:
        0 0 0 4px
        rgba(79,141,255,.10);

    transform:
        translateY(-1px);
}


/* =========================================
   STAR RATING
========================================= */

.rating-stars {

    display: flex;

    gap: 7px;

    padding-top: 5px;
}


.rating-stars button {

    border: 0;

    padding: 0;

    cursor: pointer;

    background: transparent;

    color: #D7DDE8;

    font-size: 38px;

    line-height: 1;

    transition:
        color .2s ease,
        transform .2s ease;
}


.rating-stars button:hover {

    color: #FFB82E;

    transform:
        scale(1.12);
}


.rating-stars button.selected {

    color: #FFB82E;
}


/* =========================================
   STATUS
========================================= */

.review-status {

    min-height: 22px;

    margin: 0;

    font-size: 14px;

    line-height: 1.5;
}


.review-status.success {

    color: #15803D;
}


.review-status.error {

    color: #DC2626;
}


/* =========================================
   SUBMIT
========================================= */

.submit-review {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    width: 100%;

    padding: 16px 25px;

    border: 0;

    border-radius: 50px;

    cursor: pointer;

    color: white;

    background:
        linear-gradient(
            135deg,
            #4F8DFF,
            #8B5CF6
        );

    font-family: 'Space Grotesk', sans-serif;

    font-size: 15px;

    font-weight: 700;

    box-shadow:
        0 16px 35px
        rgba(79,141,255,.22);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        opacity .3s ease;
}


.submit-review:hover {

    transform:
        translateY(-3px);

    box-shadow:
        0 22px 45px
        rgba(79,141,255,.30);
}


.submit-review:disabled {

    opacity: .6;

    cursor: wait;

    transform: none;
}


/* =========================================
   NOTE
========================================= */

.review-note {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    margin: 0;

    color: #94A3B8;

    font-size: 12px;

    text-align: center;
}


.review-note i {

    color: #4F8DFF;
}


/* =========================================
   FOOTER
========================================= */

footer {

    padding: 30px 20px;

    background:
        rgba(255,255,255,.55);

    border-top:
        1px solid
        rgba(148,163,184,.12);
}


.footer-content {

    width: min(1200px, 92%);

    margin: auto;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;
}


.footer-content p {

    margin: 0;

    color: #64748B;

    font-size: 13px;
}


.footer-content a {

    color: #4F8DFF;

    text-decoration: none;

    font-weight: 600;
}


/* =========================================
   ANIMATION
========================================= */

@keyframes reviewFadeUp {

    from {

        opacity: 0;

        transform:
            translateY(35px);

    }

    to {

        opacity: 1;

        transform:
            translateY(0);

    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    .review-page {

        padding-top: 90px;

    }


    .review-hero {

        padding:
            55px 15px
            35px;

    }


    .review-hero h1 {

        font-size:
            clamp(42px, 12vw, 58px);

    }


    .review-hero p {

        font-size: 15px;

    }


    .review-card {

        padding:
            30px 20px;

        border-radius: 25px;

    }


    .review-card-heading h2 {

        font-size: 28px;

    }


    .rating-stars button {

        font-size: 32px;

    }


    .footer-content {

        flex-direction: column;

        text-align: center;

    }

}
.reviews {
    padding: 120px 0;

    background:
        linear-gradient(
            180deg,
            #EEF5FF 0%,
            #F8FBFF 100%
        );
}


.reviews-grid {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 28px;

    min-height: 120px;
}


.review-card {

    padding: 30px;

    background:
        rgba(255,255,255,.62);

    backdrop-filter:
        blur(20px);

    -webkit-backdrop-filter:
        blur(20px);

    border:
        1px solid
        rgba(255,255,255,.85);

    border-radius: 28px;

    box-shadow:
        0 20px 45px
        rgba(70,90,130,.10);

    transition:
        transform .35s ease,
        box-shadow .35s ease;
}


.review-card:hover {

    transform:
        translateY(-8px);

    box-shadow:
        0 28px 55px
        rgba(70,90,130,.15);
}


.review-stars {

    color: #FFB82E;

    font-size: 18px;

    letter-spacing: 2px;
}


.review-text {

    min-height: 105px;

    margin:
        20px 0 25px;

    color: #475569;

    font-size: 16px;

    line-height: 1.8;
}


.review-author {

    display: flex;

    align-items: center;

    gap: 13px;
}


.review-avatar {

    width: 48px;
    height: 48px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    color: white;

    font-weight: 700;

    background:
        linear-gradient(
            135deg,
            #4F8DFF,
            #8B5CF6
        );
}


.review-author h3 {

    margin: 0 0 3px;

    font-size: 17px;
}


.review-author span {

    color: #64748B;

    font-size: 13px;
}


.reviews-actions {

    display: flex;

    justify-content: center;

    margin-top: 45px;
}


.review-write-btn {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding:
        16px 26px;

    border-radius: 50px;

    color: white;

    text-decoration: none;

    font-weight: 700;

    background:
        linear-gradient(
            135deg,
            #4F8DFF,
            #8B5CF6
        );

    box-shadow:
        0 16px 35px
        rgba(79,141,255,.22);

    transition:
        transform .3s ease;
}


.review-write-btn:hover {

    transform:
        translateY(-4px);
}


.reviews-empty {

    grid-column:
        1 / -1;

    padding: 50px 20px;

    text-align: center;

    color: #64748B;
}


@media (max-width: 900px) {

    .reviews-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }

}


@media (max-width: 768px) {

    .reviews {

        padding: 80px 0;

    }


    .reviews-grid {

        grid-template-columns:
            1fr;

        gap: 20px;

    }


    .review-card {

        padding: 24px;

        border-radius: 24px;

    }

}
@media (max-width: 768px) {

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 15px;
        right: 15px;

        flex-direction: column;
        gap: 10px;

        padding: 20px;

        background: rgba(255, 255, 255, 0.88);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);

        border: 1px solid rgba(255, 255, 255, 0.9);
        border-radius: 22px;

        box-shadow: 0 20px 50px rgba(50, 70, 110, 0.15);

        z-index: 9999;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        list-style: none;
    }

    .nav-links a {
        display: block;
        width: 100%;
        padding: 13px 15px;
        border-radius: 14px;
    }

    .menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;

        cursor: pointer;
        z-index: 10000;
    }
}