/*=========================================================
  IELTS RESULT TESTIMONIAL SECTION
=========================================================*/
.ielts-result-section {
    position: relative;
    padding: 90px 0;
    background: #ffffff;
    overflow: hidden;
}
    .ielts-result-section::before {
        content: "";
        position: absolute;
        top: -220px;
        right: -180px;
        width: 420px;
        height: 420px;
        border-radius: 50%;
        //background: rgba(66,133,244,.05);
    }
    .ielts-result-section::after {
        content: "";
        position: absolute;
        bottom: -180px;
        left: -180px;
        width: 360px;
        height: 360px;
        border-radius: 50%;
        background: rgba(123,97,255,.05);
    }
/*=========================================================
  SECTION TITLE
=========================================================*/
.section-title {
    position: relative;
    text-align: center;
    margin-bottom: 55px;
    z-index: 5;
}
    .section-title .sub-title {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 10px 22px;
        border-radius: 50px;
        background: #eef4ff;
        color: #4285F4;
        font-size: 15px;
        font-weight: 600;
        margin-bottom: 18px;
    }
    .section-title h2 {
        font-size: 44px;
        font-weight: 700;
        color: #202124;
        margin-bottom: 18px;
    }
    .section-title p {
        max-width: 720px;
        margin: auto;
        font-size: 17px;
        line-height: 1.8;
        color: #6b7280;
    }
/*=========================================================
  SWIPER
=========================================================*/
.ieltsSlider {
    position: relative;
    overflow: hidden;
    padding: 20px 10px 85px;
}
    .ieltsSlider .swiper-slide {
        display: flex;
        justify-content: center;
        align-items: stretch;
        height: auto;
        flex-shrink: 0;
    }
/*=========================================================
  CARD
=========================================================*/
.result-card {
    position: relative;
    max-width: 320px;
    height: 750px;
    perspective: 1500px;
    cursor: pointer;
    transition: .35s;
    padding: 5px;
}
    .result-card:hover {
        transform: translateY(-8px);
    }
