/*
   CODIJUNC - Design System
   Refined responsive layout, cards, timeline, events and news.
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;600;700;800;900&display=swap');

:root {
    --dark-teal: #1a535c;
    --turquoise: #4ecdc4;
    --coral: #ff6b6b;
    --soft-white: #f0f7f7;
    --yellow-accent: #ffe66d;
    --text-main: #2d3436;
    --text-soft: #667477;
    --radius-lg: 24px;
    --radius-md: 18px;
    --shadow-premium: 0 18px 50px rgba(16, 49, 55, 0.12);
    --shadow-soft: 0 12px 28px rgba(16, 49, 55, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background:
        radial-gradient(circle at top left, rgba(78, 205, 196, 0.08), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f9fdfd 100%);
    overflow-x: hidden;
    line-height: 1.65;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

img {
    max-width: 100%;
}

.section-padding {
    padding: 6.5rem 0;
}

.section-eyebrow {
    color: var(--coral);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.2em;
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.section-heading {
    font-size: clamp(2rem, 4vw, 3.25rem);
    color: var(--dark-teal);
    margin-bottom: 1.75rem;
    line-height: 1.08;
    letter-spacing: -0.04em;
    font-weight: 800;
}

.text-dark-teal {
    color: var(--dark-teal) !important;
}

.text-turquoise {
    color: var(--turquoise) !important;
}

.text-coral {
    color: var(--coral) !important;
}

.bg-dark-teal {
    background-color: var(--dark-teal) !important;
    color: #fff;
}

.bg-soft-white {
    background-color: var(--soft-white) !important;
}

.bg-coral-soft {
    background: rgba(255, 107, 107, 0.14) !important;
}

.bg-turquoise-soft {
    background: rgba(78, 205, 196, 0.14) !important;
}

.bg-yellow-soft {
    background: rgba(255, 230, 109, 0.18) !important;
}

.text-yellow {
    color: #c49300 !important;
}

.bg-coral {
    background-color: var(--coral) !important;
}

.bg-turquoise {
    background-color: var(--turquoise) !important;
}

.max-w-600 {
    max-width: 600px;
}

.max-w-700 {
    max-width: 700px;
}

.tracking-widest {
    letter-spacing: 0.24em;
}

.tracking-wider {
    letter-spacing: 0.16em;
}

.opacity-05 {
    opacity: 0.05;
}

.opacity-4 {
    opacity: 0.4;
}

.opacity-6 {
    opacity: 0.6;
}

.opacity-10 {
    opacity: 0.1;
}

.fs-xs {
    font-size: 0.78rem;
}

.h-150 {
    height: 150px;
}

.h-250 {
    height: 250px;
}

.border-coral {
    border-color: var(--coral) !important;
}

.border-turquoise {
    border-color: var(--turquoise) !important;
}

.border-dark-teal {
    border-color: var(--dark-teal) !important;
}

.fw-900 {
    font-weight: 900 !important;
}

.border-dashed {
    border-style: dashed !important;
}

.shadow-premium {
    box-shadow: var(--shadow-premium) !important;
}

.navbar {
    padding: 1.25rem 0;
    transition: all 0.35s ease;
    z-index: 2000;
}

.navbar.scrolled {
    padding: 0.7rem 0;
    background: rgba(26, 83, 92, 0.94);
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.35rem;
}

.navbar-brand img {
    height: 50px;
}

.nav-link {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.84) !important;
    font-size: 0.95rem;
    padding: 0.55rem 1rem !important;
    border-radius: 999px;
    transition: all 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.1);
}

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: none !important;
}

.hero-carousel-wrapper {
    position: relative;
}

.custom-indicators {
    bottom: 5.5rem;
    gap: 0.5rem;
}

.custom-indicators [data-bs-target] {
    width: 42px;
    height: 5px;
    border-radius: 999px;
    border: 0;
    background-color: rgba(255, 255, 255, 0.35);
}

.hero-section {
    min-height: 95vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 140px 0 140px;
    background: var(--dark-teal);
    color: #fff;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.28;
    transform: scale(1.04);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 83, 92, 0.97), rgba(26, 83, 92, 0.72));
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.04;
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.hero-title span {
    color: var(--yellow-accent);
}

.hero-subtitle {
    font-size: 1.12rem;
    opacity: 0.92;
    max-width: 620px;
    margin-bottom: 2.25rem;
}

.badge-period {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--turquoise);
    margin-bottom: 1.5rem;
}

.hero-logo-wrap {
    width: min(360px, 100%);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
}

.hero-logo-wrap-mobile {
    width: min(100%, 280px);
    margin-top: 0.5rem;
}

.hero-logo-glow {
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(78, 205, 196, 0.32), transparent 65%);
    filter: blur(10px);
}

.hero-logo-img {
    position: relative;
    width: 78%;
    padding: 1.5rem;
    border-radius: 28px;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.24);
}

.hero-stats-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(16, 49, 55, 0.46);
    backdrop-filter: blur(12px);
    padding: 1.5rem 0;
    z-index: 5;
}

.stat-item {
    color: #fff;
}

.stat-number {
    display: block;
    font-size: 2.35rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.stat-label {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.78);
}

.curve-divider,
.wave-divider {
    position: relative;
    width: 100%;
    height: 60px;
    z-index: 2;
    margin-top: -1px;
}

.curve-divider svg,
.wave-divider svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.card-premium {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    border: 1px solid rgba(26, 83, 92, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-premium:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 58px rgba(16, 49, 55, 0.16);
}

.icon-box {
    width: 88px;
    height: 88px;
    border-radius: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.1rem;
    margin: 0 auto 2rem;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.14);
    transition: transform 0.3s ease;
}

.card:hover .icon-box,
.card-premium:hover .icon-box {
    transform: translateY(-8px) rotate(6deg);
}

.icon-box.icon-coral {
    background: linear-gradient(135deg, var(--coral), #e84a5f);
    color: #fff;
}

.icon-box.icon-turquoise {
    background: linear-gradient(135deg, var(--turquoise), #00b894);
    color: #fff;
}

.icon-box.icon-dark {
    background: linear-gradient(135deg, var(--dark-teal), #16353a);
    color: #fff;
}

.btn-coral,
.btn-outline-glass,
.btn-outline-dark-teal,
.btn-teal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.95rem 1.65rem;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn-coral {
    background: var(--coral);
    color: #fff !important;
    border: none;
    box-shadow: 0 14px 28px rgba(255, 107, 107, 0.28);
}

.btn-coral:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 32px rgba(255, 107, 107, 0.36);
}

.btn-outline-glass {
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.btn-outline-glass:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-3px);
}

.btn-outline-dark-teal {
    background: transparent;
    color: var(--dark-teal) !important;
    border: 2px solid rgba(26, 83, 92, 0.24);
}

.btn-outline-dark-teal:hover {
    background: var(--dark-teal);
    color: #fff !important;
}

.btn-teal {
    background: var(--dark-teal);
    color: #fff !important;
    box-shadow: 0 14px 28px rgba(26, 83, 92, 0.2);
}

.btn-teal:hover {
    transform: translateY(-3px);
}

.page-hero {
    position: relative;
    padding: 11rem 0 7rem;
    background:
        radial-gradient(circle at top right, rgba(78, 205, 196, 0.18), transparent 26%),
        linear-gradient(135deg, #1a535c 0%, #12343a 100%);
    overflow: hidden;
    color: #fff;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.06), transparent 45%),
        radial-gradient(circle at left bottom, rgba(255, 230, 109, 0.09), transparent 30%);
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 64px;
    background-color: #fff;
    clip-path: ellipse(60% 100% at 50% 100%);
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero-title {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    margin-bottom: 1rem;
}

.page-hero-sub {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.12rem;
    color: rgba(255, 255, 255, 0.86);
}

.page-hero-breadcrumb {
    margin-top: 1.75rem;
}

.page-hero-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

.page-hero-breadcrumb a {
    text-decoration: none;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.2;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 42px 42px;
}

.feature-strip {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--dark-teal);
    color: #fff;
    border-radius: 20px;
    padding: 1rem 1.15rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-soft);
}

.strip-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.14);
    color: var(--yellow-accent);
    font-size: 1.15rem;
    flex-shrink: 0;
}

.services-band-section {
    padding: 1rem 0 2rem;
    background: linear-gradient(180deg, #ffffff 0%, #eef7f7 100%);
}

.services-band {
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
}

.services-band::before {
    content: '';
    position: absolute;
    right: -120px;
    bottom: -120px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(78, 205, 196, 0.14), transparent 70%);
    pointer-events: none;
}

.service-orb-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    padding: 1.1rem 0.75rem 0;
    color: var(--text-main);
    transition: transform 0.25s ease;
}

.service-orb-card:hover {
    transform: translateY(-6px);
    color: var(--text-main);
}

.service-orb-icon {
    width: 116px;
    height: 116px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin-bottom: 1rem;
    border: 4px solid #fff;
    box-shadow: 0 16px 34px rgba(16, 49, 55, 0.15);
    font-size: 2.3rem;
}

.service-turquoise .service-orb-icon {
    background: linear-gradient(135deg, #5ad9d0, #26b5ac);
    color: #fff;
}

.service-coral .service-orb-icon {
    background: linear-gradient(135deg, #ff7f7f, #ff6464);
    color: #fff;
}

.service-dark .service-orb-icon {
    background: linear-gradient(135deg, #255962, #16373c);
    color: var(--yellow-accent);
}

.service-orb-title {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--dark-teal);
    margin-bottom: 0.45rem;
    line-height: 1.2;
}

.service-orb-text {
    display: block;
    font-size: 0.88rem;
    color: var(--text-soft);
    line-height: 1.45;
}

.member-card {
    height: 100%;
    text-align: center;
    background: #fff;
    border: 1px solid rgba(26, 83, 92, 0.08);
    border-radius: 28px;
    box-shadow: var(--shadow-soft);
    padding: 2rem 1.35rem 1.4rem;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.member-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 44px rgba(16, 49, 55, 0.14);
}

.member-card.featured {
    background: linear-gradient(160deg, var(--dark-teal), #14353b);
    color: #fff;
    padding: 2.4rem 2rem;
}

.member-avatar {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid rgba(78, 205, 196, 0.25);
    box-shadow: 0 16px 30px rgba(16, 49, 55, 0.16);
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-name {
    margin-bottom: 0.65rem;
    color: inherit;
}

.member-role {
    min-height: 3rem;
}

.member-contact a:hover {
    color: var(--dark-teal) !important;
}

.member-card.featured .member-contact a:hover,
.member-card.featured a:hover {
    color: #fff !important;
    opacity: 0.9;
}

.member-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.event-card,
.news-card {
    height: 100%;
    overflow: hidden;
    background: #fff;
    border-radius: 28px;
    border: 1px solid rgba(26, 83, 92, 0.08);
    box-shadow: var(--shadow-soft);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.event-card:hover,
.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 48px rgba(16, 49, 55, 0.16);
}

.event-date-badge {
    min-width: 74px;
    padding: 0.8rem 0.7rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.95);
    text-align: center;
}

.event-date-badge .day {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 1.55rem;
    font-weight: 900;
    line-height: 1;
    color: var(--dark-teal);
}

.event-date-badge .month {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    color: var(--coral);
    font-weight: 800;
}

.news-thumb {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.news-card:hover .news-thumb img {
    transform: scale(1.06);
}

.news-cat {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 1;
    background: rgba(26, 83, 92, 0.88);
    color: #fff;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.social-btn {
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.social-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 28px rgba(16, 49, 55, 0.12) !important;
}

.signature img {
    filter: grayscale(1);
}

.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: linear-gradient(180deg, var(--turquoise), rgba(26, 83, 92, 0.16));
}

.timeline-node {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    color: var(--coral);
    border: 4px solid var(--coral);
    box-shadow: var(--shadow-soft);
    position: relative;
    z-index: 1;
}

.footer-premium {
    background:
        radial-gradient(circle at top right, rgba(78, 205, 196, 0.18), transparent 24%),
        linear-gradient(180deg, #14383e 0%, #0d2529 100%);
    padding: 6rem 0 0;
    color: #fff;
    position: relative;
}

.logo-container {
    background: #fff;
    width: 128px;
    height: 128px;
    border-radius: 28px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

@media (min-width: 992px) {
    .logo-container {
        width: 156px;
        height: 156px;
        padding: 18px;
    }
}

.footer-description {
    max-width: 420px;
    color: rgba(255, 255, 255, 0.74);
}

.footer-heading-wrap {
    margin-bottom: 1.35rem;
}

.footer-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.footer-title-line {
    width: 56px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--coral), var(--turquoise));
}

.footer-nav-list a {
    color: rgba(255, 255, 255, 0.72) !important;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.45rem 0;
    transition: all 0.25s ease;
}

.footer-nav-list a:hover {
    color: var(--turquoise) !important;
    transform: translateX(6px);
}

.footer-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.social-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.25s ease;
}

.social-circle:hover {
    background: var(--coral);
    transform: translateY(-3px);
    color: #fff;
}

.contact-info-wrap {
    display: grid;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-text {
    color: rgba(255, 255, 255, 0.78);
}

.footer-copyright {
    margin-top: 4rem;
    padding: 1.8rem 0;
    background: rgba(0, 0, 0, 0.18);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.preloader-content {
    padding: 2rem;
}

.test-side-panel {
    background: linear-gradient(180deg, #163f46 0%, #0f2b2f 100%);
    color: #fff;
}

.test-side-list {
    display: grid;
    gap: 0.9rem;
}

.test-side-list div {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.86);
}

.test-side-list i {
    color: var(--yellow-accent);
}

.test-question-card {
    padding: 2rem;
    border-radius: 28px;
    background: #fff;
    border: 1px solid rgba(26, 83, 92, 0.12);
    box-shadow: var(--shadow-soft);
}

.test-question-meta {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.5rem 0.9rem;
    margin-bottom: 1rem;
    background: rgba(78, 205, 196, 0.14);
    color: var(--dark-teal);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.test-options {
    display: grid;
    gap: 0.85rem;
}

.test-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 20px;
    border: 1px solid rgba(26, 83, 92, 0.12);
    background: #fff;
    cursor: pointer;
    transition: all 0.25s ease;
}

.test-option:hover,
.test-option.active {
    border-color: rgba(255, 107, 107, 0.4);
    background: rgba(255, 107, 107, 0.06);
    transform: translateY(-2px);
}

.test-option input {
    display: none;
}

.test-option-value {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(26, 83, 92, 0.1);
    color: var(--dark-teal);
    font-weight: 800;
    flex-shrink: 0;
}

.test-option.active .test-option-value {
    background: var(--coral);
    color: #fff;
}

.test-option-text {
    color: var(--text-main);
    font-weight: 600;
}

.test-progress-wrap {
    padding: 1rem 1.15rem;
    border-radius: 20px;
    background: rgba(26, 83, 92, 0.05);
}

.test-start-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.test-start-copy {
    flex: 1 1 320px;
}

.test-start-action {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
}

.test-start-mascot {
    width: 140px !important;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 12px 24px rgba(26, 83, 92, 0.18));
}

.test-start-button {
    appearance: none;
    -webkit-appearance: none;
    border: none;
    outline: none;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-width: 240px;
    padding: 1rem 1.2rem 1rem 1.35rem;
    border-radius: 28px;
    background: linear-gradient(135deg, var(--coral) 0%, #ff7f5f 100%);
    box-shadow: 0 18px 36px rgba(255, 107, 107, 0.28);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
    font: inherit;
    text-align: left;
}

.test-start-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 40px rgba(255, 107, 107, 0.34);
}

.test-start-button-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
}

.test-start-button-text strong {
    font-size: 1.05rem;
}

.test-start-button-text small {
    font-size: 0.75rem;
    opacity: 0.82;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.test-start-button-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.16);
    flex-shrink: 0;
}

.test-info-card {
    padding: 1.5rem;
    border-radius: 24px;
    background: rgba(26, 83, 92, 0.04);
    border: 1px solid rgba(26, 83, 92, 0.08);
}

.test-score-bar {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: rgba(26, 83, 92, 0.08);
    overflow: hidden;
}

.test-score-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--coral), var(--turquoise));
}

.test-result-hero {
    padding: 2rem;
    border-radius: 28px;
    color: #fff;
    background: linear-gradient(135deg, #1a535c 0%, #2a7a74 100%);
}

.test-result-chip {
    display: inline-flex;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.14);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.test-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
}

.book-shelf-card {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.book-cover-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 24px;
    overflow: hidden;
    background:
        linear-gradient(160deg, rgba(26, 83, 92, 0.08), rgba(78, 205, 196, 0.14)),
        #f5fbfb;
    box-shadow: 0 16px 36px rgba(16, 49, 55, 0.12);
}

.book-cover-image,
.book-cover-fallback {
    width: 100%;
    height: 100%;
}

.book-cover-image {
    display: block;
    object-fit: cover;
}

.book-cover-fallback {
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, var(--dark-teal), #245e68);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.2;
}

.book-chip {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: rgba(78, 205, 196, 0.12);
    color: var(--dark-teal);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.book-ideal-note {
    padding: 1rem 1rem 0;
    border-top: 1px solid rgba(26, 83, 92, 0.08);
}

.reading-route-list {
    display: grid;
    gap: 1rem;
}

.reading-route-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 20px;
    background: rgba(26, 83, 92, 0.04);
    border: 1px solid rgba(26, 83, 92, 0.08);
}

.reading-route-number {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--coral), #ff8a6b);
    color: #fff;
    font-weight: 900;
    font-family: 'Outfit', sans-serif;
}

.library-cta-card {
    background:
        radial-gradient(circle at top right, rgba(255, 230, 109, 0.18), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f7fbfb 100%);
}

.library-tip {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(26, 83, 92, 0.08);
    color: var(--text-main);
    font-weight: 600;
}

.associate-modal-content {
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(16, 49, 55, 0.2);
}

#associateModal {
    z-index: 4005;
}

.modal-backdrop.show {
    z-index: 4000;
}

.associate-preferences-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.associate-preference-card {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1rem;
    border-radius: 20px;
    border: 1px solid rgba(26, 83, 92, 0.12);
    background: rgba(26, 83, 92, 0.03);
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.associate-preference-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 107, 107, 0.3);
}

.associate-preference-card input {
    margin-top: 0.4rem;
}

.associate-preference-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--dark-teal), #255d67);
    color: var(--yellow-accent);
    font-size: 1.15rem;
}

.associate-preference-copy {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.associate-preference-copy strong {
    color: var(--dark-teal);
}

.associate-preference-copy small {
    color: var(--text-soft);
    line-height: 1.4;
}

.pulsate {
    animation: pulse 2s infinite;
}

.pulse-animation {
    animation: pulse 2.5s infinite;
}

.floating-animation {
    animation: float 6s infinite ease-in-out;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

#preloader {
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg, #f7fbfb, #ebf7f7);
    z-index: 4000;
    display: grid;
    place-items: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-logo-wrap {
    position: relative;
    width: 120px;
    height: 120px;
}

.preloader-logo {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.preloader-ring {
    position: absolute;
    inset: -10px;
    border: 3px solid rgba(26, 83, 92, 0.12);
    border-top-color: var(--coral);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 991px) {
    .navbar {
        padding: 0.9rem 0;
        background: rgba(26, 83, 92, 0.92);
        backdrop-filter: blur(14px);
    }

    .navbar-collapse {
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 22px;
        background: rgba(10, 34, 38, 0.86);
        box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16);
    }

    .nav-link {
        width: 100%;
    }

    .custom-indicators {
        bottom: 6.5rem;
    }

    .hero-section {
        min-height: auto;
        padding: 130px 0 130px;
    }

    .hero-stats-overlay {
        position: static;
        background: var(--dark-teal);
        padding: 1rem 0 1.5rem;
    }

    .page-hero {
        padding: 9rem 0 6rem;
    }

    .timeline-line {
        left: 31px;
        transform: none;
    }

    .timeline-node {
        margin: 0 0 1rem;
    }
}

@media (max-width: 767px) {
    .section-padding {
        padding: 4.5rem 0;
    }

    .hero-title,
    .page-hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle,
    .page-hero-sub {
        font-size: 1rem;
    }

    .custom-indicators {
        bottom: 1.5rem;
    }

    .hero-logo-wrap-mobile {
        width: min(100%, 240px);
    }

    .hero-logo-wrap-mobile .hero-logo-img {
        width: 68%;
        padding: 1rem;
        border-radius: 22px;
    }

    .footer-premium .col-lg-5:first-child {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
    }

    .footer-premium .col-lg-5:first-child .d-flex {
        justify-content: center;
    }

    .footer-premium .logo-container {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-description {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-social-links {
        justify-content: center;
    }

    .curve-divider,
    .wave-divider {
        height: 42px;
    }

    .services-band {
        padding: 2.25rem 1.1rem;
    }

    .service-orb-icon {
        width: 94px;
        height: 94px;
        font-size: 1.9rem;
    }

    .service-orb-title {
        font-size: 0.92rem;
    }

    .service-orb-text {
        font-size: 0.8rem;
    }

    .associate-preferences-grid {
        grid-template-columns: 1fr;
    }

    .member-card,
    .member-card.featured,
    .event-card,
    .news-card {
        border-radius: 22px;
    }

    .contact-item {
        padding: 0.9rem;
    }

    .footer-copyright .container-fluid {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .test-start-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .test-start-action {
        justify-content: center;
        flex-direction: column;
    }

    .test-start-mascot {
        width: 104px !important;
    }

    .test-start-button {
        width: 100%;
        justify-content: space-between;
    }
}
