/* EAS Platform - Enhanced UI/UX Styles */
/* Keeping your theme colors and improving user experience */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100%;
    margin: 0;
    overflow-x: hidden;
    overflow-y: hidden;
    position: absolute;
    background: linear-gradient(135deg, #000138 0%, #0a2d3a 50%, #000138 100%);
    background-attachment: fixed;
}

body,
input,
button,
textarea {
    font-family: "Exo 2", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

body.loaded {
    overflow-y: auto;
}

/* Main Container - Enhanced */
.main-container {
    margin: 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(92, 156, 200, 0.2);
    height: fit-content;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.6s ease-out;
}

.container {
    max-width: 850px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

/* Improved Loader */
.loader {
    position: fixed;
    height: 100%;
    width: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #000138 0%, #0a2d3a 50%, #000138 100%);
    top: 0;
    transition: opacity 0.5s ease, top 0.5s cubic-bezier(.53, .96, .44, .9);
    transition-delay: 1s;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader.loaded {
    top: -100%;
    opacity: 0;
}

.loader img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    animation: pulse 2s ease-in-out infinite;
}

/* Typography Improvements */
h1 {
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.3px;
}

h3 {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.4;
}

p,
label,
input,
textarea,
select {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Enhanced Buttons */
.btn101 {
    max-width: 550px;
    font-weight: 600;
    width: -webkit-fill-available;
    padding: 14px 32px;
    font-size: 1rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    color: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn101::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn101:hover::before {
    width: 300px;
    height: 300px;
}

button[disabled=disabled],
button:disabled {
    background: #e0e0e0 !important;
    color: #9e9e9e !important;
    border-bottom: none !important;
    cursor: not-allowed;
    opacity: 0.6;
}

.btn101.blue {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    border-bottom: 4px solid #1565C0;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4);
}

.btn101.blue:hover {
    background: linear-gradient(135deg, #1976D2 0%, #1565C0 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.5);
}

.btn101.white {
    background: #ffffff;
    color: #2196F3;
    border: 2px solid #2196F3;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.2);
}

.btn101.white:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.3);
}

.btn101:active {
    transform: translateY(0);
}

/* Enhanced Input Fields */
.tb101 {
    width: -webkit-fill-available;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background-color: #fff;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.tb101::placeholder {
    color: #999;
}

.tb101:focus {
    border-color: #2196F3;
    box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.1),
        0 4px 12px rgba(33, 150, 243, 0.2);
    background-color: #fafafa;
}

/* Progress Cards - Enhanced */
.progress-card {
    background: linear-gradient(135deg, #050647 0%, #265780 100%);
    border: 3px solid #5c9cc8;
    padding: 25px;
    margin: 20px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.progress-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.progress-card:hover::before {
    opacity: 1;
}

.progress-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 32px rgba(92, 156, 200, 0.4),
        0 0 40px rgba(92, 156, 200, 0.2);
    border-color: #7fb8e0;
}

.progress-card:active {
    transform: translateY(-4px) scale(1.01);
}

/* Enhanced Progress Bar */
progress {
    width: 100%;
    height: 35px;
    border-radius: 20px;
    overflow: hidden;
    appearance: none;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.2);
    position: relative;
}

.progress-v1::-webkit-progress-bar {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.progress-v1::-webkit-progress-value {
    background: linear-gradient(90deg, #00d4ff 0%, #2196F3 50%, #7b2ff7 100%);
    border-radius: 20px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px rgba(33, 150, 243, 0.6);
    animation: shimmer 2s ease-in-out infinite;
}

.progress-v1::-moz-progress-bar {
    background: linear-gradient(90deg, #00d4ff 0%, #2196F3 50%, #7b2ff7 100%);
    border-radius: 20px;
}

/* Navigation - Enhanced */
.XtopNav {
    height: 70px;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    background: rgba(0, 1, 56, 0.85);
    padding: 0 20px;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    transition: all 0.3s ease;
}

.XtopNav.scrolled {
    background: rgba(0, 1, 56, 0.95);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}

.XtopNav>ul>li>a {
    position: relative;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 8px;
}

.XtopNav>ul>li>a:hover {
    animation: glow-white 1s infinite alternate;
    background: rgba(255, 255, 255, 0.1);
}

.XtopNav>ul>li>a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #5c9cc8;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.XtopNav>ul>li>a:hover::after {
    width: 80%;
}

.logo {
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(92, 156, 200, 0.3));
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(92, 156, 200, 0.5));
}

/* Mobile Menu Enhancement */
.XtopNav>#mobile-menu>svg {
    transition: transform 400ms ease;
}

.XtopNav>#mobile-menu>svg.active {
    transform: rotate(45deg);
}