.result-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform .85s cubic-bezier(.4,.2,.2,1);
    transform-style: preserve-3d;
}
.result-card.flip .result-card-inner {
    transform: rotateY(180deg);
}
/*=========================================================
  FRONT & BACK BASE
=========================================================*/
.result-front,
.result-back {
    position: absolute;
    inset: 0;
    border-radius: 28px;
    overflow: hidden;
    backface-visibility: hidden;
    box-shadow: 0 18px 45px rgba(66,133,244,.08), 0 10px 20px rgba(0,0,0,.06);
}
/*=========================================================
  FRONT
=========================================================*/
.result-front {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    padding: 10px;
    /* text-align:center; */
}
/*=========================================================
  BACK
=========================================================*/
.result-back {
    transform: rotateY(180deg);
    background: linear-gradient( 135deg, #4285F4 0%, #6C63FF 55%, #8E54E9 100% );
    color: #fff;
    padding: 38px 28px;
    display: flex;
    flex-direction: column;
}
/*=========================================================
  TOP HEADER SHAPE
=========================================================*/
.card-top-shape {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 155px;
    background: linear-gradient(135deg, #6f2cff, #ff4fd8);
    clip-path: ellipse(100% 80% at 50% 0%);
}
/*=========================================================
  STUDENT IMAGE
=========================================================*/
.student-photo {
    position: relative;
    z-index: 5;
    width: 115px;
    height: 115px;
    margin: 58px auto 18px;
}
    .student-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
        border: 5px solid #fff;
        box-shadow: 0 12px 28px rgba(0,0,0,.18);
    }
/*=========================================================
  COUNTRY FLAG
=========================================================*/
.country-flag {
    width: 34px;
    height: auto;
    margin: 0 auto 14px;
}
/*=========================================================
  NAME
=========================================================*/
.result-front h4 {
    font-size: 24px;
    font-weight: 900;
    color: #202124;
    margin-bottom: 8px;
    text-align:center;
}
/*=========================================================
  COURSE TYPE
=========================================================*/
.course-type {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    padding: 8px 18px;
    border-radius: 50px;
    background: #eef4ff;
    color: #4285F4;
    font-size: 14px;
    font-weight: 600;
}
/*=========================================================
  SCORE GRID
=========================================================*/
.score-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 5px;
    margin-top: 5px;
    margin-bottom: 28px;
}
/*=========================================================
  SCORE BOX
=========================================================*/
.score-box {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 82px;
    padding: 14px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #edf1f7;
    transition: all .35s ease;
    overflow: hidden;
}
    .score-box::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 4px;
        height: 100%;
        background: #4285F4;
        transition: .35s;
    }
    .score-box:hover {
        transform: translateY(-6px);
        border-color: #4285F4;
        box-shadow: 0 14px 30px rgba(66,133,244,.18);
    }
        .score-box:hover::before {
            width: 100%;
            opacity: .05;
        }
    /*=========================================================
  SCORE ICON
=========================================================*/
    .score-box i {
        width: 48px;
        height: 48px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 15px;
        color: #fff;
        font-size: 20px;
        transition: .35s;
    }
    .score-box:hover i {
        transform: scale(1.08) rotate(-8deg);
    }
    .score-box:nth-child(1) i {
        background: #4285F4;
    }
    .score-box:nth-child(2) i {
        background: #34A853;
    }
    .score-box:nth-child(3) i {
        background: #FBBC05;
    }
    .score-box:nth-child(4) i {
        background: #EA4335;
    }
    /*=========================================================
  SCORE TEXT
=========================================================*/
    .score-box div {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    .score-box small {
        font-size: 12px;
        color: #202124;
        font-weight: 900;
        margin-bottom: 2px;
    }
    .score-box strong {
        font-size: 22px;
        font-weight: 700;
        color: #202124;
        line-height: 1;
    }
/*=========================================================
  OVERALL BAND
=========================================================*/
.overall-band {
    margin-top: auto;
    position: relative;
    overflow: hidden;
    padding: 22px;
    border-radius: 22px;
    background: linear-gradient(135deg, #6f2cff, #ff4fd8);
    color: #fff;
    text-align: center;
    box-shadow: 0 16px 35px rgba(66,133,244,.35);
}
    .overall-band::before {
        content: "";
        position: absolute;
        width: 180px;
        height: 180px;
        border-radius: 50%;
        background: rgba(255,255,255,.08);
        right: -60px;
        top: -70px;
    }
    .overall-band::after {
        content: "";
        position: absolute;
        width: 120px;
        height: 120px;
        border-radius: 50%;
        background: rgba(255,255,255,.08);
        left: -40px;
        bottom: -50px;
    }
    .overall-band span {
        position: relative;
        display: block;
        font-size: 15px;
        font-weight: 500;
        letter-spacing: .4px;
        margin-bottom: 6px;
    }
    .overall-band strong {
        position: relative;
        display: block;
        font-size: 48px;
        font-weight: 800;
        line-height: 1;
        letter-spacing: -1px;
    }
        /*=========================================================
  SMALL BAND LABEL
=========================================================*/
        .overall-band strong::after {
            content: "Band";
            display: block;
            font-size: 14px;
            font-weight: 500;
            letter-spacing: 1px;
            margin-top: 6px;
            opacity: .9;
        }
/*=========================================================
  CARD HOVER EFFECT
=========================================================*/
.result-card:hover .overall-band {
    transform: translateY(-3px);
    transition: .35s;
}
.result-card:hover .student-photo img {
    transform: scale(1.04);
    transition: .35s;
}
.result-card:hover .course-type {
    background: #4285F4;
    color: #fff;
    transition: .35s;
}
/*=========================================================
  BACK SIDE
=========================================================*/
.result-back {
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 750px;
}
    /* Floating Circles */
    .result-back::before {
        content: "";
        position: absolute;
        width: 240px;
        height: 240px;
        border-radius: 50%;
        background: rgba(255,255,255,.08);
        top: -120px;
        right: -80px;
    }
    .result-back::after {
        content: "";
        position: absolute;
        width: 170px;
        height: 170px;
        border-radius: 50%;
        background: rgba(255,255,255,.06);
        left: -70px;
        bottom: -70px;
    }
/*=========================================================
  QUOTE ICON
=========================================================*/
.quote-icon {
    position: relative;
    z-index: 2;
    font-size: 60px;
    color: rgba(255,255,255,.18);
    margin-bottom: 18px;
    line-height: 1;
}
/*=========================================================
  STUDENT NAME
=========================================================*/
.result-back h4 {
    position: relative;
    z-index: 2;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 18px;
    color: #fff;
}
/*=========================================================
  REVIEW
=========================================================*/
.result-back p {
    position: relative;
    z-index: 2;
    font-size: 15px;
    line-height: 1.9;
    color: rgba(255,255,255,.94);
    margin-bottom: 0px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
/*=========================================================
  INFO BOXES
=========================================================*/
.back-info {
    position: relative;
    z-index: 2;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(1,1fr);
    gap: 12px;
    margin-top: auto;
    align-content: center;
}
    /*=========================================================
  INDIVIDUAL INFO
=========================================================*/
    .back-info div {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 16px 10px;
        border-radius: 18px;
        background: rgba(255,255,255,.14);
        border: 1px solid rgba(255,255,255,.18);
        backdrop-filter: blur(12px);
        transition: .35s;
    }
        /*=========================================================
  HOVER
=========================================================*/
        .back-info div:hover {
            transform: translateY(-5px);
            background: rgba(255,255,255,.22);
        }
    /*=========================================================
  LABEL
=========================================================*/
    .back-info span {
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: .6px;
        opacity: .85;
        margin-bottom: 8px;
    }
    /*=========================================================
  VALUE
=========================================================*/
    .back-info strong {
        font-size: 22px;
        font-weight: 700;
        color: #fff;
    }
/*=========================================================
  FLIP QUALITY
=========================================================*/
.result-front,
.result-back {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}
/*=========================================================
  SMOOTH ANIMATION
=========================================================*/
.result-card-inner {
    will-change: transform;
}
/*=========================================================
  SHINE EFFECT
=========================================================*/
.result-front::after {
    content: "";
    position: absolute;
    top: -100%;
    left: -60%;
    width: 50%;
    height: 220%;
    background: linear-gradient( 90deg, transparent, rgba(255,255,255,.45), transparent );
    transform: rotate(25deg);
    transition: 1s;
}
.result-card:hover .result-front::after {
    left: 160%;
}
/*=========================================================
  GLOW
=========================================================*/
.result-card:hover {
    filter: drop-shadow( 0 18px 35px rgba(66,133,244,.22) );
}
/*=========================================================
  BACK CARD TITLE LINE
=========================================================*/
.result-back h4::after {
    content: "";
    display: block;
    width: 55px;
    height: 3px;
    border-radius: 20px;
    margin: 12px auto 0;
    background: rgba(255,255,255,.55);
}
/*=========================================================
  BACK CARD TRANSITION
=========================================================*/
.result-back * {
    transition: .50s;
}
.result-card:hover .back-info div {
    transform: translateY(-3px);
}
.result-card:hover .quote-icon {
    transform: scale(1.08);
}
/*=========================================================
  HOVER EFFECTS
=========================================================*/
.result-card:hover .score-box {
    border-color: #D9E7FF;
}
.result-card:hover .student-photo img {
    transform: scale(1.05);
}
.result-card:hover .overall-band {
    box-shadow: 0 20px 40px rgba(66,133,244,.30);
}
/*=========================================================
  TABLET
=========================================================*/
@media(max-width:991px) {
    .section-title h2 {
        font-size: 34px;
    }
    .section-title p {
        font-size: 16px;
    }
    .result-card {
        max-width: 340px;
        height: 620px;
    }
    .score-grid {
        gap: 5px;
    }
    .overall-band strong {
        font-size: 42px;
    }
    .swiper-button-prev {
        left: -12px;
    }
    .swiper-button-next {
        right: -12px;
    }
}
/*=========================================================
  MOBILE
=========================================================*/
@media(max-width:767px) {
    .ielts-result-section {
        padding: 60px 0;
    }
    .section-title {
        margin-bottom: 35px;
    }
        .section-title h2 {
            font-size: 28px;
            line-height: 1.3;
        }
        .section-title p {
            font-size: 15px;
        }
    .ieltsSlider {
        padding-bottom: 70px;
    }
    .result-card {
        max-width: 320px;
        /* height: auto; */
        margin: auto;
    }
    .result-front {
        padding: 2px;
    }
    .student-photo {
        width: 95px;
        height: 95px;
        margin: 45px auto 12px;
    }
    .result-front h4 {
        font-size: 22px;
    }
    .course-type {
        margin-bottom: 18px;
    }
    .score-grid {
        gap: 5px;
    }
    .score-box {
        min-height: 66px;
        padding: 10px;
        gap: 10px;
    }
        .score-box i {
            width: 40px;
            height: 40px;
            font-size: 18px;
        }
        .score-box small {
            font-size: 11px;
        }
        .score-box strong {
            font-size: 18px;
        }
    .overall-band {
        padding: 18px;
    }
        .overall-band strong {
            font-size: 34px;
        }
    .result-back {
        padding: 26px 18px;
        height: 610px;
    }
        .result-back h4 {
            font-size: 22px;
        }
        .result-back p {
            font-size: 14px;
            line-height: 1.8;
        }
    .back-info {
        gap: 8px;
    }
        .back-info div {
            padding: 12px 6px;
        }
        .back-info strong {
            font-size: 16px;
        }
    .swiper-button-prev,
    .swiper-button-next {
        width: 5px;
        height: 5px;
    }
    .swiper-button-prev {
        left: 0;
    }
    .swiper-button-next {
        right: 0;
    }
        .swiper-button-prev::after,
        .swiper-button-next::after {
            font-size: 14px;
        }
}
/*=========================================================
  SMALL MOBILE
=========================================================*/
@media(max-width:480px) {
    .result-card {
        max-width: 290px;
        height: 590px;
    }
    .score-box {
        min-height: 62px;
        padding: 8px;
    }
        .score-box i {
            width: 36px;
            height: 36px;
            font-size: 16px;
        }
        .score-box strong {
            font-size: 16px;
        }
    .overall-band {
        padding: 16px;
    }
        .overall-band strong {
            font-size: 30px;
        }
    .back-info {
        grid-template-columns: repeat(3,1fr);
    }
        .back-info strong {
            font-size: 15px;
        }
}
/*=========================================================
  ACCESSIBILITY
=========================================================*/
.result-card:focus-visible {
    outline: 3px solid #4285F4;
    outline-offset: 5px;
}
.swiper-button-prev:focus-visible,
.swiper-button-next:focus-visible {
    outline: 3px solid #4285F4;
}
/*=========================================================
  PERFORMANCE
=========================================================*/
.result-card,
.result-card-inner,
.result-front,
.result-back {
    will-change: transform;
}