.XtopNav>#mobile-menu>svg>.line {
    fill: none;
    transition: stroke-dasharray 400ms ease, stroke-dashoffset 400ms ease;
    stroke: #fff;
    stroke-width: 5.5;
    stroke-linecap: round;
}

.XtopNav>#mobile-menu>svg>.top {
    stroke-dasharray: 40 82;
}

.XtopNav>#mobile-menu>svg.active>.top {
    stroke-dasharray: 17 82;
    stroke-dashoffset: -62px;
}

.XtopNav>#mobile-menu>svg>.middle {
    stroke-dasharray: 40 111;
}

.XtopNav>#mobile-menu>svg.active>.middle {
    stroke-dashoffset: 23px;
}

.XtopNav>#mobile-menu>svg>.bottom {
    stroke-dasharray: 40 161;
}

.XtopNav>#mobile-menu>svg.active>.bottom {
    stroke-dashoffset: -83px;
}

/* Utility Classes */
.al-i-c {
    align-items: center;
}

.height-50 {
    height: 50%;
}

.height-100 {
    height: 100%;
}

.height-fh-minus-110px {
    height: calc(100dvh - 110px);
}

.min-height-fh-minus-110px {
    min-height: calc(100dvh - 110px);
}

.width-50 {
    width: 50%;
}

.width-100 {
    width: 100%;
}

.max-width-550px {
    max-width: 550px;
}

p,
h1,
h2,
h3,
h4 {
    margin: 0;
}

.inline-block {
    display: inline-block;
}

ul,
.al {
    text-align: left;
}

textarea {
    resize: vertical;
}

a,
a:hover {
    text-decoration: none;
}

/* Button Container */
.buttons-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

/* Spacing Utilities */
.Xp10px {
    padding: 10px;
}

.Xp15px {
    padding: 15px;
}

.Xp20px {
    padding: 20px;
}

/* Text */
.Xtext-transform {
    text-transform: uppercase;
}

/* Margins */
.Xmt5px {
    margin-top: 5px;
}

.Xmt10px {
    margin-top: 10px;
}

.Xmt15px {
    margin-top: 15px;
}

.Xmt20px {
    margin-top: 20px;
}

.Xmt25px {
    margin-top: 25px;
}

.Xmt30px {
    margin-top: 30px;
}

.Xmt40px {
    margin-top: 40px;
}

.Xml-auto {
    margin-left: auto;
}

.Xml5px {
    margin-left: 5px;
}

.Xml10px {
    margin-left: 10px;
}

.Xml15px {
    margin-left: 15px;
}

.Xml20px {
    margin-left: 20px;
}

.Xml25px {
    margin-left: 25px;
}

.Xml30px {
    margin-left: 30px;
}

.Xml35px {
    margin-left: 35px;
}

.Xml40px {
    margin-left: 40px;
}

.Xmr-auto {
    margin-right: auto;
}

.Xmr5px {
    margin-right: 5px;
}

.Xmr10px {
    margin-right: 10px;
}

.Xmr15px {
    margin-right: 15px;
}

.Xmr20px {
    margin-right: 20px;
}

.Xmr25px {
    margin-right: 25px;
}

.Xmr30px {
    margin-right: 30px;
}

.Xmr35px {
    margin-right: 35px;
}

.Xmr40px {
    margin-right: 40px;
}

.Xmb10px {
    margin-bottom: 10px;
}

.Xmb15px {
    margin-bottom: 15px;
}

.Xmb20px {
    margin-bottom: 20px;
}

.Xmb30px {
    margin-bottom: 30px;
}

.Xmb40px {
    margin-bottom: 40px;
}

.Xm10px {
    margin: 10px;
}

.Xm15px {
    margin: 15px;
}

.Xm20px {
    margin: 20px;
}

/* Display */
.Xd-flex {
    display: flex;
}

.Xd-grid {
    display: grid;
}

.Xd-block {
    display: block;
}

.Xd-none {
    display: none;
}

/* Grid */
.Xgrid-4-2-mobile {
    grid-template-columns: repeat(4, 1fr);
}

/* Opacity */
.Xopacity-2 {
    opacity: 0.2;
}

/* Flex */
.flex-ai-c {
    align-items: center;
}

.flex-jc-c {
    justify-content: center;
}

.flex-js-s-b {
    justify-content: space-between;
}

.flex-fd {
    flex-direction: column;
}

.flex-fd-r {
    flex-direction: row;
}

/* Aspect Ratio */
.Xar-1-1 {
    aspect-ratio: 1 / 1;
}

/* Gap */
.Xgap-10px {
    gap: 10px;
}

/* Backgrounds */
.Xbg-g1 {
    background: linear-gradient(135deg, #050647 0%, #265780 100%);
}

.Xbg-p-dblue {
    background: #000138;
}

.Xbg-c1:before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: -10px;
    display: block;
    height: 100%;
    width: 100%;
    background: url(https://eas.globbook.com/assets/media/images/ec_1.svg);
    background-repeat: no-repeat;
    opacity: 0.2;
    user-select: none;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.Xbg-c1:after {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    display: block;
    height: 100%;
    width: 100%;
    background: url(https://eas.globbook.com/assets/media/images/ec_1.svg);
    background-repeat: no-repeat;
    transform: rotate(180deg);
    opacity: 0.2;
    user-select: none;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.Xbg-c1:hover:before,
.Xbg-c1:hover:after {
    opacity: 0.4;
}

.Xbg-c1:after,
.Xbg-c1:before {
    background-size: cover;
}

/* Borders */
.Xeb-g1 {
    border: 3px solid #5c9cc8;
}

.Xebr-20px {
    border-radius: 20px;
}

.Xeb-width-3px {
    border-width: 3px;
}

/* Colors */
.Xfc-white {
    color: #fff;
}

.Xfc-red {
    color: #ff5252;
}

/* Font Weight */
.Xfw-500 {
    font-weight: 500;
}

.Xfw-600 {
    font-weight: 600;
}

.Xfw-700 {
    font-weight: 700;
}

/* Z-Index */
.Xz-index-1 {
    z-index: 1;
}

/* Positions */
.Xpos-abs {
    position: absolute;
}

.Xpos-rel {
    position: relative;
}

.Xpos-fix {
    position: fixed;
}

.Xpos-top-0 {
    top: 0;
}

/* Overflow */
.Xof-hidden {
    overflow: hidden;
}

.Xof-y-auto {
    overflow-y: auto;
}

.Xof-x-scroll {
    overflow-x: scroll;
}

/* Flex Wrap */
.Xfwrap-wrap {
    flex-wrap: wrap;
}

.Xwrap-4-to-2-in-mobile {
    flex: 0 0 calc(25% - 10px);
}

/* List Styles */
.X-list-style-none {
    list-style: none;
}

/* User Select */
.X-user-select-none {
    user-select: none;
}

/* Cursors */
.Xcur-pointer {
    cursor: pointer;
}

/* Animations */
.Xswing-on-hover {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.Xswing-on-hover:hover {
    animation: swing 0.6s ease;
}

.Xpulse-button {
    animation: heartbeat 1.5s ease-in-out infinite;
}

.Xscale-1-hover {
    transition: transform 0.3s ease;
}

.Xscale-1-hover:hover {
    transform: scale(1.02);
}

.Xpop-btn {
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.Xpop-btn:active,
.Xpop-btn:focus {
    transform: scale(0.98);
}

/* ReCaptcha */
.grecaptcha-badge {
    display: none;
}

/* Keyframe Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes shimmer {
    0% {
        background-position: -100% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes swing {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-3deg);
    }

    75% {
        transform: rotate(3deg);
    }
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    10%,
    30% {
        transform: scale(1.1);
    }

    20%,
    40% {
        transform: scale(1);
    }
}

@keyframes glow-white {
    from {
        text-shadow: 0 0 5px #fff, 0 0 10px #5c9cc8;
    }

    to {
        text-shadow: 0 0 20px #fff, 0 0 30px #5c9cc8;
    }
}

/* Responsive Design */
@media only screen and (max-width: 1024px) {
    h1 {
        font-size: 2.5em;
    }

    h2 {
        font-size: 2em;
    }

    h3 {
        font-size: 1.75em;
    }

    p,
    label,
    input,
    textarea,
    select {
        font-size: 1.1em;
    }

    .progress-card {
        padding: 20px;
        margin: 15px;
    }
}

@media only screen and (max-width: 780px) {
    .flex-even-c-odd-rc:nth-child(even) {
        flex-direction: column-reverse;
    }

    .flex-even-c-odd-rc:nth-child(odd) {
        flex-direction: column;
    }

    h1 {
        font-size: 6vw;
    }

    h2 {
        font-size: 5vw;
    }

    h3 {
        font-size: 4.5vw;
    }

    p,
    label,
    input,
    textarea,
    select {
        font-size: 4vw;
    }

    #mobile-menu {
        display: flex;
    }

    .Xwrap-4-to-2-in-mobile {
        flex: 0 0 calc(50% - 10px);
    }

    .Xd-none-mobile {
        display: none;
    }

    .Xgrid-4-2-mobile {
        grid-template-columns: repeat(2, 1fr);
    }

    .main-container {
        margin: 10px;
        padding: 20px;
    }

    .progress-card {
        margin: 10px;
        padding: 15px;
    }
}

@media only screen and (max-width: 480px) {
    h1 {
        font-size: 8vw;
    }

    h2 {
        font-size: 9vw;
    }

    h3 {
        font-size: 5.5vw;
    }

    p,
    label,
    input,
    textarea,
    select {
        font-size: 4.5vw;
    }

    .btn101 {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .tb101 {
        padding: 12px 14px;
    }
}

/* Accessibility Improvements */
*:focus-visible {
    outline: 3px solid #2196F3;
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
    outline-color: #5c9cc8;
}

/* Assessment Container Styles - Shared across all tests */
.assessment-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.level-selection-header {
    text-align: center;
    margin-bottom: 50px;
}

.header-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    animation: bounce 2s ease-in-out infinite;
}

.level-selection-header h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.header-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
}

.level-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.level-option {
    background: linear-gradient(135deg, rgba(5, 6, 71, 0.6) 0%, rgba(38, 87, 128, 0.6) 100%);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(92, 156, 200, 0.3);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.level-option:not(.disabled):hover {
    transform: translateY(-10px);
    border-color: rgba(102, 126, 234, 0.6);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.3);
}

.level-option.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.level-icon-badge {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.level-option h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.level-desc {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    font-size: 1rem;
}

.level-badge {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}

.level-badge.available {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.level-badge.coming-soon {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

/* Responsive Assessment Screens */
@media (max-width: 768px) {
    .level-selection-header h1 {
        font-size: 2rem;
    }

    .level-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .level-option {
        padding: 25px 15px;
    }

    .level-icon-badge {
        font-size: 2.5rem;
    }

    .level-option h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .assessment-container {
        padding: 30px 15px;
    }

    .header-icon {
        font-size: 4rem;
    }

    .level-grid {
        grid-template-columns: 1fr;
    }

    .level-option {
        padding: 30px 20px;
    }
}

/* Reduce Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {

    .XtopNav,
    .loader,
    button {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
    }
}